/* ==========================================================================
   SCOUTR — Neutral Liquid Glass Monochrome Design System (scoutr-home.css)
   Matches Scoutr's mobile app theme (theme/materials.ts & theme/palette.ts)
   and live monochrome identity: charcoal/white surfaces, bubbly pill controls,
   real 3D phone-framed screenshots, and zero green or cursive text.
   ========================================================================== */

:root {
  --bg: #0f0f0f;
  --bg-elevated: #161615;
  --surface: #1d1d1c;
  --surface-2: #292928;
  --surface-3: #343432;
  --surface-glass: rgba(29, 29, 28, 0.82);
  --ink: #f2f2ee;
  --ink-secondary: #b7b7b2;
  --ink-muted: #8e8e93;
  --accent: #f2f2ee;
  --accent-ink: #141414;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --highlight: rgba(255, 255, 255, 0.22);
  --shadow-lg: 0 28px 72px -16px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-phone: drop-shadow(0 30px 56px rgba(0, 0, 0, 0.68));
  --nav-bg: rgba(15, 15, 15, 0.84);
  --glow-primary: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.06), transparent 64%);
  --glow-card: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.045), transparent 62%);
  --page-max: 1300px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] {
  --bg: #f3f2ee;
  --bg-elevated: #eeeeec;
  --surface: #ffffff;
  --surface-2: #f1f1ef;
  --surface-3: #e4e4e1;
  --surface-glass: rgba(255, 255, 255, 0.86);
  --ink: #202020;
  --ink-secondary: #686866;
  --ink-muted: #8e8e93;
  --accent: #202020;
  --accent-ink: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.15);
  --highlight: rgba(255, 255, 255, 0.96);
  --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.05);
  --shadow-phone: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.18));
  --nav-bg: rgba(243, 242, 238, 0.88);
  --glow-primary: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.8), transparent 64%);
  --glow-card: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.025), transparent 62%);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(var(--page-max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

/* Clean Sans-Serif Emphasis — NEVER cursive or italic */
h1 em,
h2 em,
h3 em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--ink-secondary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-secondary);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
  flex-shrink: 0;
}

/* ==========================================================================
   TOP NAVIGATION BAR
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding-inline: max(var(--gutter), calc((100vw - var(--page-max)) / 2));
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.brand-mark img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

html[data-theme="dark"] .brand-mark img {
  filter: invert(1) brightness(1.12);
}

/* Audience Toggle Pill (Athletes / Teams & scouts) */
.audience-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  gap: 2px;
}

.audience-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
  white-space: nowrap;
}

.audience-toggle button:hover {
  color: var(--ink);
}

.audience-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.18s ease;
}

.nav nav a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.theme:hover {
  background: var(--surface-2);
  border-color: var(--ink-secondary);
  transform: translateY(-1px);
}

.theme:active {
  transform: scale(0.96);
}

.theme svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .theme .moon {
  display: none;
}

html[data-theme="light"] .theme .sun {
  display: none;
}

/* Primary & Secondary Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--bg);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.35);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button.small {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 13px;
}

.button-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.button-ghost:hover {
  background: var(--surface-2);
  border-color: var(--ink-secondary);
}

.mobile-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu span,
.mobile-menu span::before,
.mobile-menu span::after {
  display: block;
  width: 16px;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu span::before,
.mobile-menu span::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu span::before {
  top: -5px;
}

.mobile-menu span::after {
  top: 5px;
}

/* ==========================================================================
   HERO SECTION — Split Copy + Interactive Real Phone-Framed Carousel
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: clamp(36px, 5vw, 68px);
  padding-bottom: clamp(64px, 7vw, 104px);
  background: var(--glow-primary);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  align-items: center;
  gap: clamp(36px, 5.5vw, 72px);
}

.hero-copy {
  max-width: 590px;
}

.hero h1 {
  margin: 22px 0 20px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-copy > p {
  margin: 0;
  max-width: 500px;
  color: var(--ink-secondary);
  font-size: clamp(16px, 1.15vw, 17.5px);
  line-height: 1.68;
  text-wrap: pretty;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.hero .actions .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero .actions .text-link:hover {
  background: var(--surface-2);
  border-color: var(--ink-secondary);
  transform: translateY(-2px);
}

/* Store Download Pills in Hero */
.store-strip {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.store-strip-label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-muted);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, background-color 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: var(--ink-secondary);
  background: var(--surface-2);
}

.store-badge svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.store-badge-text small {
  font-size: 10px;
  color: var(--ink-muted);
  font-weight: 500;
}

.store-badge-text strong {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.beta-eligibility {
  margin: 12px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.5;
}

.beta-eligibility a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   HERO VISUAL — Interactive Carousel with Real Phone-Framed Screenshots
   ========================================================================== */
.hero-visual {
  position: relative;
  border-radius: 32px;
  border: 1px solid var(--line-strong);
  background: var(--glow-card), var(--surface);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  user-select: none;
}

.org-concept {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Top bar inside hero visual stage */
.stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.stage-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.stage-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
}

.stage-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.carousel-arrow {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.15s ease, border-color 0.18s ease;
}

.carousel-arrow:hover {
  background: var(--surface-3);
  border-color: var(--ink-secondary);
  transform: translateY(-1px);
}

.carousel-arrow:active {
  transform: scale(0.95);
}

.carousel-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 3-Phone Real Hardware Frame Carousel Stage */
.hero-carousel-stage {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  align-items: center;
  justify-items: center;
  gap: 8px;
  min-height: 510px;
  padding: 6px 0 12px;
}

.carousel-phone-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: transform 0.42s var(--ease-spring), opacity 0.32s var(--ease-out);
}

.carousel-phone-slot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: var(--shadow-phone);
  transition: opacity 0.22s ease, transform 0.35s var(--ease-out);
}

.carousel-phone-slot.is-side {
  opacity: 0.52;
  transform: scale(0.86);
  cursor: pointer;
}

.carousel-phone-slot.is-side:hover {
  opacity: 0.82;
  transform: scale(0.9);
}

.carousel-phone-slot.is-center {
  z-index: 3;
  max-width: 280px;
}

.carousel-phone-slot.is-side {
  max-width: 215px;
}

.hero-carousel-stage.is-transitioning .carousel-phone-slot img {
  opacity: 0.35;
  transform: scale(0.97);
}

/* Active Screen Caption Banner inside Carousel */
.carousel-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.carousel-caption-copy strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.carousel-caption-copy span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.carousel-counter {
  font-family: "Manrope", sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  flex-shrink: 0;
}

/* Interactive 4-Screen Switcher Tabs */
.stage-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.stage-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-secondary);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.stage-switcher button:hover {
  color: var(--ink);
  background: var(--surface);
}

.stage-switcher button.active {
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
}

.stage-switcher button .num {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  opacity: 0.7;
}

/* ==========================================================================
   ATHLETE STORY & REAL PHONE-FRAMED SCREEN SHOWCASE (#experience)
   ========================================================================== */
.story {
  padding-top: clamp(72px, 9vw, 124px);
  padding-bottom: clamp(64px, 8vw, 108px);
}

.story-intro {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.story-intro h2 {
  margin: 18px 0 18px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.story-intro p {
  margin: 0;
  max-width: 600px;
  color: var(--ink-secondary);
  font-size: clamp(16px, 1.15vw, 17.5px);
  line-height: 1.68;
}

/* Story Feature Chapters */
.story-chapters {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

.story-step {
  display: grid;
  grid-template-columns: minmax(290px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  border: 1px solid var(--line);
  background: var(--glow-card), var(--surface);
  box-shadow: var(--shadow-lg);
}

.story-step-reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
}

.story-step-reverse .story-copy {
  order: 2;
}

.story-step-reverse .story-shot {
  order: 1;
}

.story-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story-copy .index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--ink-secondary);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.story-copy h3 {
  margin: 0 0 16px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.story-copy p {
  margin: 0 0 14px;
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.72;
  text-wrap: pretty;
}

.story-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 22px;
  padding: 0;
  list-style: none;
}

.story-pills li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.story-pills li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--ink-secondary);
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.story-link:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  background: var(--surface-3);
}

.story-link span {
  transition: transform 0.2s ease;
}

.story-link:hover span {
  transform: translate(2px, -2px);
}

/* Visual Stage inside each Story Chapter — Real Phone-Framed PNGs */
.story-shot {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--glow-card), var(--bg-elevated);
  overflow: hidden;
}

.phone-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.phone-showcase img {
  width: 100%;
  max-width: 300px;
  max-height: 600px;
  height: auto;
  object-fit: contain;
  filter: var(--shadow-phone);
  transition: transform 0.4s var(--ease-spring);
}

.story-shot:hover .phone-showcase img {
  transform: translateY(-6px) scale(1.02);
}

.story-shot figcaption {
  margin-top: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

/* ==========================================================================
   ORGANIZATIONS / SCOUTS / TRAINERS SECTION (#organization-experience)
   ========================================================================== */
.organization-story {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.org-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.org-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s var(--ease-out), border-color 0.22s ease;
}

.org-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.org-card .index {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.org-card h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.org-card p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 14.5px;
  line-height: 1.65;
}

.org-preview-stage {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: var(--glow-card), var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* ==========================================================================
   CLOSING STATEMENT & DOWNLOAD SHOWCASE (.closing-story)
   ========================================================================== */
.closing-story {
  position: relative;
  padding: clamp(76px, 9vw, 124px) 0;
  background: var(--glow-primary), var(--bg-elevated);
  border-block: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-story h2 {
  max-width: 880px;
  margin: 20px auto 16px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(44px, 6.8vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.closing-sub {
  max-width: 560px;
  margin: 0 auto 44px;
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.closing-shots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(14px, 3vw, 32px);
  width: 100%;
  max-width: 880px;
  margin: 0 auto 44px;
}

.closing-phone-item {
  width: 30%;
  max-width: 248px;
  transition: transform 0.35s var(--ease-spring);
}

.closing-phone-item:nth-child(2) {
  width: 34%;
  max-width: 278px;
  transform: translateY(-14px);
}

.closing-phone-item:hover {
  transform: translateY(-10px) scale(1.02);
}

.closing-phone-item:nth-child(2):hover {
  transform: translateY(-22px) scale(1.02);
}

.closing-phone-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: var(--shadow-phone);
}

.closing-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ==========================================================================
   DIRECTIONAL ROADMAP (#roadmap)
   ========================================================================== */
.roadmap {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.roadmap-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.roadmap-heading h2 {
  margin: 16px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.roadmap-heading p {
  margin: 0;
  max-width: 420px;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-grid > article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.22s var(--ease-out), border-color 0.22s ease, background-color 0.22s ease;
}

.roadmap-grid > article:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.roadmap-grid > article.road-live {
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.road-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
}

.road-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  font-family: "Manrope", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.road-live .road-status {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.road-number {
  font-family: "Manrope", sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
}

.roadmap-grid h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.roadmap-grid p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}

.roadmap-note {
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

/* ==========================================================================
   WAITLIST SECTION (#waitlist — Teams, Scouts & Trainers)
   ========================================================================== */
.waitlist {
  padding: clamp(72px, 9vw, 116px) 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.wait-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
}

.wait-grid h2 {
  margin: 18px 0 16px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.wait-grid > div > p {
  margin: 0;
  max-width: 460px;
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.wait-card {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wait-card label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.wait-card input,
.wait-card select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color 0.18s ease;
}

.wait-card input:focus,
.wait-card select:focus {
  outline: none;
  border-color: var(--ink);
}

.wait-card .submit {
  width: 100%;
  margin-top: 8px;
  justify-content: space-between;
}

.form-note {
  margin: 12px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-note a {
  color: var(--ink);
  text-decoration: underline;
}

#form-message {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  min-height: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px 28px;
  padding-top: 68px;
  padding-bottom: 44px;
}

.footer p {
  margin: 12px 0 0;
  max-width: 300px;
  color: var(--ink-secondary);
  font-size: 14px;
}

.footer h3 {
  margin: 0 0 14px;
  font-family: "Manrope", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.footer a:not(.brand) {
  display: block;
  padding: 5px 0;
  color: var(--ink-secondary);
  font-size: 14px;
  transition: color 0.18s ease;
}

.footer a:not(.brand):hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (1100px, 860px, 560px)
   ========================================================================== */
.hero > *,
.story-step > *,
.wait-grid > *,
.org-showcase-grid > * {
  min-width: 0;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .org-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px var(--gutter);
    gap: 10px;
  }

  .nav .audience-toggle {
    order: 4;
    width: 100%;
    justify-content: center;
  }

  .nav .audience-toggle button {
    flex: 1;
    text-align: center;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .nav nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px var(--gutter);
    background: var(--surface);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .nav nav.open {
    display: flex;
  }

  .stage-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-step,
  .story-step-reverse {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  .story-step-reverse .story-copy,
  .story-step-reverse .story-shot {
    order: initial;
  }

  .wait-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  .nav-actions .button.small {
    padding: 8px 13px;
    font-size: 12px;
    min-height: 38px;
  }

  .theme,
  .mobile-menu {
    width: 38px;
    height: 38px;
  }

  .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.05em;
    padding: 5px 10px;
    max-width: 100%;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: clamp(34px, 9.8vw, 48px);
  }

  .hero-visual {
    padding: 16px 14px;
    border-radius: 24px;
  }

  .hero-carousel-stage {
    grid-template-columns: minmax(0, 1fr);
    min-height: 400px;
  }

  .carousel-phone-slot.is-side {
    display: none;
  }

  .carousel-phone-slot.is-center {
    max-width: 240px;
  }

  .story-step,
  .story-step-reverse {
    padding: 20px 16px;
    border-radius: 24px;
  }

  .story-shot {
    padding: 18px 14px;
  }

  .org-grid,
  .roadmap-grid,
  .field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .closing-shots {
    gap: 10px;
  }

  .closing-phone-item {
    width: 32%;
  }

  .footer {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
