/* Voice Engineering: the site's design language, shared by every page.

   An instrument, not an app. Paper and white cards, near-black ink, pastel colour-block
   modules that keep near-black ink in both themes, small monospaced uppercase labels like
   printing on hardware, 24px card radius, pill buttons and chips, circle icon buttons, and one
   floating black pill nav (the only shadow on the site). The signature: a row of rounded
   hatched bars whose last bar is solid. Coral means recording and nothing else.

   The tokens match the app. Light and dark follow the system. */

:root {
  color-scheme: light dark;
  --paper: #f2eef1;
  --card: #ffffff;
  --ink: #0e0e10;
  --ink-2: #67616a;               /* 5.2:1 on paper, 6.0:1 on cards */
  --line: rgba(14, 14, 16, 0.12);
  --control: #0e0e10;             /* primary buttons, selected chips */
  --on-control: #ffffff;
  --yellow: #f6c965;
  --pink: #f7cce3;
  --blue: #bdd5ff;
  --green: #cbefd3;
  --coral: #ff8b6e;               /* recording only */
  --lilac: #ddd5f7;
  --signal: #5e9bff;
  --nav: #0e0e10;
  --nav-ink: #f4f2f4;
  --radius: 24px;
  --radius-sm: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-ar: -apple-system, BlinkMacSystemFont, "SF Arabic", "Geeza Pro", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: 16px;
  --max: 1120px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121214;
    --card: #1c1c1f;
    --ink: #f4f2f4;
    --ink-2: #a7a2a8;             /* 7.4:1 on paper, 6.8:1 on cards */
    --line: rgba(244, 242, 244, 0.14);
    --control: #f4f2f4;
    --on-control: #0e0e10;
  }
}

/* ---- Base ------------------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
b, strong { font-weight: 650; }
code { font: 0.86em/1 var(--mono); overflow-wrap: anywhere; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }

/* Arabic joins its letters: never track it, and give it the Arabic system face. */
[lang="ar"] { font-family: var(--font-ar); letter-spacing: 0 !important; text-transform: none !important; }
.nowrap { white-space: nowrap; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--control); color: var(--on-control); font-weight: 650; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---- Type ------------------------------------------------------------------------------ */

.label {
  font: 600 11.5px/1.35 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
.display { font-size: clamp(46px, 13vw, 136px); line-height: 0.9; letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: clamp(34px, 6vw, 64px); }
h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.lede { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 36em; }
.big-number { font-size: clamp(52px, 7vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }

kbd {
  display: inline-block;
  min-width: 1.75em;
  padding: 0.18em 0.42em 0.1em;
  font: 600 0.78em/1.25 var(--mono);
  text-align: center;
  color: inherit;
  background: var(--card);
  border: 1.25px solid currentColor;
  border-bottom-width: 2.5px;
  border-radius: 7px;
  vertical-align: 0.08em;
  white-space: nowrap;
}

/* ---- The signature: rounded hatched bars, the last one solid ------------------------------ */

.bars { display: flex; align-items: center; gap: var(--gap, 6px); color: var(--ink); }
.bars i {
  display: block;
  flex: none;
  width: var(--bar-w, 12px);
  height: calc(var(--h, 1) * 100%);
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, currentColor 0 1.2px, transparent 1.9px 4.6px);
}
.bars i.solid { background: currentColor; }

/* A section's header: its label, a rule, and the bars at the end like a scale. */
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(20px, 3vw, 30px); }
.section-head .label { flex: none; }
.section-head .rule { flex: 1; min-width: 16px; height: 1.5px; background: currentColor; color: var(--ink); }
.bars-rule { flex: none; height: 22px; --bar-w: 9px; --gap: 5px; }
@media (max-width: 520px) { .bars-rule i:nth-child(-n + 9) { display: none; } }

/* ---- Buttons and chips --------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 650 17px/1 var(--font); letter-spacing: -0.01em; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform 120ms var(--ease), opacity 160ms var(--ease);
}
.btn:hover { text-decoration: none; opacity: 0.88; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--control); color: var(--on-control); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn .ver { font: 600 13px/1 var(--mono); letter-spacing: 0.06em; opacity: 0.7; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.5; cursor: progress; transform: none; }

.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; min-width: 44px; padding: 0 14px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 650 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
}
.chip[aria-pressed="true"], .chip.on { background: var(--control); border-color: var(--control); color: var(--on-control); }
.chip[lang="ar"] { font-size: 16px; }

/* ---- The floating nav ----------------------------------------------------------------------- */

.nav-wrap {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding-inline: 12px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(780px, 100%);
  display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--nav); color: var(--nav-ink);
  box-shadow: 0 14px 34px -16px rgba(14, 14, 16, 0.6), 0 2px 8px rgba(14, 14, 16, 0.14);
}
@media (prefers-color-scheme: dark) {
  .nav { box-shadow: 0 0 0 1px #2e2b30, 0 14px 34px -16px rgba(0, 0, 0, 0.9); }
}
.nav :focus-visible { outline-color: var(--nav-ink); }
.brand {
  display: flex; align-items: center; gap: 10px; margin-right: auto; min-height: 40px;
  color: inherit; text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.mark { height: 18px; --bar-w: 6px; --gap: 2.5px; color: inherit; }
.mark i { border-width: 1.25px; background: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1.5px 3.4px); }
.mark i.solid { background: currentColor; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  display: block; padding: 11px 12px; border-radius: 999px;
  font: 600 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--nav-ink); text-decoration: none; opacity: 0.86;
}
.nav-links a:hover { opacity: 1; background: rgba(244, 242, 244, 0.12); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--nav-ink); color: var(--nav);
  font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { text-decoration: none; opacity: 0.9; }
.nav-cta svg { width: 15px; height: 15px; }
@media (max-width: 780px) { .nav-links { display: none; } }

/* ---- Layout pieces -------------------------------------------------------------------------- */

main { display: block; }
.section { padding-top: clamp(72px, 10vw, 128px); }
.section > h2 { max-width: 14em; }
.section-lede { margin-top: 16px; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 38em; }
.card { background: var(--card); border-radius: var(--radius); }

/* Colour-block modules keep near-black ink in both themes, so everything inside them uses the
   light tokens. */
.module {
  --ink: #0e0e10; --ink-2: rgba(14, 14, 16, 0.74); --card: #ffffff; --line: rgba(14, 14, 16, 0.14);
  --control: #0e0e10; --on-control: #ffffff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
}
.module.yellow { background: var(--yellow); }
.module.pink { background: var(--pink); }
.module.blue { background: var(--blue); }
.module.green { background: var(--green); }
.module.lilac { background: var(--lilac); }
.module.white { background: #ffffff; }
.module .label { color: var(--ink-2); }
.module p { color: var(--ink); }

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

.hero { display: grid; gap: clamp(36px, 6vw, 56px); padding-top: clamp(112px, 16vw, 168px); align-items: end; }
@media (min-width: 980px) { .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); } }
.hero-copy { display: grid; gap: 22px; justify-items: start; container-type: inline-size; min-width: 0; }
/* The name fills its column, never more: "Engineering" is about 5.2 em wide. */
.hero-copy .display { font-size: clamp(44px, 18cqi, 136px); }
.hero-copy .lede { color: var(--ink); max-width: 25em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* The instrument: the demo of hold, speak, let go. */
.device { background: var(--card); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 24px); display: grid; gap: 18px; }
.device-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.led { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-2); flex: none; transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.device[data-state="listening"] .led { background: var(--coral); border-color: var(--coral); }
.device[data-state="typing"] .led, .device[data-state="done"] .led { background: var(--ink); border-color: var(--ink); }
.bars-hero { height: clamp(104px, 14vw, 132px); --gap: 7px; justify-content: space-between; }
.bars-hero i { flex: 1 1 0; width: auto; min-width: 7px; max-width: 18px; height: calc(10% + var(--h) * 30%); transition: height 140ms var(--ease); }
.bars-hero i.solid { height: 100%; }
.screen {
  background: var(--paper); border-radius: var(--radius-sm);
  padding: 14px 16px; min-height: 104px;
  font-size: 18px; line-height: 1.45;
}
.caret {
  display: inline-block; width: 2px; height: 1.15em; margin-inline-start: 2px;
  vertical-align: -0.2em; border-radius: 1px; background: var(--signal);
  animation: blink 1.1s steps(1) 4;
}
@keyframes blink { 50% { opacity: 0; } }
.device-bottom { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.device-bottom .hint { flex: 1; min-width: 7em; }
.device-bottom .chips { display: flex; gap: 6px; }
.key-well { height: 72px; display: flex; align-items: flex-start; flex: none; }
.key {
  appearance: none; -webkit-appearance: none;
  width: 84px; height: 72px;
  display: inline-grid; place-content: center; justify-items: center; gap: 6px;
  font: inherit; color: var(--ink); background: var(--card);
  border: 1.5px solid var(--ink); border-bottom-width: 6px; border-radius: 15px;
  cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  touch-action: none; -webkit-tap-highlight-color: transparent;
  transition: transform 80ms var(--ease), height 80ms var(--ease), border-bottom-width 80ms var(--ease);
}
.key-glyph { font-size: 26px; line-height: 1; }
.key-label { font: 600 9.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.key.is-down { transform: translateY(4px); height: 68px; border-bottom-width: 2px; }

/* ---- 01 How it works ------------------------------------------------------------------------ */

.steps { list-style: none; display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 44px); counter-reset: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 24px; display: grid; gap: 14px; align-content: start; }
.step-top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.step-n { font: 700 13px/1 var(--mono); letter-spacing: 0.1em; color: var(--ink-2); align-self: flex-start; }
.step p { color: var(--ink-2); }
.cap-lg { font-size: 22px; padding: 0.35em 0.6em 0.2em; border-bottom-width: 5px; border-radius: 12px; display: inline-grid; justify-items: center; gap: 4px; line-height: 1; }
.cap-lg small { font: 600 9px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.cap-lg.down { border-bottom-width: 2px; transform: translateY(3px); }
.hud {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px;
  border-radius: 999px; background: #0e0e10; color: #f4f2f4;
}
@media (prefers-color-scheme: dark) { .hud { border: 1px solid #34313a; } }
.hud .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.hud .bars { height: 16px; --bar-w: 4px; --gap: 2.5px; color: #f4f2f4; }
.hud .bars i { border-width: 1px; background: currentColor; }
.hud .label { color: #f4f2f4; font-size: 10px; }
.field-mock { display: inline-block; padding: 10px 14px; border-radius: 12px; background: var(--paper); font-size: 16px; }
.field-mock .caret { animation: none; }
.hands-free { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-top: 18px; padding: 18px 24px; border-radius: var(--radius); border: 1.5px solid var(--ink); }
.hands-free p:last-child { color: var(--ink); }

/* ---- 02 Install ----------------------------------------------------------------------------- */

.install-grid { display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 900px) {
  .install-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .install-grid .install-steps { grid-row: span 2; }
}
.install-steps { list-style: none; padding: clamp(22px, 3vw, 32px); display: grid; gap: 26px; align-content: start; }
.install-steps li { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.install-steps .n { grid-row: span 2; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; min-width: 1.1em; }
.install-steps p { color: var(--ink-2); }
.module h3 { margin: 10px 0 8px; }
.spec { display: grid; gap: 0; margin-top: 12px; border-radius: var(--radius); background: var(--card); padding: 6px clamp(20px, 3vw, 28px); }
.spec div { display: grid; grid-template-columns: minmax(7.5em, 0.4fr) 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.spec div:first-child { border-top: 0; }
.spec dd { font-weight: 600; }
.aside { margin-top: 18px; color: var(--ink-2); }

/* ---- 03 Features ---------------------------------------------------------------------------- */

.modules { display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 44px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.modules .module { display: grid; gap: 10px; align-content: start; min-height: 260px; }
.module-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 48px; }
.module .visual { display: flex; gap: 6px; align-items: center; }
.module .visual kbd { font-size: 15px; padding: 0.3em 0.5em 0.2em; border-radius: 9px; border-bottom-width: 3.5px; background: #ffffff; }
.map { font: 600 13px/1 var(--mono); letter-spacing: 0.04em; background: #ffffff; border-radius: 999px; padding: 9px 12px; white-space: nowrap; }
.stamp { font: 700 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: 999px; padding: 8px 12px; }
.module .more { font-weight: 650; }

/* ---- 04 Arabic ------------------------------------------------------------------------------ */

.arabic-grid { display: grid; gap: 12px; margin-top: clamp(20px, 3vw, 32px); align-items: stretch; }
@media (min-width: 900px) { .arabic-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.arabic-copy { display: grid; gap: 16px; align-content: start; }
.arabic-copy p { max-width: 34em; }
.arabic-copy p + p { color: var(--ink-2); }
.ar-card { padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; align-content: space-between; }
.ar-card .label { direction: ltr; text-align: left; }
.ar-sample { font-size: clamp(28px, 4vw, 40px); line-height: 1.5; font-weight: 700; }
.ar-sample .caret { animation: none; }
.ar-note { color: var(--ink-2); line-height: 1.8; font-size: 17px; }

/* ---- 05 What's new -------------------------------------------------------------------------- */

.notes-card { padding: clamp(22px, 3vw, 32px); margin-top: clamp(20px, 3vw, 32px); }
.notes { list-style: none; display: grid; gap: 14px; }
.notes li { position: relative; padding-left: 28px; max-width: 46em; overflow-wrap: anywhere; }
.notes li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 9px; height: 0.95em;
  border: 1.5px solid currentColor; border-radius: 999px;
  background: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1.5px 3.6px);
}
.notes li.more { color: var(--ink-2); }
.notes li.more::before { display: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 650; text-decoration: none; }
.link-arrow::after { content: "→"; }
.link-arrow:hover { text-decoration: underline; }

/* ---- 06 Questions --------------------------------------------------------------------------- */

.faq { margin-top: clamp(20px, 3vw, 32px); padding: 4px 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px clamp(18px, 3vw, 28px); cursor: pointer; border-radius: var(--radius);
  font-size: 18px; font-weight: 650; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -3px; }
.plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform 200ms var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 clamp(18px, 3vw, 28px) 22px; color: var(--ink-2); max-width: 44em; display: grid; gap: 10px; }
.faq .answer b { color: var(--ink); }

/* ---- 07 Report a problem -------------------------------------------------------------------- */

.report-panel {
  background: var(--control); color: var(--on-control);
  border-radius: var(--radius); padding: clamp(28px, 5vw, 56px);
  display: grid; gap: 18px; justify-items: start;
}
.report-panel .label { color: inherit; opacity: 0.74; }
.report-panel p:not(.label) { max-width: 34em; font-size: 18px; }
.report-panel :focus-visible { outline-color: var(--on-control); }
.btn-inverse { background: var(--on-control); color: var(--control); }

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

.site-footer { margin-top: clamp(72px, 10vw, 128px); padding-bottom: 48px; }
.footer-grid { display: grid; gap: 20px; border-top: 1.5px solid var(--ink); padding-top: 22px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; }
.footer-links a { font-weight: 600; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; grid-column: 1 / -1; }

/* ---- Pages: privacy and feedback ------------------------------------------------------------ */

.page-head { padding-top: clamp(112px, 15vw, 160px); display: grid; gap: 18px; justify-items: start; }
.page-head h1 { font-size: clamp(48px, 9vw, 104px); line-height: 0.92; letter-spacing: -0.04em; font-weight: 800; }
.glance { display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 640px) { .glance { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .glance { grid-template-columns: repeat(4, 1fr); } }
.glance .module { display: grid; gap: 10px; align-content: start; }
.glance .module h2 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.prose { display: grid; gap: 12px; margin-top: 12px; }
.prose section { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 12px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.03em; line-height: 1.08; max-width: none; }
.prose p, .prose li { max-width: 44em; color: var(--ink-2); }
.prose p b, .prose li b { color: var(--ink); }
.prose ul { list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: currentColor; color: var(--ink); }
.keep { width: 100%; border-collapse: collapse; font-size: 16px; }
.keep th, .keep td { text-align: left; vertical-align: top; padding: 13px 0; border-top: 1px solid var(--line); }
.keep tr:first-child th, .keep tr:first-child td { border-top: 0; }
.keep th { font-weight: 600; padding-right: 20px; width: 52%; }
.keep td { color: var(--ink-2); }
@media (max-width: 560px) {
  .keep, .keep tbody, .keep tr, .keep th, .keep td { display: block; width: auto; }
  .keep td { border-top: 0; padding-top: 0; }
}

.feedback-grid { display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 40px); align-items: start; }
@media (min-width: 960px) { .feedback-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.form-card { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 3.4vw, 36px); }
.form { display: grid; gap: 26px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .form label.label { display: block; padding: 0; margin-bottom: 10px; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kind { position: relative; display: inline-flex; }
.kind input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kind span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 650;
}
.kind input:checked + span { background: var(--control); border-color: var(--control); color: var(--on-control); }
.kind input:focus-visible + span { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.input {
  display: block; width: 100%;
  font: inherit; font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.input:focus { outline: 2.5px solid var(--ink); outline-offset: 2px; }
textarea.input { min-height: 200px; resize: vertical; line-height: 1.5; }
.input[aria-invalid="true"] { border-color: var(--ink); background: color-mix(in srgb, var(--pink) 55%, var(--paper)); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.75px solid var(--ink); border-bottom: 1.75px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.field-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.count { font: 500 11.5px/1.6 var(--mono); letter-spacing: 0.06em; white-space: nowrap; }
.count.over { color: var(--ink); font-weight: 700; }
.field-error, .form-error {
  margin-top: 10px; padding: 10px 14px; border-radius: 12px;
  background: var(--pink); color: #0e0e10; font-size: 15px; font-weight: 600;
}
.form-error { margin-top: 0; }
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-foot p { color: var(--ink-2); font-size: 14px; max-width: 30em; }
.side { display: grid; gap: 12px; }
.done { display: grid; gap: 16px; justify-items: start; }
.done h2 { font-size: clamp(40px, 6vw, 60px); }
.done code { font-size: 1.05em; padding: 4px 8px; border-radius: 8px; background: #ffffff; }

/* ---- Motion --------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
