/* The live landing page's dark theme (Website/landing): a black page like the app's background,
   #121212 bands like its panels, 28px media frames, iOS orange for links and buttons. System fonts
   only: no font is fetched from anywhere. Contrast is 4.5:1 or better for text, and every control is
   at least 24px tall. */
:root {
  --ink: #f5f5f7;
  --slate: #a1a1a6;
  --steel: #8e8e93;
  --hairline: #38383a;
  --control: #2c2c2e;
  --mist: #121212;
  --bg: #000000;
  --card: #1c1c1e;
  --orange: #ff9f0a;
  --orange-hover: #ffb340;
  --review: #ffd60a;
  --bezel: #1d1d1f;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --gutter: max(16px, calc((100vw - 1068px) / 2));
  --header: 52px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* No page-wide smooth scrolling: it fights the jump to a #section on load. The chooser animates its
   own scroll, and not under reduced motion. */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.47 var(--text); letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-underline-offset: .16em; }
a:hover { color: var(--orange-hover); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
p { margin: 0; }
.wrap { padding-inline: var(--gutter); }
.ai { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.pill:focus-visible, [role="tab"][aria-selected="true"]:focus-visible { outline-color: var(--ink); }
main:focus { outline: none; }
section, .tabs, .panel, .waitlist { scroll-margin-top: calc(var(--header) + 16px); }

/* ---- Skip link, staging bar, review marks ---- */
.skip {
  position: absolute; left: 16px; top: -200px; z-index: 100; padding: 12px 18px; border-radius: 10px;
  background: var(--orange); color: #000; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 10px; }
.staging { padding: 8px var(--gutter); background: var(--review); color: #000; font-size: 13px; line-height: 1.4; text-align: center; }
mark.review {
  background: var(--review); color: #000; padding: 1px 6px; border-radius: 4px; letter-spacing: 0;
  font: 600 12px/1.6 ui-monospace, "SF Mono", Menlo, monospace;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---- Header ---- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--header);
  display: flex; align-items: center; gap: 16px; padding-inline: var(--gutter);
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--control);
}
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font: 600 19px/1 var(--display); letter-spacing: .01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.topbar nav { margin-left: auto; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; }
.topbar nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); font-size: 13px; letter-spacing: -0.01em; text-decoration: none; }
.topbar nav a:hover { color: var(--orange); }

/* ---- Buttons ---- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 14px;
  border: 0; border-radius: 980px; background: var(--orange); color: #000; cursor: pointer;
  font: 500 13px/1.2 var(--text); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
}
.pill:hover { background: var(--orange-hover); color: #000; }
.pill.big { min-height: 44px; padding: 11px 22px; font-size: 17px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px;
  border: 1px solid var(--orange); border-radius: 980px; color: var(--orange); font-size: 17px; text-decoration: none;
}
.button:hover { background: rgba(255, 159, 10, .12); color: var(--orange-hover); }

/* ---- Hero ---- */
.hero {
  text-align: center; padding: 64px 16px 24px;
  background: radial-gradient(70% 440px at 50% 0, rgba(28, 79, 138, .55), rgba(28, 79, 138, 0)) no-repeat;
}
/* The status row: the one pre-launch label (while preLaunch) and the region. */
.status { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; margin-bottom: 16px; }
.prelaunch {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 980px;
  border: 1px solid #8a5a1e; color: var(--orange); font-size: 13px; letter-spacing: -0.01em;
}
.region { font-size: 13px; color: var(--slate); }
.page-review { max-width: 760px; margin: 0 auto 16px; }
.hero h1 { max-width: 1000px; margin: 0 auto; font-size: clamp(36px, 6vw, 72px); line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; }
.hero h1 .phrase { white-space: nowrap; }
.hero .sub { max-width: 680px; margin: 20px auto 0; font-size: clamp(19px, 2vw, 22px); line-height: 1.36; color: var(--slate); text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: 28px; }
.disclaimer-line { max-width: 640px; margin: 8px auto 0; font-size: 13px; line-height: 1.45; color: var(--slate); }
.disclaimer-line b { color: var(--ink); font-weight: 600; }

/* The audience chooser and the panel tabs share one look. */
.chooser { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 36px auto 0; }
.chooser-label { font: 600 17px/1 var(--display); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips [role="tab"] {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 980px;
  border: 1px solid var(--hairline); background: var(--card); color: var(--ink); font-size: 15px; text-decoration: none;
}
.chips [role="tab"]:hover { border-color: var(--orange); color: var(--ink); }
.chips [role="tab"][aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #000; font-weight: 600; }

/* The hero film: a 3D render on a black studio, letterboxed on the page with no visible edge. */
.film { position: relative; max-width: 1280px; aspect-ratio: 16 / 9; margin: 40px auto 0; }
.film video { width: 100%; height: 100%; object-fit: contain; }

/* Every looping recording has a pause button. */
.player { position: relative; }
.vidtoggle {
  position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; padding: 0; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; cursor: pointer;
}
.vidtoggle span { width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.vidtoggle[data-state="playing"] span { width: 12px; height: 14px; margin: 0; border: 0; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px); }

/* ---- Bands and chapters ---- */
.band { background: var(--mist); padding: 96px 0; }
.chapter { padding: 96px 0; }
.chapter-head { display: grid; gap: 12px; margin-bottom: 40px; }
.chapter-head.center { text-align: center; justify-items: center; }
.eyebrow { font: 600 17px/1.24 var(--text); color: var(--slate); }
.chapter-head h2 { max-width: 860px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.009em; text-wrap: balance; }
.chapter-head p:not(.eyebrow) { max-width: 680px; font-size: 21px; line-height: 1.38; color: var(--slate); }
.after { margin-top: 28px; color: var(--slate); }

/* ---- The disc problem ---- */
.disc { padding: 56px 0; border-block: 1px solid var(--control); }
.disc h2 { margin-bottom: 10px; font: 600 17px/1.24 var(--text); color: var(--orange); }
.disc p { max-width: 900px; font: 500 clamp(21px, 2.6vw, 30px)/1.3 var(--display); letter-spacing: -0.01em; }
.disc .source { font: 400 15px/1.4 var(--text); white-space: nowrap; }

/* ---- Platforms: names only ---- */
.strip { padding: 56px 0; border-block: 1px solid var(--control); text-align: center; }
.strip h2 { margin-top: 8px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; }
.platform-list { list-style: none; max-width: 760px; margin: 28px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.platform-list li { padding: 18px 12px; border-radius: 20px; background: var(--card); font: 600 21px/1.2 var(--display); }

/* ---- How it works ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { position: relative; padding: 28px; border-radius: 28px; background: var(--mist); }
.step:not(:last-child)::after { content: "→" / ""; position: absolute; right: -20px; top: 32px; color: var(--steel); font-size: 20px; }
.step .num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%; background: var(--orange); color: #000; font-weight: 700; }
.step h3 { margin-bottom: 6px; font-size: 24px; line-height: 1.2; }
.step p { color: var(--slate); }

/* ---- Audience panels ---- */
.tabs { justify-content: flex-start; margin-bottom: 24px; }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; align-items: center; padding: 32px; border-radius: 28px; background: var(--card); }
.panel + .panel { margin-top: 20px; }
.panel[hidden] { display: none; }
.panel h3 { margin-bottom: 18px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; text-wrap: balance; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.3l2 2 4.4-4.8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks b { display: block; font-weight: 600; }
.ticks span { color: var(--slate); font-size: 15px; }
.note { margin-top: 18px; font-size: 14px; color: var(--slate); }
.panel-links { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 22px; }
.panel .screen.iphone, .panel .screen.front { width: min(100%, 300px); margin-inline: auto; }

/* ---- Device frames ---- */
.screen { margin: 0; padding: 1.1%; border-radius: 28px; background: var(--bezel); overflow: hidden; }
.screen img, .screen video { width: 100%; border-radius: 19px; background: #000; object-fit: cover; }
.screen.duo img, .screen.duo video { aspect-ratio: 2852 / 2006; }
.screen.front { padding: 2.4%; border-radius: 34px; }
.screen.front img { aspect-ratio: 1398 / 2034; border-radius: 26px; }
.screen.iphone { padding: 2.8%; border-radius: 40px; }
.screen.iphone img { aspect-ratio: 736 / 1600; border-radius: 32px; }
/* A picture with review notes under it (staging). */
.media { display: grid; gap: 10px; }
.review-note { font-size: 13px; }

/* ---- iPhone Duo ---- */
.lineup { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.45fr); gap: 28px; align-items: end; margin-top: 40px; }
.lineup figure { margin: 0; }
figcaption { margin-top: 14px; text-align: center; }
figcaption b { display: block; font: 600 19px/1.21 var(--display); }
figcaption span { font-size: 14px; color: var(--slate); }

/* ---- Privacy, samples, physicians' stats ---- */
.cards, .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.card, .stat { padding: 28px; border-radius: 28px; background: var(--card); }
.card h3 { margin-bottom: 8px; font-size: 21px; line-height: 1.2; }
.card p { color: var(--slate); font-size: 15px; }
.stat p { font: 500 21px/1.35 var(--display); }
.stat .source { margin-top: 14px; font: 400 15px/1.4 var(--text); }
.samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sample { display: grid; grid-template-rows: auto 1fr; gap: 22px; padding: 28px; border-radius: 28px; background: var(--mist); }
.sample .tag { color: var(--orange); font-size: 13px; }
.sample h3 { margin: 6px 0; font-size: 28px; line-height: 1.14; }
.sample p:not(.tag) { color: var(--slate); }
.sample > .screen, .sample > .media { align-self: end; }
.planned { margin-top: 8px; padding: 16px 20px; border: 2px dashed var(--review); border-radius: 16px; color: var(--slate); }
.planned summary { min-height: 24px; color: var(--ink); cursor: pointer; }
.planned ul { margin: 12px 0; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { padding: 0 22px; border-radius: 20px; background: var(--card); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 19px; line-height: 1.3; }
.faq summary::after { content: "+" / ""; flex: none; color: var(--orange); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "−" / ""; }
.faq .answer { padding-bottom: 20px; color: var(--slate); }

/* ---- Physicians page ---- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 16px var(--gutter) 0; font-size: 14px; color: var(--slate); }
.crumbs li + li::before { content: "›" / ""; margin-right: 8px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px; align-items: center; }
.split.flip > .copy { order: 2; }
.split .screen.iphone { width: min(100%, 300px); margin-inline: auto; }
.copy h2 { margin-bottom: 14px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; text-wrap: balance; }
.copy p { max-width: 640px; font-size: 19px; line-height: 1.42; color: var(--slate); }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.related a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 18px; border-radius: 16px; background: var(--card); color: var(--ink); text-decoration: none; }
.related a::after { content: "›" / ""; margin-left: auto; color: var(--orange); }
.related a:hover { color: var(--orange); }

/* ---- CTA band and waitlist ---- */
.closing { padding: 110px 16px 120px; text-align: center; }
.closing .icon { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 22px; }
.closing h2 { max-width: 900px; margin: 0 auto; font-size: clamp(32px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.closing > p { max-width: 580px; margin: 16px auto 0; font-size: 19px; color: var(--slate); }
.closing .status { margin: 0 0 18px; }
.closing-line { padding: 0 16px 56px; text-align: center; font-size: 17px; }

/* The waitlist form: labels above fields, 44px controls, errors in words (and red) under each field and
   in a summary that takes focus. */
.waitlist { max-width: 560px; margin: 48px auto 0; padding: 28px; border-radius: 28px; background: var(--mist); text-align: left; }
.join .waitlist { margin-top: 0; }
.waitlist h2, .waitlist h3 { margin-bottom: 6px; font-size: 24px; line-height: 1.2; }
.waitlist p { color: var(--slate); font-size: 15px; }
.waitlist .row { margin: 18px 0 0; }
.waitlist fieldset { min-width: 0; padding: 0; border: 0; }
.waitlist label, .waitlist legend { display: block; margin: 0 0 6px; padding: 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.waitlist input[type="email"], .waitlist select {
  width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #7c7c80; border-radius: 12px;
  background: #000; color: var(--ink); font: inherit; scroll-margin-top: calc(var(--header) + 16px);
}
.optional { font-weight: 400; color: var(--slate); }
.checks { display: flex; flex-wrap: wrap; gap: 0 20px; }
.waitlist label.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-weight: 400; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--orange); scroll-margin-top: calc(var(--header) + 16px); }
.waitlist .hint { margin-top: 2px; font-size: 13px; }
.waitlist .field-error { margin-top: 6px; color: #ff6961; font-weight: 600; }
.waitlist [aria-invalid="true"] { border-color: #ff6961; outline: 2px solid #ff6961; outline-offset: 1px; }
.error-summary { margin-top: 18px; padding: 14px 18px; border: 2px solid #ff6961; border-radius: 14px; }
.error-summary ul { margin: 6px 0 0; padding-left: 20px; }
.error-summary a { color: #ff8a80; }
.not-connected { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--card); }
.waitlist .not-connected b { color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-form button[type="submit"] { margin-top: 22px; }
.waitlist-form button:disabled { opacity: .6; cursor: progress; }
.waitlist .form-status { min-height: 1.4em; margin-top: 12px; color: var(--ink); }

/* ---- Footer ---- */
.footer { padding: 40px 0 56px; background: var(--mist); font-size: 13px; line-height: 1.5; color: var(--slate); }
.footer .wrap { display: grid; gap: 14px; }
.footer .disclaimer { font-size: 15px; }
.footer .disclaimer b { color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 24px; color: var(--ink); }

/* ---- Phones ---- */
@media (max-width: 900px) {
  .topbar nav { display: none; }
  .topbar .pill { margin-left: auto; }
}
@media (max-width: 834px) {
  .band, .chapter { padding: 72px 0; }
  .steps, .samples, .split, .lineup { grid-template-columns: minmax(0, 1fr); }
  .step:not(:last-child)::after { content: none; }
  .split.flip > .copy { order: 0; }
  .panel { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 24px; }
  .lineup figure:nth-child(1) { width: min(70%, 300px); margin-inline: auto; }
}
@media (max-width: 600px) {
  .platform-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Reduced motion: the recordings stay on their posters unless played (site.js), and nothing animates. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
