/* Hallmark · shape: Feature Stack · genre: editorial · theme: Manifesto (deal 2/3, seed paves-free-paver-block-a78e·23866cd6·2026-11-25·r0) · job: try · draw: 6c0cf3
 * hero: Stage, swapped from the dealt Corridor: the product is the picture, so the area laid out stands on the first screen · nav: banner over a retracting bar · footer: colophon block · imagery: the product, every plan drawn by the calculator's own code · signature: an area laid out block by block, the blocks to cut in red
 * axes: dark/display-condensed/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: E, the calculator's form is plain by design; the plan beside it carries the screen */
/* Hallmark · waive 38iii · the one red word is "every" in the hero head, the only coloured word on the page · Manifesto names one red word in the hero head as its mark, and here it is the calculator's promise that every block is counted */
/* Hallmark · waive 44c · /thickness/ at 1440 x 900: the head ends at 564px and the standard's table fills the rest of the screen · the inner pages are reference pages that open on their table or drawing, not landing pages; the calculator's own first screen is one screen */
/* Hallmark · waive 55b · each line of the hero head is its own nowrap span sized in cqi · three words of five letters fill the text column at poster size and are never allowed to wrap */
: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(13% 0.01 60); --color-paper-2: oklch(17% 0.011 60); --color-paper-3: oklch(22% 0.012 60);
  --color-ink: oklch(95% 0.014 85); --color-ink-2: oklch(84% 0.012 80); --color-muted: oklch(64% 0.016 65);
  --color-rule: oklch(31% 0.014 60);
  --color-accent: oklch(56% 0.228 28); --color-accent-deep: oklch(49% 0.2 28); --color-accent-text: oklch(64% 0.22 28); --color-accent-ink: oklch(98.5% 0.004 90);
  --color-focus: oklch(64% 0.22 28);
  --font-display: "Anton", "Impact", sans-serif; --font-body: "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: var(--font-body);
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-bar: 4px; --shadow-card: none;
  --tracking-display: 0.004em; --display-weight: 400; --lh-tight: 0.9; --text-display: clamp(4.5rem, 12vw, 13rem);
}

*, *::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: var(--color-accent); color: var(--color-accent-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: duotone paper ink con=24 */
[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.24); mix-blend-mode: multiply; }
[data-slot]:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--color-paper); mix-blend-mode: lighten; pointer-events: none; }

@font-face { font-family: "Anton"; src: url("/fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); }
h1, h2, h3 { text-transform: uppercase; line-height: 1.02; color: var(--color-ink); }
h2 { font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem); max-width: 16ch; }
h3 { font-size: var(--text-title); line-height: 1.1; }
a:hover { text-decoration-color: var(--color-accent-text); }
.skip { position: absolute; left: var(--space-md); top: -6rem; z-index: var(--z-tooltip); background: var(--color-ink); color: var(--color-paper); padding: var(--space-sm) var(--space-md); }
.skip:focus { top: var(--space-md); }
.nowrap { white-space: nowrap; }

/* ---- the banner, and the bar that stays ------------------------------------------------------------------------------- */
.banner { margin: 0; padding: var(--space-xs) var(--gutter); background: var(--color-paper-2); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; text-align: center; }
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-ink); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 4.25rem; }
.wordmark { font-family: var(--font-display); font-size: var(--text-xl); text-transform: uppercase; text-decoration: none; color: var(--color-ink); letter-spacing: var(--tracking-display); }
.bar__nav { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); font-weight: 600; }
.bar__nav a { color: var(--color-ink-2); text-decoration: none; padding-block: var(--space-xs); border-bottom: 2px solid transparent; }
.bar__nav a:hover { color: var(--color-ink); border-bottom-color: var(--color-rule); }
.bar__nav a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-accent); }

/* ---- controls ------------------------------------------------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: var(--space-sm) var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: 0; background: none; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn--primary:active { background: var(--color-accent-deep); transform: translateY(1px); }
.btn--secondary { border-color: var(--color-ink-2); color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--secondary:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.ref { color: var(--color-muted); font-size: var(--text-xs); font-weight: 500; white-space: nowrap; }
.ref:hover { color: var(--color-ink); }

/* ---- the first screen ------------------------------------------------------------------------------------------------- */
.hero { border-bottom: var(--rule-hair) solid var(--color-rule); }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; min-height: min(calc(100svh - 7.5rem), 48rem); padding-block: var(--space-lg); }
.hero__text { container-type: inline-size; }
.display { max-width: none; line-height: var(--lh-tight); }
.display > span { display: block; white-space: nowrap; font-size: clamp(4.5rem, 34cqi, 11rem); }
.hero h1 .hot { color: var(--color-accent-text); }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 30ch; }
.hero__go, .sec__go { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.panel { margin: 0; background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); padding: var(--space-lg); }
.panel figcaption { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.hero__pic .plan { width: 100%; height: auto; max-height: 31rem; }
@media (prefers-reduced-motion: no-preference) { .display > span { animation: wipe var(--dur-long) var(--ease-out) both; } }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

/* ---- a plan: whole blocks, blocks to cut, pieces too small to lay ----------------------------------------------------- */
.plan { display: block; width: 100%; height: auto; }
.plan path { vector-effect: non-scaling-stroke; stroke-width: 1px; stroke-linejoin: miter; }
.plan__whole { fill: var(--color-paper-3); stroke: var(--color-muted); }
.plan__cut { fill: var(--color-paper); stroke: var(--color-accent-text); }
.plan__small { fill: var(--color-accent); stroke: var(--color-accent); }
.plan .plan__edge { fill: none; stroke: var(--color-ink); stroke-width: 2px; }
.plan--patch .plan__cut { fill: var(--color-paper-3); stroke: var(--color-muted); }

/* ---- sections ------------------------------------------------------------------------------------------------------------ */
.sec { padding-top: var(--section-gap-s); }
.sec--first { padding-top: var(--space-3xl); }
.sec__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; padding-bottom: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.sec__top .lead { color: var(--color-ink-2); }
.sec__more { margin-top: var(--space-lg); font-weight: 600; }

/* the calculator */
.tool { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl) var(--gap-columns); padding-top: var(--space-xl); }
.tool__in { display: grid; gap: var(--space-lg); align-content: start; }
.tool__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.tool__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.field { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.field input, .field select { width: 100%; min-height: 3rem; padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-md); font-variant-numeric: tabular-nums; }
.field input:hover, .field select:hover { border-color: var(--color-ink); }
.seg, .group { margin: 0; padding: 0; border: 0; min-width: 0; }
.seg legend, .group legend { padding: 0; margin-bottom: var(--space-2xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.seg__row { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.seg label { display: inline-flex; align-items: center; min-height: 3rem; padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-muted); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.seg label:hover { border-color: var(--color-ink); color: var(--color-ink); }
.seg input:checked + label { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tool__hint, .nojs { color: var(--color-muted); font-size: var(--text-sm); }
.tool__msg { min-height: 1.5em; color: var(--color-error); font-size: var(--text-sm); font-weight: 600; }
.tool__go { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.tool__pic { align-self: start; position: sticky; top: 6rem; }
.tool__pic .plan { max-height: 70svh; }
.tool__out { grid-column: 1 / -1; }
html.js .nojs { display: none; }

/* the answer */
.out__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); border-top: var(--rule-bar) solid var(--color-ink); padding-top: var(--space-lg); }
.out__n { display: grid; gap: var(--space-2xs); color: var(--color-muted); font-weight: 500; }
.out__n .num { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6.5rem); line-height: var(--lh-tight); color: var(--color-ink); }
.out__warn, .out__fine, .out__area { margin-top: var(--space-md); max-width: 70ch; }
.out__warn { color: var(--color-ink); font-weight: 500; }
.out__warn .num { font-weight: 600; }
.out__fine, .out__area { color: var(--color-muted); }
.out__alt { color: var(--color-muted); white-space: nowrap; padding-left: var(--space-xs); }

/* tables */
.tablewrap { position: relative; overflow-x: auto; margin-top: var(--space-xl); }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table caption { caption-side: top; text-align: left; padding-bottom: var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.table th, .table td { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: baseline; }
.table thead th { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; border-bottom-color: var(--color-ink-2); }
.table tbody th { color: var(--color-ink); font-weight: 600; }
.table .num { text-align: right; padding-right: 0; white-space: nowrap; }
.table__big { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); }

/* the poster line: one sum against the other */
.sums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); padding-top: var(--space-xl); }
.sums__n { display: grid; gap: var(--space-xs); color: var(--color-muted); font-weight: 500; font-size: var(--text-lead); }
.sums__n .num { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: clamp(4.5rem, 15vw, 15rem); line-height: var(--lh-tight); color: var(--color-ink); }
.sums__note { margin-top: var(--space-lg); color: var(--color-muted); }

/* the record: rows under hairlines */
.sec__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.sec__head { position: sticky; top: 7rem; }
.sec__head .lead { margin-top: var(--space-md); }
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.rows li { padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows h3 { margin-bottom: var(--space-xs); }
.rows p { color: var(--color-ink-2); font-size: var(--text-lead); }
.rows--n { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap-columns); border-top: 0; }
.rows--n li { border-bottom: 0; border-top: var(--rule-bar) solid var(--color-ink); margin-top: var(--space-xl); }
.rows__n { display: block; margin-bottom: var(--space-md); font-family: var(--font-display); font-size: clamp(3.5rem, 9vw, 8.5rem); line-height: var(--lh-tight); color: var(--color-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* the bonds */
.bonds { list-style: none; margin: 0; padding: var(--space-xl) 0 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-lg) var(--gap-columns); }
.bonds > :first-child { grid-row: span 2; }
.bonds > :not(:first-child) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); align-items: end; }
.bonds > :not(:first-child) figure { margin: 0; grid-row: span 2; }
.bonds > :not(:first-child) h3 { align-self: end; }
.bonds > :not(:first-child) p { align-self: start; }
.bonds--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bonds--four > li, .bonds--four > :not(:first-child) { display: block; grid-row: auto; }
.bonds--four > :not(:first-child) figure { margin: 0 0 var(--space-md); }
.bond figure { margin: 0 0 var(--space-md); background: var(--color-paper-2); padding: var(--space-sm); }
.bond h3, .bond h2 { margin-bottom: var(--space-2xs); font-size: var(--text-title); line-height: 1.1; max-width: none; }

/* what lies under the blocks: a stack, to scale */
.under { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; padding-top: var(--space-xl); }
.stack { margin: 0; display: grid; }
.stack__row { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; gap: var(--space-md); align-items: center; min-height: calc(var(--t) * 0.9px); }
.stack__band { align-self: stretch; }
.stack__row--block .stack__band { background: repeating-linear-gradient(90deg, var(--color-ink-2) 0 calc(12.5% - 3px), var(--color-paper) calc(12.5% - 3px) 12.5%); }
.stack__row--sand .stack__band { background: var(--color-muted); color: var(--color-paper); }
.stack__row--base .stack__band { background: var(--color-paper-3); border-bottom: var(--rule-hair) solid var(--color-paper); }
.stack__row--sub_base .stack__band, .stack__row--dlc .stack__band { background: var(--color-paper-2); border-bottom: var(--rule-hair) solid var(--color-rule); }
.stack__row--ground .stack__band { border-top: var(--rule-bar) solid var(--color-ink); min-height: 2rem; }
.stack__label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.stack__label b { display: block; color: var(--color-ink); font-weight: 600; font-size: var(--text-md); }

/* ---- reading pages ------------------------------------------------------------------------------------------------------- */
.head { border-bottom: var(--rule-bar) solid var(--color-ink); }
.head__in { padding-block: var(--space-2xl) var(--space-xl); }
.head h1 { font-size: clamp(3.5rem, 9vw, 9rem); line-height: 0.95; max-width: 12ch; }
.head .lead { margin-top: var(--space-lg); }
.head__note { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); max-width: 75ch; }
.crumbs { margin-bottom: var(--space-lg); font-size: var(--text-sm); font-weight: 500; }
.crumbs a { color: var(--color-muted); }
.next { list-style: none; margin: 0; padding: var(--space-lg) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.next a { display: block; padding: var(--space-lg) 0; border-top: var(--rule-bar) solid var(--color-ink); font-family: var(--font-display); font-size: var(--text-title); text-transform: uppercase; text-decoration: none; color: var(--color-ink); }
.next a:hover { border-top-color: var(--color-accent); }
.lost { padding-block: var(--section-gap); }

/* the register of sources */
.doc { padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.doc h3 { max-width: 44ch; }
.doc__meta { margin-top: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }
.register { margin: var(--space-md) 0 0; display: grid; gap: var(--space-lg); }
.register > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap-columns); scroll-margin-top: 7rem; }
.register dt { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.register dd { margin: 0; }
.register blockquote { margin: 0; padding-left: var(--space-md); border-left: 2px solid var(--color-rule); color: var(--color-ink); }
.register div:target blockquote { border-left-color: var(--color-accent); }
.register__on { margin-top: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }

/* ---- the foot: a colophon --------------------------------------------------------------------------------------------- */
.foot { margin-top: var(--section-gap); border-top: var(--rule-bar) solid var(--color-ink); padding-block: var(--space-2xl); }
.foot__colophon { max-width: 78ch; color: var(--color-ink-2); }
.foot__line { margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }

/* ---- smaller screens ------------------------------------------------------------------------------------------------------ */
@media (max-width: 60rem) {
  .hero__in, .sec__top, .sec__in, .tool, .under { grid-template-columns: minmax(0, 1fr); }
  .sec__head { position: static; }
  .hero__in { min-height: 0; align-items: start; }
  .sec__top { align-items: start; gap: var(--space-md); }
  .tool__pic { position: static; }
  .bonds--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .register > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
}
@media (max-width: 40rem) {
  .bar { position: static; }
  .bar__in { flex-direction: column; align-items: flex-start; gap: 0; padding-block: var(--space-sm); }
  .bonds, .next, .rows--n { grid-template-columns: minmax(0, 1fr); }
  .bonds > :first-child { grid-row: auto; }
  .bonds--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
  .out__nums, .sums { gap: var(--space-md); }
  .tool__three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
  .stack__row { grid-template-columns: minmax(0, 1fr) 8rem; }
  .panel { padding: var(--space-md); }
}
@media print {
  .banner, .bar, .hero, .tool__in, .foot, .sec:not(.sec--tool), .skip { display: none; }
  .tool { grid-template-columns: minmax(0, 1fr); }
}
/* paper is white and ink is black on a printed sheet: the same tokens, the printed theme */
@media print {
  :root { --color-paper: oklch(99% 0.004 85); --color-paper-2: oklch(96% 0.006 85); --color-paper-3: oklch(90% 0.008 80); --color-ink: oklch(16% 0.01 60); --color-ink-2: oklch(26% 0.01 60); --color-muted: oklch(42% 0.012 65); --color-rule: oklch(70% 0.012 65); }
}
