/* ============================================================
   Machinery Regulation Check: engineering-datasheet design system
   Type: IBM Plex Sans (body/data), IBM Plex Mono (labels/codes/verdict),
   Archivo (display headings). Palette: graphite ink on warm technical
   off-white, one hazard-signal accent (deep oxide red) + safety amber,
   cool steel for hairline rules and secondary labels.
   ============================================================ */

:root {
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  --ink: #1c1f22;        /* graphite / anthracite */
  --ink-2: #40464c;      /* secondary text */
  --steel: #6b7178;      /* muted labels, secondary rules */
  --line: #d3cfc4;       /* hairline rule on paper */
  --line-2: #bab5a7;     /* stronger hairline */
  --paper: #f4f2ec;      /* warm technical off-white */
  --panel: #fbfaf5;      /* data-cell background (near-white warm) */
  --panel-2: #ece9df;    /* header cells / alt rows */

  --hazard: #b23a2f;     /* deep hazard-signal red */
  --hazard-ink: #8f251c; /* red that passes contrast on paper */
  --amber: #e8a33d;      /* controlled safety amber */
  --amber-ink: #9a6a12;  /* amber-toned text passing contrast on paper */
  --ok: #2f6d4f;         /* steel green (self-assessment permitted) */

  --radius: 4px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  /* faint technical grid texture */
  background-image:
    linear-gradient(rgba(107,113,120,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,113,120,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--hazard-ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- skip link + focus --------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px;
  font-family: var(--mono); font-size: 13px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--hazard);
  outline-offset: 2px;
}

/* ---- masthead / nameplate ------------------------------------------------ */
.masthead {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  position: sticky; top: 0; z-index: 50;
}
.masthead-inner {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: 20px; min-height: 68px;
}
.nameplate {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  padding: 10px 0;
}
.nameplate:hover { color: var(--ink); }
.np-mark {
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em;
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 6px 8px; line-height: 1; color: var(--ink);
  background: var(--panel);
}
.np-text {
  display: flex; flex-direction: column; line-height: 1.1;
  font-family: var(--display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em;
}
.np-text small {
  font-family: var(--mono); font-weight: 400; font-size: 10.5px;
  letter-spacing: 0.08em; color: var(--steel); text-transform: uppercase;
  margin-top: 3px;
}

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-2);
  padding: 8px 11px; border-radius: var(--radius);
}
.nav-desktop a:hover { color: var(--ink); background: var(--panel-2); }
.nav-desktop a.nav-cta {
  background: var(--hazard); color: #fff; margin-left: 8px;
  border: 2px solid var(--hazard);
}
.nav-desktop a.nav-cta:hover { background: #9a2f26; color: #fff; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; background: transparent; border: 2px solid var(--ink);
  border-radius: var(--radius); cursor: pointer; margin: 12px 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Bulletproof mobile-nav show/hide (tied to the [hidden] attribute) */
.nav-mobile[hidden] { display: none; }
.nav-mobile:not([hidden]) { display: flex; flex-direction: column; }
.nav-mobile {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper); border-bottom: 2px solid var(--ink);
  padding: 8px 0 14px;
}
.nav-mobile a {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: 12px 24px; border-top: 1px solid var(--line);
}
.nav-mobile a.nav-cta { color: var(--hazard-ink); font-weight: 600; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* ---- buttons ------------------------------------------------------------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--mono); font-weight: 500; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  background: var(--hazard); color: #fff; border: 2px solid var(--hazard);
  padding: 13px 22px; border-radius: var(--radius); cursor: pointer;
  transition: background 0.12s, transform 0.06s;
}
.btn-primary:hover { background: #9a2f26; color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.6; cursor: default; }
.btn-large { font-size: 15px; padding: 15px 26px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-weight: 500; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  background: var(--panel); color: var(--ink); border: 2px solid var(--ink);
  padding: 11px 18px; border-radius: var(--radius); cursor: pointer;
}
.btn-ghost:hover { background: var(--panel-2); color: var(--ink); }

/* ---- eyebrow / clause tags ---------------------------------------------- */
.eyebrow, .section-tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel);
}
.eyebrow .dot, .section-tag .dot { color: var(--line-2); margin: 0 4px; }

.clause {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--hazard-ink); font-weight: 500;
}

/* ---- headings ------------------------------------------------------------ */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.015em; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin: 0 0 16px; }
h2 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 700; margin: 0 0 14px; }
h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }

.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }

/* ---- sections ------------------------------------------------------------ */
section { padding: 56px 0; }
.band { background: #efece3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 28px; }
.section-h { margin-top: 8px; }
.section-sub { color: var(--ink-2); max-width: 66ch; }

/* section number rendered like a datasheet clause number */
.sec-num {
  font-family: var(--mono); font-size: 12px; color: var(--steel);
  letter-spacing: 0.05em; display: block; margin-bottom: 4px;
}

/* ---- hero ---------------------------------------------------------------- */
.hero { padding: 60px 0 52px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
.hero h1 { max-width: 18ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 26px 0 8px; }
.cta-note { font-family: var(--mono); font-size: 12.5px; color: var(--steel); letter-spacing: 0.02em; }
.cta-note a { color: var(--hazard-ink); }

/* effective-date tab */
.eff-tab {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink);
  border: 1px solid var(--line-2); background: var(--panel);
  padding: 7px 12px; border-radius: var(--radius); margin-bottom: 22px;
}
.eff-tab b { color: var(--hazard-ink); }
.eff-tab .amber-dot {
  width: 10px; height: 10px; border-radius: 2px; background: var(--amber);
  border: 1px solid var(--amber-ink); display: inline-block;
}

/* hero spec badges */
.hero-badges {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  margin: 26px 0 0; overflow: hidden; background: var(--panel);
}
.hero-badges > div { padding: 12px 14px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hero-badges > div:nth-child(1), .hero-badges > div:nth-child(2) { border-top: none; }
.hero-badges > div:nth-child(odd) { border-left: none; }
.hero-badges dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); margin: 0 0 4px; }
.hero-badges dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 16px; }

/* ---- spec / datasheet panel (hero right column) -------------------------- */
.spec-card {
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--panel); overflow: hidden;
}
.spec-head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink); color: #fff; padding: 11px 15px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
}
.spec-head .n { color: var(--amber); }
.spec-row { display: grid; grid-template-columns: 122px 1fr; border-top: 1px solid var(--line); }
.spec-row:first-of-type { border-top: none; }
.spec-row .k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--steel); padding: 12px 12px; background: var(--panel-2); border-right: 1px solid var(--line);
  display: flex; align-items: center;
}
.spec-row .v { padding: 12px 14px; font-size: 14px; }
.spec-row .v strong { font-family: var(--display); }

/* ---- status pills (always carry text, never colour alone) ---------------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: var(--panel); color: var(--ink);
}
.pill b { font-weight: 600; }
.pill--hazard { border-color: var(--hazard); color: var(--hazard-ink); background: #f7e9e6; }
.pill--ok { border-color: var(--ok); color: var(--ok); background: #e7f0ea; }
.pill--amber { border-color: var(--amber-ink); color: var(--amber-ink); background: #f6ecd7; }

/* ---- generic datasheet spec-rows (label/value) --------------------------- */
.dsheet {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--panel); overflow: hidden;
}
.dsheet .row { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.dsheet .row:first-child { border-top: none; }
.dsheet .row .k {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--steel); padding: 14px 16px; background: var(--panel-2); border-right: 1px solid var(--line);
}
.dsheet .row .v { padding: 14px 18px; }
@media (max-width: 620px) {
  .dsheet .row { grid-template-columns: 1fr; }
  .dsheet .row .k { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---- feature / obligation grid ------------------------------------------ */
.obl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.obl-item { padding: 20px 20px 22px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.obl-item:nth-child(-n+3) { border-top: none; }
.obl-item:nth-child(3n+1) { border-left: none; }
.obl-item .art { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--hazard-ink); }
.obl-item h3 { margin: 8px 0 6px; font-size: 17px; }
.obl-item p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 820px) {
  .obl-grid { grid-template-columns: 1fr 1fr; }
  .obl-item:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .obl-item:nth-child(-n+3) { border-top: 1px solid var(--line); }
  .obl-item:nth-child(-n+2) { border-top: none; }
  .obl-item:nth-child(odd) { border-left: none; }
}
@media (max-width: 540px) {
  .obl-grid { grid-template-columns: 1fr; }
  .obl-item { border-left: none !important; border-top: 1px solid var(--line) !important; }
  .obl-item:first-child { border-top: none !important; }
}

/* ---- steps --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.step { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px; background: var(--panel); }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--hazard-ink); letter-spacing: 0.05em; }
.step h3 { margin: 8px 0 6px; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* ---- callout ------------------------------------------------------------- */
.callout {
  border: 1px solid var(--line-2); border-left: 4px solid var(--amber);
  background: var(--panel); border-radius: var(--radius);
  padding: 18px 20px; font-size: 15px; color: var(--ink-2); margin: 24px 0;
}
.callout strong { color: var(--ink); }
.callout.hazard { border-left-color: var(--hazard); }

/* ---- decision-tree flowchart (line drawing) ------------------------------ */
.flow { margin: 26px 0 8px; }
.flow-svg { width: 100%; height: auto; display: block; }

/* ---- verdict banner (checker output) ------------------------------------ */
.verdict {
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--panel); margin-top: 26px; overflow: hidden;
}
.verdict-bar {
  background: var(--ink); color: #fff; padding: 12px 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.verdict-bar .stamp { color: var(--amber); }
.verdict-body { padding: 20px 20px 22px; }
.verdict-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.verdict-line { font-size: 16px; margin: 0 0 14px; }
.verdict-oblig {
  border: 1px solid var(--line-2); border-left: 4px solid var(--hazard);
  background: #f7e9e6; border-radius: var(--radius); padding: 14px 16px; margin: 14px 0;
  font-size: 15px;
}
.verdict-oblig.ok { border-left-color: var(--ok); background: #e7f0ea; }
.verdict-note { font-family: var(--mono); font-size: 11.5px; color: var(--steel); letter-spacing: 0.03em; margin-top: 12px; }
.verdict-flag {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 14px; margin: 8px 0; font-size: 14px; background: var(--panel-2);
}
.check-cta { border-top: 1px solid var(--line); padding: 18px 20px; background: var(--panel-2); }
.check-note { font-size: 13px; color: var(--ink-2); margin: 12px 0 0; }

/* ---- forms / datasheet fill-in ------------------------------------------- */
.order-wrap { max-width: 780px; margin: 0 auto; }
.orderform {
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--panel); overflow: hidden;
}
.of-price-strip {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink); color: #fff; padding: 14px 20px;
}
.of-price-strip .p { font-family: var(--display); font-weight: 800; font-size: 24px; display: flex; align-items: baseline; gap: 10px; }
.of-price-strip .p small { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: #cfc9bd; }
.of-price-strip .n { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); }
.of-inner { padding: 22px 22px 26px; }
.of-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .of-2 { grid-template-columns: 1fr; } }
.of-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.of-field > label, .of-legend {
  display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 7px; padding: 0;
}
.of-field > label em, .of-legend em { font-style: normal; color: var(--line-2); text-transform: none; letter-spacing: 0; }
.of-help { font-size: 13px; color: var(--ink-2); margin: -2px 0 9px; }
.of-field input[type=text], .of-field input[type=email], .of-field select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 11px 13px; outline: none; transition: border-color 0.12s, box-shadow 0.12s;
}
.of-field input:focus, .of-field select:focus { border-color: var(--hazard); box-shadow: 0 0 0 3px rgba(178,58,47,0.14); }

.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; padding: 9px 13px; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: var(--panel); cursor: pointer;
}
.opt:hover { border-color: var(--steel); }
.opt input { accent-color: var(--hazard); width: 16px; height: 16px; }
.opt:has(input:checked) { border-color: var(--hazard); background: #f7e9e6; }

.of-submit { margin-top: 6px; }
.of-submit .btn-primary { width: 100%; }
.of-fineprint { font-size: 12.5px; color: var(--steel); margin: 12px 0 0; text-align: center; }
.order-status { margin-top: 14px; padding: 11px 14px; border-radius: var(--radius); font-size: 14px; font-family: var(--mono); }
.order-status.err { background: #f7e9e6; color: var(--hazard-ink); border: 1px solid var(--hazard); }

/* ---- doc / prose pages --------------------------------------------------- */
.doc-hero { padding: 44px 0 20px; border-bottom: 1px solid var(--line); }
.doc-body { padding: 36px 0 60px; }
.crumb { padding: 16px 0 0; }
.crumb a, .crumb span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; color: var(--steel); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--hazard-ink); }
.crumb [aria-current] { color: var(--ink); }

.prose { max-width: 760px; }
.prose h2 { margin: 32px 0 12px; }
.prose h3 { margin: 22px 0 6px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 0 0 8px; }
.prose .advice-note { font-family: var(--mono); font-size: 12.5px; color: var(--steel); border-left: 2px solid var(--line-2); padding-left: 12px; }

.answer-box {
  border: 1px solid var(--line-2); border-left: 4px solid var(--hazard);
  background: var(--panel); border-radius: var(--radius);
  padding: 18px 20px; margin: 0 0 20px;
}
.answer-box p:last-child { margin-bottom: 0; }

.doc-nav { font-family: var(--mono); font-size: 13px; color: var(--steel); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 30px; }
.doc-nav a { color: var(--hazard-ink); }

/* ---- data tables --------------------------------------------------------- */
.gtable-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius); margin: 0 0 20px; }
.gtable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; background: var(--panel); }
.gtable caption { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--steel); padding: 10px 12px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.gtable th, .gtable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gtable thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: var(--panel-2); }
.gtable tbody tr:last-child td { border-bottom: none; }

/* ---- guide index cards --------------------------------------------------- */
.guide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--panel); margin: 20px 0; }
.guide-card { padding: 22px 22px 24px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); border-left: 1px solid var(--line); display: block; }
.guide-card:nth-child(-n+2) { border-top: none; }
.guide-card:nth-child(odd) { border-left: none; }
.guide-card:hover { background: var(--panel-2); color: var(--ink); }
.guide-card .gc-art { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hazard-ink); }
.guide-card h2 { font-size: 19px; margin: 8px 0 6px; }
.guide-card p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 620px) {
  .guide-cards { grid-template-columns: 1fr; }
  .guide-card { border-left: none !important; border-top: 1px solid var(--line) !important; }
  .guide-card:first-child { border-top: none !important; }
}

.guide-cta { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--panel); padding: 22px; margin: 30px 0; }
.guide-cta h2 { margin-top: 0; }
.guide-related { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }
.guide-related ul { list-style: none; padding: 0; margin: 8px 0 0; }
.guide-related li { margin: 0 0 6px; }
.guide-related a { font-family: var(--mono); font-size: 13.5px; color: var(--hazard-ink); text-decoration: none; }
.guide-related a:hover { text-decoration: underline; }

.sources-block { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }
.sources-block ul { font-size: 13.5px; color: var(--ink-2); }
.src-list dt { font-weight: 600; margin-top: 14px; }
.src-list dd { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }

.faq-item { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { margin: 0 0 6px; }
.faq-item p { margin: 0; color: var(--ink-2); }

/* ---- footer -------------------------------------------------------------- */
.site-footer { border-top: 2px solid var(--ink); background: #efece3; padding: 40px 0 34px; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 26px; }
.foot-brand { font-family: var(--display); font-weight: 800; font-size: 18px; }
.foot-tag { font-size: 13.5px; color: var(--ink-2); margin: 8px 0 0; max-width: 34ch; }
.site-footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); margin: 0 0 10px; }
.site-footer a { display: block; font-size: 14px; color: var(--ink-2); text-decoration: none; margin: 0 0 7px; }
.site-footer a:hover { color: var(--hazard-ink); }
.foot-fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; font-size: 12px; color: var(--steel); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---- responsive hero ----------------------------------------------------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .spec-card { max-width: 460px; }
}

.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; }
