/* Zone2 Engine site: "Pulse" tokens, mirrored from the app's Theme.swift */
:root {
  --bg: #000;
  --bg-2: #0a0a0c;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #8e8e93;
  --accent: #30e0a1;
  --accent-alt: #3adcf5;
  --heart: #ff375f;
  --z1: #7fa7ff;
  --z2: #30e0a1;
  --z3: #ffd60a;
  --z4: #ff9f0a;
  --z5: #ff453a;
  --grad: linear-gradient(100deg, var(--accent), var(--accent-alt));
  --intel: conic-gradient(from var(--spin, 0deg), #5e5ce6, #bf5af2, #ff6482, #ff9f0a, #30e0a1, #3adcf5, #5e5ce6);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }

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

/* type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow svg { width: 16px; height: 16px; }
.eyebrow.intel { background: linear-gradient(90deg, #bf5af2, #ff6482, #ff9f0a, #30e0a1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow.intel svg { color: #ff6482; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.05; font-weight: 700; }
h1 { font-size: clamp(44px, 7.4vw, 92px); letter-spacing: -.04em; }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: 22px; letter-spacing: -.01em; line-height: 1.2; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 40ch; margin: 18px 0 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
p { margin: 0 0 1em; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; min-height: 44px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 10px 12px; border-radius: 10px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 17px var(--font); text-decoration: none; cursor: pointer;
  color: #00140c; background: var(--grad);
  box-shadow: 0 10px 40px -10px rgba(48, 224, 161, .6), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(48, 224, 161, .75), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 15px; color: #00140c !important; }
.btn.ghost { background: rgba(255, 255, 255, .08); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.note { font-size: 14px; color: var(--faint); }

/* aurora */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -12vw; top: -18vw; background: radial-gradient(circle, rgba(48, 224, 161, .55), transparent 65%); }
.aurora i:nth-child(2) { width: 44vw; height: 44vw; right: -10vw; top: 4vw; background: radial-gradient(circle, rgba(58, 220, 245, .45), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; top: 30vw; background: radial-gradient(circle, rgba(94, 92, 230, .35), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(6vw, 4vw, 0) scale(1.15); } }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; 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 baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* hero */
.hero { position: relative; overflow: clip; padding: 140px 0 80px; min-height: 100svh; display: flex; align-items: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(transparent, var(--bg)); z-index: 1; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 .line { display: block; }
.hero .lede { max-width: 34ch; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; margin-bottom: 26px;
  border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14px; color: var(--muted); text-decoration: none;
}
.pill b { padding: 3px 9px; border-radius: 999px; background: var(--grad); color: #00140c; font-size: 12px; letter-spacing: .04em; }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.hero-stage .ring-halo {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: conic-gradient(from 200deg, transparent 0 20%, rgba(48, 224, 161, .5), rgba(58, 220, 245, .4), transparent 60%);
  filter: blur(40px); animation: spin 14s linear infinite; opacity: .7;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) {
  .hero { padding-top: 110px; min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-stage { min-height: 560px; }
  .hero-stage .ring-halo { width: 380px; height: 380px; }
}

/* phone frame */
.phone {
  --w: 300px;
  position: relative; width: var(--w); aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--w) * .16); padding: calc(var(--w) * .035);
  background: linear-gradient(145deg, #3a3a3c, #121214 40%, #2c2c2e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 100px -30px rgba(0, 0, 0, .9), 0 30px 60px -40px rgba(48, 224, 161, .5);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .13); background: #000; }
.phone.lg { --w: 320px; }
.phone.sm { --w: 240px; }
@media (max-width: 520px) { .phone.lg { --w: 270px; } }

/* floating chips around the hero phone */
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 18px;
  background: rgba(28, 28, 30, .72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -20px rgba(0, 0, 0, .8);
  font-size: 14px; white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.chip small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.chip strong { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.chip .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.chip .dot svg { width: 18px; height: 18px; }
.chip.hr { left: -4%; top: 22%; }
.chip.hr .dot { background: rgba(255, 55, 95, .18); color: var(--heart); }
.chip.hr .dot svg { animation: beat 1s ease-in-out infinite; }
.chip.zone { right: -2%; top: 52%; animation-delay: -2s; }
.chip.zone .dot { background: rgba(48, 224, 161, .18); color: var(--accent); }
.chip.ai { left: 2%; bottom: 10%; animation-delay: -4s; }
.chip.ai .dot { background: var(--intel); color: #fff; animation: rot 6s linear infinite; }
@keyframes rot { to { --spin: 360deg; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
@media (max-width: 520px) {
  .chip { padding: 9px 12px; font-size: 12px; }
  .chip strong { font-size: 16px; }
  .chip .dot { width: 28px; height: 28px; }
  .chip.hr { left: 0; }
  .chip.zone { right: 0; }
  .chip.ai { left: 4%; bottom: 4%; }
}

/* zone strip under the hero copy */
.zone-strip { display: flex; gap: 4px; margin-top: 40px; max-width: 420px; height: 10px; }
.zone-strip i { flex: 1; border-radius: 99px; transform-origin: left; animation: grow 1.2s var(--ease) both; }
.zone-strip i:nth-child(2) { flex: 3; box-shadow: 0 0 20px var(--z2); }
.zone-strip i:nth-child(1) { background: var(--z1); animation-delay: .5s; }
.zone-strip i:nth-child(2) { background: var(--z2); animation-delay: .6s; }
.zone-strip i:nth-child(3) { background: var(--z3); animation-delay: .7s; }
.zone-strip i:nth-child(4) { background: var(--z4); animation-delay: .8s; }
.zone-strip i:nth-child(5) { background: var(--z5); animation-delay: .9s; }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } }
@media (max-width: 960px) { .zone-strip { margin-inline: auto; } }

/* photo marquee */
.marquee { position: relative; overflow: hidden; padding: 20px 0 10px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scroll 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(calc(-50% - 8px)); } }
.tile {
  position: relative; width: clamp(240px, 26vw, 340px); aspect-ratio: 3 / 4; flex: none;
  border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .85)); }
.tile figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.tile figcaption small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.tile figcaption span { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }

/* sections */
section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }
.sec-head h2 { margin-top: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.stage { position: relative; display: grid; place-items: center; min-height: 480px; }
.glow-bg { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: -1; }

/* zone explainer */
.zones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.zone-btn {
  position: relative; padding: 18px 16px 16px; text-align: left; cursor: pointer;
  border-radius: var(--r-md); border: 0; background: var(--surface); color: var(--text); font: inherit;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s, background .3s; min-height: 44px;
}
.zone-btn::before { content: ""; display: block; height: 6px; border-radius: 99px; background: var(--c); margin-bottom: 14px; opacity: .55; transition: opacity .3s; }
.zone-btn b { display: block; font-size: 15px; }
.zone-btn span { font-size: 13px; color: var(--muted); }
.zone-btn:hover { transform: translateY(-3px); }
.zone-btn[aria-selected="true"] { background: color-mix(in srgb, var(--c) 14%, var(--surface)); box-shadow: inset 0 0 0 1.5px var(--c), 0 18px 40px -20px var(--c); }
.zone-btn[aria-selected="true"]::before { opacity: 1; box-shadow: 0 0 16px var(--c); }
.zone-panel {
  margin-top: 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl);
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c, var(--z2)) 22%, transparent), transparent 60%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  transition: background .5s var(--ease);
}
.zone-panel .big { font-size: clamp(56px, 8vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--c, var(--z2)); transition: color .4s; }
.zone-panel h3 { font-size: 26px; margin-bottom: 8px; }
.zone-panel p { color: var(--muted); margin: 0; max-width: 52ch; }
.zone-panel .stat { text-align: right; }
.zone-panel .stat small { display: block; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.zone-panel .stat strong { font-size: 28px; font-variant-numeric: tabular-nums; }
.zone-panel.swap > * { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 760px) {
  .zones { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .zone-btn { padding: 12px 8px; text-align: center; }
  .zone-btn span { display: none; }
  .zone-panel { grid-template-columns: 1fr; gap: 12px; }
  .zone-panel .stat { text-align: left; }
}

/* feature list */
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.ticks li b { color: var(--text); font-weight: 600; }
.ticks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 8px; background: rgba(48, 224, 161, .14); color: var(--accent); margin-top: 1px; }

/* AI plan card */
.coach-card {
  position: relative; border-radius: var(--r-xl); padding: 2px; margin-top: 32px; max-width: 460px;
  background: var(--intel); animation: rot 8s linear infinite;
}
.coach-card::before { content: ""; position: absolute; inset: -10px; border-radius: inherit; background: inherit; filter: blur(28px); opacity: .45; z-index: -1; }
.coach-inner { border-radius: calc(var(--r-xl) - 2px); background: #0c0c0e; padding: 22px 22px 14px; }
.coach-inner header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.coach-inner header span { font-size: 13px; color: var(--muted); }
.plan-row {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 0;
  border-top: 1px solid var(--line); opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.in .plan-row { opacity: 1; transform: none; }
.in .plan-row:nth-child(2) { transition-delay: .25s; }
.in .plan-row:nth-child(3) { transition-delay: .45s; }
.in .plan-row:nth-child(4) { transition-delay: .65s; }
.in .plan-row:nth-child(5) { transition-delay: .85s; }
.in .plan-row:nth-child(6) { transition-delay: 1.05s; }
.plan-row .day { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.plan-row .what b { display: block; font-size: 16px; }
.plan-row .what span { font-size: 13px; color: var(--muted); }
.plan-row .state { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; }
.state.done { background: rgba(48, 224, 161, .16); color: var(--accent); }
.state.today { background: var(--grad); color: #00140c; }
.state.up { background: rgba(255, 255, 255, .08); color: var(--muted); }
.typing { min-height: 1.5em; font-size: 15px; color: var(--text); }
.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; vertical-align: -2px; margin-left: 2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* live coaching phones */
.trio { display: flex; justify-content: center; align-items: center; gap: 0; perspective: 1400px; }
.trio .phone { transition: transform 1s var(--ease); }
.trio .phone:nth-child(1) { transform: translateX(40px) rotateY(18deg) scale(.86); z-index: 1; }
.trio .phone:nth-child(2) { z-index: 2; }
.trio .phone:nth-child(3) { transform: translateX(-40px) rotateY(-18deg) scale(.86); z-index: 1; }
.trio.in .phone:nth-child(1) { transform: translateX(10px) rotateY(10deg) scale(.88); }
.trio.in .phone:nth-child(3) { transform: translateX(-10px) rotateY(-10deg) scale(.88); }
.trio-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cue { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cue h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 6px; color: var(--c); }
.cue h3 svg { width: 22px; height: 22px; }
.cue p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .trio .phone:nth-child(1), .trio .phone:nth-child(3) { display: none; }
  .trio-labels { grid-template-columns: 1fr; }
}

/* weekly ring */
.ring-wrap { position: relative; width: min(380px, 80vw); aspect-ratio: 1; }
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-wrap .track { stroke: rgba(48, 224, 161, .14); }
.ring-wrap .fill { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); filter: drop-shadow(0 0 14px rgba(48, 224, 161, .55)); }
.ring-wrap.in .fill { stroke-dashoffset: calc(1 - var(--p)); }
.ring-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-center strong { font-size: clamp(64px, 10vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.ring-center span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.days { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.days div { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.days i { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--d) * 1%), rgba(48, 224, 161, .14) 0); -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; max-width: 520px; }
.stat-tile { padding: 18px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.stat-tile strong { display: block; font-size: 30px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-tile span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* devices */
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.device {
  position: relative; min-height: 420px; border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; background: var(--surface); isolation: isolate; transition: transform .5s var(--ease);
}
.device:hover { transform: translateY(-6px); }
.device img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.device:hover img { transform: scale(1.07); }
.device::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .9) 75%); }
.device .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.device .ico svg { width: 22px; height: 22px; }
.device h3 { margin-bottom: 8px; }
.device p { color: #d1d1d6; font-size: 15px; margin: 0; }
.device .tag { position: absolute; top: 20px; left: 20px; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 99px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 1000px) { .devices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .devices { grid-template-columns: 1fr; } .device { min-height: 340px; } }

/* privacy band */
.privacy-band {
  border-radius: var(--r-xl); padding: clamp(32px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 120% at 100% 0%, rgba(58, 220, 245, .18), transparent 60%), radial-gradient(70% 100% at 0% 100%, rgba(48, 224, 161, .16), transparent 60%), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.privacy-grid div svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: 14px; }
.privacy-grid h3 { font-size: 19px; margin-bottom: 6px; }
.privacy-grid p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 800px) { .privacy-grid { grid-template-columns: 1fr; } }

/* screens gallery */
.gallery { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px var(--gutter) 40px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: center; flex: none; }
.gallery figcaption { text-align: center; margin-top: 18px; font-size: 15px; color: var(--muted); }
.gallery figcaption b { display: block; color: var(--text); font-size: 17px; }
.gal-ctrl { display: flex; justify-content: center; gap: 10px; }
.gal-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: var(--surface-2); color: var(--text); display: grid; place-items: center; transition: background .2s, transform .2s var(--ease); }
.gal-ctrl button:hover { background: #3a3a3c; }
.gal-ctrl button:active { transform: scale(.94); }
.gal-ctrl svg { width: 20px; height: 20px; }

/* pricing */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin-inline: auto; }
.price { border-radius: var(--r-xl); padding: 36px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.price.pro { position: relative; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 80px -40px rgba(48, 224, 161, .6); }
.price h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price .amt { font-size: 56px; font-weight: 800; letter-spacing: -.04em; margin: 12px 0 4px; line-height: 1; }
.price .amt small { font-size: 18px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price .alt { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.price .ticks { margin-top: 10px; }
.badge { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: var(--grad); color: #00140c; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } .price { padding: 28px; } }

/* faq */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 19px; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 300; color: var(--accent); transition: transform .35s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; margin: 0; max-width: 64ch; animation: swap .4s var(--ease); }

/* final cta */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: 560px; display: grid; place-items: center; text-align: center; padding: 60px 24px; isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 30s ease-in-out infinite alternate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 50% 50%, rgba(0, 0, 0, .35), rgba(0, 0, 0, .85)); }
.cta .lede { margin-inline: auto; color: #e5e5ea; }
.cta .btn-row { justify-content: center; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.18) translate(-2%, -2%); } }

/* footer */
footer.site { padding: 48px 0 56px; border-top: 1px solid var(--line); margin-top: 80px; font-size: 14px; color: var(--faint); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer.site a { text-decoration: none; color: var(--muted); padding: 10px 0; display: inline-block; }
footer.site a:hover { color: var(--text); }
.disclaimer { width: 100%; font-size: 12px; color: var(--faint); margin: 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.1s; }

/* legal pages */
.legal-hero { position: relative; padding: 150px 0 60px; overflow: hidden; isolation: isolate; }
.legal-hero h1 { font-size: clamp(44px, 6vw, 72px); margin-top: 14px; }
.legal-hero .lede { max-width: 56ch; }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 64px; padding-bottom: 40px; }
.toc { position: sticky; top: 90px; align-self: start; font-size: 14px; }
.toc b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.toc a { display: block; padding: 7px 0 7px 14px; text-decoration: none; color: var(--muted); border-left: 2px solid var(--line); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.active { color: var(--text); border-color: var(--accent); }
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; letter-spacing: -.02em; margin: 56px 0 16px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: #c7c7cc; }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.callout { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: rgba(48, 224, 161, .08); box-shadow: inset 0 0 0 1px rgba(48, 224, 161, .25); margin: 0 0 32px; }
.callout svg { flex: none; width: 26px; height: 26px; color: var(--accent); }
.callout p { margin: 0; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 24px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--faint); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.prose td { color: #c7c7cc; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.help-card { padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.help-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2); }
.help-card svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 14px; }
.help-card h3 { font-size: 18px; margin-bottom: 6px; }
.help-card p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: none; }
  .help-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
[id] { scroll-margin-top: 72px; }
/* centre the screenshot row when it fits; scroll from the first item when it doesn't */
.gallery > :first-child { margin-left: auto; }
.gallery > :last-child { margin-right: auto; }
.gal-ctrl[hidden] { display: none; }

/* Apple Watch frames */
.watches { display: flex; gap: clamp(20px, 3vw, 40px); justify-content: center; align-items: center; padding: 10px var(--gutter) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.watches::-webkit-scrollbar { display: none; }
.watches > :first-child { margin-left: auto; }
.watches > :last-child { margin-right: auto; }
.watches figure { margin: 0; flex: none; scroll-snap-align: center; text-align: center; }
.watches figcaption { margin-top: 18px; font-size: 15px; color: var(--muted); }
.watches figcaption b { display: block; color: var(--text); font-size: 17px; }
.watch {
  --w: 200px;
  position: relative; width: var(--w); aspect-ratio: 416 / 496; padding: calc(var(--w) * .07);
  border-radius: calc(var(--w) * .27);
  background: linear-gradient(150deg, #48484c, #18181a 45%, #2e2e31);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 70px -30px rgba(0, 0, 0, .9), 0 24px 60px -36px rgba(48, 224, 161, .55);
  animation: float 7s ease-in-out infinite;
}
.watches figure:nth-child(2) .watch { animation-delay: -1.5s; }
.watches figure:nth-child(3) .watch { animation-delay: -3s; }
.watches figure:nth-child(4) .watch { animation-delay: -4.5s; }
.watch::after { /* digital crown */
  content: ""; position: absolute; right: -7px; top: 26%; width: 8px; height: 18%;
  border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #2c2c2e, #6b6b70);
}
.watch img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .2); background: #000; }
.watch.lg { --w: 250px; }
@media (max-width: 560px) { .watch { --w: 170px; } .watch.lg { --w: 200px; } .watches { justify-content: flex-start; } }
