*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* surfaces — dark mode */
  --paper:        #0A0A0E;
  --paper-2:      #14141A;
  --paper-3:      #1E1E26;
  /* ink */
  --ink:          #FFFFFF;
  --ink-2:        #D9D9DE;
  --ink-3:        #B8B8C2;
  --ink-4:        #5E5E66;
  /* brand */
  --cobalt:       #4A78E8;
  --cobalt-deep:  #7AA0FF;
  --cobalt-soft:  #142447;
  --saffron:      #FFD93A;
  --saffron-deep: #FFE678;
  --saffron-soft: #2A220A;
  /* borders & shadow */
  --border-soft:  #22222A;
  --border-strong:#383842;
  --shadow-1: 0 1px 2px rgba(0,0,0,.40), 0 1px 0 rgba(0,0,0,.20);
  --shadow-2: 0 6px 18px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.25);
  --shadow-3: 0 18px 40px rgba(0,0,0,.55), 0 6px 14px rgba(0,0,0,.35);
  /* typography */
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  /* motion */
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-fast: 150ms;
  --dur-base: 240ms;
  /* radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
}

/* ── LIGHT THEME ── */
:root[data-theme="light"] {
  --paper:        #FFFFFF;
  --paper-2:      #F4F2EC;
  --paper-3:      #E7E3D8;
  --ink:          #0A0A0E;
  --ink-2:        #2A2A30;
  --ink-3:        #5E5E66;
  --ink-4:        #9A9AA2;
  --cobalt:       #1E4FC4;
  --cobalt-deep:  #163A91;
  --cobalt-soft:  #DCE4F6;
  --saffron:      #F5C518;
  --saffron-deep: #D4A800;
  --saffron-soft: #FDF3C2;
  --border-soft:  #E2DED2;
  --border-strong:#C7C1B0;
  --shadow-1: 0 1px 2px rgba(10,10,14,.06), 0 1px 0 rgba(10,10,14,.04);
  --shadow-2: 0 6px 18px rgba(10,10,14,.10), 0 2px 6px rgba(10,10,14,.06);
  --shadow-3: 0 18px 40px rgba(10,10,14,.14), 0 6px 14px rgba(10,10,14,.08);
}
/* hardcoded overrides that can't use CSS vars */
:root[data-theme="light"] .mobile-menu { background: var(--paper-2); }
:root[data-theme="light"] .btn-primary             { box-shadow: 0 4px 16px rgba(245,197,24,0.30); }
:root[data-theme="light"] .btn-primary:hover       { background: var(--saffron); box-shadow: 0 6px 28px rgba(245,197,24,0.55), 0 2px 8px rgba(245,197,24,0.30); }

/* ── THEME TOGGLE ── */
.theme-toggle {
  display: flex; align-items: center;
  background: var(--paper-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill); padding: 3px; gap: 2px;
  flex-shrink: 0;
}
.theme-btn {
  width: 28px; height: 28px; border-radius: var(--radius-pill);
  border: none; background: transparent; cursor: pointer;
  color: var(--ink-3); display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.theme-btn:hover { color: var(--ink); }
.theme-btn.active { background: var(--paper-3); color: var(--ink); box-shadow: var(--shadow-1); }

html { scroll-behavior: smooth; touch-action: manipulation; scroll-padding-top: 64px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--dur-base) var(--ease-out);
}
.nav-links { display: flex; gap: 32px; }
.nav-controls { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--ink-3); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color var(--dur-fast);
}
.nav-links a:hover { color: var(--ink); }
/* ── MOBILE HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: var(--paper-2);
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 24px 28px;
  flex-direction: column; gap: 0;
  transform: translateY(-8px); opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-menu a {
  color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 600;
  padding: 14px 0; border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── SECTIONS ── */
section { position: relative; }
#how      { background: var(--paper);   border-top: 1px solid var(--border-soft); }
#features { background: var(--paper-2); border-top: 1px solid var(--border-soft); }
#sports   { background: var(--paper);   border-top: 1px solid var(--border-soft); }

h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 24px;
  text-wrap: balance;
  font-variation-settings: "opsz" 96;
}
h1 em { font-style: normal; color: var(--cobalt); }
.btn-primary {
  background: var(--saffron); color: #0A0A0E; font-weight: 700; font-size: 15px;
  border: none; border-radius: var(--radius-md); padding: 14px 28px; cursor: pointer;
  font-family: var(--font); text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  box-shadow: 0 4px 20px rgba(255,217,58,0.30);
  letter-spacing: -0.005em; white-space: nowrap;
}
.btn-primary:hover { background: var(--saffron-deep); box-shadow: 0 8px 28px rgba(255,217,58,0.40); }
.btn-primary:active { transform: scale(0.97); }

/* ── PHONE MOCKUPS ── */
.phone-wrap {
  --pm-bg:        #0F0F14;
  --pm-map-bg:    #1C1C22;
  --pm-street:    #27272F;
  --pm-park:      #1D2B21;
  --pm-surface:   #1A1A1F;
  --pm-tabbar-bg: rgba(10,10,14,0.97);
  --pm-border:    rgba(255,255,255,0.08);
  --pm-handle:    rgba(255,255,255,0.20);
  --pm-text:      #FFFFFF;
  --pm-text-3:    rgba(255,255,255,0.40);
  --pm-tab-dim:   rgba(255,255,255,0.30);
  --pm-chip-bg:   rgba(255,255,255,0.07);

  width: 230px; height: 480px; border-radius: 36px;
  background: var(--pm-bg);
  border: 1.5px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-3), 0 0 0 0.5px rgba(255,255,255,0.06);
  overflow: hidden; position: relative; flex-shrink: 0;
  display: flex; flex-direction: column;
  font-family: var(--font);
  transition: transform 0.3s var(--ease-out);
}
:root[data-theme="light"] .phone-wrap {
  --pm-bg:        #F8F6F0;
  --pm-map-bg:    #EBE5D8;
  --pm-street:    #D6CEC0;
  --pm-park:      #C4DFB4;
  --pm-surface:   #FFFFFF;
  --pm-tabbar-bg: rgba(248,246,240,0.97);
  --pm-border:    rgba(10,10,14,0.09);
  --pm-handle:    rgba(10,10,14,0.15);
  --pm-text:      #0A0A0E;
  --pm-text-3:    rgba(10,10,14,0.45);
  --pm-tab-dim:   rgba(10,10,14,0.30);
  --pm-chip-bg:   rgba(10,10,14,0.06);
  border-color: rgba(10,10,14,0.12);
  box-shadow: var(--shadow-2), 0 0 0 0.5px rgba(10,10,14,0.06);
}

/* ── PHONE MOCKUP: inline style overrides for light mode ── */
:root[data-theme="light"] .phone-wrap [style*="color:#fff"] { color: var(--pm-text) !important; }
:root[data-theme="light"] .phone-wrap [style*="color:rgba(255,255,255,0.4)"] { color: var(--pm-text-3) !important; }
:root[data-theme="light"] .phone-wrap [style*="color:rgba(255,255,255,0.35)"] { color: var(--pm-text-3) !important; }
:root[data-theme="light"] .phone-wrap [style*="color:rgba(255,255,255,0.55)"] { color: rgba(10,10,14,0.55) !important; }
:root[data-theme="light"] .phone-wrap [style*="color:rgba(255,255,255,0.7)"] { color: rgba(10,10,14,0.7) !important; }
:root[data-theme="light"] .phone-wrap [style*="background:rgba(255,255,255,0.07)"] { background: var(--pm-chip-bg) !important; }
:root[data-theme="light"] .phone-wrap [style*="background:rgba(255,255,255,0.09)"] { background: var(--pm-chip-bg) !important; }
:root[data-theme="light"] .phone-wrap [style*="background:rgba(255,255,255,0.1)"] { background: var(--pm-chip-bg) !important; }
:root[data-theme="light"] .phone-wrap [style*="border:1px solid rgba(255,255,255,0.1)"] { border-color: var(--pm-border) !important; }
:root[data-theme="light"] .phone-wrap [style*="border:1px solid rgba(255,255,255,0.18)"] { border-color: var(--pm-border) !important; }
:root[data-theme="light"] .phone-wrap [style*="border-top:1px solid rgba(255,255,255,0.07)"] { border-top-color: var(--pm-border) !important; }

/* ── MAP SVG: light mode overrides ── */
:root[data-theme="light"] .map-visual .map-bg  { fill: #F4F0E6; }
:root[data-theme="light"] .map-visual .map-st  { fill: #E4DDD0; }
:root[data-theme="light"] .map-visual .map-pk  { fill: #D0E6C4; }
:root[data-theme="light"] .map-visual .map-cluster { fill: rgba(10,10,14,0.07); stroke: rgba(10,10,14,0.15); }
:root[data-theme="light"] .map-visual .map-cluster-txt { fill: #0A0A0E; }
:root[data-theme="light"] .map-visual .map-chip-off { fill: rgba(10,10,14,0.07); stroke: rgba(10,10,14,0.12); }
:root[data-theme="light"] .map-visual .map-chip-off-txt { fill: rgba(10,10,14,0.50); }

.phone-wrap:hover { transform: translateY(-6px) !important; }
.phone-wrap.left { transform: rotate(-4deg) translateY(20px); margin-right: -25px; }
.phone-wrap.right { transform: rotate(4deg) translateY(20px); margin-left: -25px; }

/* Dynamic island */
.phone-di {
  width: 80px; height: 22px; border-radius: 11px;
  background: #000; margin: 10px auto 0; flex-shrink: 0; z-index: 2;
}

/* Shared screen */
.pm-screen {
  flex: 1; overflow: hidden; display: flex; flex-direction: column;
  background: var(--pm-bg); position: relative;
}
.pm-tabbar {
  display: flex; height: 48px; flex-shrink: 0;
  background: var(--pm-tabbar-bg);
  border-top: 1px solid var(--pm-border);
}
.pm-tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  font-size: 16px; color: var(--pm-tab-dim);
}
.pm-tab span:last-child:not(:first-child) { font-size: 7px; font-weight: 600; line-height: 1; }
.pm-tab.active { color: var(--cobalt); }

/* Map screen */
.pm-map { flex: 1; background: var(--pm-map-bg); position: relative; overflow: hidden; }
.pm-street { position: absolute; background: var(--pm-street); }
.pm-street.h { left: 0; right: 0; height: 10px; }
.pm-street.v { top: 0; bottom: 0; width: 10px; }
.pm-park { position: absolute; background: var(--pm-park); border-radius: 4px; }
.pm-pin {
  position: absolute; width: 18px; height: 18px;
  border-radius: var(--radius-pill); background: var(--pc, var(--cobalt));
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--pc, var(--cobalt)) 20%, transparent);
  transform: translate(-50%, -50%);
}
.pm-user {
  position: absolute; width: 8px; height: 8px; border-radius: var(--radius-pill);
  background: #4A78E8; border: 2px solid var(--pm-map-bg);
  box-shadow: 0 0 0 6px rgba(74,120,232,0.2);
  transform: translate(-50%, -50%);
}
.pm-sheet {
  flex-shrink: 0; background: var(--pm-surface);
  border-radius: 20px 20px 0 0; padding: 8px 14px 10px;
}
.pm-sheet-handle {
  width: 36px; height: 3px; border-radius: 2px;
  background: var(--pm-handle); margin: 0 auto 10px;
}

/* Activity cards */
.pm-card {
  background: var(--pm-surface); border: 1px solid var(--pm-border);
  border-radius: var(--radius-md); padding: 10px 10px 0;
  position: relative; overflow: hidden;
}
.pm-card::before {
  content: ''; position: absolute; inset: 0 auto 0 0;
  width: 3px; background: var(--stripe, rgba(255,255,255,0.25));
}
.pm-card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.pm-card-mid {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 3px;
}
.pm-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); flex-shrink: 0; }
.pm-bar {
  height: 3px;
  background: var(--pm-chip-bg); margin-bottom: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md); overflow: hidden;
}
.pm-bar-fill { height: 100%; }

/* FAB */
.pm-fab {
  position: absolute; bottom: 10px; right: 10px;
  width: 40px; height: 40px; border-radius: var(--radius-pill);
  background: var(--saffron); color: #0A0A0E; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(255,217,58,0.35);
  line-height: 1;
}

/* Profile stats */
.pm-stat {
  background: var(--pm-surface); border: 1px solid var(--pm-border);
  border-radius: 10px; padding: 8px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.pm-stat-n { font-size: 16px; font-weight: 700; color: var(--pm-text); }
.pm-stat-l { font-size: 7px; color: var(--pm-text-3); }

/* ── PHONE CAROUSEL NAV ── */
.phone-nav {
  display: none;
  width: 38px; height: 38px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong); background: var(--paper-2);
  color: var(--ink); cursor: pointer; flex-shrink: 0;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-1);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.phone-nav:hover { background: var(--paper-3); box-shadow: var(--shadow-2); }
.phone-nav:active { transform: scale(0.92); }
.phone-carousel-dots {
  display: none;
  justify-content: center; gap: 7px; 
}
.phone-carousel-dot {
  width: 6px; height: 6px; border-radius: var(--radius-pill);
  background: var(--ink-4);
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  cursor: pointer;
}
.phone-carousel-dot.active { background: #FFD93A; transform: scale(1.4); }

/* ── FEATURES ── */
.features {
  padding: 72px 40px;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.section-eyebrow {
  color: var(--cobalt); font-size: 12px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: 16px;
}
h2 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 700;
  letter-spacing: -0.025em; margin-bottom: 16px; line-height: 1.08;
  text-wrap: balance;
  font-variation-settings: "opsz" 72;
}
h2 em { font-style: normal; color: var(--cobalt); }
.section-sub { color: var(--ink-3); font-size: 17px; max-width: 480px; line-height: 1.65; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 40px;
}
.feature-card {
  background: var(--paper-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.feature-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.feature-card:nth-child(odd) .feature-icon  { background: var(--saffron-soft); }
.feature-card:nth-child(even) .feature-icon { background: var(--cobalt-soft); }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { color: var(--ink-3); font-size: 15px; line-height: 1.65; }

/* ── MAP SECTION ── */
.map-section {
  padding: 56px 40px;
  background: var(--paper-2);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.map-section-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.map-visual {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-2);
}
.map-info-row { display: flex; align-items: center; gap: 12px; }
.map-info-icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  font-size: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.map-info-icon--blue   { background: var(--cobalt-soft); }
.map-info-icon--yellow { background: var(--saffron-soft); }
.map-info-text { color: var(--ink-3); font-size: 14px; }
.map-section-text {
  color: var(--ink-3); font-size: 16px; line-height: 1.7;
  margin-top: 16px; max-width: 440px;
}
.map-section-text + .map-section-text { margin-top: 12px; }
.map-info-list { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.map-visual svg { display: block; }

/* ── HOW IT WORKS ── */
.how-section {
  padding: 64px 40px;
  max-width: 900px; margin: 0 auto;
  text-align: center;
}
.how-steps {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: start;
  margin-top: 64px;
}
.how-step { text-align: center; padding: 0 16px; }
.how-step-num {
  width: 52px; height: 52px; border-radius: 99px;
  background: var(--cobalt-soft); color: var(--cobalt);
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(74,120,232,0.20);
  font-variation-settings: 'opsz' 32;
}
.how-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.how-step p { color: var(--ink-3); font-size: 15px; line-height: 1.65; }
.how-connector {
  display: flex; align-items: flex-start; padding-top: 26px;
}
.how-connector::after {
  content: '';
  display: block; width: 100%; height: 1px;
  background: var(--border-strong);
}

/* ── SPORTS ── */
.sports-section {
  padding: 72px 40px;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.sports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 40px;
}
.sport-card {
  background: var(--paper);
  border-radius: var(--radius-xl); padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.sport-card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.sport-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  font-size: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.sport-card:nth-child(odd) .sport-icon  { background: var(--saffron-soft); }
.sport-card:nth-child(even) .sport-icon { background: var(--cobalt-soft); }
.sport-card--other { border-style: dashed; }
.sport-card--other .sport-icon { background: rgba(61,170,106,0.12); }
.sport-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.sport-card p { color: var(--ink-3); font-size: 15px; line-height: 1.6; }
/* ── FAQ ── */
.faq-section {
  padding: 56px 40px;
  background: var(--paper);
  border-top: 1px solid var(--border-soft);
}
.faq-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  font-size: 16px; font-weight: 600; color: var(--ink);
  user-select: none; text-align: left;
  transition: color var(--dur-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 20px; font-weight: 400; color: var(--cobalt);
  flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out);
  line-height: 1;
}
.faq-item[open] summary { color: var(--cobalt); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--ink-3); font-size: 15px; line-height: 1.7;
  padding: 0 20px 18px; text-align: left;
}

/* ── POST-SIGNUP STATE ── */
.waitlist-post-signup {
  margin-top: 28px; display: flex; flex-direction: column; gap: 24px;
  max-width: 440px; margin-left: auto; margin-right: auto;
  text-align: left;
}
.post-signup-next {
  background: var(--paper-3); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 20px 24px;
}
.post-signup-next-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cobalt); margin-bottom: 12px;
}
.post-signup-steps {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.post-signup-steps li {
  font-size: 14px; color: var(--ink-3); line-height: 1.5;
  padding-left: 18px; position: relative;
}
.post-signup-steps li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--cobalt); font-size: 12px;
}
.post-signup-share { display: flex; flex-direction: column; align-items: center; }
.post-signup-share-label {
  font-size: 13px; color: var(--ink-4); margin-bottom: 10px; text-align: center;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: var(--radius-md); padding: 10px 18px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
}
.share-btn:hover { opacity: 0.85; }
.share-btn:active { transform: scale(0.96); }
.share-btn-copy {
  background: #FFD93A; color: #0A0A0E;
  border: none; font-family: var(--font); cursor: pointer;
  font-size: 15px; padding: 12px 28px;
}
.share-btn-native {
  background: #FFD93A; color: #0A0A0E;
  border: none; font-family: var(--font); cursor: pointer;
  font-size: 15px; padding: 12px 28px;
}

/* ── WAITLIST ── */
.waitlist-section {
  padding: 72px 40px;
  text-align: center;
  background: var(--paper-2);
  border-top: 1px solid var(--border-soft);
}
.waitlist-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.waitlist-inner .section-sub { margin-bottom: 40px; }
.waitlist-inner .index-note { margin-top: 14px; }
.index-form-card .waitlist-form { width: 100%; }
.waitlist-form {
  display: flex; gap: 10px; max-width: 440px; margin: 0 auto;
}
.waitlist-input {
  flex: 1; min-width: 0; background: var(--paper); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); padding: 14px 18px; color: var(--ink);
  font-family: var(--font); font-size: 15px; outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  box-shadow: var(--shadow-1);
}
.waitlist-input:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(30,79,196,0.18);
}
.waitlist-input::placeholder { color: var(--ink-4); }
.waitlist-success {
  display: none; color: var(--cobalt); font-size: 15px; margin-top: 20px; font-weight: 600;
}
.waitlist-error {
  display: none; color: #C8381A; font-size: 13px; margin-top: 12px;
}

/* ── FOOTER ── */
footer {
  padding: 28px 40px;
  border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  background: var(--paper);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
}
.footer-logo-wordmark { font-size: 17px; font-weight: 700; letter-spacing: -0.025em; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-3); text-decoration: none; font-size: 13px; transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--ink-4); font-size: 12px; }

/* ── RESPONSIVE ── */
.mobile-menu-toggles {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 0 4px;
}

@media (max-width: 900px) {
  .hook-section { padding: 64px 24px; }
}

@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-controls .theme-toggle { display: none; }

  .phone-wrap.left, .phone-wrap.right { display: none; }
  .phone-wrap.center { transform: none !important; width: 220px; height: 460px; }
  .phone-nav { display: flex; width: 48px; height: 48px; }
  .index-phones { gap: 20px; }
  .phone-carousel-dots { display: flex; }

  .features { padding: 80px 24px; }

  .faq-section { padding: 64px 24px; }

  .map-section { padding: 60px 24px; }
  .map-section-inner { grid-template-columns: 1fr; gap: 40px; }
  .map-section-inner > div:first-child { order: 1; }
  .map-visual { order: 2; }

  .how-section { padding: 80px 24px; }
  .sports-section { padding: 80px 24px; }
  .sports-grid { grid-template-columns: 1fr; }

  footer { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .index-sub { font-size: 16px; }
  .hook-section { padding: 52px 20px; }
  .hook-inner p { font-size: 15px; }
  .running-note { padding: 24px 22px; }
  .running-note h3 { font-size: 17px; }
}

@media (max-width: 600px) {
  nav { padding: 0 20px; height: 58px; }
  .mobile-menu { top: 58px; }

  h1 { font-size: clamp(36px, 10vw, 52px); }
  h2 { font-size: clamp(28px, 7vw, 40px); }

  .section-sub { margin: 0 auto; }

  .phone-wrap.center { width: 200px; height: 420px; }
  .phone-nav { width: 44px; height: 44px; }

  .features { padding: 64px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px; }
  .section-sub { font-size: 15px; }

  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .how-connector { display: none; }
  .sports-section { padding: 64px 20px; }
  .sports-grid { grid-template-columns: 1fr; gap: 14px; }
  .sport-card { padding: 28px 20px; }

  .map-section { padding: 48px 20px; }
  .map-section-inner { gap: 32px; }

  .faq-section { padding: 64px 20px; }

  .waitlist-post-signup { text-align: center; }
  .post-signup-steps li { text-align: left; }

  .waitlist-section { padding: 64px 20px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-input { width: 100%; }

  .btn-primary {
    font-size: 14px; padding: 13px 22px;
    width: 100%; justify-content: center;
  }

  footer { flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 20px; }
  .footer-copy { font-size: 11px; }

  #sports { padding: 64px 0 !important; }
}

/* ── CARD CONTRAST OVERRIDES ──
   Cards must contrast against their section background.
   feature-card default = paper-2, sport-card default = paper, faq-item default = paper.
   Override where the section bg matches the card bg. */
#features .feature-card { background: var(--paper); }
#sports   .sport-card   { background: var(--paper-2); }
#faq      .faq-item     { background: var(--paper-2); }

/* ── INDEX: hero subhead + spacing overrides ── */
.index-sub {
  font-size: 18px; color: var(--ink-3); line-height: 1.6;
  max-width: 500px; margin: 0 auto; font-weight: 400;
  text-wrap: pretty;
}
.index-headline h1 { margin-bottom: 14px; }
.index-headline { margin-bottom: 36px; }

/* ── HOOK / PROBLEM SECTION ── */
.hook-section {
  padding: 80px 40px;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  background: var(--paper-2);
}
.hook-inner { max-width: 640px; margin: 0 auto; }
.hook-inner h2 { margin-bottom: 20px; }
.hook-inner p {
  color: var(--ink-3); font-size: 17px; line-height: 1.75;
  max-width: 530px; margin: 0 auto 16px; text-wrap: pretty;
}
.hook-inner p:last-child { margin-bottom: 0; }

/* ── RUNNING CALLOUT ── */
.running-note {
  max-width: 680px; margin: 0 auto;
  margin-top: 48px;
  background: var(--paper-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-1);
}
.running-note-eyebrow {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--cobalt); margin-bottom: 14px;
}
.running-note-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cobalt); flex-shrink: 0;
}
.running-note h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 14px;
  letter-spacing: -0.015em; color: var(--ink);
}
.running-note p {
  color: var(--ink-3); font-size: 15px; line-height: 1.7;
  margin-bottom: 10px; text-wrap: pretty;
}
.running-note p:last-child { margin-bottom: 0; }
.running-note { text-align: left; }

/* Loading spinner */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.btn-primary.loading {
  color: #0A0A0E;
}

@media (prefers-reduced-motion) {
  .btn-spinner {
    animation: none;
    background: currentColor;
    border-radius: 0;
    width: 10px;
    margin-right: 8px;
  }
}

/* ── MINIMAL NAV (homepage) ── */
nav.nav-min {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 52px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.3s var(--ease-out);
}
nav.nav-min.scrolled {
  background: rgba(10,10,14,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-soft);
}
:root[data-theme="light"] nav.nav-min { background: transparent; }
:root[data-theme="light"] nav.nav-min.scrolled { 
  background: rgba(255,255,255,0.4); 
}
.nav-min-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.nav-min-wordmark { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }

/* Brand mark next to the wordmark (nav + footer). Loads the icon-style logo
   SVGs and swaps light/dark by the [data-theme] attribute the theme toggle
   sets — not @media prefers-color-scheme, so a manual theme choice is honoured. */
.brand-mark { display: block; height: 26px; width: auto; }
.footer-logo .brand-mark { height: 20px; }
.brand-mark--dark { display: none; }
:root[data-theme="dark"] .brand-mark--light { display: none; }
:root[data-theme="dark"] .brand-mark--dark  { display: block; }

/* ── HOMEPAGE FORM ── */
.index-form { display: flex; gap: 10px; width: 100%; }
.index-form .waitlist-input { flex: 1; }
.index-note,
.home-note { color: var(--ink-4); font-size: 13px; text-align: center; }

/* ── HOMEPAGE: FULL-BLEED AMBIENT ── */
.index {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 24px 60px; gap: 0;
}
.index-headline {
  position: relative; z-index: 2;
  text-align: center; margin-bottom: 20px;
}
.index-headline h1 {
  font-size: clamp(30px, 5vw, 58px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.05;
}
.index-headline h1 em { font-style: normal; color: var(--cobalt); }
.index-phones {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
}
.index-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 100% 90% at 50% 38%, rgba(74,120,232,0.28) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 12%, rgba(255,217,58,0.16) 0%, transparent 52%),
    radial-gradient(ellipse 50% 42% at 10% 85%, rgba(74,120,232,0.14) 0%, transparent 55%);
}
:root[data-theme="light"] .index-bg {
  background:
    radial-gradient(ellipse 100% 90% at 50% 38%, rgba(30,79,196,0.12) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 12%, rgba(245,197,24,0.14) 0%, transparent 52%);
}
.index-halo {
  position: absolute; z-index: 1; pointer-events: none;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,120,232,0.42) 0%, transparent 70%);
  top: 30%; left: 50%; transform: translate(-50%, -50%);
  filter: blur(52px);
}
:root[data-theme="light"] .index-halo {
  background: radial-gradient(circle, rgba(30,79,196,0.24) 0%, transparent 70%);
}
.index-form-card {
  position: relative; z-index: 2;
  background: rgba(10,10,14,0.52);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-xl);
  padding: 24px 28px 20px;
  width: 100%; max-width: 500px;
  margin-top: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.3);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
:root[data-theme="light"] .index-form-card {
  background: rgba(255,255,255,0.76);
  border-color: var(--border-soft);
  box-shadow: var(--shadow-3);
}

/* ── RESPONSIVE: HOMEPAGE ── */
@media (max-width: 900px) {
  nav.nav-min { padding: 0 24px; }
}
@media (max-width: 600px) {
  nav.nav-min { height: 56px; padding: 0 20px; }
  .index { padding: 72px 20px 48px; }
  .index-headline { margin-bottom: 16px; }
  .index-form { flex-direction: column; }
  .index-form .btn-primary { justify-content: center; }
}

/* ── LEGAL PAGES (terms, privacy) ── */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 24px 96px; }
.legal-header { margin-bottom: 8px; }
.legal-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cobalt);
}
.legal h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 12px; }
.legal-meta { color: var(--ink-4); font-size: 13px; }
.legal-note {
  margin: 24px 0 0; padding: 14px 16px;
  background: var(--saffron-soft); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); color: var(--ink-3); font-size: 13px; line-height: 1.65;
}
.legal-toc { margin: 32px 0 0; padding: 18px 20px; list-style: none;
  background: var(--paper-2); border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.legal-toc a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.legal-toc a:hover { color: var(--cobalt); }
.legal section { margin-top: 44px; scroll-margin-top: 88px; }
.legal h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.legal h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--cobalt); }
.legal strong { color: var(--ink); }
.legal-updated { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--border-soft);
  color: var(--ink-4); font-size: 13px; }
@media (max-width: 600px) {
  .legal { padding: 100px 20px 72px; }
  .legal h1 { font-size: 30px; }
  .legal-toc { grid-template-columns: 1fr; }
}
