/*
 * Advantage Sports website.
 * Tokens mirror src/theme/tokens.ts (Figma "Advantage · Color", Redesign · Oct 2026).
 * Layout: navy "match-night" bands with pitch markings alternate with light training-ground
 * sections; one 1120px column, mobile-first, 16px gutters.
 */
:root {
  --orange: #FF7A1A;
  --orange-strong: #F05A00;
  --orange-edge: #BF4700;
  --orange-tint: #FFF0E5;
  --night-900: #0B1A2B;
  --night-800: #14283E;
  --night-700: #22395A;
  --volt: #C9F24B;
  --correct: #16A34A;
  --correct-tint: #E7F7ED;
  --wrong: #E5484D;
  --text-primary: #0B1A2B;
  --text-secondary: #4A5B6E;
  --text-tertiary: #8394A6;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.75);
  --page: #F3F5F7;
  --card: #FFFFFF;
  --border: #DCE3EA;
  --track-gk: #FF7A1A;
  --track-at: #F43F6B;
  --track-df: #3B7BF6;
  --track-sp: #8B5CF6;

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-xxl: 24px;
  --r-pill: 999px;

  --card-shadow: 0 2px 0 var(--border), 0 8px 24px rgba(11, 26, 43, 0.06);
  --gutter: 16px;
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--volt); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--volt); color: var(--night-900);
  padding: 10px 16px; border-radius: var(--r-md);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Type scale (from tokens.ts `type`) ---------- */
.display-xl, .display-l, .heading-m, .button, .stat-num, .label-s {
  font-family: var(--font-display);
}
.display-xl {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 5.5rem); line-height: 0.92; letter-spacing: -0.01em;
}
.display-l {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.125rem, 5vw, 3.25rem); line-height: 1; letter-spacing: -0.005em;
}
.heading-m { font-weight: 700; font-size: 1.625rem; line-height: 1.15; }
.heading-s { font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; line-height: 1.33; }
.body-l { font-weight: 500; font-size: 1.1875rem; line-height: 1.47; }
.label-m { font-weight: 600; font-size: 0.9375rem; line-height: 1.33; }
.label-s {
  font-family: var(--font-body); font-weight: 700; font-size: 0.75rem; line-height: 1.33;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.muted { color: var(--text-secondary); }
.nw { white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dark .muted { color: var(--on-dark-muted); }
.dark .form-card .muted { color: var(--text-secondary); }

/* ---------- Buttons (ui.tsx Button) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px;
  border: 0; border-radius: var(--r-lg);
  font-family: var(--font-display); font-weight: 700; font-size: 1.3125rem;
  letter-spacing: 0.025em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform 80ms ease, box-shadow 80ms ease, background-color 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(2px); }
.btn-primary { background: var(--orange-strong); color: var(--on-dark); box-shadow: 0 4px 0 var(--orange-edge); }
.btn-primary:hover { background: #F86400; }
.btn-primary:active { box-shadow: 0 2px 0 var(--orange-edge); }
.btn-secondary { background: var(--card); color: var(--night-900); box-shadow: inset 0 0 0 2px var(--border), 0 4px 0 var(--border); }
.btn-secondary:active { box-shadow: inset 0 0 0 2px var(--border), 0 2px 0 var(--border); }
.btn-ghost-dark { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 2px var(--night-700); }
.btn-ghost-dark:hover { background: var(--night-800); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 1.125rem; border-radius: var(--r-md); }
.btn svg { width: 22px; height: 22px; flex: none; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--r-pill);
  background: var(--night-800); border: 1px solid var(--night-700);
  color: var(--on-dark); font-weight: 600; font-size: 0.9375rem; line-height: 1.2;
}
.chip svg { width: 16px; height: 16px; color: var(--volt); flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(11, 26, 43, 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--night-800);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--on-dark-muted); text-decoration: none; font-weight: 600; font-size: 0.9375rem;
}
.site-nav a:hover { color: var(--on-dark); background: var(--night-800); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: var(--r-md);
  background: var(--night-800); color: var(--on-dark); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.mobile-nav { display: none; border-top: 1px solid var(--night-800); padding-block: 8px 20px; }
.menu-open .mobile-nav { display: block; }
.mobile-nav ul { display: grid; gap: 2px; }
.mobile-nav a {
  display: block; padding: 14px 4px; color: var(--on-dark); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase;
  border-bottom: 1px solid var(--night-800);
}
.mobile-nav .btn { width: 100%; margin-top: 16px; }

@media (min-width: 960px) {
  .site-nav { display: block; }
  .header-actions .btn { display: inline-flex; }
  .menu-toggle, .mobile-nav, .menu-open .mobile-nav { display: none; }
}

/* ---------- Dark bands & pitch lines ---------- */
.dark { background: var(--night-900); color: var(--on-dark); position: relative; isolation: isolate; overflow: hidden; }
.pitch {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  color: #FFFFFF; opacity: 0.07; pointer-events: none;
}

/* ---------- Hero ---------- */
.hero { padding-block: 48px 64px; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hero-copy .label-s { color: var(--volt); }
.hero h1 em { font-style: italic; color: var(--volt); }
.hero .body-l { color: var(--on-dark-muted); max-width: 34ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-ctas .btn { flex: 1 1 200px; }
.hero-note { color: var(--text-tertiary); font-size: 0.875rem; }
@media (min-width: 900px) {
  .hero { padding-block: 72px 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; }
  .hero-ctas .btn { flex: 0 0 auto; }
}

/* ---------- Phone mockup (lesson screen) ---------- */
.phone {
  width: 100%; max-width: 340px; margin-inline: auto;
  background: var(--night-800); border-radius: 44px; padding: 10px;
  box-shadow: 0 0 0 2px var(--night-700), 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}
.phone-screen {
  background: var(--page); border-radius: 36px; overflow: hidden;
  display: grid; gap: 12px; padding: 18px 14px 16px; color: var(--text-primary);
}
.phone-top { display: flex; align-items: center; gap: 10px; }
.phone-top .x { width: 28px; height: 28px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--border); display: grid; place-items: center; color: var(--text-tertiary); flex: none; }
.phone-top .x svg { width: 14px; height: 14px; }
.progress { flex: 1; height: 10px; border-radius: var(--r-pill); background: var(--border); overflow: hidden; }
.progress span { display: block; height: 100%; width: 38%; border-radius: inherit; background: var(--orange); }
.phone-kicker { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.phone-kicker .label-s { color: var(--track-gk); }
.phone-kicker .lesson-no { font-size: 0.75rem; font-weight: 600; color: var(--text-tertiary); }
.phone-q { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; }
.phone-img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1800 / 1014; max-width: 100%; }
.phone-img img { width: 100%; height: 100%; object-fit: cover; }
.answers { display: grid; gap: 8px; }
.answer {
  display: flex; gap: 10px; align-items: center;
  background: var(--card); border-radius: var(--r-md); padding: 10px 12px;
  box-shadow: inset 0 0 0 2px var(--border), 0 3px 0 var(--border);
  font-size: 0.8125rem; font-weight: 600; line-height: 1.3;
}
.answer .dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--border); flex: none; display: grid; place-items: center; }
.answer.is-correct { background: var(--correct-tint); box-shadow: inset 0 0 0 2px var(--correct), 0 3px 0 var(--correct); }
.answer.is-correct .dot { background: var(--correct); box-shadow: none; color: #fff; }
.answer .dot svg { width: 12px; height: 12px; }
.phone-feedback {
  background: var(--correct); color: #fff; border-radius: var(--r-md); padding: 10px 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; text-transform: uppercase; letter-spacing: 0.02em;
  display: flex; justify-content: space-between; align-items: center;
}
.phone-feedback small { font-family: var(--font-body); text-transform: none; font-weight: 600; font-size: 0.75rem; letter-spacing: 0; opacity: 0.9; }

/* ---------- Stat strip ---------- */
.stats { background: var(--orange-strong); color: var(--on-dark); }
.stats ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats li { padding: 22px 8px; display: grid; gap: 2px; text-align: center; }
.stats li + li { border-left: 1px solid rgba(255, 255, 255, 0.22); }
.stats li:nth-child(3) { border-left: 0; }
.stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.22); }
.stat-num { font-weight: 800; font-style: italic; font-size: 2.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stats .label-s { color: rgba(255, 255, 255, 0.88); }
@media (min-width: 768px) {
  .stats ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, 0.22); }
  .stats li:nth-child(n+3) { border-top: 0; }
  .stat-num { font-size: 3.25rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
@media (min-width: 900px) { .section { padding-block: 104px; } }
.section-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 40px; }
.section-head .label-s { color: var(--orange-strong); }
.dark .section-head .label-s { color: var(--volt); }
.section-head p { color: var(--text-secondary); font-size: 1.125rem; }
.dark .section-head p { color: var(--on-dark-muted); }

.card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--card-shadow); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 3rem; line-height: 0.9;
  color: var(--orange-strong);
}
.step-icon {
  width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--orange-tint); color: var(--orange-strong);
}
.step-icon svg { width: 24px; height: 24px; }
.step p { color: var(--text-secondary); }
.step figure { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1800 / 1014; max-width: 100%; margin-top: 4px; }
.step figure img { width: 100%; height: 100%; object-fit: cover; }
.clip-tile {
  position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1800 / 1014; max-width: 100%; margin-top: 4px;
  background: var(--night-900); display: grid; place-items: center;
}
.clip-tile svg.pitch { opacity: 0.12; z-index: 0; }
.clip-tile .play {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange-strong); box-shadow: 0 4px 0 var(--orange-edge);
  display: grid; place-items: center; color: #fff;
}
.clip-tile .play svg { width: 24px; height: 24px; margin-left: 3px; }
.clip-tile .caption {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  display: flex; gap: 8px; align-items: center;
  background: var(--night-800); border-radius: var(--r-sm); padding: 6px 8px;
  color: var(--on-dark); font-size: 0.75rem; font-weight: 600; line-height: 1.25;
}
.clip-tile .caption b { background: var(--volt); color: var(--night-900); border-radius: 6px; padding: 2px 6px; font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: uppercase; flex: none; }
.step .quiz { display: grid; gap: 6px; margin-top: 4px; }
.step .quiz .answer { font-size: 0.875rem; }
.steps-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-secondary); font-weight: 600; }
.steps-foot span { display: inline-flex; align-items: center; gap: 8px; }
.steps-foot svg { width: 20px; height: 20px; color: var(--orange-strong); flex: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Programs ---------- */
.programs { display: grid; gap: 16px; margin-bottom: 48px; }
.program { padding: 24px; display: grid; gap: 16px; background: var(--night-800); border-radius: var(--r-xxl); border: 1px solid var(--night-700); min-width: 0; }
.program-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.program-head .label-s { color: var(--text-tertiary); }
.program p { color: var(--on-dark-muted); }
.season { display: grid; gap: 8px; }
.season-bar { display: flex; gap: 4px; height: 44px; }
.season-bar span {
  display: flex; align-items: center; padding-inline: 10px; border-radius: var(--r-sm);
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; min-width: 0;
}
.season-scale { display: flex; justify-content: space-between; color: var(--text-tertiary); font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bg-gk { background: var(--track-gk); }
.bg-at { background: var(--track-at); }
.bg-df { background: var(--track-df); }
.bg-sp { background: var(--track-sp); }
@media (min-width: 900px) { .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ages { display: grid; gap: 14px; margin-bottom: 40px; }
.ages > .label-s { color: var(--volt); }
.age-list { display: grid; gap: 8px; counter-reset: none; }
.age-list li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: var(--r-lg); background: var(--night-800); border: 1px solid var(--night-700);
  color: var(--on-dark-muted); font-weight: 500; font-size: 0.9375rem; line-height: 1.3;
}
.age-tag { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.75rem; line-height: 1; color: var(--on-dark); }
@media (min-width: 900px) {
  .age-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .age-list li { grid-template-columns: 1fr; align-items: start; align-content: start; gap: 8px; padding: 16px; }
}
.tracks-note { color: var(--on-dark-muted); margin-bottom: 16px; max-width: 62ch; }
.tracks { display: grid; gap: 16px; }
.track { padding: 20px; display: grid; gap: 12px; align-content: start; border-radius: var(--r-xl); background: var(--night-800); border: 1px solid var(--night-700); min-width: 0; }
.track-head { display: flex; align-items: center; gap: 10px; }
.track-swatch { width: 14px; height: 14px; border-radius: 4px; transform: skewX(-14deg); flex: none; }
.track .weeks { margin-left: auto; color: var(--text-tertiary); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.track ul { display: flex; flex-wrap: wrap; gap: 6px; }
.track li { padding: 5px 10px; border-radius: var(--r-pill); background: var(--night-900); border: 1px solid var(--night-700); font-size: 0.8125rem; font-weight: 600; color: var(--on-dark-muted); }
@media (min-width: 640px) { .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .tracks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Audience tabs ---------- */
.tablist {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 24px;
  background: var(--card); border-radius: var(--r-lg); box-shadow: inset 0 0 0 2px var(--border);
  max-width: 100%; overflow-x: auto;
}
.tab {
  min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--r-md); background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--text-secondary); white-space: nowrap;
}
.tab:hover { color: var(--text-primary); }
.tab[aria-selected="true"] { background: var(--night-900); color: var(--on-dark); }
.panels { display: grid; gap: 24px; }
.panel { display: grid; gap: 24px; align-items: start; scroll-margin-top: 140px; }
.panel-copy { display: grid; gap: 16px; min-width: 0; }
.panel-copy .label-s { color: var(--orange-strong); }
.benefits { display: grid; gap: 12px; }
.benefits li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.benefits .b-icon { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--orange-tint); color: var(--orange-strong); display: grid; place-items: center; }
.benefits .b-icon svg { width: 20px; height: 20px; }
.benefits p:not(.heading-s) { color: var(--text-secondary); }
.panel-cta { padding-top: 8px; }
@media (min-width: 900px) { .panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; } }

/* Example cards inside panels */
.demo { padding: 20px; display: grid; gap: 14px; min-width: 0; }
.demo-label { color: var(--text-tertiary); }
.demo-dark { background: var(--night-900); color: var(--on-dark); border-radius: var(--r-xxl); }
.demo-dark .demo-label { color: var(--volt); }
.streak { display: flex; align-items: baseline; gap: 10px; }
.streak .stat-num { color: var(--volt); }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mini-row:last-child { border-bottom: 0; padding-bottom: 0; }
.demo-dark .mini-row { border-bottom-color: var(--night-800); }
.demo-dark .mini-row .who span { color: var(--on-dark-muted); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.8125rem; color: var(--night-900); flex: none; }
.mini-row .who { flex: 1; min-width: 0; }
.mini-row .who b { display: block; font-size: 0.9375rem; }
.mini-row .who span { color: var(--text-secondary); font-size: 0.8125rem; }
.pill { padding: 6px 10px; border-radius: var(--r-pill); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.pill-nudge { background: var(--orange-tint); color: var(--orange-edge); }
.pill-good { background: var(--correct-tint); color: #0F7A37; }
.team-code { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--page); border-radius: var(--r-md); padding: 10px 14px; }
.team-code code { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.08em; }
.consent { display: grid; gap: 10px; }
.consent-step { display: flex; gap: 12px; align-items: center; }
.consent-step .tick { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--correct); color: #fff; }
.consent-step .tick svg { width: 14px; height: 14px; }
.consent-step .tick.wait { background: var(--orange-tint); color: var(--orange-strong); }

/* ---------- Credibility band ---------- */
.proof { padding-block: 64px; }
.proof .wrap { display: grid; gap: 32px; }
.proof blockquote { margin: 0; font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1; max-width: 18ch; }
.proof blockquote em { font-style: inherit; color: var(--volt); }
.kit { display: grid; gap: 12px; }
.kit li { display: flex; gap: 12px; align-items: center; color: var(--on-dark-muted); font-weight: 500; }
.kit svg { width: 22px; height: 22px; color: var(--volt); flex: none; }
@media (min-width: 900px) { .proof .wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 32px; }
.faq-group { display: grid; gap: 12px; align-content: start; min-width: 0; }
.faq-group h3 { color: var(--text-secondary); }
.faq-list { padding: 4px 20px; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 600; font-size: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 20px; height: 20px; color: var(--text-tertiary); flex: none; transition: transform 150ms ease; }
.faq-list details[open] summary svg { transform: rotate(180deg); color: var(--orange-strong); }
.faq-list details p { padding-bottom: 16px; color: var(--text-secondary); max-width: 62ch; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; } }

/* ---------- Waitlist ---------- */
.join .wrap { display: grid; gap: 40px; align-items: start; }
.join-copy { display: grid; gap: 18px; min-width: 0; }
.join-copy .label-s { color: var(--volt); }
.join-copy .body-l { color: var(--on-dark-muted); }
.join-list { display: grid; gap: 10px; }
.join-list li { display: flex; gap: 10px; align-items: center; color: var(--on-dark-muted); }
.join-list svg { width: 20px; height: 20px; color: var(--volt); flex: none; }
.form-card { background: var(--card); color: var(--text-primary); border-radius: var(--r-xxl); padding: 24px; display: grid; gap: 18px; min-width: 0; }
.form-card h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 0.9375rem; }
.role-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.role-picker label { position: relative; display: block; }
.role-picker input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.role-picker span {
  display: grid; place-items: center; gap: 4px; min-height: 72px; padding: 10px 4px; border-radius: var(--r-md);
  box-shadow: inset 0 0 0 2px var(--border), 0 3px 0 var(--border);
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; text-transform: uppercase; text-align: center;
  color: var(--text-secondary); cursor: pointer; transition: box-shadow 100ms ease, background-color 100ms ease;
}
.role-picker span svg { width: 22px; height: 22px; }
.role-picker input:checked + span { background: var(--orange-tint); color: var(--orange-edge); box-shadow: inset 0 0 0 2px var(--orange-strong), 0 3px 0 var(--orange-strong); }
.role-picker input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%; min-height: 56px; padding: 0 16px;
  border: 2px solid var(--border); border-radius: var(--r-md); background: var(--card);
  font: inherit; font-size: 1rem; color: var(--text-primary);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--orange-strong); }
.field input[aria-invalid="true"] { border-color: var(--wrong); }
.hint { color: var(--text-tertiary); font-size: 0.875rem; }
.error { color: var(--wrong); font-size: 0.875rem; font-weight: 600; }
.age-toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.age-toggle label { position: relative; display: block; }
.age-toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.age-toggle span {
  display: grid; place-items: center; min-height: 48px; border-radius: var(--r-md); padding: 0 8px; text-align: center;
  box-shadow: inset 0 0 0 2px var(--border); font-weight: 600; font-size: 0.9375rem; color: var(--text-secondary); cursor: pointer;
}
.age-toggle input:checked + span { background: var(--night-900); color: var(--on-dark); box-shadow: none; }
.age-toggle input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.parent-note { background: var(--orange-tint); border-radius: var(--r-md); padding: 12px 14px; font-size: 0.9375rem; color: var(--text-primary); }
.form-card .btn { width: 100%; }
.fine { color: var(--text-tertiary); font-size: 0.8125rem; }
.form-done { display: grid; gap: 12px; text-align: left; }
.form-done .big-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--correct); color: #fff; display: grid; place-items: center; }
.form-done .big-tick svg { width: 28px; height: 28px; }
.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--page); border-radius: var(--r-md); padding: 10px 12px; }
.copy-row code { font-family: var(--font-body); font-weight: 700; user-select: all; overflow-wrap: anywhere; flex: 1; min-width: 0; }
.copy-btn { border: 0; background: var(--card); box-shadow: inset 0 0 0 2px var(--border); border-radius: var(--r-sm); padding: 8px 12px; font: inherit; font-weight: 700; font-size: 0.875rem; cursor: pointer; }
@media (min-width: 900px) { .join .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } .form-card { padding: 32px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-900); color: var(--on-dark-muted); border-top: 1px solid var(--night-800); padding-block: 48px; font-size: 0.9375rem; }
.site-footer .wrap { display: grid; gap: 32px; }
.footer-top { display: grid; gap: 24px; }
.footer-brand { display: grid; gap: 12px; max-width: 320px; }
.footer-brand img { height: 30px; width: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer-cols h4 { color: var(--on-dark); margin-bottom: 10px; }
.footer-cols ul { display: grid; gap: 8px; }
.footer-cols a { text-decoration: none; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 24px; border-top: 1px solid var(--night-800); color: var(--text-tertiary); font-size: 0.8125rem; }
@media (min-width: 768px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

