/* Score apps
   Night-court look, matched to the apps: black, lime #A2FB3D, cyan #0AB2EA (you), orange #FF9F0A (opponent). */

@font-face { font-family: "Anybody"; font-style: normal; font-weight: 100 900; font-stretch: 50% 150%; font-display: swap;
  src: url("../fonts/anybody-latin-standard-normal.woff2") format("woff2"); }
@font-face { font-family: "Anybody"; font-style: italic; font-weight: 100 900; font-stretch: 50% 150%; font-display: swap;
  src: url("../fonts/anybody-latin-standard-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap;
  src: url("../fonts/martian-mono-latin-standard-normal.woff2") format("woff2"); }

:root {
  --ink: #040504;
  --ink-2: #0b0e0a;
  --panel: #12160f;
  --panel-2: #1a2016;
  --line: rgba(162, 251, 61, .13);
  --line-2: rgba(242, 245, 238, .09);
  --lime: #a2fb3d;
  --lime-deep: #7cd11a;
  --cyan: #0ab2ea;
  --orange: #ff9f0a;
  --yellow: #ffd60a;
  --text: #f2f5ee;
  --muted: #a3ad9c;
  --dim: #6c7566;
  --display: "Anybody", "Arial Black", sans-serif;
  --body: "Atkinson Next", "Trebuchet MS", sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --rounded: ui-rounded, "SF Pro Rounded", "Anybody", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.6 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 99px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Atmosphere: grain + floodlight glow over the whole page */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
.eyebrow, .mono {
  font: 500 11.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime); border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: .95; letter-spacing: -.015em; }
h1 { font-size: clamp(40px, 5.4vw, 80px); font-weight: 860; font-stretch: 104%; }
h2 { font-size: clamp(34px, 4.8vw, 66px); font-weight: 820; font-stretch: 112%; }
h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 760; font-stretch: 108%; line-height: 1.05; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; color: var(--lime); font-stretch: 100%; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #d6dcd0; max-width: 34em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

/* ---------- Family strip + header ---------- */
.family {
  border-bottom: 1px solid var(--line-2); background: #000;
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.family .wrap { display: flex; gap: 6px; align-items: center; overflow-x: auto; scrollbar-width: none; padding-block: 9px; }
.family .wrap::-webkit-scrollbar { display: none; }
.family .label { color: var(--dim); margin-right: 8px; white-space: nowrap; }
.family a, .family span.soon { white-space: nowrap; text-decoration: none; padding: 6px 10px; border-radius: 99px; color: var(--muted); }
.family a:hover { color: var(--text); background: var(--panel-2); }
.family a[aria-current="page"] { color: var(--ink); background: var(--lime); }
.family span.soon { color: var(--dim); }
.family span.soon::after { content: " · soon"; color: #4c5447; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-2);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 17px/1 var(--display); font-stretch: 112%; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand small { display: block; font: 500 10px/1.2 var(--mono); letter-spacing: .12em; color: var(--dim); text-transform: uppercase; margin-top: 4px; font-stretch: 100%; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 99px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
.header-cta { margin-left: 4px; }
@media (max-width: 860px) { .nav { display: none; } .header-cta { margin-left: auto; } }
@media (max-width: 520px) { .brand small { display: none; } .brand { font-size: 15px; } .header-cta { white-space: nowrap; } .scorebug > span:nth-child(2), .scorebug > span:last-child { display: none; } }

/* ---------- Buttons / store badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 700 16px/1 var(--body); padding: 14px 22px; border-radius: 99px; border: 0;
  background: var(--lime); color: #0b1205; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 0 0 0 rgba(162, 251, 61, .5);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(162, 251, 61, .55); }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lime); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
/* Apple's official badges (developer.apple.com/app-store/marketing/guidelines), unmodified, 48px high with 12px clear space. */
.store { display: inline-block; line-height: 0; border-radius: 9px; transition: transform .25s var(--ease); }
.store:hover { transform: translateY(-2px); }
.store img { height: 48px; width: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before { /* floodlight */
  content: ""; position: absolute; inset: -20% -10% auto 30%; height: 120%; z-index: -2;
  background:
    radial-gradient(40% 38% at 62% 40%, rgba(162, 251, 61, .22), transparent 70%),
    radial-gradient(30% 30% at 35% 70%, rgba(10, 178, 234, .14), transparent 70%),
    radial-gradient(26% 26% at 85% 75%, rgba(255, 159, 10, .12), transparent 70%);
  filter: blur(10px);
}
.court { position: absolute; z-index: -1; inset: auto -10% -6% -10%; height: 70%; opacity: .55;
  transform: perspective(900px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); mask-image: linear-gradient(to top, #000 10%, transparent 90%); }
.court svg { width: 100%; height: 100%; }
.court line, .court rect { stroke: var(--lime); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; opacity: .45; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy > * + * { margin-top: 22px; }
.hero h1 .line { display: block; }
.hero .lede { margin-top: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* Scorebug: TV-style score chip */
/* "New in 3.0" pill above the hero title; links to what's new. */
.whatsnew { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #000; box-shadow: 0 0 0 1px var(--line-2); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text); text-decoration: none; transition: box-shadow .2s; }
.whatsnew:hover { box-shadow: 0 0 0 1px var(--lime); }
.whatsnew b { background: var(--lime); color: #0b1205; padding: 7px 10px; border-radius: 999px; font-weight: 750; }
.whatsnew i { font-style: normal; color: var(--lime); }
.scorebug { display: inline-flex; align-items: stretch; border-radius: 10px; overflow: hidden; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 0 1px var(--line-2); background: #000; }
.scorebug > span { padding: 9px 11px; display: flex; align-items: center; gap: 7px; }
.scorebug .live { background: var(--lime); color: #0b1205; font-weight: 750; }
.scorebug .you { color: var(--cyan); }
.scorebug .opp { color: var(--orange); }
.scorebug .n { color: var(--text); font-weight: 750; font-size: 13px; }

/* ---------- Devices ---------- */
.stage { position: relative; aspect-ratio: 1 / .86; width: 100%; max-width: 720px; margin-inline: auto; }
.stage > * { position: absolute; }
.device img { width: 100%; height: 100%; object-fit: cover; }
.mac { left: 0; top: 2%; width: 82%; }
.mac .lid { position: relative; aspect-ratio: 16 / 10.4; border-radius: 3.2% / 5%; background: linear-gradient(#2b2f2a, #121411); padding: 2.1%; box-shadow: 0 30px 60px -20px #000, inset 0 0 0 1px rgba(255,255,255,.08); }
.mac .screen { position: relative; width: 100%; height: 100%; border-radius: 1.4% / 2.2%; overflow: hidden;
  background: radial-gradient(80% 90% at 70% 10%, #3e6b13, #0f1a07 55%, #050805); }
.mac .menubar { position: absolute; inset: 0 0 auto; height: 3.4%; background: rgba(0,0,0,.35); }
.mac .window { position: absolute; left: 8%; top: 8%; width: 72%; aspect-ratio: 1400 / 915; border-radius: 1.6% / 2.4%; overflow: hidden; box-shadow: 0 20px 40px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12); background: #000; }
.mac .window img { object-position: top; }
.mac .base { height: 0; margin: 0 -6%; border-top: clamp(6px, 1.1vw, 12px) solid #2d312c; border-left: 4px solid transparent; border-right: 4px solid transparent; border-radius: 0 0 40% 40% / 0 0 100% 100%; }
.mac .base::after { content: ""; display: block; width: 16%; height: 3px; margin: calc(-1 * clamp(6px, 1.1vw, 12px)) auto 0; background: #1b1e1a; border-radius: 0 0 6px 6px; }
.ipad { left: 0; top: 48%; width: 40%; aspect-ratio: 4 / 3; }
.ipad .body { width: 100%; height: 100%; padding: 3%; border-radius: 5% / 6.6%; background: linear-gradient(140deg, #3a3e38, #121411); box-shadow: 0 30px 50px -15px #000, inset 0 0 0 1px rgba(255,255,255,.1); }
.ipad .screen { width: 100%; height: 100%; border-radius: 2.6% / 3.4%; overflow: hidden; background: #000; }
.phone { right: 1%; top: 18%; width: 25%; aspect-ratio: 460 / 1000; }
.phone .body { position: relative; width: 100%; height: 100%; padding: 3.4%; border-radius: 15% / 7%; background: linear-gradient(140deg, #4a4f47, #161815 40%, #2a2d29); box-shadow: 0 30px 50px -15px #000, inset 0 0 0 1px rgba(255,255,255,.14); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 12% / 5.6%; overflow: hidden; background: #000; }
.phone .island { position: absolute; top: 2.2%; left: 50%; width: 30%; height: 3.6%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 2; }
.watch { left: 27%; top: 22%; width: 44%; z-index: 3; filter: drop-shadow(0 40px 40px rgba(0,0,0,.9)); }
.watch .band { position: absolute; left: 15%; right: 15%; height: 38%; background: linear-gradient(90deg, #0c0d0c, #1f221e 50%, #0c0d0c); z-index: -1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.watch .band.top { bottom: 80%; border-radius: 30% 30% 0 0 / 20% 20% 0 0; }
.watch .band.bottom { top: 80%; border-radius: 0 0 30% 30% / 0 0 20% 20%; }
.watch .band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(162,251,61,.07) 7px 8px); border-radius: inherit; }
.watch .case { position: relative; aspect-ratio: 416 / 496; min-height: 0; border-radius: 30% / 26%;
  background: linear-gradient(145deg, #5a5f57, #1a1c19 35%, #0a0b0a 65%, #3c403a);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 18px rgba(0,0,0,.9); }
/* The screen sits at the same inset on all sides, which keeps it at exactly 416:496 like the screenshots, so nothing is cropped. */
.watch .screen { position: absolute; inset: 7.5%; border-radius: 22% / 19%; overflow: hidden; background: #000; box-shadow: 0 0 0 2px #000; }
.watch .crown { position: absolute; right: -5.5%; top: 21%; width: 7%; height: 17%; border-radius: 30% / 12%; background: repeating-linear-gradient(0deg, #6a6f66 0 2px, #2a2d28 2px 4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.watch .button { position: absolute; right: -3%; top: 47%; width: 4%; height: 23%; border-radius: 40%; background: linear-gradient(#3b3f39, #1f221d); }
.rings { position: absolute; left: 17%; top: 12%; width: 64%; aspect-ratio: 1; z-index: 2; pointer-events: none; }
.rings circle { fill: none; stroke-linecap: round; stroke-width: 7; }
.rings .track { stroke: rgba(255,255,255,.05); }
.rings .r1 { stroke: var(--lime); stroke-dasharray: 600; stroke-dashoffset: 600; animation: ring 2.2s .9s var(--ease) forwards; }
.rings .r2 { stroke: var(--cyan); stroke-dasharray: 520; stroke-dashoffset: 520; animation: ring 2.2s 1.1s var(--ease) forwards; }
.rings .r3 { stroke: var(--orange); stroke-dasharray: 440; stroke-dashoffset: 440; animation: ring 2.2s 1.3s var(--ease) forwards; }
@keyframes ring { to { stroke-dashoffset: var(--to, 120); } }
.rings .r1 { --to: 90; } .rings .r2 { --to: 170; } .rings .r3 { --to: 240; }
.stage.duo { aspect-ratio: 1 / .78; }
.stage.duo .phone { right: 8%; top: 8%; width: 30%; }
.stage.duo .watch { left: 12%; top: 14%; width: 50%; }
.stage.duo .rings { left: 2%; top: 4%; width: 70%; }
.stage.solo { aspect-ratio: 1 / .82; }
.stage.solo .watch { left: 24%; top: 9%; width: 52%; }
.stage.solo .rings { left: 13%; top: 1%; width: 74%; }
@media (max-width: 560px) { .stage { aspect-ratio: 1 / .95; } .mac { width: 92%; } .ipad { display: none; } .phone { width: 29%; right: 0; top: 30%; } .watch { left: 18%; top: 26%; width: 50%; } .rings { left: 10%; width: 72%; } }

/* Entrance choreography */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  .stage .mac { opacity: 0; animation: float-in 1.1s .25s var(--ease) forwards; --from: translate(-4%, 6%); }
  .stage .ipad { opacity: 0; animation: float-in 1.1s .45s var(--ease) forwards; --from: translate(-14%, 10%) rotate(-3deg); }
  .stage .phone { opacity: 0; animation: float-in 1.1s .6s var(--ease) forwards, bob 7s 2s ease-in-out infinite alternate; --from: translate(16%, 10%) rotate(4deg); }
  .stage .watch { opacity: 0; animation: watch-in 1.3s .75s var(--ease) forwards, bob 6s 2.2s ease-in-out infinite alternate-reverse; }
  .ticker .track-x { animation: ticker 38s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .rings circle { animation: none !important; stroke-dashoffset: var(--to) !important; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes float-in { from { opacity: 0; transform: var(--from); } to { opacity: 1; transform: none; } }
@keyframes watch-in { from { opacity: 0; transform: translateY(18%) scale(.82) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -10px; } }

/* ---------- LED ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: linear-gradient(#060805, #000); overflow: hidden; padding-block: 16px; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; }
.ticker::before { left: 0; background: linear-gradient(90deg, #000, transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, #000, transparent); }
.track-x { display: flex; width: max-content; gap: 0; }
.track-x span { font: 750 clamp(20px, 2.4vw, 30px)/1 var(--display); font-stretch: 130%; text-transform: uppercase; white-space: nowrap; padding-inline: 26px; color: var(--text); }
.track-x span:nth-child(3n+2) { color: var(--lime); font-style: italic; font-stretch: 100%; }
.track-x span::after { content: "●"; font-size: .4em; vertical-align: middle; color: var(--dim); margin-left: 52px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: clamp(64px, 10vw, 140px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); max-width: 860px; }
.section-head .lede { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Demo */
.demo { background: radial-gradient(60% 70% at 70% 50%, rgba(162, 251, 61, .08), transparent 70%), var(--ink-2); border-block: 1px solid var(--line-2); }
.demo-stage { display: grid; place-items: center; gap: 22px; }
.demo-watch { width: min(340px, 82vw); }
.demo-watch .case { position: relative; aspect-ratio: 416 / 496; padding: 6.5%; border-radius: 30% / 26%;
  background: linear-gradient(145deg, #5a5f57, #1a1c19 35%, #0a0b0a 65%, #3c403a);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 40px 80px -30px rgba(0,0,0,.95), 0 0 120px -40px rgba(162,251,61,.35); }
.demo-watch .crown { position: absolute; right: -5%; top: 21%; width: 6.5%; height: 17%; border-radius: 30% / 12%; background: repeating-linear-gradient(0deg, #6a6f66 0 2px, #2a2d28 2px 4px); }
.ws { position: relative; height: 100%; border-radius: 22% / 19%; background: #000; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: 8% 6% 6%; font-family: var(--rounded); }
.ws-top { display: flex; justify-content: space-between; font: 650 clamp(14px, 4.4vw, 19px)/1 var(--rounded); }
.ws-top .timer { color: var(--yellow); font-variant-numeric: tabular-nums; }
.ws-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; margin-block: 6% 5%; }
.tile { position: relative; border: 0; border-radius: 16%/12%; font: 800 clamp(48px, 17vw, 76px)/1 var(--rounded); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .12s, filter .2s; font-variant-numeric: tabular-nums; text-shadow: 0 2px 8px rgba(0,0,0,.18); -webkit-tap-highlight-color: transparent; }
.tile:active { transform: scale(.96); }
.tile.you { background: linear-gradient(#36c3f2, var(--cyan)); }
.tile.opp { background: linear-gradient(#ffb240, var(--orange)); }
.tile .serve { position: absolute; top: 8%; right: 9%; width: 17%; aspect-ratio: 1; color: rgba(0,0,0,.85); display: grid; place-items: center; opacity: 0; transform: scale(.3); transition: opacity .25s, transform .35s var(--ease); }
.tile .games { position: absolute; top: 7%; left: 8%; min-width: 1.5em; padding: .12em .4em; border-radius: 99px; background: rgba(0,0,0,.22); font: 800 clamp(12px, 3.6vw, 16px)/1.25 var(--rounded); text-shadow: none; }
.tile .serve svg { width: 100%; height: 100%; }
.tile .serve[data-court="left"] svg { transform: scaleX(-1); }
.tile.serving { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.tile.serving .serve { opacity: 1; transform: none; }
/* Pickleball: the server number (1 or 2) next to the dot. */
.tile .serve b { position: absolute; right: 115%; font: 800 clamp(9px, 2.4vw, 13px)/1 var(--mono); color: rgba(0,0,0,.85); }
.tile .badge { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%) scale(.6); opacity: 0; transition: opacity .2s, transform .3s var(--ease);
  background: #fff; color: #000; border-radius: 99px; padding: .3em .6em; white-space: nowrap; text-shadow: none;
  font: 900 clamp(8px, 2.5vw, 10.5px)/1 var(--rounded); letter-spacing: .05em; text-transform: uppercase; }
.tile .badge.show { opacity: 1; transform: translateX(-50%); }
.tile.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); filter: brightness(1.15); } }
.ws-bottom { display: flex; align-items: center; justify-content: space-between; font: 600 clamp(13px, 4vw, 17px)/1 var(--rounded); color: #c9cdc5; }
.pill { display: inline-grid; place-items: center; min-width: 1.6em; padding: .18em .45em; border-radius: 99px; color: #fff; font-weight: 800; margin-left: .25em; }
.pill.you { background: var(--cyan); } .pill.opp { background: var(--orange); }
.undo { width: 2.3em; height: 1.8em; border-radius: 99px; border: 0; background: #20301a; color: var(--lime); cursor: pointer; display: grid; place-items: center; }
.undo svg { width: 55%; }
.ws-tiles { position: relative; }
.callout { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%) translateY(6px); z-index: 2; pointer-events: none; white-space: nowrap; padding: .45em .9em; border-radius: 99px; background: var(--lime); color: #0b1205; box-shadow: 0 6px 20px rgba(0,0,0,.6); font: 800 clamp(11px, 3.4vw, 14px)/1 var(--rounded); opacity: 0; transition: opacity .25s, transform .3s var(--ease); }
.callout.show { opacity: 1; transform: translateX(-50%); }
.demo-hint { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.demo-hint b { color: var(--cyan); } .demo-hint i { color: var(--orange); font-style: normal; font-weight: 700; }
.demo-log { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.demo-log li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: #d6dcd0; }
.demo-log li span { font: 700 12px/30px var(--mono); text-align: center; border-radius: 9px; background: var(--panel-2); color: var(--lime); }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card { position: relative; grid-column: span 2; background: linear-gradient(180deg, var(--panel), var(--ink-2)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card.wide { grid-column: span 3; } .card.full { grid-column: span 6; } .card.tall { grid-row: span 2; }
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card .glyph { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #1d2a12; color: var(--lime); }
.card .glyph svg { width: 24px; height: 24px; }
.card .glyph.c { background: #062635; color: var(--cyan); } .card .glyph.o { background: #33210a; color: var(--orange); }
.card .shot { height: auto; margin: 22px auto -60px; width: min(240px, 70%); border-radius: 26px; box-shadow: 0 20px 50px -10px #000, 0 0 0 6px #1b1e1a, 0 0 0 7px #333830; }
.card .shot.watchy { border-radius: 30% / 26%; width: min(210px, 64%); margin-bottom: 0; }
.card .big { font: 860 clamp(54px, 7vw, 92px)/.9 var(--display); font-stretch: 125%; color: var(--lime); letter-spacing: -.03em; }
@media (max-width: 900px) { .card, .card.wide { grid-column: span 3; } }
@media (max-width: 620px) { .card, .card.wide, .card.full { grid-column: span 6; } }

/* Gesture section */
.gestures { display: grid; gap: 14px; margin-top: 30px; }
.gesture { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); }
.gesture .icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font: 800 26px/1 var(--display); }
.gesture.you .icon { background: rgba(10,178,234,.15); color: var(--cyan); }
.gesture.opp .icon { background: rgba(255,159,10,.15); color: var(--orange); }
.gesture h3 { font-size: 20px; margin-bottom: 4px; }
.gesture p { margin: 0; color: var(--muted); font-size: 15.5px; }
.gesture-visual { position: relative; display: grid; place-items: center; }
.gesture-visual .watch { position: relative; left: auto; top: auto; width: min(320px, 70vw); }

/* Health */
.health-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); margin-top: 28px; }
.health-stats div { background: var(--ink-2); padding: 22px 20px; }
.health-stats b { display: block; font: 820 clamp(30px, 3.6vw, 46px)/1 var(--display); font-stretch: 115%; margin-bottom: 8px; }
.health-stats span { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.health-stats .hr b { color: #ff375f; } .health-stats .kcal b { color: var(--lime); } .health-stats .time b { color: var(--yellow); }
@media (max-width: 520px) { .health-stats { grid-template-columns: 1fr; } }

/* Devices row */
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.devices article { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel); }
.devices h3 { font-size: 22px; margin: 16px 0 8px; }
.devices p { color: var(--muted); font-size: 15.5px; margin: 0; }
.devices .mono { color: var(--lime); }
@media (max-width: 900px) { .devices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .devices { grid-template-columns: 1fr; } }

/* Rules primer */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.rule { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.rule .n { font: 860 64px/1 var(--display); font-stretch: 130%; color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
.rule h3 { font-size: 20px; margin: 10px 0 8px; }
.rule p { color: var(--muted); margin: 0; font-size: 16px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line); background: var(--panel-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; position: relative; font: 700 18px/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #1d2a12; color: var(--lime); font: 600 20px/1 var(--mono); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq .a { padding: 0 22px 20px; color: #cfd6c9; }
.faq .a p:last-child { margin: 0; }
.faq-group { margin-top: 48px; }
.faq-group h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }

/* Family */
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-card { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel); text-decoration: none; transition: border-color .25s, transform .35s var(--ease), background .25s; }
a.app-card:hover { border-color: var(--lime); transform: translateY(-3px); background: var(--panel-2); }
.app-card img { width: 72px; height: 72px; border-radius: 17px; }
.app-card h3 { font-size: 21px; padding-right: 74px; }
.app-card p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.app-card .tag { position: absolute; top: 14px; right: 14px; font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 8px; border-radius: 99px; background: #1d2a12; color: var(--lime); }
.app-card.soon { opacity: .72; }
.app-card.soon .tag { background: #222620; color: var(--muted); }
.ghost-icon { width: 72px; height: 72px; border-radius: 17px; border: 1.5px dashed #3c4437; display: grid; place-items: center; font: 800 26px/1 var(--display); color: #4f5a48; font-stretch: 130%; }
@media (max-width: 960px) { .family-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .family-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta { text-align: center; padding-block: clamp(80px, 12vw, 160px); background: radial-gradient(50% 60% at 50% 100%, rgba(162,251,61,.2), transparent 70%); border-top: 1px solid var(--line-2); overflow: hidden; }
.cta .wrap > img { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 28px; box-shadow: 0 30px 60px -20px rgba(162,251,61,.5); }
.cta h2 { max-width: 14ch; margin-inline: auto; }
.cta .stores { justify-content: center; margin-top: 36px; }
.cta p { color: var(--muted); margin-top: 22px; }

/* Prose pages (legal, support) */
.page-hero { padding-block: clamp(48px, 8vw, 100px) clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line-2); background: radial-gradient(40% 80% at 80% 0%, rgba(162,251,61,.12), transparent 70%); }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); margin-top: 18px; }
.page-hero .lede { margin-top: 20px; }
.prose { max-width: 760px; padding-block: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 2.2em 0 .6em; font-stretch: 108%; }
.prose h3 { font-size: 19px; margin: 1.8em 0 .5em; font-family: var(--body); font-weight: 750; }
.prose p, .prose li { color: #d3d9cd; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--lime); }
.prose a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose address { font-style: normal; padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); line-height: 1.7; }
.prose .note { padding: 16px 18px; border-left: 3px solid var(--lime); background: var(--panel); border-radius: 0 14px 14px 0; color: #d3d9cd; }
.prose .todo { padding: 4px 8px; border-radius: 6px; background: #3a2a05; color: var(--yellow); font: 600 13px/1.4 var(--mono); }
.lang-switch { display: inline-flex; gap: 6px; margin-top: 20px; }
.lang-switch a { text-decoration: none; font: 600 12px/1 var(--mono); letter-spacing: .1em; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.lang-switch a:hover { border-color: var(--lime); color: var(--text); }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-block: 36px; }
.support-grid a { display: block; text-decoration: none; padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); transition: border-color .2s, transform .3s var(--ease); }
.support-grid a:hover { border-color: var(--lime); transform: translateY(-2px); }
.support-grid b { display: block; font: 750 19px/1.2 var(--display); font-stretch: 108%; margin-bottom: 6px; color: var(--text); }
.support-grid span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .support-grid { grid-template-columns: 1fr; } }

/* Hub hero */
/* Promo video in the hub hero: 16:9 screen, controls on top, poster only for reduced motion. */
.promo { position: relative; margin: clamp(32px, 5vw, 56px) 0 0; aspect-ratio: 16 / 9; border-radius: clamp(14px, 2vw, 24px); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -40px rgba(162,251,61,.35); }
.promo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo-ui { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.promo-btn { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: rgba(0,0,0,.72); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 14px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.promo-btn:hover, .promo-btn:focus-visible { border-color: var(--lime); }
.promo-btn[data-promo-sound] { background: var(--lime); color: #0b1205; border-color: var(--lime); font-weight: 750; }
.promo-btn[data-promo-sound][aria-pressed="true"] { background: rgba(0,0,0,.72); color: var(--text); border-color: var(--line-2); font-weight: 600; }
.promo-start { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; font: 750 14px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #0b1205; background: var(--lime); border: 0; border-radius: 999px; padding: 16px 22px; cursor: pointer; box-shadow: 0 20px 50px -10px rgba(0,0,0,.8); }
.promo-start[hidden], .promo .promo-ui[hidden] { display: none; }
@media (min-width: 981px) { .hub-grid .promo { margin-top: 0; } }
@media (max-width: 520px) { .promo-ui { left: 8px; bottom: 8px; gap: 6px; } .promo-btn { padding: 7px 10px; font-size: 10px; } }
.roster { display: grid; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); }
.roster a, .roster div.row { display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s, padding .35s var(--ease); }
.roster a:hover { background: linear-gradient(90deg, rgba(162,251,61,.08), transparent); padding-left: 16px; }
.roster img, .roster .ghost-icon { width: 60px; height: 60px; border-radius: 14px; font-size: 20px; }
.roster .name { font: 840 clamp(30px, 5.4vw, 72px)/1 var(--display); font-stretch: 125%; letter-spacing: -.02em; }
.roster a .name { color: var(--text); }
.roster .row .name { color: transparent; -webkit-text-stroke: 1.2px #4c5646; }
.roster .meta { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: right; }
.roster a .meta b { color: var(--lime); font-weight: 600; }
@media (max-width: 560px) { .roster a, .roster div.row { grid-template-columns: 48px 1fr; } .roster .meta { display: none; } .roster img, .roster .ghost-icon { width: 48px; height: 48px; } }

/* Bundle (hub) */
.bundle { padding-top: 0; }
.bundle-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(60% 90% at 85% 50%, rgba(162,251,61,.16), transparent 70%), linear-gradient(180deg, var(--panel), var(--ink-2)); }
.bundle-copy > * + * { margin-top: 18px; }
.bundle-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px !important; }
.bundle-cta .btn svg { width: 18px; height: 18px; }
.bundle-cta .btn.ghost { cursor: default; }
.bundle-cta .btn.ghost:hover { transform: none; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.bundle-price { text-align: center; display: grid; justify-items: center; gap: 14px; }
.bundle-icons { display: flex; }
.bundle-icons > * { width: 64px; height: 64px; border-radius: 15px; margin-left: -12px; box-shadow: 0 0 0 4px var(--panel); background: var(--panel); font-size: 22px; }
.bundle-icons > :first-child { margin-left: 0; }
.bundle-price .price { font: 860 clamp(64px, 9vw, 120px)/.9 var(--display); font-stretch: 118%; color: var(--lime); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .bundle-card { grid-template-columns: 1fr; } .bundle-price { order: -1; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line-2); background: #000; padding-block: 56px 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { margin: 0 0 14px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.foot-grid > * { min-width: 0; }
.site-footer a { overflow-wrap: anywhere; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer .fine { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--dim); font-size: 13px; }
.site-footer .about { color: var(--muted); max-width: 30em; margin-top: 14px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .reveal.in { opacity: 1; transform: none; }
}
