/* Hallmark · shape: Bento Grid · genre: modern-minimal · theme: Console (deal 2/3, seed tensorchain-chain-custody-digital-c4f5·7aa3992f·2026-11-24·r0) · job: sign up · draw: a02a5d
 * hero: Counter · nav: edge-aligned, the wordmark and four links beside one action · footer: letter close · imagery: the product · signature: the live check's revocation record, usable struck to revoked · console: graphite
 * axes: dark/grotesk-sans/chromatic-amber · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: E, the hero record is built not captured; every value in it is the live check's real output */
/* Hallmark · waive 84 · the app runs but is being redesigned in this same build · a capture now would show the old screens, so the record holds the live check's real values */
:root {
  color-scheme: dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(72% 0.15 27); --color-success: oklch(76% 0.13 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(17% 0.008 250); --color-paper-2: oklch(21% 0.009 250); --color-paper-3: oklch(13.5% 0.007 250);
  --color-ink: oklch(95% 0.005 250); --color-ink-2: oklch(83% 0.008 250); --color-muted: oklch(71% 0.01 250);
  --color-rule: oklch(31% 0.01 250); --color-rule-2: oklch(42% 0.012 250);
  --color-accent: oklch(82% 0.15 80); --color-accent-ink: oklch(18% 0.04 75); --color-accent-soft: oklch(29% 0.05 80); --color-focus: oklch(82% 0.15 80);
  --color-cool: oklch(77% 0.12 245); --color-cool-soft: oklch(29% 0.05 245);
  --color-ok: oklch(76% 0.15 150); --color-ok-soft: oklch(24.5% 0.03 150); --color-bad: oklch(70% 0.17 25); --color-bad-soft: oklch(24.5% 0.035 25);
  --font-display: "Host Grotesk", ui-sans-serif, system-ui, sans-serif; --font-body: var(--font-display);
  --font-outlier: "Atkinson Hyperlegible Mono", ui-monospace, monospace;
  --radius-card: 10px; --radius-pill: 6px; --rule-hair: 1px;
  --shadow-card: none;
  --tracking-display: -0.03em; --display-weight: 500;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: duotone paper-3 ink */
[data-slot]:has(> img) { isolation: isolate; background: var(--color-ink); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
[data-slot] > img { z-index: 0; filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; }
[data-slot]:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--color-paper-3); mix-blend-mode: lighten; pointer-events: none; }

@font-face { font-family: "Host Grotesk"; src: url("fonts/HostGrotesk-400.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("fonts/AtkinsonHyperlegibleMono-400.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }


/* masthead: the wordmark large over a rule, the links beneath */
.mast { border-bottom: var(--rule-hair) solid var(--color-rule); }
.mast__inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-md) var(--space-xl); padding-block: var(--space-lg); }
.wordmark { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); letter-spacing: var(--tracking-display); text-decoration: none; color: var(--color-ink); }
.mast__nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); }
.mast__nav a:not(.btn) { color: var(--color-muted); text-decoration: none; }
.mast__nav a:not(.btn):hover { color: var(--color-ink); }
.mast__nav a:not(.btn):focus-visible { color: var(--color-ink); }

/* controls: the pair */
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-sm) var(--space-lg); 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; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); border-color: var(--color-ink-2); }
.btn:active { background: var(--color-paper); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.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); }
.btn--primary:active { background: var(--color-ink-2); }
.btn--small { min-height: 36px; padding: var(--space-xs) var(--space-md); }

.measured { font-family: var(--font-outlier); font-size: var(--text-sm); font-variant-numeric: tabular-nums slashed-zero; }
.reading { font-family: var(--font-outlier); font-weight: 400; letter-spacing: -0.04em; line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums slashed-zero; }
.person { color: var(--color-accent); }
.instrument { color: var(--color-cool); }
.refused { color: var(--color-bad); }
.chip { display: inline-block; padding: var(--space-3xs) var(--space-xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 4px; font-size: var(--text-xs); }
.chip--cool { background: var(--color-cool-soft); color: var(--color-cool); }

/* hero: Counter, the record at work beside a short head */
.hero { padding-block: var(--space-3xl) var(--space-3xl); min-height: min(calc(100dvh - 81px), 62rem); display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-lg); }
.hero h1 { font-size: var(--text-display); }
.hero .lead { color: var(--color-ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero__terms { font-size: var(--text-sm); color: var(--color-muted); }

.record { margin: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; }
.record__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.record__name { font-weight: 500; }
.record__reading { display: grid; gap: var(--space-xs); padding: var(--space-xl) var(--space-lg) var(--space-lg); background: var(--color-paper-3); border-bottom: var(--rule-hair) solid var(--color-rule); }
.record__was { color: var(--color-muted); text-decoration-color: var(--color-bad); }
.record__reading .reading { font-size: var(--text-display-s); color: var(--color-bad); }
.record__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.record__facts > div { padding: var(--space-md) var(--space-lg); border-right: var(--rule-hair) solid var(--color-rule); }
.record__facts > div:last-child { border-right: 0; }
.record__facts dt { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-2xs); }
.record__facts dd { margin: 0; }
.trail { list-style: none; margin: 0; padding: var(--space-md) var(--space-lg) var(--space-md) var(--space-xl); position: relative; }
.trail::before { content: ""; position: absolute; left: var(--space-lg); top: var(--space-md); bottom: var(--space-md); width: var(--rule-hair); background: var(--color-rule-2); }
.trail li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.trail__minus { background: var(--color-bad-soft); margin-inline: calc(-1 * var(--space-sm)); padding-inline: var(--space-sm); border-radius: 4px; }
.trail__minus .measured { color: var(--color-bad); }
.record figcaption { padding: var(--space-sm) var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); border-top: var(--rule-hair) solid var(--color-rule); }

/* sections */
.code, .verbs, .uses, .claims, .questions { padding-block: var(--section-gap-s); }
.verbs { padding-block: var(--section-gap); background: var(--color-paper-3); }
.questions { padding-block: var(--section-gap-l) var(--section-gap); }
section > .container > h2 { margin-bottom: var(--space-2xl); }

.panes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--rule-hair); background: var(--color-rule); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; }
.pane { margin: 0; padding: var(--space-xl); background: var(--color-paper-2); }
.pane--code { background: var(--color-paper-3); font-family: var(--font-outlier); font-size: var(--text-sm); line-height: 1.7; color: var(--color-ink-2); overflow-x: auto; }
.pane--out { display: grid; align-content: start; gap: var(--space-md); }
.pane__label { font-size: var(--text-sm); color: var(--color-muted); }
.pane__note { color: var(--color-muted); max-width: 40ch; }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--rule-hair); background: var(--color-rule); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; }
.tile { grid-column: span 4; display: grid; align-content: space-between; gap: var(--space-lg); min-height: 300px; padding: var(--space-xl); background: var(--color-paper-2); }
.tile--lead { grid-column: span 8; }
.tile--wide { grid-column: span 8; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); align-items: end; }
.tile--wide h3 { grid-column: 1 / -1; }
.tile p:not(.reading):not(.measured) { color: var(--color-muted); max-width: 46ch; }
.reading--tile { font-size: var(--text-display); color: var(--color-cool); }
.tile .measured { font-size: var(--text-md); }

.uses__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.uses__grid > h2 { margin-bottom: 0; }
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.rows > li, .rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows dt { font-family: var(--font-display); font-size: var(--text-title); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1.2; }
.rows dd { margin: 0; color: var(--color-muted); }
.rows p { color: var(--color-muted); }
.rows > li:first-child h3 { color: var(--color-accent); }

.table-wrap { overflow-x: auto; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
table { width: 100%; border-collapse: collapse; background: var(--color-paper-2); }
th, td { text-align: left; padding: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: baseline; }
thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); background: var(--color-paper-3); }
tbody th { font-weight: 500; color: var(--color-ink); }
tbody td { color: var(--color-muted); }
tbody td.measured { color: var(--color-ok); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }

.close { padding-block: var(--section-gap-s); background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.close__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.close h2 { margin-bottom: 0; }

.foot { padding-block: var(--space-3xl) var(--space-2xl); }
.foot__inner { display: grid; gap: var(--space-lg); }
.foot__sign { font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: var(--tracking-display); color: var(--color-ink-2); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.foot__links a { color: var(--color-muted); }
.foot__links a:hover, .foot__links a:focus-visible { color: var(--color-accent); }
.foot__credit { font-size: var(--text-sm); color: var(--color-muted); }

a:hover { text-decoration-color: var(--color-accent); }

@media (max-width: 60rem) {
  .hero { min-height: 0; }
  .hero__grid, .panes, .uses__grid, .rows > li, .rows > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .tile, .tile--lead, .tile--wide { grid-column: span 12; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .record__facts { grid-template-columns: minmax(0, 1fr); }
  .record__facts > div { border-right: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .record__facts > div:last-child { border-bottom: 0; }
}
