/* Hallmark · shape: Audit Trail · genre: modern-minimal · theme: Console (deal 1/3, seed contextlens-neo-press-button-cad3·db8dd336·2026-11-14·r0) · job: try · draw: manual
 * hero: Stage · nav: edge-aligned, wordmark and links · footer: a mast, wordmark over links · imagery: the product · signature: the card as a reading, the struck date over the new one with who, when and why · console: graphite
 * axes: dark/grotesk-sans/chromatic-amber · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · waive 39b · button.ask 40px · the question chips are app UI inside the product panel, app controls stand 32 to 40px */
/* Hallmark · waive 81 · div[data-slot] empty on index, desktop, glasses · the owner supplies the desktop and headset captures, listed in NUMBERS-TODO.md */
/* Hallmark · waive 28b · video[data-video] hidden in the meeting room · it shows only when a meeting has video, so there is no frame to use as a poster */
/* Hallmark · waive 26b · no :disabled styling · the pages have no control that can be disabled, a press before any turn answers in the card */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the pages are text-led, so each block carries its real artifact: a turn, a card, a record id */
@import url("./tokens.css?v=5");
@import url("./base.css?v=5");

.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__in { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-lg); min-height: 64px; }
.wordmark { font-weight: 500; text-decoration: none; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: var(--space-lg); margin-inline-start: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.nav__links a { text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--color-ink); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.5em; }
.nav__end { margin-inline-start: auto; }
@media (max-width: 40rem) {
  .nav__in { min-height: 0; padding-block: var(--space-xs) 0; }
  .nav__in .btn { min-height: 40px; }
  .nav__links { order: 3; width: 100%; margin: 0; gap: var(--space-lg); overflow-x: auto; }
  .nav__links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
}

.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-rule); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); border-color: var(--color-ink); }

.hero { display: grid; align-content: center; padding-block: var(--space-3xl); }
.hero .turns li { padding-block: var(--space-lg); }
.hero .answer { padding-block: var(--space-xl); }
.hero + .section { padding-top: var(--space-xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
@media (max-width: 60rem) { .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
.hero h1 { font-size: var(--text-display); max-width: 13ch; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

.pagehead { padding-block: var(--space-2xl) var(--space-xl); }
.pagehead h1 { font-size: var(--text-display-s); max-width: 18ch; }
.pagehead .lead { margin-top: var(--space-md); color: var(--color-ink-2); }

.panels { color: var(--color-ink); display: grid; gap: var(--rule-hair); background: var(--color-rule); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; min-width: 0; }
.panels > * { background: var(--color-paper-2); color: var(--color-ink); }
.measured { font-family: var(--font-outlier); font-size: var(--text-sm); font-variant-numeric: tabular-nums slashed-zero; }

.record__head { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: space-between; align-items: center; padding: var(--space-md) var(--space-lg); }
.record__title { font-weight: 500; }
.asks { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.ask { min-height: 40px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 4px; background: transparent; color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.ask:hover { color: var(--color-ink); }
.ask[aria-pressed="true"] { background: var(--color-cool-soft); border-color: var(--color-cool); color: var(--color-ink); }
.ask:active { transform: translateY(1px); }

.turns { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--rule-hair); background: var(--color-rule); }
.turns li { display: grid; grid-template-columns: 3rem 4.5rem minmax(0, 1fr); gap: var(--space-sm); align-items: baseline; padding: var(--space-sm) var(--space-lg); background: var(--color-paper-2); color: var(--color-ink-2); transition: background-color var(--dur-short) var(--ease-out); }
.turns .id { color: var(--color-cool); }
.turns .who { color: var(--color-accent); font-weight: 500; overflow-wrap: anywhere; }
.turns .who--unknown { color: var(--color-muted); font-weight: 400; }
.turns li.is-cited { background: var(--color-paper-3); color: var(--color-ink); }
.turns li.is-cited .id::before { content: "+ "; color: var(--color-ok); }
.turns li.is-late { background: var(--color-paper-3); color: var(--color-muted); }
.turns li.is-late .id { color: var(--color-muted); }
@media (max-width: 40rem) { .turns li { grid-template-columns: 2.5rem 4rem minmax(0, 1fr); padding-inline: var(--space-md); } }

.answer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-lg); padding: var(--space-lg); align-items: end; }
@media (max-width: 40rem) { .answer { grid-template-columns: minmax(0, 1fr); } }
.was { display: block; color: var(--color-bad); text-decoration: line-through; text-decoration-thickness: 1px; }
.reading { display: block; font-family: var(--font-outlier); font-size: clamp(2.25rem, 3vw + 1rem, 3.5rem); line-height: 1; letter-spacing: -0.04em; color: var(--color-ink); overflow-wrap: anywhere; }
.reading--quiet { font-size: clamp(1.5rem, 2vw + 0.75rem, 2.25rem); color: var(--color-muted); }
.sig { display: grid; gap: var(--space-xs); margin: 0; font-size: var(--text-sm); }
.sig div { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: var(--space-sm); }
.sig dt { color: var(--color-muted); }
.sig dd { margin: 0; color: var(--color-ink); }
.sig .person { color: var(--color-accent); }
.sig .instrument { color: var(--color-cool); }

.section { padding-block: var(--section-gap-s); }
.section--band { background: var(--color-paper-3); color: var(--color-ink); }
.head { display: grid; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.head p { color: var(--color-muted); }

.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { list-style: none; display: grid; align-content: start; gap: var(--space-sm); padding: var(--space-lg); }
.steps .n { font-family: var(--font-outlier); font-size: var(--text-xl); color: var(--color-accent); line-height: 1; }
.steps p { color: var(--color-ink-2); font-size: var(--text-sm); }
.steps .detail { margin-top: var(--space-xs); color: var(--color-cool); overflow-wrap: anywhere; }
@media (max-width: 60rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .steps { grid-template-columns: minmax(0, 1fr); } }
ol.panels { margin: 0; padding: 0; }

.diff { overflow-x: auto; }
.diff table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--text-sm); }
.diff th, .diff td { text-align: left; padding: var(--space-sm) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); vertical-align: baseline; }
.diff thead th { border-top: 0; color: var(--color-muted); font-weight: 500; }
.diff tbody th { font-weight: 400; color: var(--color-ink-2); }
.diff td { font-family: var(--font-outlier); font-variant-numeric: tabular-nums slashed-zero; color: var(--color-ink); }
.diff .plus { background: var(--color-ok-soft); }
.diff .minus { background: var(--color-bad-soft); }
.chip { display: inline-block; padding: 0 var(--space-xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 4px; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; color: var(--color-ink-2); white-space: nowrap; }
.chip--cool { background: var(--color-cool-soft); }
.chip--person { background: var(--color-accent-soft); }
.chip--ok { background: var(--color-ok-soft); border-color: var(--color-ok); }
.chip--bad { background: var(--color-bad-soft); border-color: var(--color-bad); }
.note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.more { margin-top: var(--space-lg); }
.more a { color: var(--color-ink); text-decoration-color: var(--color-accent); }

.trail { list-style: none; margin: 0; padding: 0 0 0 var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule-2); display: grid; gap: var(--space-lg); max-width: 60rem; }
.trail li { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: var(--space-md); align-items: baseline; }
.trail .id { color: var(--color-cool); }
.trail p { color: var(--color-ink-2); }
@media (max-width: 40rem) { .trail li { grid-template-columns: 2.5rem minmax(0, 1fr); } .trail .chip { grid-column: 2; justify-self: start; } }

.stack { margin: 0; display: grid; border-top: var(--rule-hair) solid var(--color-rule); }
.stack div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--space-lg); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.stack dt { font-weight: 500; }
.stack dd { margin: 0; color: var(--color-ink-2); }
.stack .path { color: var(--color-cool); overflow-wrap: anywhere; }
.stack .chip { margin-inline-start: var(--space-xs); }
@media (max-width: 40rem) { .stack div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); } }

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.contact h2 { font-size: var(--text-section); }
.contact .who-line { margin-top: var(--space-md); color: var(--color-ink-2); }
.links { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.links li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.links a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); min-height: 56px; align-items: center; padding-block: var(--space-sm); text-decoration: none; font-size: var(--text-lg); transition: color var(--dur-short) var(--ease-out); }
.links a:hover { color: var(--color-accent); }
.links .measured { color: var(--color-muted); overflow-wrap: anywhere; }
@media (max-width: 60rem) { .contact { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

.footer { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-2xl); }
.footer__grid { display: grid; gap: var(--space-lg); }
.footer__mark { font-size: var(--text-section); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1; }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
.footer__links a { text-decoration-color: var(--color-rule-2); transition: color var(--dur-short) var(--ease-out); overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--color-accent); }

/* tour */
.story { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; padding-block: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.step__text { display: grid; gap: var(--space-sm); }
.step__text .n { font-family: var(--font-outlier); color: var(--color-accent); font-size: var(--text-lg); }
.step__text h2 { font-size: var(--text-section); max-width: 14ch; }
.step__text p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .step { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-xl); } }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--rule-hair); background: var(--color-rule); }
.rows > li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding: var(--space-sm) var(--space-lg); background: var(--color-paper-2); }
.rows .what { color: var(--color-ink); }
.rows .meta { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-2xs); }
.rows .meta .measured { color: var(--color-cool); }
.rows .tag { align-self: start; }
.panel-cap { padding: var(--space-md) var(--space-lg); font-weight: 500; }
.panel-cap span { color: var(--color-muted); font-weight: 400; }
.rank { color: var(--color-accent); font-family: var(--font-outlier); font-size: var(--text-sm); }
.is-dropped .what { color: var(--color-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.checks { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xs); }
.panel-note { padding: var(--space-md) var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }
@media (max-width: 40rem) { .rows > li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-inline: var(--space-md); } .step__text h2 { max-width: none; } }
.twin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.twin .panels { align-content: start; }
@media (max-width: 60rem) { .twin { grid-template-columns: minmax(0, 1fr); } }
.built { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.built p + p { margin-top: var(--space-sm); }
@media (max-width: 60rem) { .built { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } }
.cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

/* specs */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-lg); }
.node { position: relative; display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); background: var(--color-paper-2); min-width: 0; }
.node h3 { font-size: var(--text-lg); line-height: 1.2; }
.node p { font-size: var(--text-sm); color: var(--color-ink-2); }
.node ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.node li::before { content: "+ "; color: var(--color-cool); font-family: var(--font-outlier); }
.node--guard { border-color: var(--color-accent); }
.node--wide { text-align: left; }
.flow > li:not(:last-child)::after { content: ""; position: absolute; right: calc(-1 * var(--space-lg)); top: var(--space-lg); width: var(--space-lg); height: var(--space-lg); background: var(--color-rule-2); clip-path: polygon(25% 20%, 75% 50%, 25% 80%); }
@media (max-width: 75rem) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-lg); } .flow > li::after { display: none; } }
@media (max-width: 40rem) { .flow { grid-template-columns: minmax(0, 1fr); } .flow > li:not(:last-child)::after { display: block; right: auto; left: calc(50% - var(--space-md)); top: 100%; clip-path: polygon(20% 25%, 80% 25%, 50% 75%); } }
.press { display: grid; gap: 0; }
.press .join { height: var(--space-lg); width: 0; margin-inline: auto; border-left: var(--rule-hair) solid var(--color-rule-2); }
.agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
@media (max-width: 60rem) { .agents { grid-template-columns: minmax(0, 1fr); } }
.exps { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.exps > li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.exp summary, .lim summary { list-style: none; cursor: pointer; }
.exp summary::-webkit-details-marker, .lim summary::-webkit-details-marker { display: none; }
.exp summary { display: grid; grid-template-columns: 3.5rem minmax(0, 4fr) minmax(0, 5fr) auto; gap: var(--space-md); align-items: baseline; padding-block: var(--space-lg); }
.exp summary::after, .lim summary::after { content: "Show"; color: var(--color-muted); font-size: var(--text-sm); }
.exp[open] summary::after, .lim[open] summary::after { content: "Hide"; }
.exp summary:hover .exp__title, .lim summary:hover strong { color: var(--color-accent); }
.exp__id { font-family: var(--font-outlier); color: var(--color-accent); font-size: var(--text-lg); }
.exp__title { font-size: var(--text-title); font-weight: 500; transition: color var(--dur-short) var(--ease-out); }
.exp__verdict { color: var(--color-ink-2); }
.exp__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); padding: 0 0 var(--space-xl) calc(3.5rem + var(--space-md)); }
.exp .rec { color: var(--color-muted); overflow-wrap: anywhere; font-size: var(--text-xs); }
.exp dl { margin: 0; display: grid; gap: var(--space-sm); }
.exp dl div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-md); }
.exp dt { color: var(--color-muted); font-size: var(--text-sm); padding-top: 0.15em; }
.exp dd { margin: 0; color: var(--color-ink-2); max-width: 65ch; }
.exp dd.bad { color: var(--color-ink); }
@media (max-width: 60rem) { .exp summary { grid-template-columns: 3rem minmax(0, 1fr) auto; } .exp__verdict { grid-column: 2 / 3; grid-row: 2; } .exp summary::after { grid-row: 1; grid-column: 3; } .exp__body { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); padding-left: 0; } }
@media (max-width: 40rem) { .exp dl div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); } }
.limits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-2xl); align-items: start; border-top: var(--rule-hair) solid var(--color-rule); }
@media (max-width: 60rem) { .limits { grid-template-columns: minmax(0, 1fr); } }
.limits li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.lim summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md); align-items: baseline; padding-block: var(--space-md); }
.gist { color: var(--color-ink-2); }
@media (max-width: 40rem) { .lim summary { grid-template-columns: minmax(0, 1fr) auto; } .gist { grid-column: 1; grid-row: 2; } .lim summary::after { grid-column: 2; grid-row: 1; } }
.lim p { padding-bottom: var(--space-md); }
.limits strong { font-weight: 500; transition: color var(--dur-short) var(--ease-out); }
.limits p { color: var(--color-ink-2); }

/* live */
.demo__bar { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: space-between; align-items: center; padding: var(--space-md) var(--space-lg); }
.demo__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--rule-hair); background: var(--color-rule); }
.demo__body > * { background: var(--color-paper-2); min-width: 0; }
.demo__col { display: grid; align-content: start; }
.demo__cap { padding: var(--space-md) var(--space-lg) var(--space-sm); font-weight: 500; }
.demo__cap span { color: var(--color-muted); font-weight: 400; }
.demo .turns { min-height: 18rem; align-content: start; }
.demo .turns li { animation: turn-in var(--dur-long) var(--ease-out); }
@keyframes turn-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.demo [data-asks] { padding: 0 var(--space-lg) var(--space-md); }
.card { display: grid; gap: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.card__top { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; padding: var(--space-md) var(--space-lg) 0; }
.card .answer { align-items: end; }
.finds { list-style: none; margin: 0; padding: 0 var(--space-lg) var(--space-md); display: grid; gap: var(--space-sm); }
.finds li { display: grid; gap: var(--space-2xs); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.finds .quote { color: var(--color-muted); }
.finds .quote b { color: var(--color-cool); font-weight: 500; }
.card__more { padding: 0 var(--space-lg) var(--space-lg); display: grid; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.card__more b { font-weight: 500; color: var(--color-ink); }
.empty { padding: var(--space-lg); color: var(--color-muted); }
@media (max-width: 60rem) { .demo__body { grid-template-columns: minmax(0, 1fr); } .demo .turns { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .demo .turns li { animation: none; } }

.rows .tag { justify-self: start; }
.hero--tall { padding-block: var(--space-3xl) var(--space-4xl); }
.hero--tall + .section { padding-top: 0; }
.story > .step:first-child { border-top: 0; padding-top: 0; }
.step { padding-block: var(--space-3xl); }
@media (max-width: 60rem) { .hero--tall { padding-block: var(--space-2xl); } .step { padding-block: var(--space-xl); } }
.answer--big { padding-block: var(--space-3xl); }
.flow-mini { margin: 0; padding: 0; }
.flow-mini li { list-style: none; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--space-sm); align-items: baseline; padding: var(--space-xl) var(--space-lg); color: var(--color-ink-2); }
.flow-mini .measured { color: var(--color-accent); }
.exps + .diff { margin-top: var(--space-xl); }
.js .exp:not([open]) .exp__body, .js .lim:not([open]) p { display: none; }
.notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.notes p { color: var(--color-ink-2); }
.notes a { color: var(--color-ink); text-decoration-color: var(--color-accent); }
@media (max-width: 60rem) { .notes { grid-template-columns: minmax(0, 1fr); } }
.ct { font-size: var(--text-title); font-weight: 500; line-height: 1.2; }
@media (max-width: 60rem) { .hero { padding-block: var(--space-xl); } }

/* live: local model mode, shown only when tools/live_demo.py answers */
.hero__grid.is-live { grid-template-columns: minmax(0, 1fr); }
.hero__grid.is-live .lead { max-width: 60ch; }
.livebadge { display: inline-block; margin-bottom: var(--space-sm); }
.turns--edit li { grid-template-columns: 3rem 7rem minmax(0, 1fr) auto; }
.turns--edit li.turns__add { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 40rem) { .turns--edit li { grid-template-columns: 2.5rem minmax(0, 1fr) auto; } .turns--edit li .field--who { grid-column: 2 / 4; } .turns--edit li .field--text { grid-column: 1 / 3; } }
.field { box-sizing: border-box; width: 100%; min-width: 0; min-height: 40px; padding: 0 var(--space-xs); border: var(--rule-hair) solid var(--color-muted); border-radius: 4px; background: var(--color-paper-3); color: var(--color-ink); font: inherit; font-size: var(--text-sm); }
.field::placeholder { color: var(--color-muted); }
.livebar { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; padding: 0 var(--space-lg) var(--space-md); }
.livebar .field { flex: 1 1 16rem; width: auto; }
.livecols { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: var(--rule-hair); background: var(--color-rule); }
.livecols > * { background: var(--color-paper-2); min-width: 0; }
@media (max-width: 60rem) { .livecols { grid-template-columns: minmax(0, 1fr); } }
.livecols .card { border-top: 0; }

/* product pages: home, desktop, glasses, diagrams, results slots */
.pagehead--product { padding-block: var(--space-3xl) var(--space-2xl); }
.pagehead--product .actions { margin-top: var(--space-xl); }
.pagehead--product h1 { max-width: 16ch; }
.pagehead--product .lead { max-width: 40ch; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
@media (max-width: 60rem) { .two { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 60rem) { .split, .split--flip { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
.split h2 { margin-bottom: var(--space-md); }
.shot { margin: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-3); }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: var(--space-sm) var(--space-md); font-size: var(--text-sm); color: var(--color-muted); border-top: var(--rule-hair) solid var(--color-rule); }
.points { margin: var(--space-lg) 0 0; display: grid; border-top: var(--rule-hair) solid var(--color-rule); }
.points > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.points dt { font-weight: 500; }
.points dd { margin: 0; color: var(--color-ink-2); }
@media (max-width: 40rem) { .points > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); } }
.slotbox { aspect-ratio: 16 / 10; display: grid; place-content: center; gap: var(--space-xs); padding: var(--space-lg); border: var(--rule-hair) dashed var(--color-rule-2); border-radius: var(--radius-card); text-align: center; color: var(--color-muted); font-size: var(--text-sm); }
.slotbox strong { color: var(--color-ink-2); font-weight: 500; font-size: var(--text-md); }
.way { display: grid; gap: var(--space-md); align-content: start; padding: var(--space-lg); }
.way h3 { font-size: var(--text-section); max-width: none; }
.way p { color: var(--color-ink-2); }
.way .slotbox, .way .shot { margin-bottom: var(--space-xs); }
.way .more { margin-top: 0; }
.strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip li { list-style: none; display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-lg); }
.strip h3 { font-size: var(--text-lg); line-height: 1.2; }
.strip p { color: var(--color-ink-2); font-size: var(--text-sm); }
.strip .measured { color: var(--color-cool); overflow-wrap: anywhere; }
@media (max-width: 75rem) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .strip { grid-template-columns: minmax(0, 1fr); } }
ol.strip, ul.strip { margin: 0; padding: 0; }
.results { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.results > div { display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-xl) var(--space-lg); }
.results dt { color: var(--color-ink-2); }
.results dd { margin: 0; }
.results .big { display: block; font-family: var(--font-outlier); font-size: var(--text-display-s); line-height: 1; letter-spacing: -0.04em; color: var(--color-ink); font-variant-numeric: tabular-nums slashed-zero; }
.results .vs { color: var(--color-muted); font-size: var(--text-sm); }
.results .vs [data-num] { color: var(--color-ink-2); font-family: var(--font-outlier); }
@media (max-width: 60rem) { .results { grid-template-columns: minmax(0, 1fr); } .results > div { padding-block: var(--space-lg); } }
.runs { margin-top: var(--space-xl); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.runs > div { display: grid; gap: var(--space-2xs); padding: var(--space-lg); }
.runs dd { margin: 0; }
.runs .big { font-family: var(--font-outlier); font-size: var(--text-2xl); line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums slashed-zero; }
.runs dt { color: var(--color-ink-2); }
.runs .vs { font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .runs { grid-template-columns: minmax(0, 1fr); } }
.diagram { overflow-x: auto; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-3); padding: var(--space-lg); }
.dg { width: 100%; min-width: 720px; height: auto; }
.dg-box { fill: var(--color-paper-2); stroke: var(--color-rule-2); stroke-width: 1; }
.dg-guard { stroke: var(--color-accent); stroke-width: 1.5; }
.dg-t { fill: var(--color-ink); font-family: var(--font-display); font-size: 16px; font-weight: 500; }
.dg-s { fill: var(--color-ink-2); font-family: var(--font-body); font-size: 13px; }
.dg-l { fill: var(--color-cool); font-family: var(--font-outlier); font-size: 12px; }
.dg-line { fill: none; stroke: var(--color-rule-2); stroke-width: 1.5; }
.dg-head { fill: none; stroke: var(--color-rule-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.diagram + .note, .diagram + p { margin-top: var(--space-md); }
.code { margin: 0; padding: var(--space-md) var(--space-lg); background: var(--color-paper-3); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); overflow-x: auto; font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-ink); line-height: 1.6; }
.install { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-lg); counter-reset: s; }
.install > li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--space-md); align-items: start; counter-increment: s; }
.install > li::before { content: counter(s); font-family: var(--font-outlier); font-size: var(--text-xl); color: var(--color-accent); line-height: 1.2; }
.install h3 { font-size: var(--text-lg); line-height: 1.2; margin-bottom: var(--space-xs); }
.install p { color: var(--color-ink-2); margin-bottom: var(--space-xs); }
.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts li { list-style: none; display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-lg); }
.facts p { color: var(--color-ink-2); }
ul.facts { margin: 0; padding: 0; }
@media (max-width: 40rem) { .facts { grid-template-columns: minmax(0, 1fr); } }
.status { display: inline-block; margin-top: var(--space-md); }
.tilt { margin-top: var(--space-md); }
.diff td[data-num], .diff td.slot { color: var(--color-ink); }
.slotbox > img { filter: none; mix-blend-mode: normal; }
.slotbox:has(> img) { border: 0; background: none; outline: 0; aspect-ratio: auto; }
.slotbox:has(> img)::before { display: none; }
[data-num]:empty::before { content: "\2014"; color: var(--color-muted); }
.strip--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 60rem) { .strip--three { grid-template-columns: minmax(0, 1fr); } }
.strip .more { margin-top: var(--space-xs); }
.hero .status { margin-top: var(--space-lg); }

.hero--screen { min-height: calc(100svh - 64px); }
.way { background: var(--color-paper-2); }
.way > * { background: transparent; }
.hero--screen { grid-template-columns: minmax(0, 1fr); }
.hero--screen > .container { min-width: 0; }
.hero .slotbox { aspect-ratio: 4 / 3; }

/* download page */
.hero--dl { padding-block: var(--space-3xl) var(--space-2xl); }
.hero--dl h1 { max-width: none; }
.dl-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-xl); }
.dl-card { display: grid; gap: var(--space-sm); align-content: start; justify-items: start; padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); text-decoration: none; transition: border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.dl-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.dl-card__kicker, .dl-kicker { color: var(--color-accent); font-family: var(--font-outlier); font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; }
.dl-card__title { font-size: var(--text-section); font-weight: 500; line-height: 1.05; letter-spacing: var(--tracking-display); }
.dl-card__body { color: var(--color-ink-2); font-size: var(--text-lead); margin-bottom: var(--space-sm); }
.dl-note { margin-top: var(--space-lg); color: var(--color-muted); }
.dl-split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-2xl); align-items: start; }
.dl-split h2 { margin-block: var(--space-xs) var(--space-sm); }
.dl-sub { color: var(--color-ink-2); margin-bottom: var(--space-xl); max-width: 52ch; }
.dl-side { display: grid; gap: var(--space-md); }
.dl-side h3 { font-size: var(--text-lg); }
.dl-side .shot { margin: 0; }
.dl-side .shot img { width: 100%; height: auto; border-radius: var(--radius-card); border: var(--rule-hair) solid var(--color-rule); }
@media (max-width: 60rem) { .dl-pick, .dl-split { grid-template-columns: minmax(0, 1fr); } .dl-split { gap: var(--space-xl); } }

/* little faces next to names */
.face-in { display: inline-flex; gap: var(--space-xs); align-items: center; }
.face-in .av { width: 22px; height: 22px; flex: none; }
.slotbox > img, .way .slotbox > img { width: 100%; height: auto; border-radius: var(--radius-card); }
.hero .turns li { grid-template-columns: 3rem 6.5rem minmax(0, 1fr); }
@media (max-width: 40rem) { .hero .turns li { grid-template-columns: 2.5rem 5.5rem minmax(0, 1fr); } }
.slotbox:has(> img) { display: block; padding: 0; }
.slotbox:has(> img) > img { position: static; inset: auto; }

/* ---- clean product pages (home, desktop, glasses) ---- */
.kicker { color: var(--color-accent); font-family: var(--font-outlier); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-md); }
.hero__fine { margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }
.hero--home { padding-block: var(--space-3xl) var(--space-2xl); }
.hero--home h1 { font-size: clamp(2.5rem, 4.2vw + 0.75rem, 4.5rem); max-width: 12ch; }
.hero--home .lead { max-width: 40ch; }
@media (min-width: 60.01rem) { .hero--home .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.hero__shot { margin: 0; border-radius: 14px; overflow: hidden; border: var(--rule-hair) solid var(--color-rule); box-shadow: var(--shadow-float); }
.hero__shot img { display: block; width: 100%; height: auto; }
.hero--stack { padding-block: var(--space-3xl) var(--space-xl); }
.hero--stack h1 { font-size: var(--text-display); max-width: 16ch; }
.hero--stack .lead { max-width: 52ch; }
.shot-wide { margin: var(--space-2xl) 0 0; border-radius: 14px; overflow: hidden; border: var(--rule-hair) solid var(--color-rule); box-shadow: var(--shadow-float); }
.shot-wide img { display: block; width: 100%; height: auto; }
.lead kbd, .howto kbd { font-size: 0.75em; padding: 1px 6px; vertical-align: 0.1em; }
.section--tight { padding-block: var(--space-2xl); }
.h-section { font-size: var(--text-title); margin-bottom: var(--space-lg); color: var(--color-ink-2); font-weight: 500; }
.howto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.howto li { display: flex; gap: var(--space-md); align-items: start; }
.howto__n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-outlier); font-weight: 500; }
.howto h3 { font-size: var(--text-lg); line-height: 1.25; margin-bottom: var(--space-2xs); }
.howto p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .howto { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } }
.sub { color: var(--color-ink-2); max-width: 46ch; }
.split--media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--media .shot img, .split .shot img { display: block; }
@media (max-width: 60rem) { .split--media { grid-template-columns: minmax(0, 1fr); } }
.endcta { display: grid; justify-items: center; text-align: center; gap: var(--space-sm); }
.endcta h2 { font-size: var(--text-section); }
.endcta p { color: var(--color-ink-2); }
.endcta .cta { justify-content: center; margin-top: var(--space-md); }
.where { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.where li { display: grid; gap: var(--space-xs); align-content: start; justify-items: start; padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.where h3 { font-size: var(--text-lg); margin-top: var(--space-2xs); }
.where p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .where { grid-template-columns: minmax(0, 1fr); } }

/* the sunglasses on the glasses page */
.glasses-art { display: grid; place-items: center; }
.specs-art { width: 100%; max-width: 640px; height: auto; overflow: visible; }
.ga-lens-top { stop-color: var(--color-lens-top); }
.ga-lens-bottom { stop-color: var(--color-lens-bottom); }
.ga-lens { fill: url(#ga-lens); stroke: var(--color-frame); stroke-width: 10; stroke-linejoin: round; }
.ga-frame, .ga-bridge, .ga-temple { fill: none; stroke: var(--color-frame); stroke-width: 12; stroke-linecap: round; }
.ga-shine { fill: var(--color-ink); opacity: 0.06; }
.ga-halo { fill: var(--color-accent); opacity: 0.35; }
.ga-card { fill: var(--color-scrim); stroke: var(--color-accent); stroke-width: 1; stroke-opacity: 0.6; }
.ga-bar { fill: var(--color-accent); }
.ga-ok { fill: var(--color-ok); font: 500 11px var(--font-outlier); letter-spacing: 0.08em; }
.ga-main { fill: var(--color-ink); font: 500 14.5px var(--font-display); }
.ga-sub { fill: var(--color-muted); font: 400 13px var(--font-display); }
@media (prefers-reduced-motion: no-preference) { .ga-halo { animation: ga-pulse 3.2s var(--ease-in-out) infinite; } }
@keyframes ga-pulse { 50% { opacity: 0.15; } }

/* theme picker (preview tool) */
.themes { position: fixed; right: var(--space-md); bottom: var(--space-md); z-index: var(--z-toast); display: flex; gap: var(--space-2xs); align-items: center; padding: var(--space-2xs) var(--space-xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 999px; background: var(--color-paper-2); box-shadow: var(--shadow-pop); font-size: var(--text-xs); color: var(--color-muted); }
.themes button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.themes button[aria-pressed="true"] { border-color: var(--color-ink); }
.themes .t-night { background: linear-gradient(135deg, oklch(17% 0.008 250) 50%, oklch(82% 0.15 80) 50%); }
.themes .t-paper { background: linear-gradient(135deg, oklch(97.5% 0.008 85) 50%, oklch(62% 0.17 55) 50%); }
.themes .t-ocean { background: linear-gradient(135deg, oklch(20% 0.035 240) 50%, oklch(80% 0.13 185) 50%); }
.themes .t-dusk { background: linear-gradient(135deg, oklch(18% 0.03 300) 50%, oklch(76% 0.15 350) 50%); }
kbd { display: inline-block; padding: 0 6px; border: var(--rule-hair) solid var(--color-rule-2); border-bottom-width: 2px; border-radius: 4px; background: var(--color-paper-2); color: var(--color-ink); font-family: var(--font-outlier); font-size: 0.8em; line-height: 1.5; }
[data-card] .turns li { grid-template-columns: 2.5rem 6.5rem minmax(0, 1fr); }
@media (max-width: 40rem) { .themes { right: var(--space-xs); bottom: var(--space-xs); } .themes button { width: 22px; height: 22px; } }

/* the glasses mark next to the name */
.wordmark { display: inline-flex; gap: var(--space-xs); align-items: center; }
.wordmark__mark { width: 36px; height: 36px; flex: none; }
.wm-line { fill: none; stroke: var(--color-ink); stroke-width: 4.5; stroke-linecap: round; }
.wm-acc { fill: var(--color-accent); }
.wm-dim { fill: var(--color-ink); opacity: 0.55; }
