/* =========================================================
   Hango — Landing page
   Colors follow the Hango Mobile App palette (source of truth).
   Token roles:
   - Surfaces: lightBg page, lightSurface cards, lightSurfaceSubtle insets,
     lightBorder / lightDivider lines
   - Text: lightTextPrimary / Secondary / Muted
   - Brand (electric blue): primary color, hero uses the courtHero tokens
   - Lime: highlight only, always with limeInk text
   - Hot pink: small accents only
   - Slate: dark surfaces
   ========================================================= */
:root {
  /* Brand */
  --brand: #2347FF;
  --brand-deep: #1534E0;
  --brand-light: #6E86FF;
  --brand-soft: #E7ECFF;
  --hero-sky: #B9C8FF;
  /* Highlight */
  --lime: #D4F55A;
  --lime-dark: #BFE53A;
  --lime-light: #F2FCCF;
  --lime-ink: #26310A;
  /* Accents */
  --cream: #F4F5F8;
  --pink: #FF2D73;
  /* Neutrals and surfaces */
  --bg: #ECEEF2;
  --surface: #FFFFFF;
  --surface-subtle: #F4F5F8;
  --border: #DFE2E8;
  --divider: #E8EAEF;
  --text: #0D111C;
  --text-2: #5D6475;
  --text-3: #8B91A1;
  --slate: #1B2130;
  --slate-light: #2A3144;
  /* Semantic */
  --success: #16A34A;
  /* Map and hero */
  --map-land: #DCE3F5;
  --map-water: #C4D1F2;
  --court-surface: #3B57F5;
  --court-grad-start: #5C76FF;

  --f-display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --f-body: "Outfit", system-ui, sans-serif;
  --r-xl: 40px;
  --r-lg: 26px;
  --r-md: 18px;
  --gutter: clamp(16px, 2.4vw, 32px);
  --line: 3px solid var(--text);          /* illustration-style outline */
  --pop: 6px 6px 0 var(--text);           /* hard offset shadow */
  --pop-sm: 4px 4px 0 var(--text);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* nothing may widen the page sideways (phones would zoom out to fit it).
   clip, unlike hidden, keeps position: sticky working */
html { overflow-x: clip; }
.panel, .match, .sports, .proof, .faq, .page-main { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a, button, summary, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.display {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
}
h2.display { font-size: clamp(44px, 6.6vw, 100px); }
.c-lime { color: var(--lime); }
.c-blue { color: var(--brand); }
.c-pink { color: var(--pink); }

/* Sticker-style word highlight */
.pill {
  display: inline-block;
  padding: .02em .22em .06em;
  border-radius: 999px;
  border: 3px dashed currentColor;
  transform: rotate(-4deg);
  box-shadow: var(--pop-sm);
}
.pill-lime { background: var(--lime); color: var(--lime-ink); }
.pill-pink { background: var(--pink); color: #fff; transform: rotate(3deg); }
.pill-blue { background: var(--brand); color: #fff; }

/* ---------- Stickers ---------- */
.sticker {
  position: absolute; pointer-events: none;
  filter: drop-shadow(4px 5px 0 rgba(13,17,28,.22));
  animation: bob 6s ease-in-out infinite;
}
.sticker:nth-of-type(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.sticker:nth-of-type(3n) { animation-duration: 5.5s; animation-delay: -4s; }
@keyframes bob {
  0%, 100% { transform: none; }
  50% { transform: translateY(-12px) rotate(4deg); }
}
.squiggle { position: absolute; pointer-events: none; color: var(--lime); }

/* Rotating circular badge */
.spin-badge {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: .95em; height: .95em; border-radius: 50%;
  background: var(--surface-subtle);
  border: var(--line);
  box-shadow: 0 0 0 4px var(--lime), var(--pop);
  vertical-align: middle;
  transition: transform .3s var(--ease);
}
.spin-badge:hover { transform: scale(1.06) rotate(-6deg); }
.sb-ring { position: absolute; inset: 4%; width: 92%; height: 92%; animation: spin 14s linear infinite; }
.sb-core {
  width: 44%; height: 44%; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); border: var(--line); color: #fff;
  font-family: var(--f-body); font-weight: 700; font-size: .2em; line-height: 1;
}
.sb-core::before { content: "↗"; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Logo ---------- */
.logo {
  font-family: var(--f-display); font-weight: 900; font-size: 30px; letter-spacing: .06em; line-height: 1;
  color: #fff; display: inline-flex; align-items: center; min-height: 44px;
}
.logo.dark { color: var(--text); }
/* app icon tile next to the wordmark */
.logo { gap: 10px; }
.logo-tile { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 2px #fff; }
.logo.dark .logo-tile { box-shadow: none; }
.footer .logo-tile { width: 32px; height: 32px; border-radius: 9px; }
.logo-o {
  display: inline-grid; place-items: center;
  width: .78em; height: .78em; margin-left: .06em;
  border-radius: 50%; border: .16em solid var(--lime);
  color: transparent; font-size: 1em; overflow: hidden;
}
.logo.dark .logo-o { border-color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-lime { background: var(--lime); color: var(--lime-ink); border: var(--line); box-shadow: var(--pop-sm); }
.btn-lime:hover { background: var(--lime-dark); transform: translate(-2px, -2px); box-shadow: var(--pop); }
.btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* =========================================================
   HERO — courtHero tokens
   ========================================================= */
.hero-wrap { padding: var(--gutter) var(--gutter) 0; }
.hero {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: 26px clamp(20px, 3vw, 40px) clamp(56px, 7vw, 96px);
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(90% 70% at 20% 0%, rgba(185,200,255,.5), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, var(--brand-deep), transparent 70%),
    linear-gradient(170deg, var(--court-grad-start), var(--court-surface) 45%, var(--brand) 100%);
}
.nav {
  position: relative; z-index: 5;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-side { display: flex; gap: 40px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); align-items: center; }
.nav-side.right { justify-content: flex-end; }
.nav-side a:hover { color: #fff; }
.nav-cta {
  position: relative; padding: 10px 22px; color: #fff; font-weight: 600;
  border: 2px solid rgba(255,255,255,.8); border-radius: 50%;
  transform: rotate(-4deg);
}
.nav-cta::after {
  content: ""; position: absolute; inset: -6px -10px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4); transform: rotate(6deg);
}
.nav-cta:hover { color: var(--lime); border-color: var(--lime); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lime);
  flex-direction: column; justify-content: center; align-items: center; gap: 4px; justify-self: end;
}
.menu-btn span { width: 16px; height: 2px; background: var(--lime-ink); border-radius: 2px; transition: transform .25s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu {
  position: absolute; z-index: 6; top: 84px; left: 16px; right: 16px;
  background: var(--surface); color: var(--text); border-radius: var(--r-md);
  padding: 8px; box-shadow: 0 20px 50px rgba(13,17,28,.25);
}
.mobile-menu a { display: block; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.mobile-menu a:hover { background: var(--surface-subtle); }

.hero-stage { position: relative; max-width: 1200px; margin: clamp(36px, 5vw, 64px) auto 0; text-align: center; }
.hero-title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(52px, 11vw, 150px); line-height: .9; letter-spacing: .005em;
  display: flex; flex-direction: column; align-items: center; gap: .04em;
}
.hl-row { display: block; white-space: nowrap; }
.hl-sm { font-size: .62em; color: #fff; }
.hl-sm:first-child { color: var(--hero-sky); }
.hl-big { font-size: 1.12em; line-height: .86; color: var(--lime); text-shadow: 6px 6px 0 rgba(13,17,28,.18); }
/* the sport that's live right now */
.live-badge {
  justify-self: center; transition: translate .25s var(--ease), box-shadow .25s var(--ease);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 22px 8px 8px; border-radius: 999px;
  background: var(--surface); color: var(--text);
  border: var(--line); box-shadow: var(--pop-sm);
  rotate: -2deg;
}
.live-badge svg { width: 46px; height: 46px; padding: 4px; border-radius: 50%; background: var(--lime); }
.live-badge span { display: grid; text-align: left; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 28px; line-height: .95; }
.live-badge small { display: flex; align-items: center; gap: 6px; font-family: var(--f-body); font-weight: 700; text-transform: none; font-size: 12px; color: var(--success); letter-spacing: .02em; }
.live-badge:hover { translate: -2px -2px; box-shadow: var(--pop); }
.live-badge small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.outline { color: transparent; -webkit-text-stroke: 2px #fff; }


/* Hero fills the first screen; headline + badge + buttons + happy chip, centred */
.hero { display: flex; flex-direction: column; min-height: min(calc(100svh - var(--gutter)), 880px); }
.hero > .nav, .hero-stage, .hero-base { width: 100%; }
.hero-stage { margin-top: auto; padding-top: clamp(24px, 4vw, 48px); }
.hero-title { position: relative; z-index: 1; }
/* keyword line above the headline (keeps the search phrase near the top) */
.hero-kicker {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #fff;
}
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.hero-base { position: relative; z-index: 1; max-width: 1240px; margin: 28px auto auto; display: grid; justify-items: center; text-align: center; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* "900+ happy players" chip with hopping faces */
.happy {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  padding: 6px 18px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  font-size: 15px; color: rgba(255,255,255,.9);
}
.happy strong { font-family: var(--f-display); font-weight: 900; font-size: 22px; color: #fff; margin-right: 4px; letter-spacing: .02em; }
.faces { display: flex; }
.faces i { display: grid; width: 34px; height: 34px; border-radius: 50%; color: var(--c); background: var(--c); border: 2px solid #fff; }
.faces i + i { margin-left: -9px; }
.faces svg { width: 100%; height: 100%; }
@keyframes hop { 0%, 12%, 100% { transform: none; } 6% { transform: translateY(-7px) rotate(-8deg); } }
.motion .faces i { animation: hop 4s ease-in-out infinite; }
.motion .faces i:nth-child(2) { animation-delay: .25s; }
.motion .faces i:nth-child(3) { animation-delay: .5s; }
.motion .faces i:nth-child(4) { animation-delay: .75s; }

/* Playful layer */
.fx { position: absolute; inset: 0; pointer-events: none; }
.motion .fx { transition: translate .4s ease-out; }
.motion .fx-far  { translate: calc(var(--mx, 0) * -12px) calc(var(--my, 0) * -10px); }
.motion .fx-near { translate: calc(var(--mx, 0) * 26px) calc(var(--my, 0) * 20px); }
.st-racket { width: clamp(80px, 10vw, 150px); height: clamp(80px, 10vw, 150px); left: -1%; top: -6%; }
.st-smile  { width: clamp(84px, 9vw, 140px); height: clamp(84px, 9vw, 140px); right: 4%; top: 104%; }
.st-bolt   { width: clamp(44px, 5vw, 80px); height: clamp(44px, 5vw, 80px); right: 9%; top: -10%; }
.st-star   { width: clamp(36px, 4vw, 64px); height: clamp(36px, 4vw, 64px); left: 6%; top: 104%; }
.spark { position: absolute; color: var(--lime); }
.sp-1 { width: 26px; height: 26px; left: 24%; top: 4%; }
.sp-2 { width: 18px; height: 18px; right: 26%; top: -4%; color: #fff; }
.sp-3 { width: 22px; height: 22px; left: 15%; top: 96%; color: #fff; }
.sp-4 { width: 30px; height: 30px; right: 18%; top: 98%; }
@keyframes twinkle { 0%, 100% { transform: scale(.4) rotate(0deg); opacity: .3; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }
.motion .spark { animation: twinkle 2.8s ease-in-out infinite; }
.motion .sp-2 { animation-delay: -.7s; }
.motion .sp-3 { animation-delay: -1.4s; }
.motion .sp-4 { animation-delay: -2.1s; }

/* Side cards (wider screens): a game about to fill, and a level-up */
.hcard { display: none; }
@keyframes cardFloat { 50% { transform: translateY(-10px); } }
@media (min-width: 980px) {
  .hcard {
    display: block; position: absolute; width: clamp(180px, 16vw, 230px); padding: 14px;
    border-radius: 20px; border: var(--line); box-shadow: var(--pop);
    background: var(--surface); color: var(--text); text-align: left; font-size: 13px; line-height: 1.3;
  }
  .hc-game { left: 1%; top: 112%; rotate: -6deg; }
  .hc-thumb {
    height: 62px; margin-bottom: 10px; border-radius: 12px;
    background:
      linear-gradient(rgba(255,255,255,.5) 2px, transparent 2px) 0 50% / 100% 50%,
      linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.5) calc(50% - 1px), rgba(255,255,255,.5) calc(50% + 1px), transparent calc(50% + 1px)),
      linear-gradient(160deg, var(--court-grad-start), var(--brand));
  }
  .hc-game strong { display: block; font-size: 15px; }
  .hc-game > span { color: var(--text-2); }
  .hc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
  .hc-foot em { font-style: normal; font-weight: 700; font-size: 11px; padding: 4px 9px; border-radius: 999px; background: var(--pink); color: #fff; }
  .faces.sm i { width: 26px; height: 26px; }
  .hc-level { right: 1%; top: 114%; rotate: 5deg; background: var(--lime); color: var(--lime-ink); }
  .hc-level small { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
  .hc-level b { display: block; margin: 2px 0 10px; font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 3.4vw, 48px); line-height: 1; }
  .hc-level .lvl-steps { width: 100%; }
  .hc-level .lvl-steps i { background: rgba(38,49,10,.15); }
  .hc-level .lvl-steps i.on { background: rgba(38,49,10,.45); }
  .hc-level .lvl-steps i.now { background: var(--lime-ink); box-shadow: none; }
  .st-smile { right: -2%; top: 98%; z-index: 1; }
  .st-star { display: none; }
  .motion .hcard { animation: cardFloat 5s ease-in-out infinite; }
  .motion .hc-level { animation-delay: -2.5s; }
  .motion .hc-game  { translate: calc(var(--hp, 0) * -30vw) calc(var(--hp, 0) * 10vh); }
  .motion .hc-level { translate: calc(var(--hp, 0) * 30vw) calc(var(--hp, 0) * 10vh); }
}

/* A shuttle loops across in an arc, then rests off-screen */
.flight { position: absolute; z-index: 2; left: -4%; right: -4%; top: -14%; height: 0; pointer-events: none; }
.flight-shuttle { display: none; }
.motion .flight-shuttle { display: block; width: clamp(40px, 4.5vw, 64px); height: clamp(40px, 4.5vw, 64px); filter: drop-shadow(3px 4px 0 rgba(13,17,28,.25)); }
@keyframes flyX { 0% { transform: translateX(-12%); } 62%, 100% { transform: translateX(104%); } }
@keyframes flyY {
  0%   { transform: translateY(var(--arc)) rotate(-40deg); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  31%  { transform: translateY(0) rotate(20deg); animation-timing-function: cubic-bezier(.6, 0, .8, .3); }
  62%, 100% { transform: translateY(var(--arc)) rotate(90deg); }
}
.motion .flight-x { --arc: clamp(110px, 16vw, 220px); width: 100%; animation: flyX 7s linear infinite 1.2s both; }
.motion .flight-y { width: max-content; animation: flyY 7s infinite 1.2s both; }

/* =========================================================
   PANEL (why + loop) — lightSurface
   ========================================================= */
.panel {
  position: relative;
  margin: clamp(60px, 7vw, 100px) var(--gutter) 0;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(56px, 7vw, 100px) clamp(20px, 4vw, 56px) clamp(70px, 8vw, 110px);
}
.panel > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.sec-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-note { max-width: 340px; color: var(--text-2); font-size: 15px; }
.sec-note a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.st-why-shuttle { width: 110px; height: 110px; right: 4%; top: -50px; }

.cards3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: clamp(40px, 5vw, 64px);
}
.feat {
  position: relative; border-radius: var(--r-lg); padding: 28px;
  min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end;
  border: var(--line); box-shadow: var(--pop);
  transition: transform .3s var(--ease);
}
.feat:hover { transform: translateY(-6px) rotate(-1deg); }
/* binder rings joining the cards */
.feat:not(:last-child)::after {
  content: ""; position: absolute; z-index: 2; right: -26px; top: 50%; width: 30px; height: 90px; transform: translateY(-50%);
  background:
    radial-gradient(circle, var(--surface) 6px, var(--text) 7px, var(--text) 9px, transparent 10px) 50% 10% / 30px 30px no-repeat,
    radial-gradient(circle, var(--surface) 6px, var(--text) 7px, var(--text) 9px, transparent 10px) 50% 90% / 30px 30px no-repeat,
    linear-gradient(var(--text), var(--text)) 50% 50% / 5px 66% no-repeat;
}
.feat-lime  { background: var(--lime); color: var(--lime-ink); }
.feat-blue  { background: var(--brand); color: #fff; }
.feat-slate { background: var(--slate); color: #fff; }
.feat-art { position: absolute; top: 22px; left: 22px; width: 140px; height: 140px; filter: drop-shadow(4px 5px 0 rgba(13,17,28,.25)); transition: transform .4s var(--ease); }
.feat-art.wide { width: 180px; }
.feat:hover .feat-art { transform: rotate(-8deg) scale(1.05); }
.feat h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 34px; line-height: 1; letter-spacing: .01em; margin-bottom: 10px; }
.feat p { font-size: 15px; line-height: 1.45; opacity: .88; }

/* ---------- Folder tabs (loop) ---------- */
.loop-head { margin-top: clamp(80px, 9vw, 130px); scroll-margin-top: 30px; }
.st-loop-star { width: 90px; height: 90px; right: 2%; top: -10px; }
.folder { margin-top: clamp(40px, 5vw, 60px); }
.f-tabs { display: flex; padding-left: 24px; overflow-x: auto; scrollbar-width: none; }
.f-tabs::-webkit-scrollbar { display: none; }
.f-tab {
  flex: none; position: relative;
  padding: 16px 28px 22px; margin-right: -14px; margin-bottom: -8px;
  border-radius: 20px 20px 0 0;
  background: var(--tc); color: var(--tt, var(--text));
  font-weight: 600; font-size: 16px;
  border: var(--line); border-bottom: 0;
  opacity: .72;
  transition: opacity .25s, transform .25s var(--ease);
}
.f-tab:hover { opacity: 1; transform: translateY(-4px); }
.f-tab[aria-selected="true"] { opacity: 1; z-index: 3; transform: translateY(-6px); }
.f-tab:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.f-body {
  position: relative; z-index: 2;
  background: var(--fc); color: var(--ft, var(--text));
  border: var(--line); border-radius: 0 var(--r-lg) var(--r-lg) var(--r-lg);
  --fpb: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) var(--fpb);
  box-shadow: var(--pop);
  transition: background .35s, color .35s;
}
.f-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 60px); align-items: center; animation: fadeUp .45s var(--ease); }
.f-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.f-copy h3 { font-size: clamp(40px, 5vw, 72px); }
.f-copy p { margin-top: 18px; font-size: 17px; max-width: 400px; opacity: .85; }
.f-sticker {
  position: absolute; z-index: 3; left: 44%; bottom: -26px;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 1;
  padding: 12px 20px; border-radius: 999px;
  background: var(--pink); color: #fff;
  border: 3px dashed #fff; outline: var(--line);
  transform: rotate(-12deg);
  box-shadow: var(--pop-sm);
}

/* real app screenshots, shown on a full phone; sized so the pinned folder always fits the screen */
.phone-full {
  --pw: clamp(200px, calc((100svh - 248px) / 1.985 + 20px), 260px);
  width: var(--pw); justify-self: center; align-self: center;
  filter: drop-shadow(6px 8px 0 rgba(13,17,28,.18));
}
.phone {
  position: relative; width: 100%;
  padding: 10px; border-radius: 42px;
  background: var(--text); box-shadow: inset 0 0 0 2px var(--slate-light);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: var(--text); }
.phone::before { left: -3px; top: 96px; height: 46px; }
.phone::after { right: -3px; top: 120px; height: 64px; }
.phone-status {
  display: flex; align-items: center; justify-content: space-between;
  height: 32px; padding: 0 20px 0 24px; border-radius: 32px 32px 0 0;
  background: var(--sb); color: var(--st);
  font-size: 12px; font-weight: 600; line-height: 1;
}
.island { width: 72px; height: 20px; border-radius: 12px; background: var(--text); }
.ps-sig { display: flex; align-items: flex-end; gap: 2px; }
.ps-sig b { width: 3px; border-radius: 1px; background: currentColor; }
.ps-sig b:nth-child(1) { height: 5px; }
.ps-sig b:nth-child(2) { height: 7px; }
.ps-sig b:nth-child(3) { height: 9px; }
.ps-sig em { position: relative; width: 19px; height: 10px; margin-left: 5px; border: 1.5px solid currentColor; border-radius: 3px; }
.ps-sig em::before { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; border-radius: 1px; background: currentColor; }
.phone img { display: block; width: 100%; height: auto; border-radius: 0 0 32px 32px; }
.app-window {
  background: var(--surface); color: var(--text);
  border: var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--pop-sm);
}
.aw-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--divider); background: var(--surface-subtle); }
.aw-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.aw-body { padding: clamp(18px, 3vw, 30px); display: grid; gap: 16px; justify-items: center; text-align: center; min-height: 260px; align-content: center; }
.aw-line { font-size: 15px; color: var(--text-2); }
.aw-line strong { color: var(--text); }
.ok { color: var(--success); }
.mini-map {
  position: relative; width: 100%; aspect-ratio: 16 / 8; border-radius: 14px;
  background:
    linear-gradient(120deg, transparent 46%, var(--map-water) 46%, var(--map-water) 56%, transparent 56%),
    linear-gradient(0deg, transparent 48%, var(--surface) 48%, var(--surface) 52%, transparent 52%),
    linear-gradient(90deg, transparent 30%, var(--surface) 30%, var(--surface) 33%, transparent 33%),
    var(--map-land);
}
.pin { position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: var(--brand); border: 2px solid var(--surface); transform: translate(-50%, -100%) rotate(-45deg); }
.pin.hot { background: var(--pink); }
.you { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(35,71,255,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(35,71,255,0); } }
.aw-game { display: grid; gap: 6px; justify-items: center; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 16px; padding: 18px 26px; }
.aw-game strong { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1; }
.aw-game > span { font-size: 14px; color: var(--text-2); }
.aw-people { width: 200px; height: 150px; }
.aw-level { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 7vw, 96px); line-height: .9; color: var(--text-3); }
.aw-level strong { color: var(--text); }
.aw-level span { font-size: .6em; }
.lvl-steps { display: flex; gap: 5px; width: 80%; }
.lvl-steps i { flex: 1; height: 10px; border-radius: 5px; background: var(--divider); }
.lvl-steps i.on { background: var(--brand-light); }
.lvl-steps i.now { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.aw-cta { background: var(--lime); color: var(--lime-ink); font-weight: 700; padding: 12px 22px; border-radius: 999px; }

/* ---------- Avatars ---------- */
.avatars { display: flex; justify-content: center; }
.avatars i, .quote figcaption i {
  --t: #fff;
  font-style: normal; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c, var(--brand)); color: var(--t);
  font-size: 11px; font-weight: 700;
  border: 2px solid var(--surface);
}
.avatars i + i { margin-left: -8px; }

/* =========================================================
   SKILL MATCH
   ========================================================= */
.match {
  max-width: 1200px; margin: clamp(70px, 8vw, 120px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.match-copy > p { margin-top: 26px; color: var(--text-2); font-size: 17px; max-width: 480px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: 15px; }
.ticks li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); font-size: 13px; font-weight: 700; }

.match-tool {
  background: var(--surface); color: var(--text);
  border: var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 8px 8px 0 var(--brand);
}
.mt-head { display: flex; justify-content: space-between; align-items: baseline; }
.mt-head label { font-weight: 600; color: var(--text-2); font-size: 15px; }
.mt-lvl { font-family: var(--f-display); font-size: 72px; font-weight: 900; color: var(--brand); line-height: .9; }
.scale { position: relative; margin-top: 22px; }
.scale::before {
  content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, var(--brand-soft), var(--hero-sky), var(--brand-light), var(--brand));
}
.scale-band {
  position: absolute; top: 5px; height: 24px; border-radius: 12px;
  background: rgba(212,245,90,.6); border: 2px solid var(--lime-dark);
  transition: left .15s, width .15s;
}
.scale input {
  position: relative; z-index: 1; width: 100%; margin: 0; height: 34px;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: grab;
}
.scale input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface); border: 7px solid var(--brand); box-shadow: 0 4px 14px rgba(35,71,255,.4);
}
.scale input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 7px solid var(--brand); }
.scale input:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 8px; }
.scale-ticks { display: flex; justify-content: space-between; padding: 0 8px; font-size: 12px; font-weight: 600; color: var(--text-3); margin-top: 6px; }
.mt-count { margin-top: 22px; font-size: 15px; color: var(--text-2); }
.mt-count strong { color: var(--text); font-size: 17px; }
.mt-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; min-height: 210px; }
.mt-list li {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 16px; padding: 10px 12px;
  animation: fadeUp .35s var(--ease) both;
}
.gc-dot { width: 42px; height: 42px; border-radius: 12px; flex: none; background: var(--dot, var(--lime)); }
.mt-list strong { font-size: 15px; display: block; line-height: 1.2; }
.mt-list span { font-size: 13px; color: var(--text-2); }
.mt-list em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.mt-empty { justify-content: center; color: var(--text-3); font-size: 14px; }

/* =========================================================
   BADMINTON FIRST
   ========================================================= */
.sports { max-width: 1200px; margin: clamp(90px, 10vw, 150px) auto 0; padding: 0 var(--gutter); }
.sport-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin-top: clamp(40px, 5vw, 60px); }
.sport-card {
  position: relative; overflow: hidden;
  min-height: 340px; padding: 30px; border-radius: var(--r-lg);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.sport-card h3 { font-size: clamp(56px, 6vw, 96px); }
.sport-card p { font-size: 16px; margin-top: 8px; opacity: .88; }
.sport-card.live {
  color: #fff; border: var(--line); box-shadow: var(--pop);
  background:
    linear-gradient(rgba(255,255,255,.22) 2px, transparent 2px) 0 50% / 100% 50%,
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.22) calc(50% - 1px), rgba(255,255,255,.22) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(170deg, var(--court-grad-start), var(--court-surface) 50%, var(--brand));
}
.sport-card.soon { background: var(--surface-subtle); border: 3px dashed var(--border); color: var(--text-3); }
.sc-pill {
  position: absolute; top: 24px; left: 24px;
  font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); color: var(--text-2); border: 1px solid var(--border);
}
.live .sc-pill { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.sc-art { width: 170px; height: 170px; right: 24px; top: 20px; }

/* =========================================================
   PROOF — slate surface
   ========================================================= */
.proof {
  margin: clamp(90px, 10vw, 150px) var(--gutter) 0;
  background: var(--slate); color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 90px) clamp(20px, 4vw, 56px);
}
.proof > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--slate-light);
}
.s-num { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 7vw, 110px); line-height: .9; }
.proof .c-blue { color: var(--hero-sky); }
.stats p:not(.s-num) { color: var(--text-3); font-size: 15px; margin-top: 8px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 5vw, 64px); }
.quote {
  margin: 0; border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 13px; opacity: .85; }
.quote figcaption i { width: 42px; height: 42px; font-size: 12px; }
.quote figcaption strong { display: block; font-size: 15px; }
.q-lime { background: var(--lime); color: var(--lime-ink); rotate: -1.5deg; }
.q-blue { background: var(--brand); color: #fff; rotate: 1deg; }
.q-white { background: var(--surface); color: var(--text); rotate: -.5deg; }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 1200px; margin: clamp(90px, 10vw, 150px) auto 0; padding: 0 var(--gutter) clamp(90px, 10vw, 140px);
  display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: start;
}
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 0 24px; transition: border-color .25s; }
.faq-item[open] { border-color: var(--brand); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; line-height: 1;
  background: var(--surface-subtle); color: var(--text); transition: transform .3s var(--ease), background .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--lime-ink); }
.faq-item h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.faq-item p { padding: 0 48px 22px 0; color: var(--text-2); font-size: 15px; }
.faq-item summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 8px; }

/* =========================================================
   CTA (grid paper) + FOOTER
   ========================================================= */
.paper {
  position: relative; overflow: hidden;
  margin: 0 var(--gutter);
  background:
    linear-gradient(var(--divider) 2px, transparent 2px) 0 0 / 80px 80px,
    linear-gradient(90deg, var(--divider) 2px, transparent 2px) 0 0 / 80px 80px,
    var(--surface);
  color: var(--text);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: clamp(80px, 9vw, 130px) var(--gutter) 28px;
  text-align: center;
}
.cta-title {
  position: relative; z-index: 1;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(52px, 10vw, 156px); line-height: .92;
}
.cta-title span {
  -webkit-text-stroke: 3px var(--text); paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--text);
}
.spin-badge.sm { width: .85em; height: .85em; margin-right: .1em; box-shadow: 0 0 0 4px var(--lime), var(--pop-sm); }
.cta-sub { max-width: 520px; margin: 34px auto 0; font-size: 18px; color: var(--text-2); }
.store-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; text-align: left;
  background: var(--text); color: #fff; padding: 12px 24px 12px 18px; border-radius: 16px;
  font-weight: 600; font-size: 18px; line-height: 1.1;
  border: var(--line); box-shadow: 5px 5px 0 var(--brand);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.store:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--brand); }
.store:first-child { background: var(--lime); color: var(--lime-ink); box-shadow: var(--pop-sm); }
.store:first-child:hover { background: var(--lime-dark); box-shadow: var(--pop); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store small { display: block; font-size: 12px; font-weight: 500; opacity: .8; }
.loop-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 34px; font-size: 14px; font-weight: 600; }
.loop-chips span { padding: 7px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.loop-chips b { color: var(--text-3); }

.st-cta-racket  { width: clamp(90px, 11vw, 170px); height: clamp(90px, 11vw, 170px); right: 6%; top: 34%; }
.st-cta-shuttle { width: clamp(80px, 9vw, 140px); height: clamp(80px, 9vw, 140px); left: 3%; top: 58%; }
.st-cta-bolt    { width: clamp(60px, 6vw, 100px); height: clamp(60px, 6vw, 100px); left: 10%; top: 10%; }
.sq-2 { width: 130px; height: 65px; right: 12%; top: 12%; color: var(--pink); }

.footer {
  max-width: 1200px; margin: clamp(70px, 8vw, 110px) auto 0; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px;
  font-size: 14px; color: var(--text-2);
}
.footer .logo { font-size: 26px; }
.f-links { display: flex; flex-wrap: wrap; gap: 22px; }
.f-links a:hover { color: var(--text); }

/* =========================================================
   SCROLL MOTION
   The script sets --p (0→1 as an element crosses the viewport),
   --hp (hero scroll-out), --lp (loop progress) and --sp (page).
   Everything here only runs with html.motion, i.e. JS on and
   reduced motion off; without it every element sits at rest.
   ========================================================= */
.scroll-bar {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 4px;
  background: var(--lime); transform-origin: 0 50%;
  transform: scaleX(var(--sp, 0));
}

/* Ticker band */
.ticker { overflow: hidden; padding: clamp(36px, 5vw, 64px) 0 12px; display: grid; gap: 18px; }
.tk-row { margin: 0 -6vw; white-space: nowrap; }
.tk-a { background: var(--lime); border-block: var(--line); padding: 10px 0; rotate: -2deg; }
.tk-b { rotate: -2deg; }
.tk-track {
  display: inline-flex; align-items: center; gap: .35em;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 8vw, 120px); line-height: 1;
}
.tk-a .tk-track { color: var(--lime-ink); }
.tk-b .tk-track { color: transparent; -webkit-text-stroke: 2px var(--brand); }
.tk-track b { font-size: .45em; color: var(--pink); -webkit-text-stroke: 0; }
.motion .tk-a .tk-track { transform: translateX(calc(var(--p, .5) * -34%)); }
.motion .tk-b .tk-track { transform: translateX(calc(-34% + var(--p, .5) * 34%)); }

/* Hero: rows land on load, then split apart as you scroll away */
@keyframes rowIn { from { transform: translateY(70%) skewY(7deg); } to { transform: none; } }
@keyframes popIn { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
.motion .hl-row { animation: rowIn .9s var(--ease) both; }
.motion .hl-row:nth-child(2) { animation-delay: .08s; }
.motion .hl-row:nth-child(3) { animation-delay: .16s; }
.motion .live-badge { animation: popIn .7s .35s cubic-bezier(.3, 1.6, .5, 1) both; }
.motion .hero { transform: scale(calc(1 - var(--hp, 0) * .06)); transform-origin: 50% 0; }
.motion .hero-title .hl-row:nth-child(1) { translate: calc(var(--hp, 0) * -30vw) 0; }
.motion .hero-title .hl-row:nth-child(3) { translate: calc(var(--hp, 0) * 30vw) 0; }
.motion .hl-big { scale: calc(1 + var(--hp, 0) * .3); }
.motion .hero-base { opacity: calc(1 - var(--hp, 0) * 1.6); }
.motion .st-smile  { translate: calc(var(--hp, 0) * 25vw) calc(var(--hp, 0) * 20vh); rotate: calc(var(--hp, 0) * 200deg); }
.motion .flight { opacity: calc(1 - var(--hp, 0) * 2); }
.motion .st-racket  { translate: calc(var(--hp, 0) * -25vw) calc(var(--hp, 0) * 25vh); rotate: calc(var(--hp, 0) * -120deg); }

/* Section headings wipe up into view */
.motion h2.display { clip-path: inset(-30% -10% 100% -10%); translate: 0 40px; transition: clip-path .9s var(--ease), translate .9s var(--ease); }
.motion h2.display.in { clip-path: inset(-30% -10% -30% -10%); translate: 0 0; }

/* Feature cards: dealt from a stack */
.motion .cards3 { --e: clamp(0, (var(--p, 1) - .1) * 3.2, 1); }
.motion .feat:nth-child(1) { translate: calc((1 - var(--e)) * 104%) calc((1 - var(--e)) * 30px); rotate: calc((1 - var(--e)) * -14deg); }
.motion .feat:nth-child(2) { z-index: 1; translate: 0 calc((1 - var(--e)) * 60px); rotate: calc((1 - var(--e)) * 5deg); }
.motion .feat:nth-child(3) { translate: calc((1 - var(--e)) * -104%) calc((1 - var(--e)) * 30px); rotate: calc((1 - var(--e)) * 14deg); }

/* Loop: pinned while the five steps play through */
.motion .loop-pin { height: 380vh; margin-top: clamp(40px, 5vw, 60px); }
.motion .loop-sticky { position: sticky; top: max(12px, calc(50vh - 350px)); }
.motion .loop-pin .folder { margin-top: 0; }
.f-progress { display: none; }
.motion .f-progress {
  display: block; position: absolute; left: clamp(28px, 4vw, 56px); right: clamp(28px, 4vw, 56px); top: 14px;
  height: 5px; border-radius: 3px; background: rgba(13,17,28,.12); overflow: hidden; z-index: 2;
}
.motion .f-progress i { display: block; height: 100%; width: 100%; background: currentColor; transform-origin: 0 50%; transform: scaleX(var(--lp, 0)); }
@keyframes winIn { from { transform: translateY(50px) rotate(7deg) scale(.88); opacity: 0; } to { transform: none; opacity: 1; } }
.motion .f-panel:not([hidden]) .app-window { animation: winIn .6s var(--ease) both; }
@keyframes phoneUp { from { transform: translateY(45%); } to { transform: none; } }
.motion .f-panel:not([hidden]) .phone { animation: phoneUp .7s var(--ease) both; }

/* Skill tool swings up */
.motion .match-tool { --e: clamp(0, (var(--p, 1) - .05) * 3, 1); rotate: calc((1 - var(--e)) * 8deg); translate: 0 calc((1 - var(--e)) * 90px); scale: calc(.85 + var(--e) * .15); }

/* Sports: live card wipes open, shuttle flies in */
.motion .sport-row { --e: clamp(0, (var(--p, 1) - .08) * 2.6, 1); }
.motion .sport-card.live { clip-path: inset(-14px calc(-14px + (1 - var(--e)) * 100%) -14px -14px round var(--r-lg)); }
.motion .sc-art { translate: calc((1 - var(--e)) * -420px) calc((1 - var(--e)) * 160px); rotate: calc((1 - var(--e)) * -540deg); }
.motion .sport-card.soon { translate: calc((1 - var(--e)) * 40%) 0; opacity: var(--e); }

/* Quotes fan in */
.motion .quote { --e: clamp(0, (var(--p, 1) - .05) * 3, 1); translate: 0 calc((1 - var(--e)) * 120px); }
.motion .q-lime  { rotate: calc(-1.5deg - (1 - var(--e)) * 18deg); }
.motion .q-blue  { rotate: calc(1deg + (1 - var(--e)) * 14deg); }
.motion .q-white { rotate: calc(-.5deg - (1 - var(--e)) * 10deg); }

/* CTA words fly together */
.motion .cta-title { --e: clamp(0, (var(--p, 1) - .02) * 2.8, 1); }
.motion .cta-title > span:not(.spin-badge) { display: inline-block; translate: calc((1 - var(--e)) * var(--dx)) calc((1 - var(--e)) * var(--dy)); rotate: calc((1 - var(--e)) * var(--r)); }
.motion .spin-badge.sm { scale: var(--e); rotate: calc((1 - var(--e)) * -360deg); }

/* =========================================================
   LEGAL PAGES (privacy.html, terms.html)
   ========================================================= */
.legal-bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(236,238,242,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.legal-bar nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.legal-bar nav a:not(.btn) { padding: 10px 4px; }
.legal-bar nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--brand); }
.legal-bar .btn { min-height: 0; padding: 10px 18px; font-size: 14px; border-width: 2px; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) var(--gutter) 0; }
.legal h1 { font-size: clamp(48px, 9vw, 96px); }
.legal-body {
  margin-top: 32px; background: var(--surface); border-radius: var(--r-lg);
  padding: clamp(22px, 5vw, 56px);
  font-size: 16px; line-height: 1.7; color: var(--text-2);
}
.legal-body > p:first-child { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 14px; font-weight: 600; }
.legal-body h2 { margin: 40px 0 12px; color: var(--text); font-size: 22px; font-weight: 700; line-height: 1.3; }
.legal-body h3 { margin: 24px 0 8px; color: var(--text); font-size: 17px; font-weight: 600; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--brand); }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-footer { padding: 0 var(--gutter) 28px; }
@media (max-width: 560px) {
  .legal-bar nav { gap: 14px; font-size: 14px; }
  .legal-bar .btn { display: none; }
}

/* =========================================================
   SUB PAGES (area pages, skill levels guide)
   ========================================================= */
.site-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px var(--gutter);
  background: rgba(236,238,242,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-bar nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.site-bar nav a:not(.btn) { padding: 10px 0; }
.site-bar nav a:not(.btn):hover { color: var(--text); }
.site-bar .btn { padding: 10px 18px; font-size: 14px; border-width: 2px; }
.btn-ink { background: var(--text); color: #fff; border: var(--line); box-shadow: 4px 4px 0 var(--brand); }
.btn-ink:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--brand); }

.page-hero {
  position: relative; overflow: hidden; color: #fff;
  margin: var(--gutter) var(--gutter) 0; border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 64px) clamp(22px, 5vw, 64px) clamp(36px, 5vw, 64px);
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(90% 70% at 20% 0%, rgba(185,200,255,.5), transparent 60%),
    linear-gradient(170deg, var(--court-grad-start), var(--court-surface) 45%, var(--brand) 100%);
}
.crumbs { font-size: 13px; color: rgba(255,255,255,.8); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs > span[aria-hidden] { margin: 0 6px; opacity: .6; }
.page-hero h1 { position: relative; margin-top: 18px; font-size: clamp(46px, 8vw, 104px); }
.page-hero .lead { position: relative; max-width: 720px; margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: rgba(255,255,255,.92); }
.page-hero .lead a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.page-ctas { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chips { position: relative; list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; font-size: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
.ph-shuttle { position: absolute; right: 5%; top: 12%; width: clamp(70px, 10vw, 140px); height: clamp(70px, 10vw, 140px); filter: drop-shadow(4px 5px 0 rgba(13,17,28,.22)); }
.ph-s1 { width: 26px; height: 26px; right: 22%; top: 18%; }
.ph-s2 { width: 18px; height: 18px; right: 12%; top: 62%; color: #fff; }
.motion .ph-shuttle { animation: bob 6s ease-in-out infinite; }

.page-main { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.block { margin-top: clamp(56px, 7vw, 96px); }
.page-main h2.display { font-size: clamp(36px, 5vw, 64px); }
.block-sub { margin-top: 14px; color: var(--text-2); }
.bands a { display: grid; place-items: center; min-height: 44px; }
.block-sub a, .bands a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 26px 0 0; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 20px; }
.fact dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.fact dd { margin: 4px 0 0; font-size: 16px; font-weight: 600; }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 20px 22px 20px 78px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 50%; translate: 0 -50%;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--lime-ink); border: 2px solid var(--text);
  font-family: var(--f-display); font-weight: 900; font-size: 22px;
}
.steps strong { display: block; font-size: 17px; }
.steps span { color: var(--text-2); font-size: 15px; }
.why { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.why li { padding: 22px; border-radius: var(--r-lg); background: var(--brand); color: #fff; border: var(--line); box-shadow: var(--pop-sm); }
.why li:nth-child(2) { background: var(--lime); color: var(--lime-ink); }
.why li:nth-child(3) { background: var(--slate); }
.why strong { display: block; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 1; margin-bottom: 8px; }
.why span { font-size: 15px; opacity: .9; }
.near { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.near li { padding: 8px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 14px; }
.also { margin-top: 18px; color: var(--text-2); }
.also a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.area-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 26px; }
.area-card {
  display: block; padding: 26px; border-radius: var(--r-lg); min-height: 200px;
  background: var(--brand); color: #fff; border: var(--line); box-shadow: var(--pop);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.area-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--text); }
.area-card small { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 12px; }
.area-card h3 { margin-top: 28px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4vw, 56px); line-height: .95; }
.area-card span { display: block; margin-top: 8px; opacity: .9; }
.area-card.soon { background: var(--surface-subtle); color: var(--text-3); border: 3px dashed var(--border); box-shadow: none; }
.area-card.soon small { background: var(--surface); color: var(--text-2); }
.levels-teaser { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.levels-teaser h2.display { font-size: clamp(32px, 4vw, 48px); }
.levels-teaser p { margin-top: 10px; color: var(--text-2); max-width: 520px; }
.ladder { list-style: none; padding: 0; margin: 30px 0 0; height: 220px; display: flex; align-items: flex-end; gap: clamp(6px, 1.2vw, 14px); }
.ladder li { flex: 1; height: var(--h); border-radius: 12px 12px 4px 4px; background: var(--brand-light); border: 2px solid var(--text); display: grid; place-items: start center; padding-top: 8px; }
.ladder li:nth-child(n+4) { background: var(--brand); }
.ladder li:nth-child(n+7) { background: var(--slate); }
.ladder li:first-child { background: var(--lime); }
.ladder span { font-family: var(--f-display); font-weight: 900; font-size: clamp(16px, 2vw, 24px); color: #fff; }
.ladder li:first-child span { color: var(--lime-ink); }
.bands { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); text-align: center; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card-note { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: var(--line); box-shadow: var(--pop-sm); }
.card-note.lime { background: var(--lime); color: var(--lime-ink); }
.card-note h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 32px; line-height: 1; margin-bottom: 12px; }
.card-note p + p { margin-top: 10px; }
.sub-page .faq { padding: 0; margin-top: clamp(56px, 7vw, 96px); max-width: none; }

.cta-band {
  margin: clamp(56px, 7vw, 96px) var(--gutter) 0; border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 56px); background: var(--lime); color: var(--lime-ink);
  border: var(--line); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.cta-band h2.display { font-size: clamp(38px, 5.5vw, 72px); }
.cta-band p { margin-top: 12px; font-size: 17px; }
.cta-band .store-btns { justify-content: flex-start; }
.cta-band .store, .cta-band .store:first-child { background: var(--text); color: #fff; box-shadow: 5px 5px 0 var(--brand); }
.qr-card { margin: 0; padding: 14px; border-radius: var(--r-md); background: var(--surface); border: var(--line); text-align: center; box-shadow: var(--pop-sm); }
.qr-card img { display: block; width: 132px; height: 132px; }
.qr-card figcaption { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.sub-page .legal-footer { padding-top: clamp(40px, 5vw, 64px); }

/* QR in the homepage download section (desktop only) */
.qr-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.paper .qr-pair { margin-top: 30px; }
.paper .qr-card { rotate: -3deg; }
.paper .qr-card + .qr-card { rotate: 3deg; }

/* Sticky download bar (phones only; cta.js shows it) */
.get-bar {
  position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px;
  border-radius: 20px; background: var(--text); color: #fff;
  box-shadow: 0 14px 34px rgba(13,17,28,.35);
  transform: translateY(150%); transition: transform .35s var(--ease);
}
.get-bar[hidden] { display: none; }
.get-bar.on { transform: none; }
.gb-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; }
.gb-icon svg { width: 34px; height: 34px; }
.gb-text { display: grid; line-height: 1.2; }
.gb-text strong { font-size: 15px; }
.gb-text span { font-size: 12px; opacity: .75; }
.get-bar .btn { margin-left: auto; padding: 10px 18px; min-height: 0; font-size: 14px; border-width: 2px; box-shadow: none; }
.gb-close { flex: none; width: 32px; height: 32px; border-radius: 50%; color: rgba(255,255,255,.6); font-size: 22px; line-height: 1; }
.gb-close:hover { color: #fff; background: rgba(255,255,255,.1); }

@media (max-width: 820px) {
  .site-bar nav a:not(.btn) { display: none; }
  .qr-card { display: none; }
  .qr-pair { display: none; }
  .ph-shuttle { top: auto; bottom: 6%; right: 4%; width: 64px; height: 64px; opacity: .9; }
  .ph-s1, .ph-s2 { display: none; }
  .steps li { padding-left: 70px; }
  .ladder { height: 170px; }
  .sub-page { padding-bottom: 84px; }
}
@media (min-width: 821px) { .get-bar { display: none; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .cards3 { grid-template-columns: 1fr; }
  .feat { min-height: 0; padding-top: 150px; }
  .feat-art { width: 110px; height: 110px; }
  .feat-art.wide { width: 140px; }
  .feat:not(:last-child)::after { right: 50%; top: auto; bottom: -50px; transform: translateX(50%) rotate(90deg); }
  .motion .feat { --e: clamp(0, (var(--p, 1) - .02) * 3.4, 1); }
  .motion .feat:nth-child(n) { translate: calc((1 - var(--e)) * -70%) 0; rotate: calc((1 - var(--e)) * -10deg); }
  .motion .feat:nth-child(2) { translate: calc((1 - var(--e)) * 70%) 0; rotate: calc((1 - var(--e)) * 10deg); }
  .f-panel, .match, .faq { grid-template-columns: 1fr; }
  .f-sticker { left: auto; right: 20px; bottom: -22px; font-size: 20px; }
  .sport-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .quotes { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  /* performance: no continuous animation or filters on phones */
  .js .reveal { translate: 0 12px; transition-duration: .4s; }
  .sticker { animation: none; filter: none; }
  .sb-ring, .you { animation: none; }
  .feat:hover, .feat:hover .feat-art, .sport-card:hover { transform: none; }

  .hero-wrap { padding: 10px 10px 0; }
  .hero { border-radius: 28px; padding: 18px 18px 40px; }
  .hero { min-height: min(calc(100svh - 20px), 700px); }
  .hero-stage { padding-top: 28px; }
  .hero-ctas { width: 100%; max-width: 360px; flex-wrap: nowrap; }
  .hero-ctas .btn { flex: 1 1 0; padding-left: 16px; padding-right: 16px; }
  .btn { min-height: 52px; }

  .panel, .proof { margin-left: 10px; margin-right: 10px; border-radius: 28px; }
  .paper { margin: 0 10px; border-radius: 28px 28px 0 0; }
  h2.display { font-size: clamp(40px, 11.5vw, 64px); }
  .sec-head { gap: 16px; }
  .sec-note { font-size: 16px; }
  .f-tabs { scroll-snap-type: x mandatory; padding-left: 12px; }
  .f-tab { scroll-snap-align: start; min-height: 48px; }
  .motion .loop-pin { height: 340vh; }
  .motion .loop-sticky { top: max(10px, calc(50vh - 280px)); }
  .motion .f-body { --fpb: 36px; }
  .phone-full { --pw: clamp(150px, calc((100svh - 354px) / 1.985 + 20px), 210px); }
  .f-sticker { display: none; }
  .f-copy p, .match-copy > p, .cta-sub { font-size: 16px; }
  .scale input { height: 44px; }
  .scale::before { top: 18px; }
  .scale-band { top: 10px; }
  .f-links a { padding: 10px 4px; }
  .faq-item { padding: 0 18px; }
  .faq-item summary { min-height: 56px; padding: 16px 0; }
  .faq-item p { padding-right: 0; }
  .cta-title span { -webkit-text-stroke-width: 2px; text-shadow: 4px 4px 0 var(--text); }

  .nav { grid-template-columns: auto 1fr; }
  .nav-side { display: none; }
  .menu-btn { display: flex; }
  .hero-title { font-size: clamp(60px, 21vw, 140px); }
  .outline { -webkit-text-stroke-width: 1.5px; }
  .st-racket, .st-star, .sp-3, .st-bolt { display: none; }
  /* hero chips stay on one line */
  .hero-kicker { font-size: 12.5px; padding: 6px 13px; white-space: nowrap; margin-bottom: 14px; }
  .happy { font-size: 13px; gap: 9px; padding: 5px 14px 5px 5px; white-space: nowrap; }
  .happy strong { font-size: 19px; }
  .faces i { width: 28px; height: 28px; }
  .st-smile { right: -2%; top: 100%; width: 64px; height: 64px; }
  .sp-1 { left: 4%; top: -6%; }
  .motion .spark { animation-duration: 3.4s; }
  .hero-base { margin-top: 22px; }
  .st-why-shuttle { width: 80px; height: 80px; top: -40px; }
  .st-loop-star { display: none; }
  .sec-head { align-items: flex-start; }
  .st-cta-bolt, .sq-2 { display: none; }
  .st-cta-racket { top: auto; bottom: 24%; right: -2%; }
  .st-cta-shuttle { top: 2%; left: -4%; width: 70px; height: 70px; }
}

@media (max-width: 560px) {
  .f-tab { padding: 14px 20px 20px; font-size: 14px; }
  .aw-body { min-height: 200px; }
  .sc-art { width: 110px; height: 110px; }
  .stats { gap: 28px 16px; }
  .footer { flex-direction: column; text-align: center; }
  .f-links { justify-content: center; }
  .store { flex: 1 1 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: 0 0; }
}

/* =========================================================
   NAVBAR — floating white pill, shared by every page
   ========================================================= */
html { scroll-padding-top: 100px; }
.pnav-wrap { position: sticky; top: 0; z-index: 60; padding: 12px var(--gutter) 0; pointer-events: none; }
.pnav {
  position: relative; pointer-events: auto;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--divider);
  box-shadow: 0 1px 2px rgba(13,17,28,.04), 0 10px 30px rgba(13,17,28,.08);
}
.pnav .logo { justify-self: start; color: var(--text); font-size: 30px; gap: 12px; }
.pnav .logo-tile { width: 38px; height: 38px; border-radius: 11px; box-shadow: none; }
.pnav-links { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 48px); font-size: 16px; font-weight: 500; color: var(--text-2); }
.pnav-links a { position: relative; padding: 10px 0; transition: color .2s; }
.pnav-links a:hover, .pnav-links a[aria-current="page"] { color: var(--text); }
.pnav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); }
.pnav-cta {
  justify-self: end; display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 24px; border-radius: 999px;
  background: var(--text); color: #fff; font-size: 16px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(13,17,28,.22);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pnav-cta i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); }
.pnav-cta svg { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.pnav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(13,17,28,.28); }
.pnav-cta:hover svg { transform: translateX(3px); }
.pnav .menu-btn { display: none; }
.pnav .mobile-menu { top: calc(100% + 10px); left: 0; right: 0; border: 1px solid var(--divider); }
.hero-wrap { padding-top: 12px; }
.hero { min-height: min(calc(100svh - 96px), 820px); }
.sub-page .page-hero, .legal-page .page-hero { margin-top: 12px; }

@media (max-width: 900px) {
  .pnav { grid-template-columns: 1fr auto auto; gap: 8px; padding: 6px 6px 6px 12px; }
  .pnav-links { display: none; }
  .pnav .logo { font-size: 24px; gap: 9px; }
  .pnav .logo-tile { width: 34px; height: 34px; border-radius: 10px; }
  .pnav-cta { padding: 5px 5px 5px 16px; gap: 10px; font-size: 15px; box-shadow: none; }
  .pnav-cta i { width: 36px; height: 36px; }
  .pnav .menu-btn { display: flex; width: 46px; height: 46px; background: var(--surface-subtle); border: 1px solid var(--divider); }
  .pnav .menu-btn span { background: var(--text); }
  html { scroll-padding-top: 84px; }
}
@media (max-width: 360px) {
  .pnav-cta span { display: none; }
  .pnav-cta { padding: 5px; }
}

/* NAVBAR — glass finish (overrides the white pill above) */
.pnav {
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.34));
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(255,255,255,.25),
              0 1px 2px rgba(13,17,28,.05), 0 12px 34px rgba(13,17,28,.12);
}
.pnav-links { color: var(--text); }
.pnav-links a { opacity: .78; }
.pnav-links a:hover, .pnav-links a[aria-current="page"] { opacity: 1; }
.pnav .mobile-menu {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.7);
}
@media (max-width: 900px) {
  .pnav .menu-btn { background: rgba(255,255,255,.45); border-color: rgba(255,255,255,.7); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pnav, .pnav .mobile-menu { background: rgba(255,255,255,.95); }
}

/* NAVBAR — homepage: sits inside the hero, transparent until you scroll */
.pnav-wrap.on-hero { padding: 24px calc(var(--gutter) + 12px) 0; margin-bottom: -84px; }
.on-hero ~ .hero-wrap .hero { padding-top: 104px; min-height: min(calc(100svh - 12px), 880px); }
.pnav-wrap.on-hero .pnav { transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s; }
.pnav-wrap.on-hero:not(.is-scrolled) .pnav {
  background: transparent; border-color: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.pnav-wrap.on-hero:not(.is-scrolled) .logo { color: #fff; }
.pnav-wrap.on-hero:not(.is-scrolled) .pnav-links { color: #fff; }
.pnav-wrap.on-hero:not(.is-scrolled) .pnav-links a { opacity: .85; }
.pnav-wrap.on-hero:not(.is-scrolled) .pnav-links a:hover { opacity: 1; }
.pnav-wrap.on-hero:not(.is-scrolled) .pnav-cta { background: #fff; color: var(--text); }
.pnav-wrap.on-hero:not(.is-scrolled) .menu-btn { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); }
.pnav-wrap.on-hero:not(.is-scrolled) .menu-btn span { background: #fff; }
@media (max-width: 900px) {
  .pnav-wrap.on-hero { padding: 22px calc(var(--gutter) + 8px) 0; margin-bottom: -82px; }
  .on-hero ~ .hero-wrap .hero { padding-top: 92px; }
}

/* =========================================================
   HOW IT WORKS — court scoreboard (overrides the folder tabs)
   ========================================================= */
.folder {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(55% 75% at 82% 58%, color-mix(in srgb, var(--fc) 30%, transparent), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(35,71,255,.35), transparent 70%),
    #0D111C;
  color: #fff;
  border: var(--line); border-radius: var(--r-xl);
  box-shadow: var(--pop);
  padding: clamp(14px, 1.6vw, 20px);
  transition: background .5s;
}
.f-court { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); z-index: -1; color: rgba(255,255,255,.09); pointer-events: none; }

/* score cells */
.f-tabs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  padding: 0; overflow: visible;
}
.f-tab {
  display: flex; align-items: baseline; gap: 10px;
  margin: 0; padding: 14px 16px; min-height: 56px; min-width: 0;
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.62);
  font-weight: 600; font-size: 15px; text-align: left; white-space: nowrap;
  opacity: 1; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.f-tab b { font-family: var(--f-display); font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: .01em; color: rgba(255,255,255,.38); transition: color .25s; }
.f-tab span { overflow: hidden; text-overflow: ellipsis; }
.f-tab:hover { transform: none; color: #fff; border-color: rgba(255,255,255,.3); }
.f-tab:hover b { color: #fff; }
.f-tab[aria-selected="true"] {
  transform: translateY(-2px);
  background: var(--tc); color: var(--tt, var(--text)); border-color: var(--text);
  box-shadow: 0 0 0 2px var(--text), 4px 5px 0 rgba(255,255,255,.18);
}
.f-tab[aria-selected="true"] b { color: inherit; }
.f-tab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* board body */
.f-body {
  background: none; color: #fff; border: 0; border-radius: 0; box-shadow: none;
  --fpb: clamp(18px, 3vw, 40px);
  padding: clamp(28px, 4vw, 52px) clamp(14px, 3vw, 44px) var(--fpb);
}
.motion .f-progress { top: 14px; left: clamp(14px, 3vw, 44px); right: clamp(14px, 3vw, 44px); height: 4px; background: rgba(255,255,255,.1); color: var(--fc); }
.f-panel { position: relative; }
.f-panel::before {
  content: attr(data-n); position: absolute; z-index: 0; left: -.05em; top: 50%; translate: 0 -54%;
  font-family: var(--f-display); font-weight: 900; line-height: .8; letter-spacing: -.02em;
  font-size: clamp(220px, 27vw, 420px);
  color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--fc) 45%, transparent);
  pointer-events: none;
}
.f-copy { position: relative; z-index: 1; }
.f-step {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.f-step b { color: var(--fc); font-size: 15px; }
.f-step::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--fc); }
.f-copy h3 { color: #fff; }
.f-copy p { color: rgba(255,255,255,.75); opacity: 1; }

/* phone pops off the board in the step colour */
.phone-full { position: relative; z-index: 1; rotate: 3deg; filter: drop-shadow(10px 12px 0 var(--fc)); transition: filter .4s; }
.phone { box-shadow: inset 0 0 0 2px var(--slate-light), 0 0 0 2px rgba(255,255,255,.22); }
.f-panel .app-window { position: relative; z-index: 1; rotate: -2deg; box-shadow: 10px 12px 0 var(--fc); }
.f-sticker { left: auto; right: 18px; top: 92px; bottom: auto; z-index: 4; }

/* the board sits below the glass navbar while pinned */
.motion .loop-sticky { top: max(96px, calc(50vh - 340px)); }
.phone-full { --pw: clamp(190px, calc((100svh - 360px) / 1.985 + 20px), 260px); }

@media (max-width: 1000px) {
  .f-panel::before { left: auto; right: -.04em; top: -.08em; translate: none; font-size: 180px; }
  .f-sticker { display: none; }
}
@media (max-width: 820px) {
  .folder { border-radius: 26px; padding: 10px; }
  .f-court { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
  .f-tabs { gap: 6px; scroll-snap-type: none; padding: 0; }
  .f-tab { justify-content: center; padding: 10px 0; min-height: 48px; border-radius: 12px; scroll-snap-align: none; }
  .f-tab span { display: none; }
  .f-tab b { font-size: 22px; }
  .f-body { padding: 24px 12px 20px; --fpb: 20px; }
  .motion .f-progress { top: 10px; left: 12px; right: 12px; }
  .f-panel { gap: 18px; }
  .f-step { margin-bottom: 10px; font-size: 12px; }
  .f-copy h3 { font-size: clamp(34px, 10vw, 44px); }
  .f-copy p { margin-top: 10px; }
  .f-panel::before { font-size: 130px; -webkit-text-stroke-width: 1.5px; }
  .phone-full { rotate: 2deg; filter: drop-shadow(7px 8px 0 var(--fc)); --pw: clamp(140px, calc((100svh - 470px) / 1.985 + 20px), 200px); }
  .motion .loop-sticky { top: 88px; }
}
/* keep the board the same height on every step (step 3 has no phone) */
.f-panel { min-height: calc((var(--pw, 240px) - 20px) * 1.985 + 52px); }
.f-body { --pw: clamp(190px, calc((100svh - 360px) / 1.985 + 20px), 260px); }
@media (max-width: 820px) { .f-body { --pw: clamp(140px, calc((100svh - 470px) / 1.985 + 20px), 200px); } .f-panel { min-height: 0; } }
.f-sticker { top: auto; right: auto; left: clamp(28px, 4vw, 60px); bottom: clamp(26px, 3vw, 40px); font-size: 22px; }

/* SPORTS — "coming soon" card as a sticker stack */
.sport-card.soon {
  color: var(--text); border: var(--line); box-shadow: var(--pop);
  background:
    radial-gradient(circle, rgba(13,17,28,.14) 1.6px, transparent 1.8px) 0 0 / 18px 18px,
    var(--lime);
  justify-content: flex-end; gap: 0;
}
.sport-card.soon .sc-pill { background: var(--text); color: #fff; border-color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.sport-card.soon .sc-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: soonPulse 1.6s ease-in-out infinite; }
@keyframes soonPulse { 50% { opacity: .25; } }
.sport-card.soon h3 { font-size: clamp(48px, 5vw, 76px); color: var(--text); }
.sport-card.soon p { color: var(--lime-ink); opacity: 1; font-weight: 500; }
.soon-stack { list-style: none; margin: 64px 0 22px; padding: 0; display: grid; gap: 10px; justify-items: start; }
.soon-stack li {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 10px 8px 8px; border-radius: 16px;
  background: #fff; border: var(--line); box-shadow: var(--pop-sm);
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 24px; line-height: 1; letter-spacing: .01em;
  transition: transform .25s var(--ease);
}
.soon-stack svg { width: 38px; height: 38px; flex: none; }
.soon-stack em {
  font-style: normal; font-family: var(--f-body); font-weight: 700; text-transform: none; letter-spacing: 0;
  font-size: 12px; padding: 5px 9px; border-radius: 999px; margin-left: 4px;
  background: var(--surface-subtle); color: var(--text-2); border: 1px dashed var(--text-3);
}
.soon-stack .ss-1 { rotate: -3deg; }
.soon-stack .ss-2 { rotate: 2deg; margin-left: 22px; }
.soon-stack .ss-3 { rotate: -1.5deg; margin-left: 8px; }
.sport-card.soon:hover .soon-stack li { transform: translateY(-3px); }
.sport-card.soon:hover .soon-stack .ss-2 { transform: translateY(-5px); }
@media (max-width: 560px) {
  .soon-stack { margin-top: 56px; }
  .soon-stack li { font-size: 20px; }
  .soon-stack svg { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .sport-card.soon .sc-pill::before { animation: none; } }

/* TICKER — two crossed tapes, fully visible (was cropped at the bottom) */
.ticker {
  overflow-x: clip; overflow-y: visible;
  padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 5vw, 70px);
  gap: 0; position: relative; z-index: 2;
}
.tk-row { margin: 0 -8vw; }
.tk-a { position: relative; z-index: 2; rotate: -2.5deg; box-shadow: 0 6px 0 var(--text); }
.tk-b {
  position: relative; z-index: 1; rotate: 2deg; margin-top: clamp(-34px, -2.6vw, -16px);
  background: var(--brand); border-block: var(--line); padding: 8px 0;
}
.tk-b .tk-track { color: #fff; -webkit-text-stroke: 0; font-size: clamp(30px, 5vw, 72px); }
.tk-b .tk-track b { color: var(--lime); }
@media (max-width: 820px) {
  .tk-a { rotate: -3deg; padding: 8px 0; }
  .tk-b { rotate: 2.5deg; margin-top: -10px; }
  .tk-a .tk-track { font-size: 40px; }
  .tk-b .tk-track { font-size: 28px; }
}

/* breadcrumbs on the light legal pages */
.legal .crumbs { display: block; margin-bottom: 14px; color: var(--text-2); }
.legal .crumbs a:hover { color: var(--text); }

/* ABOUT page + freshness dates */
.page-hero .updated { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.78); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.facts > div { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: var(--line); box-shadow: var(--pop-sm); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 6px 0 0; font-size: 16px; font-weight: 500; color: var(--text); }
.facts a, .card-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.guide-links { list-style: none; padding: 0; margin: clamp(20px, 3vw, 30px) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.guide-links a { display: inline-block; padding: 12px 18px; border-radius: 999px; background: var(--surface); border: var(--line); box-shadow: var(--pop-sm); font-weight: 600; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.guide-links a:hover { transform: translate(-2px, -2px); box-shadow: var(--pop); }
