@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --panel: #F4F4F4;
  --rule: #E2E2E2;
  --muted: #595959;
  --on-dark: #E6E6E6;
  --on-dark-muted: #BDBDBD;
  --gutter: 40px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--muted); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

h1 { font-weight: 800; font-stretch: 125%; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #FFFFFF;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { left: 8px; }

.inner { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Header */
.masthead { border-bottom: 1px solid var(--rule); }
.bar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  font-stretch: 125%;
  white-space: nowrap;
}
.brand svg { width: 48px; height: 26px; flex: none; }
.nav { display: flex; gap: 24px; font-size: 15px; align-items: center; }
.nav a:not(.button) { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.nav a:not(.button):hover { text-decoration: underline; }
.nav a[aria-current="page"] { font-weight: 600; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { background: #3A3A3A; color: #FFFFFF; }
.button-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.button-invert { background: #FFFFFF; color: var(--ink); }
.button-invert:hover { background: var(--rule); color: var(--ink); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 72px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero h1 { margin: 0; text-wrap: balance; font-size: clamp(38px, 4.8vw, 62px); line-height: 1.05; letter-spacing: -0.02em; }
.lede { margin: 24px 0 0; max-width: 34em; font-size: 20px; line-height: 1.45; color: #333333; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.play-badge { display: inline-block; line-height: 0; margin: -10px; }
.play-badge img { display: block; width: 200px; height: auto; }
.request { width: min(440px, calc(100vw - 32px)); padding: 24px; border: 0; border-radius: 16px; color: var(--ink); }
.request::backdrop { background: rgba(0, 0, 0, 0.5); }
.request h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.2; }
.request label { display: block; margin-bottom: 8px; font-size: 16px; }
.request input { width: 100%; min-height: 48px; padding: 0 14px; box-sizing: border-box; border: 1px solid var(--muted); border-radius: 8px; font: inherit; font-size: 16px; }
.request-trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.request p { margin: 12px 0 20px; font-size: 15px; color: var(--muted); }
.request-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.request button.text-link { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; }
.note { margin: 20px 0 0; font-size: 15px; color: var(--muted); }

/* Phone frame */
.phone {
  margin: 0;
  border: 6px solid var(--ink);
  border-radius: 34px;
  overflow: hidden;
  background: var(--ink);
}
.phone img { display: block; width: 100%; height: auto; }
.phone picture { display: block; }
/* Two phones in the hero, the plan behind and today in front. */
.hero-phones { display: grid; width: min(420px, calc((100vh - 190px) * 0.62)); min-width: 300px; }
.hero-phones .phone { grid-area: 1 / 1; width: 74%; box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.45); }
.hero-phones .back { justify-self: end; align-self: start; margin-bottom: 14%; }
.hero-phones .front { justify-self: start; align-self: end; margin-top: 14%; }

/* Feature tour */
.tour-wrap { background: var(--panel); padding-top: 72px; padding-bottom: 72px; scroll-margin-top: 0; }
/* Screens waiting to slide in sit just outside the page; clip keeps them from widening it without breaking sticky. */
main { overflow-x: clip; }
.tour-wrap h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.01em; }
.tour-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
/* Light or dark screenshots, as a two-part switch. */
.shot-mode { display: inline-flex; padding: 3px; border: 1px solid #C9C9C9; border-radius: 999px; background: #FFFFFF; }
.shot-mode button {
  min-height: 40px;
  min-width: 72px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}
.shot-mode button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.tour-item > .phone { background: var(--ink); }
.tour-text {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
.tour-title { display: block; font-size: 20px; font-weight: 600; line-height: 1.3; }
.tour-desc { display: block; margin-top: 6px; max-width: 30em; font-size: 16px; line-height: 1.45; color: var(--muted); }

/* Without the script every feature shows in turn. With it, wide screens show one phone at a time. */
.tour { margin-top: 32px; display: grid; gap: 40px; }

@media (min-width: 861px) {
  .tour.ready {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-rows: repeat(8, auto);
    column-gap: 72px;
    row-gap: 0;
  }
  .tour.ready .tour-item { display: contents; }
  .tour.ready .tour-text {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 46vh;
    padding: 0 0 0 28px;
    border-left: 3px solid var(--rule);
    cursor: pointer;
    opacity: 0.32;
    transition: opacity 0.4s ease, border-color 0.4s ease;
  }
  .tour.ready .tour-title { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.01em; }
  .tour.ready .tour-desc { margin-top: 10px; font-size: 18px; }
  .tour.ready .tour-text:hover { opacity: 0.6; }
  .tour.ready .on .tour-text { opacity: 1; border-left-color: var(--ink); }
  .tour.ready .phone {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: start;
    position: sticky;
    top: max(24px, calc(50vh - 316px));
    opacity: 0;
    visibility: hidden;
    transform: translateY(48px) scale(0.96);
    transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.6s;
  }
  .tour.ready .past .phone { transform: translateY(-48px) scale(0.96); }
  .tour.ready .on .phone { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s; }
  .tour:not(.ready) .phone { max-width: 320px; margin-top: 16px; }
}

.tour-steps { display: none; }

/* Good to know: four short blocks */
.know {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
  padding-top: 64px;
  padding-bottom: 72px;
}
.know h3 { margin: 0 0 6px; font-size: 18px; }
.know p { margin: 0; font-size: 16px; color: var(--muted); max-width: 34em; }
.know a { color: var(--ink); }

/* Garmin: a session going from the app to the watch and back as done. */
.watch-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 8px;
}
.watch-band h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.01em; }
.watch-copy p { margin: 12px 0 0; max-width: 32em; color: var(--muted); }
.watch-copy a { color: var(--ink); }
.watch-copy .badge { display: block; width: 180px; height: auto; margin-top: 20px; }
.sync { --t: 9s; display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; gap: 0; padding: 32px 28px; background: var(--panel); border-radius: 20px; }
.sync-phone { width: 128px; height: 248px; padding: 26px 8px 8px; border: 5px solid var(--ink); border-radius: 24px; background: #FFFFFF; }
.sync-card { position: relative; display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: var(--panel); }
.sync-card.later { margin-top: 8px; opacity: 0.55; }
.sc-day { font-size: 11px; color: var(--muted); }
.sc-title { font-size: 15px; font-weight: 700; line-height: 1.2; }
.sc-sub { font-size: 12px; color: var(--muted); }
.sc-done { justify-self: start; margin-top: 6px; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-size: 11px; font-weight: 600; opacity: 0; }
.sc-done::before { content: "\2713  "; color: #FF6B35; }
.sync-path { position: relative; height: 60px; margin: 0 6px; }
.sync-line { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #BDBDBD; }
.sync-dot { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #FF6B35; opacity: 0; }
.sync-label { position: absolute; left: 0; right: 0; top: calc(50% + 10px); text-align: center; font-size: 11px; color: var(--muted); white-space: nowrap; }
.sync-watch { position: relative; width: 150px; height: 150px; }
.sync-watch::before, .sync-watch::after { content: ""; position: absolute; left: 44px; right: 44px; height: 40px; background: #4A4A4A; z-index: 0; }
.sync-watch::before { top: -30px; border-radius: 10px 10px 0 0; }
.sync-watch::after { bottom: -30px; border-radius: 0 0 10px 10px; }
.face { position: relative; z-index: 1; width: 150px; height: 150px; border-radius: 50%; border: 9px solid #2A2A2A; background: #050505; color: #FFFFFF; box-shadow: 0 0 0 2px #8C8C8C; overflow: hidden; }
.wf { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-align: center; opacity: 0; }
.wf b { font-size: 30px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
.wf small { font-size: 11px; color: #BDBDBD; }
.wf small:first-child { color: #FF6B35; font-weight: 600; }
.wf.idle small:first-child, .wf.fin small:first-child { color: #BDBDBD; font-weight: 400; }
.wf.fin b { color: #FF6B35; }
.wf.idle { opacity: 1; }
/* One loop: the session leaves the app, runs step by step on the watch, and comes back as done. */
.js .sync.in .sync-dot.out { animation: dot-out var(--t) ease-in-out infinite; }
.js .sync.in .sync-dot.back { animation: dot-back var(--t) ease-in-out infinite; }
.js .sync.in .wf.idle { animation: wf-idle var(--t) linear infinite; }
.js .sync.in .wf.s1 { animation: wf-1 var(--t) linear infinite; }
.js .sync.in .wf.s2 { animation: wf-2 var(--t) linear infinite; }
.js .sync.in .wf.s3 { animation: wf-3 var(--t) linear infinite; }
.js .sync.in .wf.s4 { animation: wf-4 var(--t) linear infinite; }
.js .sync.in .wf.fin { animation: wf-fin var(--t) linear infinite; }
.js .sync.in .sc-done { animation: sc-done var(--t) linear infinite; }
@keyframes dot-out { 0%, 6% { left: 0; opacity: 0; } 8% { opacity: 1; } 20% { left: 100%; opacity: 1; } 22%, 100% { left: 100%; opacity: 0; } }
@keyframes dot-back { 0%, 74% { left: 100%; opacity: 0; } 76% { opacity: 1; } 88% { left: 0; opacity: 1; } 90%, 100% { left: 0; opacity: 0; } }
@keyframes wf-idle { 0%, 20% { opacity: 1; } 22%, 100% { opacity: 0; } }
@keyframes wf-1 { 0%, 21% { opacity: 0; } 23%, 33% { opacity: 1; } 35%, 100% { opacity: 0; } }
@keyframes wf-2 { 0%, 34% { opacity: 0; } 36%, 46% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes wf-3 { 0%, 47% { opacity: 0; } 49%, 57% { opacity: 1; } 59%, 100% { opacity: 0; } }
@keyframes wf-4 { 0%, 58% { opacity: 0; } 60%, 68% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes wf-fin { 0%, 69% { opacity: 0; } 71%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes sc-done { 0%, 87% { opacity: 0; } 90%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }

/* Build a sample plan */
.planner { display: grid; gap: 12px; margin-top: 24px; max-width: 820px; }
.planner[hidden] { display: none; }
.pick-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.pick-label { min-width: 190px; font-size: 15px; font-weight: 600; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button {
  min-height: 40px;
  min-width: 52px;
  padding: 0 14px;
  border: 1px solid #C9C9C9;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.pick button:hover { border-color: var(--ink); }
.pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pchart-sum { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.pchart-warn { margin: 8px 0 0; padding-left: 12px; border-left: 3px solid #FF6B35; font-size: 15px; }
.pchart-warn[hidden] { display: none; }
.pchart-area { position: relative; height: 220px; margin: 18px 0 0 34px; }
.pgrid span { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--rule); }
.pgrid em { position: absolute; right: calc(100% + 8px); top: -8px; font-style: normal; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; line-height: 16px; color: var(--muted); }
.pbars { position: absolute; inset: 0 0 0 4px; display: flex; align-items: flex-end; gap: 4px; }
.pbar { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; cursor: default; }
.pbar i { display: block; width: 100%; height: var(--h); border-radius: 2px 2px 0 0; background: #CFCFCF; transition: height 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) var(--bd, 0ms), background 0.3s ease, opacity 0.3s ease; }
.pbar.p1 i { background: #8C8C8C; } .pbar.p2 i { background: #111111; } .pbar.p3 i { background: #FF6B35; }
.pbar.step i { opacity: 0.45; }
.pbar:hover i { opacity: 0.8; }
.pbar b { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; font-weight: 400; color: var(--muted); white-space: nowrap; visibility: hidden; }
.pbar b.m4, .pbar b.m2 { visibility: visible; }
.pchart-read { margin: 30px 0 0; min-height: 1.5em; font-size: 14px; font-variant-numeric: tabular-nums; }
.js .fig-wrap:not(.in) .pbar i { height: 0; }
.js .fig-wrap .pbar i { transition-delay: calc(var(--bd, 0ms) * 2.5); }

/* Closing call */
.closing { background: var(--ink); color: #FFFFFF; padding-top: 64px; padding-bottom: 64px; }
.closing h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.closing p { margin: 10px 0 24px; color: var(--on-dark); }

/* Footer */
.foot-inner { padding-top: 24px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 15px; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }
.foot-inner p { margin: 8px 0 0; max-width: 760px; }

/* Policy pages */
.status { margin: 12px 0 0; font-size: 16px; color: var(--muted); }
.page-head { padding-top: 40px; padding-bottom: 8px; }
.page-head h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }

.doc { max-width: 800px; margin: 0 auto; padding: 32px var(--gutter) 72px; }
.doc > h2, .doc section > h2 { margin: 56px 0 0; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.01em; scroll-margin-top: 16px; }
.doc h3 { margin: 28px 0 0; font-size: 19px; }
.doc p { margin: 14px 0 0; }
.doc ul { margin: 14px 0 0; padding-left: 22px; }
.doc li { margin-top: 6px; }

.lead-panel { background: var(--panel); border-radius: 16px; padding: 28px; }
.lead-panel h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: 0; }
.lead-panel p:first-of-type { margin-top: 10px; }

.toc { margin: 16px 0 0; padding: 0; list-style: none; columns: 2 280px; column-gap: 24px; }
.toc li { margin: 0; break-inside: avoid; }
.toc a { display: flex; align-items: center; min-height: 44px; }

.tag {
  display: inline-block;
  margin: 0;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  background: var(--panel);
  color: var(--ink);
}

.planned {
  margin-top: 56px;
  background: var(--panel);
  border-radius: 16px;
  padding: 36px;
  scroll-margin-top: 16px;
}
.planned h2 { margin: 16px 0 0; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.01em; }

/* Tables: a real grid on wide screens, labelled rows on phones */
.table-panel { margin-top: 20px; background: var(--panel); border-radius: 16px; padding: 8px 20px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
th:last-child, td:last-child { padding-right: 0; }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; }

/* Inline links in prose: vertical padding widens the tap area to 44px without moving the lines. */
.doc p a, .doc td a { padding-top: 14px; padding-bottom: 14px; }

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .nav-wide { display: none !important; }

  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 32px; padding-bottom: 40px; }
  .hero h1 { font-size: 38px; }
  .lede { font-size: 18px; margin-top: 16px; }
  .actions { margin-top: 24px; }
  .hero-phone { width: 280px; min-width: 0; justify-self: center; }

  .tour-wrap { padding-top: 48px; padding-bottom: 40px; }
  /* Phones: a tall track with the screen held still, and scrolling down it moves through the features. */
  .tour-track.ready { --step: 40vh; --step: 40svh; position: relative; height: calc(var(--n, 8) * var(--step) + 100vh); height: calc(var(--n, 8) * var(--step) + 100svh); margin-top: 12px; }
  .tour.ready {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: start;
    gap: 0;
    margin-top: 0;
    padding-top: 12px;
  }
  .tour.ready .tour-item { display: contents; }
  /* A vertical bar beside the screen: how far through the eight features you are. */
  .tour.ready .tour-steps {
    display: flex;
    flex-direction: column;
    gap: 4px;
    grid-row: 2;
    grid-column: 1;
    align-self: start;
    margin-top: 16px;
    height: calc(min(290px, 100vw - 96px, (100vh - 230px) * 0.484) / 0.484);
    height: calc(min(290px, 100vw - 96px, (100svh - 230px) * 0.484) / 0.484);
  }
  .tour-steps button {
    flex: 1 1 0;
    width: 28px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .tour-steps button { position: relative; }
  .tour-steps button::before, .tour-steps button::after { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; border-radius: 2px; }
  .tour-steps button::before { background: #CFCFCF; }
  /* The fill follows your scroll: a full segment means the next feature is about to show. */
  .tour-steps button::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--fill, 0)); }
  .tour.ready .tour-text {
    grid-row: 1;
    grid-column: 1 / -1;
    display: block;
    margin-top: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.4s ease, visibility 0s 0.4s;
  }
  .tour.ready .on .tour-text { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s ease 0.08s, transform 0.4s ease 0.08s, visibility 0s; }
  .tour-title { font-size: 19px; }
  .tour.ready .tour-desc { margin-top: 2px; font-size: 15.5px; }
  .tour.ready .phone {
    grid-row: 2;
    grid-column: 2;
    justify-self: center;
    align-self: start;
    margin-top: 16px;
    width: min(290px, 100%, calc((100vh - 230px) * 0.484));
    width: min(290px, 100%, calc((100svh - 230px) * 0.484));
    border-radius: 26px;
    border-width: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(56px) scale(0.97);
    transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.5s;
  }
  .tour.ready .past .phone { transform: translateY(-56px) scale(0.97); }
  .tour.ready .on .phone { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s; }
  .hero-phones { width: min(340px, 100%); min-width: 0; justify-self: center; }

  .know { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 48px; }
  .watch-band { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 48px; padding-bottom: 0; }
  .sync { padding: 32px 16px; }
  .sync-phone { width: 104px; height: 204px; padding: 20px 6px 6px; border-width: 4px; border-radius: 20px; }
  .sc-title { font-size: 13px; }
  .sync-card.later .sc-sub { display: none; }
  .sync-watch, .face { width: 124px; height: 124px; }
  .face { border-width: 7px; }
  .sync-watch::before, .sync-watch::after { left: 36px; right: 36px; }
  .wf b { font-size: 25px; }
  .wf small { font-size: 10px; }
  .sync-label { font-size: 10px; }
  .pick-label { min-width: 0; width: 100%; font-size: 14px; }
  .pick button { min-height: 40px; min-width: 40px; padding: 0 10px; font-size: 14px; }
  .pchart-area { height: 180px; margin-left: 28px; }
  .pbars { gap: 2px; }
  .pbar b.m2 { visibility: hidden; }

  .closing { padding-top: 48px; padding-bottom: 48px; }
  .button-small { min-height: 44px; }

  .page-head { padding-top: 28px; }
  .doc { padding-top: 24px; padding-bottom: 48px; }
  .planned { padding: 24px; }

  table, tbody, tr, td { display: block; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  tr:last-child { border-bottom: 0; }
  td { border-bottom: 0; padding: 3px 0; }
  td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
  }
  td:first-child { font-weight: 600; }
  td:first-child[data-label]::before { display: none; }
}

/* The hero's own button is right below, so the smallest phones don't need one in the header too. */
@media (max-width: 380px) {
  .button-small { display: none; }
}

/* Rising in as sections come into view. Hidden only once the script has started. */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease var(--d, 0ms), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="phones"] { opacity: 1; transform: none; }
.js [data-reveal="phones"] .phone { opacity: 0; transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal="phones"] .front { transform: translateY(80px); transition-delay: 0.3s; }
.js [data-reveal="phones"] .back { transform: translate(32px, 16px); transition-delay: 0s; }
.hero-phones .front { position: relative; z-index: 1; }
.js [data-reveal="phones"].in .phone { opacity: 1; transform: none; }
.js #fig-plan rect { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--bd, 0ms) + 250ms); }
.js .in #fig-plan rect { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-reveal] .phone, .js #fig-plan rect { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pbar i { transition: none !important; }
  .js .sync.in * { animation: none !important; }
  .sync .wf.idle { opacity: 0; }
  .sync .wf.s2 { opacity: 1; }
  .tour.ready .phone, .tour.ready .tour-text { transition: none !important; }
}

/* Science page: figures drawn as SVG from the research files */
.doc.wide { max-width: 920px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.science .page-head h1 { margin: 6px 0 0; font-size: clamp(36px, 6vw, 60px); line-height: 1.02; letter-spacing: -0.02em; }
.science .lede { max-width: 680px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 36px 0 0; background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.stats div { background: #FFFFFF; padding: 20px 18px; }
.stats dt { font-weight: 800; font-stretch: 125%; font-size: clamp(28px, 4vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.35; }
.fig { margin: 28px 0 0; padding: 22px 22px 18px; border: 1px solid var(--rule); border-radius: 16px; }
.fig svg { display: block; width: 100%; height: auto; margin-top: 14px; }
.fig-title { font-weight: 600; font-size: 18px; line-height: 1.3; }
.fig-n { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 6px; }
.fig-note { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.fig .lab { font-size: 14px; fill: var(--ink); }
.fig .val, .fig .axis { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; fill: var(--muted); }
.fig .grid { stroke: var(--rule); stroke-width: 1; }
.fig .bar { fill: #A6A6A6; }
.fig .acc { fill: #FF6B35; }
.fig .seg { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; font-weight: 600; }
.fig .s0 { fill: #111111; } .fig .s1 { fill: #4A4A4A; } .fig .s2 { fill: #7A7A7A; } .fig .s3 { fill: #A6A6A6; } .fig .s4 { fill: #CFCFCF; } .fig .s5 { fill: #ECECEC; }
.fig text.s0t, .fig text.s1t, .fig text.s2t { fill: #FFFFFF; }
.fig text.s3t, .fig text.s4t, .fig text.s5t { fill: var(--ink); }
.fig .p0 { fill: #CFCFCF; } .fig .p1 { fill: #8C8C8C; } .fig .p2 { fill: #111111; } .fig .p3 { fill: #FF6B35; }
.fig .step { opacity: 0.45; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.legend .key { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid var(--rule); }
.legend .s0 { background: #111111; } .legend .s1 { background: #4A4A4A; } .legend .s2 { background: #7A7A7A; } .legend .s3 { background: #A6A6A6; } .legend .s4 { background: #CFCFCF; } .legend .s5 { background: #ECECEC; }
#fig-4 .legend .s0, #fig-plan .legend .s0 { background: #CFCFCF; } #fig-4 .legend .s1, #fig-plan .legend .s1 { background: #8C8C8C; } #fig-4 .legend .s2, #fig-plan .legend .s2 { background: #111111; } #fig-4 .legend .s3, #fig-plan .legend .s3 { background: #FF6B35; }
.data { margin-top: 12px; font-size: 14px; }
.data summary { cursor: pointer; color: var(--muted); min-height: 32px; display: flex; align-items: center; }
.data table { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.data th, .data td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--rule); }
.rules { width: 100%; border-collapse: collapse; font-size: 15px; }
.rules th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 12px 12px 8px; }
.rules td { padding: 12px; border-top: 1px solid var(--rule); vertical-align: top; }
.rules code, .science code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; background: var(--panel); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.ref { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; text-decoration: none; vertical-align: super; margin-left: 1px; }
.refs { padding-left: 28px; font-size: 14px; color: var(--muted); }
.refs li { margin-top: 8px; }
.refs a { word-break: break-all; }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .fig { padding: 16px 14px 14px; }
  .rules { font-size: 14px; }
  .rules td, .rules th { padding: 10px 8px; }
}
.chart-narrow { display: none; }
@media (max-width: 600px) {
  .chart-wide { display: none; }
  .chart-narrow { display: block; }
}

.join form { max-width: 440px; margin: 24px 0; }
.join label { display: block; margin-bottom: 8px; font-size: 16px; }
.join input[type=email] { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--muted); border-radius: 8px; font: inherit; font-size: 16px; }
.join .join-note { margin: 12px 0 20px; font-size: 15px; color: var(--muted); }
.join .join-status { margin: 16px 0 0; font-size: 15px; }
.join .join-wait { margin: 24px 0; padding: 18px 20px; border-left: 6px solid #FF6B35; background: #f3f2ef; border-radius: 0 8px 8px 0; max-width: 40em; }
.join .join-wait p { margin: 8px 0 0; font-size: 16px; }
.join .join-wait .join-wait-head { margin: 0; font-size: 18px; font-weight: 700; }
.join .join-wait .join-wait-when { font-weight: 600; }
.join ol { padding-left: 1.4em; }
.join button.button { font-family: inherit; cursor: pointer; border: 0; }

.plan-build { padding-top: 56px; }
.plan-build h2 { margin: 0; }
.plan-lede { margin: 8px 0 0; max-width: 40em; font-size: 17px; color: var(--muted); }
.plan-lede a { color: var(--ink); }
.plan-build .fig { max-width: 820px; }
@media (max-width: 700px) { .plan-build { padding-top: 40px; } }
