/* Hallmark · shape: Marquee Hero · genre: editorial · theme: Almanac (deal 1/3, seed scrips-read-codes-listed-77a5·b008000b·2026-11-25·r0) · job: try · draw: df3f31
 * hero: Settled, the form beside its worked example · nav: floating pill · footer: colophon block · imagery: the product, one ISIN worked on the sheet by the checker's own code and the first line of the exchange's file on the ink band; no photographs · signature: a row of digits with every other one doubled, under the twelve characters they come from
 * axes: mid/grotesk-sans/chromatic-magenta · posture: restrained · copy: verbatim · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E3 S4 R4 V4 · weakest: E, a page of codes is small type; the working set large in the fixed-width face on the pale sheet and the file's line on the ink band carry the eye */
:root {
  color-scheme: light;
  --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(52% 0.19 27); --color-success: oklch(50% 0.12 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(84% 0.012 245); --color-paper-2: oklch(81% 0.012 245); --color-paper-3: oklch(77% 0.012 245);
  --color-ink: oklch(16% 0.020 245); --color-ink-2: oklch(24% 0.018 245); --color-muted: oklch(38% 0.016 245);
  --color-rule: oklch(73% 0.013 240); --color-rule-2: oklch(32% 0.018 240);
  --color-accent: oklch(45% 0.180 350); --color-accent-2: oklch(37% 0.160 350); --color-accent-ink: oklch(97% 0.006 245); --color-focus: oklch(46% 0.190 350);
  --color-sheet: oklch(93.5% 0.008 245);
  --font-display: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Newsreader", ui-serif, Georgia, serif;
  --font-outlier: "IBM Plex Mono", ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 2px; --rule-hair: 1px; --rule-bar: 2px; --shadow-card: none;
  --tracking-display: -0.02em; --display-weight: 600;
}

*, *::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) 22%, transparent); color: var(--color-ink); }
: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: muted */
[data-slot] > img { filter: saturate(0.65) contrast(0.97); }

@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); font-size: 1.0625rem; }
h1, h2, h3 { color: var(--color-ink); }
a { text-decoration-color: var(--color-accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
.code { font-family: var(--font-outlier); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--color-ink); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-4xl)); background: var(--color-ink); color: var(--color-sheet); padding: var(--space-xs) var(--space-md); z-index: var(--z-toast); }
.skip:focus-visible { top: var(--space-md); }

/* ---- the frame: a bar that floats over the page ---- */
.mast { position: sticky; top: 0; z-index: var(--z-sticky-nav); padding-top: var(--space-sm); }
.mast__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-lg); padding: var(--space-xs) var(--space-md); background: var(--color-sheet); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); }
.wordmark, .foot__name, .card__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-lg); line-height: 1; letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }
.wordmark span, .foot__name span, .card__name span { color: var(--color-accent); }
.mast__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.mast__nav a { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; padding-block: var(--space-xs); border-bottom: var(--rule-bar) solid transparent; transition: border-color var(--dur-short) var(--ease-out); }
.mast__nav a:hover { border-bottom-color: var(--color-accent); }
.mast__nav a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-ink); }

.foot { border-top: var(--rule-bar) solid var(--color-rule-2); padding-block: var(--space-2xl); }
.foot__in { display: grid; gap: var(--space-lg); }
.foot__say { display: grid; gap: var(--space-xs); }
.foot__say p:not(.foot__name) { font-size: var(--text-sm); max-width: 62ch; }
.foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); font-weight: 500; }
.foot__line, .foot__made { font-size: var(--text-xs); color: var(--color-muted); max-width: none; }
.foot__made { margin-top: calc(-1 * var(--space-sm)); }

/* ---- controls ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: var(--space-xs) var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-paper-2); text-decoration: none; }
.btn:active { background: var(--color-paper-3); }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn--primary:active { background: var(--color-ink); border-color: var(--color-ink); }
.btn--quiet { border-color: transparent; padding-inline: var(--space-sm); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 1px; }
.btn--quiet:hover { background: transparent; text-decoration-thickness: 2px; }
.btn--onink { border-color: var(--color-sheet); color: var(--color-sheet); }
.btn--onink:hover { background: var(--color-sheet); color: var(--color-ink); }
.btn--onink:active { background: var(--color-paper); color: var(--color-ink); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* ---- a reader and its sheet ---- */
.hero { padding-block: var(--space-lg) var(--space-2xl); }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.hero h1 { font-size: var(--text-display-s); letter-spacing: -0.035em; line-height: 0.98; }
.hero .lead { margin-top: var(--space-md); }
.tool { display: grid; gap: var(--space-sm); margin-top: var(--space-lg); }
.field { display: grid; gap: var(--space-2xs); }
.field > span { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.field--short { max-width: 9rem; }
textarea, input[type="text"] { display: block; width: 100%; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-sheet); color: var(--color-ink); font-family: var(--font-outlier); font-weight: 500; font-size: var(--text-lg); line-height: 1.4; text-transform: uppercase; transition: border-color var(--dur-short) var(--ease-out); }
textarea { min-height: 5.5rem; resize: vertical; }
textarea::placeholder, input::placeholder { color: var(--color-muted); opacity: 1; font-weight: 400; }
textarea:hover, input[type="text"]:hover { border-color: var(--color-ink); }
.tool__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.tool__stays, .nojs { font-size: var(--text-sm); color: var(--color-muted); max-width: none; }
.js .nojs { display: none; }

.sheet { background: var(--color-sheet); border-top: var(--rule-bar) solid var(--color-ink); padding: var(--space-lg); }
.out__h { font-size: var(--text-title); max-width: none; padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.verdict { margin-top: var(--space-md); font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.2; letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: none; }
.verdict .code { font-weight: 500; }
.verdict--bad { color: var(--color-accent-2); }
.verdict--bad .code { color: var(--color-accent-2); }
.parts { margin: var(--space-md) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); }
.parts > div { padding: var(--space-sm) var(--space-sm) var(--space-sm) 0; display: grid; gap: var(--space-2xs); align-content: start; }
.parts > div + div { padding-left: var(--space-sm); border-left: var(--rule-hair) solid var(--color-rule); }
.parts dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.parts dd { margin: 0; }
.parts dd .code { font-size: var(--text-xl); }
.parts__say { font-size: var(--text-sm); line-height: 1.4; color: var(--color-ink-2); }
.parts__say .code { font-size: inherit; }
.ref { font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); white-space: nowrap; }
.work { margin-top: var(--space-sm); padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-rule-2); }
.work h3 { font-size: var(--text-title); }
.work__steps { margin: var(--space-sm) 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: var(--space-sm); }
.work__steps > li { counter-increment: step; display: grid; gap: var(--space-xs); }
.work__steps > li > p:first-child { font-size: var(--text-sm); color: var(--color-ink-2); max-width: none; }
.work__steps > li > p:first-child::before { content: counter(step) ". "; font-family: var(--font-outlier); font-weight: 500; color: var(--color-ink); }
.work__row { display: flex; flex-wrap: wrap; gap: var(--space-3xs); max-width: none; }
.cell { display: grid; justify-items: center; min-width: 1.55rem; padding: var(--space-3xs) var(--space-2xs); background: var(--color-paper); font-family: var(--font-outlier); font-variant-numeric: tabular-nums; line-height: 1.25; }
.cell b { font-weight: 500; color: var(--color-ink); }
.cell i { font-style: normal; font-size: var(--text-xs); color: var(--color-muted); }
.cell--x2 { background: var(--color-paper-3); }
.cell--x2 i { color: var(--color-accent-2); font-weight: 500; }
.work__sum { max-width: none; overflow-wrap: anywhere; font-size: var(--text-sm); }
.out__note, .out__src { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); max-width: none; }
.out__src { color: var(--color-muted); }
.fits { margin: var(--space-xs) 0 0; padding-left: var(--space-lg); display: grid; gap: var(--space-2xs); }
.many { width: 100%; margin-top: var(--space-md); border-collapse: collapse; font-size: var(--text-sm); }
.many th { text-align: left; font-weight: 500; color: var(--color-muted); padding: var(--space-xs) var(--space-sm) var(--space-xs) 0; border-bottom: var(--rule-bar) solid var(--color-rule-2); }
.many td { padding: var(--space-xs) var(--space-sm) var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; }
.many--bad td { color: var(--color-accent-2); }
.many--bad .code { color: var(--color-accent-2); }

/* ---- rows ---- */
.sec { padding-block: var(--section-gap-s); }
.sec--tight { padding-top: 0; }
.sec__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; }
.sec__head { display: grid; gap: var(--space-md); }
.sec__head--wide { margin-bottom: var(--space-xl); }
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-bar) solid var(--color-rule-2); }
.rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xs) var(--space-lg); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows h3 { font-size: var(--text-title); line-height: 1.2; max-width: none; }
.rows p { max-width: 58ch; }
.rows--plain li { grid-template-columns: minmax(0, 1fr); }

/* ---- the legend, set as a printed table on the sheet ---- */
.sheet--table { padding: var(--space-md) var(--space-lg) var(--space-lg); overflow-x: auto; }
.legend { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
.legend thead th { text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); padding: var(--space-xs) var(--space-md) var(--space-xs) 0; border-bottom: var(--rule-bar) solid var(--color-rule-2); }
.legend tbody th { text-align: left; font-weight: 400; color: var(--color-ink); }
.legend tbody th, .legend td { padding: var(--space-xs) var(--space-md) var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; }
.legend sup { font-family: var(--font-outlier); font-size: 0.7em; }
.legend__note { font-size: var(--text-sm); color: var(--color-ink-2); }
.none { font-size: var(--text-sm); color: var(--color-muted); }

/* ---- the file on the ink band ---- */
.band--ink, .close { background: var(--color-ink); color: var(--color-paper); padding-block: var(--space-3xl); }
.band--ink :focus-visible, .close :focus-visible { outline-color: var(--color-sheet); }
.file__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.file__say { display: grid; gap: var(--space-md); }
.file__say h2, .close h2 { color: var(--color-sheet); }
.file__say p, .close p { color: var(--color-paper); max-width: 45ch; }
.file__go { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.file { margin: 0; }
.file__line { margin: 0; padding: var(--space-lg) 0; border-top: var(--rule-bar) solid var(--color-sheet); border-bottom: var(--rule-hair) solid var(--color-muted); font-family: var(--font-outlier); font-size: var(--text-lg); line-height: 1.5; color: var(--color-sheet); white-space: pre-wrap; }
.file__line b { font-weight: 500; }
.file figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-paper); }
.file figcaption .ref { color: var(--color-paper); }
.close__in { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-xl) var(--space-2xl); align-items: end; }
.close__act { display: grid; gap: var(--space-md); justify-items: start; }
.band--ink + .close { border-top: var(--rule-hair) solid var(--color-muted); }

/* ---- the reading pages ---- */
.head { padding-block: var(--space-2xl) var(--space-3xl); }
.head__in { display: grid; gap: var(--space-md); }
.head h1 { font-size: var(--text-display-s); letter-spacing: -0.035em; line-height: 0.98; }
.sec--q { padding-block: 0 var(--section-gap-s); }
.q__a { display: grid; gap: var(--space-md); }
.answer { font-family: var(--font-display); font-size: var(--text-lead); line-height: 1.4; font-weight: 500; color: var(--color-ink); max-width: 46ch; }
.go { display: flex; flex-wrap: wrap; gap: var(--space-sm); max-width: none; }
.byline { font-size: var(--text-sm); color: var(--color-muted); max-width: none; padding-bottom: var(--section-gap-s); }

.src { padding-block: var(--space-xl); border-top: var(--rule-bar) solid var(--color-rule-2); display: grid; gap: var(--space-md); }
.src:last-child { padding-bottom: var(--section-gap-s); }
.src h2 { font-size: var(--text-2xl); }
.src__at { font-size: var(--text-sm); color: var(--color-muted); max-width: none; }
.register { margin: 0; }
.register > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-xs) var(--space-lg); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.register > div:target { background: var(--color-sheet); }
.register dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.register dd { margin: 0; display: grid; gap: var(--space-xs); }
.register blockquote { margin: 0; padding-left: var(--space-md); border-left: var(--rule-bar) solid var(--color-rule-2); }
.register blockquote p { color: var(--color-ink); max-width: 68ch; overflow-wrap: anywhere; }
.register blockquote code { font-family: var(--font-outlier); font-size: var(--text-sm); }
.register__on { font-size: var(--text-sm); color: var(--color-muted); max-width: none; }

/* ---- the share card (photographed, never published) ---- */
.card { background: var(--color-paper); }
.card__in { box-sizing: border-box; width: 1200px; height: 630px; padding: var(--space-2xl); display: grid; grid-template-rows: auto auto 1fr; gap: var(--space-md); }
.card__name { font-size: var(--text-2xl); }
.card h1 { font-size: 5.5rem; letter-spacing: -0.035em; max-width: none; }
.card__sheet { align-self: end; display: grid; gap: var(--space-md); }
.card__isin { font-family: var(--font-outlier); font-weight: 500; font-size: 4rem; line-height: 1; letter-spacing: 0.08em; color: var(--color-ink); max-width: none; }
.card__check { color: var(--color-accent); }
.card__sheet .cell { min-width: 2.6rem; font-size: var(--text-xl); }
.card__sum { font-size: var(--text-xl); max-width: none; }

@media (max-width: 60rem) {
  .hero__in, .sec__in, .file__in, .close__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .sec--q .sec__in { gap: var(--space-md); }
  .hero { padding-block: var(--space-lg) var(--space-xl); }
  .band--ink, .close { padding-block: var(--space-2xl); }
}
@media (max-width: 40rem) {
  .rows li, .register > div { grid-template-columns: minmax(0, 1fr); }
  .parts { grid-template-columns: minmax(0, 1fr); }
  .parts > div + div { padding-left: 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .sheet { padding: var(--space-md); }
  .tool__row .btn--primary { flex: 1 1 100%; }
  .file__line { font-size: var(--text-md); }
  .legend { font-size: var(--text-sm); }
  .mast__nav { gap: 0 var(--space-md); }
}
