/* Ditto, the site. Layout system, type scale, surfaces and motion grammar are
   ported from the measured reference (site/REFERENCES.md). Every value that
   can be a token is one: css/tokens.css. Class names are component-prefixed
   (nav-, btn-, hero-, pill-, agent-, win-, sec-, read-, cmp-, dl-, foot-, rv-).
   Motion exists only under html.mo; without it everything sits at its final
   state, and the reduced-motion block at the end says so again. */
@font-face { font-family: "Inter Tight"; src: url("../fonts/InterTight-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--dt-ground); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--dt-ground); color: var(--dt-text-1); font: var(--dt-body); letter-spacing: var(--dt-track);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--dt-accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }

/* ------------------------------------------------------------------ buttons */
.btn-main { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 8px 16px; border: 0; border-radius: 999px;
  background: var(--dt-btn); color: var(--dt-btn-ink); font: 500 14px/16px var(--dt-font); letter-spacing: var(--dt-track); text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -8px rgba(23, 23, 15, 0.6);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-in-out; }
.btn-main:hover { background: var(--dt-btn-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 22px -8px rgba(23, 23, 15, 0.6); }
.btn-main:active { transform: scale(0.98); }
.btn-ghost { background: var(--dt-fill-3); color: var(--dt-text-1); box-shadow: var(--dt-hi); }
.btn-ghost:hover { background: rgba(23, 23, 15, 0.12); box-shadow: var(--dt-hi); }

/* ---------------------------------------------------------------------- nav */
.nav-bar { position: fixed; z-index: 20; inset: 0 0 auto 0; padding: var(--dt-gutter) var(--dt-gutter) 0; pointer-events: none; }
.nav-in { pointer-events: auto; max-width: var(--dt-max); margin: 0 auto; height: 60px; padding: 12px 12px 12px 20px; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--dt-line-1); border-radius: var(--dt-r-nav); background: linear-gradient(137deg, var(--dt-glass-a) 4.87%, var(--dt-glass-b) 75.88%);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); box-shadow: var(--dt-hi-strong); }
.nav-brand { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; text-decoration: none; font: 600 16px/1 var(--dt-font); letter-spacing: 0; }
.nav-mark { width: 22px; height: 22px; color: var(--dt-accent); transition: color 0.6s ease, transform 0.3s var(--dt-ease-out); }
.nav-brand:hover .nav-mark { transform: rotate(-12deg) scale(1.08); }
.nav-links { display: none; }
.nav-link { padding: 12px 8px; color: var(--dt-text-2); font: 500 14px/1 var(--dt-font); text-decoration: none; transition: color var(--dt-t-color); }
.nav-link:hover { color: var(--dt-text-1); }

/* --------------------------------------------------------------------- hero */
.hero-sec { position: relative; padding: 48px var(--dt-gutter) 0; overflow: clip; }
.hero-gl { position: absolute; z-index: 0; top: 0; left: 50%; width: min(100%, 1200px); height: 800px; transform: translateX(-50%); display: block; pointer-events: none; }
.hero-box { position: relative; z-index: 1; max-width: 786px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero-stream { position: relative; width: 100%; margin-top: 24px; display: flex; align-items: center; justify-content: center; }
.hero-end { display: none; }

.pill-body { position: relative; width: min(100%, 358px); min-height: 104px; padding: 12px 14px; text-align: left; border: 1px solid transparent; border-radius: var(--dt-r-card);
  background: linear-gradient(137deg, rgba(255, 255, 250, 0.86) 4.87%, rgba(255, 255, 250, 0.66) 75.88%); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--dt-hi-strong), 0 18px 40px -18px rgba(23, 23, 15, 0.45), 0 0 60px -10px color-mix(in srgb, var(--dt-accent) 30%, transparent);
  transition: box-shadow 0.6s ease, border-color 0.3s ease; }
.pill-body:hover { border-color: var(--dt-line-3); }
.pill-body.is-live { border-color: color-mix(in srgb, var(--dt-voice) 45%, transparent); }
.pill-row { display: flex; align-items: center; gap: 10px; height: 24px; }
.pill-led { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dt-accent); box-shadow: 0 0 10px 1px var(--dt-accent); transition: background-color 0.6s ease, box-shadow 0.6s ease; }
.pill-body.is-live .pill-led { background: var(--dt-voice); box-shadow: 0 0 10px 1px var(--dt-voice); }
.pill-meter { display: flex; align-items: center; gap: 2px; height: 18px; }
.pill-bar { display: block; width: 2px; height: 2px; border-radius: 1px; background: var(--dt-line-3); transition: height 0.08s linear, background-color 0.2s ease; }
.pill-bar.is-on { background: var(--dt-voice); }
.pill-bar.is-hot { background: var(--dt-text-1); }
.pill-status { font: var(--dt-small); color: var(--dt-text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pill-hot { color: var(--dt-text-1); }
.pill-dim { color: var(--dt-text-3); }
.pill-dot { color: var(--dt-text-3); }
.pill-dot.is-lit { color: var(--dt-text-1); }
.pill-keys { margin-left: auto; display: flex; gap: 10px; font: var(--dt-label); color: var(--dt-text-3); white-space: nowrap; }
.pill-key { display: inline-flex; align-items: center; gap: 5px; }
.pill-chip { padding: 3px 5px; border-radius: 5px; background: var(--dt-fill-3); color: var(--dt-text-2); }
.pill-words { margin-top: 10px; font: 500 16px/1.4 var(--dt-font); letter-spacing: 0; color: var(--dt-text-1); overflow-wrap: anywhere; }
.pill-v { color: var(--dt-text-3); }
html.mo .pill-body.is-live .pill-v::after { content: ""; display: inline-block; width: 2px; height: 0.95em; margin-left: 3px; vertical-align: -0.12em; background: var(--dt-text-1); animation: pill-blink 1s steps(1) infinite; }
.pill-reading, .agent-read, .read-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pill-reading { margin-top: 10px; }
.pill-reg, .agent-reg, .pill-feel, .agent-feel { padding: 5px 10px; border-radius: 999px; font: var(--dt-small); white-space: nowrap; }
.pill-reg, .agent-reg { background: var(--dt-fill-3); color: var(--dt-text-1); }
.pill-feel, .agent-feel { background: color-mix(in srgb, var(--dt-accent) 22%, #FFFFFA); color: color-mix(in srgb, var(--dt-accent) 45%, var(--dt-text-1)); box-shadow: none; transition: background-color 0.6s ease, color 0.6s ease; }
.pill-src, .agent-src { font: var(--dt-label); color: var(--dt-text-3); margin-left: 2px; }

.hero-try { width: min(100%, 358px); margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.hero-key { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none;
  background: var(--dt-btn); color: var(--dt-btn-ink); font: 500 14px/16px var(--dt-font);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -8px rgba(23, 23, 15, 0.6);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-in-out; }
.hero-key:hover { background: var(--dt-btn-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 22px -8px rgba(23, 23, 15, 0.6); }
.hero-key.is-down { transform: scale(0.98); background: #000; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 4px color-mix(in srgb, var(--dt-voice) 35%, transparent), 0 0 28px 4px color-mix(in srgb, var(--dt-voice) 45%, transparent); }
.hero-key-dot { width: 8px; height: 8px; border-radius: 50%; background: #D93A2B; }
html.mo .hero-key.is-down .hero-key-dot { animation: pill-blink 1s steps(1) infinite; }
.hero-key-or { color: rgba(255, 255, 250, 0.62); font-weight: 400; }
.hero-type { display: flex; gap: 8px; }
.hero-input { flex: 1; min-width: 0; height: 36px; padding: 0 16px; border: 1px solid var(--dt-line-2); border-radius: 999px; background: rgba(255, 255, 250, 0.8); font-size: 16px; letter-spacing: 0; outline-offset: 0; box-shadow: var(--dt-hi); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.hero-input::placeholder { color: var(--dt-text-3); }
.hero-input:hover { border-color: var(--dt-line-3); }
.hero-input:focus { border-color: var(--dt-accent); box-shadow: var(--dt-hi), 0 0 0 3px color-mix(in srgb, var(--dt-accent) 25%, transparent); outline: 0; }
.hero-note { margin-top: 16px; font: var(--dt-small); line-height: 1.5; color: var(--dt-text-2); max-width: 330px; }
.hero-note b { font-weight: 500; color: var(--dt-text-1); }

/* launch notice: the sign-up in the hero. The row, field and button are the
   existing .hero-type, .hero-input and .btn-main; only placement is new. */
.notice-box { width: min(100%, 358px); margin-top: 16px; scroll-margin-top: 120px; }
.notice-form .hero-input, .notice-form .btn-main { height: 44px; }
.notice-form .btn-main { flex: none; }
.notice-form .btn-main[disabled] { opacity: 0.6; cursor: default; }
.notice-form .hero-input[aria-invalid="true"] { border-color: var(--dt-feel-frustrated); }
.notice-hp { position: absolute; left: -9999px; width: 1px; height: 1px; clip-path: inset(50%); }
.notice-line { margin-top: 12px; font: var(--dt-small); color: var(--dt-text-2); }
.notice-line.is-bad { color: var(--dt-feel-frustrated); }
.notice-box.is-done .notice-form { display: none; }
.notice-box.is-done .notice-line { margin-top: 0; font: var(--dt-h3); letter-spacing: 0; color: var(--dt-text-1); }

/* the window the read lands in: frame card, 8px mat, inner panel */
.win-frame { position: relative; z-index: 1; max-width: 720px; margin: 28px auto 0; padding: 8px; text-align: left; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: var(--dt-r-card);
  background: radial-gradient(85.77% 49.97% at 51% 5.12%, color-mix(in srgb, var(--dt-accent) 14%, transparent) 0%, transparent 60%), var(--dt-glass-b);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 #fff, 0 24px 48px -24px rgba(23, 23, 15, 0.4); transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.win-frame:hover { border-color: #fff; box-shadow: inset 0 1px 0 #fff, 0 30px 56px -22px rgba(23, 23, 15, 0.45); }
.agent-in { border: 1px solid var(--dt-line-1); border-radius: var(--dt-r-panel); background: var(--dt-panel-a); box-shadow: 0 1px 2px rgba(23, 23, 15, 0.06); overflow: hidden; }
.agent-top { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--dt-line-1); font: var(--dt-small); color: var(--dt-text-2); }
.agent-dots { display: inline-flex; gap: 6px; margin-right: 4px; }
.agent-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--dt-line-2); }
.agent-tag { margin-left: auto; padding: 3px 7px; border-radius: 6px; background: var(--dt-fill-2); font: var(--dt-label); color: var(--dt-text-2); }
.agent-body { padding: 18px 16px 20px; display: grid; gap: 12px; }
.agent-text { font: 500 18px/1.45 var(--dt-font); letter-spacing: 0; overflow-wrap: anywhere; }
.agent-ev { color: color-mix(in srgb, var(--dt-accent) 55%, var(--dt-text-1)); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--dt-accent) 60%, transparent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.agent-why { font: var(--dt-body); color: var(--dt-text-2); padding-top: 12px; border-top: 1px solid var(--dt-line-1); }
html.mo .win-frame.is-fresh .agent-body > * { animation: rv-rise 0.5s var(--dt-ease-out) both; }
html.mo .win-frame.is-fresh .agent-body > :nth-child(2) { animation-delay: 0.08s; }
html.mo .win-frame.is-fresh .agent-body > :nth-child(3) { animation-delay: 0.16s; }

/* ----------------------------------------------------------------- sections */
.sec-wrap { padding: var(--dt-section) var(--dt-gutter) 0; }
.sec-box { max-width: var(--dt-max); margin: 0 auto; }
.sec-h2 { font: italic 400 clamp(30px, 4.6vw, 60px)/1.02 var(--dt-serif); letter-spacing: -0.02em; text-align: center; color: var(--dt-text-1); max-width: 26ch; margin: 0 auto 24px; text-wrap: balance; }
.sec-h2 b { font-weight: 400; font-style: normal; }

/* lit card: hairline border, top edge light, a spot that follows the pointer */
.lit-card { position: relative; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: var(--dt-r-card); background: var(--dt-glass-a); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 #fff, 0 18px 40px -20px rgba(23, 23, 15, 0.35); overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.3s var(--dt-ease-out); }
.lit-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--dt-accent) 16%, transparent), transparent 70%); }
.lit-card:hover { border-color: #fff; box-shadow: inset 0 1px 0 #fff, 0 24px 48px -20px rgba(23, 23, 15, 0.42); }
.lit-card:hover::before { opacity: 1; }
.lit-card > * { position: relative; }

.read-two { display: grid; gap: 12px; max-width: var(--dt-max-cards); margin: 0 auto; }
.read-card { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.read-card--with { background: radial-gradient(94.21% 78.4% at 50% 0%, color-mix(in srgb, var(--dt-accent) 16%, transparent) 0%, transparent 70%), var(--dt-glass-a);
  box-shadow: inset 0 1px 0 #fff, 0 18px 40px -20px rgba(23, 23, 15, 0.35), 0 0 0 1px color-mix(in srgb, var(--dt-accent) 18%, transparent); }
.read-card--with:hover { box-shadow: inset 0 1px 0 #fff, 0 24px 48px -20px rgba(23, 23, 15, 0.42), 0 0 0 1px color-mix(in srgb, var(--dt-accent) 30%, transparent); }
.read-card--with .read-bub--bot { border-color: var(--dt-line-1); color: var(--dt-text-1); background: var(--dt-panel-a); }
.read-h3 { font: 400 26px/1.05 var(--dt-serif); letter-spacing: -0.01em; margin-bottom: 6px; }
.read-card--with .read-h3 { font-style: italic; }
.read-bub { padding: 12px 14px; border-radius: var(--dt-r-panel); font: var(--dt-body); }
.read-bub--you { align-self: flex-end; max-width: 92%; background: var(--dt-fill-3); color: var(--dt-text-1); }
.read-bub--bot { align-self: flex-start; max-width: 92%; border: 1px solid var(--dt-line-1); color: var(--dt-text-2); }
.read-who { display: block; margin-bottom: 4px; font: var(--dt-label); color: var(--dt-text-3); }
.read-chips { margin-top: 10px; }

.read-labels { max-width: 620px; margin: 20px auto 0; text-align: center; }
.read-labels .lit-card::before { content: none; }
.read-pick { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border: 1px solid var(--dt-line-1); border-radius: 26px; background: var(--dt-fill-3); }
.read-lab { height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--dt-text-2); font: var(--dt-small); cursor: pointer; transition: color var(--dt-t-color), background-color 0.15s ease, box-shadow 0.2s ease; }
.read-lab:hover { color: var(--dt-text-1); background: var(--dt-fill-2); }
.read-lab[aria-pressed="true"] { color: var(--dt-text-1); background: #FFFFFA; box-shadow: 0 1px 3px rgba(23, 23, 15, 0.12); }
.read-out { --pick: var(--dt-voice); margin-top: 12px; padding: 18px 20px;
  background: radial-gradient(94.21% 78.4% at 50% 0%, color-mix(in srgb, var(--pick) 26%, transparent) 0%, transparent 72%), var(--dt-glass-a);
  box-shadow: inset 0 1px 0 #fff, 0 18px 40px -20px rgba(23, 23, 15, 0.35), 0 0 0 1px color-mix(in srgb, var(--pick) 26%, transparent); }
.read-out:hover { box-shadow: inset 0 1px 0 #fff, 0 24px 48px -20px rgba(23, 23, 15, 0.42), 0 0 0 1px color-mix(in srgb, var(--pick) 40%, transparent); }
.read-mean { font: 400 24px/1.1 var(--dt-serif); letter-spacing: -0.01em; text-wrap: balance; }
.read-ex { margin-top: 12px; color: var(--dt-text-2); }
.read-rule { margin-top: 12px; color: var(--dt-text-3); }
.read-rule b { font-weight: 500; color: var(--dt-text-1); }

.cmp-grid { max-width: var(--dt-max-cards); margin: 0 auto; border-radius: var(--dt-r-card); border: 1px solid rgba(255, 255, 255, 0.7); background: var(--dt-glass-a); box-shadow: inset 0 1px 0 #fff, 0 18px 40px -20px rgba(23, 23, 15, 0.3); overflow: hidden; }
.cmp-head { display: none; }
.cmp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 10px; padding: 12px 14px; border-top: 1px solid var(--dt-line-1); transition: background-color 0.15s ease; }
.cmp-row:first-of-type { border-top: 0; }
.cmp-row:hover { background: rgba(255, 255, 250, 0.7); }
.cmp-q { grid-column: 1 / -1; font: 400 18px/1.15 var(--dt-serif); letter-spacing: 0; margin-bottom: 2px; }
.cmp-cell { display: flex; flex-direction: column; gap: 2px; padding: 0; font: var(--dt-small); font-weight: 400; color: var(--dt-text-2); }
.cmp-cell::before { content: attr(data-who); font: var(--dt-label); color: var(--dt-text-3); }
.cmp-cell--us, .cmp-cell--us::before { color: var(--dt-text-1); }
.cmp-cell--us { font-weight: 600; }
.cmp-cell--us .cmp-val::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; vertical-align: 1px; background: var(--dt-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dt-accent) 20%, transparent); transition: background-color 0.6s ease, box-shadow 0.6s ease; }
.cmp-val { text-align: left; }
.cmp-src { margin-top: 16px; text-align: center; font: var(--dt-label); line-height: 1.5; color: var(--dt-text-3); }
.cmp-src a { color: var(--dt-text-2); transition: color var(--dt-t-color); }
.cmp-src a:hover { color: var(--dt-text-1); }

.dl-sec { position: relative; padding-bottom: var(--dt-section); overflow: clip; }
.dl-box .btn-main { height: 48px; padding: 0 26px; font-size: 16px; }
.dl-glow { position: absolute; left: 50%; bottom: -300px; width: min(900px, 86%); height: 520px; transform: translateX(-50%); pointer-events: none; opacity: 0.55;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--dt-accent) 30%, transparent), transparent 70%); filter: blur(40px); }
html.mo .dl-glow { animation: dl-breathe 7s ease-in-out infinite; }
.dl-box { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.dl-box .sec-h2 { margin-bottom: 32px; }
.dl-meta { margin-top: 14px; font: var(--dt-label); color: var(--dt-text-3); }

.foot-bar { border-top: 1px solid var(--dt-line-1); padding: 28px var(--dt-gutter) 40px; }
.foot-in { max-width: var(--dt-max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font: var(--dt-small); color: var(--dt-text-3); }
.foot-in > span { margin-right: auto; }
.foot-link { color: var(--dt-text-2); text-decoration: none; transition: color var(--dt-t-color); }
.foot-link:hover { color: var(--dt-text-1); }

/* ------------------------------------------------------------------- motion */
@keyframes hero-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes rv-rise { from { opacity: 0; transform: translateY(50px) translateX(10px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes pill-blink { 50% { opacity: 0; } }
@keyframes dl-breathe { 0%, 100% { opacity: 0.45; transform: translateX(-50%) scale(1); } 50% { opacity: 0.7; transform: translateX(-50%) scale(1.08); } }
html.mo .hero-up { animation: hero-up var(--dt-t-hero) ease both; animation-delay: calc(var(--i, 0) * 0.18s); }
/* reveals never rest at opacity 0: an element is plainly there until the moment it enters, then it rises */
html.mo .rv-el.rv-in { animation: rv-rise var(--dt-t-rise) var(--dt-ease-out) both; animation-delay: calc(0.1s + var(--i, 0) * 0.08s); }

/* --------------------------------------------------------------------- wide */
@media (min-width: 720px) {
  .nav-in { height: 76px; padding: 16px 32px; }
  .nav-links { display: flex; gap: 8px; margin-right: 16px; }
  .hero-sec { padding-top: 96px; }
  .hero-gl { height: 760px; }
      .hero-stream { margin-top: 32px; }
  .hero-end { display: block; position: absolute; top: 50%; transform: translateY(-50%); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.7); background: var(--dt-glass-a); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
    font: var(--dt-label); letter-spacing: 1px; text-transform: uppercase; color: var(--dt-text-2); }
  .hero-end--in { left: 0; } .hero-end--out { right: 0; color: color-mix(in srgb, var(--dt-accent) 55%, var(--dt-text-1)); transition: color 0.6s ease; }
  .notice-box { width: 440px; margin-top: 32px; }
  .notice-form .hero-input, .notice-form .btn-main { height: 36px; }
  .pill-body { width: 440px; }
  .hero-try { width: 440px; flex-direction: row; }
  .hero-key { flex: none; height: 36px; }
  .hero-type { flex: 1; }
  .hero-note { max-width: none; }
  .sec-wrap { padding-top: var(--dt-section-wide); }
  .sec-h2 { max-width: 30ch; margin-bottom: 32px; }
  .read-two { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cmp-head { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; padding: 12px 24px; font: var(--dt-small); color: var(--dt-text-2); }
  .cmp-head-us { color: var(--dt-text-1); }
  .cmp-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; align-items: center; padding: 12px 24px; border-top: 1px solid var(--dt-line-1); }
  .cmp-row:first-of-type { border-top: 1px solid var(--dt-line-1); }
  .cmp-q { grid-column: auto; margin: 0; font-size: 20px; }
  .cmp-cell { display: block; padding: 0; font: var(--dt-body); }
  .cmp-cell::before { content: none; }
  .cmp-val { text-align: left; }
  .dl-sec { padding-bottom: var(--dt-section-wide); }
  .read-out { padding: 32px 40px; }
  .read-mean { font-size: 44px; }
  .read-labels { max-width: 818px; }
}


/* Why, how a read is made, real runs, the bench, the Today maths. Mobile first. */
.why-grid, .made-steps, .bench-grid { display: grid; gap: 12px; max-width: var(--dt-max-cards); margin: 0 auto; padding: 0; list-style: none; }
.why-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.why-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; font: 400 44px/0.95 var(--dt-serif); letter-spacing: -0.02em; color: var(--dt-text-1); }
.why-big small { font-size: 0.5em; }
.why-sep { margin-right: 10px; font: var(--dt-small); letter-spacing: 0; color: var(--dt-text-3); }
.why-txt { font: var(--dt-body); font-size: 15px; color: var(--dt-text-1); text-wrap: pretty; }
.why-src, .bench-n { font: var(--dt-label); line-height: 1.5; color: var(--dt-text-3); }
.why-src a, .bench-n a { color: var(--dt-text-2); }
.why-line { margin: 20px auto 0; text-align: center; font: 400 26px/1.15 var(--dt-serif); font-style: italic; color: var(--dt-text-2); text-wrap: balance; }
.why-line b { font-style: normal; font-weight: 400; color: var(--dt-text-1); }

.made-steps { grid-template-columns: 1fr 1fr; }
.made-step:first-child, .made-step:nth-child(4), .made-step--out { grid-column: 1 / -1; }
.made-step { position: relative; padding: 16px 16px 16px 52px; display: flex; flex-direction: column; gap: 6px; }
.made-n { position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--dt-text-1); color: var(--dt-btn-ink); font: var(--dt-small); }
.made-k { font: var(--dt-label); letter-spacing: 1px; text-transform: uppercase; color: var(--dt-text-3); }
.made-v { font: 400 20px/1.25 var(--dt-serif); color: var(--dt-text-1); }
.made-v mark { background: color-mix(in srgb, var(--dt-feel-frustrated) 26%, transparent); color: inherit; border-radius: 4px; padding: 0 2px; }
.made-v--big { font-size: 32px; line-height: 1; } .made-v--big small { margin-left: 8px; font: var(--dt-small); color: var(--dt-text-2); }
.made-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--dt-line-2); background: var(--dt-panel-a); font: var(--dt-small); }
.made-chip--f { border-color: transparent; background: color-mix(in srgb, var(--dt-feel-frustrated) 22%, var(--dt-panel-a)); }
.made-why { font: var(--dt-small); font-weight: 400; line-height: 1.4; color: var(--dt-text-2); }
.made-pre { margin: 4px 0 0; padding: 14px; border-radius: var(--dt-r-panel); background: var(--dt-text-1); color: #EDEDE4; font: 400 11.5px/1.55 var(--dt-font); white-space: pre-wrap; overflow-wrap: anywhere; }

.proof-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: var(--dt-max-cards); margin: 0 auto 14px; }
.proof-pick button { min-height: 30px; padding: 5px 10px; border: 1px solid var(--dt-line-1); border-radius: 999px; background: transparent; color: var(--dt-text-2); font: var(--dt-small); cursor: pointer; text-align: left; }
.proof-pick button[aria-pressed="true"] { background: #FFFFFA; color: var(--dt-text-1); box-shadow: 0 1px 3px rgba(23, 23, 15, 0.12); }
.proof-pair + .proof-pair { margin-top: 32px; }
/* On a phone the picker above already shows the sentence, so the first card does not repeat it. */
@media (max-width: 719px) { .made-pre { max-height: 128px; overflow: auto; } }
@media (max-width: 719px) { #proof-pairs .read-card:not(.read-card--with) .read-bub--you { display: none; } }
.proof-bot { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 96px; overflow: auto; }
.proof-meta { font: var(--dt-label); line-height: 1.5; color: var(--dt-text-3); }
.proof-verdict { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: var(--dt-fill-2); color: var(--dt-text-1); }
.proof-note { max-width: 620px; margin: 16px auto 0; text-align: center; color: var(--dt-text-2); }

.bench-key { display: flex; justify-content: center; gap: 16px; margin-bottom: 12px; font: var(--dt-small); color: var(--dt-text-2); }
.bench-key i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.bench-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.bench-h { font: 400 22px/1.15 var(--dt-serif); color: var(--dt-text-1); }
.bench-svg { width: 100%; height: auto; overflow: visible; }
.bench-svg text { font: 500 12px var(--dt-font); fill: var(--dt-text-2); }
.bench-svg .bench-val { font-size: 13px; fill: var(--dt-text-1); }
.bench-table { width: 100%; border-collapse: collapse; font: var(--dt-small); color: var(--dt-text-2); }
.bench-table th, .bench-table td { padding: 6px 4px; border-top: 1px solid var(--dt-line-1); text-align: right; }
.bench-table th:first-child, .bench-table td:first-child { text-align: left; }
.bench-more { max-width: var(--dt-max-cards); margin: 20px auto 0; }
.bench-more summary { cursor: pointer; font: var(--dt-small); color: var(--dt-text-2); text-align: center; }
.bench-setup { max-width: 620px; margin: 10px auto 0; text-align: center; font: var(--dt-small); color: var(--dt-text-2); }

.today-card { max-width: 620px; margin: 0 auto; padding: 12px 20px 18px; }
.today-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin: 0; }
.today-rows div { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid var(--dt-line-1); }
.today-rows div:nth-child(-n+2) { border-top: 0; }
.today-rows dt { font: var(--dt-label); letter-spacing: 1px; text-transform: uppercase; color: var(--dt-text-3); }
.today-rows dd { margin: 0; font: 400 19px/1.1 var(--dt-serif); color: var(--dt-text-1); }
.today-rows dd small { display: block; font: var(--dt-label); color: var(--dt-text-3); margin-top: 4px; }

@media (min-width: 720px) {
  .why-grid, .bench-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .why-big { font-size: 72px; }
  .why-card { padding: 24px 28px; }
  .why-line { font-size: 28px; }
  .made-steps { grid-template-columns: repeat(4, 1fr); }
  .made-step:first-child, .made-step:nth-child(4) { grid-column: auto; }
  .proof-bot { max-height: 220px; }
  .made-step--out { grid-column: 1 / -1; }
  .today-card { max-width: var(--dt-max-cards); }
  .today-rows { grid-template-columns: repeat(3, 1fr); }
  .today-rows div:nth-child(-n+3) { border-top: 0; }
  .bench-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.bench-sec { padding-top: 28px; }
.bench-card { gap: 8px; padding: 14px 18px; }
.bench-n--once { max-width: var(--dt-max-cards); margin: 10px auto 0; text-align: center; }

/* Reduce Motion: everything lands at its final state. html.mo is never set
   in this mode unless the visitor asks with ?motion=on. */
@media (prefers-reduced-motion: reduce) {
  html:not(.mo) *, html:not(.mo) *::before, html:not(.mo) *::after { animation: none !important; transition: none !important; }
  html:not(.mo) .rv-el, html:not(.mo) .hero-up { opacity: 1 !important; transform: none !important; }
}
