/* Overheard - landing page styles. No web fonts, no external resources. */

:root {
  color-scheme: light dark;

  --forest-500: #2b6145;
  --forest-700: #1d4a35;
  --forest-900: #12382a;
  --record: #d93b30;
  --signal: #2f9e5b;

  --bg: #fafaf7;
  --bg-tint: #eef4ef;
  --surface: #ffffff;
  --surface-2: #f3f5f2;
  --text: #1b1f1d;
  --muted: #555e59;
  --hairline: rgba(20, 35, 28, 0.1);
  --accent: #2b6145;
  --accent-soft: rgba(43, 97, 69, 0.1);
  --shadow-card: 0 1px 2px rgba(18, 40, 30, 0.06), 0 12px 32px -12px rgba(18, 40, 30, 0.18);
  --shadow-float: 0 2px 6px rgba(18, 40, 30, 0.06), 0 30px 60px -20px rgba(18, 40, 30, 0.32), 0 60px 120px -40px rgba(18, 40, 30, 0.22);
  --header-bg: rgba(250, 250, 247, 0.72);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius-lg: 28px;
  --radius-md: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1210;
    --bg-tint: #10201a;
    --surface: #161d1a;
    --surface-2: #1b2420;
    --text: #edf1ee;
    --muted: #a4aea8;
    --hairline: rgba(255, 255, 255, 0.1);
    --accent: #84c9a3;
    --accent-soft: rgba(132, 201, 163, 0.12);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    --shadow-float: 0 2px 6px rgba(0, 0, 0, 0.3), 0 30px 70px -20px rgba(0, 0, 0, 0.7), 0 60px 120px -40px rgba(0, 0, 0, 0.5);
    --header-bg: rgba(13, 18, 16, 0.7);
  }
}

*,
*::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-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 8px 14px; border-radius: 10px; background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-card); transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Brand ---------- */

.mark { width: 1.3em; height: 1.15em; fill: currentColor; flex: none; }
.wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.5em;
  color: var(--text); text-decoration: none; font-size: 20px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--hairline); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.site-nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--text); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent); text-decoration: none;
}
@media (max-width: 760px) {
  .site-nav .nav-link { display: none; }
}

/* ---------- Buttons ---------- */

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  font: 600 17px/1 var(--font-sans); text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--forest-500), var(--forest-900));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 10px 24px -10px rgba(18, 56, 42, 0.7);
}
.btn-primary:hover { transform: translateY(-1px); text-decoration: none; }
.btn-secondary { color: var(--accent); background: transparent; }
.btn-secondary:hover { background: var(--accent-soft); text-decoration: none; }
.btn .soon {
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.18);
}
@media (prefers-color-scheme: dark) {
  .btn-primary { background: linear-gradient(180deg, #357456, #1d4a35); }
}

/* ---------- Hero ----------
   A dark stage in both themes, as Apple's pro app pages do, so the real window glows.
   Order: the product, then the name and the line. main.js plays the entrance; these are the
   finished-frame styles, which is all you see without scripts or with reduced motion. */

.hero {
  --hero-bg: #08100c;
  --hero-text: #f2f5f3;
  --hero-muted: rgba(237, 241, 238, 0.7);
  --hero-accent: #84c9a3;
  /* The stage is sized from the screen, so the window and the line both fit the first view. */
  --stage-h: min(52svh, 520px, calc((100vw - 2 * var(--gutter)) / 1.4));
  position: relative;
  /* Runs up under the sticky header (60px), so the header sits on the dark stage, not the page. */
  margin-top: -60px;
  padding: calc(60px + clamp(28px, 4vw, 44px)) 0 clamp(48px, 7vw, 88px);
  text-align: center;
  color: var(--hero-text);
  background:
    radial-gradient(48% 42% at 50% 36%, rgba(43, 97, 69, 0.5), transparent 72%),
    radial-gradient(30% 30% at 50% 30%, rgba(132, 201, 163, 0.12), transparent 70%),
    var(--hero-bg);
  isolation: isolate;
  overflow: hidden;
}

.stage {
  position: relative;
  height: var(--stage-h);
  display: flex; justify-content: center; align-items: flex-start;
}
.window-wrap {
  position: relative; height: 100%; aspect-ratio: 640 / 680;
  border-radius: calc(12 * var(--u));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ---------- The app, rebuilt live ----------
   Sizes are the app's own points (TranscriptWindow, MenuBarView, Meters, Brand), scaled so 680 points
   fill the stage height. Colours are macOS's light system colours in their Increase Contrast form,
   so every word in the rebuild passes WCAG AA contrast as real text. */
.hero { --u: calc(var(--stage-h) / 680); }
.app {
  --label: rgba(0, 0, 0, 0.85);
  --label-2: rgba(0, 0, 0, 0.64);
  --label-3: rgba(0, 0, 0, 0.45);
  --fill: rgba(0, 0, 0, 0.06);
  --sep: rgba(0, 0, 0, 0.1);
  --red: #d70015;
  --green: #248a3d;
  --orange: #c93400;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--label);
  text-align: left;
  font-size: calc(13 * var(--u));
  line-height: 1.25;
  /* Scaled down, the system font tracks itself wider than the app shows it at full size. */
  letter-spacing: -0.015em; word-spacing: normal;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
.app .ico { width: 1.15em; height: 1.15em; flex: none; color: var(--label-2); }
.app b { font-weight: 600; }
.app small { display: block; font-size: calc(10 * var(--u)); color: var(--label-2); }
.glyph { fill: currentColor; flex: none; }
.rec-dot {
  display: inline-block; width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%;
  background: var(--red); flex: none; animation: rec-pulse 1.6s ease-in-out infinite;
}
@keyframes rec-pulse { 50% { opacity: 0.35; } }
.circle-btn {
  display: grid; place-items: center; flex: none;
  width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; background: rgba(0, 0, 0, 0.07);
}
.circle-btn .ico { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }

/* LevelMeter: segments with 2pt gaps, green, the last orange near clipping; dim when off. */
.meter { display: flex; gap: calc(2 * var(--u)); height: calc(9 * var(--u)); flex: none; }
.meter i { flex: 1; border-radius: calc(1.5 * var(--u)); background: rgba(0, 0, 0, 0.11); transition: background-color 50ms linear; }
.meter i.on { background: #28cd41; }
.meter i.on:last-child { background: #ff9500; }
.is-off .meter i { background: rgba(0, 0, 0, 0.05); }

/* Transcript window */
.app-window { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #fff; }
.app-window .app-inner { position: absolute; inset: 0; display: flex; flex-direction: column; }
.win-lights { display: flex; gap: calc(8 * var(--u)); padding: calc(10 * var(--u)) calc(12 * var(--u)) 0; }
.win-lights i { width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-radius: 50%; background: #dddddd; border: 1px solid rgba(0, 0, 0, 0.08); }
.win-head {
  display: flex; align-items: center; gap: calc(12 * var(--u));
  padding: calc(6 * var(--u)) calc(18 * var(--u)) calc(12 * var(--u)) calc(26 * var(--u));
}
.brand-title {
  display: inline-flex; align-items: center; gap: calc(11 * var(--u));
  font: 600 calc(22 * var(--u)) / 1 ui-serif, "New York", Georgia, serif; color: var(--label); margin-right: auto;
}
.brand-title .glyph { width: calc(28.6 * var(--u)); height: calc(25.3 * var(--u)); }
.status-pill {
  display: inline-flex; align-items: center; gap: calc(6 * var(--u)); flex: none;
  padding: calc(5 * var(--u)) calc(12 * var(--u)); border-radius: 999px;
  background: rgba(215, 0, 21, 0.08); color: var(--red); font-size: calc(12 * var(--u)); font-weight: 500;
}
.status-pill b { font-weight: 400; }
.meter-group { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); }
.meter-group .meter { width: calc(60 * var(--u)); }
.win-head .lock { width: calc(10 * var(--u)); height: calc(10 * var(--u)); }

.listening {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: calc(6 * var(--u));
  color: var(--label-2); text-align: center; pointer-events: none;
}
.listening[hidden] { display: none; }
.listening .ico { width: calc(34 * var(--u)); height: calc(34 * var(--u)); color: var(--label-3); margin-bottom: calc(4 * var(--u)); }
.listening b { font-size: calc(17 * var(--u)); color: var(--label); font-weight: 600; }
.listening small { font-size: calc(13 * var(--u)); }
.rows { list-style: none; margin: 0; padding: calc(4 * var(--u)) calc(36 * var(--u)); flex: 1; overflow: hidden; }
.row {
  display: flex; align-items: baseline; gap: calc(16 * var(--u));
  padding: calc(12 * var(--u)) 0; border-top: 1px solid var(--sep);
}
.row:first-child { border-top: 0; }
.row .time {
  display: inline-flex; align-items: center; gap: calc(4 * var(--u));
  width: calc(80 * var(--u)); flex: none; font-size: calc(12 * var(--u)); color: var(--label-2);
}
.row .seal { width: calc(10 * var(--u)); height: calc(10 * var(--u)); color: var(--label-3); }
.chip {
  flex: none; padding: calc(3 * var(--u)) calc(10 * var(--u)); border-radius: 999px;
  background: rgba(36, 138, 61, 0.12); color: #1b6e30; font-size: calc(12 * var(--u)); font-weight: 500;
}
.row .text { font-size: calc(15 * var(--u)); line-height: 1.3; }
.row.is-provisional .text { font-style: italic; color: var(--label-2); }
.row .text .w { transition: color 0.2s ease-out; }
.row.is-waiting { display: none; }
.row.is-new { animation: row-in 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }
.row .seal { transition: opacity 0.4s; }
.row.is-unsealed .seal { opacity: 0; }

.win-foot {
  display: flex; align-items: center; gap: calc(12 * var(--u));
  padding: calc(8 * var(--u)) calc(22 * var(--u)) calc(14 * var(--u));
}
.foot-btn {
  display: grid; place-items: center; flex: none; width: calc(34 * var(--u)); height: calc(30 * var(--u));
  border-radius: calc(8 * var(--u)); background: var(--fill); color: var(--label-2);
  font-size: calc(15 * var(--u)); font-weight: 500;
}
.foot-btn .ico { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.foot-status { font-size: calc(10 * var(--u)); color: var(--label-2); margin-right: auto; white-space: nowrap; }
.badge-enhanced {
  display: inline-flex; align-items: center; gap: calc(4 * var(--u)); flex: none;
  padding: calc(4 * var(--u)) calc(10 * var(--u)); border-radius: 999px;
  background: rgba(36, 138, 61, 0.1); color: #1b6e30; font-size: calc(10 * var(--u)); font-weight: 500;
}
.badge-enhanced .ico { color: inherit; width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
.stop-btn {
  display: inline-flex; align-items: center; gap: calc(5 * var(--u)); flex: none;
  padding: calc(4 * var(--u)) calc(11 * var(--u)); border-radius: 999px; background: var(--red); color: #fff;
  font-size: calc(12 * var(--u)); font-weight: 600;
}
.stop-btn .ico { color: inherit; width: calc(10 * var(--u)); height: calc(10 * var(--u)); }

/* Menu bar popover */
.stage .popover {
  position: relative; z-index: 2; flex: none;
  width: calc(340 * var(--u)); align-self: flex-start;
  margin: calc(var(--stage-h) * 0.16) 0 0 calc(var(--stage-h) * -0.05);
  border-radius: calc(14 * var(--u));
  background: #ececec;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.app-popover .app-inner { display: flex; flex-direction: column; gap: calc(14 * var(--u)); padding: calc(16 * var(--u)); }
.pop-head { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.pop-head .glyph { width: calc(30 * var(--u)); height: calc(26 * var(--u)); }
.pop-head > span:nth-child(2) { margin-right: auto; }
.pop-head b { font: 600 calc(19 * var(--u)) / 1.1 ui-serif, "New York", Georgia, serif; }
.status-card {
  display: flex; flex-direction: column; align-items: center; gap: calc(4 * var(--u));
  padding: calc(12 * var(--u)) calc(10 * var(--u)); border-radius: calc(16 * var(--u));
  background: rgba(255, 59, 48, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 59, 48, 0.16);
}
.status-title { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); color: #b0000f; font-size: calc(12 * var(--u)); font-weight: 500; }
.status-title .rec-dot { width: calc(9 * var(--u)); height: calc(9 * var(--u)); }
.big-clock { font-size: calc(38 * var(--u)); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
/* LiveWaveform: 64 bars mirrored about the centre line, newest on the right, faded at both ends. */
.wave {
  display: grid; grid-template-columns: repeat(64, 1fr); align-items: center;
  width: 100%; height: calc(30 * var(--u)); margin-top: calc(4 * var(--u));
}
.wave i {
  justify-self: center; width: 50%; border-radius: 999px; background: #ff3b30;
  height: max(calc(2 * var(--u)), calc(var(--h) * 30 * var(--u))); opacity: var(--o);
}
.sources { border-radius: calc(12 * var(--u)); background: rgba(0, 0, 0, 0.045); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.source { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(8 * var(--u)) calc(12 * var(--u)); }
.source + .source { border-top: 1px solid var(--sep); margin-left: calc(44 * var(--u)); padding-left: 0; }
.source + .source .ico { margin-left: calc(-32 * var(--u)); }
.source .ico { width: calc(15 * var(--u)); height: calc(15 * var(--u)); margin: 0 calc(3.5 * var(--u)); }
.source > span:nth-child(2) { margin-right: auto; white-space: nowrap; }
.source em { font-style: normal; color: #1b6e30; }
.source .meter { width: calc(104 * var(--u)); }
.pop-status { display: flex; gap: calc(12 * var(--u)); padding: 0 calc(4 * var(--u)); font-size: calc(10 * var(--u)); color: var(--label-2); }
.pop-status span { display: inline-flex; align-items: center; gap: calc(4 * var(--u)); }
.pop-status .ico { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
.pop-status .is-enhanced, .pop-status .is-enhanced .ico { color: #1b6e30; }
.capsule-stop {
  align-self: center; display: inline-flex; align-items: center; gap: calc(6 * var(--u));
  padding: calc(11 * var(--u)) calc(30 * var(--u)); border-radius: 999px; background: var(--red); color: #fff;
  font-weight: 600; box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(255, 59, 48, 0.25);
}
.capsule-stop .ico { color: inherit; width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
.app-popover hr { margin: 0 calc(4 * var(--u)); border: 0; border-top: 1px solid var(--sep); }
.menu { list-style: none; margin: calc(-6 * var(--u)) calc(-8 * var(--u)); padding: 0; }
.menu li { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(6 * var(--u)) calc(8 * var(--u)); }
.menu li .ico { width: calc(15 * var(--u)); height: calc(15 * var(--u)); margin: 0 calc(3.5 * var(--u)); }
.menu li.sep { padding: 0; margin: calc(4 * var(--u)) calc(12 * var(--u)); border-top: 1px solid var(--sep); }
/* Disabled while recording, as in the app: quieter than the other rows, still readable. */
.menu li.is-disabled { color: rgba(0, 0, 0, 0.58); }
.menu li.is-disabled .ico { color: rgba(0, 0, 0, 0.3); }

/* The 3D sound field from field.js: behind the stage, fading out at the edges and under the copy. */
.field {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; pointer-events: none;
  /* Strong in the stage, gone before the headline. */
  -webkit-mask-image: radial-gradient(95% 40% at 50% 36%, #000 50%, transparent 100%);
  mask-image: radial-gradient(95% 40% at 50% 36%, #000 50%, transparent 100%);
}

/* The app's own seven-bar mark, speaking. Seen only during the entrance. */
.voice {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  height: 34%; width: auto; translate: -50% -50%;
  fill: var(--hero-text); opacity: 0; pointer-events: none;
}
.voice rect { transform-box: fill-box; transform-origin: center; }

.hero-copy { margin-top: clamp(24px, 4svh, 40px); }
.hero-wordmark {
  margin: 0 0 6px; font-size: clamp(19px, 2.2vw, 24px); color: var(--hero-accent);
}
.hero h1 {
  margin: 0 auto;
  font-size: clamp(38px, 4.8vw, 64px); line-height: 1.05; font-weight: 700;
  letter-spacing: -0.03em; text-wrap: balance;
}
.lede {
  margin: 18px auto 0; max-width: 46ch;
  font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: var(--hero-muted); text-wrap: balance;
}
.hero .actions { margin-top: 28px; }
.hero .btn-primary { background: var(--hero-text); color: var(--forest-900); }
.hero .btn-primary .soon { background: rgba(18, 56, 42, 0.12); color: var(--forest-700); }
.hero .btn-secondary { color: var(--hero-accent); }
.hero .btn-secondary:hover { background: rgba(132, 201, 163, 0.12); }
.fine {
  margin: 16px 0 0; font-size: 14px; color: var(--muted);
}
.hero .fine { color: var(--hero-muted); }

/* Hidden only until main.js starts the entrance (see the head script). */
html.hero-pending .window-wrap,
html.hero-pending .stage .popover,
html.hero-pending .hero-copy > * { opacity: 0; }

/* The header sits on the dark stage until the page scrolls past it (main.js sets on-dark). */
.site-header.on-dark { background: rgba(8, 16, 12, 0.72); border-bottom-color: rgba(255, 255, 255, 0.08); }
.site-header.on-dark .brand,
.site-header.on-dark .site-nav a:hover { color: #f2f5f3; }
.site-header.on-dark .site-nav a { color: rgba(237, 241, 238, 0.7); }
.site-header.on-dark .pill { background: rgba(132, 201, 163, 0.14); color: #84c9a3; }

/* Two lines on small screens, one on wide ones. */
.hero h1 .line { display: block; }
/* At -0.03em the "y" of "everything" runs into the "t" in this typeface: room for that one pair. */
.hero h1 .kern-yt { margin-right: 0.05em; }
@media (min-width: 900px) {
  .hero h1 .line { display: inline; }
}
@media (max-width: 560px) {
  .window-wrap, .window { border-radius: 10px; }
  .stage .popover { border-radius: 10px; }
}

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

/* Key phrases in a paragraph, set at full strength, as Apple's pages do. */
.section p > strong { font-weight: 600; color: var(--text); }
.privacy-band .section-head p > strong { color: #fff; }

section { scroll-margin-top: 72px; }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 72px); }
.eyebrow {
  margin: 0 0 14px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent);
}
h2 {
  margin: 0; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.07; font-weight: 700;
  letter-spacing: -0.03em; text-wrap: balance;
}
.section-head p:not(.eyebrow) {
  margin: 20px auto 0; max-width: 46ch; font-size: clamp(18px, 1.9vw, 21px); color: var(--muted); text-wrap: balance;
}
h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }

/* Steps */
.steps {
  list-style: none; margin: 0 auto; padding: 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step;
}
.steps li {
  counter-increment: step; padding: 28px; border-radius: var(--radius-md);
  background: var(--surface); box-shadow: var(--shadow-card); border: 1px solid var(--hairline);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 16px;
}
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; max-width: 520px; } }

/* Showcase rows */
.showcase {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  margin-top: clamp(72px, 10vw, 128px);
}
.showcase.flip .tile { order: 2; }
.showcase .copy h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.showcase .copy p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.showcase .copy ul { margin: 18px 0 0; padding: 0; list-style: none; }
.showcase .copy li { position: relative; padding-left: 26px; margin-top: 10px; color: var(--muted); }
.showcase .copy li::before {
  content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.tile {
  display: grid; place-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 70% at 20% 10%, rgba(255, 255, 255, 0.8), transparent 60%),
    linear-gradient(150deg, #e4efe6, #d3e5d8 55%, #c6dccb);
  overflow: hidden;
}
.tile.warm {
  background:
    radial-gradient(80% 70% at 80% 10%, rgba(255, 255, 255, 0.8), transparent 60%),
    linear-gradient(150deg, #efeee6, #e2e7db 55%, #d3dfd2);
}
@media (prefers-color-scheme: dark) {
  .tile { background: radial-gradient(80% 70% at 20% 10%, rgba(132, 201, 163, 0.14), transparent 60%), linear-gradient(150deg, #18271f, #12201a 60%, #0f1a15); }
  .tile.warm { background: radial-gradient(80% 70% at 80% 10%, rgba(132, 201, 163, 0.12), transparent 60%), linear-gradient(150deg, #1c2420, #151d19 60%, #101714); }
}
.tile img { border-radius: 12px; box-shadow: var(--shadow-float); }
.tile .tall { max-width: 360px; }
@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase.flip .tile { order: 0; }
}

/* Feature grid */
.features {
  margin-top: clamp(72px, 10vw, 128px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature {
  padding: 30px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
}
.feature .icon {
  width: 44px; height: 44px; margin-bottom: 20px; padding: 10px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
}
.feature .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Speaker chips, echoing the app */
.chip {
  display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 0.88em; font-weight: 600; white-space: nowrap;
}
.chip-you { background: rgba(10, 110, 230, 0.12); color: #0a58b8; }
.chip-remote { background: rgba(47, 158, 91, 0.14); color: #1f6b3e; }
.chip-room { background: rgba(214, 125, 40, 0.15); color: #8a4a0c; }
@media (prefers-color-scheme: dark) {
  .chip-you { background: rgba(80, 160, 255, 0.2); color: #9cc8ff; }
  .chip-remote { background: rgba(90, 200, 130, 0.2); color: #a3e2b9; }
  .chip-room { background: rgba(240, 160, 80, 0.2); color: #f2c08f; }
}

/* ---------- Privacy band ---------- */

.privacy-band {
  position: relative; overflow: hidden;
  margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: clamp(24px, 4vw, 40px);
  color: #eef5f0;
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(132, 201, 163, 0.22), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(10, 30, 22, 0.6), transparent 70%),
    linear-gradient(160deg, #2b6145, #1a4733 55%, #12382a);
  box-shadow: 0 40px 80px -40px rgba(18, 56, 42, 0.6);
}
.privacy-band .eyebrow { color: #a9dcbf; }
.privacy-band h2 { color: #fff; }
.privacy-band .section-head p:not(.eyebrow) { color: rgba(238, 245, 240, 0.82); }
.privacy-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.privacy-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.privacy-list svg { width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: #a9dcbf; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.privacy-list strong { display: block; color: #fff; font-size: 18px; }
.privacy-list span { color: rgba(238, 245, 240, 0.8); font-size: 16px; }
.rec-dot { display: inline-block; width: 0.62em; height: 0.62em; border-radius: 50%; background: #ff6b60; margin-right: 0.3em; vertical-align: 0.02em; }
.privacy-shot { display: grid; place-items: center; }
.privacy-shot img { max-width: 320px; width: 100%; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
.privacy-shot figcaption { margin-top: 16px; font-size: 14px; color: rgba(238, 245, 240, 0.75); text-align: center; max-width: 32ch; }
.consent {
  margin: clamp(36px, 5vw, 56px) 0 0; padding: 20px 24px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 16px; color: rgba(238, 245, 240, 0.9);
}
.consent strong { color: #fff; }
.privacy-band a { color: #c4ead4; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }

/* ---------- Works with ---------- */

.chips {
  list-style: none; margin: 0 auto; padding: 0; max-width: 860px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.chips li {
  padding: 12px 20px; border-radius: 999px; font-size: 16px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
}
.note-row {
  margin: clamp(40px, 6vw, 64px) auto 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.note-card { padding: 28px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--hairline); }
.note-card p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 720px) { .note-row { grid-template-columns: 1fr; } }

/* ---------- Requirements ---------- */

.req-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; margin: 0 auto;
}
.req {
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); text-align: center;
  background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
}
.req .big { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.req p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.req-notes { max-width: 760px; margin: 32px auto 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 16px; text-align: center; text-wrap: balance; }
@media (max-width: 620px) { .req-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .answer { padding: 0 4px 24px; color: var(--muted); }
.faq .answer p { margin: 0 0 12px; }
.faq .answer p:last-child { margin-bottom: 0; }
code { font-family: var(--font-mono); font-size: 0.86em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--hairline); overflow-wrap: anywhere; }

/* ---------- Closing call ---------- */

.closing { text-align: center; padding-bottom: clamp(80px, 12vw, 150px); }
.closing .app-icon { width: 84px; animation: none; margin-bottom: 22px; }
.closing h2 { max-width: 16ch; margin: 0 auto; }
.closing .actions { margin-top: 32px; }

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

.site-footer { border-top: 1px solid var(--hairline); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-top nav a { color: var(--muted); text-decoration: none; }
.footer-top nav a:hover { color: var(--text); text-decoration: underline; }
.site-footer .tagline { margin: 4px 0 0; }
.footer-bottom { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom p { margin: 0; }

/* ---------- Long-form page (privacy policy) ---------- */

.doc { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px); }
.doc h1 { font-size: clamp(36px, 5.4vw, 56px); line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
.doc .updated { color: var(--muted); margin: 12px 0 40px; }
.doc h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; margin: 48px 0 12px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 8px 0; }
.doc li ul { margin-top: 6px; }

/* ---------- Scroll-in motion ---------- */

.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .app-icon { animation: none; }
  .btn, .faq summary::after { transition: none; }
}

/* (.hero h1 .line is set in the hero block: two lines on small screens, one on wide.) */

/* Menu bar illustration in the privacy band */
.menubar {
  display: flex; align-items: center; justify-content: flex-end; gap: 22px;
  width: 100%; max-width: 400px; height: 58px; padding: 0 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 24px 48px -20px rgba(0, 0, 0, 0.5);
}
.mb-blank { width: 26px; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.26); }
.mb-blank.short { width: 16px; }
.mb-rec {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.mb-rec svg { width: 22px; height: 22px; }
.card-img { background: #fff; }
.showcase .copy .eyebrow { margin: 0 0 14px; font-size: 15px; color: var(--accent); }
.faq details { scroll-margin-top: 84px; }
.fine { text-wrap: balance; }
/* Let images in grid tiles shrink to the phone's width. */
.tile { grid-template-columns: minmax(0, 1fr); }
.tile img { width: 100%; justify-self: center; }
@media (max-width: 860px) { .showcase { grid-template-columns: minmax(0, 1fr); } }

/* Support page */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.toc a {
  padding: 6px 14px; border-radius: 999px; font-size: 15px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--text);
}
.toc a:hover { border-color: var(--accent); color: var(--accent); }
.doc h2[id] { scroll-margin-top: 84px; }
.doc h3 { margin: 28px 0 6px; font-size: 19px; }
.doc ol { padding-left: 1.3em; }
.doc ol li { margin: 10px 0; }

/* ---------- Hero story: menu bar, cursor, popover states, saved window, library ----------
   The finished frame (no script, reduced motion, print) is the end of the story: the recording is
   saved, the popover shows it, and the library shows its summary. main.js resets to the start and
   plays: the mark flies into the menu bar, a click opens the popover, Start Recording, the call plays
   with live speaker labels, Stop, Open Recordings, and the summary folds open. */
.stage {
  --mb: calc(30 * var(--u));
  --drop: calc(34 * var(--u));
  /* The group (window, then the popover overlapping it) and where it starts. */
  --group: calc(946 * var(--u));
  height: calc(var(--stage-h) + var(--mb) + var(--drop));
}
.window-wrap { height: var(--stage-h); margin-top: calc(var(--mb) + var(--drop)); }
.stage .popover { margin-top: calc(var(--mb) + 6 * var(--u)); transform-origin: 50% 0; }

.menubar {
  position: absolute; top: 0; left: 50%; z-index: 4;
  width: var(--group); height: var(--mb); translate: -50% 0;
  display: flex; align-items: center; justify-content: flex-end; gap: calc(18 * var(--u));
  padding: 0 calc(14 * var(--u));
  border-radius: calc(9 * var(--u));
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff;
}
.mb-blank { width: calc(30 * var(--u)); height: calc(7 * var(--u)); border-radius: 99px; background: rgba(255, 255, 255, 0.2); }
.mb-blank.short { width: calc(18 * var(--u)); }
.mb-blank.tiny { width: calc(10 * var(--u)); }
.mb-item {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: calc(36 * var(--u)); height: calc(22 * var(--u)); padding: 0 calc(8 * var(--u));
  margin-right: calc(70 * var(--u));
  border-radius: calc(6 * var(--u));
  transition: background-color 0.15s;
}
.mb-item.is-pressed { background: rgba(255, 255, 255, 0.22); }
.mb-glyph { width: calc(19 * var(--u)); height: calc(16 * var(--u)); fill: currentColor; }
.mb-rec {
  display: none; align-items: center; gap: calc(5 * var(--u));
  font: 600 calc(13 * var(--u)) / 1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-variant-numeric: tabular-nums;
}
.mb-rec .ico { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.stage[data-phase="rec"] .mb-glyph { display: none; }
.stage[data-phase="rec"] .mb-rec { display: inline-flex; }

/* The pointer. Its tip is at the top left of the box. */
.cursor {
  position: absolute; left: 0; top: 0; z-index: 6;
  width: max(16px, calc(24 * var(--u))); height: auto; margin: calc(-2.5 * var(--u)) 0 0 calc(-5 * var(--u));
  opacity: 0; pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

/* Popover states: idle, recording, saved (data-state). */
.popover[data-state="idle"] .only-rec, .popover[data-state="idle"] .only-saved,
.popover[data-state="rec"] .only-idle, .popover[data-state="rec"] .only-saved,
.popover[data-state="saved"] .only-idle, .popover[data-state="saved"] .only-rec { display: none; }
.popover[data-state="rec"] [data-quit] { color: rgba(0, 0, 0, 0.58); }
.popover[data-state="rec"] [data-quit] .ico { color: rgba(0, 0, 0, 0.3); }
.status-card.is-idle { background: rgba(0, 0, 0, 0.045); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.status-card.is-idle .status-title { color: var(--label-2); }
.status-card.is-idle .rec-dot { background: var(--label-3); box-shadow: none; animation: none; }
.source .available { font-style: normal; font-size: calc(13 * var(--u)); color: #1b6e30; }
.switch {
  position: relative; flex: none; width: calc(26 * var(--u)); height: calc(15 * var(--u));
  border-radius: 99px; background: rgba(0, 0, 0, 0.14);
}
.switch::after {
  content: ""; position: absolute; top: calc(1.5 * var(--u)); left: calc(1.5 * var(--u));
  width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.capsule-stop { transition: transform 0.12s; }
.capsule-stop.is-pressed, .saved-actions .is-pressed { transform: scale(0.95); }
.saved-card {
  display: flex; flex-direction: column; gap: calc(10 * var(--u));
  padding: calc(12 * var(--u)); border-radius: calc(14 * var(--u));
  background: rgba(0, 0, 0, 0.045); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.saved-title { display: flex; align-items: center; gap: calc(6 * var(--u)); font-size: calc(12 * var(--u)); }
.saved-title .ok { width: calc(14 * var(--u)); height: calc(14 * var(--u)); color: #248a3d; }
.saved-title > span:last-child { margin-left: auto; color: var(--label-2); font-variant-numeric: tabular-nums; }
.player { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.player .play { display: grid; place-items: center; flex: none; width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: 50%; background: rgba(0, 0, 0, 0.82); }
.player .play .ico { width: calc(12 * var(--u)); height: calc(12 * var(--u)); color: #fff; margin-left: calc(1.5 * var(--u)); }
.player .track { flex: 1; height: calc(4 * var(--u)); border-radius: 99px; background: rgba(0, 0, 0, 0.12); }
.player .ptime { font-size: calc(10 * var(--u)); color: var(--label-2); font-variant-numeric: tabular-nums; }
.saved-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: calc(8 * var(--u)) calc(12 * var(--u));
  padding: 0 calc(4 * var(--u)); font-size: calc(12 * var(--u));
}
.saved-actions span { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); border-radius: calc(5 * var(--u)); transition: transform 0.12s, background-color 0.12s; }
.saved-actions .ico { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.saved-actions .is-pressed { background: rgba(0, 0, 0, 0.08); }

/* The transcript window after Stop. */
.status-pill.is-saved { background: rgba(0, 0, 0, 0.06); color: var(--label-2); }
.status-pill.is-saved .rec-dot { background: var(--label-3); box-shadow: none; animation: none; }
.stage[data-phase="saved"] .win-head .meter i.on { background: rgba(0, 0, 0, 0.11); }

/* Speakers (SpeakerPalette: Speaker 1 green, Speaker 2 orange), resolving live. */
.chip--s2 { background: rgba(255, 149, 0, 0.16); color: #8a4f00; }
.chip.is-resolving { animation: chip-resolve 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes chip-resolve { from { transform: scale(0.86); opacity: 0.4; } to { transform: none; opacity: 1; } }

/* The recording in the library, over the window. */
.app-library {
  position: absolute; z-index: 3;
  left: calc(50% - var(--group) / 2 + 56 * var(--u)); top: calc(var(--mb) + 16 * var(--u));
  width: calc(448 * var(--u)); height: calc(650 * var(--u));
  border-radius: calc(12 * var(--u)); background: #fff; overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.app-library .app-inner { display: flex; flex-direction: column; gap: calc(12 * var(--u)); padding: calc(20 * var(--u)) calc(20 * var(--u)) 0; height: 100%; }
.lib-head b { display: block; font-size: calc(17 * var(--u)); }
.lib-head small { font-size: calc(12 * var(--u)); margin-top: calc(3 * var(--u)); }
.lib-head .lib-saved { font-size: calc(10 * var(--u)); }
.summary { overflow: hidden; border-top: 1px solid var(--sep); padding-top: calc(12 * var(--u)); font-size: calc(13 * var(--u)); line-height: 1.35; }
.sum-title { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); font-weight: 600; }
.sum-title .ico { width: calc(14 * var(--u)); height: calc(14 * var(--u)); color: var(--label); }
.summary p { margin: calc(8 * var(--u)) 0 calc(4 * var(--u)); }
.summary small { font-size: calc(10 * var(--u)); font-weight: 600; margin-top: calc(6 * var(--u)); }
.summary ul { margin: calc(2 * var(--u)) 0 0; padding-left: calc(15 * var(--u)); }
.summary .sum-note { font-weight: 400; margin-top: calc(8 * var(--u)); }
.lib-rows { padding: 0; border-top: 1px solid var(--sep); }
.lib-rows .row { gap: calc(12 * var(--u)); }
.lib-rows .row .time { width: calc(64 * var(--u)); }

/* Replay, once the story has played. */
.replay {
  position: absolute; z-index: 5; bottom: 0; right: calc(50% - var(--group) / 2 + 118 * var(--u));
  padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06); color: var(--hero-text); font: 600 13px var(--font-sans); cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.replay.is-shown { opacity: 1; visibility: visible; }
.replay:hover { background: rgba(255, 255, 255, 0.14); }

html.hero-pending .menubar,
html.hero-pending .app-library { opacity: 0; }
/* The stage is taller now (the menu bar sits above the window), so it starts a little smaller to keep
   the line and the buttons in the first view. */
.hero { --stage-h: min(45svh, 460px, calc((100vw - 2 * var(--gutter)) / 1.45)); }
.app [hidden] { display: none !important; }
.summary ul { list-style: disc; }
.summary li { padding-left: calc(2 * var(--u)); }
.summary ul { list-style: none; padding-left: 0; }
.summary li { display: flex; gap: calc(6 * var(--u)); padding-left: 0; }
.summary li::before { content: "•"; flex: none; }
@media (max-width: 560px) { .replay { padding: 4px 11px; font-size: 12px; } }

/* ---------- Page polish (29 Nov 2026) ---------- */

/* Privacy panel: one compact grid of five points, no empty column. */
.privacy-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; margin-top: 8px; }
.privacy-list li { grid-template-columns: 1fr; gap: 10px; }
.privacy-list span { font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .privacy-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .privacy-list { grid-template-columns: 1fr; } }
.privacy-band .consent strong { color: #fff; }
.rec-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px 1px 5px; margin: 0 2px;
  border-radius: 99px; background: rgba(0, 0, 0, 0.28); color: #fff;
  font: 600 13px var(--font-sans); font-variant-numeric: tabular-nums; vertical-align: 1px; white-space: nowrap;
}
.rec-pill i { width: 11px; height: 11px; border-radius: 50%; background: #ff453a; box-shadow: inset 0 0 0 3px #ff453a, inset 0 0 0 6px #fff; }

/* Speaker separation: one capture hands over to the next. */
.speaker-tile { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.speaker-step { margin: 0; display: grid; gap: 8px; justify-items: start; }
.speaker-step figcaption { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent); }
.speaker-step img {
  width: 100%; border-radius: 12px; box-shadow: var(--shadow-card);
  -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent);
}
.speaker-step.is-after img { width: 78%; }
.speaker-arrow { align-self: center; font-size: 22px; color: var(--accent); line-height: 1; }
.js .speaker-tile .is-after { opacity: 0; transform: translateY(14px); transition: opacity 0.7s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .speaker-tile.is-visible .is-after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .speaker-tile .is-after { opacity: 1; transform: none; transition: none; } }

/* Enhanced Accuracy: one number, with its conditions. */
.stat-callout {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  margin-top: clamp(72px, 10vw, 128px); padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
}
.stat { display: grid; gap: 6px; }
.stat-num {
  font-size: clamp(76px, 11vw, 148px); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em;
  background: linear-gradient(160deg, #2b6145, #4f9a72); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-color-scheme: dark) { .stat-num { background-image: linear-gradient(160deg, #84c9a3, #c4ead4); } }
.stat-label { font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); max-width: 18ch; }
.stat-callout .copy h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.stat-callout .copy p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.stat-callout .copy .eyebrow { margin: 0 0 14px; font-size: 15px; color: var(--accent); }
.stat-callout .copy .fine { font-size: 14px; }
@media (max-width: 860px) { .stat-callout { grid-template-columns: 1fr; } }

/* Requirements: the notes are fine print. */
.req-notes.fine-print { max-width: 640px; margin-top: 28px; gap: 6px; font-size: 14px; line-height: 1.5; }

/* The closing icon, centred, as the app's icon is drawn. */
.closing .app-icon {
  display: block; width: 84px; height: auto; aspect-ratio: 1; margin: 0 auto 22px; border-radius: 22.5%;
  box-shadow: 0 2px 4px rgba(18, 56, 42, 0.15), 0 24px 48px -16px rgba(18, 56, 42, 0.55);
}
.privacy-list li { align-content: start; }
.stat-label { max-width: 22ch; }
