/* ==================================================================
   ZTA Labs — design system

   Seven colours, no others. Text is the two canvases inverting; muted
   text is the same value at reduced alpha, so nothing new enters the
   palette.

   Switzer at 400 throughout. 500 is reserved for a single figure or
   word. Hierarchy comes from size and spacing, never weight.

   Self-hosted font. Do not add a Google Fonts link — it sends visitor
   IPs to a third party and would put a cookie banner on a site that
   otherwise needs none.
   ================================================================== */

:root {
  --dark:     #27222D;
  --light:    #F7F4FB;
  --accent:   #4B0082;
  --accent-h: #6B5DD3;
  --border:   #D8B8F5;
  --fill:     #CBAEFF;
  --signal:   #5A9D71;

  --muted-on-dark:  rgba(247, 244, 251, .64);
  --muted-on-light: rgba(39, 34, 45, .62);
  --rule-on-dark:   rgba(216, 184, 245, .2);

  --wrap: 1200px;
  --read: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Switzer', 'Switzer Variable', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  background: var(--light);
  color: var(--dark);
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.stat { font-weight: 500; }

/* ---------- Canvases ---------- */

.dark {
  background-color: var(--dark);
  color: var(--light);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='38.11' height='66.00' viewBox='0 0 38.11 66.00'><path d='M19.05 -55.00L38.11 -44.00L38.11 -22.00L19.05 -11.00L-0.00 -22.00L0.00 -44.00Z M19.05 11.00L38.11 22.00L38.11 44.00L19.05 55.00L-0.00 44.00L0.00 22.00Z M0.00 -22.00L19.05 -11.00L19.05 11.00L0.00 22.00L-19.05 11.00L-19.05 -11.00Z M38.11 -22.00L57.16 -11.00L57.16 11.00L38.11 22.00L19.05 11.00L19.05 -11.00Z M0.00 44.00L19.05 55.00L19.05 77.00L0.00 88.00L-19.05 77.00L-19.05 55.00Z M38.11 44.00L57.16 55.00L57.16 77.00L38.11 88.00L19.05 77.00L19.05 55.00Z M19.05 77.00L38.11 88.00L38.11 110.00L19.05 121.00L-0.00 110.00L0.00 88.00Z' fill='none' stroke='%23D8B8F5' stroke-width='1' stroke-opacity='.085'/></svg>");
  background-size: 38.11px 66.00px;
  background-repeat: repeat;
}
.dark--flat { background-image: none; }

/* ---------- Header ---------- */

.head { border-bottom: 1px solid var(--rule-on-dark); }
.head .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { font-size: 20px; letter-spacing: -0.015em; text-decoration: none; white-space: nowrap; }
.brand .dot { width: 9px; height: 9px; background: var(--fill); display: inline-block; margin-right: 10px; vertical-align: 1px; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { font-size: 15px; text-decoration: none; color: var(--muted-on-dark); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--light); }

/* ---------- Buttons ---------- */
/* Roles are canvas-dependent. #4B0082 carries ~12:1 on the light canvas
   and ~1.2:1 on the dark, so the primary CTA inverts to a light fill. */

.btn {
  display: inline-block; font-size: 16px; font-weight: 400; text-decoration: none;
  padding: 13px 24px; border-radius: 4px;
  border: 1px solid var(--fill); background: var(--fill); color: var(--dark);
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--accent-h); border-color: var(--accent-h); color: var(--light); }
.btn.sm { padding: 9px 16px; font-size: 15px; }
.btn.quiet { background: transparent; border-color: var(--border); color: var(--light); }
.btn.quiet:hover { background: transparent; border-color: var(--accent-h); color: var(--accent-h); }

/* Nav button keeps dark text in every state — at small size the inversion
   reads as a flicker rather than a state change. */
.head .btn, .head .btn:hover { color: var(--dark); }
.head .btn:hover { background: var(--border); border-color: var(--border); }

.on-light .btn { background: var(--accent); border-color: var(--accent); color: var(--light); }
.on-light .btn:hover { background: var(--accent-h); border-color: var(--accent-h); }
.on-light .btn.quiet { background: transparent; border-color: var(--border); color: var(--dark); }
.on-light .btn.quiet:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Type ---------- */

h1, h2, h3, h4 { font-weight: 400; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; max-width: 17ch; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; max-width: 22ch; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }

.eyebrow { font-size: 15px; margin: 0 0 20px; color: var(--muted-on-light); }
.dark .eyebrow { color: var(--fill); }

.lede { font-size: 20px; line-height: 1.5; max-width: var(--read); margin: 26px 0 0; color: var(--muted-on-light); }
.dark .lede { color: var(--muted-on-dark); }

p { max-width: var(--read); }
.prose p { margin: 18px 0 0; color: var(--muted-on-light); }
.prose p:first-child { margin-top: 0; }
.prose strong { font-weight: 400; color: var(--dark); }
.dark .prose p { color: var(--muted-on-dark); }
.dark .prose strong { color: var(--light); }

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }
.dark .rule { border-color: var(--rule-on-dark); }

.actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 38px 0 0; }

/* ---------- Specimen panel ---------- */

.panel { background: var(--light); color: var(--dark); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.panel-bar .t { font-size: 16px; }
.panel-bar .m { font-size: 14px; color: var(--muted-on-light); }
.verified { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--signal); }
.verified .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); display: inline-block; }

table { width: 100%; border-collapse: collapse; font-size: 16px; }
thead th { text-align: left; font-weight: 400; font-size: 14px; color: var(--muted-on-light); padding: 14px 24px; border-bottom: 1px solid var(--border); }
thead th.r, tbody td.r { text-align: right; }
tbody td { padding: 15px 24px; border-bottom: 1px solid rgba(216,184,245,.5); }
tbody tr:last-child td { border-bottom: none; }
.caption { padding: 15px 24px; font-size: 14px; color: var(--muted-on-light); border-top: 1px solid var(--border); max-width: none; }

.tag { display: inline-block; font-size: 14px; padding: 3px 10px; border-radius: 3px; background: var(--fill); color: var(--dark); }
.tag.live { background: transparent; border: 1px solid var(--signal); color: var(--signal); }

/* ---------- Closing ---------- */

.closing { font-size: clamp(24px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.02em; max-width: 24ch; }

/* ---------- Footer ---------- */

.foot { border-top: 1px solid var(--rule-on-dark); }
.foot .wrap { padding-top: 46px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 15px; color: var(--fill); margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { font-size: 15px; color: var(--muted-on-dark); text-decoration: none; }
.foot-grid a:hover { color: var(--light); }
.foot-note { font-size: 15px; color: var(--muted-on-dark); max-width: 36ch; margin: 14px 0 0; }
.foot-bar { border-top: 1px solid var(--rule-on-dark); margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted-on-dark); }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .block { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .section { padding: 60px 0; }
  .wrap { padding: 0 22px; }
  thead th, tbody td, .panel-bar, .caption { padding-left: 16px; padding-right: 16px; }
  table { font-size: 15px; }
  thead th:nth-child(3), tbody td:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Section index ---------- */
/* Numbered sections. An editorial device — it tells the reader where they
   are in an argument, which a long page otherwise hides. */

.idx {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 22px; font-size: 15px; color: var(--muted-on-light);
}
.dark .idx { color: var(--muted-on-dark); }
.idx .n { font-variant-numeric: tabular-nums; color: var(--accent); }
.dark .idx .n { color: var(--fill); }
.idx .bar { flex: 0 0 40px; height: 1px; background: var(--border); }
.dark .idx .bar { background: var(--rule-on-dark); }

/* ---------- Specimen invitation ---------- */

.specimen {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; margin-top: 44px;
  padding-top: 34px; border-top: 1px solid var(--rule-on-dark);
}
.on-light .specimen { border-top-color: var(--border); }
.specimen .txt { max-width: 54ch; }

@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .stat-item + .stat-item { padding-left: 0; border-left: none; border-top: 1px solid var(--rule-on-dark); }
  .block--num { grid-template-columns: 1fr; }
}

/* ---------- Display statement ---------- */
/* One sentence at headline scale, used to break a long argument. Not a
   pull quote — it carries the claim the section beneath it evidences. */

.display {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.14; letter-spacing: -0.028em;
  max-width: 26ch; margin: 0;
}
.display .quiet { color: var(--muted-on-dark); }
.on-light .display .quiet { color: var(--muted-on-light); }

/* ---------- Failure receipt ---------- */
/* The page's primary artefact. A real exchange, laid out the way the
   report lays it out, so the marketing page and the deliverable are
   visibly the same object. */

.receipt { background: #fff; color: var(--dark); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.receipt--bleed { border-radius: 6px 6px 0 0; border-bottom: none; }
.receipt-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 17px 26px; border-bottom: 1px solid var(--border);
}
.receipt-bar .who { font-size: 16px; }
.receipt-bar .meta { font-size: 14px; color: var(--muted-on-light); }
.receipt-bar .flag {
  margin-left: auto; font-size: 13px; padding: 3px 10px; border-radius: 3px;
  background: var(--fill); color: var(--dark);
}
.receipt-row {
  display: grid; grid-template-columns: 13ch 1fr; gap: 26px;
  padding: 20px 26px; border-bottom: 1px solid rgba(216,184,245,.5);
}
.receipt-row:last-of-type { border-bottom: none; }
.receipt-row .k { font-size: 14px; color: var(--muted-on-light); }
.receipt-row .v { font-size: 17px; line-height: 1.5; max-width: 66ch; margin: 0; }
.receipt-row .v.said { font-size: 19px; }
.wrong { background: var(--fill); padding: 1px 5px; border-radius: 2px; }
.right { border-bottom: 2px solid var(--signal); padding-bottom: 1px; }
.receipt-foot {
  padding: 18px 26px; border-top: 1px solid var(--border);
  display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
  font-size: 15px; color: var(--muted-on-light);
}
.receipt-foot .cost { color: var(--dark); }

/* ---------- Card grid ---------- */

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 52px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--light); padding: 30px 28px; }
.dark .card { background: var(--dark); }
.card h3 { margin: 0 0 12px; }
.card p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--muted-on-light); max-width: 46ch; }
.dark .card p { color: var(--muted-on-dark); }
.card .n { display: block; font-size: 14px; color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.dark .card .n { color: var(--fill); }

/* ---------- Two-up ---------- */

.twoup { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; }
.twoup h3 { margin-bottom: 14px; }
.twoup p { margin: 0; color: var(--muted-on-light); font-size: 17px; }
.dark .twoup p { color: var(--muted-on-dark); }

/* ---------- Inline denial list ---------- */

.denials { margin-top: 48px; border-top: 1px solid var(--border); }
.dark .denials { border-top-color: var(--rule-on-dark); }
.denial { display: grid; grid-template-columns: 26ch 1fr; gap: 40px; padding: 26px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.dark .denial { border-bottom-color: var(--rule-on-dark); }
.denial h3 { margin: 0; }
.denial p { margin: 0; color: var(--muted-on-light); font-size: 17px; }
.dark .denial p { color: var(--muted-on-dark); }

@media (max-width: 900px) {
  .cards, .cards--3, .twoup { grid-template-columns: 1fr; }
  .denial { grid-template-columns: 1fr; gap: 10px; }
  .receipt-row { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .receipt-bar, .receipt-foot { padding-left: 18px; padding-right: 18px; }
}


/* ---------- ZTA site additions ---------- */
.light-hex {
  background-color: var(--light);
  color: var(--dark);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='38.11' height='66.00' viewBox='0 0 38.11 66.00'><path d='M19.05 -55.00L38.11 -44.00L38.11 -22.00L19.05 -11.00L-0.00 -22.00L0.00 -44.00Z M19.05 11.00L38.11 22.00L38.11 44.00L19.05 55.00L-0.00 44.00L0.00 22.00Z M0.00 -22.00L19.05 -11.00L19.05 11.00L0.00 22.00L-19.05 11.00L-19.05 -11.00Z M38.11 -22.00L57.16 -11.00L57.16 11.00L38.11 22.00L19.05 11.00L19.05 -11.00Z M0.00 44.00L19.05 55.00L19.05 77.00L0.00 88.00L-19.05 77.00L-19.05 55.00Z M38.11 44.00L57.16 55.00L57.16 77.00L38.11 88.00L19.05 77.00L19.05 55.00Z M19.05 77.00L38.11 88.00L38.11 110.00L19.05 121.00L-0.00 110.00L0.00 88.00Z' fill='none' stroke='%23D8B8F5' stroke-width='1' stroke-opacity='.14'/></svg>");
  background-size: 38.11px 66px;
  background-repeat: repeat;
}
.hero { padding: 110px 0 90px; }
.hero .lede { max-width: 34ch; }
.hero-grid, .split, .split-wide, .two-col, .cta-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.split-wide { grid-template-columns: 1.1fr .9fr; }
.hero-strip {
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-on-dark);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.hero-strip span {
  font-size: 16px;
  color: var(--light);
  position: relative;
  padding-left: 16px;
}
.hero-strip span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--fill);
  position: absolute;
  left: 0;
  top: .62em;
}
.hero-close { margin-top: 18px; font-size: 22px; line-height: 1.35; max-width: 36ch; }
.tri {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 44px;
}
.tri > article { padding: 22px 28px 26px 0; }
.tri > article + article { border-left: 1px solid var(--border); padding-left: 28px; }
.tri .kicker { font-size: 15px; color: var(--accent); margin-bottom: 12px; }
.tri p { font-size: 17px; line-height: 1.55; color: var(--muted-on-light); max-width: 32ch; }
.tri .end { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--accent); }
.note { border-left: 2px solid var(--accent); padding-left: 22px; max-width: 60ch; }
.dark .note { border-left-color: var(--fill); }
.note p { margin: 0; }
.stack { border: 1px solid var(--rule-on-dark); margin-top: 36px; }
.stack .layer { border-bottom: 1px solid var(--rule-on-dark); padding: 18px 22px; }
.stack .layer:last-child { border-bottom: 0; }
.stack .layer h4 { font-size: 16px; color: var(--fill); margin-bottom: 8px; }
.stack .layer p { margin: 0; color: var(--light); max-width: none; }
.control-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 16px;
  border: 1px solid var(--rule-on-dark);
}
.control-grid > div { padding: 16px 14px; border-right: 1px solid var(--rule-on-dark); font-size: 15px; }
.control-grid > div:last-child { border-right: 0; }
.control-grid h5 { margin: 0 0 8px; font-size: 15px; font-weight: 400; color: var(--light); }
.control-grid p { margin: 0; color: var(--muted-on-dark); font-size: 14px; line-height: 1.45; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tick-list li { padding-left: 22px; position: relative; font-size: 19px; }
.tick-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--border);
  position: absolute;
  left: 0;
  top: .48em;
}
.ledger, .pillars, .cards, .stats, .flow, .gates, .mini-grid, .program, .workflows {
  display: grid;
  gap: 18px;
}
.ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ledger .cell, .cards article, .mini-grid > div, .gates article, .workflows article {
  border: 1px solid var(--border);
  padding: 24px;
  background: rgba(203,174,255,.10);
}
.dark .ledger .cell, .dark .cards article, .dark .mini-grid > div, .dark .gates article, .dark .workflows article {
  border-color: var(--rule-on-dark);
  background: rgba(203,174,255,.06);
}
.ledger h3, .cards h3, .mini-grid h3, .gates h3, .workflows h3 { font-size: 22px; margin-bottom: 14px; }
.ledger ul, .cards ul, .mini-grid ul, .workflows ul { margin: 0; padding-left: 18px; color: var(--muted-on-light); display: grid; gap: 9px; }
.dark .ledger ul, .dark .cards ul, .dark .mini-grid ul, .dark .workflows ul { color: var(--muted-on-dark); }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.program { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 30px; }
.program article { border-top: 1px solid var(--border); padding-top: 18px; }
.program h3 { font-size: 20px; margin-bottom: 8px; }
.program p { margin: 0; font-size: 16px; color: var(--muted-on-light); }
.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 24px;
}
.stats .stat-item { padding: 22px 16px 20px 0; }
.stats .stat-item + .stat-item { border-left: 1px solid var(--border); padding-left: 16px; }
.stats .n { display: block; font-size: clamp(30px, 4vw, 44px); line-height: 1; color: var(--accent); }
.stats .l { display: block; margin-top: 8px; font-size: 15px; color: var(--muted-on-light); }
.receipt {
  margin-top: 28px;
  border: 1px solid var(--border);
  background: var(--light);
  color: var(--dark);
}
.receipt-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.receipt-bar .who { font-size: 16px; }
.receipt-bar .meta { font-size: 14px; color: var(--muted-on-light); }
.receipt-bar .flag { margin-left: auto; font-size: 14px; border: 1px solid var(--accent); color: var(--accent); padding: 4px 9px; border-radius: 3px; }
.receipt-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 22px;
  padding: 16px 22px; border-bottom: 1px solid rgba(216,184,245,.5);
}
.receipt-row:last-of-type { border-bottom: 0; }
.receipt-row .k { font-size: 14px; color: var(--accent); }
.receipt-row .v { margin: 0; max-width: none; }
.receipt-row .wrong { color: var(--accent); }
.receipt-row .right { color: var(--signal); }
.receipt-foot { padding: 16px 22px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted-on-light); }
.surface {
  border: 1px solid var(--rule-on-dark);
  padding: 0;
  margin-top: 28px;
  background: rgba(203,174,255,.05);
}
.surface-head {
  display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap;
  padding: 16px 20px; border-bottom: 1px solid var(--rule-on-dark);
}
.surface-head .meta { color: var(--muted-on-dark); font-size: 15px; }
.surface-grid { display: grid; grid-template-columns: 1.3fr .9fr; }
.surface-main, .surface-side { padding: 20px; }
.surface-side { border-left: 1px solid var(--rule-on-dark); }
.surface-block + .surface-block { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule-on-dark); }
.surface h3 { font-size: 18px; margin-bottom: 8px; }
.surface p { max-width: none; margin: 0; }
.response-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.response-grid article { border: 1px solid var(--rule-on-dark); padding: 14px; background: rgba(203,174,255,.05); }
.response-grid .active { border-color: var(--fill); background: rgba(203,174,255,.12); }
.response-grid h4 { font-size: 16px; margin-bottom: 7px; color: var(--light); }
.response-grid p { font-size: 15px; color: var(--muted-on-dark); }
.scoreline { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 15px; }
.flow { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 28px; }
.flow article { border-top: 1px solid var(--border); padding-top: 18px; }
.flow .step { font-size: 14px; color: var(--accent); margin-bottom: 8px; }
.flow p { font-size: 16px; color: var(--muted-on-light); max-width: none; }
.dark .flow article { border-top-color: var(--rule-on-dark); }
.dark .flow .step { color: var(--fill); }
.dark .flow p { color: var(--muted-on-dark); }
.quote { font-size: clamp(22px, 3vw, 32px); line-height: 1.28; max-width: 26ch; margin: 0; }
.callout {
  padding: 22px 24px; border-left: 2px solid var(--accent); background: rgba(203,174,255,.10);
}
.dark .callout { border-left-color: var(--fill); background: rgba(203,174,255,.06); }
.callout p { margin: 0; max-width: 56ch; }
.gates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gates .status { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; color: var(--accent); }
.dark .gates .status { border-top-color: var(--rule-on-dark); color: var(--fill); }
.workflows { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-line { font-size: 16px; color: var(--muted-on-light); display: flex; flex-wrap: wrap; gap: 14px; }
.dark .metric-line { color: var(--muted-on-dark); }
.mini-table table { background: var(--light); }
.mini-table .tag.restrict { background: transparent; border: 1px solid var(--border); color: var(--dark); }
.cta-band { align-items: center; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 20px; border-top: 1px solid var(--border); }
.kv > div { padding: 18px 0; border-bottom: 1px solid var(--border); }
.kv .k { color: var(--accent); font-size: 15px; }
.kv .v { margin: 0; max-width: none; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 18px; }
.checks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); position: absolute; left: 0; top: .68em; }
.dark .checks li::before { background: var(--fill); }
.small { font-size: 15px; color: var(--muted-on-light); }
.dark .small { color: var(--muted-on-dark); }

@media (max-width: 1100px) {
  .program { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards, .flow, .workflows, .gates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .surface-grid, .hero-grid, .split, .split-wide, .two-col, .cta-band { grid-template-columns: 1fr; }
  .surface-side { border-left: 0; border-top: 1px solid var(--rule-on-dark); }
  .control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { padding: 80px 0 64px; }
  .hero-strip, .tri, .ledger, .cards, .flow, .program, .stats, .mini-grid, .gates, .workflows { grid-template-columns: 1fr; }
  .tri > article, .tri > article + article { padding: 22px 0; border-left: 0; border-top: 1px solid var(--border); }
  .tri > article:first-child { border-top: 0; }
  .hero-strip span { padding-left: 14px; }
  .stats .stat-item { padding: 18px 0; }
  .stats .stat-item + .stat-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .control-grid { grid-template-columns: 1fr; }
  .receipt-row, .kv { grid-template-columns: 1fr; gap: 8px; }
  .response-grid { grid-template-columns: 1fr; }
}
