/* gatez.dev — variant B "Dossier". A security review document: label column left, content right.
   Tokens: bone paper, slate ink, one brass accent; Source Serif 4 display, IBM Plex Sans text, IBM Plex Mono code. */

:root {
  --bg: #F6F5F1; --surface: #ECEAE3; --surface-2: #E3E0D7;
  --ink: #1C2230; --ink-2: #454C5B; --ink-3: #676D7A; --ink-4: #8A8F9A;
  --rule: #CFCBC0; --rule-soft: #DEDBD2; --rule-strong: #1C2230;
  --brass: #8A6420; --brass-soft: #F1E9D8;
  --held: #9B2C2C; --held-soft: #F4E3E1; --ok: #2E6B4E; --ok-soft: #DFEBE3;
  --progress: #8A6420;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;
  --label-w: 200px; --gap: 56px; --max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/25px var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
p a, li a, td a { color: var(--brass); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(138,100,32,.45); }
p a:hover, li a:hover, td a:hover { text-decoration-color: var(--brass); }
code, pre { font-family: var(--mono); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-size: 60px; line-height: 1.06; font-weight: 500; letter-spacing: -0.015em; font-variation-settings: "opsz" 60; }
.h1 { font-family: var(--serif); font-size: 36px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; font-variation-settings: "opsz" 40; }
.h2 { font-family: var(--serif); font-size: 26px; line-height: 1.25; font-weight: 500; font-variation-settings: "opsz" 40; }
.h3 { font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 600; font-variation-settings: "opsz" 24; }
.lead { font-size: 18px; line-height: 28px; color: var(--ink-2); }
.body { color: var(--ink-2); }
.small { font-size: 14px; line-height: 21px; color: var(--ink-3); }
.sc { font-variant: all-small-caps; letter-spacing: 0.12em; font-weight: 500; }
.mono { font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: 0.02em; }
.eyebrow { font-variant: all-small-caps; letter-spacing: 0.14em; font-weight: 500; font-size: 17px; line-height: 20px; color: var(--ink-2); }
.status { font-family: var(--mono); font-size: 11px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.status-live { color: var(--ok); }
.status-progress { color: var(--progress); }
.status-held { color: var(--held); }
.pull { font-family: var(--serif); font-size: 22px; line-height: 1.4; font-weight: 500; font-style: italic; color: var(--ink); padding-left: 20px; border-left: 2px solid var(--brass); max-width: 640px; font-variation-settings: "opsz" 30; }
.note { padding-left: 20px; border-left: 2px solid var(--brass); color: var(--ink-2); font-size: 15px; line-height: 24px; max-width: 680px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.spread { display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr); gap: var(--gap); align-items: start; }
section.doc { padding: 72px 0 88px; border-top: 3px double var(--rule); }
.label { position: sticky; top: 112px; padding-top: 4px; }
.label .no, .label .name, .label .desc { display: block; }
.label .no { font-family: var(--mono); font-size: 12px; line-height: 18px; color: var(--ink-4); letter-spacing: 0.06em; }
.label .name { font-variant: all-small-caps; letter-spacing: 0.14em; font-weight: 500; font-size: 18px; line-height: 22px; margin-top: 6px; color: var(--ink); }
.label .desc { font-size: 13px; line-height: 19px; color: var(--ink-3); margin-top: 8px; }
.label .state { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--rule); display: grid; gap: 4px; }
.label .state .status { display: block; }
.label .state .k { font-size: 11px; line-height: 16px; color: var(--ink-4); font-variant: all-small-caps; letter-spacing: 0.1em; }
.content > .h1 { margin-bottom: 16px; max-width: 760px; }
.content > .lead { max-width: 680px; }
.block { margin-top: 44px; }
.block-sm { margin-top: 28px; }

/* three / four column ruled lists */
.cols { display: grid; gap: 0 32px; margin-top: 44px; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols > li, .cols > div { border-top: 1px solid var(--rule-strong); padding: 16px 0 8px; }
.cols .idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-4); display: block; margin-bottom: 10px; }
.cols .h3 { margin-bottom: 8px; }
.cols .body { font-size: 15px; line-height: 23px; }

/* ---------- tables ---------- */
table.doc { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
table.doc caption { text-align: left; caption-side: top; font-variant: all-small-caps; letter-spacing: 0.12em; font-weight: 500; font-size: 16px; color: var(--ink-2); padding: 0 0 10px; }
table.doc th { text-align: left; font-weight: 500; font-variant: all-small-caps; letter-spacing: 0.1em; font-size: 15px; color: var(--ink-3); padding: 8px 16px 8px 0; border-bottom: 1px solid var(--rule-strong); vertical-align: bottom; }
table.doc td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
table.doc td:last-child, table.doc th:last-child { padding-right: 0; }
table.doc td.key { color: var(--ink); font-weight: 500; white-space: nowrap; }
table.doc td.num { font-family: var(--serif); font-size: 24px; line-height: 24px; color: var(--ink); width: 48px; font-variation-settings: "opsz" 30; }
table.doc td.st { white-space: nowrap; text-align: right; }
table.doc tr.sub th { font-size: 14px; border-bottom: 1px solid var(--rule); padding-top: 18px; }
.table-wrap { overflow-x: auto; }

/* definition table (hero facts) */
.facts { display: grid; grid-template-columns: 110px 1fr; margin-top: 40px; font-size: 14px; line-height: 20px; }
.facts dt { font-variant: all-small-caps; letter-spacing: 0.1em; font-weight: 500; font-size: 15px; color: var(--ink-3); padding: 9px 0; border-top: 1px solid var(--rule); }
.facts dd { padding: 9px 0; border-top: 1px solid var(--rule); color: var(--ink); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 1px solid var(--rule); }

/* ---------- figures ---------- */
figure.fig { margin-top: 44px; }
.fig-frame { border: 1px solid var(--ink); background: #fff; position: relative; overflow: hidden; }
.fig-frame img { display: block; width: 100%; height: auto; }
.fig-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 0 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.fig-head .n { color: var(--ink); }
figcaption { margin-top: 12px; font-size: 14px; line-height: 21px; color: var(--ink-3); max-width: 720px; }
figcaption .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-right: 8px; }
.blueprint { border: 1px solid var(--ink); background-color: #FBFAF7; background-image: radial-gradient(rgba(28,34,48,.22) 1px, transparent 1px); background-size: 8px 8px; padding: 20px; overflow-x: auto; }
.blueprint svg { display: block; width: 100%; height: auto; max-width: 980px; margin: 0 auto; font-family: var(--sans); }
.bp-box { fill: #FBFAF7; stroke: var(--ink); stroke-width: 1; }
.bp-box-solid { fill: var(--ink); stroke: var(--ink); stroke-width: 1; }
.bp-box-tint { fill: var(--surface); stroke: var(--ink); stroke-width: 1; }
.bp-line { stroke: var(--ink); stroke-width: 1; fill: none; }
.bp-line-soft { stroke: var(--ink-3); stroke-width: 1; fill: none; }
.bp-block { stroke: var(--held); stroke-width: 1.25; fill: none; stroke-dasharray: 5 4; }
.bp-l { font-size: 13px; font-weight: 500; fill: var(--ink); font-variant: all-small-caps; letter-spacing: 0.08em; }
.bp-l-light { font-size: 13px; font-weight: 500; fill: var(--bg); font-variant: all-small-caps; letter-spacing: 0.08em; }
.blueprint text { paint-order: stroke; stroke: #FBFAF7; stroke-width: 4px; stroke-linejoin: round; }
.blueprint .bp-l-light, .blueprint text[fill="#F6F5F1"] { stroke: #1C2230; }
.bp-n { font-size: 11px; fill: var(--ink-3); font-family: var(--mono); letter-spacing: 0; }
.bp-n-held { font-size: 11px; fill: var(--held); font-family: var(--mono); letter-spacing: 0; }
.bp-n-ok { font-size: 11px; fill: var(--ok); font-family: var(--mono); letter-spacing: 0; }
.bp-wall { stroke: var(--ink); stroke-width: 1.5; fill: none; }

/* callouts over screenshots: one .co per callout = dot, leader, tag */
.annot { position: relative; container-type: inline-size; }
.co { position: absolute; display: flex; align-items: center; transform: translateY(-50%); color: var(--ink); z-index: 2; }
.co.r { flex-direction: row-reverse; transform: translate(-100%, -50%); }
.co i { flex: none; width: 9px; height: 9px; border: 1.5px solid currentColor; border-radius: 50%; background: var(--bg); }
.co b { flex: none; width: 40px; height: 1px; background: currentColor; }
.co span { flex: none; font-family: var(--mono); font-size: 11px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--bg); padding: 3px 7px; border: 1px solid currentColor; white-space: nowrap; }
.co.held { color: var(--held); }
.co.ok { color: var(--ok); }
.co.out b { width: var(--w); }
.co.up { flex-direction: column-reverse; transform: translate(-50%, -100%); }
.co.up b { width: 1px; height: 28px; }
.co.dn { flex-direction: column; transform: translate(-50%, 0); }
.co.dn b { width: 1px; height: 24px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 2px; font-weight: 500; font-size: 15px; line-height: 20px; border: 1px solid var(--ink); cursor: pointer; transition: background .15s ease, color .15s ease; white-space: nowrap; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #2B3446; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row .link { color: var(--brass); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(138,100,32,.45); margin-left: 8px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--ink); }
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--brass); }
.nav-links .btn { color: var(--bg); margin-left: 8px; }
.nav-links .btn:hover { color: var(--bg); }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); border-radius: 2px; padding: 7px 9px; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--rule); background: var(--bg); }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); font-weight: 500; }
.mobile-nav[data-open="true"] { display: block; }
@media (max-width: 1023px) { .nav-links { display: none; } .menu-btn { display: inline-flex; } }

/* document header strip + running index */
.docbar { background: var(--surface); border-bottom: 1px solid var(--rule); }
.docbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 44px; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.docbar .title { font-variant: all-small-caps; letter-spacing: 0.14em; font-weight: 500; font-size: 14px; color: var(--ink); white-space: nowrap; }
.docbar .title span { color: var(--ink-3); font-weight: 400; margin-left: 12px; }
.docbar .index { display: none; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; white-space: nowrap; min-width: 0; }
.docbar .title span { display: none; }
@media (min-width: 1536px) { .docbar .title span { display: inline; } }
.docbar .index a { color: var(--ink-3); }
.docbar .index a:hover { color: var(--brass); }
.docbar .index a b { color: var(--ink-4); font-weight: 400; margin-right: 4px; }
@media (min-width: 1280px) { .docbar { position: sticky; top: 64px; z-index: 40; } .docbar .index { display: flex; } }

/* ---------- hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.hero .display { margin: 22px 0 22px; max-width: 520px; }
.hero .lead { margin-bottom: 28px; max-width: 480px; }
.hero-visual { padding-right: 170px; }
.crop { aspect-ratio: 1400 / 730; overflow: hidden; position: relative; border: 1px solid var(--ink); background: #fff; }
.crop img { display: block; width: 171.43%; max-width: none; height: auto; margin-left: -2.86%; margin-top: -52.86%; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; border-top: 1px solid var(--ink); }
.stepper li { padding: 12px 14px 0 0; border-right: 1px solid var(--rule); margin-right: 14px; }
.stepper li:last-child { border-right: 0; margin-right: 0; }
.stepper .status { display: block; margin-bottom: 4px; }
.stepper .status::before { content: counter(step, decimal-leading-zero) "  "; counter-increment: step; color: var(--ink-4); }
.stepper { counter-reset: step; }
.stepper span:last-child { font-size: 13px; line-height: 19px; color: var(--ink-2); }

/* ---------- misc components ---------- */
.file { background: #fff; border: 1px solid var(--ink); font-family: var(--mono); font-size: 12.5px; line-height: 20px; color: var(--ink-2); overflow-x: auto; }
.file .fname { padding: 8px 14px; border-bottom: 1px solid var(--rule); background: var(--surface); color: var(--ink); font-weight: 500; }
.file pre { margin: 0; padding: 12px 14px; white-space: pre; }
pre.code { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--ink); color: var(--ink); padding: 20px 22px; font-size: 13.5px; line-height: 22px; overflow-x: auto; margin: 0; }
pre.code .c { color: var(--ink-3); }
pre.code .k { color: var(--brass); }
pre.code .s { color: var(--ok); }
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 21px; line-height: 30px; font-weight: 500; font-variation-settings: "opsz" 30; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-4); }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--ink-4); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0 52px; color: var(--ink-2); max-width: 680px; }
.portals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.portal { border: 1px solid var(--ink); background: #fff; }
.portal-bar { padding: 8px 14px; border-bottom: 1px solid var(--rule); background: var(--surface); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); }
.portal-body { padding: 6px 14px 10px; font-size: 13px; line-height: 20px; color: var(--ink-2); }
.portal-body .kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 7px 0; border-top: 1px solid var(--rule-soft); }
.portal-body .kv:first-child { border-top: 0; }
.portal-body strong { color: var(--ink); font-weight: 500; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--ink); padding: 56px 0 36px; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-variant: all-small-caps; letter-spacing: 0.12em; font-weight: 500; font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.foot-grid li { margin-bottom: 8px; font-size: 14px; color: var(--ink-3); }
.foot-grid li a { color: var(--ink-3); text-decoration: none; }
.foot-grid li a:hover { color: var(--brass); }
.foot-legal { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .hero-visual { padding-right: 0; }
  .hero .annot .co { display: none; }
}
@media (max-width: 1023px) {
  .spread { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .content, .label { min-width: 0; }
  .label { position: static; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
  .label .name { margin-top: 0; }
  .label .desc { grid-column: 1 / -1; margin-top: 0; }
  .label .state { margin-top: 0; padding-top: 0; border-top: 0; grid-column: 3; grid-row: 1; display: flex; gap: 10px; }
  .label .state .k { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .display { max-width: 640px; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  section.doc { padding: 52px 0 60px; }
  .display { font-size: 40px; }
  .h1 { font-size: 29px; }
  .hero { padding: 40px 0 52px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .two, .portals { grid-template-columns: 1fr; }
  .crop { aspect-ratio: auto; }
  .blueprint svg { min-width: 640px; }
  .crop img { width: 100%; margin: 0; }
  .stepper { grid-template-columns: 1fr 1fr; }
  .stepper li:nth-child(2) { border-right: 0; }
  .stepper li { padding-bottom: 8px; }
  .facts { grid-template-columns: 96px 1fr; }
  .label { grid-template-columns: auto 1fr; }
  .label .state { grid-column: 1 / -1; grid-row: auto; }
  .annot .co { display: none; }
  .faq summary { grid-template-columns: 1fr auto; font-size: 19px; line-height: 27px; }
  .faq summary .q { display: none; }
  .faq details p { margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  table.doc { font-size: 14px; line-height: 21px; }
  table.doc td.key { white-space: normal; }
  .docbar .title span { display: none; }
}

/* =====================================================================================
   Shared vocabulary for the sub-pages (pricing, demo, docs, models, compare, solutions, blog).
   They were written against the round-1 class names; this block restyles those names in the
   Dossier idiom so one stylesheet serves every page. Home-page rules above take precedence.
   ===================================================================================== */
:root {
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3); --text-4: var(--ink-4);
  --border: var(--rule); --border-strong: var(--rule-strong); --border-subtle: var(--rule-soft);
  --action: var(--brass); --action-hover: #6F4F17; --action-tint: var(--brass-soft);
  --live: var(--ok); --live-bg: var(--ok-soft); --progress-bg: var(--brass-soft);
  --held-bg: var(--held-soft); --approved: var(--ok); --approved-bg: var(--ok-soft);
  --stroke: var(--ink-4); --fill: #FFFFFF; --danger: var(--held);
  --r-sm: 2px; --r-md: 2px; --r-lg: 2px; --r-xl: 2px; --sh-sm: none; --sh-md: none; --sh-lg: none;
  --c-md: 760px; --c-lg: 1024px; --c-xl: 1280px;
}
.container.wide { max-width: var(--max); }
.container.narrow { max-width: 800px; }
main > section:not(.doc):not(.hero) { padding: 72px 0 88px; border-top: 3px double var(--rule); }
section.alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head .h1 { margin: 10px 0 16px; }
.kicker { display: block; font-variant: all-small-caps; letter-spacing: 0.14em; font-weight: 500; font-size: 18px; line-height: 22px; color: var(--ink); margin-bottom: 12px; }
.kicker::before { content: "§ "; font-family: var(--mono); font-variant: normal; letter-spacing: 0; font-size: 12px; color: var(--ink-4); }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }
.card { background: none; border: 0; border-top: 1px solid var(--rule-strong); border-radius: 0; padding: 18px 0 0; box-shadow: none; }
.card .h3 { margin-bottom: 8px; }
.card.white { background: none; }
.num { display: block; font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: 0.06em; color: var(--ink-4); margin-bottom: 10px; }
.num::before { content: "No. "; }
.pill { display: inline-block; font-family: var(--mono); font-size: 11px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; padding: 0; background: none; }
.pill-live, .pill-ok { color: var(--ok); }
.pill-progress { color: var(--progress); }
.pill-held { color: var(--held); }
.statement-list li { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.statement-list li:last-child { border-bottom: 1px solid var(--rule); }
.statement-list .pill { margin-top: 4px; }
.diagram { background: #fff; border: 1px solid var(--ink); padding: 24px; overflow-x: auto; }
.diagram svg { display: block; width: 100%; height: auto; max-width: 960px; margin: 0 auto; font-family: var(--sans); }
.svg-label { font-size: 14px; font-weight: 600; fill: var(--ink); }
.svg-note { font-size: 12px; fill: var(--ink-3); }
.svg-box { fill: #fff; stroke: var(--ink-4); stroke-width: 1; }
.svg-box-accent { fill: var(--surface); stroke: var(--ink); stroke-width: 1.25; }
.svg-line { stroke: var(--ink-4); stroke-width: 1.25; fill: none; }
.svg-line-accent { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.svg-line-danger { stroke: var(--held); stroke-width: 1.5; fill: none; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.trust li { padding: 0 16px; border-left: 1px solid var(--rule); }
.trust li:first-child { padding-left: 0; border-left: 0; }
.hero-text { max-width: 760px; }
.hero .eyebrow { display: block; margin-bottom: 4px; }
.cta-block { display: flex; flex-direction: column; gap: 6px; }
pre.code { background: var(--surface); color: var(--ink); border: 1px solid var(--rule); padding: 18px 22px; font-size: 13.5px; line-height: 22px; overflow-x: auto; margin: 0; }
pre.code .c { color: var(--ink-3); } pre.code .k { color: var(--brass); } pre.code .s { color: var(--ok); }
figcaption { margin-top: 12px; font-size: 14px; line-height: 21px; color: var(--ink-3); max-width: 720px; }
@media (max-width: 1023px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } main > section:not(.doc):not(.hero) { padding: 56px 0 64px; } }

/* =====================================================================================
   Home page (W4-D16-05): a short front page ahead of the document. Same tokens; larger type,
   one idea per screen, alternating bands. The long document is how-it-works.html.
   ===================================================================================== */
main.home > section:not(.doc):not(.hero) { padding: 112px 0; border-top: 0; }
.home .hero { padding: 88px 0 104px; text-align: center; }
.home .hero .display { font-size: clamp(40px, 6.2vw, 80px); line-height: 1.03; letter-spacing: -0.02em; max-width: 980px; margin: 20px auto 24px; text-wrap: balance; }
.home .hero .lead { font-size: 21px; line-height: 32px; max-width: 640px; margin: 0 auto 32px; text-wrap: balance; }
.home .hero .cta-row { justify-content: center; }
.home .hero figure { margin-top: 64px; text-align: left; }
.home .hero .fig-frame { box-shadow: 0 32px 64px -32px rgba(28,34,48,.4); }
.h-xl { font-family: var(--serif); font-weight: 500; font-size: clamp(31px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -0.018em; font-variation-settings: "opsz" 60; max-width: 920px; margin-top: 16px; text-wrap: balance; }
.h-xl + .lead { margin-top: 22px; max-width: 700px; font-size: 20px; line-height: 31px; }
.h-lg { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.14; letter-spacing: -0.012em; font-variation-settings: "opsz" 40; margin: 14px 0 14px; text-wrap: balance; }
.home .cols { margin-top: 56px; }
.home .cols .small { margin-top: 12px; }
.band-surface { background: var(--surface); }
.band-ink { background: var(--ink); color: var(--bg); }
.band-ink .lead, .band-ink .body { color: #C9CCD3; }
.band-ink .eyebrow, .band-ink .sc { color: #D9B872; }
.band-ink .cols > li { border-top-color: rgba(246,245,241,.55); }
.band-ink .cols .idx { color: #9BA1AD; }
.band-ink p a { color: #D9B872; text-decoration-color: rgba(217,184,114,.5); }
.band-ink .btn-primary { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.band-ink .btn-primary:hover { background: #fff; }
.band-ink .btn-ghost { color: var(--bg); border-color: rgba(246,245,241,.6); }
.band-ink .btn-ghost:hover { background: rgba(246,245,241,.1); }
.band-ink :focus-visible { outline-color: #D9B872; }
.proof { margin-top: 56px; border: 1px solid rgba(246,245,241,.35); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof > div { padding: 26px 28px 28px; border-left: 1px solid rgba(246,245,241,.2); }
.proof > div:first-child { border-left: 0; }
.proof h3 { font-size: 17px; line-height: 22px; margin-bottom: 10px; }
.proof .body { font-size: 15px; line-height: 23px; }
.steps { display: grid; gap: 112px; margin-top: 96px; }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.step:nth-child(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.step:nth-child(even) .step-text { order: 2; }
.step .status { font-size: 13px; }
.step .body { font-size: 17px; line-height: 27px; }
.cta-card { padding: 80px 64px; text-align: center; }
.cta-card .h-xl { margin: 0 auto; }
.cta-card .lead { margin: 22px auto 32px; }
.cta-card .cta-row { justify-content: center; }
@media (max-width: 1023px) {
  main.home > section:not(.doc):not(.hero) { padding: 72px 0; }
  .step, .step:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .step:nth-child(even) .step-text { order: 0; }
  .steps { gap: 72px; margin-top: 64px; }
  .proof { grid-template-columns: 1fr; }
  .proof > div { border-left: 0; border-top: 1px solid rgba(246,245,241,.2); }
  .proof > div:first-child { border-top: 0; }
  .cta-card { padding: 56px 24px; }
}
@media (max-width: 767px) { .home .hero { padding: 48px 0 64px; } .home .hero .lead { font-size: 18px; line-height: 28px; } .home .hero figure { margin-top: 40px; } }
.fig-frame.short { aspect-ratio: 1200 / 420; }
.fig-frame.short img { height: 100%; object-fit: cover; object-position: top; }
