:root{--ink:#231f1a;--paper:#fcfaf5;--accent:#865600;--soft:#f5ecd9;--muted:#5b5853;--line:#e0ded9;--line-strong:#a19e99;--accent-soft:#eee6d8;}
/* base.css: shared by every theme. Palette custom properties (--ink, --paper,
   --accent, --soft, --muted, --line, --line-strong, --accent-soft) are written
   above this file by build.js from site.json. Themes override the --font-*,
   --radius* and component looks. Mobile first. System fonts only. */
:root {
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font-body);
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 6px; --radius-sm: 4px; --radius-lg: 10px;
  --measure: 70ch;
  --gutter: 16px;
  --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.5rem; --step-3: clamp(1.75rem, 1.3rem + 2.2vw, 2.6rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--step-3); letter-spacing: -.01em; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p, ul, ol { margin: 0 0 1em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }
.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* header + nav */
.site-header { position: relative; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1; }
.brand svg { width: 38px; height: 38px; flex: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a { color: inherit; text-decoration: none; font-weight: 500; padding: 6px 0; display: inline-block; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font: inherit; font-weight: 600; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; } .nav-toggle-bars::after { top: 5px; }
@media (max-width: 859px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-header .nav { display: none; width: 100%; order: 10; }
  .js.nav-open .site-header .nav { display: block; }
  .js .site-header .nav ul { flex-direction: column; gap: 0; }
  .js .site-header .nav a { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .js .header-cta { display: none; }
  .js.nav-open .header-cta { display: inline-flex; order: 11; }
}
@media (min-width: 860px) { .nav { margin-left: auto; } }
@media (max-width: 420px) {
  .header-inner { gap: 10px 12px; }
  .brand { font-size: 1.1rem; gap: 8px; }
  .brand svg { width: 32px; height: 32px; }
  .nav-toggle { padding: 0 10px; }
}

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.3rem; border-radius: var(--radius); border: 2px solid transparent; font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.button--primary { background: var(--accent); color: #fff; }
.button--primary:hover { filter: brightness(.92); text-decoration: none; }
.button--small { min-height: 40px; padding: .45rem 1rem; font-size: .95rem; background: var(--accent); color: #fff; }
.button--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.button--light { background: #fff; color: var(--ink); }

/* breadcrumbs */
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }

/* hero */
.hero { padding-block: 28px 24px; }
.hero-inner > * { max-width: 860px; }
.kicker { font-size: .85rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.lede { font-size: 1.15rem; color: var(--ink); max-width: 62ch; }
.hero-actions { margin-top: 1.25rem; }
.dateline { font-size: .9rem; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 2.4rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }

/* layout */
.layout { display: grid; gap: 40px; padding-block: 12px 56px; }
.layout--single .content { max-width: 760px; }
.layout--home .content { max-width: none; }
.layout--home .prose { max-width: 760px; }
@media (min-width: 980px) { .layout:not(.layout--single):not(.layout--home) { grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; } }
.content { min-width: 0; }

/* prose */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.1em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--soft); padding: .1em .3em; border-radius: 3px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--soft); font-weight: 650; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; }
.callout { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 1rem 1.2rem; margin: 0 0 1.4em; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p:last-child { margin-bottom: 0; }
.placeholder { background: #ffe9a8; color: #4d3200; outline: 2px dashed #8a6100; padding: .1em .3em; }

/* FAQ */
.faq { margin-top: 2.4rem; }
.faq-item { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.faq-q { font-size: 1.1rem; margin: 0 0 .4em; }
.faq-a p:last-child { margin-bottom: 0; }

/* call to action band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 1.3rem 1.4rem; margin: 2rem 0; background: var(--soft); border-radius: var(--radius); }
.cta-copy { flex: 1 1 280px; }
.cta-copy p { margin: 0; }
.cta-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: .25rem !important; }

/* lead form */
.lead-form { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; margin: 2rem 0; max-width: 760px; position: relative; scroll-margin-top: 16px; }
.lead-form .form-title { font-size: 1.35rem; margin-top: 0; }
.form-intro { color: var(--ink); }
.form-grid { display: grid; gap: 14px 18px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.lead-form--compact .form-grid { grid-template-columns: 1fr; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.hint { font-size: .85rem; color: var(--muted); margin: -2px 0 6px; }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"], .lead-form select, .lead-form textarea { display: block; width: 100%; min-height: 46px; padding: .6rem .75rem; font: inherit; font-size: 1rem; color: #16191c; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.lead-form textarea { min-height: 110px; resize: vertical; }
.lead-form input:focus-visible, .lead-form select:focus-visible, .lead-form textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; font-size: .95rem; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lead-form .button { width: 100%; }
@media (min-width: 620px) { .lead-form:not(.lead-form--compact) .button { width: auto; } }

/* cards */
.cards-section { margin-top: 3rem; }
.cards-title { font-size: var(--step-2); }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { position: relative; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.card-link { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--ink); display: block; margin-bottom: .35rem; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-link { color: var(--accent); text-decoration: underline; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.card-link:focus-visible { outline: none; }

/* sources + updated */
.sources { margin-top: 2.5rem; font-size: .95rem; }
.sources-title { font-size: 1.1rem; }
.sources ul { padding-left: 1.2em; }
.updated { margin-top: 2rem; font-size: .9rem; color: var(--muted); }

/* sidebar */
.sidebar { display: grid; gap: 22px; align-content: start; font-size: .95rem; }
@media (min-width: 980px) { .sidebar { position: sticky; top: 20px; } }
.side-block { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.side-title { font-family: var(--font-head); font-weight: 700; margin-bottom: .5rem; }
.side-block ol, .side-block ul { margin: 0; padding-left: 1.1em; }
.side-block li { margin-bottom: .35em; }
.side-quote .button { width: 100%; }

/* footer */
.site-footer { background: var(--ink); color: #f3f3f1; padding-top: 44px; margin-top: 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 28px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
.footer-title { font-weight: 700; margin-bottom: .5rem; color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .4rem; }
.brand--footer { color: #fff; margin-bottom: 14px; }
.disclosure { max-width: 60ch; color: #e6e6e3; }
.footer-base { border-top: 1px solid rgba(255,255,255,.18); padding-block: 18px 28px; font-size: .85rem; color: #d6d6d2; }
.footer-base p { margin: 0; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .sidebar, .lead-form, .cta-band { display: none; } }

/* Figures: hero and in-body images. Width and height come from the file, so
   the page doesn't jump while they load. */
.figure { margin: 1.6rem 0; }
.figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--soft); }
.figure--lead { margin-top: 0; }
.figure figcaption { margin-top: .5rem; font-size: .88rem; color: var(--muted); }

/* slate: technical. Dark header, a spec panel beside the headline, a grid
   background in the hero, numbered sections, hard corners, monospace labels. */
:root {
  --font-head: "Inter Display", "Segoe UI Variable Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 0; --radius-sm: 0; --radius-lg: 0;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; }
.kicker, .crumbs, .spec-title, .side-title, .footer-title, .topstrip, .button, dt, .updated, .cta-title { font-family: var(--font-mono); }

.site-header { background: var(--ink); color: #fff; }
.topstrip { background: rgba(0,0,0,.28); border-bottom: 1px solid rgba(255,255,255,.12); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #d9dde2; padding-block: 6px; }
.site-header .brand { text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; font-family: var(--font-mono); }
.site-header .nav a { color: #fff; font-size: .95rem; }
.site-header .nav a[aria-current="page"] { text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-decoration-line: underline; }
.nav-toggle { border-color: rgba(255,255,255,.6); }
.js .site-header .nav a { border-top-color: rgba(255,255,255,.15); }
.button { text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; font-weight: 700; }
.button--small { font-size: .8rem; }

.crumbs { text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; }
.hero { border-bottom: 2px solid var(--ink); background-color: var(--paper); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; padding-block: 36px; margin-top: 10px; }
.hero-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px; } .hero-grid--single { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { background: var(--paper); padding: 4px 0; }
.kicker { color: var(--accent); font-size: .78rem; letter-spacing: .12em; }
.kicker::before { content: "// "; color: var(--muted); }
.spec-panel { background: #fff; border: 2px solid var(--ink); }
.spec-title { margin: 0; background: var(--ink); color: #fff; padding: .5rem .9rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.spec-panel dl { margin: 0; }
.spec-panel dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 10px; padding: .65rem .9rem; border-bottom: 1px dashed var(--line-strong); }
.spec-panel dl div:last-child { border-bottom: 0; }
.spec-panel dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: .2em; }
.spec-panel dd { margin: 0; font-weight: 650; }

.layout { padding-top: 34px; }
.prose { counter-reset: sec; }
.prose > h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-family: var(--font-mono); color: var(--accent); font-size: .7em; margin-right: .6em; vertical-align: .12em; }
.prose h2:not(.form-title) { border-top: 2px solid var(--ink); padding-top: .6em; }
thead th { background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.table-wrap { border: 2px solid var(--ink); }
.callout { background: #fff; border: 1px solid var(--ink); border-left: 6px solid var(--accent); }
.faq-item { border-top: 1px dashed var(--line-strong); }
.faq-q { font-weight: 750; }

.cta-band { background: var(--ink); color: #fff; }
.cta-band .cta-title { color: #fff; text-transform: uppercase; font-size: .95rem; letter-spacing: .06em; }
.lead-form { background: #fff; border: 2px solid var(--ink); }
.lead-form .form-title { text-transform: none; }

.card { border: 1px solid var(--ink); background: #fff; border-top: 4px solid var(--ink); }
.card:hover { border-top-color: var(--accent); }
.side-block { border: 1px solid var(--ink); background: #fff; }
.side-title { text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }
.side-quote { border-top: 4px solid var(--accent); }

.site-footer { border-top: 4px solid var(--accent); }
.footer-title { text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }
.brand--footer { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
