/* Toolbox Money. Tokens and components from the Claude Design handoff (docs/design/handoff).
   Personality: plainspoken, exact, accountable. One accent (green), heavy ink rules,
   a single shadow on the docket and nowhere else. */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-normal.woff2") format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-hyperlegible-next-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-hyperlegible-next-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("/assets/fonts/atkinson-hyperlegible-mono-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #F5F2EB;
  --docket: #FFFDF8;
  --ink: #1B1C19;
  --ink-2: #4A4A43;
  --ink-soft: #3A3B35;
  --rule: #D8D2C4;
  --rule-docket: #CFC8B8;
  --dash: #8E8A7E;
  --dot: #B9B3A5;
  --green: #1E5B3E;
  --green-hover: #164630;
  --green-active: #10331F;
  --green-loading: #5E7D69;
  --green-disabled: #8DA596;
  --sage: #E4EADF;
  --sage-edge: #C9D3C4;
  --sage-selected: #EEF2EA;
  --sage-on-ink: #A9C7B1;
  --red: #A3301C;
  --ochre-tint: #F4E8C8;
  --ochre-edge: #8C6410;

  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --font-mono: "Atkinson Hyperlegible Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(20px, 4vw, 40px);
  --r: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: #CFE0CF; }
img { max-width: 100%; height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-active); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
main:focus { outline: none; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; color: var(--ink); }
h1 { font-weight: 780; font-stretch: 112%; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.02; letter-spacing: -0.018em; text-wrap: balance; }
h2 { font-weight: 760; font-stretch: 110%; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-weight: 720; font-stretch: 108%; font-size: clamp(19px, 1.8vw, 21px); line-height: 1.2; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono, .fig { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-soft); max-width: 58ch; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.small { font-size: 14.5px; line-height: 1.45; }
.stack > * + * { margin-top: var(--gap, 16px); }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--docket); color: var(--ink); padding: 12px 16px; border: 2px solid var(--ink); border-radius: var(--r); font-weight: 700; }
.skip:focus { left: 8px; }

/* Deadline strip */
.strip { background: var(--ink); color: var(--paper); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 44px; padding-block: 6px; font-size: 14px; line-height: 1.35; }
.strip-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-on-ink); }
.strip-date { display: inline-flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.strip-date strong { font-family: var(--font-mono); font-weight: 700; }
.strip-days { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; background: var(--paper); color: var(--ink); padding: 2px 7px; border-radius: 2px; }
.strip-link { margin-left: auto; color: var(--paper); min-height: 32px; display: inline-flex; align-items: center; font-weight: 700; }
.strip-link:hover { color: #fff; }
.strip :focus-visible { outline-color: var(--paper); }

/* Masthead and nav */
.masthead { border-bottom: 2px solid var(--ink); background: var(--paper); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 64px; flex-wrap: wrap; }
.wordmark { text-decoration: none; color: var(--ink); font-family: var(--font-head); font-stretch: 122%; font-size: 21px; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.wordmark:hover { color: var(--ink); }
.wm-a { font-weight: 850; }
.wm-b { font-weight: 500; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; justify-content: flex-end; }
.site-nav a { padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.site-nav a:hover { background: var(--sage); color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--green); }
.menu-toggle { display: none; min-height: 44px; min-width: 76px; padding: 0 14px; background: transparent; border: 2px solid var(--ink); border-radius: var(--r); font-weight: 700; font-size: 15px; cursor: pointer; }
.menu-toggle:active { background: var(--sage); }
@media (max-width: 899px) {
  .js .menu-toggle { display: inline-block; }
  .js .site-nav { display: none; flex-basis: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav { flex-basis: 100%; border-top: 1px solid var(--rule); padding: 8px 0 16px; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { min-height: 48px; display: flex; font-size: 17px; border-bottom: 1px solid var(--rule); margin: 0; padding: 0; }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--rule); box-shadow: inset 4px 0 0 var(--green); padding-left: 12px; }
}
@media (min-width: 900px) { .menu-toggle { display: none !important; } }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); margin-top: clamp(64px, 10vw, 120px); }
.footer-inner { padding-block: 40px 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.footer-about { flex: 1.4 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-about .wordmark { align-self: flex-start; }
.footer-desc { max-width: 50ch; font-size: 16px; }
.footer-disclosure { border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; max-width: 60ch; font-size: 15px; }
.footer-nav { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.footer-nav .eyebrow { margin-bottom: 6px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.footer-nav a { display: block; padding: 10px 0; color: var(--ink); }
.footer-meta { border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }

/* Page sections */
.page-head { padding-top: clamp(24px, 4vw, 48px); }
.section { padding-top: clamp(40px, 6vw, 64px); }
.rule-top { border-top: 2px solid var(--ink); }
.cols { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.col-main { flex: 1.3 1 520px; min-width: 0; }
.col-aside { flex: 1 1 360px; min-width: 0; max-width: 480px; }
.head-col { flex: 0 1 270px; min-width: 0; }
.body-col { flex: 1 1 560px; min-width: 0; }
.title-row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; }
.title-row > div:first-child { flex: 1 1 560px; min-width: 0; }
.meta-block { border-left: 2px solid var(--ink); padding-left: 14px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: var(--ink-2); flex: 0 1 300px; }
@media (min-width: 900px) { .sticky { position: sticky; top: 16px; } }

/* Breadcrumbs */
.crumbs { font-size: 14px; color: var(--ink-2); padding-top: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--dash); }
.crumbs a { min-height: 32px; display: inline-flex; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: var(--r); border: 2px solid var(--green); background: var(--green); color: var(--docket); font-weight: 750; font-size: 16.5px; line-height: 1; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--green-hover); border-color: var(--green-hover); color: var(--docket); text-decoration: none; }
.btn:active { background: var(--green-active); border-color: var(--green-active); transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--green-disabled); border-color: var(--green-disabled); color: var(--paper); cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { background: var(--green-loading); border-color: var(--green-loading); cursor: progress; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--sage); border-color: var(--ink); color: var(--ink); }
.btn-secondary:active { background: #D3DDCF; border-color: var(--ink); }
.btn-secondary:disabled { background: transparent; color: var(--dash); border-color: var(--dot); }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; padding: 0; min-height: 44px; color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 700; cursor: pointer; }
.btn-text:hover { color: var(--green-active); text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field-label { font-weight: 700; font-size: 16px; }
.hint { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.error-msg { font-weight: 700; font-size: 15px; color: var(--red); }
.error-msg:empty { display: none; }
.input-wrap { position: relative; }
.input { width: 100%; height: 52px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--docket); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 19px; padding: 0 14px; }
.input:focus { outline: 3px solid var(--green); outline-offset: 1px; }
.input[aria-invalid="true"] { border-color: var(--red); }
.input:disabled { background: #EFEBE2; border-color: var(--dot); color: #6E6C63; }
.input-text { font-family: var(--font-body); font-size: 17px; }
.has-prefix .input { padding-left: 50px; }
.prefix { position: absolute; left: 2px; top: 2px; bottom: 2px; width: 38px; display: flex; align-items: center; justify-content: center; background: var(--sage); border-right: 1px solid var(--rule-docket); font-family: var(--font-mono); font-weight: 700; border-radius: 1px 0 0 1px; pointer-events: none; }
.has-suffix .input { padding-right: 72px; }
.suffix { position: absolute; right: 14px; top: 0; bottom: 0; display: flex; align-items: center; font-size: 15px; color: var(--ink-2); pointer-events: none; }
select.input { font-family: var(--font-body); font-size: 17px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px 24px; }

/* Segmented control */
.segmented { display: inline-flex; flex-wrap: wrap; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--docket); }
.segmented button { min-height: 48px; min-width: 52px; padding: 0 16px; border: 0; border-left: 2px solid var(--ink); background: var(--docket); font-weight: 700; cursor: pointer; }
.segmented button:first-child { border-left: 0; }
.segmented button:hover { text-decoration: underline; text-underline-offset: 3px; }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.segmented button:focus-visible { outline-offset: -4px; outline-color: var(--green); }

/* Fieldsets (numbered form parts) */
.fieldset { border: 0; margin: 0; padding: 20px 0 0; border-top: 2px solid var(--ink); min-width: 0; }
.fieldset + .fieldset { margin-top: 36px; }
.fieldset legend { padding: 0; float: left; width: 100%; display: flex; gap: 12px; align-items: baseline; margin-bottom: 18px; }
.fieldset legend + * { clear: both; }
.legend-num { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.legend-title { font-family: var(--font-head); font-weight: 740; font-stretch: 108%; font-size: 22px; line-height: 1.2; }
.fieldset-body { display: flex; flex-direction: column; gap: 22px; }

/* Checkbox rows */
.check-list { border-top: 2px solid var(--ink); }
.check-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 12px; border-bottom: 1px solid var(--rule); cursor: pointer; }
.check-row:hover { background: var(--sage); }
.check-row:has(input:checked) { background: var(--sage-selected); }
.check-row input { width: 24px; height: 24px; margin: 1px 0 0; flex: none; accent-color: var(--green); }
.check-row strong { display: block; font-size: 17px; }
.check-row span span { display: block; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }

/* Notices */
.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r); padding: 14px 16px; font-size: 15.5px; line-height: 1.5; }
.notice::before { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 14px; }
.notice-warn { background: var(--ochre-tint); border: 1.5px solid var(--ochre-edge); }
.notice-warn::before { content: "!"; border: 2px solid var(--ink); }
.notice-info { background: var(--sage); border: 1.5px solid var(--green); }
.notice-info::before { content: "i"; border: 2px solid var(--green); color: var(--green); }
.error-summary { border: 3px solid var(--red); background: var(--docket); border-radius: var(--r); padding: 16px 18px; }
.error-summary h2 { font-size: 20px; margin-bottom: 8px; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--red); font-weight: 700; }

/* Docket */
.docket { filter: drop-shadow(0 1px 0 var(--rule-docket)) drop-shadow(0 8px 16px rgba(27, 28, 25, 0.075)); }
.docket-perf { height: 10px; background: radial-gradient(circle at 7px 0, var(--paper) 4.2px, var(--docket) 4.8px) 0 0 / 14px 10px repeat-x; }
.docket-body { background: var(--docket); padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.docket-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.docket-title { font-weight: 700; }
.docket-date { color: var(--ink-2); }
.docket-dash { border: 0; border-top: 1.5px dashed var(--dash); margin: 0; }
.docket-hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 20px; }
.docket-hero-label { font-size: 15px; color: var(--ink-2); }
.docket-hero-value { line-height: 1; margin-top: 4px; }
.fig-xl { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: clamp(42px, 5vw, 54px); letter-spacing: -0.03em; color: var(--green); }
.fig-m { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 28px; }
.docket-unit { font-size: 15px; color: var(--ink-2); }
.docket-hero-side { text-align: right; }
.docket-lead { font-size: 15.5px; }
.docket-rows { margin: 0; }
.docket-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dotted var(--dot); }
.docket-row dt { font-size: 15px; }
.docket-row dd { margin: 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 16px; white-space: nowrap; text-align: right; }
.docket-note { display: block; font-family: var(--font-mono); font-size: 12px; line-height: 1.45; color: var(--ink-2); margin-top: 2px; }
.docket-row.is-subtotal dt, .docket-row.is-subtotal dd { font-weight: 800; }
.docket-row.is-total { border-bottom: 3px double var(--ink); }
.docket-row.is-total dt, .docket-row.is-total dd { font-weight: 800; }
.docket-placeholder { display: flex; flex-direction: column; gap: 14px; padding: 6px 0; }
.docket-placeholder span { display: block; border-bottom: 1px dotted var(--dot); height: 14px; }
.docket-placeholder span:nth-child(2) { width: 80%; }
.docket-placeholder span:nth-child(3) { width: 60%; }
.docket-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 4px; }
.docket-footnote { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; flex: 1 1 auto; }
.stamp { flex: none; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--green); border: 1.5px solid var(--green); border-radius: var(--r); padding: 5px 7px; transform: rotate(-2deg); line-height: 1.3; text-align: center; }
.docket-empty-title { font-family: var(--font-head); font-weight: 720; font-size: 22px; }

/* Referral card */
.referral { border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--docket); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.referral-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: 1.5px solid var(--ink); border-radius: 2px; padding: 2px 6px; white-space: nowrap; }
.tag-none { border-color: var(--dash); color: var(--ink-2); }
.disclosure { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }

/* Byline and stamps */
.byline-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 12px 0; }
.byline { display: flex; gap: 12px; align-items: center; }
.initials { width: 44px; height: 44px; background: var(--ink); color: var(--paper); font-family: var(--font-head); font-weight: 800; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; flex: none; }
.initials-lg { width: 64px; height: 64px; font-size: 24px; }
.byline-cred { font-size: 13.5px; color: var(--ink-2); }
.checked-stamp { font-family: var(--font-mono); font-size: 12.5px; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 6px 10px; }

/* Lists of things */
.tool-index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.tool-index li { border-bottom: 1px solid var(--rule); }
.tool-index a { display: grid; grid-template-columns: 36px 1fr auto; gap: 4px 12px; align-items: baseline; padding: 14px 8px 14px 0; color: var(--ink); text-decoration: none; }
.tool-index a:hover { background: var(--sage); }
.tool-num { font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); padding-left: 4px; }
.tool-name { font-family: var(--font-head); font-weight: 700; font-stretch: 108%; font-size: 19px; display: block; }
.tool-desc { display: block; font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.tool-time { font-family: var(--font-mono); font-size: 13px; color: var(--green); white-space: nowrap; }

.deadline-list { list-style: none; margin: 0; padding: 0; }
.deadline-list li { display: grid; grid-template-columns: 76px 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.dl-date { font-family: var(--font-mono); line-height: 1.1; }
.dl-day { display: block; font-size: 26px; font-weight: 700; }
.dl-month { display: block; font-size: 13px; color: var(--ink-2); }
.dl-what { font-weight: 700; font-size: 17px; }
.dl-who { display: block; font-weight: 400; font-size: 14.5px; color: var(--ink-2); }
.pill { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 2px; background: var(--sage); white-space: nowrap; }
.pill-soon { background: var(--ink); color: var(--paper); }

.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); column-gap: 40px; row-gap: 32px; }
.topic { border-top: 2px solid var(--ink); padding-top: 14px; }
.topic h3 { margin-bottom: 6px; }
.topic ul { list-style: none; margin: 0; padding: 0; }
.topic a { display: block; padding: 8px 0; font-size: 16px; }

/* Tables */
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
thead th { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
td.num, th.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
tr.is-next td { background: var(--sage); }

/* Prose (guides) */
.prose { font-size: 18px; line-height: 1.65; max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; scroll-margin-top: 20px; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose table { font-size: 16px; }
.prose .notice, .prose .referral { font-size: 16px; }
.summary-box { border: 2px solid var(--ink); border-radius: var(--r); background: var(--docket); padding: 20px 22px; max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.summary-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.summary-box p { font-size: 18px; line-height: 1.55; }
.toc { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: toc; }
.toc li { border-bottom: 1px solid var(--rule); counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 10px 0; color: var(--ink); text-decoration: none; font-size: 15.5px; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); padding-top: 2px; }
.toc a:hover { background: var(--sage); }
.sources { padding-left: 1.3em; font-size: 15px; }
.sources li + li { margin-top: 8px; }
.checked-on { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }
.related { display: flex; flex-wrap: wrap; gap: 16px; }
.related a { flex: 1 1 260px; display: block; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 16px 18px; text-decoration: none; color: var(--ink); }
.related a:hover { background: var(--sage); }
.related .is-tool { background: var(--sage); border-color: var(--sage-edge); }
.related strong { display: block; font-family: var(--font-head); font-weight: 720; font-size: 19px; margin-top: 4px; }

/* Comparison */
.verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 32px; border-top: 2px solid var(--ink); padding-top: 18px; }
.verdicts p { font-size: 14.5px; color: var(--ink-2); }
.verdicts a { font-family: var(--font-head); font-weight: 740; font-stretch: 108%; font-size: 22px; }
.compare-table { min-width: 880px; }
.compare-table th[scope="row"] { position: sticky; left: 0; background: var(--paper); font-weight: 700; width: 170px; z-index: 1; }
.compare-table td.is-pick { background: var(--sage); }
.compare-table td, .compare-table th { padding-left: 12px; }
.price { font-family: var(--font-mono); font-weight: 700; font-size: 26px; display: block; }
.product-cards { display: flex; flex-direction: column; gap: 20px; }
.product-card { border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--docket); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.product-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 15.5px; }
.product-card dt { font-weight: 700; }
.product-card dd { margin: 0; }
@media (min-width: 900px) { .only-mobile { display: none !important; } }
@media (max-width: 899px) { .only-desktop { display: none !important; } }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--docket); border-top: 2px solid var(--ink); box-shadow: 0 -6px 16px rgba(27, 28, 25, 0.08); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-cta[hidden] { display: none; }
.sticky-cta .btn { min-height: 48px; }

/* Bands */
.band-sage { background: var(--sage); border-block: 1px solid var(--sage-edge); padding-block: 32px; }
.box-sage { background: var(--sage); border-radius: var(--r); padding: 18px 20px; }
.card-ink { border: 2px solid var(--ink); border-radius: var(--r); padding: 20px; background: var(--docket); }

/* Print: just the docket and what it says */
@media print {
  .site-header, .site-footer, form, .referral, .actions, .no-print { display: none !important; }
  body { background: #fff; }
  .docket { filter: none; }
}

/* Small spacing helper and comparison table header */
.section-sm { padding-top: 20px; }
.compare-table thead th.is-pick, .compare-table td.is-pick { background: var(--sage); }
.compare-table thead th { text-transform: none; letter-spacing: 0; font-family: var(--font-head); font-size: 20px; font-weight: 740; color: var(--ink); vertical-align: bottom; }
.compare-table thead .tag { font-family: var(--font-mono); font-size: 11px; vertical-align: middle; margin-left: 6px; }
.tbl-name { white-space: nowrap; }
.compare-table .btn { min-height: 48px; padding: 0 16px; font-size: 15px; }
.cost-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 12px; font-weight: 700; }
.cost-total .fig { font-size: 22px; }
.after-result { margin-top: 20px; }
.warnings { margin-top: 16px; }
.warnings:not(:has(:not([hidden]))) { margin-top: 0; }
.email-input { flex: 1 1 220px; width: auto; }

/* Home */
.home-top { padding-top: clamp(32px, 6vw, 72px); }
.home-h1 { max-width: 15ch; }
.home-top .lead { max-width: 54ch; }
.rule-top-full { border-top: 2px solid var(--ink); margin-top: clamp(40px, 6vw, 64px); }
.title-row h2 { flex: 1 1 auto; }
.done-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; }
.w-60ch { max-width: 60ch; }
.w-66ch { max-width: 66ch; }
.w-640 { max-width: 640px; }
.w-820 { max-width: 820px; }
.pad-top { padding-top: 16px; }
.eyebrow-green { color: var(--green); }
