/* The home page and the shared-link page (404.html). Always dark, like the watch and the share
   cards. Race colours are the app's dark shades (docs/DESIGN.md) and only mark a part of the
   race: green runs, cyan stations, orange Roxzone, yellow time, red behind. Controls stay neutral.

   Motion: CSS runs the hero entrance and, where the browser has scroll-driven animations, the
   parallax, progress bar and header. js/site.js adds class "motion" to <html> and runs the
   reveals, the pinned watch story, the marquee and the pointer effects. With Reduce Motion on,
   or before the script runs, everything is simply visible and still. */

@property --tone { syntax: "<color>"; inherits: true; initial-value: #32d74b; }

:root {
  color-scheme: dark;
  interpolate-size: allow-keywords;
  --bg: #000; --raised: #0b0b0c; --card: #161618; --line: #2c2c2e;
  --text: #f5f5f7; --muted: #a1a1a6; --faint: #86868b;
  --run: #32d74b; --station: #64d2ff; --rox: #ff9f0a; --time: #ffd60a; --behind: #ff453a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* A spring with about 4% overshoot. */
  --spring: linear(0, 0.0018, 0.0069 1.15%, 0.026 2.3%, 0.0637, 0.1135 5.18%, 0.2229 7.78%, 0.5977 15.84%, 0.7014, 0.7904, 0.8641, 0.9228, 0.9676 28.8%, 1.0032 31.68%, 1.0225, 1.0352 36.29%, 1.0431 38.88%, 1.046 42.05%, 1.0448 44.35%, 1.0407 47.23%, 1.0118 61.63%, 1.0025 69.41%, 0.9981 80.35%, 0.9992 99.94%);
  --strip: linear-gradient(90deg, var(--run) 0.00% 5.33%, transparent 5.33% 5.63%, var(--rox) 5.63% 6.43%, transparent 6.43% 6.73%, var(--station) 6.73% 11.52%, transparent 11.52% 11.82%, var(--rox) 11.82% 12.62%, transparent 12.62% 12.92%, var(--run) 12.92% 18.25%, transparent 18.25% 18.55%, var(--rox) 18.55% 19.34%, transparent 19.34% 19.64%, var(--station) 19.64% 22.84%, transparent 22.84% 23.14%, var(--rox) 23.14% 23.94%, transparent 23.94% 24.24%, var(--run) 24.24% 29.57%, transparent 29.57% 29.87%, var(--rox) 29.87% 30.67%, transparent 30.67% 30.97%, var(--station) 30.97% 35.76%, transparent 35.76% 36.06%, var(--rox) 36.06% 36.86%, transparent 36.86% 37.16%, var(--run) 37.16% 42.49%, transparent 42.49% 42.79%, var(--rox) 42.79% 43.58%, transparent 43.58% 43.88%, var(--station) 43.88% 49.21%, transparent 49.21% 49.51%, var(--rox) 49.51% 50.31%, transparent 50.31% 50.61%, var(--run) 50.61% 55.94%, transparent 55.94% 56.24%, var(--rox) 56.24% 57.04%, transparent 57.04% 57.34%, var(--station) 57.34% 62.31%, transparent 62.31% 62.61%, var(--rox) 62.61% 63.41%, transparent 63.41% 63.71%, var(--run) 63.71% 69.03%, transparent 69.03% 69.33%, var(--rox) 69.33% 70.13%, transparent 70.13% 70.43%, var(--station) 70.43% 72.56%, transparent 72.56% 72.86%, var(--rox) 72.86% 73.66%, transparent 73.66% 73.96%, var(--run) 73.96% 79.29%, transparent 79.29% 79.59%, var(--rox) 79.59% 80.39%, transparent 80.39% 80.69%, var(--station) 80.69% 85.48%, transparent 85.48% 85.78%, var(--rox) 85.78% 86.58%, transparent 86.58% 86.88%, var(--run) 86.88% 92.21%, transparent 92.21% 92.51%, var(--rox) 92.51% 93.31%, transparent 93.31% 93.61%, var(--station) 93.61% 100.00%);
}

/* Page-to-page fades between the home page and Support, Privacy and Terms. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.2s ease both vt-out; }
::view-transition-new(root) { animation: 0.45s var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 12px; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.5 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-left)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--station); outline-offset: 3px; border-radius: 8px; }
.skip {
  position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 18px; border-radius: 12px;
  background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
  translate: 0 -200%; transition: translate 0.2s;
}
.skip:focus { translate: 0 0; }

/* Store link. <html data-store="soon"> shows "Coming soon"; "live" shows Apple's badge. */
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.store-badge { display: inline-block; line-height: 0; border-radius: 12px; }
.store-badge img { height: 56px; width: auto; }
.store-soon {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px;
  padding: 0 24px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); font-weight: 600; font-size: 17px;
}
.store-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--run); box-shadow: 0 0 0 0 rgba(50, 215, 75, 0.6); }
.motion .store-soon::before { animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(50, 215, 75, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(50, 215, 75, 0); } }
html[data-store="soon"] .store-badge, html[data-store="live"] .store-soon, html[data-store="soon"] .qr { display: none; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 600; }
.text-link:hover { color: var(--text); }
.text-link .arrow { display: inline-block; margin-left: 6px; transition: translate 0.3s var(--spring); }
.text-link:hover .arrow { translate: 0 3px; }
.text-link.side:hover .arrow { translate: 4px 0; }
[data-magnetic] { transition: translate 0.6s var(--spring); }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.2px; }
.brand img { width: 32px; height: 32px; transition: rotate 0.6s var(--spring); }
.brand:hover img { rotate: -8deg; }
.nav-links { display: flex; gap: 4px; margin-left: auto; font-size: 15px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; transition: color 0.25s, background-color 0.25s; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.pill:hover { background: #fff; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--strip); clip-path: inset(0 100% 0 0); display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progress { display: block; animation: progress linear both; animation-timeline: scroll(root block); }
    @keyframes progress { to { clip-path: inset(0 0 0 0); } }
    .nav { animation: nav-solid linear both; animation-timeline: scroll(root block); animation-range: 0 140px; }
    @keyframes nav-solid { from { background-color: rgba(0, 0, 0, 0); border-bottom-color: rgba(255, 255, 255, 0); } }
  }
}
@media (max-width: 860px) {
  .nav-links a:not(.keep) { display: none; }
  .nav .wrap { gap: 12px; }
}
@media (max-width: 440px) {
  .nav-links { display: none; }
  .pill { margin-left: auto; }
}

/* Type */
.eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { text-wrap: wrap; }
h1 { font-size: clamp(56px, 8.6vw, 112px); line-height: 0.96; letter-spacing: -0.045em; font-weight: 800; }
h2 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 750; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 650; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; color: var(--muted); margin: 24px 0 0; max-width: 34em; }
.lead strong { color: var(--text); font-weight: 600; }
section { padding: clamp(88px, 11vw, 150px) 0; }
.section-head { max-width: 780px; }
.section-head .lead { margin-top: 18px; }

/* Devices, drawn in CSS and sized from one number, --w. Titanium is natural by default;
   <html data-finish="black"> switches both devices to black titanium. */
:root {
  --ti-hi: #e4e1da; --ti-mid: #aba79f; --ti-lo: #5d5a55;
  --band-hi: #393b41; --band-lo: #141518;
}
html[data-finish="black"] { --ti-hi: #77777c; --ti-mid: #3c3c40; --ti-lo: #161618; }

/* iPhone: titanium rim, black border, screen, Dynamic Island, glass glare and side buttons */
.phone {
  --w: 300px; --rim: calc(var(--w) * 0.011); --bez: calc(var(--w) * 0.021); --r: calc(var(--w) * 0.155);
  position: relative; isolation: isolate; width: var(--w); padding: var(--rim); border-radius: var(--r);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent 1.6%, transparent 98.4%, rgba(255, 255, 255, 0.35)),
    linear-gradient(165deg, var(--ti-hi), var(--ti-mid) 16%, var(--ti-lo) 42%, var(--ti-mid) 72%, var(--ti-hi));
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.4),
    0 0 0 0.5px rgba(0, 0, 0, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.5),
    0 40px 70px -28px rgba(0, 0, 0, 0.95),
    0 90px 150px -60px rgba(0, 0, 0, 0.85);
}
.phone::before, .phone::after { /* buttons: Action and volume on the left; side button and Camera Control on the right */
  --btn: linear-gradient(90deg, var(--ti-lo), var(--ti-hi) 55%, var(--ti-mid));
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; width: 2px;
}
.phone::before {
  left: -2px; border-radius: 2px 0 0 2px;
  background: var(--btn) 0 17.6% / 100% 3.5% no-repeat, var(--btn) 0 27.6% / 100% 7.5% no-repeat, var(--btn) 0 38.4% / 100% 7.5% no-repeat;
}
.phone::after {
  right: -2px; border-radius: 0 2px 2px 0;
  background: var(--btn) 0 32.6% / 100% 14% no-repeat, linear-gradient(90deg, #3a3a3c, #6e6e73) 0 62.9% / 60% 7% no-repeat;
}
.phone-screen {
  position: relative; padding: var(--bez); border-radius: calc(var(--r) - var(--rim)); background: #030303;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 0 3px rgba(0, 0, 0, 0.9);
}
.phone-screen img { display: block; width: 100%; border-radius: calc(var(--r) - var(--rim) - var(--bez)); }
.phone-screen::before { /* Dynamic Island, with the camera on its right */
  content: ""; position: absolute; z-index: 2; left: 50%; translate: -50% 0;
  top: calc(var(--bez) + var(--w) * 0.024); width: calc(var(--w) * 0.268); height: calc(var(--w) * 0.079); border-radius: 999px;
  background: radial-gradient(circle at 80% 50%, #1d2436 0 calc(var(--w) * 0.011), #0a0c11 calc(var(--w) * 0.016), transparent calc(var(--w) * 0.017)), #000;
}
.phone-screen::after { /* glass */
  content: ""; position: absolute; z-index: 3; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 24%, transparent 36%);
}

/* Apple Watch Ultra: titanium case with a raised lip, black glass, crown and guard, side button,
   orange Action button, and a ribbed band that fades out at the ends */
.watch { --w: 210px; position: relative; isolation: isolate; width: var(--w); }
.watch-case {
  position: relative; padding: calc(var(--w) * 0.05) calc(var(--w) * 0.06); border-radius: calc(var(--w) * 0.265);
  background:
    radial-gradient(120% 70% at 28% 0%, rgba(255, 255, 255, 0.4), transparent 55%),
    linear-gradient(155deg, var(--ti-hi), var(--ti-mid) 28%, var(--ti-lo) 58%, var(--ti-mid) 84%, var(--ti-hi));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6), inset 0 -2px 3px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(0, 0, 0, 0.2),
    0 0 0 0.5px rgba(0, 0, 0, 0.9), 0 30px 60px -18px rgba(0, 0, 0, 0.95), 0 60px 110px -40px rgba(0, 0, 0, 0.75);
}
.screen {
  --bez: calc(var(--w) * 0.05);
  position: relative; box-sizing: content-box; aspect-ratio: 410 / 502; padding: var(--bez); overflow: hidden;
  border-radius: calc(var(--w) * 0.205); background: #050505;
  box-shadow: 0 0 0 calc(var(--w) * 0.005) rgba(0, 0, 0, 0.85), 0 0 0 calc(var(--w) * 0.01) rgba(255, 255, 255, 0.22);
}
.screen img {
  position: absolute; top: var(--bez); left: var(--bez); width: calc(100% - 2 * var(--bez)); height: calc(100% - 2 * var(--bez));
  object-fit: cover; border-radius: calc(var(--w) * 0.15);
}
.screen::after { /* glass */
  content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 30%, transparent 44%);
}
.screen[data-screens] img:not(.on) { opacity: 0; }
.motion .screen[data-screens] img { opacity: 0; scale: 1.06; filter: blur(6px); transition: opacity 0.5s var(--ease-out), scale 0.8s var(--ease-out), filter 0.5s var(--ease-out); }
.motion .screen[data-screens] img.on { opacity: 1; scale: 1; filter: blur(0); }
.crown { /* Digital Crown, knurled, in front of its guard */
  position: absolute; right: calc(var(--w) * -0.072); top: 23%; width: calc(var(--w) * 0.08); height: calc(var(--w) * 0.19);
  border-radius: calc(var(--w) * 0.015) calc(var(--w) * 0.028) calc(var(--w) * 0.028) calc(var(--w) * 0.015);
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0 1px, rgba(255, 255, 255, 0.14) 1px 2px, transparent 2px 3px),
    linear-gradient(to bottom, var(--ti-lo), var(--ti-hi) 32%, var(--ti-mid) 62%, var(--ti-lo));
  box-shadow: inset -1px 0 1px rgba(0, 0, 0, 0.45);
}
.crown::before { /* crown guard */
  content: ""; position: absolute; z-index: -1; left: -45%; width: 70%; top: -24%; bottom: -24%;
  border-radius: 0 calc(var(--w) * 0.03) calc(var(--w) * 0.03) 0;
  background: linear-gradient(to bottom, var(--ti-lo), var(--ti-hi) 35%, var(--ti-mid) 65%, var(--ti-lo));
}
.side-btn, .action-btn { position: absolute; z-index: -1; height: calc(var(--w) * 0.23); }
.side-btn {
  right: calc(var(--w) * -0.03); top: 52%; width: calc(var(--w) * 0.045); border-radius: 0 calc(var(--w) * 0.02) calc(var(--w) * 0.02) 0;
  background: linear-gradient(to right, var(--ti-lo), var(--ti-hi) 55%, var(--ti-mid));
}
.action-btn {
  left: calc(var(--w) * -0.03); top: 21%; width: calc(var(--w) * 0.045); border-radius: calc(var(--w) * 0.02) 0 0 calc(var(--w) * 0.02);
  background: linear-gradient(to left, #a83a00, #ff7a2e 50%, #e35a12);
}
.watch.band::before, .watch.band::after {
  content: ""; position: absolute; z-index: -2; left: 15.5%; right: 15.5%; height: 46%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.6), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.6)),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.11) 0 1.5px, rgba(0, 0, 0, 0.55) 1.5px 3px, transparent 3px calc(var(--w) * 0.048)),
    linear-gradient(90deg, var(--band-lo), var(--band-hi) 30%, var(--band-hi) 70%, var(--band-lo));
}
.watch.band::before {
  bottom: 86%; border-radius: calc(var(--w) * 0.06) calc(var(--w) * 0.06) 0 0;
  -webkit-mask-image: linear-gradient(to top, #000 40%, transparent); mask-image: linear-gradient(to top, #000 40%, transparent);
}
.watch.band::after {
  top: 86%; border-radius: 0 0 calc(var(--w) * 0.06) calc(var(--w) * 0.06);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent);
}

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .lead { margin-bottom: 36px; }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--faint); }
.hero-stage { position: relative; height: 700px; perspective: 1400px; }
.hero-stage::before { /* a soft light in the colour of the segment on the watch */
  content: ""; position: absolute; inset: 8% -10% 0 -20%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--tone) 22%, transparent), transparent);
  filter: blur(30px); transition: --tone 0.9s var(--ease-out);
}
.dev { position: absolute; }
.dev-phone { right: 4%; top: 0; }
.dev-watch { left: -24px; bottom: 30px; z-index: 2; }
.dev-watch .watch { --w: 214px; }
.tilt { transform: rotateY(calc(var(--px, 0) * 9deg)) rotateX(calc(var(--py, 0) * -7deg)); transition: transform 0.9s var(--ease-out); transform-style: preserve-3d; }
.dev-watch .tilt { transform: rotateY(calc(var(--px, 0) * 14deg)) rotateX(calc(var(--py, 0) * -10deg)) translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 10px), 0); }
.motion-toggle {
  position: absolute; right: 0; bottom: 0; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: none; place-items: center; border: 1px solid var(--line); background: rgba(22, 22, 24, 0.8); color: var(--muted); cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.motion .motion-toggle { display: grid; }
.motion-toggle:hover { color: var(--text); }
.motion-toggle .play, .paused .motion-toggle .pause { display: none; }
.paused .motion-toggle .play { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hero .w { display: inline-block; animation: word-in 1.1s var(--ease-out) both; animation-delay: calc(100ms + var(--i) * 90ms); }
  .hero [data-enter] { animation: fade-up 1s var(--ease-out) both; animation-delay: var(--d, 0ms); }
  .dev-phone { animation: phone-in 1.5s var(--spring) 0.2s both, float 7s ease-in-out 1.9s infinite; }
  .dev-watch { animation: watch-in 1.5s var(--spring) 0.45s both, float 6s ease-in-out 2.2s infinite reverse; }
  .paused .dev-phone, .paused .dev-watch { animation-play-state: running, paused; }
}
@keyframes word-in { from { opacity: 0; translate: 0 0.32em; filter: blur(14px); } }
@keyframes fade-up { from { opacity: 0; translate: 0 18px; filter: blur(6px); } }
@keyframes phone-in { from { opacity: 0; translate: 40px 90px; rotate: 4deg; } }
@keyframes watch-in { from { opacity: 0; translate: -70px 60px; rotate: -8deg; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-stage { animation: hero-exit linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes hero-exit { to { translate: 0 -90px; opacity: 0.35; } }
  }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 64px; }
  .hero-stage { height: 620px; max-width: 460px; width: 100%; margin: 0 auto; }
  .dev-phone { right: 0; }
  .dev-watch { left: 0; }
}
@media (max-width: 480px) {
  .hero-stage { height: 530px; }
  .dev-phone .phone { --w: 250px; }
  .dev-watch { left: -8px; bottom: 56px; }
  .dev-watch .watch { --w: 180px; }
}

/* The race: a marquee of its order, then the strip, each block as wide as a typical time */
.race { padding: 0 0 clamp(32px, 5vw, 56px); }
.marquee { overflow: hidden; padding: 8px 0 28px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-set { display: flex; align-items: center; flex: none; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -0.035em; line-height: 1.05; white-space: nowrap; }
.marquee-set span { padding: 0 0.3em; }
.marquee-set .k { color: var(--run); }
.marquee-set .t { color: #3a3a3c; transition: color 0.4s; }
.marquee:hover .t { color: var(--text); }
.marquee-set i { width: 0.22em; height: 0.22em; border-radius: 0.06em; background: var(--rox); flex: none; }
.strip { display: flex; gap: 3px; }
.strip i { flex: var(--t) 1 0; height: 16px; border-radius: 4px; transform-origin: left center; }
.strip .r { background: var(--run); }
.strip .s { background: var(--station); }
.strip .x { background: var(--rox); }
.motion .strip i { scale: 0 1; opacity: 0.3; transition: scale 0.55s var(--ease-out), opacity 0.4s; transition-delay: calc(var(--i) * 45ms); }
.motion .strip.in i { scale: 1 1; opacity: 1; }
.strip-legend { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-top: 18px; font-size: 15px; color: var(--muted); }
.clock { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--time); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; margin-right: 10px; }
.key { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }
.key .r::before { background: var(--run); }
.key .s::before { background: var(--station); }
.key .x::before { background: var(--rox); }

/* On the watch: a race you can run yourself (js/race-demo.js draws the watch screens) */
.demo-head { text-align: center; max-width: 800px; margin: 0 auto; }
.demo-head .lead { margin: 18px auto 0; }
.demo-stage { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "left watch right" "controls controls controls"; gap: 8px 40px; align-items: center; margin-top: 16px; }
.callouts-left { grid-area: left; } .callouts-right { grid-area: right; } .demo-watch { grid-area: watch; } .demo-controls { grid-area: controls; }
.demo-watch { display: grid; justify-items: center; }
.demo-watch .watch { --w: 300px; margin: 100px 36px 96px; }
.demo-note { color: var(--faint); }
.callouts { display: grid; gap: 16px; }
.callout { padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--raised); transition: border-color 0.3s, background-color 0.3s, translate 0.5s var(--spring); }
.callout h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 4px; }
.callout p { margin: 0; color: var(--muted); font-size: 15px; }
.callout.lit { border-color: rgba(255, 255, 255, 0.55); background: #19191b; translate: 0 -4px; }
@media (prefers-reduced-motion: reduce) { .callout.lit { translate: none; } }
.key-dot { width: 10px; height: 10px; border-radius: 50%; }
.hot { display: none; position: absolute; z-index: 3; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.demo.is-live .hot { display: block; }
.hot-action { left: calc(var(--w) * -0.075); top: 19%; width: calc(var(--w) * 0.11); height: calc(var(--w) * 0.28); }
.hot-crown { right: calc(var(--w) * -0.12); top: 19%; width: calc(var(--w) * 0.14); height: calc(var(--w) * 0.28); }
.demo .action-btn { transition: translate 0.12s, filter 0.2s; }
.demo .action-btn.pressed { translate: 3px 0; filter: brightness(1.3); }
.motion .demo.is-live:not(.started) .action-btn { animation: action-hint 1.8s ease-in-out infinite; }
@keyframes action-hint { 50% { box-shadow: 0 0 0 4px rgba(255, 122, 46, 0.3), 0 0 22px rgba(255, 122, 46, 0.75); } }
.demo .crown.turned { animation: crown-turn 0.5s var(--ease-out); }
@keyframes crown-turn { from { background-position: 0 -9px, 0 0; } }
.demo.is-live .screen > img { display: none; }
.motion .demo .screen.flash::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: #fff; opacity: 0; animation: press-flash 0.35s ease-out; pointer-events: none; }
@keyframes press-flash { from { opacity: 0.12; } }

.demo-controls { display: none; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-top: 0; padding: 18px 22px; border-radius: 24px; border: 1px solid var(--line); background: var(--raised); }
.demo.is-live .demo-controls { display: grid; }
.press-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px 0 18px; border: 0; border-radius: 999px;
  background: #ff7a2e; color: #1a0a00; font: 700 17px var(--font); cursor: pointer; white-space: nowrap; transition: scale 0.15s, filter 0.2s;
}
.press-btn:hover { filter: brightness(1.08); }
.press-btn:active { scale: 0.96; }
.press-ring { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(26, 10, 0, 0.7); }
.motion .demo-strip i, .demo-strip i { scale: 1 1; opacity: 0.18; transition: opacity 0.25s; height: 12px; border-radius: 3px; }
.demo-strip i.done, .demo-strip i.now { opacity: 1; }
.motion .demo-strip i.now { animation: now-blink 1s ease-in-out infinite; }
@keyframes now-blink { 50% { opacity: 0.45; } }
.demo-status { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.demo-status b { color: var(--text); font-variant-numeric: tabular-nums; }
.demo-side { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ghost-btn { min-height: 44px; padding: 0 16px; white-space: nowrap; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 600 15px var(--font); cursor: pointer; }
.ghost-btn:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.4); }
.ghost-btn:disabled { opacity: 0.4; cursor: default; }
.ghost-btn[hidden] { display: none; }
@media (max-width: 960px) {
  .demo-stage { grid-template-columns: 1fr 1fr; grid-template-areas: "watch watch" "controls controls" "left right"; gap: 14px; }
  .demo-watch .watch { --w: 240px; margin: 84px 0 72px; }
  .demo-controls { grid-template-columns: 1fr; justify-items: stretch; }
  .press-btn { justify-content: center; }
  .demo-side { justify-content: center; }
}
@media (max-width: 560px) { .demo-stage { grid-template-columns: 1fr; grid-template-areas: "watch" "controls" "left" "right"; } }

/* The watch's own screens, in the app's layout. Sizes are in cqw: 1cqw is 1% of the display. */
.wui {
  position: absolute; z-index: 1; top: var(--bez); left: var(--bez); width: calc(100% - 2 * var(--bez)); height: calc(100% - 2 * var(--bez));
  border-radius: calc(var(--w) * 0.15); overflow: hidden; background: #000; color: #fff; container-type: size; line-height: 1.15;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-variant-numeric: tabular-nums;
  -webkit-user-select: none; user-select: none;
}
.wui button { font: inherit; cursor: pointer; }
.wv { position: absolute; inset: 0; display: none; flex-direction: column; padding: 4cqw 4.5cqw 4cqw; }
.wv.on { display: flex; }
.w-top { display: flex; justify-content: space-between; align-items: center; min-height: 9cqw; font-weight: 800; font-size: 6.4cqw; letter-spacing: 0.02em; }
.w-clock { font-weight: 600; font-size: 7cqw; letter-spacing: 0; }
.w-phase { display: inline-flex; align-items: center; gap: 2cqw; color: var(--k, #fff); }
.w-phase i { width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: currentColor; }
.w-strip { display: flex; gap: 0.55cqw; height: 1.8cqw; margin-top: 2cqw; }
.w-strip i { flex: var(--t) 1 0; border-radius: 0.5cqw; opacity: 0.22; }
.w-strip i.r { background: #32d74b; } .w-strip i.s { background: #64d2ff; } .w-strip i.x { background: #ff9f0a; }
.w-strip i.done, .w-strip i.now { opacity: 1; }
.w-dots { position: absolute; right: 1.6cqw; top: 30cqw; display: grid; gap: 1.5cqw; }
.w-dots i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #5a5a5e; }
.w-dots i.on { background: #fff; }

/* Start */
.wv-start { background: radial-gradient(120% 60% at 50% -10%, #12301a, transparent 70%); }
.wv-start .w-top { justify-content: space-between; }
.w-info { display: grid; place-items: center; width: 11cqw; height: 11cqw; border-radius: 50%; background: #2c2c2e; font: 800 6cqw/1 Georgia, serif; font-style: italic; }
.ws-title { margin-top: -1cqw; font-size: 8cqw; font-weight: 600; color: #a1a1a6; }
.ws-card { margin-top: 3cqw; padding: 4cqw 4.5cqw; border-radius: 6cqw; background: #1c1c1e; }
.ws-plan { display: flex; justify-content: space-between; font-size: 5cqw; font-weight: 800; color: #a1a1a6; letter-spacing: 0.03em; }
.ws-goal { display: flex; align-items: baseline; gap: 2.5cqw; margin-top: 1.5cqw; }
.ws-goal small { font-size: 5cqw; font-weight: 800; }
.ws-goal b { font-size: 15cqw; font-weight: 800; color: #ffd60a; letter-spacing: -0.01em; }
.ws-meta { margin-top: 2.5cqw; font-size: 5cqw; color: #a1a1a6; font-weight: 600; line-height: 1.35; }
.ws-start { margin-top: auto; height: 16cqw; border: 0; border-radius: 8cqw; background: #32d74b; color: #000; font-weight: 800; font-size: 8cqw; }

/* Live: run, Roxzone and station */
.wv-live[data-kind="r"] { --k: #32d74b; }
.wv-live[data-kind="x"] { --k: #ff9f0a; }
.wv-live[data-kind="s"] { --k: #64d2ff; }
.wl-time { margin-top: 1cqw; font-size: 24cqw; line-height: 0.95; font-weight: 800; color: #ffd60a; letter-spacing: -0.01em; }
.wv-live[data-kind="x"] .wl-time { font-size: 17cqw; }
.wl-mid { display: none; }
.wv-live[data-kind="r"] .wl-run, .wv-live[data-kind="x"] .wl-rox, .wv-live[data-kind="s"] .wl-station { display: block; }
.wl-run { margin-top: 2.5cqw; }
.wl-run b { font-size: 15cqw; font-weight: 800; }
.wl-run small, .wl-station small { margin-left: 1.5cqw; font-size: 6cqw; font-weight: 800; }
.wl-rox { margin-top: 1.5cqw; }
.wl-rox small { display: block; font-size: 6cqw; font-weight: 800; color: #64d2ff; }
.wv-live[data-next="r"] .wl-rox small, .wv-live[data-next="r"] .wl-rox b { color: #32d74b; }
.wl-rox b { display: block; margin-top: 0.5cqw; font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-stretch: condensed; font-weight: 900; color: #64d2ff; white-space: nowrap; line-height: 1; font-size: min(16cqw, calc(150cqw / var(--len, 9))); letter-spacing: -0.01em; }
.wl-station { margin-top: 2.5cqw; }
.wl-station b { font-size: 15cqw; font-weight: 800; }
.wl-station small { color: #64d2ff; }
.wv-live.over .wl-station small, .wv-live.over .wl-station b { color: #ff453a; }
.wl-bar { height: 3.6cqw; margin-top: 2cqw; border-radius: 2cqw; background: #2c2c2e; overflow: hidden; }
.wl-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #64d2ff; }
.wv-live.over .wl-bar i { background: #ff453a; }
.wl-delta { display: flex; align-items: baseline; justify-content: center; gap: 2cqw; margin-top: auto; padding: 2.4cqw 0; border-radius: 3.6cqw; color: #000; font-weight: 800; }
.wl-delta b { font-size: 11cqw; line-height: 1; }
.wl-delta .da { font-size: 6.5cqw; }
.wl-delta .dw { font-size: 5.6cqw; letter-spacing: 0.02em; }
.wl-delta[data-state="behind"] { background: #ff453a; }
.wl-delta[data-state="ahead"] { background: #32d74b; }
.wl-delta[data-state="on"] { background: #3a3a3c; color: #fff; padding: 4.6cqw 0; }
.wl-nudge { display: none; flex: 1; margin-top: 2.5cqw; flex-direction: column; align-items: center; justify-content: center; gap: 1.5cqw; border-radius: 4cqw; color: #000; text-align: center; }
.wl-nudge b { font-size: 12cqw; font-weight: 900; line-height: 1; }
.wl-nudge span { font-size: 5.4cqw; font-weight: 800; }
.wv-live[data-nudge] .wl-nudge { display: flex; }
.wv-live[data-nudge] .wl-mid, .wv-live[data-nudge] .wl-delta { display: none; }
.wv-live[data-nudge="slow"] .wl-nudge { background: #ff453a; }
.wv-live[data-nudge="fast"] .wl-nudge { background: #32d74b; }
.wl-next { margin-top: 2.6cqw; height: 15cqw; border: 0; border-radius: 7.5cqw; font-weight: 800; font-size: 6.4cqw; }
.wv-live[data-next="x"] .wl-next { background: #3a2605; color: #ff9f0a; }
.wv-live[data-next="s"] .wl-next { background: #0f2838; color: #64d2ff; }
.wv-live[data-next="r"] .wl-next { background: #0d2b14; color: #32d74b; }
.wv-live[data-next="f"] .wl-next { background: #ffd60a; color: #000; }

/* Splits */
.wsp-rows { display: grid; gap: 1.6cqw; margin-top: 2cqw; }
.wsp-row { display: flex; align-items: center; gap: 2.4cqw; height: 12.6cqw; padding: 0 3cqw; border-radius: 3.4cqw; background: #1c1c1e; font-size: 6.2cqw; font-weight: 800; }
.wsp-row i { flex: none; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; }
.wsp-row.r i { background: #32d74b; } .wsp-row.s i { background: #64d2ff; } .wsp-row.x i { background: #ff9f0a; }
.wsp-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsp-row em { width: 14cqw; text-align: right; font-style: normal; font-size: 5cqw; color: #8e8e93; }
.wsp-row em.bad { color: #ff453a; } .wsp-row em.good { color: #32d74b; }
.wsp-empty { margin: 8cqw 2cqw 0; font-size: 6cqw; font-weight: 600; color: #8e8e93; }

/* Totals */
.wt-time { margin-top: 1cqw; font-size: 17cqw; line-height: 1; font-weight: 800; color: #ffd60a; }
.wt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw 3cqw; margin: 3cqw 0 0; }
.wt-grid div { min-width: 0; }
.wt-grid dt { font-size: 4.6cqw; font-weight: 800; color: #c7c7cc; letter-spacing: 0.02em; white-space: nowrap; }
.wt-grid dd { margin: 0.4cqw 0 0; font-size: 8.4cqw; font-weight: 700; white-space: nowrap; }

/* Spotlight cards: a soft light follows the pointer, and the border catches it. */
.spot { position: relative; isolation: isolate; transition: translate 0.5s var(--spring), border-color 0.3s; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.spot::before { z-index: -1; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.07), transparent 60%); }
.spot::after {
  inset: -1px; padding: 1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.45), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@media (hover: hover) and (pointer: fine) {
  .spot:hover::before, .spot:hover::after { opacity: 1; }
  .motion .spot:hover { translate: 0 -4px; }
}

/* Feature rows */
.alt { background: var(--raised); border-top: 1px solid #1a1a1c; border-bottom: 1px solid #1a1a1c; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.ticks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li strong { color: var(--text); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 6px;
  border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg);
}
.duo { position: relative; height: 700px; }
.duo .phone { position: absolute; --w: 290px; }
.duo .phone:nth-child(1) { left: 4%; top: 0; z-index: 1; }
.duo .phone:nth-child(2) { right: 4%; top: 80px; }
.solo { position: relative; display: flex; justify-content: center; }
.chip {
  position: absolute; z-index: 2; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px;
  background: rgba(28, 28, 30, 0.78); border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8); font-size: 14px; color: var(--muted); white-space: nowrap;
}
.chip b { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.chip .ahead { color: var(--run); }
.chip .behind { color: var(--behind); }
.chip-a { left: 0; top: 22%; }
.chip-b { right: 0; top: 58%; }
.chip-c { right: -2%; top: 40%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-parallax] { animation: parallax linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes parallax { from { translate: 0 calc(var(--speed, 40) * 1px); } to { translate: 0 calc(var(--speed, 40) * -1px); } }
  }
}
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 64px; }
  .feature.flip .feature-text { order: 0; }
  .duo { max-width: 520px; width: 100%; margin: 0 auto; }
  .solo { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .duo { height: 580px; }
  .duo .phone { --w: 230px; }
  .duo .phone:nth-child(1) { left: -4px; }
  .duo .phone:nth-child(2) { right: -4px; top: 90px; }
  .chip { padding: 10px 14px; font-size: 13px; }
  .chip b { font-size: 18px; }
  .chip-a { left: -6px; }
  .chip-b, .chip-c { right: -6px; }
}

.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 36px; }
.mini h3 { font-size: 17px; margin-bottom: 4px; }
.mini p { margin: 0; color: var(--muted); font-size: 15px; }
.note { margin: 32px 0 0; font-size: 15px; color: var(--faint); }
@media (max-width: 480px) { .mini { grid-template-columns: 1fr; } }

/* Details grid */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; }
.tile h3 { font-size: 19px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* Privacy */
.privacy-card {
  display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: start;
  padding: clamp(32px, 5vw, 60px); border-radius: 30px; border: 1px solid var(--line);
  background: linear-gradient(160deg, #141416, #0a0a0b);
}
.privacy-card .lead { margin-top: 16px; }
.lock { width: 64px; height: 64px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; }
.privacy-card .text-link { margin-top: 18px; color: var(--text); }
@media (max-width: 640px) { .privacy-card { grid-template-columns: 1fr; } }

/* FAQ, with the open and close animated where the browser can size to "auto" */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  transition: color 0.2s;
}
summary:hover { color: #fff; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--muted), var(--muted)) center / 14px 2px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 2px 14px no-repeat;
  transition: rotate 0.4s var(--spring);
}
details[open] summary::after { rotate: 135deg; }
details::details-content { block-size: 0; overflow: clip; transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete; }
details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { summary::after, details::details-content { transition: none; } }
details p { margin: 0 0 22px; color: var(--muted); max-width: 40em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* Download */
.download { text-align: center; padding-bottom: clamp(100px, 12vw, 160px); position: relative; overflow: clip; }
.download::before {
  content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 120vw); aspect-ratio: 1; translate: -50% -30%; z-index: -1;
  background: radial-gradient(closest-side, rgba(50, 215, 75, 0.12), rgba(100, 210, 255, 0.07) 45%, transparent 70%);
}
.icon-tile {
  width: 132px; height: 132px; margin: 0 auto 36px; border-radius: 30px; display: grid; place-items: center;
  background: linear-gradient(#262a31, #050607); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -10px rgba(0, 0, 0, 0.8);
}
.eight { width: 54px; height: auto; overflow: visible; }
.eight .lap { fill: none; stroke-width: 100; }
.eight .run { stroke: var(--run); }
.eight .station { stroke: var(--station); }
.motion .eight .lap { stroke-dasharray: 100 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-out); }
.motion .eight .station { transition-delay: 0.45s; }
.motion .eight.in .lap { stroke-dashoffset: 0; }
.download h2 { max-width: 12em; margin: 0 auto; }
.download .lead { margin: 18px auto 40px; }
.download .store { justify-content: center; }
.qr { margin: 40px auto 0; display: inline-flex; align-items: center; gap: 18px; padding: 14px 22px 14px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--raised); text-align: left; font-size: 15px; color: var(--muted); }
.qr img { width: 92px; height: 92px; padding: 8px; border-radius: 10px; background: #fff; }
.qr strong { display: block; color: var(--text); }
@media (pointer: coarse) { .qr { display: none !important; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 max(40px, env(safe-area-inset-bottom)); font-size: 15px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.footer-cols h2 { margin: 0 0 8px; font: 600 13px/1.4 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: var(--text); text-decoration: underline; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #1c1c1e; font-size: 13px; color: var(--faint); }
.legal p { margin: 0 0 6px; }

/* Scroll reveals (js/site.js adds "in"). Staggered children set --d. */
.motion [data-reveal] { opacity: 0; translate: 0 32px; filter: blur(10px); transition: opacity 0.9s var(--ease-out), translate 1.2s var(--spring), filter 0.9s var(--ease-out); transition-delay: var(--d, 0ms); }
.motion [data-reveal].in { opacity: 1; translate: 0 0; filter: blur(0); }

@media (prefers-contrast: more) {
  :root { --muted: #d1d1d6; --faint: #aeaeb2; --line: #48484a; }
  .marquee-set .t { color: #8e8e93; }
}
