/* VoiceSwitch. Colours come from the app icon: black and white, red only for recording. */
:root {
  color-scheme: light dark;
  --paper: #ffffff;
  --track: #f5f5f7;
  --ink: #1c1c1f;
  --ink-2: #515154;
  --ink-3: #6e6e73;
  --hair: rgba(60, 60, 67, 0.26);
  --rec: #e5352b;
  --rec-hi: #ff6b62;
  --win: #ffffff;
  --win-side: #f3f3f5;
  --win-edge: rgba(0, 0, 0, 0.14);
  --field: rgba(0, 0, 0, 0.05);
  --bubble: #f2f2f4;
  --bubble-me: #e5e5ea;
  --shadow-win: 0 0 0 0.5px var(--win-edge), 0 2px 6px rgba(0, 0, 0, 0.04), 0 30px 80px -30px rgba(0, 0, 0, 0.32);
  --focus: #1c1c1f;
  --plate-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 48px -24px rgba(0, 0, 0, 0.5);
  --key-bg: linear-gradient(#ffffff, #f4f4f6);
  --key-ink: #1c1c1f;
  --key-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 1px 0 #ffffff inset, 0 6px 0 -1px #d1d1d6, 0 10px 18px -6px rgba(0, 0, 0, 0.25);
  --phone-filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.16));
  --band-bg: linear-gradient(#1c1c1f, #0b0b0d 40%);
  --band-edge: transparent;
  --band-ink: #f5f5f7;
  --band-ink-2: #c7c7cc;
  --band-solid: #0b0b0d;
  --band-alt: #ececf0;
  --on-band: #ffffff;
  --group-edge: transparent;
  --plate-bg: linear-gradient(#2e2e33, #0b0b0d);
  --light-only: block;
  --dark-only: none;
  --ios-bg: #f2f2f7;
  --ios-card: #ffffff;
  --ios-ink: #000000;
  --ios-ink-2: #8a8a8e;
  --ios-ring: #c7c7cc;
  --ios-track: #e5e5ea;
  --ios-glass: rgba(255, 255, 255, 0.86);
  --ok: #248a3d;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 40px);
  --wide: 1120px;
}

/* Dark follows the browser, unless the visitor picked an appearance with the header button (theme.js). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #000000;
    --track: #202023;
    --ink: #f5f5f7;
    --ink-2: #c7c7cc;
    --ink-3: #a1a1a6;
    --hair: rgba(235, 235, 245, 0.26);
    --win: #232326;
    --win-side: #2a2a2d;
    --win-edge: rgba(255, 255, 255, 0.18);
    --field: rgba(255, 255, 255, 0.08);
    --bubble: #2c2c2e;
    --bubble-me: #3a3a3c;
    --shadow-win: 0 0 0 1px var(--win-edge), 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(255, 255, 255, 0.1);
    --focus: #f5f5f7;
    --plate-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.16), 0 24px 70px -24px rgba(255, 255, 255, 0.14);
    --plate-bg: linear-gradient(#3c3c40, #1c1c1f);
    --key-bg: linear-gradient(#3a3a3c, #2c2c2e);
    --key-ink: #f5f5f7;
    --key-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 6px 0 -1px #111113, 0 10px 18px -6px rgba(0, 0, 0, 0.7);
    --phone-filter: none;
    --band-bg: #f5f5f7;
    --band-edge: transparent;
    --band-ink: #1c1c1f;
    --band-ink-2: #515154;
    --band-solid: #f5f5f7;
    --band-alt: #1c1c1f;
    --on-band: #2e2e31;
    --group-edge: rgba(255, 255, 255, 0.07);
    --light-only: none;
    --dark-only: block;
    --ios-bg: #000000;
    --ios-card: #1c1c1e;
    --ios-ink: #ffffff;
    --ios-ink-2: #8d8d93;
    --ios-ring: #48484a;
    --ios-track: #2c2c2e;
    --ios-glass: rgba(37, 37, 40, 0.88);
    --ok: #30d158;
  }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #000000;
    --track: #202023;
    --ink: #f5f5f7;
    --ink-2: #c7c7cc;
    --ink-3: #a1a1a6;
    --hair: rgba(235, 235, 245, 0.26);
    --win: #232326;
    --win-side: #2a2a2d;
    --win-edge: rgba(255, 255, 255, 0.18);
    --field: rgba(255, 255, 255, 0.08);
    --bubble: #2c2c2e;
    --bubble-me: #3a3a3c;
    --shadow-win: 0 0 0 1px var(--win-edge), 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(255, 255, 255, 0.1);
    --focus: #f5f5f7;
    --plate-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.16), 0 24px 70px -24px rgba(255, 255, 255, 0.14);
    --plate-bg: linear-gradient(#3c3c40, #1c1c1f);
    --key-bg: linear-gradient(#3a3a3c, #2c2c2e);
    --key-ink: #f5f5f7;
    --key-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 6px 0 -1px #111113, 0 10px 18px -6px rgba(0, 0, 0, 0.7);
    --phone-filter: none;
    --band-bg: #f5f5f7;
    --band-edge: transparent;
    --band-ink: #1c1c1f;
    --band-ink-2: #515154;
    --band-solid: #f5f5f7;
    --band-alt: #1c1c1f;
    --on-band: #2e2e31;
    --group-edge: rgba(255, 255, 255, 0.07);
    --light-only: none;
    --dark-only: block;
    --ios-bg: #000000;
    --ios-card: #1c1c1e;
    --ios-ink: #ffffff;
    --ios-ink-2: #8d8d93;
    --ios-ring: #48484a;
    --ios-track: #2c2c2e;
    --ios-glass: rgba(37, 37, 40, 0.88);
    --ok: #30d158;
}
:root[data-theme="light"] { color-scheme: light; }

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.5 var(--font);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 72px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 10;
  padding: 8px 14px; border-radius: 8px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-size: 15px;
}
.skip:focus { top: 12px; }

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

.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 52px; padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--hair);
}
.brand { display: inline-flex; align-items: center; flex: none; padding: 4px 0; }
.logo { height: 22px; width: auto; }
.logo-on-light { display: var(--light-only); }
.logo-on-dark { display: var(--dark-only); }
.top-end { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); }
.theme-toggle {
  display: inline-grid; place-items: center; flex: none;
  width: 32px; height: 32px; margin-right: -6px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); background: var(--field); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-moon { display: var(--light-only); }
.i-sun { display: var(--dark-only); }
html:not(.js) .theme-toggle { display: none; }
.top-nav { display: flex; gap: clamp(16px, 3vw, 28px); font-size: 14px; }
.top-nav a { color: var(--ink-2); text-decoration: none; }
.top-nav a:hover { color: var(--ink); }
.cta {
  display: inline-block; flex: none; height: 30px; line-height: 30px; padding: 0 14px;
  border-radius: 999px; background: var(--ink); color: var(--paper);
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.cta:hover { opacity: 0.85; }
/* On the home page the header button waits until the hero's own button has scrolled away (script.js). */
.cta { transition: opacity 0.25s ease, visibility 0.25s; }
.js .home .cta:not(.is-shown) { opacity: 0; visibility: hidden; }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(56px, 9vw, 112px) var(--gutter) 0;
  text-align: center;
}
.hero h1 {
  max-width: 11.5em; margin: 0 auto;
  font-size: clamp(2.5rem, 1.1rem + 5.2vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.lede {
  max-width: 35rem; margin: 24px auto 0;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  line-height: 1.45; color: var(--ink-2);
}

.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(32px, 4vw, 44px); }
.button {
  display: inline-block; height: 48px; line-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 600; text-decoration: none;
}
.button:hover { opacity: 0.85; }
.hero-note { font-size: 14px; color: var(--ink-2); }

/* The switch, drawn from the icon: a 632 x 248 track, a 192 knob, five bars. */
.plate {
  --w: 66px;
  --u: calc(var(--w) / 632);
  display: inline-block; flex: none;
  padding: calc(44 * var(--u));
  border-radius: calc(180 * var(--u));
  background: var(--plate-bg);
  box-shadow: var(--plate-shadow);
  transition: box-shadow 0.4s ease;
}
.plate { position: relative; }
.plate.is-hinting::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: hint 1.4s ease-out 4;
}
@keyframes hint {
  from { box-shadow: 0 0 0 0 rgba(229, 53, 43, 0.65); }
  to { box-shadow: 0 0 0 14px rgba(229, 53, 43, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .plate.is-hinting::after { animation: none; box-shadow: 0 0 0 3px rgba(229, 53, 43, 0.6); }
}
.plate:has(.switch[aria-checked="true"]) { box-shadow: var(--plate-shadow), 0 0 22px -2px rgba(229, 53, 43, 0.55); }
.switch {
  display: block; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
}
.switch:focus-visible { outline: 3px solid #f5f5f7; outline-offset: calc(22 * var(--u)); border-radius: 999px; }
.track {
  position: relative; display: block;
  width: var(--w); height: calc(248 * var(--u));
  border-radius: 999px;
  background: #f5f5f7;
  box-shadow: inset 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, 0.16);
}
.knob {
  position: absolute; top: calc(28 * var(--u)); left: calc(28 * var(--u));
  width: calc(192 * var(--u)); height: calc(192 * var(--u));
  border-radius: 50%;
  background: linear-gradient(#ffffff, #e6e6ea);
  box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(0, 0, 0, 0.3), inset 0 0 0 0.5px rgba(0, 0, 0, 0.1);
  transition: left 0.5s cubic-bezier(0.3, 0.9, 0.3, 1);
}
.knob::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(var(--rec-hi), var(--rec));
  opacity: 0; transition: opacity 0.3s ease;
}
.bars i {
  --h: 30;
  position: absolute; top: 50%; left: calc(var(--x) * var(--u));
  width: calc(30 * var(--u)); height: calc(var(--h) * var(--u));
  border-radius: 999px; background: #c7c7cc;
  transform: translate(calc(220 * var(--u)), -50%);
  transition: transform 0.5s cubic-bezier(0.3, 0.9, 0.3, 1), height 0.4s ease, background-color 0.3s;
}
.bars i:nth-child(1) { --x: 81; }
.bars i:nth-child(2) { --x: 135; }
.bars i:nth-child(3) { --x: 189; }
.bars i:nth-child(4) { --x: 243; }
.bars i:nth-child(5) { --x: 297; }
.switch[aria-checked="true"] .knob { left: calc(412 * var(--u)); }
.switch[aria-checked="true"] .knob::after { opacity: 1; }
.switch[aria-checked="true"] .bars i { transform: translate(0, -50%); background: #1c1c1f; }
.switch[aria-checked="true"] .bars i:nth-child(1) { --h: 64; }
.switch[aria-checked="true"] .bars i:nth-child(2) { --h: 120; }
.switch[aria-checked="true"] .bars i:nth-child(3) { --h: 168; }
.switch[aria-checked="true"] .bars i:nth-child(4) { --h: 104; }
.switch[aria-checked="true"] .bars i:nth-child(5) { --h: 56; }

@media (prefers-reduced-motion: no-preference) {
  .switch[aria-checked="true"] .bars i { animation: talk 0.9s ease-in-out 0.5s infinite alternate; }
  .switch[aria-checked="true"] .bars i:nth-child(2) { animation-duration: 0.7s; animation-delay: 0.6s; }
  .switch[aria-checked="true"] .bars i:nth-child(3) { animation-duration: 1.1s; animation-delay: 0.55s; }
  .switch[aria-checked="true"] .bars i:nth-child(4) { animation-duration: 0.8s; animation-delay: 0.7s; }
  .switch[aria-checked="true"] .bars i:nth-child(5) { animation-duration: 1s; animation-delay: 0.65s; }
}
@keyframes talk {
  from { height: calc(var(--h) * var(--u)); }
  to { height: calc(var(--h) * 0.45 * var(--u)); }
}
@media (prefers-reduced-motion: reduce) {
  .knob, .knob::after, .bars i { transition: none; }
}

.switch-status {
  min-height: 1.5em; margin-top: 20px; text-align: center;
  font-size: 15px; font-weight: 500; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.switch-status[data-live]::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px;
  border-radius: 50%; background: var(--rec); vertical-align: 1px;
}

/* ---------- The sample note, as the Mac app shows it ---------- */

.mac { max-width: 1040px; margin: clamp(40px, 6vw, 64px) auto 0; text-align: left; }
.mac-frame {
  display: grid; grid-template-columns: 208px minmax(0, 1fr);
  border-radius: 12px; overflow: hidden;
  background: var(--win); box-shadow: var(--shadow-win);
  font-size: 13px; line-height: 1.45; letter-spacing: 0;
}
.mac-side {
  display: flex; flex-direction: column; gap: 1px;
  padding: 14px 10px 12px;
  background: var(--win-side); border-right: 0.5px solid var(--hair);
  color: var(--ink);
}
.lights { display: flex; gap: 8px; padding: 0 4px 14px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: var(--field); box-shadow: inset 0 0 0 0.5px var(--win-edge); }
.side-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.side-search {
  display: flex; flex: 1; align-items: center; gap: 6px; padding: 4px 9px 4px 7px;
  border-radius: 7px; background: var(--field); color: var(--ink-3);
}
/* The Mac app's sidebar icons (src/views.js ICONS), drawn the same way. */
.mi { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.side-search .mi { width: 13px; height: 13px; }
.side-compose { width: 17px; height: 17px; color: var(--ink-3); }
.side-nav, .side-notes { list-style: none; margin: 0; padding: 0; }
.side-nav li { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 6px; font-weight: 500; }
.side-nav .mi { color: var(--ink-3); }
.side-nav span { margin-left: auto; color: var(--ink-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.side-head { display: block; margin: 14px 0 3px; padding: 0 8px; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.side-notes li { padding: 6px 8px; border-radius: 7px; }
.side-notes b { display: block; font-weight: 600; font-size: 12.5px; }
.side-notes span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-3); font-size: 12px; }
.side-notes .is-open { background: var(--field); }
.side-bottom { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; color: var(--ink-3); }
.side-foot {
  display: inline-flex; align-items: center; gap: 5px; margin-right: auto; padding: 2px 9px;
  border-radius: 999px; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); font-size: 11.5px; font-weight: 500;
}
.side-foot i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.mac-main { display: flex; flex-direction: column; min-width: 0; }
.mac-tools { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 10px 14px 0; }
.tool { padding: 4px 10px; border-radius: 7px; color: var(--ink-2); font-weight: 500; }
.rec-time { display: none; margin-right: 2px; color: var(--rec); font-weight: 600; font-variant-numeric: tabular-nums; }
[data-state="recording"] .rec-time { display: inline; }
.rec-label { margin-left: 6px; font-weight: 600; color: var(--ink); }
[data-state="recording"] .rec-label { display: none; }

.note { padding: 6px clamp(20px, 4vw, 44px) 0; }
.note-title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.note-meta { margin: 3px 0 20px; color: var(--ink-2); font-size: 12.5px; }

/* Both panes share one grid cell, so the window keeps its height when it switches. */
.note-body { display: grid; }
.pane { grid-area: 1 / 1; transition: opacity 0.35s ease, visibility 0.35s; }
.pane-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.pane-live { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0 36px; visibility: hidden; opacity: 0; }
[data-state="recording"] .pane-summary,
[data-state="summarizing"] .pane-summary { visibility: hidden; opacity: 0; }
[data-state="recording"] .pane-live,
[data-state="summarizing"] .pane-live { visibility: visible; opacity: 1; }

.sum-head { margin: 0 0 5px; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.sum-head ~ .sum-head { margin-top: 18px; }
.sum-col > p:not([class]) { margin-bottom: 3px; }
.dots, .todo { list-style: none; margin: 0; padding: 0; }
.dots li { position: relative; padding-left: 16px; margin-bottom: 3px; }
.dots li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); }
.todo li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.todo li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.todo span { display: block; color: var(--ink-2); font-size: 12px; }
.sum-by { margin-top: 18px; color: var(--ink-2); font-size: 11.5px; }

.transcript { display: flex; flex-direction: column; min-width: 0; }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.line {
  align-self: flex-start; max-width: 90%;
  padding: 4px 10px 5px; border-radius: 11px;
  background: var(--bubble);
}
.line.me { align-self: flex-end; background: var(--bubble-me); }
.who { margin-right: 6px; color: var(--ink-2); font-size: 11px; font-weight: 600; }
.mac[data-state="recording"] .line:not(.is-heard) { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .line.is-heard { animation: heard 0.35s ease both; }
}
@keyframes heard { from { opacity: 0; transform: translateY(4px); } }
.thinking { display: none; margin-top: 12px; color: var(--ink-2); }
.thinking::before {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px;
  border-radius: 50%; border: 1.5px solid var(--ink-3); border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .thinking::before { animation: none; } }
[data-state="summarizing"] .thinking { display: block; }

.mac-ask { display: grid; gap: 8px; padding: 22px clamp(20px, 4vw, 44px) 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chips span { padding: 3px 10px; border-radius: 999px; background: var(--field); color: var(--ink-2); font-size: 12px; }
.ask-box {
  display: block; padding: 8px 14px; border-radius: 12px;
  box-shadow: 0 0 0 0.5px var(--win-edge), 0 2px 8px rgba(0, 0, 0, 0.06);
  color: var(--ink-3);
}

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

.section { max-width: var(--wide); margin: 0 auto; padding: clamp(96px, 13vw, 168px) var(--gutter) 0; }
h2 { font-size: clamp(2rem, 1.25rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -0.028em; }
.split-head p, .center-head p {
  margin-top: 16px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.45; color: var(--ink-2);
}
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.split-head { position: sticky; top: 100px; }
.center-head { max-width: 40rem; margin: 0 auto; text-align: center; }

/* Full-width bands between sections, so the page has rhythm. */
.band {
  margin-top: clamp(96px, 13vw, 168px); padding-top: clamp(80px, 10vw, 128px); padding-bottom: clamp(88px, 11vw, 144px);
  background: var(--band-alt); box-shadow: 0 0 0 100vmax var(--band-alt); clip-path: inset(0 -100vmax);
}
.band .group { background: var(--on-band); }
.band + .privacy, .privacy + .band { margin-top: 0; }
.film-frame { position: relative; max-width: 1040px; margin: clamp(40px, 5vw, 56px) auto 0; }
.promo {
  display: block; width: 100%; height: auto;
  border-radius: 16px; background: #000; box-shadow: var(--shadow-win);
}
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 84px; height: 84px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: #1c1c1f; cursor: pointer;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, background-color 0.2s;
}
.play:hover { background: #ffffff; transform: translate(-50%, -50%) scale(1.05); }
.play svg { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.duration {
  position: absolute; right: 14px; bottom: 14px; padding: 3px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.62); color: #ffffff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
html:not(.js) .play, html:not(.js) .duration,
.film-frame.is-playing .play, .film-frame.is-playing .duration { display: none; }
@media (prefers-reduced-motion: reduce) { .play { transition: none; } .play:hover { transform: translate(-50%, -50%); } }

/* Grouped list, as in Settings. */
.group { list-style: none; margin: 0; padding: 0; border-radius: 16px; background: var(--track); box-shadow: inset 0 0 0 1px var(--group-edge); }
.group li { position: relative; padding: 18px 22px 19px; }
.group li + li::before { content: ""; position: absolute; top: 0; left: 22px; right: 0; border-top: 0.5px solid var(--hair); }
.group h3, .facts h3, .dictate h3 { font-size: 17px; line-height: 1.35; letter-spacing: -0.02em; }
.group p { margin-top: 3px; font-size: 15px; line-height: 1.47; color: var(--ink-2); }

.dictate {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 80px); align-items: center;
  margin-top: clamp(72px, 10vw, 128px);
}
.dictate h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; }
.dictate p { margin-top: 12px; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.dictate-art {
  display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 20px 32px;
  padding: clamp(36px, 5vw, 56px) 24px; border-radius: 16px; background: var(--track);
}
.key {
  position: relative; display: block; width: 104px; height: 104px;
  border-radius: 16px;
  background: var(--key-bg);
  box-shadow: var(--key-shadow);
  color: var(--key-ink);
}
.key-glyph { position: absolute; top: 10px; right: 14px; font-size: 26px; line-height: 1; }
.key-word { position: absolute; left: 14px; bottom: 12px; font-size: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #0b0b0d; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 12px 24px -12px rgba(0, 0, 0, 0.6);
}
.pill-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rec-hi); }
.pill-bars { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.pill-bars i { width: 3px; border-radius: 2px; background: #f5f5f7; height: 30%; }
.pill-bars i:nth-child(2) { height: 60%; }
.pill-bars i:nth-child(3) { height: 100%; }
.pill-bars i:nth-child(4) { height: 70%; }
.pill-bars i:nth-child(5) { height: 85%; }
.pill-bars i:nth-child(6) { height: 45%; }
.dictate-note { grid-column: 1 / -1; text-align: center; color: var(--ink-2); font-size: 13px; }

/* ---------- iPhone and Watch ---------- */

.phones {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px);
  max-width: 980px; margin: clamp(48px, 6vw, 72px) auto 0;
}
.phone { margin: 0; }
.phone-device {
  position: relative; width: 100%; max-width: 280px; margin: 0 auto; aspect-ratio: 1 / 2;
  filter: var(--phone-filter);
}
.phone-device img {
  position: absolute; left: 7.04%; top: 3.2025%; width: 85.99%; height: 93.5925%;
  border-radius: 14.32% / 6.577%; object-fit: cover; background: var(--track);
}
.phone-device .shot-light { display: var(--light-only); }
.phone-device .shot-dark { display: var(--dark-only); }
.phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone figcaption { max-width: 17rem; margin: 22px auto 0; text-align: center; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.phone figcaption b, .flow-step b { color: var(--ink); font-weight: 600; }

/* The trip a recording takes: Watch, iPhone, Mac, and back. One line runs behind the devices. */
.flow {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  max-width: 1040px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0; list-style: none;
}
.flow::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 150px;
  border-top: 1.5px dashed var(--ink-3); opacity: 0.6;
}
.flow-step { position: relative; text-align: center; }
.flow-visual { display: flex; align-items: center; justify-content: center; height: 300px; }
.flow-step p { max-width: 15rem; margin: 18px auto 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.watch-sm { width: 132px; padding: 10px; }
.phone-sm { width: 150px; max-width: none; margin: 0; }
.mini-mac {
  display: flex; flex-direction: column; gap: 3px; width: 100%; max-width: 230px; padding: 12px 14px 15px;
  border-radius: 10px; background: var(--win); box-shadow: var(--shadow-win);
  font-size: 11.5px; line-height: 1.4; text-align: left; color: var(--ink);
}
.mini-mac .lights { gap: 6px; padding: 0 0 8px; }
.mini-mac .lights i { width: 8px; height: 8px; }
.mm-title { margin-bottom: 2px; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.mm-head { margin-top: 6px; font-weight: 600; }
.mm-line, .mm-todo { color: var(--ink-2); }
.mm-todo { position: relative; padding-left: 16px; }
.mm-todo::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.2px var(--ink-3); }
.flow + .phones { margin-top: clamp(80px, 10vw, 128px); }
.extras-list { max-width: 720px; margin: clamp(56px, 7vw, 88px) auto 0; }
/* The red dot of the switch, as the full stop of the big headlines. */
.dot { color: var(--rec); }

/* A call to action at the end of a section. */
.section-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.section-cta p { font-size: 17px; font-weight: 600; color: var(--ink); }
.privacy .section-cta .button { background: var(--band-ink); color: var(--band-solid); }

/* Connections: how MCP works, then the apps by kind. */
.mcp {
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr); align-items: center; gap: 20px 28px;
  max-width: 980px; margin: clamp(40px, 5vw, 56px) auto 0; padding: clamp(22px, 4vw, 40px);
  border-radius: 20px; background: var(--track); box-shadow: inset 0 0 0 1px var(--group-edge);
}
.mcp h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; letter-spacing: -0.02em; }
.tile-icon { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* An app it connects to: its logo (or initial), its name, and how it connects. */
.int-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 18px 0 0; padding: 0; list-style: none; }
.int { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.int-logo {
  grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: #ffffff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}
.int-logo img { width: 20px; height: 20px; object-fit: contain; }
.int-logo svg { width: 20px; height: 20px; fill: none; stroke: #1c1c1f; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.int-logo img.int-mark { width: 26px; height: auto; }
.int-name { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.int-how { font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
.int-agents { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mcp-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 150px; }
.mcp-link::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; border-top: 1.5px dashed var(--ink-3); }
.mcp-pill { position: relative; padding: 4px 13px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; letter-spacing: 0.03em; line-height: 20px; }
.mcp-link-note { font-size: 12px; color: var(--ink-2); }
.mcp-home { text-align: center; }
.mcp-home img { display: block; width: 76px; height: auto; margin: 0 auto 10px; }
.mcp-name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.mcp-sub { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.mcp figcaption { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--hair); }
.mcp-lead { font-size: 16px; font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink); }
.checks li { position: relative; padding-left: 22px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 0.2em; width: 6px; height: 11px;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.mcp-fine { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.connect-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 16px auto 0; }
.tile { padding: clamp(22px, 3vw, 28px); border-radius: 20px; background: var(--track); box-shadow: inset 0 0 0 1px var(--group-edge); }
.tile h3 { margin-top: 14px; font-size: 17px; letter-spacing: -0.02em; }
.tile p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.watch-device {
  position: relative; width: 172px; padding: 13px; border-radius: 30% / 26%;
  background: linear-gradient(#3a3a3c, #0b0b0d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 36px -16px rgba(0, 0, 0, 0.45);
}
.watch-device::after { content: ""; position: absolute; right: -5px; top: 26%; width: 7px; height: 30px; border-radius: 3px; background: #48484a; }
.watch-device::before { content: ""; position: absolute; right: -3px; top: 52%; width: 4px; height: 38px; border-radius: 2px; background: #3a3a3c; }
.watch-device img { display: block; width: 100%; height: auto; border-radius: 24% / 20%; }

/* The trip's screens are drawn in HTML from the apps' own layouts, so the loop in script.js can
   move them. --u is one point on the device (watch 208 pt wide, iPhone 402 pt), so they scale. */
.w-screen {
  --u: calc(100cqw / 208);
  position: relative; display: block; aspect-ratio: 416 / 496; overflow: hidden; border-radius: 24% / 20%;
  background: #000; color: #fff; container-type: inline-size; text-align: left; line-height: 1.2;
}
.w-screen > span { position: absolute; }
.w-clock { top: calc(12 * var(--u)); right: calc(14 * var(--u)); font-size: calc(16 * var(--u)); font-weight: 600; }
.w-btn {
  left: 50%; top: calc(44 * var(--u)); display: grid; place-items: center;
  width: calc(128 * var(--u)); height: calc(128 * var(--u)); margin-left: calc(-64 * var(--u));
  border-radius: 50%; box-shadow: inset 0 0 0 calc(4 * var(--u)) rgba(255, 255, 255, 0.3);
}
.w-btn i, .ph-btn i {
  width: calc(112 * var(--u)); height: calc(112 * var(--u)); border-radius: calc(56 * var(--u));
  background: linear-gradient(var(--rec-hi), var(--rec));
  transition: width 0.25s ease, height 0.25s ease, border-radius 0.25s ease;
}
.w-rec[data-state="rec"] .w-btn i { width: calc(43.5 * var(--u)); height: calc(43.5 * var(--u)); border-radius: calc(8 * var(--u)); }
.w-tap {
  left: 50%; top: calc(108 * var(--u)); width: calc(44 * var(--u)); height: calc(44 * var(--u));
  margin: calc(-22 * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, 0.5); opacity: 0;
}
.w-rec.is-tap .w-tap { animation: w-tap 0.5s ease-out; }
@keyframes w-tap { from { transform: scale(0.4); opacity: 0.7; } to { transform: scale(1.7); opacity: 0; } }
.w-line { left: 0; right: 0; top: calc(180 * var(--u)); display: flex; align-items: center; justify-content: center; height: calc(30 * var(--u)); }
.w-hint { font-size: calc(15 * var(--u)); color: rgba(255, 255, 255, 0.55); }
.w-live { display: none; align-items: center; gap: calc(8 * var(--u)); }
.w-rec[data-state="rec"] .w-hint { display: none; }
.w-rec[data-state="rec"] .w-live { display: flex; }
.w-dot { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: var(--rec-hi); animation: w-fade 2s ease-in-out infinite; }
.w-time { font: 600 calc(22 * var(--u)) / 1 ui-rounded, "SF Pro Rounded", var(--font); font-variant-numeric: tabular-nums; }
.w-level { display: flex; align-items: center; gap: calc(3 * var(--u)); height: calc(18 * var(--u)); margin-left: calc(2 * var(--u)); }
.w-level i { width: calc(3.5 * var(--u)); height: 100%; border-radius: calc(2 * var(--u)); background: var(--rec-hi); animation: w-talk 0.8s ease-in-out infinite alternate; }
.w-level i:nth-child(1) { height: 40%; animation-delay: -0.3s; }
.w-level i:nth-child(2) { height: 75%; animation-delay: -0.6s; animation-duration: 0.7s; }
.w-level i:nth-child(4) { height: 65%; animation-delay: -0.15s; animation-duration: 0.9s; }
.w-level i:nth-child(5) { height: 35%; animation-delay: -0.45s; }
@keyframes w-fade { 50% { opacity: 0.35; } }
@keyframes w-talk { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
.w-title { top: calc(32 * var(--u)); right: calc(14 * var(--u)); font-size: calc(17 * var(--u)); font-weight: 600; }
.w-list { left: calc(4 * var(--u)); right: calc(4 * var(--u)); top: calc(60 * var(--u)); display: flex; flex-direction: column; }
.w-card { display: block; margin-bottom: calc(4 * var(--u)); padding: calc(9 * var(--u)) calc(12 * var(--u)) calc(10 * var(--u)); border-radius: calc(13 * var(--u)); background: #232325; }
.w-card b { display: block; font-size: calc(16 * var(--u)); font-weight: 600; color: inherit; }
.w-card small { display: block; margin-top: calc(2 * var(--u)); font-size: calc(13.5 * var(--u)); color: rgba(255, 255, 255, 0.55); }
.w-new { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.55s ease, opacity 0.45s ease; }
.w-clip { min-height: 0; overflow: hidden; }
.w-notes[data-state="old"] .w-new { grid-template-rows: 0fr; opacity: 0; }

.ph-screen {
  --u: calc(100cqw / 402);
  position: absolute; left: 7.04%; top: 3.2025%; width: 85.99%; height: 93.5925%; overflow: hidden;
  border-radius: 14.32% / 6.577%; background: var(--ios-bg); color: var(--ios-ink); container-type: inline-size;
  text-align: left; line-height: 1.25;
}
.ph-screen > * { position: absolute; }
.ph-screen svg { flex: none; }
.ph-time { left: 0; width: calc(146 * var(--u)); top: calc(21 * var(--u)); text-align: center; font-size: calc(17 * var(--u)); font-weight: 600; }
.ph-island { left: calc(139 * var(--u)); top: calc(14 * var(--u)); width: calc(125 * var(--u)); height: calc(37 * var(--u)); border-radius: calc(19 * var(--u)); background: #000; }
.ph-status { right: calc(26 * var(--u)); top: calc(25 * var(--u)); width: calc(46 * var(--u)); height: calc(14 * var(--u)); }
.ph-gear {
  left: calc(342 * var(--u)); top: calc(62 * var(--u)); display: grid; place-items: center;
  width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: var(--ios-card);
  box-shadow: 0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(0, 0, 0, 0.08);
}
.ph-gear svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.ph-title { left: 0; right: 0; top: calc(73 * var(--u)); text-align: center; font-size: calc(17 * var(--u)); font-weight: 600; }
.ph-pill {
  left: 50%; top: calc(125 * var(--u)); display: flex; align-items: center; gap: calc(7 * var(--u));
  height: calc(34 * var(--u)); padding: 0 calc(16 * var(--u)); transform: translateX(-50%);
  border-radius: calc(17 * var(--u)); background: var(--ios-card); font-size: calc(16 * var(--u)); white-space: nowrap;
}
.ph-pill svg { width: calc(20 * var(--u)); height: calc(17 * var(--u)); }
.ph-pill em { font-style: normal; color: var(--ios-ink-2); }
.ph-btn {
  left: 50%; top: calc(196 * var(--u)); display: grid; place-items: center;
  width: calc(84 * var(--u)); height: calc(84 * var(--u)); margin-left: calc(-42 * var(--u));
  border-radius: 50%; box-shadow: inset 0 0 0 calc(4 * var(--u)) var(--ios-ring);
}
.ph-btn i { width: calc(68 * var(--u)); height: calc(68 * var(--u)); border-radius: 50%; }
.ph-head { left: calc(33 * var(--u)); top: calc(316 * var(--u)); font-size: calc(19 * var(--u)); font-weight: 600; color: var(--ios-ink-2); }
.ph-card {
  left: calc(17 * var(--u)); right: calc(17 * var(--u)); top: calc(350 * var(--u)); display: flex; gap: calc(14 * var(--u));
  padding: calc(20 * var(--u)) calc(22 * var(--u)) calc(22 * var(--u)) calc(24 * var(--u));
  border-radius: calc(26 * var(--u)); background: var(--ios-card);
}
.ph-head, .ph-card { transition: opacity 0.4s ease, transform 0.4s ease; }
.ph-src { width: calc(20 * var(--u)); height: calc(28 * var(--u)); margin-top: calc(-2 * var(--u)); color: var(--ios-ink-2); }
.ph-row { display: flex; flex: 1; flex-direction: column; gap: calc(4 * var(--u)); min-width: 0; }
.ph-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: calc(8 * var(--u)); }
.ph-row-top b { font-size: calc(17 * var(--u)); font-weight: 500; color: inherit; }
.ph-row-top small { font-size: calc(15 * var(--u)); color: var(--ios-ink-2); font-variant-numeric: tabular-nums; }
.ph-st { display: flex; align-items: center; gap: calc(6 * var(--u)); font-size: calc(15 * var(--u)); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ph-st svg { width: calc(18 * var(--u)); height: calc(16 * var(--u)); }
.ph-bar { display: block; width: calc(180 * var(--u)); height: calc(4 * var(--u)); margin-top: calc(4 * var(--u)); border-radius: calc(2 * var(--u)); background: var(--ios-track); overflow: hidden; }
.ph-bar i { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--ios-ink); }
.ph-h-sent, .ph-st-sent { display: none; }
.ph-screen[data-state="sent"] .ph-h-unsent, .ph-screen[data-state="sent"] .ph-st-send, .ph-screen[data-state="sent"] .ph-bar { display: none; }
.ph-screen[data-state="sent"] .ph-h-sent { display: inline; }
.ph-screen[data-state="sent"] .ph-st-sent { display: flex; color: var(--ios-ink-2); }
.ph-screen[data-state="sent"] .ph-row-top b { font-weight: 400; }
.ph-screen[data-state="none"] .ph-head, .ph-screen[data-state="none"] .ph-card { opacity: 0; transform: translateY(calc(12 * var(--u))); }
.ph-tabs {
  left: calc(65 * var(--u)); right: calc(64 * var(--u)); top: calc(792 * var(--u)); display: flex; align-items: center; justify-content: space-around;
  height: calc(62 * var(--u)); padding: 0 calc(6 * var(--u)); border-radius: calc(31 * var(--u)); background: var(--ios-glass);
  box-shadow: 0 calc(6 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, 0.12), inset 0 0 0 calc(1 * var(--u)) var(--ios-track);
}
.ph-tabs span { display: flex; flex-direction: column; align-items: center; gap: calc(2 * var(--u)); padding: calc(5 * var(--u)) calc(16 * var(--u)); border-radius: calc(25 * var(--u)); font-size: calc(11 * var(--u)); font-weight: 500; }
.ph-tabs span.is-on { background: var(--ios-track); }
.ph-tabs svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }

/* The three iPhone screens under the trip (Note, Tasks, Folders), in the same points. Each acts
   out its caption in script.js; without it they show the result. */
.ph-round {
  left: calc(17 * var(--u)); top: calc(62 * var(--u)); display: grid; place-items: center;
  width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: var(--ios-card);
  box-shadow: 0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(0, 0, 0, 0.08);
}
.ph-round.is-right { left: calc(341 * var(--u)); }
.ph-round svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.pf-rec { color: var(--rec); }
.ph-large { left: calc(17 * var(--u)); top: calc(116 * var(--u)); font-size: calc(34 * var(--u)); font-weight: 700; line-height: 1.2; color: inherit; }
.pn-body { left: calc(21 * var(--u)); right: calc(21 * var(--u)); top: calc(121 * var(--u)); display: flex; flex-direction: column; font-size: calc(17 * var(--u)); line-height: 1.3; }
.pn-title { font-size: calc(28 * var(--u)); font-weight: 700; line-height: 1.2; color: inherit; }
.pn-meta { display: flex; align-items: center; gap: calc(8 * var(--u)); margin-top: calc(6 * var(--u)); font-size: calc(15 * var(--u)); color: var(--ios-ink-2); }
.pn-meta + .pn-meta { margin-top: calc(3 * var(--u)); }
.pn-meta svg { width: calc(20 * var(--u)); height: calc(17 * var(--u)); }
.pn-h { margin: calc(24 * var(--u)) 0 calc(8 * var(--u)); font-size: calc(20 * var(--u)); font-weight: 600; color: inherit; }
.pn-p + .pn-p { margin-top: calc(4 * var(--u)); }
.pn-li { position: relative; margin-bottom: calc(6 * var(--u)); padding-left: calc(18 * var(--u)); }
.pn-li::before { content: ""; position: absolute; left: calc(2 * var(--u)); top: 0.6em; width: calc(4 * var(--u)); height: calc(4 * var(--u)); border-radius: 50%; background: var(--ios-ink-2); }
.ph-todo { display: flex; align-items: flex-start; gap: calc(12 * var(--u)); margin-bottom: calc(12 * var(--u)); }
.ph-todo i {
  position: relative; flex: none; width: calc(24 * var(--u)); height: calc(24 * var(--u)); border-radius: 50%;
  box-shadow: inset 0 0 0 calc(1.8 * var(--u)) var(--ios-ring); transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.ph-todo i::after {
  content: ""; position: absolute; left: 50%; top: 45%; width: calc(6 * var(--u)); height: calc(11 * var(--u));
  border: solid var(--ios-card); border-width: 0 calc(2.4 * var(--u)) calc(2.4 * var(--u)) 0;
  transform: translate(-50%, -50%) rotate(45deg) scale(0); transition: transform 0.2s ease;
}
.ph-todo > span { display: flex; flex-direction: column; min-width: 0; transition: color 0.2s ease; }
.ph-todo small { margin-top: calc(2 * var(--u)); font-size: calc(15 * var(--u)); color: var(--ios-ink-2); }
.ph-todo.is-done i, .pn.is-ticked .pn-tick i, .pt.is-ticked .pt-tick i { background: var(--ios-ink); box-shadow: none; }
.ph-todo.is-done i::after, .pn.is-ticked .pn-tick i::after, .pt.is-ticked .pt-tick i::after { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
.ph-todo.is-done > span, .pn.is-ticked .pn-tick > span, .pt.is-ticked .pt-tick .ph-todo > span { color: var(--ios-ink-2); }
.ph-todo i.is-press { animation: ph-press 0.3s ease; }
@keyframes ph-press { 40% { transform: scale(0.8); } }
.pt-body { left: calc(17 * var(--u)); right: calc(17 * var(--u)); top: calc(176 * var(--u)); display: flex; flex-direction: column; }
.ph-group-head { margin: 0 0 calc(10 * var(--u)) calc(16 * var(--u)); font-size: calc(19 * var(--u)); font-weight: 600; color: var(--ios-ink-2); }
.ph-group { display: flex; flex-direction: column; overflow: hidden; border-radius: calc(26 * var(--u)); background: var(--ios-card); }
.ph-group + .ph-group-head { margin-top: calc(28 * var(--u)); }
.pt-row { position: relative; display: flex; align-items: center; gap: calc(8 * var(--u)); padding: calc(14 * var(--u)) calc(16 * var(--u)) calc(14 * var(--u)) calc(17 * var(--u)); font-size: calc(17 * var(--u)); line-height: 1.3; }
.pt-row::after { content: ""; position: absolute; left: calc(53 * var(--u)); right: 0; bottom: 0; border-bottom: calc(1 * var(--u)) solid var(--ios-track); }
.ph-group > .pt-row:last-child::after { display: none; }
.pt-row .ph-todo { flex: 1; min-width: 0; margin: 0; }
.pt-note { display: flex; align-items: center; gap: calc(10 * var(--u)); margin-top: calc(6 * var(--u)); font-size: calc(14 * var(--u)); color: var(--ios-ink); }
.pt-note svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.pt-chev, .pf-chev { flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); color: var(--ios-ring); }
.ph-fold { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.45s ease, opacity 0.35s ease; }
.ph-clip { min-height: 0; overflow: hidden; }
.pt:not(.is-moved) .pt-arrive, .pt.is-moved .pt-leave, .pf.is-filtered .pf-other { grid-template-rows: 0fr; opacity: 0; }
.pf-view { position: absolute; inset: 0; background: var(--ios-bg); transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1); }
.pf-view > * { position: absolute; }
.pf-work { transform: translateX(100%); box-shadow: calc(-8 * var(--u)) 0 calc(24 * var(--u)) rgba(0, 0, 0, 0.08); }
.pf.is-pushed .pf-work { transform: none; }
.pf.is-pushed .pf-list { transform: translateX(-30%); }
.pf-folders { left: calc(17 * var(--u)); right: calc(17 * var(--u)); top: calc(168 * var(--u)); }
.pf-row { position: relative; display: flex; align-items: center; gap: calc(14 * var(--u)); height: calc(52 * var(--u)); padding: 0 calc(16 * var(--u)) 0 calc(14 * var(--u)); font-size: calc(17 * var(--u)); transition: background-color 0.2s ease; }
.pf-row::after { content: ""; position: absolute; left: calc(56 * var(--u)); right: 0; bottom: 0; border-bottom: calc(1 * var(--u)) solid var(--ios-track); }
.pf-row:last-child::after { display: none; }
.pf-icon { flex: none; width: calc(28 * var(--u)); height: calc(24 * var(--u)); }
.pf-name { flex: 1; }
.pf-count { color: var(--ios-ink-2); font-variant-numeric: tabular-nums; }
.pf.is-press .pf-work-row { background: var(--ios-track); }
.pf-foot { left: calc(33 * var(--u)); right: calc(33 * var(--u)); top: calc(384 * var(--u)); font-size: calc(13 * var(--u)); color: var(--ios-ink-2); }
.pf-search {
  left: calc(17 * var(--u)); right: calc(17 * var(--u)); top: calc(174 * var(--u)); display: flex; align-items: center;
  height: calc(40 * var(--u)); padding: 0 calc(12 * var(--u)); border-radius: calc(20 * var(--u));
  background: var(--ios-track); font-size: calc(17 * var(--u)); color: var(--ios-ink-2); white-space: nowrap;
}
.pf-search svg { flex: none; width: calc(18 * var(--u)); height: calc(18 * var(--u)); margin-right: calc(7 * var(--u)); }
.pf-query { color: var(--ios-ink); }
.pf-caret { display: none; width: calc(2 * var(--u)); height: calc(21 * var(--u)); margin-right: calc(1 * var(--u)); border-radius: calc(1 * var(--u)); background: var(--ios-ink); }
.pf.is-typing .pf-caret { display: block; animation: pf-blink 1s steps(1) infinite; }
.pf-query:not(:empty) ~ .pf-hint { display: none; }
@keyframes pf-blink { 50% { opacity: 0; } }
.pf-notes { left: calc(17 * var(--u)); right: calc(17 * var(--u)); top: calc(232 * var(--u)); }
.pf-note { position: relative; display: flex; flex-direction: column; gap: calc(3 * var(--u)); padding: calc(12 * var(--u)) calc(18 * var(--u)); }
.pf-notes > .pf-note::after { content: ""; position: absolute; left: calc(18 * var(--u)); right: 0; bottom: 0; border-bottom: calc(1 * var(--u)) solid var(--ios-track); }
.pf-note b { font-size: calc(17 * var(--u)); font-weight: 600; color: inherit; }
.pf-note small { overflow: hidden; font-size: calc(15 * var(--u)); color: var(--ios-ink-2); white-space: nowrap; text-overflow: ellipsis; }
.ph-screen.is-resetting * { transition: none !important; }

/* The Mac's write-up appears line by line, only while the loop runs (without it, all is shown). */
.flow.is-playing .mm-step { opacity: 0; transform: translateY(4px); transition: opacity 0.35s ease, transform 0.35s ease; }
.flow.is-playing .mm-step.is-on { opacity: 1; transform: none; }

/* Each loop starts from its first frame at once, not by fading back from the last. */
.flow.is-resetting * { transition: none !important; }

/* What travels between the devices: a dot along the dashed line, behind them. */
.flow-step { z-index: 1; }
.flow::after {
  content: ""; position: absolute; left: 0; top: 150px; z-index: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 14%, transparent);
  opacity: 0; pointer-events: none;
}
.flow.is-travel::after { animation: flow-travel 0.7s ease-in-out both; }
@keyframes flow-travel {
  from { transform: translateX(var(--from, 0)); opacity: 0; }
  25%, 75% { opacity: 1; }
  to { transform: translateX(var(--to, 0)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .w-dot, .w-level i { animation: none; }
  .w-btn i, .ph-btn i, .w-new, .ph-head, .ph-card { transition: none; }
}

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

.privacy {
  margin-top: clamp(112px, 14vw, 184px);
  background: var(--band-bg);
  border-block: 0.5px solid var(--band-edge);
  color: var(--band-ink);
  --p-2: var(--band-ink-2);
}
.privacy-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(88px, 12vw, 152px) var(--gutter); }
.privacy .center-head p { color: var(--p-2); }

.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(32px, 6vw, 72px);
  list-style: none; max-width: 920px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0;
}
.facts li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-content: start; }
.facts li > :not(.fact-icon) { grid-column: 2; }
.fact-icon {
  grid-row: span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: color-mix(in srgb, var(--band-ink) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--band-ink) 14%, transparent);
}
.fact-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--band-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.facts p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--p-2); }
.facts .proof { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.proof span {
  padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--band-ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--band-ink) 28%, transparent);
}

/* The switch, locked away. */
.vault { position: relative; width: 132px; height: 151px; margin: 0 auto clamp(28px, 4vw, 40px); color: var(--band-ink); }
.vault-lock { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vault-shackle { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; }
.vault-body { fill: color-mix(in srgb, currentColor 7%, transparent); stroke: currentColor; stroke-width: 3; }
.vault-switch { position: absolute; left: 50%; top: 70%; width: 84px; height: auto; transform: translate(-50%, -50%); }

/* ---------- Getting it ---------- */


.specs { margin: 40px 0 0; border-radius: 16px; background: var(--track); text-align: left; }
.specs div { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 16px 22px; }
.specs div + div::before { content: ""; position: absolute; top: 0; left: 22px; right: 0; border-top: 0.5px solid var(--hair); }
.specs dt { font-weight: 600; }
.specs dd { margin: 0; color: var(--ink-2); }

/* Beta sign-up: the page's showpiece */
.beta-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center;
  gap: clamp(36px, 5vw, 80px); max-width: var(--wide); margin: 0 auto;
}
.plate-lg { --w: clamp(150px, 14vw, 190px); margin-bottom: clamp(24px, 3vw, 36px); }
.plate-lg .switch { cursor: default; }
.beta h2 { font-size: clamp(2.5rem, 1.3rem + 3.4vw, 4.25rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.beta-lede { max-width: 30rem; margin-top: 18px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.45; color: var(--ink-2); }
.perks { display: grid; gap: 22px; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; list-style: none; }
.perks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.perks h3 { font-size: 17px; letter-spacing: -0.02em; }
.perks p { margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.perk-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: var(--on-band); box-shadow: inset 0 0 0 1px var(--hair);
}
.perk-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.beta-card {
  padding: clamp(24px, 3.5vw, 40px); border-radius: 26px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--hair), 0 40px 80px -40px rgba(0, 0, 0, 0.35);
}
.beta-card-title { margin-bottom: 18px; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 700; letter-spacing: -0.025em; }
.beta-card .beta-form { max-width: none; margin: 0; }
.beta-card .field-row { flex-direction: column; }
.beta-card .join { width: 100%; height: 54px; font-size: 18px; }
.beta-card .field-row input { height: 54px; }
.next-steps { counter-reset: step; display: grid; gap: 14px; margin: 26px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--hair); }
.next-steps li { counter-increment: step; position: relative; padding-left: 40px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.next-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -1px; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700;
}
.next-steps b { color: var(--ink); font-weight: 600; }
.beta .specs-title { text-align: center; }
.beta .specs-title, .beta .specs { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Form parts */
.beta-form { position: relative; max-width: 520px; margin: 36px auto 0; text-align: left; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: flex; gap: 8px; }
.field-row input {
  flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 16px;
  border: 1px solid var(--hair); border-radius: 12px; background: var(--paper); color: var(--ink);
  font: inherit; font-size: 17px;
}
.field-row input::placeholder { color: var(--ink-3); }
.join {
  flex: none; height: 50px; padding: 0 22px; border: 0; border-radius: 12px;
  background: var(--ink); color: var(--paper); font: inherit; font-size: 17px; font-weight: 600; cursor: pointer;
}
.join:hover { opacity: 0.85; }
.devices { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; border: 0; }
.devices legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; font-size: 14px; color: var(--ink-2); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; background: var(--track); font-size: 15px; cursor: pointer;
}
.chip input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.fine { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.fine a { color: inherit; }
.specs-title { margin-top: clamp(56px, 7vw, 80px); font-size: 17px; letter-spacing: -0.02em; }
.specs-title + .specs { margin-top: 16px; }

/* Contact form */
.contact-form { display: grid; gap: 8px; max-width: 520px; margin-top: 28px; }
.contact-form label { margin-top: 10px; font-size: 15px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--hair); border-radius: 12px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 17px;
}
.contact-form input { height: 50px; }
.contact-form textarea { min-height: 160px; resize: vertical; line-height: 1.45; }
.contact-form .join { justify-self: start; margin-top: 14px; }

/* Corner action (bottom right): back to top for now, the AI chat later. */
.corner-action {
  position: fixed; z-index: 6;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--win-edge);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.corner-action.is-shown { opacity: 1; visibility: visible; transform: none; }
.corner-action:hover { opacity: 0.88; }
.corner-action svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html:not(.js) .corner-action { display: none; }
@media (prefers-reduced-motion: reduce) { .corner-action { transition: none; transform: none; } }

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

.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  width: min(calc(var(--wide) - 2 * var(--gutter)), calc(100% - 2 * var(--gutter)));
  margin: clamp(96px, 12vw, 160px) auto 0; padding: 28px 0 40px;
  border-top: 0.5px solid var(--hair);
  font-size: 13px; color: var(--ink-2);
}
.foot p { display: inline-flex; align-items: center; gap: 10px; }
.foot-mark { width: auto; height: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Smaller screens ---------- */

@media (max-width: 900px) {
  .top-nav a[href="#connect"] { display: none; }
  .mac-frame { grid-template-columns: minmax(0, 1fr); }
  .mac-side { display: none; }
  .split, .dictate, .beta-grid { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .flow::before, .flow::after { display: none; }
}

@media (max-width: 640px) {
  .nav-more, .tool-hide-sm, .chip-hide-sm { display: none; }
  .play { width: 64px; height: 64px; }
  .play svg { width: 26px; height: 26px; margin-left: 3px; }
  .duration { right: 10px; bottom: 10px; font-size: 12px; }
  .pane-summary, .pane-live { grid-template-columns: minmax(0, 1fr); }
  .pane-summary .sum-col + .sum-col { margin-top: 18px; }
  .pane-live .mine { display: none; }
  .note-title { font-size: 22px; }
  .phones {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%;
    gap: 20px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phone { scroll-snap-align: center; }
  .flow { gap: 32px 14px; }
  .mcp { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .mcp-link { width: 100%; flex-direction: row; justify-content: center; }
  .mcp-link::before { top: 50%; }
  .mcp-link-note { position: relative; padding: 0 6px; background: var(--track); }
  .mcp-home { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 14px; text-align: left; }
  .mcp-home img { grid-row: span 2; width: 60px; margin: 0; }
  .connect-grid { grid-template-columns: minmax(0, 1fr); }
  .flow-visual { height: 240px; }
  .phone-sm { width: 120px; }
  .watch-sm { width: 112px; padding: 8px; }
  .mini-mac { max-width: 170px; padding: 10px 11px 12px; font-size: 10px; }
  .mm-title { font-size: 12px; }
  .flow-step p { font-size: 14px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .vault { width: 110px; height: 126px; }
  .vault-switch { width: 70px; }
  .specs div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

/* Header on phones: a slightly smaller logo, and fewer links as the screen narrows. */
@media (max-width: 640px) {
  .logo { height: 19px; }
  .top-nav a[href="#mac"], .top-nav a[href="#iphone"] { display: none; }
  .field-row { flex-direction: column; }
}
@media (max-width: 430px) {
  .top-nav { display: none; }
}
@media (max-width: 360px) {
  .logo { height: 15px; }
}

/* ---------- Legal pages ---------- */

.legal { max-width: 44rem; margin: 0 auto; padding: clamp(48px, 8vw, 88px) var(--gutter) 0; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.028em; }
.legal h1 + p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.legal h2 { margin: 40px 0 10px; font-size: 21px; letter-spacing: -0.02em; }
.legal p, .legal li { line-height: 1.6; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 1.25em; }
.legal li { margin-bottom: 8px; }
.legal a { text-underline-offset: 2px; }

.lost { max-width: 36rem; margin: 0 auto; padding: clamp(96px, 16vw, 200px) var(--gutter) 0; text-align: center; }
.lost h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); letter-spacing: -0.028em; }
.lost p { margin-top: 12px; color: var(--ink-2); }

/* Before you go: the beta invitation, shown at most once a week when a visitor heads for the exit
   (script.js). A card in the middle on desktop, a sheet from the bottom on phones. */
.exit {
  width: min(440px, calc(100% - 32px)); max-width: none; padding: 34px 28px 20px; border: 0; border-radius: 22px;
  background: var(--win); color: var(--ink); box-shadow: var(--shadow-win); text-align: center;
}
.exit::backdrop { background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.exit[open] { animation: exit-in 0.28s ease-out; }
@keyframes exit-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.exit-close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: var(--field); color: var(--ink-2); cursor: pointer;
}
.exit-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.exit-mark { display: block; width: 52px; height: auto; margin: 0 auto 16px; }
.exit h2 { margin: 0; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.exit #exit-text { margin: 10px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.exit-form { position: relative; margin-top: 20px; text-align: left; }
.exit .field-row { flex-direction: column; }
.exit .join { width: 100%; }
.exit-fine { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.exit-fine a { color: inherit; }
.exit-no {
  margin-top: 4px; padding: 8px 12px; border: 0; background: none; color: var(--ink-2);
  font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
@media (max-width: 640px) {
  .exit {
    width: 100%; max-width: 100%; margin: auto 0 0; padding: 30px 20px calc(16px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }
  .exit[open] { animation-name: exit-up; }
  @keyframes exit-up { from { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) { .exit[open] { animation: none; } }
