/* Self-hosted faces (no third-party font host). Files: @fontsource-variable/newsreader 5.3.0 and
   @fontsource-variable/noto-sans 5.3.0 (the app's own pin), latin subset, SIL OFL 1.1: fonts/OFL-*.txt.
   Chinese text has no web font: it falls back to the system stack in --zh. */
@font-face { font-family: Newsreader; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/newsreader-latin-standard-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Newsreader; font-style: italic; font-display: swap; font-weight: 200 800; src: url(../fonts/newsreader-latin-standard-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/noto-sans-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --ink: #16181D;
  --ink-2: #3E434C;
  --muted: #5B606A;
  --faint: #8A8F99;
  --paper: #FFFFFF;
  --tint: #F3F6FC;
  --line: #D5DAE2;
  --rule: #EDF0F5;
  --mark: #D3242B;
  --link: #1D56C9;
  --field: #16181D;
  --field-ink: #F4F5F7;
  --field-muted: #A9AEB8;
  --serif: Newsreader, Georgia, serif;
  --sans: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --zh: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
a { color: var(--link); }
a:hover { color: #123F99; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 14px 22px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1.5px solid var(--ink); transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease; }
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover { background: #2B2F37; color: #fff; }
  .btn-line:hover { background: var(--tint); color: var(--ink); }
}

/* ---------- header ---------- */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 22%; box-shadow: 0 0 0 1px var(--line); }
.brand span { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.site-nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; color: #fff; }
.site-nav .btn:hover { text-decoration: none; }
/* Download stays on phones; it is a plain link while the apps are Coming soon (his 2026-11-09 16:03). */
@media (max-width: 560px) { .site-nav a:not(.btn):not(.nav-download) { display: none; } }

/* ---------- the pencil strike (signature move) ---------- */
.cut { position: relative; color: var(--faint); white-space: nowrap; }
.cut::after { content: ""; position: absolute; left: -0.04em; right: -0.04em; top: 54%; height: 0.075em; min-height: 2px; background: var(--mark); border-radius: 2px; transform: scaleX(var(--s, 1)); transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .cut::after { --s: 0; animation: strike 520ms var(--ease-in-out) 700ms forwards; }
  .js .hero h1 .cut { color: var(--muted); animation: fade-to-faint 400ms ease 1100ms forwards; }
}
@keyframes strike { to { --s: 1; transform: scaleX(1); } }
@keyframes fade-to-faint { to { color: var(--faint); } }

/* ---------- hero ---------- */
.hero { padding-top: 48px; padding-bottom: 32px; display: grid; gap: 28px; }
.hero h1 { font-size: clamp(44px, 7vw, 96px); line-height: 1.02; letter-spacing: -0.025em; max-width: 1000px; text-wrap: balance; }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.hero-row p { font-size: 20px; color: var(--ink-2); max-width: 560px; }
.cta { display: grid; gap: 10px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta small { font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-load] { opacity: 0; transform: translateY(14px); animation: rise 600ms var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- demo stage (the app at work, drawn in HTML) ---------- */
.stage { position: relative; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--tint); padding: clamp(16px, 3.5vw, 40px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); overflow: clip; }
@media (max-width: 860px) { .stage { grid-template-columns: minmax(0, 1fr); } }
.stage-tabs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { font: 500 15px/1 var(--sans); min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); }
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.play { font: 500 14px/1 var(--sans); min-height: 44px; padding: 10px 14px; border-radius: 999px; border: 1.5px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.play:hover { border-color: var(--line); }

/* app window fragment: the product's own small radii and 1px borders */
[data-ui] .win { position: relative; color: var(--ink); background: #fff; border: 1px solid #CDD3DD; border-radius: 10px; box-shadow: 0 1px 2px rgba(22, 24, 29, 0.06), 0 12px 32px rgba(22, 24, 29, 0.08); overflow: hidden; min-height: 330px; display: flex; flex-direction: column; font-family: var(--sans); }
[data-ui] .win-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #E6E9EF; background: #FAFBFC; font-size: 13px; color: var(--muted); }
[data-ui] .dots { display: flex; gap: 6px; margin-right: 6px; }
[data-ui] .dots i { width: 10px; height: 10px; border-radius: 50%; background: #D9DDE4; display: block; }
[data-ui] .win-title { font-weight: 600; color: var(--ink-2); }
[data-ui] .fields { padding: 4px 18px; border-bottom: 1px solid #EEF0F4; font-size: 14px; color: var(--muted); }
[data-ui] .fields div { padding: 8px 0; border-bottom: 1px solid #F2F4F7; }
[data-ui] .fields div:last-child { border-bottom: 0; }
[data-ui] .fields b { color: var(--ink); font-weight: 500; }
[data-ui] .body { flex: 1; padding: 18px; font-size: 16px; line-height: 1.6; color: var(--ink); position: relative; }
[data-ui] .body p + p { margin-top: 10px; }
[data-ui] .thread { padding: 14px 18px 0; display: grid; gap: 12px; font-size: 15px; }
[data-ui] .msg { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
[data-ui] .ava { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font: 600 13px/1 var(--sans); color: #fff; }
[data-ui] .msg b { font-weight: 600; font-size: 14px; }
[data-ui] .msg small { color: var(--faint); font-size: 12px; margin-left: 6px; }
[data-ui] .compose { margin: 14px 18px 18px; border: 1px solid #CDD3DD; border-radius: 8px; padding: 12px 14px; min-height: 76px; font-size: 15px; position: relative; }
[data-ui] .doc { padding: 22px 26px; font-size: 15px; }
[data-ui] .doc h4 { margin: 0 0 8px; font: 600 19px/1.3 var(--sans); }
[data-ui] .doc ul { margin: 6px 0 0; padding-left: 20px; color: var(--ink-2); }
[data-ui] .doc li + li { margin-top: 4px; }
[data-ui] .caret { display: inline-block; width: 2px; height: 1.15em; background: var(--ink); vertical-align: text-bottom; margin-left: 1px; animation: blink 1.05s steps(1) infinite; }
[data-ui] .pasted { background: transparent; border-radius: 3px; transition: background-color 900ms ease; }
[data-ui] .pasted.flash { background: #E3EBFA; transition: none; }
@keyframes blink { 50% { opacity: 0; } }

/* the SayTidy pill, after the app's HUD: 38px, opaque, mic + meter + mode name */
[data-ui] .pill { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 12px); opacity: 0; height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid #D5DAE2; box-shadow: 0 1px 2px rgba(22, 24, 29, 0.08), 0 6px 16px rgba(22, 24, 29, 0.10); display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--sans); color: var(--ink); white-space: nowrap; transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out); pointer-events: none; z-index: 2; }
[data-ui] .pill.on { opacity: 1; transform: translate(-50%, 0); }
[data-ui] .pill svg { width: 15px; height: 15px; flex: none; }
[data-ui] .meter { display: flex; align-items: center; gap: 2.5px; height: 16px; }
[data-ui] .meter i { width: 3px; height: 100%; border-radius: 999px; background: var(--ink); transform: scaleY(0.2); transition: transform 90ms linear; display: block; }
[data-ui] .bar { width: 88px; height: 4px; border-radius: 999px; background: #E3E6EC; overflow: hidden; display: none; }
[data-ui] .bar i { display: block; height: 100%; width: 100%; border-radius: 999px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
[data-ui] .pill.thinking .meter { display: none; }
[data-ui] .pill.thinking .bar { display: block; }
[data-ui] .pill.thinking .bar i { transform: scaleX(1); transition: transform 700ms var(--ease-out); }
[data-ui] .pill .tag { color: var(--ink-2); }

/* the right column: key, what you said */
.side { display: grid; align-content: start; gap: 22px; min-width: 0; }
.keys { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.key { font: 600 15px/1 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; padding: 12px 14px 12px; min-width: 64px; text-align: center; box-shadow: 0 4px 0 var(--ink); transform: translateY(0); transition: transform 90ms var(--ease-out), box-shadow 90ms var(--ease-out), background-color 120ms ease; user-select: none; -webkit-user-select: none; touch-action: manipulation; cursor: pointer; }
.key small { display: block; font: 500 11px/1.2 var(--sans); color: var(--muted); margin-top: 4px; }
.key.down, .key:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); background: #E3EBFA; }
.plus { color: var(--muted); font-weight: 600; }
.keys-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.said-label { font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--mark); opacity: 0; transition: opacity 160ms ease; }
.rec.on { opacity: 1; }
.said { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.5; color: var(--muted); min-height: 4.5em; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.28em; row-gap: 2px; }
.said .w { opacity: 0; transition: opacity 220ms ease; position: relative; }
.said .w.in { opacity: 1; }
.said .w.cut { color: var(--muted); }
.said .w.cut::after { --s: 0; transition: transform 320ms var(--ease-in-out); transition-delay: var(--sd, 0ms); }
.said.marked .w.cut { color: var(--faint); }
.said.marked .w.cut::after { transform: scaleX(1); }
/* The added punctuation sits in the text flow, right after its word, so it lines up at any width;
   the caret under it is the only absolutely placed part, centred on the mark. */
.ins { position: relative; display: inline-block; color: var(--mark); font-weight: 700; opacity: 0; transform: translateY(-4px); transition: opacity 200ms ease, transform 260ms var(--ease-out); transition-delay: var(--sd, 0ms); }
.ins::after { content: "\2038"; position: absolute; left: 50%; top: 1.1em; transform: translateX(-50%); font: 700 0.6em/1 var(--sans); }
.said.marked .ins { opacity: 1; transform: none; }
.stage-note { font-size: 13px; color: var(--muted); }

/* the three main features, named under the hero (his 2026-11-09 16:22) */
.feats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
@media (max-width: 760px) { .feats { grid-template-columns: 1fr; } }
.feats a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; padding: 18px 20px 18px 0; color: var(--ink); text-decoration: none; height: 100%; }
.feats li + li a { padding-left: 20px; border-left: 1px solid var(--line); }
@media (max-width: 760px) { .feats li + li a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.feats .n { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--mark); }
.feats b { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.feats a span:last-child { color: var(--ink-2); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .feats a:hover b { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; } }
.kicker { display: block; font: 600 14px/1.4 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mark); margin-bottom: 12px; }
.sec-first { padding-top: 64px; }

/* stage pieces the scenes draw: a form field, a spreadsheet, the Instant Ask card */
[data-ui] .field-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
[data-ui] .compose-flat { margin: 0; }
[data-ui] .compose-short { min-height: 46px; }
[data-ui] .sheet { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
[data-ui] .sheet th, [data-ui] .sheet td { border: 1px solid #E1E5EB; padding: 7px 9px; text-align: left; }
@media (max-width: 560px) { [data-ui] .sheet { font-size: 12px; } [data-ui] .sheet th, [data-ui] .sheet td { padding: 5px 6px; } }
[data-ui] .sheet th { background: #F5F7FA; color: var(--muted); font-weight: 500; font-size: 12px; text-align: center; }
[data-ui] .sheet td.cur { outline: 2px solid var(--link); outline-offset: -2px; }
/* The card's room is kept while it is closed, so the stage does not change height every scene. */
[data-ui] [data-card] { position: relative; margin-top: 12px; max-width: 420px; min-height: 196px; }
@media (max-width: 560px) { [data-ui] [data-card] { min-height: 240px; } }
[data-ui] .ask-card p + p { margin-top: 0; }
/* All three Instant Ask windows the same height, so switching scenes does not move the page. */
[data-stage="ask"] [data-ui] .win { min-height: 452px; }
@media (max-width: 560px) { [data-stage="ask"] [data-ui] .win { min-height: 500px; } }
[data-ui] [data-card] .ask-card { opacity: 0; transform: translateY(-6px) scale(0.97); transform-origin: top left; transition: opacity 200ms var(--ease-out), transform 220ms var(--ease-out); }
[data-ui] [data-card] .ask-card.open { opacity: 1; transform: none; }
[data-ui] .ask-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
[data-ui] .ask-head b { font-weight: 600; }
[data-ui] .ask-copy { border: 1px solid #D5DAE2; border-radius: 6px; padding: 3px 8px; font-size: 12px; color: var(--ink-2); }
[data-ui] .ask-a { min-height: 3em; }

/* Translate's stage sits on the dark field */
.tr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; margin-bottom: 28px; }
.field .stage { border-color: #3A3F49; color: var(--ink); }
.field .kicker { color: #FF6B6B; }

/* ---------- sections ---------- */
.sec { padding-top: 120px; padding-bottom: 120px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; max-width: 760px; text-wrap: balance; }
.sec-head p { color: var(--ink-2); max-width: 440px; }
@media (max-width: 700px) { .sec { padding-top: 88px; padding-bottom: 88px; } }

/* translate: a whole field of colour */
.field { background: var(--field); color: var(--field-ink); }
.field .sec-head { display: grid; }
.field .sec-head h2 { max-width: 1120px; }
.field .sec-head p { color: var(--field-muted); max-width: 640px; }
.field .cut { color: #7D838E; }
.tr-facts { display: grid; gap: 8px; max-width: 560px; font-size: 15px; color: var(--field-muted); padding: 0; margin: 0; list-style: none; }
.tr-facts li { display: flex; gap: 10px; }
.tr-facts li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--mark); margin-top: 0.62em; }
/* The language wheel: names stacked in a one-line window; the track slides up once (home.js). */
.tr-into { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; font-weight: 600; color: var(--field-muted); }
.wheel { display: inline-block; height: 1.3em; overflow: hidden; font: 500 clamp(24px, 2.6vw, 32px)/1.3 var(--serif), var(--zh); color: var(--field-ink); }
.wheel-track { display: flex; flex-direction: column; }
.wheel-track span { display: block; height: 1.3em; white-space: nowrap; }
.wheel-track.roll { transition: transform 1600ms var(--ease-out); }

/* three more things (his 2026-11-09 16:24: exactly three) */
.more-band { background: var(--tint); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
/* more: each feature shows a piece of itself */
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; align-items: start; }
@media (max-width: 900px) { .more { grid-template-columns: 1fr; max-width: 560px; } }
.more-item { display: grid; gap: 10px; align-content: start; min-width: 0; }
.more-item h3 { font-size: 26px; margin-top: 12px; }
.more-item > p { color: var(--ink-2); }
.more-foot { margin-top: 48px; font-family: var(--serif); font-size: 22px; color: var(--ink-2); }
[data-ui].frag { background: var(--tint); border-radius: 10px; padding: 22px; min-height: 224px; display: grid; align-content: center; }
.more-band [data-ui].frag { background: #E6ECF6; }
[data-ui] .ask-card { background: #fff; border: 1px solid #D5DAE2; border-radius: 12px; box-shadow: 0 1px 2px rgba(22, 24, 29, 0.06), 0 8px 24px rgba(22, 24, 29, 0.08); padding: 16px 18px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
[data-ui] .ask-q { color: var(--muted); font-size: 14px; }
[data-ui] .ask-a { color: var(--ink); }
[data-ui] .vocab, [data-ui] .hist { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid #D5DAE2; border-radius: 10px; overflow: hidden; font-size: 14px; }
[data-ui] .vocab li, [data-ui] .hist li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #EEF0F4; }
[data-ui] .vocab li:last-child, [data-ui] .hist li:last-child { border-bottom: 0; }
[data-ui] .vocab span { font-weight: 600; }
[data-ui] .vocab small { color: var(--muted); font-size: 12px; }
[data-ui] .hist li { justify-content: flex-start; }
[data-ui] .hist span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

[data-ui] .learn-head { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
[data-ui] .learn .vocab small { color: var(--link); font-weight: 500; }
[data-ui] .mode-card { background: #fff; border: 1px solid #D5DAE2; border-radius: 10px; padding: 14px 16px; display: grid; gap: 6px; font-size: 14px; }
[data-ui] .mode-name { font-weight: 600; }
[data-ui] .mode-text { color: var(--ink-2); line-height: 1.5; }
[data-ui] .apps li { justify-content: space-between; }
[data-ui] .apps b { font-weight: 600; flex: none; }
[data-ui] .apps span { color: var(--muted); text-align: right; }

/* price strip, faq, footer */
.price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 40px 0; }
.price h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; margin-bottom: 8px; }
.price p { color: var(--ink-2); max-width: 640px; }
.faq { max-width: 820px; }
.faq h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.faq details p { margin-top: 10px; color: var(--ink-2); }
.site-foot { border-top: 1.5px solid var(--ink); }
.foot-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; padding-top: 32px; padding-bottom: 48px; font-size: 14px; color: var(--ink-2); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { width: 28px; height: 28px; border-radius: 22%; box-shadow: 0 0 0 1px var(--line); }
.foot-brand span { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); }

/* ---------- reveals: once, below the fold, content visible without script ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 450ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-ui] .caret { animation: none; }
  [data-ui] .pill, [data-ui] [data-card] .ask-card, .said .w, .ins, .cut::after, .key, .tab, .btn, .wheel-track { transition: none !important; }
}

/* ---------- inner pages (pricing, download, legal): the home page's vocabulary ---------- */
.page-hero { padding-bottom: 40px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); }
.page-hero p a { color: var(--link); }
.period { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.period[hidden] { display: none; }
.js .period[hidden] { display: inline-flex; }
.period .tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; padding-bottom: 48px; }
.plan { background: #fff; border: 1.5px solid var(--ink); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plan h2 { font-size: 34px; }
.plan-pro { border-width: 3px; padding: 31px; background: var(--tint); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.plan-price .big { font-family: var(--serif); font-size: 60px; font-weight: 500; line-height: 1; }
.plan-price .unit, .plan-billed { color: var(--muted); }
.plan-billed { font-size: 14px; margin-top: -10px; }
.js [data-show="yearly"], .js .yearly [data-show="monthly"] { display: none; }
.js .yearly [data-show="yearly"] { display: flex; }
.js .yearly p[data-show="yearly"] { display: block; }
.plan-allow { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 16px; }
.plan-allow b { font-size: 18px; font-weight: 600; }
.plan-allow span { font-size: 14px; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
.plan > .btn { margin-top: auto; align-self: flex-start; }
/* On the download page the button sits under the OS name, with the install steps below it. */
.plan-os + .btn { margin-top: 0; }
.btn-soon { background: #fff; color: var(--muted); border: 1.5px dashed var(--faint); cursor: not-allowed; }
.btn-soon:active { transform: none; }
.plan-os { display: grid; gap: 2px; }
.plan-os span { color: var(--muted); }
.install { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.install li { display: flex; gap: 14px; color: var(--ink-2); }
.install .n { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1; color: var(--mark); min-width: 18px; }
.install strong { color: var(--ink); }
.aside { background: var(--tint); border-left: 3px solid var(--mark); padding: 12px 16px; color: var(--ink-2); font-size: 15px; }
.renew { padding-bottom: 40px; }
.renew p { font-size: 15px; color: var(--ink-2); max-width: 820px; }
.terms-strip { padding-bottom: 120px; }
.terms-strip dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px 48px; border-top: 1.5px solid var(--ink); padding-top: 36px; }
.terms-strip dt { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 8px; }
.terms-strip dd { margin: 0; color: var(--ink-2); }

/* legal pages: long text, one readable column */
.legal { max-width: 760px; padding-top: 32px; padding-bottom: 120px; color: var(--ink-2); }
.legal h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.08; color: var(--ink); margin-bottom: 20px; }
.legal h2 { font-size: 30px; line-height: 1.2; color: var(--ink); margin: 48px 0 12px; scroll-margin-top: 24px; }
.legal h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; letter-spacing: 0; color: var(--ink); margin: 32px 0 8px; scroll-margin-top: 24px; }
.legal p, .legal ul, .legal ol, .legal table { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 4px; }
.legal strong { color: var(--ink); }
.legal .table { overflow-x: auto; margin: 0 0 18px; }
.legal table { border-collapse: collapse; font-size: 15px; min-width: 560px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--tint); color: var(--ink); font-weight: 600; }
.nav-here { text-decoration: underline; text-underline-offset: 0.25em; }
