/* Lead Inventory Desk, shared styles.
   Identity: warm record paper, black ink, one ledger green. Tables use green-bar rows like an
   inventory printout; the hero summary is set like a typed service record card. */

:root {
  --paper: #f4f1e8;
  --card: #fffdf7;
  --manila: #fbf6e6;
  --ink: #1b1e1c;
  --muted: #4f554f;
  --rule: #cfc7b5;
  --rule-soft: #e2dccd;
  --accent: #1f5a44;
  --accent-deep: #164233;
  --band: #e4ece3;
  --tint: #edf2ea;
  --display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", ui-monospace, monospace;
  --wrap: 1160px;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-wrap: break-word;
}
@media (min-width: 960px) { body { font-size: 1.125rem; } }

main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
svg { display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Type */
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.15rem, 1.25rem + 3.9vw, 3.75rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.6rem); line-height: 1.12; }
h3 { font-size: 1.18rem; line-height: 1.3; font-weight: 700; }
h4 { font-size: 1.05rem; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
p + p { margin-top: 0.9em; }
strong { font-weight: 700; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; color: var(--accent-deep); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* Header: full nav on wide screens, a native details menu on narrower ones (no script). */
.site-header { background: var(--card); border-bottom: 1px solid var(--rule); position: relative; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 24px; }
.site-nav a { display: inline-block; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  padding: 8px 14px; border: 2px solid var(--ink); border-radius: 4px; font-weight: 600; font-size: 0.95rem; color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 16px; height: 16px; }
.menu[open] summary { background: var(--ink); color: #fff; }
.menu-panel { padding: 8px var(--gutter) 18px; border-top: 1px solid var(--rule); background: var(--card); }
.menu-panel ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); display: grid; gap: 0; }
@media (min-width: 560px) { .menu-panel ul { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.menu-panel a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); color: var(--ink); text-decoration: none; font-weight: 600; }
.menu-panel a:hover { color: var(--accent); }
.menu-panel .btn { margin-top: 14px; width: 100%; color: #fff; border-bottom: 2px solid var(--accent); }
@media (max-width: 1079px) {
  .site-nav { display: none; }
  .menu { display: block; }
  .menu-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; box-shadow: 0 18px 30px -20px rgba(40, 30, 10, 0.4); }
  .menu:not([open]) .menu-panel { display: none; }
}
@media (max-width: 599px) {
  .brand { font-size: 1.12rem; gap: 8px; }
  .brand svg { width: 30px; height: 30px; }
  .header-tools .header-cta { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border: 2px solid var(--accent); border-radius: 4px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.25;
  text-decoration: none; text-align: center;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--tint); color: var(--accent-deep); }
.btn-small { min-height: 40px; padding: 8px 14px; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 479px) { .actions .btn { width: 100%; } }

/* Sections */
.section { padding-block: clamp(60px, 8vw, 104px); border-top: 1px solid var(--rule); }
.section-alt { background: var(--card); }
.label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
  font-family: var(--mono); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}
.label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.intro { max-width: 66ch; margin-top: 16px; color: var(--muted); font-size: 1.05em; }
.measure { max-width: 66ch; }
.intro.ink, .ink { color: var(--ink); }
.cite { margin-top: 8px; font-family: var(--mono); font-size: 0.84rem; color: var(--muted); }
.cite a { color: var(--muted); }
.cite a:hover { color: var(--accent); }
.fine { margin-top: 14px; font-size: 0.93rem; color: var(--muted); }

/* Hero */
.hero { padding-block: clamp(44px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.eyebrow {
  font-family: var(--mono); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hero h1 { max-width: 17ch; }
.hero h1 .date { color: var(--accent); }
.lede { margin-top: 22px; max-width: 60ch; font-size: 1.08em; }
.lede + .lede { margin-top: 12px; }
.lede strong { font-weight: 700; }

/* Record card (hero summary) */
.record {
  background: var(--manila); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(60, 45, 10, 0.05), 0 22px 40px -28px rgba(60, 45, 10, 0.45);
}
.record-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  background: var(--accent); color: #fff; padding: 12px 20px;
  font-family: var(--mono); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.record-head h2 { font: inherit; color: inherit; letter-spacing: inherit; }
.record-date { padding: 20px 20px 6px; display: grid; gap: 2px; }
.record-k { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.record-v { font-family: var(--mono); font-weight: 700; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.5rem); line-height: 1.1; color: var(--ink); }
.record-lines { list-style: none; margin: 0; padding: 6px 20px 4px; }
.record-lines li {
  display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0;
  border-bottom: 1px solid #d3dccd;
}
.record-lines li:last-child { border-bottom: 0; }
.record-lines .what { font-weight: 600; line-height: 1.4; }
.record-lines .when { font-family: var(--mono); font-size: 0.86rem; color: var(--accent); font-weight: 700; }
@media (min-width: 480px) {
  .record-lines li { grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; }
  .record-lines .when { text-align: right; }
}
.record-foot {
  border-top: 1px dashed var(--rule); padding: 12px 20px 16px;
  font-family: var(--mono); font-size: 0.82rem; color: var(--muted);
}
.record-foot a { color: var(--muted); }

.record-stat {
  margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--accent); background: var(--card);
  font-size: 0.97rem;
}
.record-stat .cite { display: block; margin-top: 6px; }

/* Rule section */
.rule-grid { display: grid; gap: 48px; margin-top: 40px; }
@media (min-width: 980px) { .rule-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }

.duties { list-style: none; margin: 0; padding: 0; counter-reset: duty; display: grid; gap: 28px; }
.duties > li { counter-increment: duty; display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; }
.duties > li::before {
  content: counter(duty); grid-row: span 3;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent); font-family: var(--mono); font-weight: 700;
}
.duties h3 { margin-top: 6px; }
.duties p { margin-top: 6px; }
.duties .cite { margin-top: 6px; }

.timeline-box { background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 24px 22px; align-self: start; }
@media (min-width: 980px) { .timeline-box { position: sticky; top: 24px; } }
.timeline-box h3 { font-family: var(--display); font-size: 1.45rem; }
.timeline { list-style: none; margin: 18px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 20px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: 5px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--muted);
}
.timeline li::after { content: ""; position: absolute; left: 10px; top: 24px; bottom: 0; width: 2px; background: var(--rule); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; font-family: var(--mono); font-weight: 700; font-size: 0.95rem; }
.timeline p { font-size: 0.97rem; color: var(--muted); margin-top: 2px; }
.timeline .key::before { background: var(--accent); border-color: var(--accent); width: 16px; height: 16px; left: 3px; top: 6px; }
.timeline .key time { color: var(--accent); font-size: 1.05rem; }
.timeline .key p { color: var(--ink); font-weight: 600; }
.timeline-box .cite { margin-top: 18px; }

/* Categories */
.subhead { margin-top: 72px; font-family: var(--display); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.cats { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat { background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.cat svg { width: 100%; height: auto; max-width: 220px; }
.cat p { font-size: 0.97rem; }
.cat .tag {
  justify-self: start; font-family: var(--mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--ink); border-radius: 3px;
}

.diagram { margin: 36px 0 0; background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 22px 20px; }
.diagram svg { width: 100%; height: auto; }
.diagram-wide { max-width: 860px; margin-inline: auto; }
.diagram-tall { display: none; }
@media (max-width: 639px) {
  .diagram-wide { display: none; }
  .diagram-tall { display: block; max-width: 340px; margin-inline: auto; }
}
.diagram figcaption { margin-top: 14px; font-size: 0.97rem; color: var(--muted); max-width: 72ch; }

.notes { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 900px) { .notes { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.note { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--accent); border-radius: 6px; padding: 24px 22px; }
.note h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 10px; }
.note ul { margin: 14px 0 0; padding-left: 20px; }
.note li + li { margin-top: 6px; }

.sources { margin-top: 40px; padding-top: 22px; border-top: 1px dashed var(--rule); }
.sources h3 { font-size: 1rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.sources ul { margin: 12px 0 0; padding-left: 20px; columns: 1; font-size: 0.97rem; }
@media (min-width: 900px) { .sources ul { columns: 2; column-gap: 48px; } }
.sources li { margin-bottom: 8px; break-inside: avoid; }

/* Kit */
.kit-grid { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 980px) { .kit-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; } }
.kit-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.kit-list li { display: grid; grid-template-columns: 34px 1fr; gap: 4px 14px; padding: 20px 0; border-bottom: 1px solid var(--rule-soft); }
.kit-list svg { grid-row: span 2; width: 26px; height: 26px; margin-top: 2px; }
.kit-list p { color: var(--muted); }
.side-panel { display: grid; gap: 16px; align-content: start; }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 22px 20px; }
.panel h3 { margin-bottom: 8px; }
.panel ul { margin: 10px 0 0; padding-left: 20px; }
.panel li + li { margin-top: 6px; }
.panel-accent { background: var(--tint); border-color: #c5d6c6; }

/* Prices: green-bar table */
.price-grid { display: grid; gap: 32px; margin-top: 36px; }
@media (min-width: 980px) { .price-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; } }
.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--card); }
.ledger caption {
  caption-side: top; text-align: left; padding: 0 0 12px; font-weight: 700; font-size: 1.05rem;
}
.ledger caption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.95rem; }
.ledger th, .ledger td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule-soft); }
.ledger thead th {
  font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink); background: var(--card);
}
.ledger tbody tr:nth-child(odd) { background: var(--band); }
.ledger tbody th { font-weight: 600; }
.ledger .num { text-align: right; font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.ledger .price { font-size: 1.35rem; }
.price-notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.price-notes li { position: relative; padding-left: 26px; color: var(--muted); }
.price-notes li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 2px; background: var(--accent); }
.ledger tbody tr.total { background: var(--card); }
.ledger tr.total th, .ledger tr.total td { border-top: 2px solid var(--ink); font-weight: 700; }
.ledger tbody th .unit { margin-top: 4px; line-height: 1.45; font-size: 0.93rem; }
.ledger .unit { display: block; font-family: var(--body); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 479px) { .ledger th, .ledger td { padding: 14px 10px; } .ledger .price { font-size: 1.15rem; } }

/* Free check */
.check {
  display: grid; gap: 32px; background: var(--card); border: 2px solid var(--accent); border-radius: 8px;
  padding: clamp(24px, 4vw, 48px);
}
@media (min-width: 980px) { .check { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; } }
.check h2 { margin-top: 0; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.check-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule-soft); position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 20px; width: 14px; height: 8px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg);
}
.check-list strong { display: block; }
.check-list span { color: var(--muted); font-size: 0.97rem; }

/* Steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 24px 22px; }
.steps li::before {
  content: "Step " counter(step); display: block; margin-bottom: 10px;
  font-family: var(--mono); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.steps h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Who */
.who-grid { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 900px) { .who-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; } }
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 640px) { .fit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
.fit-list li { padding: 14px 0; border-bottom: 1px solid var(--rule-soft); font-weight: 600; }
.fit-list li span { display: block; font-weight: 400; color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq { display: grid; gap: 0; margin-top: 36px; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--rule-soft); }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { color: var(--ink); }
.faq-item .cite { margin-top: 10px; }

/* Contact */
.contact { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.email-big {
  display: inline-block; margin-top: 18px; font-family: var(--mono); font-weight: 700;
  font-size: clamp(1.1rem, 0.85rem + 1.3vw, 1.6rem); overflow-wrap: anywhere;
}
.legal { font-size: 0.97rem; color: var(--muted); }
.legal p + p { margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--card); padding-block: 36px 44px; font-size: 0.93rem; color: var(--muted); }
.footer-row { display: grid; gap: 18px; }
@media (min-width: 900px) { .footer-row { grid-template-columns: 1fr auto; align-items: start; } }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a { display: inline-block; padding: 4px 0; color: var(--ink); }
.site-footer p + p { margin-top: 6px; }

/* Sample report */
.sample-bar {
  position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff;
  font-size: 0.93rem; line-height: 1.4; padding-block: 10px;
}
.sample-bar .wrap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.sample-bar strong {
  font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; background: #fff; color: var(--ink);
  padding: 1px 8px; border-radius: 2px;
}
.sample-bar a { color: #fff; }
.sample-bar a:hover { color: #fff; }
.sample-bar :focus-visible { outline-color: #fff; }

.report-wrap { padding-block: clamp(36px, 6vw, 72px); }
.report-intro { max-width: 66ch; margin-bottom: 32px; }
.report-intro h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3rem); }
.report-intro p { margin-top: 14px; color: var(--muted); }

.sheet {
  position: relative; background-color: var(--card); border: 1px solid var(--rule); border-radius: 4px;
  box-shadow: 0 30px 50px -40px rgba(60, 45, 10, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='220'%3E%3Ctext x='20' y='150' transform='rotate(-24 160 110)' font-family='Courier New,monospace' font-weight='700' font-size='54' letter-spacing='8' fill='%231b1e1c' fill-opacity='0.045'%3ESAMPLE%3C/text%3E%3C/svg%3E");
}
.sheet-head {
  display: grid; gap: 18px; padding: clamp(20px, 3.5vw, 36px); border-bottom: 2px solid var(--ink);
}
@media (min-width: 760px) { .sheet-head { grid-template-columns: 1fr auto; align-items: end; } }
.sheet-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); line-height: 1.1; }
.sheet-kicker { font-family: var(--mono); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.stamp {
  justify-self: start; font-family: var(--mono); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: 3px solid var(--ink); padding: 6px 14px; transform: rotate(-3deg); font-size: 1rem; line-height: 1.2; text-align: center;
}
.stamp span { display: block; font-size: 0.7rem; letter-spacing: 0.06em; font-weight: 400; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts div { padding: 16px clamp(16px, 3vw, 28px); border-right: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.facts dt { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; font-size: 1.05rem; }

.sheet-sec { padding: clamp(22px, 3.5vw, 36px); border-bottom: 1px solid var(--rule); }
.sheet-sec:last-child { border-bottom: 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.sec-tag { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sheet-sec > p { max-width: 70ch; }
.sheet-sec > p + .ledger { margin-top: 20px; }
.after-sheet { margin-top: 48px; }
.actions.flush { margin-top: 0; }

.headline-num { display: grid; gap: 22px; margin-bottom: 24px; }
@media (min-width: 760px) { .headline-num { grid-template-columns: auto 1fr; align-items: center; gap: 32px; } }
.big-share { font-family: var(--mono); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 4.5rem); line-height: 1; color: var(--ink); }
.big-share small { display: block; font-family: var(--body); font-size: 1rem; font-weight: 600; margin-top: 6px; }

.bar-fig { margin: 0 0 22px; }
.bar-fig svg { width: 100%; height: auto; }
.legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.93rem; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend svg { width: 22px; height: 14px; flex: none; }

.duty-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.duty-list li { display: grid; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--rule-soft); }
@media (min-width: 760px) { .duty-list li { grid-template-columns: 170px 1fr 170px; align-items: baseline; } }
.duty-when { font-family: var(--mono); font-weight: 700; }
.duty-what strong { display: block; }
.duty-what span { color: var(--muted); font-size: 0.97rem; }
.duty-status { font-family: var(--mono); font-size: 0.86rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
@media (min-width: 760px) { .duty-status { text-align: right; } }
.duty-status.flag { color: var(--accent); }

.gap-list { margin: 0; padding-left: 22px; }
.gap-list li { padding-left: 4px; }
.gap-list li + li { margin-top: 12px; }

.next-box { display: grid; gap: 18px; background: var(--tint); border: 1px solid #c5d6c6; border-radius: 6px; padding: 22px 20px; }
@media (min-width: 760px) { .next-box { grid-template-columns: 1fr auto; align-items: center; } }

.sheet-foot { padding: 18px clamp(20px, 3.5vw, 36px) 24px; font-size: 0.9rem; color: var(--muted); background: var(--paper); border-top: 1px solid var(--rule); }
.sheet-foot p + p { margin-top: 8px; }

/* Simple pages */
.page { padding-block: clamp(44px, 7vw, 88px); }
.page h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3rem); max-width: 22ch; }
.page .updated { margin-top: 10px; font-family: var(--mono); font-size: 0.88rem; color: var(--muted); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); margin-top: 40px; margin-bottom: 10px; }
.prose ul { padding-left: 22px; margin: 10px 0 0; }
.prose li + li { margin-top: 6px; }
.prose p + ul, .prose ul + p { margin-top: 10px; }

.notfound { text-align: left; }
.notfound .code { font-family: var(--mono); font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }


/* Countdown inside the record card (filled by a tiny script; hidden without it) */
.record-count { margin-top: 6px; font-family: var(--mono); font-weight: 700; font-size: 0.95rem; color: var(--accent); }
.positioning { margin-top: 18px; font-weight: 600; max-width: 60ch; }

/* Proof strip: real public facts, sourced */
.proof { background: var(--ink); color: #fff; padding-block: 36px 30px; }
.proof h2 { color: #fff; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.proof-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 32px; }
@media (min-width: 640px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof-grid li { border-top: 2px solid #8fb7a4; padding-top: 12px; }
.proof-num { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1.1; }
.proof-grid p { color: #dfe7e2; font-size: 0.97rem; margin-top: 6px; }
.proof-foot { margin-top: 20px; font-size: 0.9rem; color: #c9d6cf; }
.proof a { color: #fff; }
.proof :focus-visible { outline-color: #fff; }

/* Focus section */
.focus-grid { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 980px) { .focus-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; } }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.principles li { padding: 18px 0; border-bottom: 1px solid var(--rule-soft); }
.principles h3 { margin-bottom: 4px; }
.principles p { color: var(--muted); }
.built-on ul { margin: 10px 0 0; padding-left: 20px; }
.built-on li + li { margin-top: 8px; }

/* Look inside the kit: paper previews */
.previews { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 980px) { .previews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.preview { display: grid; gap: 12px; grid-template-rows: auto auto 1fr; }
.preview h4 { font-size: 1.05rem; }
.preview > p { color: var(--muted); font-size: 0.95rem; }
.paper {
  position: relative; background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: 18px 18px 0;
  box-shadow: 0 1px 0 rgba(60, 45, 10, 0.05), 0 18px 30px -24px rgba(60, 45, 10, 0.45); overflow: hidden;
  font-size: 0.84rem; line-height: 1.5; min-height: 380px;
}
.paper .doc-kicker { font-family: var(--mono); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.paper .doc-title { font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.2; margin: 4px 0 10px; }
.paper p + p { margin-top: 8px; }
.paper table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.paper th, .paper td { text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.paper thead th { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1.5px solid var(--ink); }
.paper tbody tr:nth-child(odd) { background: var(--band); }
.paper code { font-family: var(--mono); font-size: 0.78rem; }
.paper ol { margin: 0; padding-left: 20px; }
.paper ol + p { margin-top: 10px; }
.paper .tail { position: relative; color: var(--muted); margin-top: 8px; padding-bottom: 64px; }
.paper .tail::after { content: ""; position: absolute; inset: -6px 0 0 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), #fff 70%); }
.paper .ribbon {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 18px; background: #fff; border-top: 1px dashed var(--rule);
  font-family: var(--mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
}

/* Prices block and buying from us */
.buy { margin-top: 56px; display: grid; gap: 28px; }
@media (min-width: 980px) { .buy { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; } }
.terms { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.terms div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule-soft); }
@media (min-width: 720px) { .terms div { grid-template-columns: 200px 1fr; } }
.terms dt { font-weight: 700; }
.terms dd { margin: 0; }
.supplier { font-style: normal; line-height: 1.7; }
.supplier strong { display: block; }

/* Snapshot teaser and page */
.snap-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; }
@media (min-width: 980px) { .snap-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; } }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.stat-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.stat-list .v { font-family: var(--mono); font-weight: 700; font-size: 1.15rem; text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); }
.table-scroll:focus-visible { outline-offset: 2px; }
.table-scroll .ledger { min-width: 860px; }
.table-scroll .ledger caption { padding: 14px 16px 12px; }
.ledger.compact th, .ledger.compact td { padding: 11px 12px; font-size: 0.95rem; }
.method { margin: 0; padding-left: 22px; }
.method li + li { margin-top: 10px; }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Checklist download */
.dl-card { display: grid; gap: 22px; background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(22px, 4vw, 40px); }
@media (min-width: 900px) { .dl-card { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }
.dl-card svg { width: 64px; height: 80px; }
.dl-card h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.dl-card p { margin-top: 8px; color: var(--muted); }

/* Insights */
.cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--accent); border-radius: 6px; padding: 22px 20px; display: grid; gap: 10px; align-content: start; }
.card h3 { font-family: var(--display); font-size: 1.3rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { text-decoration: underline; }
.card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.card h3 a:focus-visible { outline: none; }
.card .meta { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.card p { color: var(--muted); font-size: 0.97rem; }

.article { padding-block: clamp(40px, 6vw, 80px); }
.article .prose { max-width: 70ch; }
.article h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); max-width: 24ch; }
.article .meta { margin-top: 12px; font-family: var(--mono); font-size: 0.88rem; color: var(--muted); }
.article .standfirst { margin-top: 18px; font-size: 1.12em; }
.article .prose h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); margin-top: 36px; margin-bottom: 8px; }
.article .prose p + p { margin-top: 0.85em; }
.article .prose ol, .article .prose ul { padding-left: 22px; margin: 10px 0 0; }
.article .prose li + li { margin-top: 6px; }
.article .sources { margin-top: 44px; }
.article .cta-box { margin-top: 40px; }

/* Closing call to action */
.closing { background: var(--accent); color: #fff; padding-block: clamp(56px, 8vw, 96px); }
.closing h2 { color: #fff; max-width: 22ch; }
.closing p { color: #e3eee8; max-width: 60ch; margin-top: 14px; font-size: 1.08em; }
.closing .label { color: #cfe3d8; }
.closing .label::after { background: rgba(255, 255, 255, 0.35); }
.closing .btn { background: #fff; color: var(--accent-deep); border-color: #fff; }
.closing .btn:hover { background: var(--tint); color: var(--accent-deep); }
.closing .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.closing .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.closing a { color: #fff; }
.closing :focus-visible { outline-color: #fff; }
.closing-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .closing-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: end; } }
.closing .supplier { color: #e3eee8; font-size: 0.97rem; border-top: 1px solid rgba(255, 255, 255, 0.35); padding-top: 16px; }
.closing .email-big { color: #fff; font-size: clamp(1rem, 0.85rem + 0.6vw, 1.3rem); }

/* Fuller footer */
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; } }
.site-footer h2 { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a { display: inline-block; padding: 4px 0; color: var(--ink); }
.footer-base { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 0.88rem; }


/* Round 2 small rules */
.subhead.flush { margin-top: 0; }
.ledger thead th.num { white-space: normal; }
.card .card-title { font-family: var(--display); font-size: 1.3rem; line-height: 1.25; }
.card .card-title a { color: var(--ink); text-decoration: none; }
.card .card-title a::after { content: ""; position: absolute; inset: 0; }
.card .card-title a:hover { text-decoration: underline; }
.card .card-title a:focus-visible { outline: none; }
.closing-grid > div > p:first-child { margin-top: 0; }
.dl-card .label { margin-bottom: 8px; }

@media print {
  .site-header nav, .skip, .sample-bar a, .actions { display: none; }
  .sample-bar { position: static; }
  body { background: #fff; }
  .section { padding-block: 24px; }
}
