:root {
  color-scheme: light;
  --cream: #F6F5F0;
  --card: #FFFFFF;
  --hairline: #E3E5DD;
  --divider: #EEF0EA;
  --segment: #E9EBE3;
  --ink: #143127;
  --ink-deep: #0D231B;
  --sage: #516C5B;
  --sage-tint: #E6EDE5;
  --lichen: #D3E0D1;
  --ember: #B8531F;
  --ember-tint: #F6E6DC;
  --ember-deep: #8A3D12;
  --text: #16211F;
  --muted: #5F6B66;
  --tertiary: #9AA39E;
  --positive: #2E6B47;
  --on-ink: #FFFFFF;
  --on-ink-muted: #BFD3C2;
  --on-ink-soft: #DCE7DD;
  --i-easy: #A9C4AD;
  --i-long: #6E9277;
  --i-marathon: #4F7A5E;
  --i-threshold: #143127;
  --i-interval: #B8531F;
  --i-repetition: #7A2E0F;
  --mint: #7ED99A;
  --r-card: 24px;
  --r-hero: 28px;
  --r-group: 22px;
  --r-row: 20px;
  --r-control: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --container: 1120px;
  --shadow-phone: 0 40px 70px -28px rgba(13, 35, 27, .55), 0 14px 28px -14px rgba(13, 35, 27, .35);
  --shadow-card: 0 1px 0 rgba(22, 33, 31, .02), 0 18px 40px -30px rgba(13, 35, 27, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: 84px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
@media (min-width: 640px) { :root { --gutter: 24px; } }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow--on-ink { color: var(--on-ink-muted); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }
.h1 { font-size: clamp(38px, 6.4vw, 68px); letter-spacing: -.035em; line-height: 1.02; }
.h2 { font-size: clamp(30px, 4.2vw, 44px); }
.h3 { font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -.015em; }
.lede { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); max-width: 56ch; }
.lede--on-ink { color: var(--on-ink-soft); }
.num { font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--primary:hover { background: var(--ink-deep); }
.btn--secondary { background: var(--card); color: var(--ink); border-color: var(--hairline); min-height: 50px; }
.btn--ghost-on-ink { background: rgba(255, 255, 255, .08); color: var(--on-ink); border-color: rgba(255, 255, 255, .22); min-height: 50px; }
.btn--ghost-on-ink:hover { background: rgba(255, 255, 255, .14); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 240, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--hairline); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 21px; letter-spacing: -.03em; color: var(--text); text-decoration: none; }
.brand .mark { width: 28px; height: auto; fill: var(--ink); }
.nav { display: none; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav a { font-weight: 500; font-size: 15px; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
@media (min-width: 820px) { .nav { display: flex; } }

/* Hero */
.hero { padding-top: clamp(16px, 3vw, 32px); }
.hero__card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-hero); background: var(--ink); color: var(--on-ink); padding: clamp(40px, 6vw, 88px) clamp(22px, 5vw, 72px) 0; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__media { align-self: end; }
.hero__copy { padding-bottom: clamp(40px, 6vw, 88px); }
.hero__title { color: var(--on-ink); }
.hero__cta { margin-top: 32px; }
.hero__media { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 0; max-height: 380px; overflow: hidden; margin-inline: calc(-1 * clamp(22px, 5vw, 72px)); padding-inline: clamp(22px, 5vw, 72px); }
.hero__media .phone { position: relative; z-index: 1; transform: translateY(10%); }
.hero__media .watch { position: absolute; z-index: 2; right: clamp(8px, 4vw, 48px); bottom: 48px; display: none; }
@media (max-width: 879px) {
  .hero__copy { padding-bottom: 0; }
  .hero__media { align-items: flex-start; max-height: 340px; }
  .hero__media .phone { transform: none; }
}
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 24px; }
  .hero__media { min-height: 560px; max-height: 620px; justify-content: flex-end; padding-right: clamp(24px, 4vw, 56px); }
  .hero__media .phone { transform: translateY(8%); }
  .hero__media .watch { display: block; right: auto; left: clamp(4px, 2vw, 24px); bottom: 28px; }
}
.hills { position: absolute; inset: auto 0 0 0; z-index: -1; width: 100%; height: auto; pointer-events: none; }
.hills path { fill: #fff; }

/* Device frames */
.phone { position: relative; width: clamp(220px, 60vw, 300px); aspect-ratio: 1320 / 2868; padding: 10px; border-radius: 48px; background: #0B0D0C; box-shadow: var(--shadow-phone); flex: none; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 3px; background: #1d211f; }
.phone::before { left: -3px; top: 20%; height: 12%; }
.phone::after { right: -3px; top: 24%; height: 9%; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 39px; background: var(--cream); }
.phone--sm { width: clamp(190px, 46vw, 230px); padding: 8px; border-radius: 38px; }
.phone--sm img { border-radius: 31px; }
.watch { position: relative; width: clamp(150px, 40vw, 190px); flex: none; }
.watch__band { position: absolute; left: 50%; width: 56%; height: 70px; transform: translateX(-50%); background: linear-gradient(180deg, #4E6B5B, #3E5648); }
.watch__band--top { bottom: calc(100% - 22px); border-radius: 22px 22px 6px 6px; }
.watch__band--bottom { top: calc(100% - 22px); border-radius: 6px 6px 22px 22px; }
.watch__case { position: relative; aspect-ratio: 416 / 496; padding: 11px; border-radius: 44px; background: #121413; box-shadow: 0 24px 50px -26px rgba(13, 35, 27, .7), inset 0 0 0 2px #2a2e2c; }
.watch__case::after { content: ""; position: absolute; right: -6px; top: 26%; width: 7px; height: 18%; border-radius: 4px; background: #2a2e2c; }
.watch__case img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; }

/* Download CTA */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta__badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .25s var(--ease); }
.cta__badge:hover { transform: translateY(-2px); }
.cta__badge img { width: 180px; height: auto; }
.cta__soon { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 22px 10px 16px; border-radius: 999px; font-weight: 600; font-size: clamp(15px, 4.2vw, 17px); line-height: 1.2; letter-spacing: -.01em; background: var(--card); color: var(--text); border: 1px solid var(--hairline); text-align: left; cursor: default; user-select: none; }
.cta__soon .mark { flex: none; width: 22px; height: auto; fill: var(--ink); }
.cta__meta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); border: 1px solid var(--hairline); }
.on-ink .cta__meta { color: var(--on-ink-soft); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); }
.on-ink .cta__soon { border-color: transparent; }

/* Value tiles */
.section__title { max-width: 26ch; margin-bottom: clamp(24px, 4vw, 40px); }
.tiles { display: grid; gap: 14px; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.tile { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: clamp(22px, 3vw, 28px); box-shadow: var(--shadow-card); }
.tile .h3 { font-size: 19px; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sage-tint); color: var(--ink); margin-bottom: 18px; }
.icon-badge svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust { list-style: none; margin: clamp(20px, 3vw, 28px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--sage-tint); color: var(--ink); font-size: 14px; font-weight: 600; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

/* Screens */
.screens { display: flex; gap: clamp(16px, 3vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.screens::-webkit-scrollbar { display: none; }
.screens:focus-visible { outline-offset: -3px; }
.shot { scroll-snap-align: center; flex: none; width: clamp(200px, 56vw, 220px); margin: 0; text-align: center; }
.shot figcaption { margin-top: 16px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.watch-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; height: 100%; min-height: 300px; border-radius: 34px; background: var(--lichen); }
.watch-tile .hills path { fill: var(--sage); }
.watch-tile .watch { width: 150px; }
.shot--watch .watch-tile { aspect-ratio: 440 / 956; }
@media (min-width: 900px) {
  .screens { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 8px 0 0; margin-inline: 0; }
  .shot { width: auto; }
  .shot--watch .watch-tile { aspect-ratio: auto; height: calc(100% - 38px); }
  .shot .phone--sm { width: 100%; max-width: 230px; margin-inline: auto; }
}

/* Final CTA */
.final__card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-hero); background: var(--ink); color: var(--on-ink); padding: clamp(44px, 7vw, 88px) clamp(22px, 5vw, 72px); text-align: center; }
.final__card .h2 { color: var(--on-ink); max-width: 16ch; margin-inline: auto; }
.final__card .cta { justify-content: center; margin-top: 28px; }
.final__card .trust { justify-content: center; margin-top: 28px; }
.on-ink .trust li { background: rgba(255, 255, 255, .08); color: var(--on-ink-soft); }
.on-ink .trust li::before { background: var(--on-ink-muted); }
.final__note { margin: 20px auto 0; max-width: 48ch; font-size: 14px; color: var(--on-ink-muted); }

/* Footer */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--muted); }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; }
.footer .brand { margin-bottom: 12px; }
.footer__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--divider); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; text-align: left; }
.linklike:hover { color: var(--text); text-decoration: underline; }

/* Consent banner */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 460px; padding: 20px 22px; border-radius: var(--r-group); background: var(--card); border: 1px solid var(--hairline); box-shadow: 0 24px 50px -24px rgba(13, 35, 27, .45); }
.consent[hidden] { display: none; }
.consent p { font-size: 15px; color: var(--muted); }
.consent strong { color: var(--text); }
.consent__actions { display: flex; gap: 10px; margin-top: 16px; }
.consent__actions .btn { flex: 1; min-height: 46px; font-size: 15px; padding: 0 16px; }
.consent__status { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Document pages */
.doc { padding-top: clamp(28px, 5vw, 56px); }
.doc__header { max-width: 760px; }
.doc__meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.doc__layout { display: grid; gap: 40px; margin-top: clamp(28px, 4vw, 48px); }
.doc__layout > * { min-width: 0; }
@media (min-width: 960px) { .doc__layout { grid-template-columns: 240px minmax(0, 720px); gap: 72px; } }
.toc { position: sticky; top: 90px; align-self: start; display: none; }
@media (min-width: 960px) { .toc { display: block; } }
.toc h2 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }
.prose { font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; letter-spacing: -.01em; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--ink); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 20px; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--segment); padding: 1px 6px; border-radius: 6px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hairline); }
.prose th:first-child, .prose td:first-child { white-space: nowrap; overflow-wrap: normal; font-weight: 600; }
.prose th { font-weight: 600; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.glance { margin: 0 0 36px; padding: 22px 24px; border-radius: var(--r-card); background: var(--sage-tint); }
.glance h2 { margin: 0 0 10px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.glance ul { margin: 0; padding-left: 20px; }
.glance li + li { margin-top: 6px; }
.note { padding: 16px 20px; border-radius: var(--r-row); background: var(--card); border: 1px solid var(--hairline); color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.note--ember { background: var(--ember-tint); border-color: transparent; color: var(--ember-deep); }
.path { font-weight: 600; color: var(--text); }

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.lost .mark { width: 64px; margin: 0 auto 24px; fill: var(--lichen); }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .hero [data-rise] { animation: rise .8s var(--ease) both; }
  .hero [data-rise="3"] { animation-delay: .1s; }
  .hero [data-rise="4"] { animation-delay: .2s; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero [data-rise] { animation: none; }
  .btn, .cta__badge { transition: none; }
}
.lost__lede { margin-inline: auto; }
.lost__actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
