/* Hallmark · shape: Workbench · genre: atmospheric · theme: Lumen (deal 1/3, seed 8dc6139e) · lumen: night · job: try · draw: ad85b6
 * hero: Corridor · nav: masthead · footer: mast · imagery: product sample in demo and moments, app icon in close · signature: the sentence typed into the app you were in, with network: none beneath it
 * axes: dark/roman-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: P, a dictation page could argue speed; argued place instead, the path your voice takes, drawn as one hop */
/* Hallmark · waive 38iii · the rose verb speak, once, in the hero head only · Lumen names the verb as its signature */
/* Hallmark · waive 84 · the app has no window, only a menu bar icon and text pasted into other apps · the built samples follow the app’s own pill and draft until a screen recording of dictation fills the slots */
/* Hallmark · waive 47c · the blueprint grid sits only inside the path diagram well · Lumen's texture, under the diagram of where audio travels */
/* Hallmark · hero-review: fix · 5 findings · 5 resolved */
/* Hallmark · finish-review: subagent · 7 findings · 6 resolved 1 open (DMG host); source section removed at owner request */
@import url("./tokens.css");
@import url("./base.css");

body { font-variant-numeric: tabular-nums; }
h1, h2, h3, nav, label, th, figcaption, .btn, .wordmark, .mast__link, .tabs button, .foot__mark { text-transform: lowercase; }
h2 { font-size: var(--text-display-s); line-height: 0.98; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }

/* masthead */
/* announcement bar */
.notice { margin: 0; background: var(--color-paper-2); border-bottom: var(--rule-hair) solid var(--color-rule); text-align: center; }
.notice a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; padding-inline: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; }
.notice a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.notice a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }

.mast { border-bottom: var(--rule-hair) solid var(--color-rule); }
.mast__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: 72px; }
.wordmark { font: 400 var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }
.mast__link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.mast__link--end { justify-self: end; }
.mast__link:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.wordmark:focus-visible, .mast__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 2px; }

/* hero: one centred column, the signature at its foot */
.hero { display: grid; min-height: calc(100dvh - 118px); } /* under the 45px notice and the 73px masthead */
.hero__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: var(--space-xl) var(--space-2xl); }
.hero h1 { max-width: none; font-size: clamp(3rem, 5vw + 1rem, 6rem); line-height: 0.95; }
.hero .lead { margin-top: var(--space-lg); max-width: 44ch; color: var(--color-ink-2); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-lg); }
.hero__terms { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

.verb { display: inline-block; color: var(--color-accent-2); }
.verb::after { content: ""; display: block; height: var(--rule-hair); background: currentColor; transform-origin: left; animation: draw var(--dur-long) var(--ease-out) both; }
@keyframes draw { from { transform: scaleX(0); } }

.sig { width: 100%; max-width: 1080px; margin: var(--space-xl) 0 0; padding: var(--space-lg) var(--space-xl); text-align: left; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.sig__text { max-width: 60ch; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: var(--space-3xs); vertical-align: text-bottom; background: var(--color-accent); }
.sig__status { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-md); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.readout { font: 400 var(--text-xs)/1.5 var(--font-outlier); color: var(--color-ink-2); }
.readout--live { color: var(--color-live); }

/* sections */
.moments, .spec { padding-block: var(--section-gap-s) 0; }
.path { padding-block: var(--section-gap) 0; }
.head-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: last baseline; margin-bottom: var(--space-2xl); }
.head-split .lead { justify-self: end; max-width: 40ch; color: var(--color-ink-2); }

/* switcher */
.tabs { display: inline-flex; gap: var(--space-2xs); padding: var(--space-2xs); margin-bottom: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); }
.tabs button { min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tabs button:hover { color: var(--color-ink); background: var(--color-paper-2); }
.tabs button[aria-selected="true"] { background: var(--color-paper-3); color: var(--color-ink); }
.tabs button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
html:not(.js) .tabs { display: none; }
html:not(.js) .panel + .panel { margin-top: var(--space-xl); }
.stage { display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: var(--space-xl); min-height: 440px; padding: var(--space-xl) var(--space-xl) var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.doc { display: grid; align-content: start; gap: var(--space-sm); width: 100%; max-width: 720px; padding: var(--space-xl); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); font-size: var(--text-lead); color: var(--color-muted); }
.doc__meta { padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.doc mark { background: color-mix(in oklab, var(--color-accent) 18%, transparent); color: var(--color-ink); border-radius: 2px; }
.caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.pill { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); width: 220px; height: 80px; background: var(--color-accent-ink); border-radius: var(--radius-pill); box-shadow: var(--shadow-card); }
.pill i { width: 7px; height: calc(10px + 44px * var(--h)); border-radius: var(--radius-pill); background: var(--color-accent); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--color-rule-2); border-top-color: var(--color-ink); border-radius: 50%; }

/* figures */
.fast { padding-block: var(--section-gap) 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.stats li { display: grid; align-content: start; gap: var(--space-xs); padding-inline: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats b { font: 400 var(--text-display)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.stats .unit { margin-left: var(--space-xs); font: 400 var(--text-sm)/1 var(--font-outlier); color: var(--color-accent); }
.stats .what { color: var(--color-ink-2); }
.stats .vs { font-size: var(--text-sm); color: var(--color-muted); }
.fast__source { margin-top: var(--space-2xl); }
.fast__source a { color: var(--color-ink-2); text-decoration-color: var(--color-accent); }
.fast__source a:hover { color: var(--color-ink); }
.fast__source a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* path diagram */
.path h2 { margin-bottom: var(--space-2xl); }
.diagram { display: grid; gap: var(--space-2xl); margin: 0; padding: var(--space-2xl) var(--space-xl) var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.blueprint { background-image: linear-gradient(var(--rule-blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--rule-blueprint) 1px, transparent 1px); background-size: 48px 48px; }
.route { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: var(--space-lg); }
.route__name { font: 400 var(--text-xl)/1 var(--font-display); color: var(--color-muted); }
.route--ours .route__name { color: var(--color-ink); }
.route__steps { display: flex; align-items: center; }
.node { flex-shrink: 0; padding: var(--space-sm) var(--space-md); font: 400 var(--text-xs)/1.3 var(--font-outlier); color: var(--color-muted); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); }
.route--ours .node { color: var(--color-ink); border-color: var(--color-accent); }
.link { flex: 1; min-width: var(--space-lg); height: var(--rule-hair); background: var(--color-rule-2); }
.link--long { display: flex; align-items: center; justify-content: center; height: auto; background: none; font: 400 var(--text-xs)/1 var(--font-outlier); color: var(--color-accent); }
.link--long::before, .link--long::after { content: ""; flex: 1; height: var(--rule-hair); background: var(--color-accent); }
.link--long::before { margin-right: var(--space-sm); }
.link--long::after { margin-left: var(--space-sm); }
.diagram figcaption { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-ink-2); text-transform: none; }

/* spec table */
.spec__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.spec table { width: 100%; border-collapse: collapse; }
.spec tr { border-top: var(--rule-hair) solid var(--color-rule); }
.spec tr:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.spec th, .spec td { padding: var(--space-lg) 0; text-align: left; vertical-align: baseline; }
.spec th { width: 32%; padding-right: var(--space-lg); font: 400 var(--text-xl)/1.1 var(--font-display); color: var(--color-ink); white-space: nowrap; }
.spec td { color: var(--color-ink-2); }


/* close band */
.close { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.close__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xl); }
.close__head { display: flex; align-items: center; gap: var(--space-lg); min-width: 0; }
.close__icon { flex-shrink: 0; width: 96px; height: 96px; }
.close__act { display: grid; justify-items: end; gap: var(--space-sm); text-align: right; }
.close h2 { font-size: var(--text-display); }
.close__note { font-size: var(--text-sm); color: var(--color-muted); }

/* footer mast */
.foot { padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__mark { font: 400 clamp(4rem, 12vw, 11rem)/0.9 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin: var(--space-xl) 0 0; padding: 0; list-style: none; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); text-decoration: none; }
.foot__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.foot__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__author { margin-top: var(--space-xl); color: var(--color-ink-2); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); }
.btn--secondary { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.btn--secondary:hover { background: var(--color-paper-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .verb::after { animation: none; }
  .btn, .tabs button { transition: background-color var(--dur-short) linear; }
  .btn:active { transform: none; }
}
@media (max-width: 60rem) {
  .head-split, .spec__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats li { padding: var(--space-lg) 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .stats li:first-child { padding-top: 0; border-top: 0; }
  .close__act { justify-items: start; text-align: left; }
  .doc { padding: var(--space-lg); font-size: var(--text-md); }
  .head-split .lead { justify-self: start; }
  .route { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .route__steps { flex-direction: column; align-items: flex-start; }
  .link { flex: none; width: var(--rule-hair); min-width: 0; height: var(--space-lg); margin-left: var(--space-lg); }
  .link--long { flex-direction: column; width: auto; height: auto; margin-left: var(--space-lg); padding-left: 0; align-items: flex-start; }
  .link--long::before, .link--long::after { flex: none; width: var(--rule-hair); height: var(--space-lg); margin: var(--space-xs) 0; }
  .stage { min-height: 0; padding: var(--space-md); }
}
@media (max-width: 40rem) {
  .notice__more { display: none; }
  .wordmark { font-size: var(--text-xl); }
  .actions { flex-direction: column; align-self: stretch; }
  .sig { padding: var(--space-lg); }
  .tabs { display: flex; }
  .tabs button { flex: 1; padding: 0 var(--space-sm); }
  .spec th { width: auto; white-space: normal; }
  .spec tr { display: grid; }
  .spec th { padding-bottom: 0; }
  .spec td { padding-top: var(--space-xs); }
}
