/* Repeto · landing page
   Tokens mirror the iOS app (Theme.swift): near-black canvas, solid dark
   cards, sentence-case grotesk, mono labels, ember brand, mint/red verdicts. */

:root {
  --canvas: #050505;
  --surface: #131315;
  --raised: #1c1c1f;
  --stroke: rgba(255, 255, 255, 0.06);
  --stroke-strong: rgba(255, 255, 255, 0.12);
  --text: #f4f4f5;
  --text-2: rgba(255, 255, 255, 0.56);
  --text-3: rgba(255, 255, 255, 0.32);
  --ember: #ff7a2e;
  --ember-deep: #7a2a0a;
  --amber: #ffb86b;
  --clean: #5be49b;
  --fault: #ff4f45;
  --info: #4fa3f7;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --radius: 26px;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--canvas); color-scheme: dark; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: #000; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }

/* ── Type ─────────────────────────────────────────────────────────────── */

.display {
  margin: 0;
  font-size: clamp(52px, 8.2vw, 112px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.section-title {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.028em;
  max-width: 16ch;
}
.display span, .section-title span { display: inline; }
.tail { color: var(--text-2); }
.eyebrow, .mono-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow { color: var(--ember); margin-bottom: 22px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 34ch; margin: 26px 0 0; }
.body { font-size: 18px; color: var(--text-2); max-width: 44ch; margin: 22px 0 0; }
.ember-text { color: var(--ember); }

/* ── Controls ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #ececec; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.chip {
  height: 36px; padding: 0 16px;
  border: 0; border-radius: 999px;
  background: var(--raised); color: var(--text-2);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease);
}
.chip:hover { color: var(--text); }
.chip.is-active { background: #fff; color: #000; }
.chip:active { transform: scale(0.96); }

.link {
  margin-top: auto; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ember); text-align: left;
}
.link span { display: inline-block; transition: transform 0.3s var(--ease); }
.link:hover span { transform: translateY(-3px); }

.signup {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  max-width: 460px; margin-top: 34px;
}
.signup input {
  height: 54px; padding: 0 22px;
  border: 1px solid var(--stroke-strong); border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color 0.25s, background 0.25s;
}
.signup input::placeholder { color: var(--text-3); }
.signup input:focus { outline: none; border-color: var(--ember); background: rgba(255, 122, 46, 0.06); }
.form-note { grid-column: 1 / -1; margin: 6px 0 0 22px; font-size: 13px; color: var(--text-3); }
.form-note.is-ok { color: var(--clean); }

/* ── Nav ──────────────────────────────────────────────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--stroke);
}
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; }
.mark { width: 26px; height: 26px; }

/* ── Ember glows ──────────────────────────────────────────────────────── */

/* Glows bleed to the viewport edges but never widen the page. */
.ember { position: absolute; pointer-events: none; z-index: 0; overflow: hidden; }
.ember::before, .ember::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(60px);
  animation: drift 14s var(--ease) infinite alternate;
}
.ember-hero { top: -10%; left: calc(50% - 50vw); width: 100vw; height: 70vh; }
.ember-hero::before {
  left: 30%; top: -30%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(255, 106, 31, 0.42), rgba(122, 42, 10, 0.22) 55%, transparent);
}
.ember-hero::after {
  left: 55%; top: -10%; width: 40%; height: 60%;
  background: radial-gradient(closest-side, rgba(255, 184, 107, 0.22), transparent);
  animation-duration: 18s;
}
@keyframes drift {
  from { transform: translate3d(-4%, 0, 0) scale(1); }
  to { transform: translate3d(5%, 6%, 0) scale(1.12); }
}

/* ── Reveal on scroll ─────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Sections ─────────────────────────────────────────────────────────── */

.section { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(96px, 14vw, 180px) var(--gutter) 0; }
.card { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); }
.card-label { margin: 0; font-size: 15px; font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  max-width: var(--max); min-height: 100svh; margin: 0 auto;
  padding: 120px var(--gutter) 60px;
}
.hero-copy { position: relative; z-index: 1; }
.switcher { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.switcher::before { content: "Watch it live"; width: 100%; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }

.stage {
  position: relative; z-index: 1; margin: 0;
  height: min(780px, 84svh); min-height: 560px;
  border-radius: 38px; overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 108%, rgba(255, 106, 31, 0.38), rgba(122, 42, 10, 0.18) 45%, transparent 70%),
    linear-gradient(#0a0a0b, #0c0907);
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 40px 120px -40px rgba(255, 106, 31, 0.35);
}
.stage::before {
  /* receding floor grid */
  content: ""; position: absolute; inset: 52% -30% 0; transform: perspective(380px) rotateX(58deg); transform-origin: top;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 44px);
  mask-image: linear-gradient(transparent, #000 40%);
  -webkit-mask-image: linear-gradient(transparent, #000 40%);
}
.stage::after {
  /* edge flash on verdicts */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 0 transparent; transition: box-shadow 0.35s var(--ease);
}
.stage.flash-clean::after { box-shadow: inset 0 0 60px 6px rgba(91, 228, 155, 0.55); }
.stage.flash-fault::after { box-shadow: inset 0 0 60px 6px rgba(255, 79, 69, 0.6); }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-head { position: absolute; top: 22px; left: 0; right: 0; z-index: 2; text-align: center; }
.stage-title { margin: 0; font-size: 16px; font-weight: 500; }
.dot-sep { color: var(--text-3); margin: 0 6px; }
.stage-status { margin: 6px 0 0; font-size: 13px; color: var(--text-2); display: inline-flex; align-items: center; gap: 7px; }
.stage-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); transition: background 0.3s; }
.cue {
  position: absolute; top: 86px; left: 50%; z-index: 3;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--fault); color: #fff; font-weight: 600; font-size: 16px; white-space: nowrap;
  box-shadow: 0 10px 40px -6px rgba(255, 79, 69, 0.6);
  transform: translate(-50%, 0);
  animation: cue-in 0.45s var(--ease);
}
.cue svg { width: 16px; height: 16px; }
@keyframes cue-in { from { opacity: 0; transform: translate(-50%, -14px) scale(0.92); } }

.verdict {
  position: absolute; left: 50%; top: 42%; z-index: 3;
  display: grid; justify-items: center; gap: 12px;
  padding: 22px 30px 20px; border-radius: 30px;
  background: rgba(19, 19, 21, 0.92); border: 1px solid var(--stroke-strong);
  transform: translate(-50%, -50%);
  animation: verdict-in 0.5s var(--ease);
}
.verdict-title { margin: 0; font-size: 22px; font-weight: 600; }
@keyframes verdict-in { from { opacity: 0; transform: translate(-50%, -50%) scale(0.88); } }

.stage-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 60px 26px 26px;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.86) 40%);
}
.hud-stats { display: grid; grid-template-columns: 1fr auto auto; gap: 26px; align-items: end; margin-bottom: 18px; }
.hud-stats .right { text-align: right; }
.hud-num { margin: 2px 0 0; font-size: 26px; font-weight: 300; font-variant-numeric: tabular-nums; line-height: 1; }
.hud-num small { font-size: 15px; color: var(--text-3); margin-left: 2px; }
.hud-stats > div:first-child .hud-num { font-size: 44px; }
.hud-num.clean { color: var(--clean); }
.wave { width: 100%; height: 101px; }

/* Steps */
.step-list { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { position: relative; padding: 26px; display: flex; flex-direction: column; min-height: 400px; }
.step h3 { margin: auto 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 8px 0 0; color: var(--text-2); font-size: 16px; }
.step-n { font-family: var(--mono); font-size: 12px; color: var(--ember); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 122, 46, 0.4); }
.step-art { height: 170px; margin: 18px 0 26px; display: grid; place-items: center; }
.placement { width: 100%; }
.placement .target { stroke: rgba(255, 255, 255, 0.15); stroke-dasharray: 3 5; }
.placement .player { fill: rgba(255, 255, 255, 0.85); }
.placement .player-head { fill: #000; }
.placement .fov { stroke: var(--ember); stroke-width: 1.2; fill: none; stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.6s var(--ease) 0.4s; }
.step.is-in .fov { stroke-dashoffset: 0; }
.placement .phone-glyph { fill: var(--ember); }
.lock { grid-template-columns: repeat(3, 56px); gap: 8px; align-content: center; justify-content: center; }
.lock span { justify-self: stretch; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); transition: background 0.5s var(--ease), transform 0.5s var(--ease); }
.lock span.on:nth-child(1) { background: #8e7bff; }
.lock span.on:nth-child(2) { background: #6f8ffb; }
.lock span.on:nth-child(3) { background: #4fa3f7; }
.lock span.on { transform: scaleY(1.12); }
.lock p { grid-column: 1 / -1; text-align: center; margin-top: 14px; }

/* Replay */
.replay { position: relative; height: 340vh; margin-top: clamp(96px, 14vw, 180px); }
.replay-sticky {
  position: sticky; top: 0; height: 100svh;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: 80px var(--gutter) 40px;
}
.beats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.beats li { color: var(--text-3); font-size: 18px; transition: color 0.5s var(--ease), transform 0.5s var(--ease); padding-left: 18px; border-left: 2px solid var(--stroke-strong); }
.beats li b { font-weight: 600; }
.beats li.is-on { color: var(--text-2); border-color: var(--ember); }
.beats li.is-on b { color: var(--text); }
.replay-panel { position: relative; padding: 28px; overflow: hidden; }
.replay-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.replay-top canvas { margin-top: 10px; }
.replay-metrics { display: grid; grid-template-columns: auto auto; gap: 28px; text-align: right; }
.big-num { margin: 4px 0 0; font-size: clamp(34px, 3.4vw, 46px); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 4px; justify-content: inherit; }
.replay-metrics .big-num { justify-content: flex-end; }
.big-num small { font-size: 0.42em; color: var(--text-2); }
.replay-wave { width: 100%; height: 110px; margin-top: 30px; }
.toast {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 26px; padding: 16px 18px; border-radius: 20px;
  border: 1px solid var(--stroke-strong); color: var(--text-2);
  opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }
.toast svg { width: 16px; height: 16px; color: var(--ember); flex: none; margin-top: 4px; }
.toast p { margin: 0; font-size: 17px; }
.toast b { color: var(--ember); font-weight: 500; }

/* Cues */
.cues { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cue-stage {
  position: relative; aspect-ratio: 1; max-height: 560px;
  display: grid; place-items: center; align-content: center; gap: 18px; text-align: center;
  border-radius: 50%;
}
.rings { position: absolute; inset: 0; display: grid; place-items: center; }
.rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); animation: ring 3.2s var(--ease) infinite; }
.rings i:nth-child(1) { width: 52%; height: 52%; }
.rings i:nth-child(2) { width: 76%; height: 76%; animation-delay: 0.25s; opacity: 0.7; }
.rings i:nth-child(3) { width: 100%; height: 100%; animation-delay: 0.5s; opacity: 0.4; }
@keyframes ring { 50% { transform: scale(1.05); border-color: rgba(255, 122, 46, 0.35); } }
.cue-line {
  margin: 0; max-width: 11ch; font-size: clamp(34px, 4.4vw, 58px); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em;
  transition: opacity 0.45s var(--ease), filter 0.45s var(--ease), transform 0.45s var(--ease);
}
.cue-line.is-out { opacity: 0; filter: blur(8px); transform: translateY(8px); }
.cue-sport { color: var(--ember); transition: opacity 0.45s; }
.bars { display: flex; gap: 4px; height: 26px; align-items: center; }
.bars i { width: 4px; height: 100%; border-radius: 4px; background: var(--text-2); animation: bar 1s ease-in-out infinite; transform-origin: center; }
.bars i:nth-child(odd) { animation-duration: 0.8s; }
.bars i:nth-child(3n) { animation-duration: 1.2s; }
.bars i:nth-child(2) { animation-delay: -0.3s; } .bars i:nth-child(4) { animation-delay: -0.5s; }
.bars i:nth-child(6) { animation-delay: -0.2s; } .bars i:nth-child(8) { animation-delay: -0.6s; }
@keyframes bar { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

/* Sports */
.sport-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: clamp(48px, 6vw, 80px); }
.sport { padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; min-height: 290px; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.sport:hover { border-color: rgba(255, 122, 46, 0.4); transform: translateY(-4px); }
.sport h3 { margin: 0 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.sport p { margin: 0; color: var(--text-2); font-size: 15px; }
.sport header .mono-label { font-size: 10px; }

/* Progress */
.progress { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.phone {
  position: relative; width: min(330px, 100%); justify-self: center;
  aspect-ratio: 9 / 19; border-radius: 52px; padding: 10px;
  background: linear-gradient(145deg, #2a2a2e, #0e0e10);
  box-shadow: 0 0 0 1px var(--stroke-strong), 0 50px 120px -30px rgba(255, 106, 31, 0.4);
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 42px; background: #000; }
.streak { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; margin-top: 36px; max-width: 520px; }
.flame { width: 28px; height: 28px; align-self: center; }
.days { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.days li { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.22); transform: scale(0.4); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s; }
.days li.on { border: 0; background: #4a2616; }
.days li.on::after { content: "✓"; display: grid; place-items: center; height: 100%; font-size: 13px; font-weight: 700; color: var(--ember); }
.days li.today { background: linear-gradient(#ffc46b, #ff7a2e); box-shadow: 0 0 18px rgba(255, 122, 46, 0.6); }
.days li.today::after { color: #fff; }
.streak.is-in .days li { transform: none; opacity: 1; }
.badges { list-style: none; display: flex; gap: 18px; margin: 28px 0 0; padding: 0; flex-wrap: wrap; }
.badges li { display: grid; justify-items: center; gap: 10px; }
.badges p { margin: 0; font-size: 13px; font-weight: 600; }
.badge {
  width: 76px; height: 76px; display: grid; place-items: center;
  font-weight: 600; font-size: 22px; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  animation: float 5s ease-in-out infinite;
}
.badges li:nth-child(2) .badge { animation-delay: -1.2s; }
.badges li:nth-child(3) .badge { animation-delay: -2.4s; }
.badges li:nth-child(4) .badge { animation-delay: -3.6s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.bronze { background: linear-gradient(145deg, #f6d3b4, #c98a5e 50%, #8c5232); color: #fbe3cf; }
.silver { background: linear-gradient(145deg, #f4f5f7, #b4b7bf 50%, #6a6d75); color: #fff; }
.gold { background: linear-gradient(145deg, #ffedb5, #e3ae48 50%, #94621a); color: #fff3cf; }
.locked { background: linear-gradient(#2c2c30, #141416); color: rgba(255, 255, 255, 0.32); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.shield { border-radius: 18px 18px 50% 50% / 18px 18px 58% 58%; width: 64px; }
.diamond { width: 58px; height: 58px; border-radius: 14px; rotate: 45deg; margin: 9px; }
.diamond b { rotate: -45deg; }
.hex { clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); }
.round { border-radius: 50%; }

/* Privacy */
.privacy p { margin: 0 auto; max-width: 30ch; text-align: center; font-size: clamp(26px, 3vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: var(--text-2); }
.privacy span { color: var(--text); }

/* Closing */
.closing { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; padding: clamp(140px, 18vw, 240px) var(--gutter) clamp(120px, 14vw, 180px); margin-top: clamp(80px, 10vw, 140px); }
.ember-closing { inset: 30% -10% -40%; }
.ember-closing::before { left: 15%; width: 70%; height: 100%; top: 10%; background: radial-gradient(closest-side, rgba(255, 106, 31, 0.5), rgba(122, 42, 10, 0.25) 55%, transparent); }
.ember-closing::after { left: 35%; width: 30%; height: 50%; top: 40%; background: radial-gradient(closest-side, rgba(255, 220, 190, 0.35), transparent); }
.closing-mark { position: relative; z-index: 1; width: 120px; height: 120px; margin-bottom: 44px; }
.closing .display, .closing .signup { position: relative; z-index: 1; }
.closing .signup { margin-top: 40px; width: 100%; }

.footer { display: flex; justify-content: space-between; gap: 20px; max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--stroke); color: var(--text-3); font-size: 14px; }
.footer p { margin: 0; }

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .sport-grid { grid-template-columns: repeat(2, 1fr); }
  .sport { min-height: 0; }
}
@media (max-width: 960px) {
  .hero, .cues, .progress { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .stage { height: 76svh; min-height: 520px; }
  .step-list { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .replay { height: 300vh; }
  .replay-sticky { grid-template-columns: 1fr; align-content: center; gap: 24px; padding-top: 72px; }
  .beats { margin-top: 20px; gap: 8px; }
  .beats li { font-size: 15px; }
  .cue-stage { max-width: 440px; width: 100%; justify-self: center; }
  .cues-copy { order: -1; }
}
@media (max-width: 560px) {
  .signup { grid-template-columns: 1fr; }
  .signup .btn { width: 100%; }
  .form-note { margin-left: 0; text-align: center; }
  .sport-grid { grid-template-columns: 1fr; }
  .replay-top { flex-direction: column; align-items: flex-start; }
  .replay-metrics { text-align: left; }
  .replay-metrics .big-num { justify-content: flex-start; }
  .replay-sticky .section-title { font-size: 28px; }
  .footer { flex-direction: column; }
  .hud-stats { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
