/* CourtCast v2 — shared styles (home, privacy, support, 404). Dark only. No build step.
   Motion model: html.js is set by js/boot.js before paint; html.motion = animate, html.rm = reduced motion / fallback.
   Every section's default (no class) styling is its finished, static state. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #06080e;
  --bg-2: #0a0f1a;
  --panel: #0f1626;
  --panel-2: #151e33;
  --line: rgba(143, 179, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f2f5fa;
  --muted: #a9b4ca;
  --dim: #8592ad;
  --volt: #d4ff3a;
  --volt-ink: #0a1000;
  --ice: #8fb3ff;
  --danger: #ff4d5e;
  --good: #35e28b;
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1240px;
  --gutter: clamp(16px, 4.5vw, 44px);
  --nav-h: 66px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ice); text-underline-offset: 3px; }
a:hover { color: #b9cffd; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--volt); color: var(--volt-ink); }

:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 999px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.35em; height: 1.35em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: absolute; left: 12px; top: -64px; z-index: 200;
  background: var(--volt); color: var(--volt-ink); font-weight: 700;
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ------------------------------------------------------------ chrome: progress, grain, cursor glow */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--ice), var(--volt)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(212, 255, 58, 0.6); }
html:not(.js) .progress { display: none; }

.grain {
  position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: 0.055;
  background: url("img/noise.png") repeat; background-size: 160px 160px;
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
html.rm .grain { animation: none; }

.glow-cursor {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: 1; pointer-events: none;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 255, 58, 0.075), rgba(212, 255, 58, 0.02) 55%, transparent 72%);
  opacity: 0; transition: opacity .4s; will-change: transform;
}
.glow-cursor.on { opacity: 1; }
@media (pointer: coarse) { .glow-cursor { display: none; } }

/* ------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 8, 14, 0.72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .35s, border-color .35s;
}
.home .nav:not(.scrolled) { background: linear-gradient(180deg, rgba(6, 8, 14, 0.55), rgba(6, 8, 14, 0)); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-in { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--volt); font-weight: 800; }
.nav-links { display: none; margin-left: auto; gap: 2px; list-style: none; padding: 4px; border-radius: 999px; background: rgba(15, 22, 38, 0.55); border: 1px solid var(--line-soft); }
.nav-links li { display: block; }
.nav-links a { position: relative; display: block; padding: 7px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a[aria-current] { color: var(--volt-ink); background: var(--volt); }
.nav-cta { margin-left: auto; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); background: rgba(6, 8, 14, 0.5); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--panel); }
.menu-panel {
  position: absolute; right: 0; top: 54px; width: min(78vw, 260px);
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 8px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
}
.menu-panel a { display: block; padding: 12px 14px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: rgba(255, 255, 255, 0.06); }
@media (min-width: 1040px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 8px; }
  .menu { display: none; }
}
@media (max-width: 1039px) {
  .nav-cta { margin-left: auto; }
  .nav-cta .btn { padding: 10px 16px; font-size: 0.92rem; }
}
@media (max-width: 380px) { .brand span { display: none; } }

/* ------------------------------------------------------------ buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s;
}
.btn-primary { background: var(--volt); color: var(--volt-ink); box-shadow: 0 10px 34px -10px rgba(212, 255, 58, 0.6); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover { background: #e2ff6e; color: var(--volt-ink); transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(212, 255, 58, 0.8); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border-color: var(--line); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(143, 179, 255, 0.45); color: var(--text); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; }
.btn-lg { padding: 18px 30px; font-size: 1.05rem; }
.btn .icon { width: 1.15em; height: 1.15em; stroke-width: 2.2; }
.btn-ghost .icon use[href="#i-play"], .btn .icon-fill { fill: currentColor; }

/* ------------------------------------------------------------ type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--volt); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--volt); transform: skewX(-30deg); }
.h2 { font-size: clamp(2.2rem, 1.1rem + 4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.045em; margin-top: 18px; text-wrap: balance; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); max-width: 60ch; margin-top: 20px; text-wrap: pretty; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 820px; }
.flush-top { padding-top: 0; }
.hl { color: var(--volt); }

/* word / char split (built by main.js) */
.w { display: inline-block; white-space: nowrap; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi, .ch { display: inline-block; }
html.motion [data-split] .wi { transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
html.motion [data-split].in .wi { transform: none; }
html.motion [data-split="chars"] .ch { opacity: 0; transform: translateY(0.45em) rotateX(-70deg); transform-origin: 50% 100%; transition: opacity .6s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 26ms + 260ms); }
html.motion [data-split="chars"].in .ch { opacity: 1; transform: none; }

/* generic reveal */
html.motion [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
html.motion [data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100vh); min-height: max(640px, 100svh);
  margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + 40px) 0 0;
  display: grid; grid-template-rows: 1fr auto;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: #050912; transform-origin: 50% 40%; }
.hero-poster, .hero-poster img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.ready { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 14, 0.92) 0%, rgba(6, 8, 14, 0.62) 38%, rgba(6, 8, 14, 0.12) 70%, rgba(6, 8, 14, 0.25) 100%),
    linear-gradient(180deg, rgba(6, 8, 14, 0.5) 0%, rgba(6, 8, 14, 0) 22%, rgba(6, 8, 14, 0) 62%, var(--bg) 100%);
}
.hero-inner { display: grid; gap: 40px; align-items: end; align-self: end; padding-bottom: clamp(36px, 6vh, 72px); }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); } }

.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(15, 22, 38, 0.6); border: 1px solid var(--line); color: var(--text);
  font-weight: 600; font-size: 0.85rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--volt); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(212, 255, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 255, 58, 0); } }

h1.display { font-size: clamp(3rem, 1rem + 6.6vw, 6.8rem); line-height: 0.94; letter-spacing: -0.058em; margin-top: 26px; text-wrap: balance; max-width: 11ch; }
h1.display .line { display: block; }
h1.display .hl { text-shadow: 0 0 60px rgba(212, 255, 58, 0.25); }
.split { display: block; perspective: 600px; }
.hero .lede { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.28rem); max-width: 36em; margin-top: 28px; color: #c3cde0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .icon { color: var(--volt); width: 1.15em; height: 1.15em; stroke-width: 2.4; }
html.motion .hero-copy > :not(h1) { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.motion .hero.in .hero-copy > :not(h1) { opacity: 1; transform: none; }
html.motion .hero.in .hero-copy > .badge { transition-delay: 0ms; }
html.motion .hero.in .hero-copy > .lede { transition-delay: 700ms; }
html.motion .hero.in .hero-copy > .cta-row { transition-delay: 850ms; }
html.motion .hero.in .hero-copy > .facts { transition-delay: 1000ms; }

/* picture-in-picture card */
.pip { margin: 0; perspective: 1200px; }
.pip-btn {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000;
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(212, 255, 58, 0.35), 0 30px 70px -20px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(212, 255, 58, 0.35);
  transform: rotateY(-10deg) rotateX(4deg); transform-origin: 100% 50%; transition: transform .6s var(--ease), box-shadow .3s;
}
.pip-btn:hover { transform: rotateY(-4deg) rotateX(2deg) translateY(-4px); }
.pip-btn:focus-visible { outline-offset: 5px; border-radius: 18px; }
.pip-vid { width: 100%; height: 100%; object-fit: cover; }
.pip-expand { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(6, 8, 14, 0.7); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pip-expand .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; margin-left: 2px; }
.pip figcaption { margin-top: 14px; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.pip figcaption b { display: block; color: var(--text); font-size: 0.95rem; }
html.motion .pip { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity 1.2s var(--ease) 500ms, transform 1.2s var(--ease) 500ms; }
html.motion .hero.in .pip { opacity: 1; transform: none; }
@media (max-width: 999px) { .pip { max-width: 420px; } .pip-btn { transform: none; } }

.rr-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 9px; border-radius: 7px; background: rgba(6, 8, 14, 0.78); border: 1px solid rgba(212, 255, 58, 0.45);
  color: var(--volt); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 8px var(--danger); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.hero-note { position: relative; margin: 0 auto 18px; font-size: 0.72rem; color: rgba(169, 180, 202, 0.72); letter-spacing: 0.02em; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.28); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--volt); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 1000px) and (min-height: 760px) { .scroll-cue { display: block; } }

/* ------------------------------------------------------------ marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line-soft); background: linear-gradient(90deg, rgba(212, 255, 58, 0.05), transparent 35%, transparent 65%, rgba(143, 179, 255, 0.06)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; padding: 20px 0; animation: marquee 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; font-weight: 800; font-size: clamp(0.85rem, 0.7rem + 0.6vw, 1.1rem); letter-spacing: 0.24em; text-transform: uppercase; color: var(--text); }
.marquee span::after { content: ""; width: 5px; height: 20px; margin: 0 clamp(22px, 3.4vw, 48px); background: var(--volt); transform: skewX(-24deg); border-radius: 1px; }
@keyframes marquee { to { transform: translateX(-50%); } }
html.rm .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
html.rm .marquee span:nth-child(n+6) { display: none; }
html.rm .marquee span:nth-child(5)::after { display: none; }
html.rm .marquee { -webkit-mask-image: none; mask-image: none; }

/* ------------------------------------------------------------ shared score bug (layer 5 + demo) */
.bug { font-weight: 800; color: #fff; background: rgba(8, 10, 16, 0.86); border-radius: 0.5em; overflow: hidden; line-height: 1; letter-spacing: 0.01em; box-shadow: 0 0.4em 1.4em rgba(0, 0, 0, 0.45); }
.bug-head { background: var(--volt); color: #0a0d05; padding: 0.42em 0.8em; font-size: 0.7em; letter-spacing: 0.04em; }
.bug-row { display: grid; grid-template-columns: 1fr auto 2.1em; align-items: center; gap: 0.5em; padding: 0.36em 0.7em 0.36em 0.8em; }
.bug-team { font-size: 1em; }
.bug-dots { display: inline-flex; gap: 0.18em; min-width: 1.1em; }
.bug-dots i { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0.4em rgba(212, 255, 58, 0.5); }
.bug-num { color: var(--volt); font-size: 1.16em; text-align: right; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ DECONSTRUCTED */
.decon { position: relative; background: radial-gradient(60% 50% at 40% 50%, rgba(143, 179, 255, 0.07), transparent 70%); }
.decon-track { position: relative; }
html.motion .decon-track { height: 420vh; }
.decon-sticky { position: relative; }
html.motion .decon-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.decon-grid { position: relative; display: grid; gap: 28px 40px; padding: 90px 0 60px; grid-template-areas: "head" "stage" "labels" "note"; }
html.motion .decon-grid { padding: calc(var(--nav-h) + 8px) 0 24px; }
@media (min-width: 1000px) {
  .decon-grid { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "stage head" "stage labels" "stage note"; grid-template-rows: auto 1fr auto; align-items: start; }
  html.motion .decon-grid { height: 100%; }
}
.decon-head { grid-area: head; position: relative; z-index: 3; }
.decon-head .h2 { font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.4rem); }
.decon-head .lede { font-size: 1.02rem; margin-top: 14px; }
@media (min-width: 1000px) { .decon-head { padding-top: 1vh; } }
@media (min-width: 1000px) and (max-height: 820px) { html.motion .decon-head .lede { display: none; } }

.decon-stage {
  grid-area: stage; position: relative; z-index: 2; align-self: center; justify-self: center;
  width: 100%; aspect-ratio: 16 / 11; display: grid; place-items: center;
  perspective: 2400px; perspective-origin: 50% 30%;
}
@media (min-width: 1000px) { .decon-stage { height: min(100%, 760px); aspect-ratio: auto; } }
.decon-stack {
  --rx: 52; --rz: -24; --gap: 92; --s: .78; --glass: 1; --ty: 15;
  position: relative; width: min(100%, 820px); aspect-ratio: 16 / 9; transform-style: preserve-3d;
  transform: translateY(calc(var(--ty) * 1%)) rotateX(calc(var(--rx) * 1deg)) rotateZ(calc(var(--rz) * 1deg)) scale(var(--s));
}
.layer {
  --z: calc(var(--i) * var(--gap) * 1px);
  position: absolute; inset: 0; border-radius: 10px; transform: translateZ(var(--z)); transform-style: preserve-3d;
  container-type: inline-size;
  background: rgba(143, 179, 255, calc(0.07 * var(--glass)));
  box-shadow: inset 0 0 0 1px rgba(143, 179, 255, calc(0.38 * var(--glass))), 0 0 40px rgba(143, 179, 255, calc(0.08 * var(--glass)));
}
.layer-1 { --i: 0; background: #000; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 60px 120px -30px rgba(0, 0, 0, 0.9); }
.layer-1 picture, .layer-1 img { width: 100%; height: 100%; object-fit: cover; }
.layer-1::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 40% at 10% 8%, rgba(0, 0, 0, 0.45), transparent 70%); }
.layer-2 { --i: 1; }
.layer-3 { --i: 2; }
.layer-4 { --i: 3; }
.layer-5 { --i: 4; }
.layer-5 { box-shadow: inset 0 0 0 1px rgba(212, 255, 58, calc(0.45 * var(--glass))); background: rgba(212, 255, 58, calc(0.045 * var(--glass))); }
.anchor { position: absolute; right: 0.6%; bottom: 1.2%; width: 2px; height: 2px; }

.ov { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ov path { fill: none; }
.ov-court path { stroke: var(--ice); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(143, 179, 255, 0.85)); stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.ov-court .kitchen { stroke: var(--volt); filter: drop-shadow(0 0 6px rgba(212, 255, 58, 0.8)); }
.ov-court .net { stroke: #fff; stroke-width: 2.4; opacity: 0.85; }
.ov-court .net-ground { stroke-width: 1.6; opacity: 0.6; }
.ov-court .far path { stroke-width: 2; opacity: 0.65; }
.ov-court .far .dash { stroke-dasharray: 0.02 0.02; opacity: 0.45; }
.ov-court .corners circle { fill: var(--bg); stroke: var(--volt); stroke-width: 2.4; opacity: var(--dots, 1); }
.ov-players .pbox path { stroke: var(--volt); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(212, 255, 58, 0.7)); }
.ov-players .far-p path { stroke-width: 2.6; }
.ov-players .pfill { fill: rgba(212, 255, 58, 0.07); stroke: rgba(212, 255, 58, 0.35); stroke-width: 1; stroke-dasharray: 5 6; }
.ov-players .ptag rect { fill: var(--volt); }
.ov-players .ptag text { fill: #0a1000; font: 800 14px var(--font); text-anchor: middle; letter-spacing: 0.04em; }
.ov-players .pbox { transform-box: fill-box; transform-origin: 50% 50%; }
.ov-ball .trail { stroke: var(--volt); stroke-width: 4.5; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(212, 255, 58, 0.95)); stroke-dasharray: 1; stroke-dashoffset: var(--trail, 0); }
.ov-ball .trail-next { stroke: var(--volt); stroke-width: 3; stroke-dasharray: 0.06 0.05; opacity: 0.55; }
.ov-ball .ring { fill: none; stroke: var(--volt); stroke-width: 3.5; filter: drop-shadow(0 0 6px rgba(212, 255, 58, 0.9)); transform-box: fill-box; transform-origin: 50% 50%; }
.ov-ball .ring-2 { stroke-width: 2; opacity: 0.45; }
.ov-ball .ball { fill: var(--volt); stroke: #fff; stroke-width: 1.5; }
.ov-ball .in-badge rect { fill: var(--good); }
.ov-ball .in-badge circle { fill: #04210f; }
.ov-ball .in-badge text { fill: #04210f; font: 800 17px var(--font); text-anchor: middle; letter-spacing: 0.1em; }
.ov-ball .in-badge { transform-box: fill-box; transform-origin: 0 50%; }

.bug-frame-pos { position: absolute; left: 2.1%; top: 1.8%; width: 22.4%; font-size: 2.05cqw; border-radius: 0.3em; background: rgba(8, 10, 16, 0.82); }
.bug-frame-pos .bug-head { padding: 0.5em 0.65em; font-size: 0.66em; }
.bug-frame-pos .bug-row { padding: 0.32em 0.55em 0.32em 0.6em; grid-template-columns: 1fr auto 1.6em; }
.bug-frame-pos .bug-num { font-size: 1.22em; }

.decon-final { position: absolute; left: 50%; bottom: 2%; margin: 0; transform: translateX(-50%); z-index: 5; opacity: 0; pointer-events: none; }
.decon-final span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(6, 8, 14, 0.8); border: 1px solid rgba(212, 255, 58, 0.45); color: var(--volt); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.decon-final span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 10px var(--danger); }

.decon-labels { grid-area: labels; list-style: none; display: flex; flex-direction: column-reverse; gap: 8px; position: relative; z-index: 3; }
.decon-labels li { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 9px 14px 9px 10px; border-radius: 14px; background: rgba(15, 22, 38, 0.72); border: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .3s, background .3s; }
.decon-labels li.on { border-color: rgba(212, 255, 58, 0.5); background: rgba(21, 30, 51, 0.85); }
.dl-n { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: var(--volt); background: rgba(212, 255, 58, 0.1); border: 1px solid rgba(212, 255, 58, 0.3); font-variant-numeric: tabular-nums; }
.decon-labels b { font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.2; }
.decon-labels li > span:last-child { color: var(--muted); font-size: 0.86rem; line-height: 1.3; }
.decon-note { grid-area: note; position: relative; z-index: 3; margin: 0; font-size: 0.8rem; color: var(--dim); max-width: 60ch; }
.decon-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; display: none; }
.decon-wires path { fill: none; stroke: var(--volt); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; filter: drop-shadow(0 0 4px rgba(212, 255, 58, 0.6)); }
.decon-wires circle { fill: var(--bg); stroke: var(--volt); stroke-width: 2; opacity: 0; }
@media (min-width: 1000px) { .decon-wires { display: block; } }

/* Mobile: the scene still scrubs (native sticky, no JS pinning) but stays compact */
@media (max-width: 999px) {
  html.motion .decon-track { height: 340vh; }
  html.motion .decon-grid { grid-template-areas: "head" "stage" "labels"; grid-template-rows: auto auto auto; gap: 10px; align-content: start; height: 100%; padding-top: calc(var(--nav-h) + 18px); }
  html.motion .decon-final { display: none; }
  html.motion .decon-note { display: none; }
  html.motion .decon-head .lede { display: none; }
  html.motion .decon-head .h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.6rem); margin-top: 10px; }
  .decon-stage { aspect-ratio: 16 / 13; margin-top: 56px; }
  .decon-stack { --gap: 56; --s: .72; --ty: 22; --rz: -22; --rx: 54; }
  html.motion .decon-labels { flex-direction: row; gap: 6px; justify-content: center; }
  html.motion .decon-labels li { grid-template-columns: 1fr; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.motion .decon-labels li > b, html.motion .decon-labels li > span:last-child { display: none; }
  html.motion .decon-labels .dl-n { width: 40px; height: 40px; transition: background .3s, color .3s; }
  html.motion .decon-labels li.on .dl-n { background: var(--volt); color: var(--volt-ink); }
  .decon-current { text-align: center; min-height: 3.1em; margin: 0; }
  .decon-current b { display: block; font-size: 1.05rem; }
  .decon-current span { color: var(--muted); font-size: 0.9rem; }
}
.decon-current { display: none; }
@media (max-width: 999px) { html.motion .decon-current { display: block; grid-row: 4; } }

/* ------------------------------------------------------------ how it works */
.steps { display: grid; gap: 18px; margin-top: clamp(40px, 5vw, 64px); list-style: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.step { position: relative; padding: 32px 28px 34px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel) 0%, rgba(15, 22, 38, 0.5) 100%); border: 1px solid var(--line-soft); overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 72px; background: var(--volt); }
.step:nth-child(2) { --d: 120ms; } .step:nth-child(3) { --d: 240ms; }
.num { font-size: 4rem; font-weight: 800; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(180deg, var(--volt) 10%, rgba(212, 255, 58, 0.15) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.45rem; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: clamp(40px, 5vw, 64px) 0 0; border-radius: var(--radius); overflow: hidden; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (min-width: 860px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.specs > div { padding: 26px 24px; background: var(--bg-2); }
.specs dt { font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--text); }
.specs dt small { font-size: 0.42em; color: var(--volt); letter-spacing: 0; margin-left: 4px; font-weight: 800; }
.specs dd { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ------------------------------------------------------------ EXPLODED PHONE */
.phone { position: relative; background: radial-gradient(50% 50% at 70% 50%, rgba(212, 255, 58, 0.06), transparent 70%); }
html.motion .phone-track { height: 420vh; }
.phone-sticky { position: relative; }
html.motion .phone-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.phone-grid { display: grid; gap: 32px 56px; align-items: center; padding: 80px 0; }
html.motion .phone-grid { padding: calc(var(--nav-h) + 10px) 0 24px; }
@media (min-width: 1000px) { .phone-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.phone-copy .h2 { font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.6rem); }
.phone-copy .lede { font-size: 1.05rem; }
.pcos { list-style: none; display: grid; gap: 10px; margin-top: 28px; counter-reset: c; }
.pco { display: flex; gap: 14px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 16px; background: rgba(15, 22, 38, 0.7); border: 1px solid var(--line-soft); transition: border-color .35s, background .35s, opacity .35s, transform .35s var(--ease); }
.pco h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.pco p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.co-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; color: var(--volt); border: 1.5px solid rgba(212, 255, 58, 0.5); }
html.motion .phone .pco { opacity: 0.32; transform: translateX(-8px); }
html.motion .phone .pco.on { opacity: 1; transform: none; border-color: rgba(212, 255, 58, 0.5); background: rgba(21, 30, 51, 0.9); }
html.motion .phone .pco.on .co-n { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.phone-fig { margin: 0; position: relative; justify-self: center; width: 100%; }
.phone-view { position: relative; width: min(100%, calc((100svh - var(--nav-h) - 70px) * 866 / 980)); max-width: 620px; aspect-ratio: 866 / 980; margin-inline: auto; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-composite: intersect; }
.phone-zoom { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.phone-zoom img { width: 100%; height: 100%; object-fit: cover; }
.hs { --k: 1; position: absolute; transform: scale(calc(var(--inv, 1) * var(--k))); transition: transform .3s var(--ease); width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.82rem; color: var(--volt-ink); background: var(--volt); box-shadow: 0 0 0 6px rgba(212, 255, 58, 0.22), 0 0 30px rgba(212, 255, 58, 0.6); }
.hs::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--volt); animation: hs 2s ease-out infinite; }
@keyframes hs { from { transform: scale(1); opacity: .8; } to { transform: scale(2.2); opacity: 0; } }
.hs.cur { --k: 1.18; }
.hs-1 { left: 26.6%; top: 70.5%; }
.hs-2 { left: 80%; top: 42%; }
.hs-3 { left: 56.5%; top: 46.9%; }
.hs-4 { left: 65.8%; top: 61.6%; }
.illus-tag { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(6, 8, 14, 0.75); border: 1px solid var(--line); color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; z-index: 2; }

@media (max-width: 999px) {
  html.motion .phone-grid { gap: 12px; align-content: start; height: 100%; padding-top: calc(var(--nav-h) + 16px); }
  html.motion .phone-copy { display: contents; }
  html.motion .phone-copy .eyebrow { order: 1; }
  html.motion .phone-copy .h2 { order: 2; margin-top: 0; font-size: clamp(1.8rem, 1.1rem + 3vw, 2.4rem); }
  html.motion .phone-copy .lede { display: none; }
  html.motion .phone-fig { order: 3; }
  html.motion .phone-view { width: min(100%, calc((100svh - 400px) * 866 / 980)); }
  html.motion .pcos { order: 4; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
  html.motion .pco { align-items: flex-start; gap: 10px; padding: 10px 12px 10px 10px; border-radius: 12px; }
  html.motion .pco h3 { font-size: 0.9rem; }
  html.motion .pco p { font-size: 0.78rem; line-height: 1.3; }
  html.motion .co-n { width: 26px; height: 26px; font-size: 0.75rem; }
  html.motion .phone .pco { transform: none; }
}

/* ------------------------------------------------------------ SERVE DEMO */
.serve { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 30%, var(--bg-2) 70%, var(--bg) 100%); }
.serve-grid { display: grid; gap: 22px; margin-top: clamp(40px, 5vw, 60px); }
@media (min-width: 960px) { .serve-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 26px; } }
.serve-board { position: relative; padding: clamp(22px, 4vw, 44px); border-radius: var(--radius); background: radial-gradient(80% 90% at 0% 0%, rgba(212, 255, 58, 0.1), transparent 60%), linear-gradient(160deg, #111a2e, #0a0f1c); border: 1px solid var(--line); overflow: hidden; display: grid; gap: 26px; }
.serve-board::before { content: ""; position: absolute; inset: 0; background: url("img/court-lines.svg") right -10% bottom -30% / 70% auto no-repeat; opacity: .35; pointer-events: none; }
.callout-big { position: relative; display: flex; flex-direction: column; gap: 8px; }
.cb-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.cb-nums { display: flex; align-items: center; gap: 0.12em; font-size: clamp(4rem, 2rem + 8vw, 8.4rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.cb-sep { color: var(--dim); font-weight: 600; padding: 0 0.04em; }
.cb-nums .roll:last-child { color: var(--volt); }

/* rolling digits */
.roll { display: inline-flex; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; }
.rc { display: block; height: 1em; overflow: hidden; }
.rc-in { display: flex; flex-direction: column; transition: transform .7s cubic-bezier(.3, 1.4, .4, 1); }
.rc-in span { display: block; height: 1em; text-align: center; }

.bug-demo { position: relative; justify-self: start; width: min(100%, 340px); font-size: 1.5rem; }
.bug-demo .bug-dots i { transition: transform .45s cubic-bezier(.3, 1.6, .4, 1), opacity .3s; }
.bug-demo .bug-row:not(.serving) .bug-dots i, .bug-demo .bug-row.server-1 .bug-dots i:nth-child(2) { transform: scale(0); opacity: 0; }
.bug-demo .bug-row.serving { background: linear-gradient(90deg, rgba(212, 255, 58, 0.08), transparent 70%); }
.bug-demo .bug-num { height: 1em; }
.bug-demo.won { box-shadow: 0 0 0 2px var(--volt), 0 0 60px rgba(212, 255, 58, 0.35); }
.serve-status { position: relative; margin: 0; padding: 14px 16px; border-radius: 12px; background: rgba(6, 8, 14, 0.6); border-left: 3px solid var(--volt); color: var(--text); font-size: 0.98rem; font-weight: 500; min-height: 3.6em; }
.serve-history { position: relative; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.serve-history li { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-soft); color: var(--muted); font-size: 0.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.serve-history li.so { border-color: rgba(255, 77, 94, 0.45); color: #ffb3bb; }
.serve-history li:last-child { border-color: rgba(212, 255, 58, 0.5); color: var(--volt); }
.serve-side { display: grid; gap: 18px; align-content: start; }
.serve-controls { display: grid; gap: 10px; }
.sbtn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-weight: 700; font-size: 1.02rem; text-align: left; cursor: pointer; transition: transform .15s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.sbtn .icon { width: 22px; height: 22px; stroke-width: 2.4; }
.sbtn:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(143, 179, 255, 0.5); }
.sbtn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.sbtn:disabled { opacity: .4; cursor: not-allowed; }
.sbtn-win { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); box-shadow: 0 12px 34px -14px rgba(212, 255, 58, 0.7); }
.sbtn-win:hover:not(:disabled) { background: #e2ff6e; border-color: #e2ff6e; }
.sbtn-lose .icon { color: var(--danger); }
.sbtn-reset { background: transparent; }
.sbtn-reset .icon { color: var(--ice); }
.serve-key { list-style: none; display: grid; gap: 10px; padding: 20px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line-soft); }
.serve-key li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; color: var(--muted); font-size: 0.93rem; line-height: 1.45; }
.serve-key b { color: var(--text); }
.key-dots { display: inline-flex; gap: 5px; justify-content: center; padding: 8px 0; border-radius: 8px; background: rgba(8, 10, 16, 0.9); }
.key-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px rgba(212, 255, 58, 0.5); }
.key-num { text-align: center; font-weight: 800; color: var(--volt); font-size: 0.9rem; padding: 6px 0; border-radius: 8px; background: rgba(8, 10, 16, 0.9); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ REEL */
.reel { position: relative; overflow-x: clip; padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }
.reel-pin { position: relative; }
.reel-head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.reel-head > div { max-width: 760px; }
.reel-viewport { margin-top: clamp(30px, 4vw, 48px); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.reel-viewport::-webkit-scrollbar { display: none; }
.reel-viewport:focus-visible { outline-offset: -3px; }
.reel-rail { list-style: none; display: flex; gap: 16px; width: max-content; padding: 6px max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.clip { flex: none; width: min(78vw, 440px); scroll-snap-align: center; }
.clip-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px rgba(0, 0, 0, 0.9); transition: transform .4s var(--ease), box-shadow .3s; }
.clip-btn:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(212, 255, 58, 0.5), 0 30px 60px -24px rgba(0, 0, 0, 0.9); }
.clip-btn:focus-visible { outline-offset: 4px; border-radius: 16px; }
.clip-vid { width: 100%; height: 100%; object-fit: cover; }
.clip-play { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--volt); color: var(--volt-ink); box-shadow: 0 0 0 6px rgba(212, 255, 58, 0.18); transition: transform .25s var(--ease); }
.clip-play .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-left: 2px; }
.clip-btn:hover .clip-play { transform: scale(1.1); }
.clip-cap { margin: 12px 0 0; font-size: 0.95rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.clip-cap b { color: var(--text); }
.clip-end { display: flex; }
.end-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; width: 100%; aspect-ratio: 16 / 9; padding: 26px; border-radius: 16px; text-decoration: none; color: var(--text); background: radial-gradient(90% 120% at 100% 0%, rgba(212, 255, 58, 0.18), transparent 60%), var(--panel); border: 1px solid rgba(212, 255, 58, 0.3); transition: transform .3s var(--ease), border-color .3s; }
.end-card:hover { transform: translateY(-4px); color: var(--text); border-color: var(--volt); }
.end-card b { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; max-width: 18ch; }
.end-go { display: inline-flex; gap: 8px; align-items: center; color: var(--volt); font-weight: 700; }
.reel-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 26px; }
.reel-foot p { margin: 0; font-size: 0.85rem; color: var(--dim); }
.reel-bar { flex: 1 1 200px; height: 3px; border-radius: 2px; background: var(--line-soft); overflow: hidden; }
.reel-bar span { display: block; height: 100%; width: 100%; background: var(--volt); transform-origin: 0 50%; transform: scaleX(0.08); }
@media (min-width: 1000px) {
  html.motion .reel { padding: 0; }
  html.motion .reel-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
  html.motion .reel-viewport { overflow: visible; scroll-snap-type: none; }
  html.motion .reel-rail { will-change: transform; }
  .clip { width: clamp(380px, 32vw, 500px); }
}

/* ------------------------------------------------------------ features (bento) */
.features-bg { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 12%, var(--bg-2) 88%, var(--bg) 100%); }
.bento { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 60px); grid-template-columns: 1fr; perspective: 1400px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile.wide { grid-column: 1 / -1; } }
@media (min-width: 1020px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .tile { grid-column: span 2; }
  .tile.half { grid-column: span 3; }
  .tile.wide { grid-column: 1 / -1; }
}
.tile {
  --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg;
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft);
  overflow: hidden; display: flex; flex-direction: column; isolation: isolate;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: border-color .25s, transform .5s var(--ease), box-shadow .3s;
}
html.motion .tile[data-reveal] { transition: opacity .9s var(--ease), transform 1s var(--ease), border-color .25s, box-shadow .3s; }
html.motion .tile[data-reveal].in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.tile.tilting { transition: border-color .25s, box-shadow .3s, opacity .9s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 100% at 0% 0%, rgba(143, 179, 255, 0.1), transparent 70%); pointer-events: none; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(212, 255, 58, 0.12), transparent 45%); }
.tile:hover { border-color: rgba(212, 255, 58, 0.32); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.tile:hover::after { opacity: 1; }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(212, 255, 58, 0.1); color: var(--volt); border: 1px solid rgba(212, 255, 58, 0.25); margin-bottom: 20px; position: relative; }
.ico .icon { width: 24px; height: 24px; }
.ico.ice { background: rgba(143, 179, 255, 0.1); color: var(--ice); border-color: rgba(143, 179, 255, 0.28); }
.tile h3 { font-size: 1.4rem; margin-bottom: 10px; position: relative; }
.tile p { color: var(--muted); font-size: 1rem; margin: 0 0 14px; position: relative; }
.tile p:last-child { margin-bottom: 0; }
.tile .note { font-size: 0.86rem; color: var(--dim); }
@media (max-width: 719px) {
  .tile:not(.half):not(.wide) { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
  .tile:not(.half):not(.wide) .ico { grid-row: span 2; margin: 0; }
  .tile:not(.half):not(.wide) h3 { font-size: 1.15rem; margin: 2px 0 6px; }
  .tile:not(.half):not(.wide) p { font-size: 0.95rem; }
  .tile { padding: 22px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 14px; padding: 0; position: relative; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(6, 8, 14, 0.6); font-size: 0.88rem; font-weight: 600; color: var(--text); }
.chip .icon { width: 1.1em; height: 1.1em; color: var(--ice); }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.in { color: var(--good); background: rgba(53, 226, 139, 0.1); border-color: rgba(53, 226, 139, 0.35); }
.tag.out { color: var(--danger); background: rgba(255, 77, 94, 0.1); border-color: rgba(255, 77, 94, 0.35); }
.tag.unsure { color: var(--ice); background: rgba(143, 179, 255, 0.1); border-color: rgba(143, 179, 255, 0.35); }
.tile-bug { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1020px) { .tile-bug { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.5fr); gap: 40px; padding: 36px; } }
.bug-frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; }
.bug-frame { margin: 0; position: relative; }
.bug-frame .shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #000; }
.bug-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bug-frame:hover img { transform: scale(1.05); }
.bug-frame figcaption { margin-top: 10px; font-size: 0.78rem; color: var(--dim); font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.bug-frame figcaption b { color: var(--volt); font-weight: 800; font-size: 0.95rem; letter-spacing: 0; margin-right: 6px; }
@media (max-width: 760px) {
  .bug-frames { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-inline: -28px; padding: 2px 28px 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .bug-frame { flex: 0 0 78%; scroll-snap-align: center; }
}

/* ------------------------------------------------------------ WATCH */
.watch-sec { overflow: hidden; }
.watch-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .watch-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.inputs { display: grid; gap: 12px; margin-top: 32px; list-style: none; }
@media (min-width: 560px) { .inputs { grid-template-columns: 1fr 1fr; } }
.inputs li { padding: 18px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line-soft); transition: border-color .35s, background .35s; }
.inputs li.on { border-color: rgba(212, 255, 58, 0.5); background: #121b2f; }
.inputs h3 { font-size: 1.02rem; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.inputs h3 .icon { color: var(--volt); }
.inputs p { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.siri-ticker { height: 1.6em; overflow: hidden; margin-top: 8px; font-weight: 700; color: var(--volt); font-size: 0.98rem; line-height: 1.6; }
.siri-roll { display: flex; flex-direction: column; animation: siri 10s var(--ease) infinite; }
.siri-roll span { height: 1.6em; display: block; white-space: nowrap; }
@keyframes siri { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-1.6em); } 50%, 70% { transform: translateY(-3.2em); } 75%, 95% { transform: translateY(-4.8em); } 100% { transform: translateY(-6.4em); } }
html.rm .siri-ticker { height: auto; }
html.rm .siri-roll { animation: none; }
html.rm .siri-roll span:last-child { display: none; }
.health-note { margin-top: 22px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px dashed rgba(143, 179, 255, 0.35); color: var(--muted); font-size: 0.97rem; display: flex; gap: 14px; }
.health-note .icon { color: var(--good); margin-top: 3px; width: 1.5em; height: 1.5em; }
.health-note strong { color: var(--text); }

.watch-fig { position: relative; margin: 0; display: grid; justify-items: center; gap: 18px; padding: 10px 0; }
.watch-fig::before { content: ""; position: absolute; top: 46%; left: 50%; width: min(120%, 560px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 255, 58, 0.16), rgba(143, 179, 255, 0.06) 55%, transparent 75%); pointer-events: none; }
.watch { --w: clamp(220px, 22vw, 268px); position: relative; width: var(--w); display: grid; justify-items: center; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, 0.6)); }
.band { width: 64%; height: calc(var(--w) * 0.42); background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 6px), linear-gradient(90deg, #080b14, #161d30 25%, #1d2640 50%, #161d30 75%, #080b14); }
.band-top { border-radius: 18px 18px 6px 6px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }
.band-bot { border-radius: 6px 6px 18px 18px; -webkit-mask-image: linear-gradient(0deg, transparent, #000 45%); mask-image: linear-gradient(0deg, transparent, #000 45%); }
.case { position: relative; width: 100%; aspect-ratio: 0.84; border-radius: 22%; padding: 7%; background: linear-gradient(145deg, #59647f 0%, #2a3248 30%, #12172a 70%, #3a4462 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25), inset 0 0 0 5px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.6); }
.w-crown { position: absolute; right: -5.5%; top: 26%; width: 7%; height: 18%; border-radius: 4px; background: repeating-linear-gradient(180deg, #59647f 0 2px, #2a3248 2px 4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.w-side { position: absolute; right: -3%; top: 52%; width: 4%; height: 20%; border-radius: 3px; background: #2a3248; }
.w-action { position: absolute; left: -4%; top: 30%; width: 5%; height: 22%; border-radius: 3px; background: var(--volt); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4); transition: box-shadow .2s, transform .2s; }
.watch.mode-action .w-action { box-shadow: 0 0 18px var(--volt), 0 0 0 1px rgba(0, 0, 0, 0.4); transform: translateX(2px); }
.screen { position: relative; height: 100%; border-radius: 17%; background: radial-gradient(120% 80% at 50% 0%, #0d1424, #000 60%); overflow: hidden; padding: 9% 9% 7%; display: grid; grid-template-rows: auto auto auto 1fr auto; align-content: start; color: #fff; font-size: calc(var(--w) * 0.058); line-height: 1; }
.w-status { margin-bottom: 0.5em; display: flex; align-items: center; justify-content: space-between; font-size: 0.72em; font-weight: 800; letter-spacing: 0.08em; color: var(--dim); }
.w-rec { display: inline-flex; align-items: center; gap: 4px; color: var(--danger); }
.w-rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); animation: blink 1.6s steps(2) infinite; }
.w-hr .icon { width: 1.3em; height: 1.3em; color: var(--danger); fill: var(--danger); stroke: none; animation: beat 1s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
.w-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.4em; }
.w-team { font-weight: 800; font-size: 0.95em; letter-spacing: 0.04em; color: var(--muted); }
.w-home .w-team { color: #fff; }
.w-dots { display: inline-flex; gap: 0.25em; }
.w-dots i { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--volt); }
.w-num { font-size: 3.3em; line-height: 1.02; font-weight: 800; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.w-home .w-num { color: var(--volt); }
.w-serve { justify-self: start; align-self: center; padding: 0.3em 0.6em; border-radius: 0.4em; background: rgba(212, 255, 58, 0.14); color: var(--volt); font-size: 0.68em; font-weight: 800; letter-spacing: 0.12em; }
.w-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35em; }
.w-b { display: grid; place-items: center; padding: 0.55em 0; border-radius: 0.7em; background: #1b2235; font-size: 0.68em; font-weight: 800; letter-spacing: 0.08em; transition: background .2s, transform .2s; }
.w-b-home { background: rgba(212, 255, 58, 0.18); color: var(--volt); }
.watch.mode-tap .w-b-home.press, .watch.mode-double .w-b-home.press { background: var(--volt); color: #000; transform: scale(.94); }
.w-ripple { position: absolute; left: 30%; bottom: 10%; width: 3em; height: 3em; margin: -1.5em 0 0 -1.5em; border-radius: 50%; border: 2px solid var(--volt); opacity: 0; pointer-events: none; }
.w-ripple.go { animation: ripple .7s ease-out; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.w-siri { position: absolute; left: 6%; right: 6%; bottom: 6%; padding: 0.7em 0.5em; border-radius: 1em; background: linear-gradient(90deg, rgba(143, 179, 255, 0.95), rgba(212, 255, 58, 0.95)); color: #05070c; font-weight: 800; font-size: 0.7em; text-align: center; opacity: 0; transform: translateY(40%); transition: opacity .3s, transform .4s var(--ease); }
.watch.mode-siri .w-siri.show { opacity: 1; transform: none; }
.watch-fig figcaption { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.w-mode { padding: 6px 14px; border-radius: 999px; background: var(--panel); border: 1px solid rgba(212, 255, 58, 0.35); color: var(--volt); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; min-width: 10ch; }
.w-cap { font-size: 0.78rem; color: var(--dim); }
html:not(.motion) .w-mode { display: none; }

/* ------------------------------------------------------------ videos */
.videos-bg { background: radial-gradient(70% 40% at 50% 0%, rgba(143, 179, 255, 0.08), transparent 70%); }
.videos { display: grid; gap: 22px; margin-top: clamp(36px, 5vw, 52px); list-style: none; }
@media (min-width: 760px) { .videos { grid-template-columns: 1fr 1fr; gap: 26px; } .videos li:nth-child(even) { --d: 120ms; } }
.video { margin: 0; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, #131c33, #080b14); border: 1px solid var(--line); text-decoration: none; color: var(--text); isolation: isolate; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.yt:hover img { transform: scale(1.05); filter: brightness(1.08); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 8, 14, 0.35) 0%, rgba(6, 8, 14, 0) 35%, rgba(6, 8, 14, 0.6) 100%); pointer-events: none; }
.yt.is-playing { cursor: auto; }
.yt.is-playing::after { display: none; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.yt-tab { position: absolute; z-index: 2; left: 0; bottom: 14px; background: var(--volt); color: var(--volt-ink); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 14px 6px 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.yt-score { position: absolute; z-index: 2; right: 14px; bottom: 12px; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); }
.yt-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; background: var(--volt); color: var(--volt-ink); box-shadow: 0 10px 40px -6px rgba(0, 0, 0, 0.7), 0 0 0 8px rgba(212, 255, 58, 0.18); transition: transform .25s var(--ease); }
.yt:hover .yt-play { transform: scale(1.1); }
.yt-play svg { width: 28px; height: 28px; margin-left: 3px; fill: currentColor; }
.video figcaption { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-weight: 700; }
.video figcaption small { color: var(--dim); font-weight: 500; font-size: 0.9rem; }
.videos-foot { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; padding: 22px 24px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--panel); }
.videos-foot p { margin: 0; color: var(--muted); max-width: 60ch; font-size: 0.98rem; }
.videos-foot strong { color: var(--text); }

/* ------------------------------------------------------------ privacy block */
.privacy-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .privacy-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }
.pillars { display: grid; gap: 14px; list-style: none; }
@media (min-width: 600px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar:nth-child(2) { --d: 100ms; } .pillar:nth-child(3) { --d: 200ms; } .pillar:nth-child(4) { --d: 300ms; } }
.pillar { padding: 22px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line-soft); }
.pillar .icon { color: var(--volt); width: 1.7em; height: 1.7em; margin-bottom: 14px; }
.pillar h3 { font-size: 1.1rem; margin-bottom: 6px; letter-spacing: -0.015em; }
.pillar p { margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--volt); padding-bottom: 3px; }
.text-link:hover { color: var(--volt); }
.text-link .icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; }

/* ------------------------------------------------------------ beta CTA */
.beta { position: relative; isolation: isolate; padding: clamp(80px, 10vw, 150px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.beta-bg { position: absolute; inset: 0; z-index: -1; }
.beta-bg picture, .beta-bg img { width: 100%; height: 100%; object-fit: cover; }
.beta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 8, 14, 0.55) 30%, rgba(6, 8, 14, 0.6) 70%, var(--bg) 100%), radial-gradient(60% 60% at 50% 50%, transparent, rgba(6, 8, 14, 0.6)); }
.beta-card { position: relative; display: grid; gap: 36px; padding: clamp(26px, 5vw, 60px); border-radius: clamp(24px, 3vw, 36px); background: radial-gradient(90% 120% at 0% 0%, rgba(212, 255, 58, 0.14), transparent 55%), rgba(12, 18, 32, 0.78); border: 1px solid rgba(212, 255, 58, 0.3); overflow: hidden; align-items: center; box-shadow: 0 40px 100px -40px rgba(212, 255, 58, 0.25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@media (min-width: 960px) { .beta-card { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 56px; } }
.beta-card .h2 { margin-top: 14px; }
.beta-card .lede { margin-top: 16px; }
.join-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 30px; }
.join-steps { list-style: none; counter-reset: j; margin: 28px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 0.97rem; }
.join-steps li { counter-increment: j; display: flex; gap: 12px; align-items: baseline; }
.join-steps li::before { content: counter(j); flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(212, 255, 58, 0.14); color: var(--volt); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; transform: translateY(-1px); }
.honest { margin: 22px 0 0; padding: 14px 16px; border-left: 3px solid var(--volt); background: rgba(6, 8, 14, 0.5); color: var(--text); font-weight: 600; font-size: 0.97rem; border-radius: 0 12px 12px 0; }
.qr-card { display: none; justify-items: center; gap: 16px; text-align: center; padding: 28px; border-radius: 22px; background: rgba(6, 8, 14, 0.6); border: 1px solid var(--line); }
@media (min-width: 960px) { .qr-card { display: grid; } }
.qr-frame { padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 6px rgba(212, 255, 58, 0.25), 0 0 60px rgba(212, 255, 58, 0.25); }
.qr-frame img { width: 168px; height: 168px; image-rendering: pixelated; }
.qr-card p { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 24ch; }
.qr-card b { color: var(--text); display: block; }
.beta-note { margin: 14px 0 0; font-size: 0.72rem; color: rgba(169, 180, 202, 0.7); text-align: right; }

/* ------------------------------------------------------------ FAQ */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; } .faq-head { position: sticky; top: 100px; } }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--panel); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: rgba(143, 179, 255, 0.34); background: #121a2d; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 18px; align-items: center; border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--volt); transition: transform .25s; width: 1.2em; height: 1.2em; stroke-width: 2.4; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }
.faq .answer p { margin: 0; max-width: 64ch; }
.faq .answer b { color: var(--text); }

/* ------------------------------------------------------------ lightbox */
.lightbox { width: min(1100px, 100vw - 2 * var(--gutter), (100vh - 190px) * 16 / 9 + 32px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.lightbox::backdrop { background: rgba(3, 5, 9, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox[open] { animation: lb-in .45s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.lb-inner { padding: 16px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9); }
.lb-top { display: flex; align-items: center; gap: 14px; padding: 2px 2px 14px 6px; }
.lb-title { margin: 0; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.lb-top .rr-tag { position: static; }
.lb-close { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--text); cursor: pointer; transition: background .2s, transform .2s; }
.lb-close:hover { background: rgba(255, 255, 255, 0.12); transform: rotate(90deg); }
.lb-close:focus-visible { border-radius: 50%; }
.lb-close .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.lb-media { border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.lb-video { width: 100%; height: 100%; }
.lb-note { margin: 12px 4px 2px; font-size: 0.82rem; color: var(--dim); }
@media (max-width: 560px) { .lb-top .rr-tag { display: none; } }

/* ------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line-soft); padding: 56px 0 44px; background: linear-gradient(180deg, var(--bg), #04060a); overflow: hidden; }
.foot-big { font-size: clamp(3.6rem, 1rem + 13vw, 15rem); font-weight: 800; letter-spacing: -0.07em; line-height: 0.85; margin: 0 0 48px -0.04em; background: linear-gradient(180deg, rgba(242, 245, 250, 0.16), rgba(242, 245, 250, 0.02)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-big b { font-weight: 800; background: linear-gradient(180deg, rgba(212, 255, 58, 0.4), rgba(212, 255, 58, 0.03)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer p { color: var(--dim); font-size: 0.92rem; margin: 14px 0 0; max-width: 40ch; }
.footer h2 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--text); text-decoration: none; font-weight: 500; }
.footer ul a:hover { color: var(--volt); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--dim); font-size: 0.85rem; }
.legal p { margin: 0; max-width: 70ch; font-size: 0.82rem; }

/* ------------------------------------------------------------ inner pages (privacy, support, 404) */
.page-hero { padding: clamp(52px, 8vw, 104px) 0 clamp(28px, 4vw, 44px); position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); background: radial-gradient(50% 90% at 90% 0%, rgba(212, 255, 58, 0.12), transparent 70%), radial-gradient(40% 80% at 0% 100%, rgba(143, 179, 255, 0.12), transparent 70%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: min(900px, 110vw); aspect-ratio: 3 / 2; background: url("img/court-lines.svg") center / contain no-repeat; opacity: 0.3; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 85%); mask-image: linear-gradient(180deg, #000 30%, transparent 85%); }
.page-hero h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem); margin-top: 18px; letter-spacing: -0.05em; line-height: 0.98; text-wrap: balance; }
.page-hero .lede { margin-top: 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 22px; }
.meta span { padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-soft); color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.meta b { color: var(--text); font-weight: 700; }

.doc-layout { display: grid; gap: 36px; padding-bottom: clamp(64px, 9vw, 110px); }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; } }
.toc { padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--panel); font-size: 0.92rem; }
@media (min-width: 1000px) { .toc { position: sticky; top: 90px; max-height: calc(100vh - 120px); overflow: auto; } }
.toc h2 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; font-weight: 700; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--volt); font-weight: 700; font-size: 0.78rem; padding-top: 2px; font-variant-numeric: tabular-nums; flex: none; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
@media (max-width: 999px) {
  .toc { padding: 14px 0 14px 16px; overflow: hidden; }
  .toc ol { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 6px 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .toc a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; margin: 0; align-items: center; }
  .toc a::before { padding-top: 0; }
}
.prose { max-width: 74ch; min-width: 0; }
.prose section { padding-top: 8px; margin-bottom: 52px; scroll-margin-top: 90px; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 16px; display: flex; gap: 14px; align-items: baseline; }
.prose h2 .n { color: var(--volt); font-size: 0.8em; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.prose h3 { font-size: 1.12rem; margin: 28px 0 8px; letter-spacing: -0.01em; }
.prose p, .prose li { color: #cdd5e5; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; display: grid; gap: 8px; }
.prose li::marker { color: var(--volt); }
.prose strong { color: var(--text); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: var(--panel-2); color: var(--text); }
.doc-layout .callout { display: block; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); margin: 0 0 40px; }
.doc-layout .callout.volt { border-color: rgba(212, 255, 58, 0.35); background: linear-gradient(135deg, rgba(212, 255, 58, 0.08), var(--panel) 60%); }
.doc-layout .callout h2 { font-size: 1.2rem; margin: 0 0 12px; display: block; }
.doc-layout .callout ul { margin: 0; }
.doc-layout .callout p:last-child { margin: 0; }
.kbd { display: inline-block; padding: 1px 9px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font-weight: 600; font-size: 0.92em; white-space: nowrap; }

.tbl { width: 100%; border-collapse: separate; border-spacing: 0; margin: 8px 0 28px; font-size: 0.95rem; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.tbl thead th { background: var(--panel-2); color: var(--text); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.tbl tbody th { color: var(--text); font-weight: 700; width: 22%; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl td { color: #cdd5e5; }
.tbl tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.018); }
@media (max-width: 760px) {
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100% !important; }
  .tbl thead { display: none; }
  .tbl tr { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); }
  .tbl tbody tr:last-child { border-bottom: 0; }
  .tbl th, .tbl td { border: 0; padding: 4px 14px; }
  .tbl td[data-label]::before { content: attr(data-label); display: block; color: var(--dim); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-top: 8px; }
}

/* support page */
.cards { display: grid; gap: 14px; margin: 0 0 44px; }
@media (min-width: 700px) { .cards.two { grid-template-columns: 1fr 1fr; } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 22px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line-soft); transition: border-color .25s, transform .3s var(--ease); }
.card:hover { border-color: rgba(212, 255, 58, 0.3); transform: translateY(-2px); }
.card .icon { color: var(--volt); width: 1.6em; height: 1.6em; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.contact-card { display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: center; justify-content: space-between; padding: 26px 28px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(212, 255, 58, 0.1), var(--panel) 55%); border: 1px solid rgba(212, 255, 58, 0.3); margin-bottom: 44px; }
.contact-card > div { flex: 1 1 340px; }
.contact-card h2 { font-size: 1.5rem; }
.contact-card p { margin: 6px 0 0; color: var(--muted); max-width: 52ch; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--volt); margin-top: 0.22em; width: 1.15em; height: 1.15em; stroke-width: 2.5; }
.diagram { margin: 6px 0 36px; padding: 22px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line-soft); }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { color: var(--dim); font-size: 0.85rem; margin-top: 10px; }
.steps-list { list-style: none; counter-reset: sl; padding: 0 !important; }
.steps-list li { counter-increment: sl; position: relative; padding-left: 44px; }
.steps-list li::before { content: counter(sl); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: rgba(212, 255, 58, 0.14); color: var(--volt); font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; }

/* 404 */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf .code { font-size: clamp(5rem, 3rem + 14vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; background: linear-gradient(180deg, var(--volt) 15%, rgba(212, 255, 58, 0.15) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); margin-top: 18px; }
.nf p { color: var(--muted); max-width: 44ch; margin: 14px auto 0; }
.nf .cta-row { justify-content: center; }
.nf-line { display: inline-block; padding: 6px 14px; margin-top: 10px; border-radius: 999px; background: rgba(255, 77, 94, 0.1); border: 1px solid rgba(255, 77, 94, 0.35); color: var(--danger); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }

@media (max-width: 520px) { .cta-row .btn { flex: 1 1 100%; } }

@media print {
  body { background: #fff; color: #111; }
  .nav, .footer, .toc, .skip, .grain, .progress, .glow-cursor { display: none; }
  .prose p, .prose li { color: #111; }
}
