/* CheckIA — design system
   One stylesheet for the whole site (previously duplicated inline per page).
   Brand tokens carried over from the existing site: ink #3C3D47, blue #165498,
   cyan #5AE9FD, Inter. The scale, grid and components around them are new. */

:root {
  /* ink */
  --ink: #23242B;
  --ink-2: #3C3D47;
  --ink-soft: #64656F;
  --ink-mute: #8A8B95;

  /* surfaces */
  --bg: #FFFFFF;
  --bg-2: #F7F9FC;
  --bg-3: #EEF2F8;
  --line: #E2E7F0;
  --line-strong: #CBD4E2;

  /* brand */
  --blue: #165498;
  --blue-hi: #0F6FD1;
  --blue-tint: #EAF2FC;
  --cyan: #5AE9FD;
  --deep: #0E2544;

  /* radii + rhythm */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --pad-sec: clamp(56px, 7.5vw, 108px);
  --maxw: 1180px;
  --gut: clamp(20px, 4vw, 32px);

  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(14, 37, 68, .04), 0 8px 28px rgba(14, 37, 68, .06);
  --shadow-hi: 0 2px 6px rgba(14, 37, 68, .07), 0 18px 44px rgba(14, 37, 68, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.62;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 4px; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  color: var(--ink); font-weight: 640; line-height: 1.14; letter-spacing: -.021em;
  text-wrap: balance;
}
h1 { font-size: clamp(33px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.032em; }
h2 { font-size: clamp(26px, 3.1vw, 39px); letter-spacing: -.026em; }
h3 { font-size: clamp(18px, 1.35vw, 20.5px); }
h4 { font-size: 17px; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 620; }

.eyebrow {
  font-size: 12.5px; font-weight: 660; letter-spacing: .085em;
  text-transform: uppercase; color: var(--blue);
}
.lede { font-size: clamp(16.5px, 1.35vw, 18.5px); max-width: 62ch; margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hi); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-1px); }
.btn-link { color: var(--blue); font-weight: 600; font-size: 15px; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav-left { display: flex; align-items: center; gap: 38px; min-width: 0; }
.logo { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.logo img, .logo svg { height: 26px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li > a, .nav-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font: inherit; font-size: 14.5px; font-weight: 520; color: var(--ink-2);
  padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer;
}
.nav-links > li > a:hover, .nav-btn:hover { color: var(--blue); background: var(--bg-2); }
.nav-links a[aria-current="page"] { color: var(--blue); }
.chev { width: 9px; transition: transform .18s ease; }
.has-mm[data-open="true"] .chev { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* mega menu */
.has-mm { position: static; }
.mm {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  /* visibility must flip instantly on open (delayed only on close), otherwise
     the panel is unclickable for the length of the fade. */
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.has-mm[data-open="true"] .mm {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .16s ease, transform .16s ease, visibility 0s;
}
.mm-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; padding: 30px var(--gut) 34px; }
.mm-h { font-size: 11.5px; font-weight: 680; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.mm-col ul { list-style: none; display: grid; gap: 2px; }
.mm-col a { display: block; padding: 8px 10px; margin-left: -10px; border-radius: 8px; }
.mm-col a:hover { background: var(--bg-2); }
.mm-t { display: block; font-size: 14.5px; font-weight: 560; color: var(--ink); }
.mm-d { display: block; font-size: 12.8px; color: var(--ink-mute); line-height: 1.45; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 21px; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: .2s; }
.mnav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 18px 0 26px; max-height: 76vh; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav-h { font-size: 12px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin: 18px 0 8px; }
.mnav ul { list-style: none; display: grid; gap: 2px; }
.mnav a { display: block; padding: 9px 0; font-size: 15.5px; color: var(--ink); }

/* ---------- breadcrumbs ---------- */
.crumbs { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 11px 0; font-size: 13px; color: var(--ink-mute); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- sections ---------- */
.sec { padding: var(--pad-sec) 0; }
.sec-grey { background: var(--bg-2); }
.sec-tint { background: var(--blue-tint); }
.sec-deep { background: var(--deep); }
.sec-deep h2, .sec-deep h3 { color: #fff; }
.sec-deep p, .sec-deep li { color: #C3D2E6; }
.sec-deep .eyebrow { color: var(--cyan); }
.sec-head { max-width: 68ch; margin-bottom: 44px; }
.sec-head .eyebrow + h2 { margin-top: 12px; }
.sec-head-c { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head-c .lede { margin-left: auto; margin-right: auto; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 6.5vw, 84px) 0 clamp(40px, 5vw, 68px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.badge {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--blue);
  background: var(--blue-tint); border: 1px solid #D3E4F7;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}
.hero-lede { font-size: clamp(17px, 1.5vw, 19.5px); margin-top: 20px; max-width: 56ch; }
.hero-note { font-size: 15px; margin-top: 14px; color: var(--ink-mute); max-width: 56ch; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; }
.hero-proof li { font-size: 13.6px; color: var(--ink-soft); padding-left: 20px; position: relative; }
.hero-proof li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 6px;
  border-left: 1.9px solid var(--blue); border-bottom: 1.9px solid var(--blue);
  transform: rotate(-45deg);
}
.hero-visual { min-width: 0; }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 34px; padding: 17px 0; justify-content: center; }
.trust-list li { font-size: 13.4px; font-weight: 520; color: var(--ink-soft); }

/* ---------- answer-first block ---------- */
.sec-answer { padding: clamp(40px, 5vw, 66px) 0; }
.answer {
  border-left: 3px solid var(--blue); padding: 4px 0 4px 26px; max-width: 74ch;
}
.answer h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 14px; }
.answer-body p { color: var(--ink-2); font-size: 17px; }
.answer-body p + p { margin-top: 13px; }
.answer-points { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.answer-points li { font-size: 15px; padding-left: 18px; position: relative; }
.answer-points li::before { content: "—"; position: absolute; left: 0; color: var(--blue); }
.answer-inline { margin: 26px 0 34px; background: var(--bg-2); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; }
.answer-k { font-size: 11.5px; font-weight: 680; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }

/* ---------- grids + cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
}
.sec-grey .card { background: #fff; }
.card-eyebrow { font-size: 11.5px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.card h3 { margin-bottom: 2px; }
.card p { font-size: 15px; }
.card ul { list-style: none; display: grid; gap: 7px; margin-top: 2px; }
.card li { font-size: 14.4px; color: var(--ink-soft); padding-left: 16px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.card-link { margin-top: auto; padding-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--blue); }
.card-link::after { content: " →"; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 2px; counter-reset: s; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step-n {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue-tint); color: var(--blue); font-weight: 680; font-size: 15px;
}
.step-body h3 { margin-bottom: 6px; }
.step-body p { font-size: 15.4px; max-width: 74ch; }
.step-meta { font-size: 13.4px; color: var(--ink-mute); margin-top: 8px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 62px); align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy .sec-head { margin-bottom: 20px; }
.split-visual { min-width: 0; }
.ticks { list-style: none; display: grid; gap: 11px; margin-top: 20px; }
.ticks li { font-size: 15.4px; padding-left: 26px; position: relative; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 6.5px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.panel-title { font-size: 12px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.panel-rows { list-style: none; display: grid; gap: 0; }
.panel-rows li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.6px; }
.panel-rows li:first-child { border-top: 0; }
.panel-rows span:first-child { color: var(--ink-soft); }
.panel-rows span:last-child { color: var(--ink); font-weight: 560; text-align: right; }

/* ---------- figures + diagrams ---------- */
.fig { margin: 0; }
.fig-cap { font-size: 13.6px; color: var(--ink-mute); margin-top: 14px; text-align: center; }
.dgm { width: 100%; height: auto; font-family: var(--ff); }
.dgm-node rect { fill: #fff; stroke: var(--line-strong); stroke-width: 1.2; }
.dgm-num { font-size: 10px; font-weight: 700; letter-spacing: .09em; fill: var(--blue); }
.dgm-t { font-size: 14.5px; font-weight: 620; fill: var(--ink); }
.dgm-s { font-size: 10.8px; fill: var(--ink-mute); }
.dgm-cap { font-size: 15px; font-weight: 620; fill: var(--ink); }
.dgm-caps { font-size: 12px; fill: var(--ink-mute); }
/* Numbered badge — vertical pipeline. */
.dgm-badge { fill: var(--blue-tint); stroke: #CFE1F6; stroke-width: 1.2; }
.dgm-badge-n { font-size: 15px; font-weight: 700; fill: var(--blue); text-anchor: middle; }
/* The vertical pipeline uses a 620-unit viewBox against ~900 elsewhere, so its
   type is set smaller in user units to land at the same rendered size. */
.dgm-v .dgm-cap { font-size: 15.5px; }
.dgm-v .dgm-caps { font-size: 11.6px; }
.dgm-v .dgm-t { font-size: 16px; }
.dgm-v .dgm-s { font-size: 11.8px; }
/* Two vertical columns: capped so the diagram keeps its intended type size in a
   full-width figure instead of scaling up to the container. */
.dgm-cols { display: block; max-width: 540px; margin: 0 auto; }
.dgm-rowlab { font-size: 11.5px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-mute); }
.dgm-arrow { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }
.dgm-arrowhead { fill: var(--line-strong); }
.dgm-loop { stroke: var(--blue); stroke-width: 1.4; fill: none; stroke-dasharray: 4 3; }
.dgm-loop-r { stroke: #C2603A; }
.dgm-edge { font-size: 10.6px; fill: var(--ink-mute); text-anchor: middle; }
.dgm-edge-lo { fill: var(--blue); }
.dgm-edge-r { fill: #C2603A; }
.dgm-pill rect { fill: var(--blue-tint); stroke: #CFE1F6; }
.dgm-pill text { font-size: 12.8px; font-weight: 560; fill: var(--blue); text-anchor: middle; }
.dgm-pill.s-d rect, .dgm-pill.s-e rect { fill: #E7F3EC; stroke: #C7E3D3; }
.dgm-pill.s-d text, .dgm-pill.s-e text { fill: #1F6B44; }
.dgm-chip rect { fill: #fff; stroke: var(--line-strong); }
.dgm-chip text { font-size: 12.6px; fill: var(--ink-2); text-anchor: middle; }
.dgm-chip .dgm-sm { font-size: 11.2px; }
.chip-mute rect { fill: var(--bg-3); stroke: var(--line); stroke-dasharray: 3 3; }
.chip-mute text { fill: var(--ink-mute); }
.chip-live rect { fill: #fff; stroke: var(--blue); }
.chip-live text { fill: var(--ink); font-weight: 540; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.8px; min-width: 560px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12.5px; font-weight: 680; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-mute); background: var(--bg-2); }
tbody tr:last-child td { border-bottom: 0; }
td { color: var(--ink-soft); }
td:first-child { color: var(--ink); font-weight: 540; }
.table-note { font-size: 13.4px; color: var(--ink-mute); margin-top: 12px; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); max-width: 88ch; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 19px 40px 19px 0; position: relative;
  font-size: 16.5px; font-weight: 580; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 27px;
  width: 9px; height: 9px; border-right: 2px solid var(--ink-mute); border-bottom: 2px solid var(--ink-mute);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item[open] summary { color: var(--blue); }
.faq-a { padding: 0 40px 22px 0; }
.faq-a p { font-size: 15.4px; }
.faq-a p + p, .faq-a ul { margin-top: 11px; }
.faq-a ul { padding-left: 20px; }
.faq-a li { font-size: 15.2px; color: var(--ink-soft); margin-bottom: 5px; }

/* ---------- link cards ---------- */
.linkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 16px; }
.linkcard {
  display: block; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 22px 24px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.linkcard:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.linkcard-k { display: block; font-size: 11.5px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 9px; }
.linkcard-t { display: block; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 7px; }
.linkcard-d { display: block; font-size: 14.3px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- quote ---------- */
.pull { max-width: 74ch; margin: 0 auto; text-align: center; }
.pull blockquote { font-size: clamp(19px, 2vw, 25px); line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -.015em; }
.pull figcaption { margin-top: 18px; font-size: 14px; color: var(--ink-mute); }

/* ---------- cta block ---------- */
.sec-cta { background: var(--deep); }
.ctablock { text-align: center; max-width: 66ch; margin: 0 auto; }
.ctablock h2 { color: #fff; }
.ctablock .eyebrow { color: var(--cyan); margin-bottom: 12px; }
.ctablock p { color: #BCCCE2; margin-top: 14px; font-size: 17px; }
.ctablock .btn-row { justify-content: center; }
.ctablock .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.ctablock .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- sources ---------- */
.sec-sources { background: var(--bg-2); }
.sources { list-style: none; display: grid; gap: 10px; max-width: 84ch; }
.sources li { font-size: 14.6px; color: var(--ink-soft); padding-left: 18px; position: relative; }
.sources li::before { content: "↗"; position: absolute; left: 0; color: var(--blue); font-size: 12px; top: .25em; }
.sources a { color: var(--blue); }
.sources a:hover { text-decoration: underline; text-underline-offset: 3px; }
.src-note { color: var(--ink-mute); }
.disclaimer { font-size: 13.4px; color: var(--ink-mute); margin-top: 20px; max-width: 84ch; font-style: italic; }

/* ---------- article layout ---------- */
.art { padding: clamp(36px, 5vw, 60px) 0 var(--pad-sec); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.art-main { min-width: 0; max-width: 76ch; }
.art-head h1 { font-size: clamp(30px, 3.7vw, 45px); }
.art-lede { font-size: clamp(17px, 1.5vw, 19.5px); margin-top: 18px; }
.art-meta { font-size: 13.2px; color: var(--ink-mute); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.art-side { position: sticky; top: 92px; }
.toc { border-left: 2px solid var(--line); padding-left: 18px; }
.toc-h { font-size: 11.5px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 9px; counter-reset: t; }
.toc a { font-size: 13.6px; color: var(--ink-soft); line-height: 1.4; display: block; }
.toc a:hover { color: var(--blue); }
.art-sources { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.art-sources h2 { font-size: 20px; margin-bottom: 16px; }

/* ---------- prose ---------- */
.prose { max-width: 76ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(23px, 2.3vw, 29px); margin-top: 46px; padding-top: 6px; }
.prose h3 { font-size: clamp(17.5px, 1.5vw, 20px); margin-top: 32px; }
.prose h4 { margin-top: 26px; }
.prose p { font-size: 16.6px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { font-size: 16.4px; color: var(--ink-soft); margin-bottom: 8px; }
.prose li::marker { color: var(--line-strong); }
.prose ol li::marker { color: var(--ink-mute); font-weight: 600; font-size: 14px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2.5px; text-decoration-thickness: 1px; text-decoration-color: #A8C6E6; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose blockquote { border-left: 3px solid var(--line-strong); padding-left: 20px; color: var(--ink-soft); font-style: italic; }
.prose code { background: var(--bg-3); padding: 2px 6px; border-radius: 5px; font-size: .89em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.prose pre { background: var(--deep); color: #DCE7F5; padding: 18px 20px; border-radius: var(--r); overflow-x: auto; }
.prose pre code { background: none; color: inherit; padding: 0; font-size: 13.4px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 38px 0; }
.callout {
  border-radius: var(--r); padding: 18px 22px; border: 1px solid var(--line);
  background: var(--bg-2); font-size: 15.4px;
}
.callout > * + * { margin-top: 10px; }
.callout p { color: var(--ink-2); }
.callout-important { border-color: #E6D3B8; background: #FDF8F0; }
.callout-note { border-color: #CFE1F6; background: var(--blue-tint); }
.callout-warning { border-color: #EDC9C0; background: #FDF3F0; }

/* ---------- footer ---------- */
.site-foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 34px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); }
.foot-brand p { font-size: 13.8px; margin-top: 14px; max-width: 32ch; color: var(--ink-mute); }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px; }
.foot-h { font-size: 11.5px; font-weight: 680; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.foot-cols ul { list-style: none; display: grid; gap: 8px; }
.foot-cols a { font-size: 14.2px; color: var(--ink-soft); }
.foot-cols a:hover { color: var(--blue); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-bottom p { font-size: 13px; color: var(--ink-mute); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .art-grid { grid-template-columns: 1fr; }
  .art-side { position: static; order: -1; }
  .toc { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .toc ol { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); display: grid; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .mnav:not([hidden]) { display: block; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split-rev .split-copy { order: 0; }
  .hero-visual, .split-visual { order: 2; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .step-n { width: 32px; height: 32px; font-size: 14px; }
  .trust-list { justify-content: flex-start; gap: 8px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .btn:hover, .linkcard:hover { transform: none; }
}

@media print {
  header.site, .site-foot, .crumbs, .art-side, .sec-cta { display: none; }
  body { font-size: 11pt; }
}
