/* Hallmark · shape: Reference · genre: editorial · theme: Editorial (deal 1/3, seed independent-source-linked-guide-rooftop-f640·0c8b4ad8·2026-12-05·r0) · job: try · draw: manual
 * hero: the condensed head and one standfirst over the tool or the first rule · nav: edge-aligned, the wordmark and six links that wrap, never hidden · footer: a ruled note over the credit lines · imagery: none, the figures and the ruled tables carry it · signature: the written-out sum, every subsidy shown as its multiplication · editorial: warm white stock, one printer's green
 * axes: light/display-condensed/chromatic-green · posture: restrained · copy: verbatim · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, a page of facts with no photographs; the condensed heads, the heavy rules and the ink band of figures carry the look */
/* Hallmark · dismissed 58 · the guides and state pages · a reference page lists dated facts with their sources; each screen holds one ruled list, and the verbatim register is on its own page */
/* Hallmark · dismissed F15 · every page · the ruled lists and tables keep a 64rem measure inside the one 1440px container, so a row reads in one sweep */
/* Hallmark · waive 44c · the guides, sizes, States and warnings · a reference page opens on its answer: the head and one line, then the first ruled list in the same screen */
/* Hallmark · waive 49b · the state lists and the table links · a State's official name is its label; the longest wrap to two lines at phone width rather than be cut */
/* Hallmark · waive 59 · the calculator · its fields follow the head they answer with no section gap; the head, the fields and the sums read as one tool */
/* Hallmark · waive 77 · every page · a reference guide and a calculator, not a landing strip: no testimonial, no pricing, no closing call */
: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(97% 0.007 86); --color-paper-2: oklch(94% 0.010 86); --color-paper-3: oklch(91% 0.012 84);
  --color-ink: oklch(16% 0.012 280); --color-ink-2: oklch(29% 0.011 280); --color-muted: oklch(48% 0.010 75);
  --color-rule: oklch(85% 0.009 85); --color-rule-2: oklch(64% 0.010 80);
  --color-accent: oklch(49% 0.130 152); --color-accent-ink: oklch(98% 0.005 88); --color-focus: oklch(52% 0.135 152);
  --font-display: "Bricolage Grotesque", ui-sans-serif, sans-serif; --font-body: "Source Serif 4", ui-serif, Georgia, serif;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-heavy: 4px; --shadow-card: none;
  --tracking-display: -0.012em; --display-weight: 800;
}

*, *::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); }
: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: natural sat=-10 con=4 */
[data-slot] > img { filter: saturate(0.9) contrast(1.04); }

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-wdth.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root { --measure: 38rem; --color-focus-on-ink: var(--color-paper); --color-band: var(--color-paper-2); }
body { color: var(--color-ink-2); font-size: 1.125rem; font-optical-sizing: auto; font-variant-numeric: oldstyle-nums; }
h1, h2, h3 { color: var(--color-ink); font-weight: 800; font-stretch: 75%; font-variant-numeric: lining-nums tabular-nums; }
h1 { line-height: 0.95; }
a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); }
.label, nav, th, caption, label > span, legend, .btn, .crumb, .foot__line, .meta { font-family: var(--font-display); font-weight: 500; font-stretch: 100%; font-variant-numeric: lining-nums; }
.skip { position: absolute; left: var(--space-md); top: -100px; background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); z-index: var(--z-modal); }
.skip:focus-visible { top: var(--space-md); }

/* the bar: wordmark and six links that wrap */
.bar { border-bottom: var(--rule-hair) solid var(--color-rule); }
.bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-xl); padding-block: var(--space-sm); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: var(--text-2xl); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; line-height: 1; }
.wordmark span { color: var(--color-accent); }
.bar__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.bar__nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--color-ink-2); }
.bar__nav a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.bar__nav a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.band { margin: 0; background: var(--color-band); border-bottom: var(--rule-hair) solid var(--color-rule); }
.band p { padding-block: var(--space-xs); font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink-2); max-width: none; }

/* the head of a page */
.hero { padding-block: calc(var(--space-xl) + var(--space-xs)) var(--space-2xl); }
.hero h1 { font-size: var(--text-display); max-width: 16ch; }
.hero .lead { margin-top: var(--space-md); color: var(--color-ink); font-size: var(--text-lead); max-width: 40ch; }
.hero--home h1 { font-size: clamp(3.2rem, 7vw + 1rem, 7rem); max-width: 11ch; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: end; }
.hero__fig .tbl-wrap { margin-top: 0; }
.hero__fig .tbl td.n { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: var(--text-xl); color: var(--color-ink); }
.hero .calc { margin-top: var(--space-xl); }
.actions { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: 0; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); color: var(--color-paper); }
.btn--secondary { background: none; color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-paper-2); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

/* sections open on a heavy ink rule */
.sec { padding-block: var(--space-2xl) var(--space-3xl); }
.sec__in { border-top: var(--rule-heavy) solid var(--color-ink); padding-top: var(--space-lg); }
.sec h2 { font-size: var(--text-display-s); max-width: 22ch; }
.sec__lead { margin-top: var(--space-md); font-size: var(--text-lead); color: var(--color-ink); max-width: var(--measure); }
.sec p:not([class]) { max-width: var(--measure); margin-top: var(--space-md); }
.sec__note { margin-top: var(--space-xl); max-width: var(--measure); color: var(--color-ink-2); }

/* rows: a head on the left, its words on the right */
.rows { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; gap: 0; max-width: 64rem; }
.rows > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-xl) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.rows > li:first-child { border-top: 0; padding-top: var(--space-sm); }
.rows h3 { font-size: var(--text-xl); line-height: 1.05; }
.rows p { max-width: var(--measure); }
.rows p + p { margin-top: var(--space-xs); }
.steps { counter-reset: step; }
.steps > li h3::before { counter-increment: step; content: counter(step) ". "; color: var(--color-accent); }

/* tables: ruled; up to 600 px each row becomes a labelled card */
.tbl-wrap { margin-top: var(--space-xl); max-width: 64rem; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.tbl caption { text-align: left; color: var(--color-muted); font-size: var(--text-sm); padding-bottom: var(--space-sm); caption-side: top; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.tbl thead th { border-bottom: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink); font-size: var(--text-sm); }
.tbl td.n, .tbl th.n { text-align: right; padding-right: var(--space-md); white-space: nowrap; }
.tbl tbody th { font-family: var(--font-body); font-weight: 400; color: var(--color-ink); }
.tbl .muted { color: var(--color-muted); }

/* figures reversed out on the one ink band */
.figs { background: var(--color-ink); color: var(--color-paper); padding-block: var(--space-2xl); }
.figs h2 { color: var(--color-paper); font-size: var(--text-section); }
.figs__list { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.figs__list li { border-top: var(--rule-hair) solid var(--color-muted); padding-top: var(--space-md); }
.figs__v { display: block; font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: var(--text-display-s); line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--color-paper); }
.figs__k { display: block; margin-top: var(--space-xs); font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-paper-3); }
.figs a { color: var(--color-paper); text-decoration-color: var(--color-muted); }
.figs a:focus-visible { outline: 2px solid var(--color-focus-on-ink); outline-offset: 2px; }

/* the home's doors: one section today, a second sits beside it when it comes */
.doors__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 34rem), 1fr)); gap: var(--space-2xl); }
.door h2 a { text-decoration: none; }
.door h2 a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.picker + .picker { margin-top: var(--space-lg); }

/* the state picker */
.picker { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--space-lg); max-width: 72rem; }
.picker--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.picker li { border-top: var(--rule-hair) solid var(--color-rule); }
.picker a { display: flex; align-items: center; min-height: 44px; padding-block: var(--space-2xs); text-decoration: none; font-family: var(--font-display); font-weight: 500; color: var(--color-ink); }
.picker a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.picker .has-page::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: var(--space-xs); background: var(--color-accent); }

/* the calculator: fields on the paper well, the sums written out under them */
.tool { padding-block: 0 var(--space-3xl); }
.well { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule-2); padding: var(--space-xl); }
.calc__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg) var(--space-xl); }
.field { display: grid; gap: var(--space-2xs); align-content: start; }
.field > span { font-size: var(--text-sm); color: var(--color-ink); }
.field input, .field select { font: inherit; font-family: var(--font-display); font-weight: 500; font-stretch: 100%; font-size: var(--text-lg); color: var(--color-ink); height: 52px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); width: 100%; min-width: 0; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-ink); }
.field input:disabled { opacity: 0.5; cursor: not-allowed; }
.field input::placeholder { color: var(--color-muted); }
.calc__hint { grid-column: 1 / -1; font-size: var(--text-md); color: var(--color-ink-2); max-width: 60ch; }
.sheet { margin-top: var(--space-2xl); }
.sheet .tbl th[scope="row"] { width: 16rem; font-family: var(--font-display); font-weight: 500; font-stretch: 100%; color: var(--color-ink); }
.sheet .tbl td, .sheet .tbl th { padding-block: var(--space-lg); }
.sheet .total td, .sheet .total th { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: var(--text-xl); color: var(--color-ink); }

/* verbatim words of a rule or a source */
.verbatim { margin: var(--space-md) 0 0; padding: var(--space-md) var(--space-lg); background: var(--color-paper-2); border-left: var(--rule-heavy) solid var(--color-rule-2); max-width: var(--measure); font-style: italic; }
.verbatim p { margin: 0; }
.register { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; gap: var(--space-2xl); max-width: 50rem; }
.register__claim { margin: 0; color: var(--color-ink); }
.register blockquote { margin: var(--space-xs) 0 0; padding: var(--space-sm) var(--space-md); background: var(--color-paper-2); border-left: var(--rule-heavy) solid var(--color-rule-2); }
.register blockquote p { margin: 0; font-style: italic; }
.register__src { margin: var(--space-xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); }
.register h2 { font-size: var(--text-xl); margin-top: var(--space-xl); }

.byline { margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); max-width: var(--measure); }

.foot { border-top: var(--rule-heavy) solid var(--color-ink); background: var(--color-paper-2); }
.foot__in { padding-block: var(--space-xl); display: grid; gap: var(--space-xs); font-size: var(--text-sm); }
.foot__note, .foot__line { margin: 0; max-width: 72ch; }

@media (max-width: 960px) {
  .calc__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
}
@media (max-width: 600px) {
  .hero { padding-block: var(--space-xl) var(--space-lg); }
  .sec { padding-block: var(--space-xl) var(--space-2xl); }
  .well { padding: var(--space-lg) var(--space-md); }
  .calc__fields { grid-template-columns: minmax(0, 1fr); }
  .picker, .picker--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figs__list { grid-template-columns: minmax(0, 1fr); }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td, .tbl caption { display: block; width: auto; }
  .tbl tr { border-top: var(--rule-hair) solid var(--color-rule-2); padding-block: var(--space-sm); }
  .tbl th, .tbl td { border-bottom: 0; padding: var(--space-2xs) 0; }
  .tbl td[data-label], .tbl th[data-label] { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: var(--space-sm); }
  .tbl td[data-label]::before, .tbl th[data-label]::before { content: attr(data-label); font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
  .tbl td.n, .tbl th.n { text-align: left; white-space: normal; }
  .sheet .tbl th[scope="row"] { width: auto; }
  .sheet .tbl td, .sheet .tbl th { padding-block: var(--space-2xs); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, a { transition: none; }
}
