/* Unbounded and Figtree, SIL Open Font License 1.1, self-hosted (no third-party requests). */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/figtree-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/figtree-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/figtree-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/figtree-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/figtree-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/figtree-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/figtree-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/figtree-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/unbounded-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/unbounded-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/unbounded-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/unbounded-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: night-map hero (dark, full bleed) → light content bands → dark signup band → footer.
   Single committed palette: dark map world on top, paper-light reading world below. */
:root {
  --night: #0d1014;
  --night-2: #151a20;
  --night-line: #262d36;
  --paper: #f3f4f1;
  --paper-2: #e8eae4;
  --ink: #14181d;
  --ink-soft: #4a515a;
  --mist: #aab2bb;
  --you: #ffd23f;
  --coral: #ff6b4a;
  --violet: #7a6bff;
  --danger: #c4321c;
  --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --max: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--you); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--you); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; z-index: 20; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-head { position: absolute; inset: 0 0 auto; z-index: 5; padding-top: max(18px, env(safe-area-inset-top, 0px)); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; color: #eef0f2; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo svg { width: 26px; height: 26px; }
.head-links { display: flex; align-items: center; gap: 14px; }
.lang { color: var(--mist); font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: 0.06em; }
.lang:hover { color: #fff; }
.pill { display: inline-block; background: var(--you); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 18px; border-radius: 999px; }
.pill:hover { background: #ffe07a; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: #eef0f2; overflow: hidden; min-height: min(760px, 92svh); display: flex; align-items: center; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 85% at 16% 62%, rgba(13,16,20,.96) 28%, rgba(13,16,20,.55) 52%, rgba(13,16,20,0) 74%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: 130px 90px; }
.hero-copy { max-width: 610px; display: grid; gap: 22px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--you); }
.hero h1 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 6.4vw, 76px); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.hero h1 span { background: linear-gradient(90deg, var(--you), var(--coral) 48%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 0; color: var(--mist); font-size: clamp(17px, 1.6vw, 20px); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-actions .pill { font-size: 16px; padding: 14px 24px; }
.hero-note { color: var(--mist); font-size: 14px; }
.teams { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--mist); list-style: none; margin: 0; padding: 0; }
.teams li { display: inline-flex; align-items: center; gap: 8px; }
.teams b { width: 12px; height: 12px; border-radius: 3px; display: block; }
.c-you { background: var(--you); } .c-coral { background: var(--coral); } .c-violet { background: var(--violet); }
.map-stat { position: absolute; right: var(--gutter-r); bottom: 28px; z-index: 2; font-family: var(--f-display); font-size: 13px; color: var(--you); text-align: right; letter-spacing: 0.02em; line-height: 1.5; font-variant-numeric: tabular-nums; }
.map-stat small { display: block; font-family: var(--f-body); color: var(--mist); font-size: 12px; letter-spacing: 0.04em; }

/* ---------- Sections ---------- */
.band { padding-block: clamp(64px, 9vw, 112px); }
.band h2 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; max-width: 20ch; }
.band-intro { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
.band-intro p { margin: 0; color: var(--ink-soft); max-width: 58ch; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; gap: 12px; align-content: start; border-top: 2px solid var(--ink); padding-top: 18px; counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.steps h3 { margin: 0; font-family: var(--f-display); font-size: 21px; letter-spacing: -0.02em; line-height: 1.15; }
.steps p { margin: 0; color: var(--ink-soft); }

.sports { background: var(--paper-2); }
.sport-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sport { background: var(--paper); border-radius: 18px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.sport svg { width: 40px; height: 40px; }
.sport h3 { margin: 0; font-family: var(--f-display); font-size: 20px; letter-spacing: -0.02em; }
.sport p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.privacy { background: var(--night); color: #eef0f2; }
.privacy .band-intro p { color: var(--mist); }
.privacy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.privacy-grid div { display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--you); padding-top: 18px; }
.privacy-grid h3 { margin: 0; font-family: var(--f-display); font-size: 19px; letter-spacing: -0.02em; line-height: 1.2; }
.privacy-grid p { margin: 0; color: var(--mist); font-size: 16px; }

/* ---------- Signup ---------- */
.signup-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.signup-side { display: grid; gap: 16px; }
.signup-side p { margin: 0; color: var(--ink-soft); max-width: 44ch; }
.signup-side ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); display: grid; gap: 6px; }
.card { background: #fff; border-radius: 22px; padding: clamp(22px, 3.4vw, 36px); box-shadow: 0 1px 0 var(--paper-2), 0 18px 40px -24px rgba(20,24,29,.35); }
form.signup { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > label, .field > legend { font-weight: 700; font-size: 15px; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.optional { font-weight: 500; color: var(--ink-soft); }
input[type="email"], input[type="text"] { font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 1.5px solid #d3d6d0; border-radius: 12px; padding: 13px 14px; width: 100%; }
input[type="email"]:focus, input[type="text"]:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255,210,63,.6); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1.5px solid #c9cdc6; border-radius: 999px; font-weight: 600; color: var(--ink-soft); transition: background .15s, border-color .15s, color .15s; }
.chip input:checked + span { background: var(--you); border-color: var(--you); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.check a { font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button.submit { font: inherit; font-weight: 700; font-size: 17px; background: var(--ink); color: var(--you); border: 0; border-radius: 12px; padding: 16px 22px; cursor: pointer; justify-self: start; }
button.submit:hover { background: #262d36; }
button.submit[disabled] { opacity: .6; cursor: progress; }
.legal { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.error-msg { color: var(--danger); font-size: 14px; font-weight: 600; margin: 0; }
.field[data-invalid] input[type="email"], .field[data-invalid] input[type="text"] { border-color: var(--danger); }
.form-error { background: #fdecea; color: var(--danger); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 15px; margin: 0; }
.success { display: grid; gap: 12px; }
.success h3 { margin: 0; font-family: var(--f-display); font-size: 24px; letter-spacing: -0.02em; }
.success p { margin: 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: var(--mist); font-size: 14px; padding-block: 40px max(40px, env(safe-area-inset-bottom, 0px)); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: #eef0f2; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }

/* ---------- Document pages (privacy, terms, status pages) ---------- */
.doc-head { background: var(--night); color: #eef0f2; padding-block: max(22px, env(safe-area-inset-top, 0px)) 22px; }
.doc-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.doc { padding-block: 56px 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 12px; text-wrap: balance; }
.doc h2 { font-family: var(--f-display); font-size: 20px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc .meta { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc .table-wrap { overflow-x: auto; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid #d3d6d0; padding: 10px 8px; vertical-align: top; }
.status { min-height: 60svh; display: grid; align-content: center; gap: 16px; }
.status p { max-width: 52ch; }
.status [data-reason] { display: none; }
.status [data-reason].shown { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .steps, .sport-grid, .privacy-grid { grid-template-columns: 1fr; }
  .signup-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { min-height: 0; align-items: flex-end; }
  .hero::after { background: linear-gradient(180deg, rgba(13,16,20,.1) 0%, rgba(13,16,20,.55) 34%, rgba(13,16,20,.97) 62%); }
  .hero .wrap { padding-block: 300px 40px; }
  .map-stat { top: 86px; bottom: auto; }
  .head-links .pill { display: none; }
}
