/* Lafza site. Colours and rules: spec/brand.md. Only this block names a colour. */
/* Lafza Display, for the name and titles only: tools/make-font.py. It has no Arabic, so Arabic titles use Readex Pro (OFL, Fontsource 5.3.0), fetched only for Arabic text. */
@font-face { font-family: 'Lafza Display'; src: url('/fonts/LafzaDisplay-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Lafza Display'; src: url('/fonts/LafzaDisplay-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

@font-face { font-family: 'Readex Pro'; src: url('/fonts/ReadexPro-Arabic-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Readex Pro'; src: url('/fonts/ReadexPro-Arabic-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  color-scheme: light;
  --paper: #F7F6F2; --raised: #FFFFFF; --hover: #EFEDE7; --ink: #24222B; --heading: #3B2A6B; --graphite: #5F5B6B;
  --rule: #E1DED6; --rule-strong: #8F8A99; --signal: #6236C9; --signal-hover: #4F27AE; --signal-ink: #FFFFFF;
  --signal-soft: #ECE6FB; --success: #0F766E; --error: #B42318;
  --grad-a: #0F766E; --grad-b: #6236C9;
  /* Section tints and accents, site only. Vivid and on-vivid stay the same in both themes. */
  --tint-violet: #F2EEFC; --tint-teal: #E6F5F1; --tint-rose: #FBEFF3; --tint-blue: #EAF1FC;
  --rose: #B83268; --blue: #1F5FBF; --logo-tile: #FFFFFF;
  --vivid-a: #0F766E; --vivid-b: #6236C9; --on-vivid: #FFFFFF;
  /* The mic and anything that grows out of it: dark in every theme. */
  --mic-ink: #17131D; --mic-snow: #F4F2F6; --mic-done: #5EEAD4; --mic-cancel: #FF8A7A; --mic-attention: #FF6A3D;
  --mic-working: #A78BFA; --mic-quiet: #A39DB3; --mic-a: #5EEAD4; --mic-b: #A78BFA;
  --shadow: 0 1px 2px rgb(23 19 29 / .08), 0 12px 32px -8px rgb(23 19 29 / .16);
  --display: 'Lafza Display', 'Readex Pro', system-ui, -apple-system, 'Segoe UI Variable Display', 'Segoe UI', sans-serif;
  --text: 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'SF Arabic', 'Geeza Pro', 'Noto Sans Arabic', system-ui, sans-serif;
  --mono: 'Cascadia Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  /* One page width: sections stay full-bleed, their content centres inside it. */
  --page: clamp(1200px, 72vw, 1560px);
  --gutter: max(clamp(16px, 5vw, 64px), calc((100% - var(--page)) / 2));
  --ease: cubic-bezier(.22, .8, .24, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #16141D; --raised: #1E1B27; --hover: #25212F; --ink: #E4E0EC; --heading: #C4B5FD; --graphite: #A39DB3;
    --rule: #2D2939; --rule-strong: #6B6578; --signal: #A78BFA; --signal-hover: #BBA5FC; --signal-ink: #16141D;
    --signal-soft: #2A2344; --success: #5EEAD4; --error: #FF8A7A; --grad-a: #5EEAD4; --grad-b: #A78BFA;
    --tint-violet: #1E1933; --tint-teal: #122321; --tint-rose: #261826; --tint-blue: #141F31;
    --rose: #F59AB8; --blue: #8DB4F5;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -8px rgb(0 0 0 / .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #16141D; --raised: #1E1B27; --hover: #25212F; --ink: #E4E0EC; --heading: #C4B5FD; --graphite: #A39DB3;
  --rule: #2D2939; --rule-strong: #6B6578; --signal: #A78BFA; --signal-hover: #BBA5FC; --signal-ink: #16141D;
  --signal-soft: #2A2344; --success: #5EEAD4; --error: #FF8A7A; --grad-a: #5EEAD4; --grad-b: #A78BFA;
    --tint-violet: #1E1933; --tint-teal: #122321; --tint-rose: #261826; --tint-blue: #141F31;
    --rose: #F59AB8; --blue: #8DB4F5;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -8px rgb(0 0 0 / .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 clamp(17px, 14.5px + .18vw, 19.5px)/1.55 var(--text); overflow-x: clip; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--heading); margin: 0; text-wrap: balance; }
h1, h2 { letter-spacing: -.025em; line-height: 1.02; }
:lang(ar) h1, :lang(ar) h2 { letter-spacing: 0; line-height: 1.2; }
h2 { font-size: clamp(34px, 4.4vw, 72px); }
h3 { font-size: 1.12em; line-height: 1.25; }
p { margin: 0; }
a { color: var(--signal); text-underline-offset: 3px; }
a:hover { color: var(--signal-hover); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--raised); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }
.more { font-weight: 600; }
kbd { font: 500 .82em var(--mono); background: var(--raised); border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; color: var(--ink); white-space: nowrap; }

/* ---- Top ---- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 12px var(--gutter); padding-top: max(12px, env(safe-area-inset-top)); background: color-mix(in srgb, var(--paper) 86%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
.wordmark { font: 700 23px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.02em; display: inline-flex; align-items: baseline; gap: 3px; }
.wordmark:hover { color: var(--ink); }
.wm-icon { width: 1.12em; height: 1.12em; border-radius: 26%; align-self: center; margin-inline-end: .2em; }
.wordmark-small { font-size: 12px; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-inline-start: auto; }
.top-nav { display: flex; gap: 22px; }
.top-nav a { color: var(--graphite); text-decoration: none; font-size: 15px; }
.top-nav a:hover { color: var(--ink); }
.top-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; border-radius: 8px; color: var(--graphite); cursor: pointer; }
.theme-btn:hover { background: var(--hover); color: var(--ink); }

/* ---- Buttons and fields (brand.md, Measures) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 8px; border: 0; background: var(--signal); color: var(--signal-ink); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s; }
.btn:hover { background: var(--signal-hover); color: var(--signal-ink); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-tiny { min-height: 30px; padding: 0 12px; font-size: 13px; }
.btn-big { min-height: 54px; padding: 0 28px; font-size: 18px; }
.link-btn { background: none; border: 0; color: var(--graphite); font-size: 13px; cursor: pointer; padding: 6px; }
.link-btn:hover { color: var(--ink); }
.signup { max-width: 520px; }
.signup-row { display: flex; gap: 8px; }
.signup input[type=email] { flex: 1; min-width: 0; height: 44px; padding: 0 14px; font: inherit; font-size: 16px; background: var(--raised); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 8px; }
:lang(ar) .signup input[type=email] { text-align: start; }
.signup input[type=email]:focus { outline: 0; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.trap { position: absolute; inset-inline-start: -9999px; height: 0; opacity: 0; }
.platform-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 14px; }
/* A pill like the mic's, with a gradient thumb that slides to the chosen computer. */
.platform { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 3px; border-radius: 99px; background: var(--raised); border: 1px solid var(--rule); box-shadow: 0 1px 2px rgb(23 19 29 / .06); min-width: 420px; }
.platform::before { content: ''; position: absolute; inset-block: 3px; left: 3px; width: calc((100% - 6px) / 4); border-radius: 99px; background: linear-gradient(110deg, var(--vivid-a), var(--vivid-b)); box-shadow: 0 2px 8px color-mix(in srgb, var(--vivid-b) 35%, transparent); transition: transform .32s var(--ease); }
.platform:has(input[value="mac"]:checked)::before { transform: translateX(100%); }
.platform:has(input[value="iphone"]:checked)::before { transform: translateX(200%); }
.platform:has(input[value="android"]:checked)::before { transform: translateX(300%); }
.platform label { position: relative; cursor: pointer; }
.platform input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.platform span { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 99px; font-size: .9em; font-weight: 600; color: var(--graphite); transition: color .2s; white-space: nowrap; }
.platform label:hover span { color: var(--ink); }
.platform input:checked + span { color: var(--on-vivid); }
.platform:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.signup-note { font-size: .8em; color: var(--graphite); margin-top: 10px; }
.signup-compact .signup-note { display: none; }
.signup-msg { font-size: 14.500px; margin-top: 8px; min-height: 0; }
.signup-msg.is-bad { color: var(--error); }
.signup-msg.is-good { color: var(--success); font-weight: 600; }
.signup.is-done .signup-row, .signup.is-done .platform-row, .signup.is-done .signup-note { display: none; }
.downloads { display: flex; gap: 10px; flex-wrap: wrap; }
.prefer-mac [data-os="windows"], .prefer-windows [data-os="mac"] { background: none; color: var(--signal); box-shadow: inset 0 0 0 1px var(--rule-strong); order: 2; }
.send-link { margin-top: 14px; font-size: 14.500px; color: var(--graphite); }
.send-link summary { cursor: pointer; }
.send-link .signup { margin-top: 10px; }
@media (hover: hover) and (min-width: 900px) { .send-link { display: none; } }

/* ---- Hero ---- */
.hero { padding: clamp(40px, 8vh, 96px) var(--gutter) clamp(48px, 9vh, 104px); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (min-width: 1100px) and (min-height: 760px) { .hero { min-height: min(calc(100svh - 76px), 1080px); } }
/* Width and height both limit it: a laptop is wide but short, and the form must stay on the first screen. */
.hero h1 { font-size: clamp(44px, min(11.500vw, 13.500svh), 172px); line-height: .98; font-weight: 600; }
:lang(ar) .hero h1 { line-height: 1.15; }
.hero-line { display: block; }
.hero-say { position: relative; display: inline-block; padding-top: max(30px, .3em); color: var(--ink); white-space: nowrap; }
.hero-text { display: inline-block; transition: opacity .34s var(--ease), filter .34s var(--ease), transform .34s var(--ease); }
.hero-text.is-leaving { opacity: 0; filter: blur(6px); transform: translateY(-.06em); }
.hero-text.is-landing { animation: land .5s var(--ease); }
@keyframes land { from { opacity: 0; filter: blur(8px); transform: translateY(.08em); } }
.hero-say.is-rtl { flex-direction: row-reverse; }
.hero-lede { font-size: clamp(18px, .7vw + 10px, 24px); color: var(--graphite); max-width: 38em; margin-top: clamp(20px, 3vh, 32px); text-wrap: pretty; }
.hero-cta { margin-top: 28px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero-cta .signup { width: 100%; }
.hero-cta .platform-row { justify-content: center; }
.assure { color: var(--graphite); font-size: .85em; margin-top: 8px; }

.caret { display: inline-block; width: .055em; min-width: 3px; height: .86em; background: var(--signal); vertical-align: -.08em; margin-inline-start: .05em; animation: blink 1.100s steps(1) infinite; }
.is-rtl > .caret { margin-inline: .05em 0; }
.hero-say.is-rtl { direction: rtl; }
.caret-small { width: 2px; min-width: 2px; height: 1.150em; vertical-align: -.2em; margin-inline-start: 2px; }
@keyframes blink { 50% { opacity: 0; } }

/* ---- The mic ---- */
.mic { position: absolute; top: 0; left: 0; height: 34px; width: 34px; border-radius: 17px; background: color-mix(in srgb, var(--mic-ink) 95%, transparent); color: var(--mic-snow); direction: ltr; overflow: hidden; z-index: 3; transform-origin: 0 100%; transition: width .3s var(--ease), translate .3s var(--ease), scale .28s var(--ease), box-shadow .28s; box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 2px 10px rgb(23 19 29 / .25); }
.mic > span { position: absolute; top: 0; height: 34px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .18s; }
.mic-rtl { transform-origin: 100% 100%; }
.mic[data-state="rest"] { scale: .295; }
.mic[data-state="rest"] .mic-glyph { opacity: 0; }
.mic-glyph, .mic-check, .mic-dots { left: 0; width: 34px; }
.mic[data-state="circle"] .mic-glyph { opacity: 1; }
.mic-pause { left: 0; width: 34px; gap: 2px; }
.mic-pause i { width: 3px; height: 8px; background: currentColor; border-radius: 1px; }
.mic-bars { left: 30px; width: 76px; gap: 3px; }
.mic-bars i { width: 3.500px; height: 22px; border-radius: 2px; transform: scaleY(.1); background: color-mix(in oklab, var(--mic-a), var(--mic-b) var(--p)); }
.mic-x { right: 0; width: 30px; color: var(--mic-cancel); }
.mic[data-state="listening"] :is(.mic-pause, .mic-bars, .mic-x) { opacity: 1; transition-delay: .1s; }
.mic[data-state="dots"] .mic-dots { opacity: 1; }
.mic-dots { gap: 3px; }
.mic-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--mic-working); animation: dot 1s var(--ease) infinite; }
.mic-dots i:nth-child(2) { animation-delay: .14s; }
.mic-dots i:nth-child(3) { animation-delay: .28s; }
@keyframes dot { 40% { transform: translateY(-3px); filter: brightness(1.3); } }
.mic[data-state="check"] .mic-check { opacity: 1; color: var(--mic-done); }

/* ---- The race ---- */
.race { padding: clamp(24px, 5vh, 56px) var(--gutter) clamp(32px, 6vh, 72px); }
.race-head { text-align: center; max-width: 46em; margin: 0 auto clamp(24px, 4vh, 40px); }
.race-head p { color: var(--graphite); margin-top: 14px; text-wrap: pretty; }
.race-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lane { margin: 0; background: var(--raised); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(18px, 2vw, 28px); box-shadow: var(--shadow); min-width: 0; }
.lane figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 14px; font-weight: 600; }
.lane-time { font: 600 clamp(20px, 1.300vw + 6px, 28px)/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--graphite); white-space: nowrap; }
.is-done .lane-time { color: var(--success); }
.lane-text { font-size: clamp(18px, .7vw + 9px, 24px); line-height: 1.45; min-height: var(--lane-h, 0); padding-top: 34px; }
.lane:not(.lane-voice) .lane-text { color: var(--graphite); }

/* ---- Try it ---- */
.try { padding: clamp(32px, 6vh, 72px) var(--gutter); }
.try-head { display: flex; flex-wrap: wrap; gap: 12px 48px; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.try-head p { max-width: 32em; color: var(--graphite); }
.sub-touch { display: none; }
.stage { display: grid; grid-template-columns: minmax(0, 1.700fr) minmax(250px, 1fr); gap: 16px 28px; }
.tabs { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: 34px; padding: 0 14px; border-radius: 99px; background: none; border: 1px solid var(--rule); color: var(--graphite); font-size: 14.500px; cursor: pointer; transition: background .15s, border-color .15s; }
.chip:hover { background: var(--hover); }
.chip[aria-pressed="true"] { background: var(--signal-soft); color: var(--signal); border-color: transparent; font-weight: 600; }
.win { background: var(--raised); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-height: clamp(280px, 40vh, 480px); direction: ltr; }
.win-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.win-bar span { margin-inline-start: 8px; font-size: 13px; color: var(--graphite); }
.win-body { flex: 1; padding: 24px; display: flex; align-items: flex-end; }
.field { position: relative; width: 100%; min-height: clamp(150px, 20vh, 240px); padding: 44px 16px 16px; border: 1px solid var(--rule); border-radius: 10px; font-size: clamp(17px, 1vw + 6px, 26px); line-height: 1.5; display: flex; align-items: flex-end; }
.field.is-mono { font-family: var(--mono); font-size: clamp(14px, .8vw + 5px, 21px); }
.field-text { white-space: pre-wrap; width: 100%; }
.field.has-placeholder::after { content: attr(data-placeholder); position: absolute; left: 22px; bottom: 16px; color: var(--graphite); opacity: .75; pointer-events: none; }
.landed { animation: land .45s var(--ease); }
.stage-side { display: flex; flex-direction: column; gap: 12px; }
.flow { list-style: none; margin: 2px 0; padding: 0; display: grid; gap: 6px; counter-reset: f; }
.flow li { counter-increment: f; display: flex; align-items: center; gap: 10px; color: var(--graphite); font-size: .92em; transition: color .2s; }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--rule-strong); font-size: 12.500px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
[data-step="1"] .flow li:nth-child(1), [data-step="2"] .flow li:nth-child(2), [data-step="3"] .flow li:nth-child(3) { color: var(--ink); font-weight: 600; }
[data-step="1"] .flow li:nth-child(1)::before, [data-step="2"] .flow li:nth-child(2)::before, [data-step="3"] .flow li:nth-child(3)::before { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.hold { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px 18px; border-radius: 12px; border: 0; background: var(--signal); color: var(--signal-ink); font-weight: 600; font-size: 17px; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: background .15s, box-shadow .15s; text-align: start; }
.hold:hover { background: var(--signal-hover); }
.hold.is-held { box-shadow: inset 0 0 0 3px var(--signal-soft); background: var(--signal-hover); }
.hold kbd { background: none; border-color: currentColor; color: inherit; opacity: .85; padding: 1px 6px; }
.hold-keys { display: inline-flex; gap: 4px; }
.said { flex: 1; border-top: 1px solid var(--rule); padding-top: 14px; }
.said h3 { font: 600 13px var(--text); color: var(--graphite); margin-bottom: 6px; }
#try .said p { color: var(--graphite); font-size: .95em; line-height: 1.6; min-height: 5.500em; text-align: start; }
.said p.has-words { color: var(--ink); }
.w { opacity: 0; transition: opacity .2s; }
.w.is-in { opacity: 1; }
.w.is-cut.is-gone { color: var(--error); text-decoration: line-through; opacity: .55; }

/* ---- Text and picture ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(64px, 12vh, 140px) var(--gutter); }
.split-text p { margin-top: 18px; max-width: 32em; color: var(--graphite); font-size: 1.06em; text-wrap: pretty; }

/* What polish changed */
.restore-demo { margin: 0; display: flex; flex-direction: column; align-items: flex-start; background: var(--raised); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(20px, 2.800vw, 40px); box-shadow: var(--shadow); min-width: 0; }
.restore-text { font: 600 clamp(24px, 2.200vw, 40px)/1.3 var(--display); color: var(--ink); }
.changed { font: inherit; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline dotted var(--rule-strong) 2px; text-underline-offset: 6px; border-radius: 3px; transition: background .15s; }
.is-open .changed { background: var(--signal-soft); }
.changed.is-restored { text-decoration: none; cursor: default; background: none; }
.card { order: 3; margin-top: 14px; width: min(340px, 100%); background: var(--raised); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .14s, transform .14s; font-size: 14.500px; z-index: 2; }
.is-open .card { opacity: 1; transform: none; pointer-events: auto; }
.card-head { display: flex; align-items: center; gap: 8px; }
.grad-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); }
.card-change { margin-top: 8px; font-size: 16px; }
.card-change s { color: var(--graphite); }
.card-change b { color: var(--signal); background: var(--signal-soft); border-radius: 4px; padding: 0 4px; font-weight: 600; }
.card-why { color: var(--graphite); margin-top: 4px; }
.card-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.restore-demo figcaption { color: var(--graphite); font-size: .85em; margin-top: 12px; }

/* Languages: big lines, type is the picture */
.langs { padding: clamp(64px, 12vh, 140px) var(--gutter); }
.langs-lines p { font: 600 clamp(24px, 3.600vw, 60px)/1.25 var(--display); color: var(--heading); text-wrap: balance; }
.langs-lines p:nth-child(2) { color: var(--ink); margin-block: .3em; }
.langs-lines p:nth-child(3) { color: var(--graphite); }
.langs-lines p[dir="rtl"] { text-align: right; }
.langs-lines p[dir="ltr"] { text-align: left; }
.langs-text { margin-top: clamp(40px, 7vh, 80px); display: grid; grid-template-columns: 1.200fr 1fr 1fr; gap: 16px 40px; align-items: start; }
.langs-text h2 { font-size: clamp(30px, 3vw, 48px); }
.langs-text p { color: var(--graphite); }

/* Voice notes */
.note-demo { margin: 0; display: flex; flex-direction: column; align-items: center; background: var(--raised); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(16px, 2.400vw, 32px); box-shadow: var(--shadow); min-width: 0; }
.note-file { display: flex; align-items: center; gap: 10px; width: min(420px, 100%); min-height: 56px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; cursor: grab; direction: ltr; transition: opacity .25s, transform .3s var(--ease); touch-action: manipulation; }
.note-file:hover { border-color: var(--rule-strong); }
.note-play { width: 0; height: 0; border-block: 7px solid transparent; border-left: 11px solid var(--graphite); flex: none; }
.note-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; }
.note-wave i { flex: 1; background: var(--rule-strong); border-radius: 1px; height: var(--h); }
.note-len { font-size: 13px; color: var(--graphite); font-variant-numeric: tabular-nums; }
.note-hint { color: var(--graphite); font-size: .85em; margin-top: 10px; transition: opacity .2s; }
.is-dropped .note-file { opacity: 0; transform: translateY(40px) scale(.7); pointer-events: none; }
.is-dropped .note-hint { opacity: 0; }
.note-mic-slot { position: relative; width: min(560px, 100%); margin-top: 18px; height: 360px; border: 1.500px dashed var(--rule-strong); border-radius: 16px; transition: border-color .15s; }
.note-mic-slot.is-over { border-color: var(--signal); }
.is-open .note-mic-slot { border-color: transparent; }
.note-mic-slot.is-over .mic { box-shadow: 0 0 0 2px var(--mic-a), 0 0 0 4px var(--mic-b); }
.note-mic-slot .mic { width: 34px; }
.is-dragging .note-mic-slot .mic { scale: 1.200; }
.note-panel { position: absolute; inset: -1.500px; margin: auto; display: flex; flex-direction: column; width: 34px; height: 34px; border-radius: 17px; background: var(--mic-ink); color: var(--mic-snow); opacity: 0; overflow: hidden; pointer-events: none; transition: width .5s var(--ease), height .5s var(--ease), border-radius .5s var(--ease), opacity .2s; z-index: 4; box-shadow: var(--shadow); }
.is-open .note-panel { width: calc(100% + 3px); height: calc(100% + 3px); border-radius: 16px; opacity: 1; pointer-events: auto; background: linear-gradient(160deg, color-mix(in srgb, var(--mic-a) 12%, var(--mic-ink)), var(--mic-ink) 45%, color-mix(in srgb, var(--mic-b) 12%, var(--mic-ink))); }
.note-panel > * { opacity: 0; transition: opacity .3s .25s; }
.is-open .note-panel > * { opacity: 1; }
.note-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px 8px; font-size: 13px; color: var(--mic-quiet); white-space: nowrap; }
.note-x { width: 10px; height: 10px; background: linear-gradient(45deg, transparent 44%, var(--mic-quiet) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--mic-quiet) 44% 56%, transparent 56%); }
.note-progress { height: 2px; margin-inline: 16px; background: rgb(255 255 255 / .1); border-radius: 1px; }
.note-progress i { display: block; height: 100%; width: 0; border-radius: 1px; background: linear-gradient(90deg, var(--mic-a), var(--mic-b)); transition: width .6s var(--ease); }
.note-text { padding: 14px 16px 0; font-size: 15.500px; line-height: 1.55; flex: 1; min-height: 0; overflow-y: auto; }
.note-part { animation: land .55s var(--ease); }
.note-foot { display: flex; justify-content: flex-end; padding: 6px 12px; }
.note-insert { min-height: 32px; padding: 0 14px; background: none; border: 0; border-radius: 8px; color: var(--mic-snow); font-weight: 600; font-size: 14px; cursor: pointer; opacity: .35; pointer-events: none; transition: opacity .2s, background .15s; }
.is-done .note-insert { opacity: 1; pointer-events: auto; }
.note-insert:hover { background: rgb(255 255 255 / .1); }

/* The small things: Settings-style rows */
.small { padding: clamp(32px, 6vh, 72px) var(--gutter) clamp(64px, 12vh, 140px); }
.rows { margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 88px); }
.ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--hover); color: var(--ink); flex: none; }
.row { padding: 18px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.row .ico { grid-row: span 2; }
.row dt, .row dd { grid-column: 2; }
/* Rows without an icon (the /pro page) keep their text at the start. */
.row:not(:has(.ico)) { display: block; }
.row dt { font-weight: 600; }
.row dd { margin: 4px 0 0; color: var(--graphite); text-wrap: pretty; }
.row-orange dt::after { content: ''; display: inline-block; width: 9px; height: 9px; margin-inline-start: 8px; border-radius: 50%; background: var(--mic-attention); vertical-align: 1px; }

/* WhatsApp, front and centre in the voice note section. */
.wa-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 99px; background: var(--raised); border: 1px solid var(--rule); font-size: .85em; font-weight: 600; margin-bottom: 14px !important; color: var(--ink) !important; }
.wa-badge img { border-radius: 6px; }
.wa-flow { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 34em; }
.wa-flow li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; background: var(--raised); border: 1px solid var(--rule); border-radius: 14px; font-size: .88em; font-weight: 600; line-height: 1.3; }
.wa-flow img { border-radius: 8px; }
.wa-mic, .wa-text { width: 28px; height: 28px; border-radius: 8px; display: block; }
.wa-mic { background: var(--mic-ink) linear-gradient(var(--mic-a), var(--mic-b)) center / 5px 13px no-repeat; }
.wa-text { background: var(--tint-violet); background-image: linear-gradient(var(--grad-b), var(--grad-b)), linear-gradient(var(--grad-b), var(--grad-b)), linear-gradient(var(--grad-b), var(--grad-b)); background-size: 16px 2.500px, 12px 2.500px, 14px 2.500px; background-position: 6px 8px, 6px 13px, 6px 18px; background-repeat: no-repeat; }
.wa-how { font-size: .88em !important; }
.note-app { border-radius: 7px; flex: none; }

/* Screenshots, when there are some: a row that scrolls sideways, each in a soft frame. */
.shots { padding: clamp(56px, 10vh, 112px) 0; }
.shots-head { padding: 0 var(--gutter); margin-bottom: 24px; }
.shots-head p { color: var(--graphite); margin-top: 10px; }
.shots-row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.shot { margin: 0; flex: 0 0 min(820px, 84vw); scroll-snap-align: start; }
.shot img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--rule); box-shadow: var(--shadow); background: var(--raised); }
.shot figcaption { margin-top: 10px; color: var(--graphite); font-size: .92em; }

/* The phone concept: drawn, not a screenshot, since the app doesn't exist yet. */
.phone { background: var(--tint-teal); }
.soon-badge { display: inline-block; padding: 4px 12px; border-radius: 99px; background: linear-gradient(110deg, var(--vivid-a), var(--vivid-b)); color: var(--on-vivid) !important; font-size: .8em; font-weight: 700; margin-bottom: 14px !important; letter-spacing: .02em; }
.phone-points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.phone-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.phone-points li::before { content: ''; flex: none; width: 8px; height: 14px; margin-top: .3em; border-radius: 4px; background: linear-gradient(var(--grad-a), var(--grad-b)); }
.phone-note { font-size: .88em !important; }
.phone-demo { margin: 0; position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.handset { width: 290px; height: 590px; padding: 12px; border-radius: 48px; background: var(--mic-ink); box-shadow: var(--shadow), inset 0 0 0 2px rgb(255 255 255 / .08); }
.ph-screen { height: 100%; border-radius: 37px; background: var(--raised); overflow: hidden; display: flex; flex-direction: column; font-size: 13px; color: var(--ink); }
.ph-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 6px; font-weight: 600; font-size: 12px; }
.ph-island { width: 74px; height: 22px; border-radius: 12px; background: var(--mic-ink); }
.ph-sig { width: 22px; height: 10px; border-radius: 3px; border: 1.500px solid currentColor; }
.ph-pill { display: flex; align-items: center; gap: 2px; height: 22px; padding: 0 9px; border-radius: 11px; background: var(--mic-ink); }
.ph-pill i { width: 2.500px; height: 12px; border-radius: 2px; background: linear-gradient(var(--mic-a), var(--mic-b)); animation: ph-bar 1s ease-in-out infinite; }
.ph-pill i:nth-child(2n) { animation-delay: -.3s; height: 8px; } .ph-pill i:nth-child(3n) { animation-delay: -.6s; height: 14px; }
@keyframes ph-bar { 50% { transform: scaleY(.35); } }
.share-card { position: absolute; bottom: 4px; inset-inline-start: calc(50% + 70px); background: var(--raised); border: 1px solid var(--rule); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); }
.share-card small { display: block; color: var(--graphite); font-size: 12px; margin-bottom: 8px; }
.share-card > div { display: flex; gap: 10px; align-items: flex-start; }
.sc-app { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; }
.sc-app img { width: 42px; height: 42px; border-radius: 10px; display: block; }
.sc-us img { box-shadow: 0 0 0 2px var(--raised), 0 0 0 4px var(--grad-b); }

/* The phone concept is the Lafza notes app. */
.ph-app { display: flex; align-items: center; gap: 8px; padding: 10px 16px 8px; font: 600 20px var(--display); }
.ph-app img { width: 26px; height: 26px; border-radius: 7px; }
.ph-notes { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 6px 12px; background: var(--paper); overflow: hidden; }
.ph-note { background: var(--raised); border: 1px solid var(--rule); border-radius: 14px; padding: 10px 12px; }
.ph-note-new { box-shadow: 0 0 0 2px var(--grad-b); }
.ph-note-top { display: flex; align-items: center; gap: 7px; }
.ph-note-top img { width: 18px; height: 18px; border-radius: 5px; }
.ph-dot { width: 10px; height: 16px; border-radius: 5px; background: linear-gradient(var(--grad-a), var(--grad-b)); }
.ph-note small { display: block; color: var(--graphite); font-size: 11px; margin: 3px 0 5px; }
.ph-note p { margin: 0; font-size: 12.500px; line-height: 1.4; color: var(--ink); }
.ph-rec { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0 22px; background: var(--paper); }
.ph-rec .ph-pill { position: static; height: 44px; padding: 0 22px; border-radius: 22px; gap: 4px; }
.ph-rec .ph-pill i { width: 4px; height: 20px; }
.ph-listen { font-size: 12px; color: var(--graphite); }

/* Halfway down, the way in is one click away. */
.midcta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; margin: 0 var(--gutter) clamp(48px, 9vh, 96px); padding: clamp(18px, 2vw, 26px) clamp(20px, 2.400vw, 32px); background: var(--raised); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow); }
.midcta strong { font: 600 clamp(20px, 1.500vw, 26px)/1.2 var(--display); color: var(--heading); margin-inline-end: 8px; }
.midcta span { color: var(--graphite); }

/* Privacy: one dark moment */
.dark { background: var(--mic-ink); color: var(--mic-snow); padding: clamp(72px, 13vh, 150px) var(--gutter); }
.dark h2 { color: var(--mic-snow); max-width: 15em; }
.dark a { color: var(--mic-working); }
.dark-lede { color: var(--mic-quiet); font-size: clamp(18px, .7vw + 10px, 24px); max-width: 34em; margin-top: 20px; }
.route { display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; gap: 14px; margin: 48px 0 12px; max-width: 760px; }
.route-node { padding: 12px 18px; border: 1px solid rgb(255 255 255 / .22); border-radius: 12px; font-weight: 600; }
.route-line { height: 2px; background: rgb(255 255 255 / .16); position: relative; overflow: hidden; }
.route-line i { position: absolute; inset-block: 0; width: 34%; background: linear-gradient(90deg, var(--mic-a), var(--mic-b)); border-radius: 2px; animation: flow 2.200s linear infinite; }
@keyframes flow { from { left: -34%; } to { left: 100%; } }
:dir(rtl) .route-line i { animation-direction: reverse; }
.route-none { grid-column: 2; justify-self: center; text-align: center; font-size: 15px; color: var(--mic-quiet); }
.route-none span { display: block; color: var(--mic-done); font-weight: 600; }
.dark-points { list-style: none; padding: 0; margin: 32px 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; }
.dark-points li { border-top: 1px solid rgb(255 255 255 / .16); padding-top: 14px; color: var(--mic-quiet); display: flex; gap: 12px; align-items: flex-start; }
.dark-points .ico { background: rgb(255 255 255 / .08); color: var(--mic-snow); }

/* Setup */
.setup { padding: clamp(72px, 13vh, 150px) var(--gutter) clamp(40px, 8vh, 80px); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: 600 clamp(40px, 3.600vw, 56px)/1 var(--display); color: var(--rule-strong); margin-bottom: 12px; }
.steps p { color: var(--graphite); margin-top: 6px; font-size: .95em; }
.setup-note { color: var(--graphite); margin-top: 28px; font-size: .9em; }

/* Apps */
.apps { padding: clamp(40px, 8vh, 80px) var(--gutter); }
.apps-body { color: var(--graphite); font-size: 1.06em; max-width: 38em; margin-top: 18px; text-wrap: pretty; }
.app-cloud { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.app-cloud li { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: var(--raised); border: 1px solid var(--rule); border-radius: 14px; font-weight: 600; font-size: .95em; min-width: 0; }
/* Every icon gets the same rounded square and hairline, so the official artwork reads as one set. */
.app-logo { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; overflow: hidden; background: var(--logo-tile); box-shadow: 0 0 0 1px var(--rule); }
.app-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.app-mono { font: 700 18px/1 var(--display); color: var(--on-vivid); border: 0; background: linear-gradient(135deg, var(--vivid-a), var(--vivid-b)); }
.apps-legal { font-size: .78em; color: var(--graphite); margin-top: 10px; }
.apps-note { font-size: .86em; color: var(--graphite); margin-top: 28px; max-width: 42em; }

/* Platforms */
.platforms { padding: clamp(40px, 8vh, 80px) var(--gutter); }
.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 32px; }
.plat-grid > div { background: var(--raised); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
.plat-grid h3 { font-size: 28px; }
.plat-grid p { color: var(--graphite); margin: 8px 0 14px; }

/* FAQ */
.faq { padding: clamp(48px, 9vh, 100px) var(--gutter); }
.faq h2 { text-align: center; margin-bottom: clamp(24px, 4vh, 40px); }
.faq-list { max-width: 860px; margin-inline: auto; }
.prose .faq-list { margin-inline: 0; }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 1.03em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--graphite); font-weight: 400; font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list p { padding-bottom: 18px; color: var(--graphite); max-width: 42em; }

/* Final */
.final { padding: clamp(72px, 13vh, 150px) var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; border-top: 1px solid var(--rule); }
.final > p { color: var(--graphite); font-size: 1.12em; max-width: 34em; }
.final .signup { width: 100%; margin-top: 8px; }
.final .platform-row { justify-content: center; }

/* Footer */
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; padding: 40px var(--gutter) max(48px, env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); font-size: .88em; color: var(--graphite); }
.foot p { margin-top: 8px; }
.foot h2 { font: 600 13px var(--text); letter-spacing: 0; color: var(--ink); margin-bottom: 8px; }
.foot nav a { display: block; color: var(--graphite); text-decoration: none; padding: 3px 0; }
.foot nav a:hover { color: var(--ink); }
.foot-made a { color: inherit; }

/* Plain pages */
.intent-hero { padding: clamp(40px, 8vh, 96px) var(--gutter) 48px; }
.intent-hero > * { max-width: 980px; }
.intent-hero h1, .prose-page h1 { font-size: clamp(38px, 5.600vw, 88px); }
.intent-hero .hero-lede { margin-bottom: 26px; }
.prose { padding: 16px var(--gutter) 64px; }
.prose > * { max-width: 820px; }
.prose-page { padding-top: clamp(40px, 8vh, 96px); }
.prose-page > h1, .prose-page > .hero-lede, .prose-page > .rows { max-width: 980px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -.015em; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--ink); max-width: 42em; }
.prose li { margin-bottom: 8px; }
.prose .faq-list p { color: var(--graphite); }
.prose-page .hero-lede { margin-bottom: 8px; }
.prose-page .rows { margin-bottom: 24px; }
.updated { color: var(--graphite); font-size: 14.500px; margin-top: 16px; }

/* ---- Colour: each section has its own soft ground ---- */
.hero { background: radial-gradient(60% 85% at 8% 10%, var(--tint-teal), transparent 72%), radial-gradient(60% 90% at 94% 18%, var(--tint-violet), transparent 72%), radial-gradient(55% 60% at 55% 108%, var(--tint-rose), transparent 72%); }
.try { background: var(--tint-violet); }
.langs { background: var(--tint-teal); }
.notes { background: var(--tint-rose); }
.setup { background: var(--tint-blue); }
.platforms { background: var(--tint-violet); }
.final { background: linear-gradient(120deg, var(--tint-teal), var(--tint-violet) 60%, var(--tint-rose)); border-top: 0; }
.try, .setup, .apps, .platforms { padding-block: clamp(56px, 10vh, 112px); }
.dark { background: radial-gradient(50% 70% at 92% 8%, color-mix(in srgb, var(--mic-b) 22%, transparent), transparent 70%), radial-gradient(45% 60% at 5% 100%, color-mix(in srgb, var(--mic-a) 16%, transparent), transparent 70%), var(--mic-ink); }

/* The one loud moment on the page. */
.midcta { background: linear-gradient(110deg, var(--vivid-a), var(--vivid-b)); border: 0; color: var(--on-vivid); }
.midcta strong, .midcta span { color: var(--on-vivid); }
.midcta .btn { background: var(--on-vivid); color: var(--vivid-b); }
.midcta .btn:hover { background: var(--on-vivid); color: var(--vivid-a); }
.midcta :focus-visible { outline-color: var(--on-vivid); }

/* Small touches of the same colours. */
.row:nth-child(4n+1) .ico { background: var(--tint-teal); color: var(--grad-a); }
.row:nth-child(4n+2) .ico { background: var(--tint-violet); color: var(--grad-b); }
.row:nth-child(4n+3) .ico { background: var(--tint-rose); color: var(--rose); }
.row:nth-child(4n) .ico { background: var(--tint-blue); color: var(--blue); }
.dark-points li:nth-child(1) .ico { color: var(--mic-a); }
.dark-points li:nth-child(2) .ico { color: var(--mic-b); }
.dark-points li:nth-child(3) .ico { color: var(--mic-cancel); }
.steps li:nth-child(1)::before { color: var(--grad-a); }
.steps li:nth-child(2)::before { color: var(--grad-b); }
.steps li:nth-child(3)::before { color: var(--rose); }
.steps li:nth-child(4)::before { color: var(--blue); }
.langs-lines p:nth-child(2) { color: var(--grad-a); }
.langs-lines p:nth-child(3) { color: var(--rose); }
.win-bar i:nth-child(1) { background: var(--rose); }
.win-bar i:nth-child(2) { background: var(--grad-b); }
.win-bar i:nth-child(3) { background: var(--grad-a); }
.plat-grid > div:nth-child(1) h3 { color: var(--blue); }
.plat-grid > div:nth-child(2) h3 { color: var(--rose); }
.plat-grid > div:nth-child(3) h3 { color: var(--grad-b); }
.plat-grid > div:nth-child(4) h3 { color: var(--grad-a); }
.plat-soon { border-style: dashed !important; }
.soon-tag { display: inline-block; vertical-align: .3em; margin-inline-start: 6px; padding: 2px 9px; border-radius: 99px; background: var(--tint-violet); color: var(--grad-b); font: 700 12px var(--text); letter-spacing: .02em; }
.note-mic-slot { border-color: var(--rose); }

/* ---- Narrow ---- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .langs-text { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .top-nav { display: none; }
  .race-grid { grid-template-columns: 1fr; }
  .share-card { inset-inline-start: auto; inset-inline-end: 0; }
  .platform { min-width: 0; width: 100%; }
  .platform span { padding: 0 4px; gap: 4px; font-size: .82em; }
  .platform span svg { display: none; }
  .wa-flow { grid-template-columns: 1fr; }
  .wa-flow li { flex-direction: row; align-items: center; }
  .app-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-cloud li { padding: 8px 10px 8px 8px; gap: 10px; font-size: .9em; }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .flow li { flex-direction: column; gap: 4px; font-size: .78em; text-align: center; line-height: 1.25; }
  .midcta { margin-inline: 16px; }
  .midcta .btn { width: 100%; }
  .stage, .split, .plat-grid, .rows { grid-template-columns: 1fr; }
  .dark-points { grid-template-columns: 1fr; }
  .win { min-height: 280px; }
  .win-body { padding: 14px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .route { grid-template-columns: 1fr; justify-items: start; gap: 8px; }
  .route-line { width: 2px; height: 28px; margin-inline-start: 22px; }
  .route-line i { display: none; }
  .route-none { grid-column: 1; justify-self: start; text-align: start; margin-top: 8px; }
  .route-none span { display: inline; margin-inline-start: 6px; }
}
/* Touch: nothing under 44 px to aim at, and no keyboard to talk about. */
@media (hover: none) and (pointer: coarse), (max-width: 820px) {
  .chip { min-height: 44px; padding: 0 16px; }
  .link-btn, .btn-tiny, .note-insert { min-height: 44px; }
  .theme-btn { width: 44px; height: 44px; }
  .top .wordmark, .foot-brand .wordmark { padding-block: 11px; }
  .btn-small { min-height: 44px; }
  .platform span { min-height: 42px; }
  .foot nav a { padding: 10px 0; }
  .faq-list summary { padding: 18px 0; }
  .changed { padding-block: 4px; }
  /* Tabs stay on one line and scroll sideways, so the demo and its button stay together. */
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .win { min-height: 220px; }
  .field { min-height: 120px; }
  .said p { min-height: 4.500em; }
}
@media (hover: none) and (pointer: coarse) {
  .sub-keys, .hold-keys { display: none; }
  .sub-touch { display: inline; }
  .hold { justify-content: center; text-align: center; min-height: 64px; }
}
@media (max-width: 480px) {
  .note-mic-slot { height: 410px; }
  .signup-row { flex-direction: column; }
  .signup input[type=email] { flex: none; width: 100%; }
  .signup-row .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .caret { animation: none; }
}
