/* Napr. One dark palette, one accent, the app's own screens. */

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

:root {
  --bg: #000;
  --raise: #0f0f10;
  --field: #161617;
  --text: #f5f5f7;
  --text-2: #86868b;
  --hair: rgba(255, 255, 255, 0.14);
  --amber: #f5a85c;
  --amber-down: #e3964c;
  --on-amber: #000;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --wide: 1120px;
  --narrow: 980px;
  --gutter: 22px;
  --nav-h: 52px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.47 var(--font);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  overflow-x: clip;
}

a { color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  background: var(--text); color: #000; font-size: 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

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

/* ---------- Type ---------- */

.display, h1, h2, h3 { font-family: var(--font-display); margin: 0; }

h1 {
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -0.016em;
  color: var(--text-2);
  text-wrap: pretty;
}
.lede strong, .copy strong { color: var(--text); font-weight: inherit; }
.copy { color: var(--text-2); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.47; text-wrap: pretty; }
.dimmed { color: var(--text-2); }
.fine { font-size: 14px; line-height: 1.43; color: var(--text-2); letter-spacing: -0.008em; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: rgba(255, 255, 255, 0.1); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em;
  text-decoration: none;
}
.brand svg { width: 17px; height: 17px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 12px; letter-spacing: -0.01em; }
.nav-links a:not(.pill) { color: rgba(245, 245, 247, 0.8); text-decoration: none; }
.nav-links a:not(.pill):hover { color: var(--text); }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 28px; padding: 4px 13px;
  border-radius: 980px;
  background: var(--amber); color: var(--on-amber);
  font-size: 12px; font-weight: 500; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s;
}
.pill:hover { background: var(--amber-down); }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(48px, 8vh, 92px); text-align: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); }
.hero h1 span { display: block; }
.hero .lede { max-width: 40ch; margin: 24px auto 0; }
.hero .join { margin-top: 36px; }

.hero-device {
  position: relative;
  margin-top: clamp(40px, 6vh, 72px);
  height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 74%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 74%, transparent);
}
.hero-device .watch { --z: 1.6; }

/* ---------- Waitlist form ---------- */

.join { width: min(100%, 520px); margin-inline: auto; text-align: left; }
.join-row { position: relative; display: flex; gap: 10px; }
.field { position: relative; flex: 1; min-width: 0; }
.field input {
  width: 100%; height: 56px; padding: 22px 16px 6px;
  border: 0; border-radius: 12px; outline: 0;
  background: var(--field); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--hair);
  font: inherit; font-size: 17px; letter-spacing: -0.012em;
  transition: box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus { box-shadow: inset 0 0 0 1.5px var(--amber); }
.field label {
  position: absolute; left: 17px; top: 17px;
  font-size: 17px; line-height: 22px; color: var(--text-2);
  pointer-events: none; transform-origin: left top;
  transition: transform 0.18s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label { transform: translateY(-9px) scale(0.706); }
.join button {
  flex: none; height: 56px; padding: 0 24px;
  border: 0; border-radius: 12px;
  background: var(--amber); color: var(--on-amber);
  font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -0.016em;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}
.join button:hover { background: var(--amber-down); }
.join button:disabled { opacity: 0.6; cursor: default; }
.join .gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-note { margin: 14px 0 0; text-align: center; }
.join-error { margin: 12px 0 0; text-align: center; color: #ff8a80; font-size: 14px; }

.join-done { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 6px 0; }
.join-done svg { width: 44px; height: 44px; }
.join-done .ring { stroke: var(--amber); stroke-width: 2; fill: none; opacity: 0.35; }
.join-done .tick { stroke: var(--amber); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: tick 0.5s 0.15s var(--ease) forwards; }
.join-done p { margin: 0; }
.join-done .done-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.join-done .share {
  margin-top: 6px; padding: 6px 4px; border: 0; background: none;
  color: var(--amber); font: inherit; font-size: 15px; letter-spacing: -0.01em; cursor: pointer;
}
.join-done .share:hover { text-decoration: underline; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(96px, 14vw, 180px); }
.section-head { text-align: center; }
.section-head .lede { max-width: 36ch; margin: 22px auto 0; }
.label {
  display: block; margin-bottom: 14px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.012em; color: var(--amber);
}

/* ---------- Timeline (why) ---------- */

.timeline { margin-top: clamp(56px, 7vw, 88px); }
.tl-row { display: grid; grid-template-columns: 200px 1fr; align-items: end; gap: 24px; padding-block: 26px; }
.tl-row + .tl-row { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.tl-who { padding-bottom: 2px; }
.tl-who b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.012em; }
.tl-who span { font-size: 14px; color: var(--text-2); }
.tl-track { position: relative; height: 64px; }
.tl-base { position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: rgba(255, 255, 255, 0.12); }
.tl-seg {
  position: absolute; bottom: 0; height: 11px; border-radius: 6px;
  transform-origin: left center;
  transition: transform 0.9s var(--ease);
}
.tl-awake { background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.22) 0 2px, rgba(255,255,255,0.07) 2px 6px); }
.tl-asleep { background: var(--amber); }
.tl-seg-label {
  position: absolute; bottom: 20px;
  font-size: 13px; line-height: 1.2; white-space: nowrap; color: var(--text-2);
  transition: opacity 0.5s;
}
.tl-seg-label.on-sleep { color: var(--amber); font-weight: 600; }
.tl-ring {
  position: absolute; bottom: -6px; width: 1px; height: 52px; background: var(--text);
  transition: opacity 0.4s;
}
.tl-ring span {
  position: absolute; left: 8px; top: -2px;
  font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--text);
}
.tl-axis { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.tl-ticks { position: relative; height: 20px; font-size: 12px; color: #6e6e73; font-variant-numeric: tabular-nums; }
.tl-ticks > span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.tl-ticks > span:first-child { transform: none; }
.tl-ticks > span:last-child { transform: translateX(-100%); }

.js .timeline:not(.play) .tl-seg { transform: scaleX(0); }
.js .timeline:not(.play) .tl-seg-label,
.js .timeline:not(.play) .tl-ring { opacity: 0; }
.timeline.play .tl-row:nth-child(1) .tl-asleep { transition-delay: 0.7s; }
.timeline.play .tl-row:nth-child(2) .tl-awake { transition-delay: 0.25s; }
.timeline.play .tl-row:nth-child(2) .tl-asleep { transition-delay: 0.95s; transition-duration: 1.3s; }
.timeline.play .tl-row:nth-child(1) .tl-seg-label { transition-delay: 1.2s; }
.timeline.play .tl-row:nth-child(1) .tl-ring { transition-delay: 1.4s; }
.timeline.play .tl-row:nth-child(2) .tl-seg-label { transition-delay: 1.9s; }
.timeline.play .tl-row:nth-child(2) .tl-ring { transition-delay: 2.2s; }

/* ---------- Steps (how) ---------- */

.how { padding-top: clamp(24px, 4vw, 56px); overflow: clip; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.how-device {
  position: sticky; top: calc(50vh - 230px + var(--nav-h) / 2);
  height: 460px;
  display: flex; align-items: center; justify-content: center;
  grid-column: 2; grid-row: 1;
}
.how-device .watch { --z: 1.3; }
.steps { grid-column: 1; grid-row: 1; padding-block: 12vh; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; max-width: 440px; }
.step:first-child { min-height: 56vh; }
.step:last-child { min-height: 64vh; }
.step h3 { transition: color 0.4s; }
.step p { margin: 14px 0 0; }
.js .step { color: rgba(245, 245, 247, 0.28); }
.js .step .copy { transition: color 0.4s; }
.js .step:not(.on) .copy { color: rgba(134, 134, 139, 0.4); }
.js .step.on { color: var(--text); }
.step-n { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-2); }
.js .step.on .step-n { color: var(--amber); }

/* ---------- iPhone ---------- */

.phone-section { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.phone-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.phone-copy { max-width: 460px; }
.phone-copy p { margin: 22px 0 0; }
.phone-stage { display: flex; justify-content: center; }
.phone-stage .phone { --z: 0.66; }

/* ---------- Details ---------- */

.details { margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--hair); }
.detail { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--hair); }
.detail dt { font-size: 19px; font-weight: 600; letter-spacing: -0.016em; line-height: 1.32; }
.detail dd { margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.47; max-width: 56ch; text-wrap: pretty; }
.detail dd strong { color: var(--text); font-weight: 500; }

/* ---------- Final call ---------- */

.final { text-align: center; padding-block: clamp(104px, 14vw, 180px) clamp(88px, 11vw, 140px); }
.app-icon {
  width: 104px; height: 104px; margin: 0 auto 28px;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.app-icon svg { width: 100%; height: 100%; }
.final h2 { font-size: clamp(40px, 5.6vw, 64px); }
.final .lede { margin: 14px auto 0; }
.final .join { margin-top: 40px; }

/* ---------- Footer ---------- */

.foot { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 24px 40px; font-size: 12px; line-height: 1.5; color: var(--text-2); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: rgba(245, 245, 247, 0.8); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 0; }
.foot .tm { flex-basis: 100%; color: #6e6e73; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .rise { animation: rise 1.4s 0.1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* ======================================================================
   Devices. Built at the app's real point sizes, then scaled with --z.
   ====================================================================== */

.watch {
  --z: 1;
  zoom: var(--z);
  position: relative;
  width: 234px; height: 278px;
  flex: none;
}
.band {
  position: absolute; left: 50%; width: 176px; margin-left: -88px; height: 210px;
  background: linear-gradient(90deg, #050506 0%, #141518 9%, #1b1c20 30%, #1e1f23 50%, #1b1c20 70%, #141518 91%, #050506 100%);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.07), inset -1px 0 0 rgba(255, 255, 255, 0.07);
  z-index: 0;
}
.band-top { bottom: 236px; -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 92%); mask-image: linear-gradient(to top, #000 20%, transparent 92%); }
.band-bot { top: 236px; -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 92%); mask-image: linear-gradient(to bottom, #000 20%, transparent 92%); }
.band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px;
  background: linear-gradient(90deg, #030304, #0b0b0d 10%, #0e0f11 50%, #0b0b0d 90%, #030304);
}
.band-top::after { bottom: 0; box-shadow: 0 -1px 0 rgba(255,255,255,0.05); }
.band-bot::after { top: 0; box-shadow: 0 1px 0 rgba(255,255,255,0.05); }

.case {
  position: absolute; inset: 0; z-index: 1;
  border-radius: 62px;
  background: conic-gradient(from 210deg at 50% 50%,
    #2b2c31 0deg, #6a6b72 22deg, #2a2b30 52deg, #1b1c20 95deg, #34353b 140deg,
    #1a1b1e 185deg, #45464d 228deg, #1d1e22 270deg, #3a3b41 318deg, #2b2c31 360deg);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.4),
    inset 0 -0.5px 0.5px rgba(255, 255, 255, 0.18),
    0 40px 80px rgba(0, 0, 0, 0.85);
}
.crown {
  position: absolute; z-index: 0; right: -9px; top: 58px;
  width: 14px; height: 50px; border-radius: 5px;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.16) 0 1px, rgba(0,0,0,0.25) 1px 3px),
    linear-gradient(90deg, #2b2c31, #4b4c52 60%, #24252a);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2);
}
.side-btn {
  position: absolute; z-index: 0; right: -4px; top: 140px;
  width: 8px; height: 60px; border-radius: 4px;
  background: linear-gradient(90deg, #1d1e22, #3b3c42 70%, #1d1e22);
}
.glass {
  position: absolute; inset: 6px; z-index: 2;
  border-radius: 56px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 0 0.5px rgba(0, 0, 0, 0.9);
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 28%, rgba(255,255,255,0) 40%);
  z-index: 5;
}

/* Screens, shared */
.scr {
  position: absolute; overflow: hidden; background: #000; color: #fff;
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  -webkit-user-select: none; user-select: none;
}
.watch .scr {
  inset: 12px; border-radius: 42px;
  --display: 46px; --title: 22px; --body: 16px; --caption: 13px;
}
.scr-clock { position: absolute; top: 7px; right: 22px; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.layer {
  position: absolute; inset: 30px 6px 10px;
  display: flex; flex-direction: column;
  transition: opacity 0.45s ease-in-out;
}
.layer.center { align-items: center; text-align: center; }
.layer.off { opacity: 0; }
.sp { flex: 1 1 0; }
.t-disp { font-size: var(--display); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; white-space: pre; }
.t-disp .u { font-size: 0.36em; font-weight: 400; letter-spacing: 0; }
.t-title { font-size: var(--title); font-weight: 400; line-height: 1.2; }
.t-title .u { font-size: 0.6em; }
.t-body { font-size: var(--body); line-height: 1.3; }
.t-cap { font-size: var(--caption); line-height: 1.3; }
.e-sec { color: rgba(255, 255, 255, 0.62); }
.e-dim { color: rgba(255, 255, 255, 0.36); }
.e-amber { color: var(--amber); }
.s-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 40px; padding: 11px 0;
  border-radius: 999px; background: var(--amber); color: #000;
  font-size: var(--body); font-weight: 600; line-height: 1.2;
}
.s-quiet { display: flex; align-items: center; justify-content: center; min-height: 40px; font-size: var(--body); }
.s-stop {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; height: 100%; max-width: 100%; border-radius: 50%;
  background: var(--amber); color: #000;
  font-size: var(--title); font-weight: 600;
}
.stop-wrap { flex: 1 1 0; min-height: 0; display: flex; justify-content: center; }
.w-sleep { display: flex; flex-direction: column; align-items: center; }
.w-wake { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 40px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); }
.dg { display: inline-block; }
.dg.roll { animation: roll 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes roll { from { transform: translateY(-0.4em); opacity: 0; filter: blur(1.5px); } to { transform: none; opacity: 1; filter: none; } }
.stop-pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 8% { transform: scale(0.965); } 16% { transform: scale(1); } 24% { transform: scale(0.965); } 32% { transform: scale(1); } }

/* iPhone */
.phone {
  --z: 1;
  zoom: var(--z);
  position: relative;
  width: 417px; height: 876px;
  flex: none;
  border-radius: 68px;
  background: #050505;
  box-shadow:
    0 0 0 2px #2a2a2d,
    0 0 0 3.5px #4a4a4f,
    0 0 0 5px #1a1a1c,
    0 60px 120px rgba(0, 0, 0, 0.8);
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: 5px; border-radius: 3px;
  background: linear-gradient(90deg, #2c2c30, #55555a);
}
.phone::before { left: -8px; top: 190px; height: 64px; box-shadow: 0 84px 0 #3a3a3e; }
.phone::after { right: -8px; top: 250px; height: 100px; background: linear-gradient(90deg, #55555a, #2c2c30); }
.phone .scr {
  inset: 12px; border-radius: 56px;
  --display: 84px; --title: 34px; --body: 17px; --caption: 15px;
}
.island { position: absolute; top: 11px; left: 50%; width: 125px; height: 37px; margin-left: -62.5px; border-radius: 20px; background: #000; z-index: 3; box-shadow: inset 0 0 0 1px #0d0d0d; }
.p-clock { position: absolute; top: 17px; left: 34px; width: 80px; text-align: center; font-size: 17px; font-weight: 600; }
.p-batt { position: absolute; top: 21px; right: 30px; }
.home-ind { position: absolute; bottom: 8px; left: 50%; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgba(255, 255, 255, 0.8); }
.phone .layer { inset: 59px 24px 46px; }
.p-value { display: flex; flex-direction: column; gap: 2px; }
.wheel { position: relative; height: 196px; display: flex; justify-content: center; gap: 5px; }
.wheel-band { position: absolute; left: 50%; top: 78px; width: 245px; height: 40px; margin-left: -122.5px; border-radius: 8px; background: rgba(118, 118, 128, 0.24); }
.wcol { position: relative; width: 116px; height: 196px; overflow: hidden; perspective: 520px; }
.wrow { position: absolute; left: 0; right: 0; top: 78px; height: 40px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; align-items: baseline; line-height: 40px; backface-visibility: hidden; }
.wrow .n { text-align: right; font-size: 24px; }
.wrow .u { text-align: left; font-size: 17px; color: rgba(255, 255, 255, 0.62); }

/* ---------- Narrow screens ---------- */

@media (max-width: 1068px) {
  .nav-links { gap: 20px; }
  .detail { grid-template-columns: 220px 1fr; }
}

@media (max-width: 834px) {
  .tl-row { grid-template-columns: 1fr; gap: 14px; padding-block: 22px; }
  .tl-axis { grid-template-columns: 1fr; }
  .tl-axis > :first-child { display: none; }

  .how-grid { display: block; }
  .how-device {
    position: sticky; top: var(--nav-h); z-index: 2;
    height: 330px; margin-inline: calc(-1 * var(--gutter));
    background: linear-gradient(#000 86%, rgba(0, 0, 0, 0));
  }
  .how-device .watch { --z: 0.92; }
  .steps { padding-block: 2vh 26vh; }
  .step, .step:first-child, .step:last-child { min-height: 34vh; justify-content: flex-start; padding-top: 2vh; max-width: none; }

  .phone-grid { grid-template-columns: 1fr; gap: 48px; }
  .phone-copy { text-align: center; margin-inline: auto; }
  .phone-stage .phone { --z: 0.56; }

  .detail { grid-template-columns: 1fr; gap: 6px; padding-block: 22px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .nav-links a:not(.pill) { display: none; }
  .hero-device { height: 500px; }
  .hero-device .watch { --z: 1.18; }
  .join-row { flex-direction: column; }
  .join button { width: 100%; }
  .tl-ticks .pm { display: none; }
  .tl-seg-label { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .tl-seg, .tl-seg-label, .tl-ring, .layer, .step h3, .js .step .copy { transition: none !important; }
  .js .timeline:not(.play) .tl-seg { transform: none; }
  .js .timeline:not(.play) .tl-seg-label, .js .timeline:not(.play) .tl-ring { opacity: 1; }
  .dg.roll, .stop-pulse, .join-done .tick, .js .rise { animation: none; }
  .join-done .tick { stroke-dashoffset: 0; }
}
