/* Eximford site styles (v6, October 2026)
   Direction: an editorial trading house. Warm paper, navy ink, gold used sparingly.
   Type: Source Serif 4 for headings, Hanken Grotesk for everything else.
   No inline styles in the pages: every look is a class here. */
:root {
  --navy: #0E2240;
  --navy-2: #1B3560;
  --ink: #0E2240;
  --text: #1E2a3d;
  --muted: #586172;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --sand: #F3EFE7;
  --rule: #E2DDD2;
  --rule-2: #CEC6B6;
  --gold: #A8822B;        /* rules, numerals and focus rings only */
  --gold-ink: #7A5B1C;    /* gold that is dark enough for small text */
  --on-navy: #FFFFFF;
  --on-navy-muted: #C3CCDA;
  --on-navy-rule: rgba(255, 255, 255, 0.18);
  --ok: #1D6B45;
  --err: #A3262A;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --space: clamp(72px, 9vw, 120px);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-2); text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
p, ul, ol, dl, dd, figure { margin: 0; }
strong { font-weight: 600; color: var(--ink); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--white); padding: 10px 14px; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-weight: 450; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -0.015em; }
h2 { font-weight: 450; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-weight: 600; font-size: clamp(20px, 1.6vw, 23px); line-height: 1.25; }
.lede { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--muted); max-width: 56ch; }
.label { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.label a { color: inherit; text-decoration: none; }
.label a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.prose { max-width: 66ch; display: flex; flex-direction: column; gap: 18px; font-size: 18px; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; border: 1.5px solid var(--navy); border-radius: 2px; cursor: pointer; }
.btn-solid { background: var(--navy); color: var(--on-navy); }
.btn-solid:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--on-navy); }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--sand); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--sand); border-color: var(--sand); color: var(--navy); }
.btn-ghost-white { background: transparent; color: var(--on-navy); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, 0.08); color: var(--on-navy); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.text-link::after { content: " \2192"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, 0.96); border-bottom: 1px solid var(--rule); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; position: relative; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--text); }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .nav-extra { display: none; }
.header-cta { flex-shrink: 0; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; background: transparent; border: 1px solid var(--rule-2); border-radius: 2px; color: var(--navy); font: 600 15px/1 var(--sans); cursor: pointer; }
.menu-btn .bars { display: inline-flex; flex-direction: column; gap: 4px; }
.menu-btn .bars span { display: block; width: 16px; height: 1.5px; background: currentColor; }

@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .site-header .wrap { gap: 10px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 18px 30px -24px rgba(14, 34, 64, 0.35); font-size: 17px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav .nav-extra { display: block; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section.tight { padding-block: clamp(56px, 6vw, 80px); }
.section + .section:not([class*="band-"]) { border-top: 1px solid var(--rule); }
.band-sand, .band-mist { background: var(--sand); }
.band-navy { background: var(--navy); color: var(--on-navy-muted); }
.band-navy h2, .band-navy h3, .band-navy strong { color: var(--on-navy); }
.band-navy a:not(.btn) { color: var(--on-navy); }
.band-navy .muted, .band-navy .lede { color: var(--on-navy-muted); }
.band-navy .label { color: #D9BE7E; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head > p { color: var(--muted); max-width: 52ch; }
.section-head.solo { grid-template-columns: minmax(0, 1fr); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.split > .side { min-width: 0; }
.split > .main { min-width: 0; }
.split.center { align-items: center; }
.after { margin-top: 36px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 7vw, 104px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px 72px; align-items: end; }
.hero .label { margin-bottom: 22px; }
.hero h1 { max-width: 13em; }
.hero .lede { margin-top: 26px; }
.hero .actions { margin-top: 34px; }
.glance { background: var(--white); border: 1px solid var(--rule); padding: 26px 28px 10px; }
.glance h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.glance dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 2px 16px; padding-block: 13px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; }
.glance dl > div:first-child { border-top: 0; }
.glance dt { color: var(--muted); }
.glance dd { color: var(--ink); font-weight: 500; }

.page-hero { padding-block: clamp(52px, 6vw, 88px) clamp(44px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.page-hero .label { margin-bottom: 18px; }
.page-hero h1 { max-width: 17em; font-size: clamp(36px, 4.4vw, 56px); }
.page-hero .lede { margin-top: 20px; }
.page-hero .actions { margin-top: 30px; }
.page-hero .byline { margin-top: 18px; }
h1.page-title { font-size: clamp(36px, 4.4vw, 56px); }

/* ---------- Product lines ---------- */
.lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.line { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--navy); }
.line p { color: var(--muted); }
.line .where { font-size: 15px; color: var(--muted); }
.line .where strong { font-weight: 600; color: var(--text); }
.line .text-link { margin-top: auto; padding-top: 6px; align-self: flex-start; }
.also { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 8px 40px; }
.also p { color: var(--muted); }
.also h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; }

/* ---------- Process (a real sequence) ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.process li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--rule-2); }
.process li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--gold); margin-bottom: 8px; }
.process h3 { font-size: 19px; }
.process p { color: var(--muted); font-size: 16px; }

/* ---------- Definition rows ---------- */
.rows { margin: 0; padding: 0; list-style: none; }
.rows > div, .rows > li { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 4px 32px; padding-block: 18px; border-top: 1px solid var(--rule-2); }
.rows > :last-child { border-bottom: 1px solid var(--rule-2); }
.rows dt, .rows .k { font-weight: 600; color: var(--ink); }
.rows dd, .rows .v { min-width: 0; margin: 0; color: var(--muted); }
.band-navy .rows > div { border-color: var(--on-navy-rule); }

/* ---------- Simple items (used sparingly) ---------- */
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px 40px; }
.item { min-width: 0; padding-top: 18px; border-top: 1px solid var(--rule-2); display: flex; flex-direction: column; gap: 8px; }
.item p { color: var(--muted); }
a.item { text-decoration: none; }
a.item:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.item .more { margin-top: auto; padding-top: 4px; font-weight: 600; color: var(--ink); }
.item .more::after { content: " \2192"; }

/* ---------- Guide list ---------- */
.guide-list { list-style: none; margin: 0; padding: 0; }
.guide-list li { border-top: 1px solid var(--rule-2); }
.guide-list li:last-child { border-bottom: 1px solid var(--rule-2); }
.guide-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding-block: 18px; text-decoration: none; }
.guide-list .t { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--ink); }
.guide-list .d { grid-column: 1; color: var(--muted); font-size: 15px; }
.guide-list .arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--gold-ink); font-size: 20px; }
.guide-list a:hover .t { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }

/* ---------- Steps (How it works page) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.steps li { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 300px); gap: 8px 40px; padding-block: 30px; border-top: 1px solid var(--rule-2); }
.steps li:last-child { border-bottom: 1px solid var(--rule-2); }
.steps .n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); }
.steps .body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.steps .body h2 { font-size: clamp(23px, 2.2vw, 28px); }
.steps .body p { color: var(--muted); }
.steps .get { min-width: 0; font-size: 15px; background: var(--sand); padding: 14px 16px; align-self: start; }
.steps .get .label { margin-bottom: 4px; font-size: 12px; }

/* ---------- FAQ ---------- */
.faq { margin: 0; padding: 0; list-style: none; }
.faq details { border-top: 1px solid var(--rule-2); }
.faq li:last-child details { border-bottom: 1px solid var(--rule-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 20px; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 26px; color: var(--gold-ink); flex-shrink: 0; }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding-bottom: 22px; color: var(--muted); max-width: 68ch; }

/* ---------- Contact band and lists ---------- */
.contact-list { margin: 0; display: flex; flex-direction: column; }
.contact-list > div { padding-block: 16px; border-top: 1px solid var(--on-navy-rule); }
.contact-list > div:last-child { border-bottom: 1px solid var(--on-navy-rule); }
.contact-list dt { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-muted); }
.contact-list dd { margin: 2px 0 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); color: var(--on-navy); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }

/* ---------- Form ---------- */
.form-card { background: var(--white); border: 1px solid var(--rule); padding: clamp(22px, 3vw, 40px); }
.form-card h2 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 6px; }
.form-intro { color: var(--muted); margin-bottom: 26px; font-size: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid fieldset { grid-column: 1 / -1; margin: 6px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; min-width: 0; }
.form-grid legend { padding: 0; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 11px 13px; font: 16px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--rule-2); border-radius: 2px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--err); }
.hint { font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot p { font-size: 14px; color: var(--muted); max-width: 40ch; }
.form-status { margin-top: 14px; font-size: 15px; min-height: 1.2em; }
.form-status.err { color: var(--err); }
.form-done h2, .form-done h3 { margin-bottom: 10px; }
.form-done p { color: var(--muted); }
.aside-note { display: flex; flex-direction: column; gap: 22px; }
.aside-note h2 { font-size: clamp(24px, 2.2vw, 30px); }
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.checklist li { padding-left: 22px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1.5px; background: var(--gold); }

/* ---------- Tables (guides, tracker) ---------- */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--navy); }
table.data { width: 100%; border-collapse: collapse; font-size: 16px; }
table.data th { text-align: left; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 14px 16px 12px 0; border-bottom: 1px solid var(--rule-2); }
table.data td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data td.code { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; color: var(--ink); }
table.data tr:last-child td { border-bottom: 1px solid var(--rule-2); }
table.data .sub { display: block; font-size: 14px; color: var(--muted); }
table.tracker { min-width: 860px; }

/* ---------- Article (guides, privacy) ---------- */
.article { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.article > h2 { font-size: clamp(25px, 2.4vw, 32px); margin-top: 30px; }
.article > h2:first-child { margin-top: 0; }
.article h3 { margin-top: 12px; }
.article ul, .article ol { padding-left: 1.25em; display: flex; flex-direction: column; gap: 8px; }
.article .note { border-left: 2px solid var(--gold); padding: 6px 0 6px 18px; color: var(--muted); }
.sources { font-size: 15px; color: var(--muted); }
.sources li { overflow-wrap: anywhere; }
.byline { font-size: 15px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 48px 72px; align-items: start; }
.article-layout aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.panel { background: var(--sand); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.panel h2 { font-size: 21px; font-weight: 600; }
.panel dl { margin: 0; display: flex; flex-direction: column; }
.panel dl > div { padding-block: 10px; border-top: 1px solid var(--rule-2); }
.panel dt { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.panel dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.panel-dark { background: var(--navy); color: var(--on-navy-muted); }
.panel-dark h2 { color: var(--on-navy); }

/* ---------- Category rows (What we source) ---------- */
.cats { list-style: none; margin: 0; padding: 0; }
.cat { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 18px 48px; padding-block: 34px; border-top: 1px solid var(--rule-2); scroll-margin-top: 96px; }
.cats .cat:last-child { border-bottom: 1px solid var(--rule-2); }
.cat .what { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cat .what p { color: var(--muted); max-width: 58ch; }
.cat .meta { min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.cat .meta .k { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cat .meta p { color: var(--text); }
.cat .hs { font-size: 14px; color: var(--muted); }
.cats.minor .cat { padding-block: 24px; }
.cats.minor h3 { font-size: 20px; }

/* ---------- Tracker ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 42px; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: 2px; background: var(--white); color: var(--navy); font: 500 14px/1 var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.status { font-size: 14px; white-space: nowrap; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--ok); }
.status.soon::before { background: var(--gold); }
.status.concluded::before { background: transparent; border: 1.5px solid var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 48px; }
.stat { min-width: 0; border-top: 1px solid var(--rule-2); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.stat .num { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 46px); line-height: 1.05; color: var(--ink); }
.stat .num.text { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.stat .src { font-size: 13px; color: var(--muted); }
.page-hero .stats { margin-top: 40px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 24px; padding-block: 12px; border-top: 1px solid var(--rule-2); }
.timeline li:last-child { border-bottom: 1px solid var(--rule-2); }
.timeline .when { font-size: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Closing call to action ---------- */
.cta-band .split { align-items: center; }
.cta-band h2 { max-width: 16em; }
.cta-band .main { justify-self: end; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); font-size: 15px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 40px 64px; padding-block: 64px 48px; }
.band-navy + .site-footer .foot-grid { border-top: 1px solid var(--on-navy-rule); }
.foot-grid > div { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-brand { display: inline-flex; }
.foot-brand img { height: 54px; width: auto; }
.foot-about { max-width: 26rem; }
.foot-h { font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-muted); margin: 0; }
.foot-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--on-navy-rule); font-size: 13px; }

/* ---------- 404 ---------- */
.not-found { padding-block: clamp(80px, 12vw, 160px); }
.not-found .actions { margin-top: 30px; }

/* ---------- Tablets ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .glance { max-width: 560px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lines { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .line { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 6px 40px; padding-block: 24px; border-top: 1px solid var(--rule-2); }
  .lines .line:first-child { border-top: 2px solid var(--navy); }
  .line > * { grid-column: 2; }
  .line > .label, .line > h3 { grid-column: 1; }
  .line > h3 { grid-row: 2; }
  .line > .label { grid-row: 1; }
  .line > p:first-of-type { grid-row: 1 / span 2; }
  .line .text-link { margin-top: 4px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-layout aside { position: static; }
  .cat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cat .what { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  /* Guides and privacy: key facts first, quote box after the article */
  .article-layout aside { display: contents; }
  .article-layout aside > .panel:first-child { order: -1; }
  .article-layout aside > .panel + .panel { order: 1; }
  .article-layout { display: flex; flex-direction: column; }
  .article-layout .article { max-width: none; }

  /* Tables turn into stacked rows: no sideways scrolling */
  .table-wrap { overflow: visible; }
  table.data, table.tracker { min-width: 0; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.data tr { padding-block: 16px; border-bottom: 1px solid var(--rule-2); }
  table.data tr[hidden] { display: none; }
  table.data td, table.data tr:last-child td { padding: 3px 0; border: 0; }
  table.data td.code { white-space: normal; }
  table.data td[data-label]::before { content: attr(data-label); display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  table.data td:first-child { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); }
  table.data td:first-child::before { display: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 76px; }
  .site-header .wrap { min-height: 64px; }
  .brand img { height: 38px; }
  .header-cta { min-height: 40px; padding: 0 12px; font-size: 14px; }
  .menu-btn { padding: 0 10px; }
  .menu-btn .txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .page-hero h1, h1.page-title { font-size: clamp(31px, 8.4vw, 40px); }
  h2 { font-size: clamp(26px, 7vw, 32px); }
  .lede { font-size: 17px; }
  :root { --space: 64px; }
  .hero { padding-block: 40px 56px; }
  .page-hero { padding-block: 36px 40px; }
  .section-head, .split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .split { gap: 28px; }
  .section-head { margin-bottom: 28px; }
  .glance { padding: 20px 20px 6px; }
  .glance dl > div { grid-template-columns: 96px minmax(0, 1fr); }

  .line { grid-template-columns: minmax(0, 1fr); }
  .line > *, .line > .label, .line > h3, .line > p:first-of-type { grid-column: 1; grid-row: auto; }
  .also { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 12px; padding-block: 16px; }
  .process li::before { grid-row: 1 / span 2; font-size: 24px; margin: 0; }
  .rows > div, .rows > li { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); }
  .steps .n { font-size: 30px; }
  .steps .get { grid-column: 2; }
  .cat { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .form-grid, .form-grid fieldset { grid-template-columns: minmax(0, 1fr); }
  .cta-band .main { justify-self: start; }

  .actions { gap: 12px 24px; }
  .actions .btn { flex: 1 1 100%; min-height: 52px; }
  .text-link { display: inline-flex; align-items: center; min-height: 44px; }

  .foot-grid { grid-template-columns: minmax(0, 1fr); padding-block: 48px 28px; gap: 28px; }
  .foot-list { gap: 0; }
  .foot-list a { display: inline-block; padding-block: 9px; }
  .foot-base { flex-direction: column; }
  .foot-base a { display: inline-block; padding-block: 10px; }
}

@media (max-width: 380px) {
  .header-cta { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a, a.item h3 { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
}

@media print {
  .site-header, .site-footer, .cta-band, .actions { display: none; }
  body { background: #fff; }
}
