/* Shout website. Plain CSS, no build step. Desktop values follow the approved 1440 boards,
   phone values the 390 boards; widths between scale with clamp() and wrap. */

@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0A0A0A;
  --body: #3A3A3C;
  --muted: #6E6E73;
  --faint: #A1A1A6;
  --strike: #C7C7CC;
  --line: #E5E5EA;
  --panel: #F2F2F4;
  --signal: #FF9500;
  --night-text: #AEAEB2;
  --night-line: #3A3A3C;
  --note-bg: #FFF4E5;
  --note-ink: #7A4A00;

  --pad: clamp(20px, 5.556vw, 80px);     /* page gutter: 80 at 1440, 20 on a phone */
  --inset: 24px;                        /* gutter of the rounded panels */
  --panel-pad: clamp(20px, 3.889vw, 56px);
  --section: clamp(96px, 12.222vw, 176px);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: none;            /* body text uses Inter's text cut at every size */
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: style;               /* the placeholders are italic; the site ships no italic file */
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
svg { display: block; flex-shrink: 0; }

.page { max-width: 1440px; margin: 0 auto; }

/* Headline face: the display cut of Inter (optical size 32). */
.display {
  font-variation-settings: "opsz" 32;
  font-weight: 700;
  letter-spacing: -0.026em;   /* the display cut runs a touch wider than Inter Tight at -0.022em */
}

.dot { display: block; flex-shrink: 0; border-radius: 999px; background: var(--signal); width: 8px; height: 8px; }

/* Words that differ between the desktop and the phone boards. */
@media (min-width: 760px) { .sm { display: none !important; } }
@media (max-width: 759px) { .lg { display: none !important; } }

/* ---------- Header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--pad);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .dot { width: 10px; height: 10px; }
.wordmark {
  font-variation-settings: "opsz" 32; font-weight: 700;
  font-size: 24px; line-height: 30px; letter-spacing: -0.03em;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 15px; line-height: 18px; font-weight: 500; }
.nav a[aria-current="page"] { font-weight: 700; }
.nav a.pill-sm { font-weight: 600; }
.nav a:not(.pill-sm):hover { color: var(--muted); }

.pill-sm {
  display: inline-flex; align-items: center;
  background: #000; color: #FFF; border-radius: 999px;
  padding: 11px 20px; font-size: 15px; line-height: 18px; font-weight: 600;
}

/* ---------- Buttons ---------- */
.cta-row { display: flex; align-items: center; gap: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #000; color: #FFF; border-radius: 999px;
  padding: 16px 28px; font-size: 17px; line-height: 22px; font-weight: 600;
}
.btn:hover { background: #2A2A2D; }
.btn-lg { padding: 18px 32px; font-size: 18px; }
.dl { font-size: 17px; line-height: 22px; font-weight: 600; }
.dl:hover { color: var(--muted); }

/* ---------- Hint pills (the app's own labels) ---------- */
.hint {
  align-self: flex-start; display: inline-flex;
  background: #000; color: #FFF; border-radius: 999px;
  padding: 9px 16px; font-size: 15px; line-height: 18px;
}
.hint b { font-weight: 700; }
.hint-night { border: 1px solid var(--night-line); }

/* ---------- Text styles ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; line-height: 18px; font-weight: 500; }
.lead { color: var(--body); font-size: 21px; line-height: 32px; }
.copy { color: var(--body); font-size: 19px; line-height: 30px; }
.label {
  color: var(--muted); font-size: 13px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.h2 { font-size: clamp(40px, 4.444vw, 64px); line-height: 1; text-wrap: balance; }
.meta { color: var(--muted); font-size: 15px; line-height: 18px; }
.caret { display: inline-block; flex-shrink: 0; width: 3px; border-radius: 2px; background: var(--signal); }
.with-caret { display: flex; align-items: center; gap: 3px; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; gap: 48px; padding: 96px var(--pad) 72px; }
.hero .dot { width: 8px; height: 8px; }
.hero h1 { font-size: clamp(56px, 12.222vw, 176px); line-height: 0.909; max-width: 1280px; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-top: 36px; }
.hero-foot .lead { flex: 0 1 600px; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hero-cta .meta { font-size: 14px; }

/* Stage: the live sentence at a cursor */
.inset { padding-inline: var(--inset); }
.panel { background: var(--panel); border-radius: 36px; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 56px; padding: 96px var(--inset) 72px; }
.mail {
  width: 960px; max-width: 100%;
  background: #FFF; border-radius: 22px;
  box-shadow: 0 1px 2px #0000000F, 0 24px 64px #00000014;
}
.mail-head {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px clamp(20px, 2.778vw, 40px); border-bottom: 1px solid #EBEBED;
  color: var(--muted); font-size: 15px; line-height: 18px;
}
.mail-head b { color: var(--ink); font-weight: 600; }
.mail-body { padding: 44px clamp(20px, 2.778vw, 40px) 56px; font-size: clamp(26px, 3.056vw, 44px); line-height: 1.364; letter-spacing: -0.02em; }
.mail-body .caret { height: 1.136em; }
.mail-body .with-caret { flex-wrap: wrap; }
.soft { color: var(--faint); }
.stage-pills { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pill-dark { display: inline-flex; align-items: center; background: #000; color: #FFF; border-radius: 999px; padding: 9px 16px; font-size: 15px; line-height: 18px; }
.wave-pill { display: flex; align-items: center; justify-content: center; width: 236px; height: 48px; background: #000; border-radius: 999px; }

/* iPhone with the Shout keyboard */
.iphone {
  display: flex; flex-direction: column; flex-shrink: 0; overflow: hidden;
  width: 400px; height: 452px; max-width: 100%;
  background: #FFF; border-radius: 44px 44px 0 0;
  box-shadow: 0 0 0 1px #0000000D, 0 24px 60px #00000014;
}
.iphone-bar { display: flex; align-items: center; gap: 10px; padding: 28px 16px 14px; }
.iphone-plus {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 22px; line-height: 22px;
}
.iphone-field {
  display: flex; align-items: center; justify-content: space-between; flex: 1; min-width: 0;
  height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 6px 0 16px;
}
.iphone-field span { display: flex; align-items: center; gap: 2px; font-size: 17px; line-height: 22px; white-space: nowrap; }
.iphone-field i { display: block; width: 2px; height: 20px; background: #0A84FF; }
.iphone-send { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: #0A84FF; flex-shrink: 0; }
.kb {
  display: flex; flex-direction: column; align-items: center; flex: 1;
  background: #E3E4E8; border-radius: 30px 30px 0 0; padding: 20px 16px 0;
}
.kb-listen { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 18px; font-weight: 600; }
.kb-controls { display: flex; align-items: center; gap: 10px; width: 100%; padding-top: 150px; }
.kb-round { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 50px; height: 50px; border-radius: 999px; background: var(--ink); }
.kb-round.grey { background: #AEB1BA; }
.kb-wave { display: flex; align-items: center; justify-content: center; gap: 14px; flex: 1; height: 50px; border-radius: 999px; background: var(--ink); color: #FFF; font-size: 15px; line-height: 18px; }
.kb-note { padding-top: 36px; color: var(--muted); font-size: 14px; line-height: 18px; }
.kb-keys { display: flex; justify-content: space-between; width: 100%; padding: 26px 10px 0; }

/* ---------- Change your mind ---------- */
.split { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 48px; padding: var(--section) var(--pad); }
.split-left { display: flex; flex-direction: column; gap: 28px; flex: 0 1 460px; min-width: 300px; }
.split-right { flex: 0 1 700px; min-width: min(100%, 440px); }
.revise { padding-top: 8px; }
.revise-row { display: flex; flex-direction: column; gap: 12px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.revise-row:first-child { padding-top: 0; }
.revise-row:last-child { padding-bottom: 0; border-bottom: 0; }
.revise-text { font-size: clamp(22px, 2.639vw, 38px); line-height: 1.316; letter-spacing: -0.02em; }
.revise-text .caret { height: 1.105em; }
.revise-text s { color: var(--strike); text-decoration-thickness: 1px; }
.revise-final { font-weight: 500; }
.label-signal { color: var(--signal); }

/* ---------- Tones ---------- */
.tones { display: flex; flex-direction: column; gap: 56px; padding: 0 var(--pad) var(--section); }
.tones-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.tones-head > div { display: flex; flex-direction: column; gap: 28px; flex: 0 1 620px; }
.tones-head .copy { flex: 0 1 520px; }
.said { display: flex; flex-direction: column; gap: 14px; background: var(--panel); border-radius: 28px; padding: 40px 48px; }
.said p:not(.label) { color: var(--muted); font-size: clamp(20px, 2.083vw, 30px); line-height: 1.4; letter-spacing: -0.01em; }
.tone-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: -24px; }
.tone { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; border-top: 3px solid var(--ink); }
.tone.first { border-top-color: var(--signal); }
.tone-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tone-head b { font-size: 17px; line-height: 22px; font-weight: 700; }
.tone-head span { color: var(--muted); font-size: 15px; line-height: 18px; text-align: right; }
.tone p { font-size: clamp(22px, 2.014vw, 29px); line-height: 1.379; letter-spacing: -0.015em; }

/* ---------- Translation (night panel) ---------- */
.night {
  display: flex; flex-direction: column; gap: 88px;
  background: var(--ink); color: #FFF; border-radius: 36px;
  padding: 128px var(--panel-pad) 120px;
}
.night .copy { color: var(--night-text); flex: 0 1 520px; }
.night-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.night-head > div { display: flex; flex-direction: column; gap: 28px; flex: 0 1 640px; }
.night-body { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 96px; }
.menu-col { display: flex; flex-direction: column; gap: 20px; width: 280px; flex-shrink: 0; }
.menu {
  display: flex; flex-direction: column; padding: 6px; width: 280px;
  background: #2A2A2D; border-radius: 12px;
  box-shadow: 0 0 0 1px #FFFFFF1A, 0 24px 60px #00000080;
  font-size: 14px; line-height: 24px;
}
.menu li { list-style: none; padding: 0 12px 0 30px; }
.menu .sep { padding: 5px 12px; }
.menu .sep::before { content: ""; display: block; height: 1px; background: #FFFFFF1F; }
.menu .on { display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #0A64D8; border-radius: 6px; }
.menu .on::before { content: "✓"; width: 10px; font-size: 13px; }
.menu .more { display: flex; align-items: center; justify-content: space-between; }
.menu .more::after { content: "›"; color: var(--night-text); font-size: 13px; line-height: 16px; }
.menu-col p { color: var(--night-text); font-size: 15px; line-height: 23px; padding: 0 4px; }
.examples { display: flex; flex-direction: column; gap: 64px; flex: 1; min-width: min(100%, 420px); }
.example { display: flex; flex-direction: column; gap: 28px; }
.example .label { color: var(--night-text); }
.draft {
  align-self: flex-start; display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  min-height: 48px; padding: 0 20px; background: #000; border-radius: 999px;
  box-shadow: 0 0 0 1px #FFD6A38C, 0 0 36px #FFBE7838, 0 0 80px #B8D1FF1A;
  font-size: 16px; line-height: 20px;
}
.draft-tag { color: #FFFFFF8C; font-size: 13px; line-height: 16px; font-weight: 500; }
.draft-rule { width: 1px; height: 16px; background: #FFFFFF38; flex-shrink: 0; }
.draft .f1 { color: #FFFFFF4D; }
.draft .f2 { color: #FFFFFF99; }
.draft b { font-weight: 600; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.pair .tone { gap: 14px; padding-top: 22px; border-top-color: var(--night-line); }
.pair .tone.first { border-top-color: var(--signal); }
.pair .tone-head b { font-size: 16px; line-height: 20px; }
.pair .tone-head span { color: var(--night-text); }
.pair .tone p { font-size: clamp(22px, 2.083vw, 30px); line-height: 1.333; }

/* ---------- Same voice, two places ---------- */
.places { display: flex; flex-direction: column; gap: 72px; padding: var(--section) var(--pad) 0; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.place { display: flex; flex-direction: column; gap: 36px; }
.shot {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  height: 520px; overflow: hidden; background: var(--panel); border-radius: 28px;
}
.shot-mac { gap: 12px; padding-bottom: 28px; }
.macbar { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px; background: #0E0E0E; border-radius: 999px; }
.macbar > span { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; }
.macbar > span.on { background: #2E2E2E; }
.macbar small { position: absolute; right: 4px; bottom: 3px; color: #FFF; font-size: 9px; line-height: 12px; font-weight: 700; }
.dock { display: flex; gap: 10px; margin-top: 10px; padding: 10px 14px; background: #FFFFFFB3; border-radius: 22px; box-shadow: 0 0 0 1px #0000000D; }
.dock i { display: block; width: 52px; height: 52px; background: #E0E0E5; border-radius: 13px; flex-shrink: 0; }
.note {
  position: absolute; left: 56px; top: 48px; width: 420px; max-width: calc(100% - 80px);
  background: #FFF; border-radius: 14px; box-shadow: 0 0 0 1px #0000000D, 0 18px 48px #00000014;
}
.note-dots { display: flex; gap: 7px; padding: 14px 16px; }
.note-dots i { display: block; width: 11px; height: 11px; border-radius: 99px; background: var(--line); }
.note-body { display: flex; flex-direction: column; gap: 6px; padding: 4px 24px 26px; }
.note-body b { font-size: 15px; line-height: 18px; font-weight: 700; }
.note-body span { display: flex; align-items: center; gap: 2px; font-size: 17px; line-height: 26px; }
.note-body span i { display: block; width: 1.5px; height: 22px; border-radius: 1px; background: var(--ink); flex-shrink: 0; }
.place-text { display: flex; flex-direction: column; gap: 14px; padding-right: 40px; }
.place-text h3 { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; }
.place-text p { color: var(--body); font-size: 18px; line-height: 28px; }
.place-text .meta { color: var(--muted); }

/* ---------- What leaves your device ---------- */
.leaves-left { display: flex; flex-direction: column; gap: 28px; }
.leaves-left a, .text-link { font-size: 17px; line-height: 22px; font-weight: 600; }
.leaves-left a:hover, .text-link:hover { color: var(--muted); }
.facts { border-top: 1px solid var(--line); }
.fact { display: flex; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.fact b { flex-shrink: 0; width: 180px; font-size: 17px; line-height: 22px; font-weight: 700; }
.fact p { color: var(--body); font-size: 18px; line-height: 28px; }

/* ---------- The test ---------- */
.test { display: flex; flex-direction: column; gap: 56px; padding: 120px var(--panel-pad); }
.test-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 18px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.test-eyebrow .dot { width: 10px; height: 10px; }
.test h2 { font-size: clamp(48px, 7.778vw, 112px); line-height: 0.929; max-width: 1150px; }
.test-foot { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.test-foot .lead { flex: 0 1 720px; }

/* ---------- Footer ---------- */
.foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 56px var(--pad) 64px; }
.foot-line { border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 24px; }
.foot-brand .brand { gap: 8px; }
.foot-brand .brand .dot { width: 8px; height: 8px; }
.foot-brand .wordmark { font-size: 20px; line-height: 24px; }
.foot-links { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; }
.foot-links a { font-size: 15px; line-height: 18px; font-weight: 500; }
.foot-links a:hover { color: var(--muted); }

/* ---------- Inner pages (Privacy, Support, Imprint) ---------- */
.intro { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding: 96px var(--pad) 64px; }
.intro > div { display: flex; flex-direction: column; gap: 28px; }
.intro .eyebrow, .intro-meta { color: var(--muted); font-size: 15px; line-height: 18px; font-weight: 500; }
.intro .lead { flex: 0 1 560px; }
.page-title { font-size: clamp(56px, 7.778vw, 112px); line-height: 0.929; }
.intro-stack { display: flex; flex-direction: column; gap: 28px; padding: 96px var(--pad) 72px; border-bottom: 1px solid var(--line); }

.placeholder-note {
  align-self: flex-start; display: flex; align-items: center; gap: 12px;
  background: var(--note-bg); color: var(--note-ink); border-radius: 14px;
  padding: 14px 20px; font-size: 16px; line-height: 20px;
}
.placeholder-note b { font-weight: 700; }
.placeholder { color: var(--muted); font-style: italic; }
.policy-row p a, .help p a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.policy-row p a:hover, .help p a:hover { color: var(--muted); }

/* Privacy: the flow */
.flow { display: flex; flex-direction: column; gap: 56px; padding: 72px var(--panel-pad); }
.flow-row { display: flex; flex-direction: column; gap: 14px; }
.flow-line { display: flex; align-items: center; width: 100%; }
.node {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  padding: 14px 22px; border-radius: 999px; font-size: 17px; line-height: 22px; font-weight: 600;
}
.node-dark { background: #000; color: #FFF; }
.node-light { background: #FFF; border: 1.5px solid var(--ink); }
.node-server { flex-direction: column; gap: 6px; border-radius: 24px; text-align: center; }
.node-server small { color: var(--muted); font-size: 13px; line-height: 16px; font-weight: 400; }
.wire { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; min-width: 60px; padding: 0 16px; text-align: center; }
.wire > span:first-child { color: var(--body); font-size: 15px; line-height: 18px; }
.wire > small { color: var(--muted); font-size: 13px; line-height: 16px; }
.arrow { display: flex; align-items: center; width: 100%; }
.arrow::before { content: ""; flex: 1; height: 2px; background: var(--ink); }
.arrow svg { width: 10px; height: 12px; }
.flow-narrow { display: none; }

.chips { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 14px; line-height: 18px; font-weight: 600; white-space: nowrap; }
.chip-dark { background: #000; color: #FFF; padding-block: 9px; }
.chip-dark .dot { width: 6px; height: 6px; }
.chip-light { background: #FFF; border: 1.5px solid var(--ink); }
.chips-tight { gap: 6px; }
.chips-tight .chip { padding-inline: 12px; font-size: 13px; line-height: 16px; }
.chips-tight .arrow-t { font-size: 15px; line-height: 18px; }
.arrow-t { font-size: 16px; line-height: 20px; }
.flow-narrow .caption { color: var(--body); font-size: 14px; line-height: 21px; }

/* Privacy, Support, Imprint: sections */
.policy { display: flex; flex-direction: column; padding: 96px var(--pad) 120px; }
.policy-row { display: flex; flex-wrap: wrap; gap: 24px 60px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.policy-row:last-child { border-bottom: 0; }
.policy-row h2 { flex: 0 1 340px; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.02em; }
.policy-row > div { display: flex; flex-direction: column; gap: 14px; flex: 0 1 760px; min-width: min(100%, 420px); }
.policy-row > div.wide-gap { gap: 18px; }
.policy-row p { font-size: 19px; line-height: 31px; }
.policy-row p.strong { font-weight: 600; }

.support { display: flex; gap: 120px; padding: 72px var(--pad) 144px; }
.toc { display: flex; flex-direction: column; gap: 16px; flex: 0 0 280px; align-self: flex-start; position: sticky; top: 32px; }
.toc a { display: flex; align-items: center; gap: 10px; padding-left: 16px; color: var(--body); font-size: 16px; line-height: 20px; }
.toc a::before { content: ""; display: none; width: 6px; height: 6px; border-radius: 999px; background: var(--signal); }
.toc a:hover { color: var(--ink); }
/* The marked entry: the section in the address, or the first one. */
body:not(:has(.help :target)) .toc a[href="#mac"],
body:has(#mac:target) .toc a[href="#mac"],
body:has(#iphone:target) .toc a[href="#iphone"],
body:has(#getting-in:target) .toc a[href="#getting-in"],
body:has(#not-placed:target) .toc a[href="#not-placed"],
body:has(#feedback:target) .toc a[href="#feedback"],
body:has(#contact:target) .toc a[href="#contact"] { padding-left: 0; color: var(--ink); font-weight: 600; }
body:not(:has(.help :target)) .toc a[href="#mac"]::before,
body:has(#mac:target) .toc a[href="#mac"]::before,
body:has(#iphone:target) .toc a[href="#iphone"]::before,
body:has(#getting-in:target) .toc a[href="#getting-in"]::before,
body:has(#not-placed:target) .toc a[href="#not-placed"]::before,
body:has(#feedback:target) .toc a[href="#feedback"]::before,
body:has(#contact:target) .toc a[href="#contact"]::before { display: block; }
.help { display: flex; flex-direction: column; gap: 56px; flex: 0 1 760px; min-width: 0; }
.help section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 32px; }
.help h2 { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }
.help p { color: var(--body); font-size: 19px; line-height: 31px; }

.imprint { padding: 72px var(--pad) 144px; }
.imprint h2 { margin-bottom: 32px; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.02em; }
.imprint dd a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.imprint dl { margin: 0; max-width: 880px; border-top: 1px solid var(--line); }
.imprint .row { display: flex; align-items: baseline; gap: 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.imprint dt { flex-shrink: 0; width: 280px; font-size: 17px; line-height: 22px; font-weight: 700; }
.imprint dd { margin: 0; font-size: 19px; line-height: 30px; }

/* ---------- Between the boards ---------- */
@media (max-width: 1099px) {
  .duo { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .night-body { gap: 56px; }
  .support { gap: 64px; }
  .toc { flex-basis: 220px; }
}
@media (max-width: 899px) {
  .flow-wide { display: none; }
  .flow-narrow { display: flex; }
  .flow { gap: 28px; }
  .tone-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 0; }
  .tone-cols br { display: none; }
}

/* ---------- Phone (the 390 boards) ---------- */
@media (max-width: 759px) {
  :root { --pad: 20px; --inset: 12px; --panel-pad: 20px; }

  .top { padding: 18px 20px; }
  .brand { gap: 8px; }
  .brand .dot { width: 9px; height: 9px; }
  .top .wordmark { font-size: 22px; line-height: 28px; }
  .nav { gap: 0; }
  .nav a:not(.pill-sm) { display: none; }
  .pill-sm { padding: 9px 16px; font-size: 14px; }

  .hero { gap: 28px; padding: 48px 20px 40px; }
  .hero .eyebrow { gap: 8px; font-size: 14px; }
  .hero .eyebrow .dot { width: 7px; height: 7px; }
  .hero h1 { line-height: 0.964; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 28px; padding-top: 0; }
  .hero-foot .lead { flex: none; }
  .lead { font-size: 18px; line-height: 28px; }
  .hero-cta, .test-cta { align-items: stretch; gap: 14px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .cta-row .btn { order: -1; }
  .btn, .btn-lg { padding: 17px 24px; font-size: 17px; }
  .dl { display: flex; justify-content: center; padding: 16px 24px; border: 1.5px solid var(--ink); border-radius: 999px; }
  .hero-cta .meta { font-size: 13px; line-height: 19px; text-align: center; }

  .stage-phone {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    height: 480px; padding-top: 40px; overflow: hidden; border-radius: 28px;
  }
  .stage-phone .iphone { width: 318px; height: 440px; border-radius: 40px 40px 0 0; }
  .stage-phone .kb-controls { padding-top: 142px; }

  .hint { padding: 8px 14px; font-size: 14px; }
  .h2 { font-size: 40px; line-height: 40px; }
  .copy { font-size: 17px; line-height: 27px; }
  .label { font-size: 12px; }

  .split { flex-direction: column; gap: 22px; padding: 96px 20px 0; }
  .split-left { gap: 22px; flex: none; min-width: 0; }
  .split-right { flex: none; min-width: 0; }
  .revise { padding-top: 12px; }
  .revise-row, .revise-row:first-child, .revise-row:last-child { gap: 8px; padding: 20px 0; border-bottom: 0; border-top: 1px solid var(--line); }
  .revise-text { font-size: 22px; line-height: 30px; letter-spacing: -0.015em; }
  .revise-text .caret { width: 2px; border-radius: 1px; height: 28px; }
  .revise .with-caret { gap: 2px; }

  .tones { gap: 22px; padding: 80px 20px 96px; }
  .tones-head, .night-head { flex-direction: column; align-items: stretch; }
  .tones-head { gap: 22px; }
  .tones-head > div { gap: 22px; flex: none; }
  .tones-head .copy { flex: none; }
  .said { gap: 10px; margin-top: 8px; padding: 22px; border-radius: 22px; }
  .said p:not(.label) { font-size: 20px; line-height: 29px; letter-spacing: 0; }
  .tone-cols { gap: 22px; }
  .tone { gap: 10px; padding-top: 18px; }
  .tone-head b { font-size: 15px; line-height: 18px; }
  .tone-head span { font-size: 14px; line-height: 18px; }
  .tone p { font-size: 22px; line-height: 30px; letter-spacing: 0; }

  .night { gap: 22px; padding: 56px 20px 48px; border-radius: 28px; }
  .night-head { gap: 22px; }
  .night-head > div { gap: 22px; flex: none; }
  .night .copy { flex: none; }
  .night-body { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-col { align-items: center; gap: 16px; width: 100%; padding-top: 16px; }
  .menu { width: 260px; }
  .menu-col p { width: 280px; max-width: 100%; padding: 0; font-size: 14px; line-height: 21px; text-align: center; }
  .examples { gap: 0; min-width: 0; }
  .example { gap: 16px; padding-top: 24px; }
  .draft { gap: 10px; min-height: 42px; padding: 0 16px; font-size: 14px; line-height: 18px; box-shadow: 0 0 0 1px #FFD6A38C, 0 0 30px #FFBE7838; }
  .draft-tag { font-size: 12px; }
  .draft-rule { height: 14px; }
  .draft .f2 { color: #FFFFFF66; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pair .tone { gap: 8px; padding-top: 14px; }
  .pair .tone-head b { font-size: 15px; line-height: 18px; }
  .pair .tone p { font-size: 22px; line-height: 30px; letter-spacing: 0; }

  .places { gap: 28px; padding: 96px 20px 0; }
  .duo { gap: 28px; }
  .place { gap: 28px; }
  .shot-mac { justify-content: center; gap: 10px; height: 264px; padding-bottom: 0; border-radius: 24px; }
  .shot-mac .macbar { margin-top: 6px; }
  .hint-mac { padding: 8px 14px; font-size: 14px; }
  .dock { gap: 8px; margin-top: 6px; padding: 8px 10px; border-radius: 18px; }
  .dock i { width: 40px; height: 40px; border-radius: 10px; }
  .dock i:nth-child(7), .note, .place-iphone .shot { display: none; }
  .place-text { gap: 10px; padding-right: 0; }
  .place-text h3 { font-size: 22px; line-height: 28px; }
  .place-text p { font-size: 17px; line-height: 27px; }
  .place-text .meta { font-size: 14px; }
  .place-iphone .place-text { padding-top: 24px; border-top: 1px solid var(--line); }

  .leaves { gap: 24px; padding: 96px 20px; }
  .leaves .split-left { display: contents; }
  .leaves .split-left a { order: 3; font-size: 16px; line-height: 20px; }
  .leaves .split-right { order: 2; }
  .fact { flex-direction: column; gap: 6px; padding: 18px 0; }
  .fact b { width: auto; font-size: 15px; line-height: 18px; }
  .fact p { font-size: 16px; line-height: 25px; }

  .test { gap: 24px; padding: 56px 20px 40px; border-radius: 28px; }
  .test-eyebrow { gap: 8px; font-size: 13px; line-height: 16px; }
  .test-eyebrow .dot { width: 8px; height: 8px; }
  .test h2 { font-size: 48px; line-height: 46px; }
  .test-foot { flex-direction: column; align-items: stretch; gap: 24px; }
  .test-foot .lead { flex: none; font-size: 17px; line-height: 27px; }
  .test-foot .cta-row { gap: 12px; padding-top: 8px; }

  .foot { flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px 20px 48px; }
  .foot-brand { gap: 16px; }
  .foot-brand .meta { font-size: 14px; }
  .foot-links { display: contents; }
  .foot-links .nav-links { display: flex; gap: 24px; }
  .foot-links .meta { font-size: 13px; line-height: 16px; }

  .intro, .intro-stack { flex-direction: column; align-items: stretch; gap: 18px; padding: 40px 20px 32px; }
  .intro > div { gap: 18px; }
  .intro .eyebrow, .intro-meta { font-size: 13px; line-height: 16px; }
  .intro .lead { flex: none; }
  .page-title { font-size: 56px; line-height: 54px; }
  .placeholder-note { gap: 8px; padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 18px; }
  .placeholder-note .dot { width: 7px; height: 7px; }

  .flow { padding: 28px 20px; border-radius: 24px; }
  .flow-row { gap: 10px; }

  .policy { padding: 32px 20px 48px; }
  .policy-row { flex-direction: column; gap: 12px; padding: 28px 0; }
  .policy-row:last-child { padding-bottom: 0; }
  .policy-row h2 { flex: none; font-size: 20px; line-height: 24px; }
  .policy-row > div, .policy-row > div.wide-gap { flex: none; gap: 12px; min-width: 0; }
  .policy-row p { font-size: 16px; line-height: 25px; }

  .support { flex-direction: column; gap: 0; padding: 32px 20px 48px; }
  .toc { display: none; }
  .help { gap: 40px; flex: none; }
  .help section { gap: 12px; }
  .help h2 { font-size: 24px; line-height: 30px; }
  .help p { font-size: 16px; line-height: 25px; }

  .imprint { padding: 32px 20px 48px; }
  .imprint .row { flex-direction: column; gap: 4px; padding: 18px 0; }
  .imprint h2 { margin-bottom: 24px; font-size: 20px; line-height: 24px; }
  .imprint dt { width: auto; font-size: 15px; line-height: 18px; }
  .imprint dd { font-size: 16px; line-height: 25px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
