/* ————————————————————————————— base ————————————————————————————— */
html { scroll-behavior: smooth; }
body {
  background: var(--color-ground);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
}
.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}
section { padding-block: var(--pad-section); }
main > section + section { border-top: 1px solid var(--color-border); }

h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h1 { font-size: clamp(64px, 6.5vw, 104px); line-height: 0.9; font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(46px, 4.5vw, 72px); line-height: 0.95; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 30px; line-height: 1; font-weight: 700; }

.eyebrow, .caption, .status, .table-label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow { color: var(--color-olive); font-weight: 600; }
.muted { color: var(--color-text-muted); }

.skip-link {
  position: absolute; left: 8px; top: -48px;
  background: var(--color-text); color: var(--color-surface);
  padding: 10px 16px; border-radius: var(--radius-small);
  font-family: var(--font-mono); font-size: 13px; text-decoration: none;
  z-index: 200; transition: top .15s ease;
}
.skip-link:focus-visible { top: 8px; }

/* hand-drawn underline (inline SVG stroke) */
.hand-underline { position: relative; display: inline-block; }
.hand-underline > svg {
  position: absolute; left: -1%; bottom: -0.14em; width: 102%; height: 0.22em;
  color: var(--color-orange);
}
.hand-underline--olive > svg { color: var(--color-olive); }

/* section header pattern: offset, not centered */
.sec-head { max-width: 60ch; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .eyebrow { display: block; margin-bottom: 18px; }
.sec-head h2 { margin-bottom: 18px; }
.sec-head p { color: var(--color-text-muted); max-width: 52ch; }
.sec-head--split {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.sec-head--split > div { max-width: 60ch; }
.head-chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  border: 1px solid var(--color-text); border-radius: var(--radius-small);
  padding: 9px 14px; white-space: nowrap; text-transform: uppercase;
}

/* ————————————————————————————— buttons ————————————————————————————— */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: var(--radius-small);
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, transform .1s ease;
}
.button:active { transform: translateY(1px); }
.button .arr { transition: transform .15s ease; }
.button:hover .arr { transform: translateX(3px); }
.button--primary { background: var(--color-orange); color: #FCFBF7; }
.button--primary:hover { background: var(--color-orange-dark); }
:root[data-theme="dark"] .button--primary { color: #171914; }
.button--secondary { background: transparent; border-color: var(--color-text); color: var(--color-text); }
.button--secondary:hover { background: color-mix(in srgb, var(--color-olive) 12%, transparent); }

/* ————————————————————————————— header ————————————————————————————— */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 74px;
  background: color-mix(in srgb, var(--color-ground) 82%, transparent);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(6px);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--color-ground) 96%, transparent);
  box-shadow: 0 1px 0 var(--color-border);
}
.site-header .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border: 2.5px solid var(--color-olive);
  border-radius: var(--radius-small); display: grid; place-items: center; color: var(--color-olive);
}
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a.nav-link {
  font-size: 15px; font-weight: 500; text-decoration: none;
  color: var(--color-text-muted); padding: 9px 13px; border-radius: var(--radius-small);
}
.site-nav a.nav-link:hover { color: var(--color-text); background: color-mix(in srgb, var(--color-surface-alt) 70%, transparent); }
.site-nav .button { min-height: 42px; margin-left: 10px; font-size: 15px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-small); color: var(--color-text); }
.menu-toggle svg { margin-inline: auto; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-burger { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ————————————————————————————— hero ————————————————————————————— */
.hero { padding-block: clamp(56px, 6vw, 96px) var(--pad-section); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(560px, 7fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
/* board top-aligned with the copy column; the clip plate overhangs the frame
   by ~34px, so compensate to keep its top level with the eyebrow line */
.hero-grid .board { margin-top: 34px; }
.hero-copy .eyebrow { display: block; margin-bottom: 26px; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-lede { color: var(--color-text-muted); max-width: 46ch; margin-bottom: 30px; }
.hero-numeric {
  display: inline-flex; align-items: baseline; gap: 14px;
  border-block: 1px solid var(--color-border);
  padding: 14px 6px; margin-bottom: 34px;
  font-family: var(--font-mono);
  background-image: var(--texture-grid); background-size: 24px 24px;
}
.hero-numeric .big { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-numeric .big em { font-style: normal; color: var(--color-orange); }
.hero-numeric .unit { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em;
  border: 1px solid var(--color-border); background: var(--color-surface);
  border-radius: var(--radius-small); padding: 9px 12px; color: var(--color-text-muted);
}
.hero-badges svg { color: var(--color-olive); flex: none; }

/* ——— the operations board (clipboard) ——— */
.board {
  background: var(--color-board);
  border-radius: var(--radius-large);
  padding: 16px 16px 0;
  box-shadow: 0 30px 60px -30px rgba(22, 23, 19, 0.55);
  position: relative;
}
.board::before, .board::after { /* screws */
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8d9082, #3c3f33 70%);
  top: 12px;
}
.board::before { left: 12px; }
.board::after { right: 12px; }
.board-plate {
  width: max-content; margin: -28px auto 10px; position: relative; z-index: 2;
  background: linear-gradient(180deg, #b9b7a8, #8f8d7e);
  color: #22231c;
  border: 1px solid #6f6d60;
  border-radius: var(--radius-small);
  padding: 7px 22px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  box-shadow: 0 2px 4px rgba(0,0,0,.35);
}
.board-plate::before { /* clip tongue */
  content: ""; position: absolute; left: 50%; top: -9px; transform: translateX(-50%);
  width: 46px; height: 10px; background: linear-gradient(180deg, #cfcdbd, #97958a);
  border-radius: 5px 5px 0 0; border: 1px solid #6f6d60; border-bottom: none;
}
.board-inner { display: grid; grid-template-columns: 108px 1fr; gap: 0; }
.board-rail {
  background: var(--color-board-rail);
  border-radius: var(--radius-medium) 0 0 0;
  display: flex; flex-direction: column;
  padding: 18px 10px; gap: 4px;
  color: var(--color-board-text);
}
.rail-step { padding: 14px 8px; border-radius: var(--radius-small); text-align: center; }
.rail-step + .rail-step { border-top: 1px dashed color-mix(in srgb, var(--color-board-text) 25%, transparent); }
.rail-step .status { display: block; font-size: 10px; color: var(--color-board-text); opacity: .95; margin-bottom: 8px; }
.rail-step svg { margin: 0 auto 8px; opacity: .85; }
.rail-step small { display: block; font-size: 11px; line-height: 1.35; opacity: .65; font-family: var(--font-body); }

.sheet {
  background: var(--color-surface);
  background-image: var(--texture-grid); background-size: 24px 24px;
  border-radius: 0 var(--radius-medium) 0 0;
  padding: 22px 22px 16px;
  border-left: 1px solid var(--color-border);
}
.sheet-title {
  font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: 0.01em;
  border-bottom: 2px solid var(--color-text); padding-bottom: 12px; margin-bottom: 6px;
}
.sheet-cols {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-muted); padding: 8px 2px; border-bottom: 1px solid var(--color-border);
}
.checklist li {
  display: flex; align-items: center; gap: 12px;
  padding: 10.5px 2px; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 55%, transparent);
}
.checklist .cbx {
  width: 17px; height: 17px; flex: none;
  border: 2px solid var(--color-text-muted); border-radius: 3px;
  display: grid; place-items: center; color: transparent;
}
.checklist li.is-done .cbx { border-color: var(--color-olive); background: var(--color-olive); color: var(--color-surface); }
.checklist .task { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: 3px; white-space: nowrap; flex: none;
}
.chip--approved { background: var(--color-olive); color: var(--color-surface); }
:root[data-theme="dark"] .chip--approved { color: #171914; }
.chip--auto { background: var(--color-surface-alt); color: var(--color-text-muted); }
.chip--review { background: var(--color-orange); color: #FCFBF7; }
:root[data-theme="dark"] .chip--review { color: #171914; }
.chip--progress { background: transparent; border: 1px solid var(--color-text-muted); color: var(--color-text-muted); }
.checklist li.is-flagged { background: color-mix(in srgb, var(--color-warning) 12%, transparent); }

.review-panel {
  margin-top: 12px; border: 1px solid var(--color-border); border-radius: var(--radius-small);
  background: color-mix(in srgb, var(--color-surface-alt) 45%, var(--color-surface));
  padding: 12px 14px;
}
.review-panel .rp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-panel .rp-top .table-label { color: var(--color-text); }
.rp-row { display: flex; align-items: center; gap: 14px; }
.rp-meta { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-muted); white-space: nowrap; }
.rp-meta b { color: var(--color-text); }
.progress { flex: 1; height: 7px; background: var(--color-surface-alt); border-radius: 4px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; background: var(--color-olive); border-radius: 4px; transition: width 1s ease; }
.rp-btn {
  font-family: var(--font-mono); font-size: 12px; border: 1px solid var(--color-text);
  border-radius: 3px; padding: 6px 12px; white-space: nowrap;
}
.rp-btn:hover { background: var(--color-text); color: var(--color-surface); }

.board-foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 8px; color: var(--color-board-text);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
}
.board-foot b { color: #fff; font-weight: 600; }
:root[data-theme="dark"] .board-foot b { color: var(--color-text); }

/* ————————————————————————————— about (the short version) ————————————————————————————— */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.about { padding-block: clamp(48px, 5vw, 80px); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.about-tile { border-top: 2px solid var(--color-olive); padding-top: 18px; }
.about-tile .table-label { color: var(--color-olive); display: block; margin-bottom: 12px; }
.about-tile p { color: var(--color-text-muted); font-size: 15.5px; }
.about-tile p strong { color: var(--color-text); display: block; margin-bottom: 6px; font-size: 17px; }

/* ————————————————————————————— inside the platform ————————————————————————————— */
.shots-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(20px, 2.5vw, 32px); align-items: start; }
.shot--featured { grid-row: span 2; }
.shot figcaption { margin-top: 14px; font-size: 14.5px; color: var(--color-text-muted); max-width: 34ch; }
.shot--featured figcaption { font-size: 16px; max-width: 62ch; }
.shot--featured figcaption b { color: var(--color-text); font-family: var(--font-display); font-size: 18px; }
.shot-frame {
  border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  background: var(--color-surface); overflow: hidden;
  box-shadow: 0 16px 32px -24px rgba(22,23,19,.4);
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  background: var(--color-surface-alt); border-bottom: 1px solid var(--color-border);
  padding: 9px 12px;
}
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--color-border); }
.shot-bar i {
  font-style: normal; font-family: var(--font-mono); font-size: 10.5px;
  color: var(--color-text-muted); margin-left: 8px; letter-spacing: 0.04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-link { display: block; cursor: zoom-in; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-mock {
  padding: 14px; display: flex; flex-direction: column; gap: 9px;
  background-image: var(--texture-grid); background-size: 24px 24px;
  font-family: var(--font-mono); font-size: 12px; color: var(--color-text-muted); min-height: 150px;
}
.shot-mock .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px dashed color-mix(in srgb, var(--color-border) 60%, transparent); padding-bottom: 8px; }
.shot-mock .row:last-child { border-bottom: none; padding-bottom: 0; }
.shot-mock b { color: var(--color-text); font-weight: 600; }
.shot-mock .ok { color: var(--color-success); }
.shot-mock .warn { color: var(--color-danger); }
.shot-mock .chip { font-size: 10px; }

/* ——— hero proof panel ——— */
.proof-panel {
  margin-top: 34px; max-width: 560px;
  border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  background: var(--color-surface); overflow: hidden;
  box-shadow: 0 14px 28px -22px rgba(22, 23, 19, 0.5);
}
.pp-head {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-surface-alt); border-bottom: 1px solid var(--color-border);
  padding: 9px 16px;
}
.pp-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-success);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-success) 55%, transparent);
  animation: pp-pulse 2.4s ease-out infinite;
}
@keyframes pp-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-success) 55%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.pp-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.pp-grid > div { padding: 14px 16px 12px; border-right: 1px dashed var(--color-border); }
.pp-grid > div:last-child { border-right: none; }
.pp-grid dd {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: 30px; line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pp-grid dt {
  margin-top: 5px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted);
}
.pp-note {
  font-size: 13px; color: var(--color-text-muted);
  border-top: 1px solid var(--color-border); padding: 9px 16px 11px;
}

/* ——— try-it demo section ——— */
.try-frame { max-width: 1240px; margin-inline: auto; }
.try-note {
  margin-top: 16px; text-align: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.try-note a { color: var(--color-olive); font-weight: 600; }

/* ——— approval loop (dark) ——— */
.loop { background: var(--color-board); color: var(--color-board-text); }
main > section + .loop, main > .loop + section { border-top: none; }
.loop-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.loop .eyebrow { color: color-mix(in srgb, var(--color-board-text) 60%, var(--color-orange)); }
.loop h2 { color: #F3F0E7; }
.loop-copy > p { max-width: 56ch; color: color-mix(in srgb, var(--color-board-text) 88%, transparent); margin-top: 20px; }
.loop-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.lc-step {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-board-text) 35%, transparent);
  color: var(--color-board-text); white-space: nowrap;
}
.lc-step--human { background: var(--color-orange); border-color: var(--color-orange); color: #fff; font-weight: 600; }
.lc-arr { color: color-mix(in srgb, var(--color-board-text) 55%, transparent); }
.loop-note { margin-top: 26px; font-size: 14.5px; color: color-mix(in srgb, var(--color-board-text) 72%, transparent); max-width: 56ch; }
.loop-card {
  background: var(--color-board-rail); border: 1px solid color-mix(in srgb, var(--color-board-text) 25%, transparent);
  border-radius: var(--radius-medium); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.lp-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-board-text) 80%, transparent);
  border-bottom: 1px dashed color-mix(in srgb, var(--color-board-text) 25%, transparent);
  padding: 13px 18px;
}
.lp-status { color: #FFB08F; white-space: nowrap; }
.lp-checks { display: flex; flex-direction: column; }
.lp-checks li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 12px 18px; font-size: 15px;
  border-bottom: 1px dashed color-mix(in srgb, var(--color-board-text) 18%, transparent);
}
.lp-checks li:last-child { border-bottom: none; }
.lp-checks .m { font-family: var(--font-mono); flex-shrink: 0; }
.lp-checks .ok { color: color-mix(in srgb, var(--color-board-text) 82%, transparent); }
.lp-checks .ok .m { color: #A9B36B; }
.lp-checks .bad { color: #F3F0E7; }
.lp-checks .bad .m { color: #FF7A48; }
.lp-checks s { color: #FF9C73; text-decoration-color: #FF7A48; text-decoration-thickness: 1.5px; }
.lp-checks .to { font-style: normal; color: #A9B36B; font-weight: 600; white-space: nowrap; }
.lp-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 13px 18px; background: color-mix(in srgb, #14150F 35%, transparent);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
}
.lp-action { color: #FFB08F; }
.lp-approved { color: #A9B36B; }

/* ——— stack strip ——— */
.stack { padding-block: clamp(44px, 5vw, 72px); }
.stack-row { display: grid; grid-template-columns: minmax(260px, 0.9fr) 1.6fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.stack-head h2 { font-size: clamp(30px, 2.6vw, 40px); }
.stack-head p { margin-top: 10px; color: var(--color-text-muted); font-size: 15.5px; max-width: 40ch; }
.stack-list { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-list li {
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.03em;
  border: 1px solid var(--color-text); border-radius: 999px;
  padding: 10px 18px; background: var(--color-surface);
  display: inline-flex; align-items: baseline; gap: 8px;
}
.stack-list li.soon { border-style: dashed; border-color: var(--color-border); color: var(--color-text-muted); }
.stack-list li.soon small {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-orange);
}

/* ——— case study band ——— */
.case { padding-block: clamp(56px, 6vw, 96px); }
.case-band {
  border: 1px solid var(--color-text); border-radius: var(--radius-large);
  background: var(--color-surface); overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(22, 23, 19, 0.5);
}
.case-head { padding: clamp(28px, 3.5vw, 48px) clamp(24px, 3.5vw, 48px) clamp(20px, 2.5vw, 32px); position: relative; }
.case-head .tape-label { margin-bottom: 18px; }
.case-head h2 { font-size: clamp(40px, 3.6vw, 58px); }
.case-head p { margin-top: 14px; max-width: 68ch; color: var(--color-text-muted); }
.case-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--color-border); }
.case-col { padding: clamp(22px, 2.6vw, 36px) clamp(24px, 3.5vw, 48px); border-right: 1px dashed var(--color-border); }
.case-col:last-child { border-right: none; }
.cc-label {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted);
  margin-bottom: 12px;
}
.cc-num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 4vw, 64px); line-height: 0.95; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.case-col--before .cc-num { color: var(--color-text-muted); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--color-orange); }
.case-col--returned .cc-num { color: var(--color-orange); }
.case-col p { margin-top: 12px; font-size: 15px; color: var(--color-text-muted); max-width: 30ch; }
.case-foot {
  border-top: 1px solid var(--color-border); background: var(--color-surface-alt);
  padding: 16px clamp(24px, 3.5vw, 48px); font-size: 15.5px;
}
.case-foot a { color: var(--color-olive); font-weight: 600; }

/* ——— case params & stamp ——— */
.case-stamp { position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3.5vw, 48px); }
.case-params { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.case-params li {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border); border-radius: 999px; padding: 7px 14px;
  background: var(--color-surface);
}
.case-params b { color: var(--color-text); font-size: 14px; margin-right: 2px; }

/* ——— ledger split note ——— */
.ledger-split { margin-top: 14px; border: 1px dashed var(--color-border); border-radius: var(--radius-medium); overflow: hidden; }
.ledger-split > div {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 11px 16px; font-size: 14.5px;
}
.ledger-split > div + div { border-top: 1px dashed var(--color-border); }
.ledger-split .ls-k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--color-text-muted); align-self: center;
}
.ledger-split .ls-v b { color: var(--color-orange); }

/* ——— stack groups ——— */
.stack-groups { display: flex; flex-direction: column; gap: 13px; }
.sg { display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: center; }
.sg-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--color-olive); font-weight: 600;
}
.stack-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* ——— pricing formula & pair notes ——— */
.price-eq {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px;
  border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  background: var(--color-surface); padding: 16px 22px;
  font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 24px); font-weight: 700;
  margin-bottom: 8px;
}
.price-eq .pe-k {
  font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--color-text-muted); align-self: center;
}
.price-eq .pe-op { color: var(--color-orange); }
.pair-note {
  margin-top: 8px; font-size: 12.5px; color: var(--color-text-muted);
  border-left: 2px solid var(--color-olive); padding-left: 10px;
}

/* ——— footer write line ——— */
.footer-write {
  margin-top: 20px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-board-text) 60%, var(--color-orange));
}
.footer-mail { font-size: 17px; margin-top: 8px; }

/* ——— roi cta ——— */
.roi-cta {
  margin-top: clamp(28px, 3vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border: 1px dashed var(--color-text); border-radius: var(--radius-medium);
  background: var(--color-surface); padding: 22px clamp(20px, 2.5vw, 32px);
}
.roi-cta p { font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; }
.roi-cta b { font-family: var(--font-display); font-size: 1.35em; letter-spacing: -0.02em; color: var(--color-orange); font-variant-numeric: tabular-nums; }
.roi-cta .button { flex-shrink: 0; }

/* ——— what it doesn't do ——— */
.not-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.not-grid li {
  position: relative; padding: 24px 26px 26px 64px;
  border: 1px solid var(--color-border); border-radius: var(--radius-medium);
  background: var(--color-surface);
}
.not-grid .nx {
  position: absolute; left: 22px; top: 24px;
  font-family: var(--font-mono); font-size: 19px; font-weight: 600; color: var(--color-orange);
}
.not-grid b { font-family: var(--font-display); font-size: 21px; line-height: 1.1; display: block; }
.not-grid p { margin-top: 8px; font-size: 15px; color: var(--color-text-muted); }

/* ——— pricing layers ——— */
.price-layer {
  display: flex; align-items: baseline; gap: 18px;
  margin: clamp(40px, 4.5vw, 64px) 0 24px;
  padding-top: 26px; border-top: 1px dashed var(--color-border);
}
.price-layer .pl-n {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--color-orange); letter-spacing: 0.06em;
}
.price-layer h3 { font-size: clamp(24px, 2vw, 30px); }
.price-layer p { margin-top: 6px; font-size: 15px; color: var(--color-text-muted); max-width: 60ch; }

/* ——— faq callout ——— */
.faq-callout {
  margin-top: clamp(32px, 3.5vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  background: var(--color-surface-alt); padding: 26px clamp(22px, 2.5vw, 34px);
  box-shadow: 4px 4px 0 0 color-mix(in srgb, var(--color-olive) 35%, transparent);
}
.faq-callout p { margin-top: 10px; max-width: 62ch; font-size: 16.5px; }
.faq-callout .button { flex-shrink: 0; }

/* ——— screenshot lightbox ——— */
.lightbox {
  border: none; padding: clamp(16px, 3vw, 40px); margin: 0;
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: transparent; overscroll-behavior: contain;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop {
  background: color-mix(in srgb, #14150F 72%, transparent);
  backdrop-filter: blur(14px) saturate(0.85);
  -webkit-backdrop-filter: blur(14px) saturate(0.85);
}
.lb-shell {
  width: min(1180px, 100%); max-height: 100%;
  display: flex; flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-text); border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: 0 48px 96px -32px rgba(0, 0, 0, 0.6);
}
.lightbox[open] .lb-shell { animation: lb-in 0.32s cubic-bezier(0.2, 0.85, 0.25, 1); }
@keyframes lb-in {
  from { opacity: 0; transform: translateY(18px) scale(0.965); }
}
.lb-bar {
  display: flex; align-items: center; gap: 6px;
  background: var(--color-surface-alt); border-bottom: 1px solid var(--color-border);
  padding: 11px 14px;
}
.lb-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }
.lb-label {
  font-style: normal; font-family: var(--font-mono); font-size: 11.5px;
  color: var(--color-text-muted); margin-left: 10px; letter-spacing: 0.04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lb-close {
  margin-left: auto; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: var(--color-text-muted); transition: color 0.15s, background 0.15s, transform 0.15s;
}
.lb-close:hover { color: #fff; background: var(--color-orange); transform: rotate(90deg); }
.lb-stage { position: relative; background: var(--color-surface); min-height: 0; }
.lb-img {
  display: block; width: 100%; height: auto;
  max-height: calc(100dvh - 220px); object-fit: contain;
  opacity: 0; transform: scale(0.985);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.lb-loaded .lb-img { opacity: 1; transform: none; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
  border: 1px solid var(--color-border); color: var(--color-text);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.45);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-nav:hover { background: var(--color-orange); border-color: var(--color-orange); color: #fff; transform: translateY(-50%) scale(1.06); }
.lb-foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 13px 18px; border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}
.lb-caption { font-size: 14.5px; color: var(--color-text-muted); }
.lb-count {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--color-text-muted); flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .pp-dot, .sys-status::before { animation: none; }
  .lightbox[open] .lb-shell { animation: none; }
  .lb-img { transition: none; transform: none; }
  .lb-close:hover { transform: none; }
  .lb-nav:hover { transform: translateY(-50%); }
}

/* ————————————————————————————— pain math / ledger ————————————————————————————— */
.ledger-grid {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(240px, 4fr);
  gap: clamp(32px, 4vw, 64px); align-items: start;
}
.ledger-side { border-left: 1px dashed var(--color-border); padding-left: clamp(24px, 3vw, 48px); }
.hero-grid > *, .ledger-grid > *, .loop-grid > *, .roi-calc > *, .origin-grid > *, .req-grid > * { min-width: 0; }
.ledger-wrap { overflow-x: auto; }
.ledger {
  width: 100%; min-width: 560px; border-collapse: collapse;
  font-family: var(--font-mono); font-size: 14px;
  background: var(--color-surface);
  background-image: var(--texture-grid); background-size: 24px 24px;
  border: 1px solid var(--color-text);
}
.ledger th, .ledger td { border: 1px solid var(--color-border); padding: 12px 16px; text-align: left; }
.ledger thead th {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--color-text-muted); background: var(--color-surface-alt); border-color: var(--color-text);
}
.ledger td:not(:first-child), .ledger th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger td:last-child { background: color-mix(in srgb, var(--color-olive) 9%, var(--color-surface)); font-weight: 600; }
.ledger tfoot td {
  background: color-mix(in srgb, var(--color-warning) 16%, var(--color-surface));
  font-family: var(--font-display); font-size: 22px; font-weight: 700; border-top: 2px solid var(--color-text);
}
.ledger tfoot td:last-child { color: var(--color-orange); }
.ledger-note { margin-top: 14px; font-size: 14px; color: var(--color-text-muted); max-width: 60ch; }
.ledger-note b { font-family: var(--font-mono); font-weight: 600; color: var(--color-text); }

.tape-label {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: color-mix(in srgb, var(--color-olive) 30%, var(--color-surface-alt));
  color: var(--color-text);
  padding: 7px 16px; transform: rotate(-2deg);
  box-shadow: 0 1px 3px rgba(22,23,19,.15);
  margin-bottom: 22px;
}
.impact-num { font-family: var(--font-display); font-size: clamp(30px, 2.8vw, 42px); font-weight: 700; line-height: 1.05; margin-bottom: 14px; }
.impact-num em { font-style: normal; color: var(--color-orange); }
.ledger-side p.sub { color: var(--color-text-muted); font-size: 16px; margin-bottom: 24px; max-width: 24ch; }
.stamp {
  display: inline-block;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-olive); border: 2px solid var(--color-olive); border-radius: var(--radius-small);
  padding: 8px 14px; transform: rotate(-4deg); opacity: .9;
}
.stamp--orange { color: var(--color-orange); border-color: var(--color-orange); }
.side-clock { color: var(--color-olive); margin-bottom: 18px; }

/* ————————————————————————————— hidden taxes ————————————————————————————— */
.tax-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); align-items: stretch; }
.tax-card {
  position: relative;
  background: var(--color-surface);
  background-image: var(--texture-grid); background-size: 24px 24px;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-medium);
  padding: 58px 26px 0;
  display: flex; flex-direction: column;
  box-shadow: 0 14px 28px -20px rgba(22,23,19,.4);
}
.tax-card:nth-child(1) { transform: rotate(-0.5deg); }
.tax-card:nth-child(2) { transform: translateY(10px); }
.tax-card:nth-child(3) { transform: rotate(0.6deg); }
.tax-card .tape-label { position: absolute; top: -14px; left: 22px; margin: 0; }
.tax-card .stamp--orange { position: absolute; top: 18px; right: 18px; font-size: 10px; padding: 5px 9px; transform: rotate(6deg); }
.tax-card h3 { margin-bottom: 14px; }
.tax-card > p { color: var(--color-text-muted); font-size: 16px; margin-bottom: 24px; }
.tax-diagram { margin-top: auto; padding-bottom: 24px; color: var(--color-text-muted); }
.tax-foot {
  margin-inline: -26px; border-radius: 0 0 var(--radius-medium) var(--radius-medium);
  background: var(--color-olive-dark); color: #EDEBDD;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 22px; display: flex; align-items: center; gap: 10px;
}
:root[data-theme="dark"] .tax-foot { background: var(--color-surface-alt); color: var(--color-text); }
.tax-foot svg { flex: none; opacity: .8; }

/* diagram bits */
.diag-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.diag-tile {
  width: 40px; height: 40px; border: 1.5px solid var(--color-text-muted); border-radius: var(--radius-small);
  display: grid; place-items: center; background: var(--color-surface);
}
.diag-arrow { font-family: var(--font-mono); color: var(--color-text-muted); }
.diag-neq { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--color-danger); }
.diag-loop { display: grid; grid-template-columns: repeat(3, 40px); gap: 10px; }
.diag-note { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-muted); margin-top: 10px; letter-spacing: 0.05em; }

/* ————————————————————————————— how it works ————————————————————————————— */
.how-grid { display: grid; grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.how-index { position: sticky; top: 110px; }
.how-index .flow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-muted); display: flex; flex-direction: column; gap: 6px; margin-top: 34px;
}
.how-index .flow b { color: var(--color-olive); font-weight: 600; }
.how-index ol { counter-reset: step; display: flex; flex-direction: column; gap: 2px; margin-top: 30px; }
.how-index ol a {
  display: flex; gap: 12px; align-items: baseline; text-decoration: none; padding: 9px 10px;
  border-left: 2px solid var(--color-border); color: var(--color-text-muted); font-size: 15px; font-weight: 500;
}
.how-index ol a:hover { color: var(--color-text); border-left-color: var(--color-orange); }
.how-index ol .n { font-family: var(--font-mono); font-size: 12px; }
.step-list { display: flex; flex-direction: column; gap: 26px; position: relative; }
.step-list::before {
  content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px;
  border-left: 1px dashed var(--color-border);
}
.step-panel {
  position: relative;
  background: var(--color-surface); border: 1px solid var(--color-text);
  border-radius: var(--radius-medium); padding: 30px 30px 30px 76px;
}
.step-panel .n {
  position: absolute; left: 14px; top: 28px; width: 28px; height: 28px;
  background: var(--color-text); color: var(--color-surface);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  display: grid; place-items: center; border-radius: 3px;
}
.step-panel h3 { font-size: 26px; margin-bottom: 10px; }
.step-panel > p { color: var(--color-text-muted); font-size: 16px; max-width: 52ch; }
.step-ui {
  margin-top: 20px; border: 1px solid var(--color-border); border-radius: var(--radius-small);
  background: var(--color-ground); background-image: var(--texture-grid); background-size: 24px 24px;
  padding: 14px 16px; font-family: var(--font-mono); font-size: 12.5px; color: var(--color-text-muted);
  display: flex; flex-direction: column; gap: 7px;
}
.step-ui .row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.step-ui .ok { color: var(--color-success); }
.step-ui .warn { color: var(--color-orange); }

/* ————————————————————————————— pipelines ————————————————————————————— */
.pipes-wrap { position: relative; }
.pipes-center {
  width: max-content; margin: 0 auto 34px;
  background: var(--color-text); color: var(--color-surface);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 22px; border-radius: var(--radius-small);
  position: relative; z-index: 2;
}
.pipes-center::after {
  content: ""; position: absolute; left: 50%; top: 100%; height: 34px; border-left: 1px solid var(--color-text-muted);
}
.pipes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.pipes-grid::before {
  content: ""; position: absolute; left: 16.66%; right: 16.66%; top: -1px;
  border-top: 1px solid var(--color-text-muted);
}
.pipe-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-medium); padding: 22px 22px 16px; position: relative;
  display: flex; flex-direction: column; gap: 10px;
}
.pipe-card::before {
  content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-olive);
}
.pipe-card .pn { font-family: var(--font-mono); font-size: 12px; color: var(--color-orange); letter-spacing: 0.1em; }
.pipe-card h3 { font-size: 24px; }
.pipe-card p { color: var(--color-text-muted); font-size: 15px; flex: 1; }
.pipe-out {
  border-top: 1px dashed var(--color-border); padding-top: 12px;
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--color-text-muted);
}
.pipe-out .chip { font-size: 10px; }

/* ————————————————————————————— roi ————————————————————————————— */
.roi-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: clamp(48px, 5vw, 72px); }
.roi-stat { border-top: 2px solid var(--color-text); padding-top: 16px; }
.roi-stat .n { font-family: var(--font-display); font-size: clamp(40px, 4vw, 62px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.roi-stat .n em { font-style: normal; color: var(--color-olive); }
.roi-stat p { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 10px; }
.roi-calc {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 1px solid var(--color-text); border-radius: var(--radius-medium); overflow: hidden;
  background: var(--color-surface);
}
.roi-inputs { padding: 30px; border-right: 1px dashed var(--color-border); display: flex; flex-direction: column; gap: 20px; }
.roi-inputs .table-label { color: var(--color-text); }
.roi-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.roi-field input {
  width: 100%; min-height: 48px; padding: 0 14px;
  font-family: var(--font-mono); font-size: 16px;
  background: var(--color-ground); border: 1px solid var(--color-border); border-radius: var(--radius-small);
  color: var(--color-text);
}
.roi-field input:focus-visible { outline-offset: 0; }
.roi-results {
  padding: 30px;
  background-image: var(--texture-grid); background-size: 24px 24px;
  display: flex; flex-direction: column; gap: 18px; justify-content: center;
}
.roi-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--color-border); padding-bottom: 14px; }
.roi-line .l { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.roi-line output { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; font-variant-numeric: tabular-nums; }
.roi-line--hero output { color: var(--color-orange); }
.roi-disclaimer { font-size: 12.5px; color: var(--color-text-muted); font-family: var(--font-mono); line-height: 1.5; }

/* ————————————————————————————— origin ————————————————————————————— */
.origin-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); gap: clamp(36px, 4vw, 72px); align-items: start; }
.origin-copy p { color: var(--color-text-muted); margin-bottom: 18px; max-width: 56ch; }
.origin-copy p strong { color: var(--color-text); }
.origin-proof { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.origin-proof li {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  border: 1px solid var(--color-olive); color: var(--color-olive);
  padding: 8px 13px; border-radius: var(--radius-small); text-transform: uppercase;
}
.release-log {
  background: var(--color-surface); border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  padding: 24px; font-family: var(--font-mono); font-size: 13px;
  background-image: var(--texture-grid); background-size: 24px 24px;
}
.release-log .table-label { color: var(--color-text); display: block; border-bottom: 2px solid var(--color-text); padding-bottom: 10px; margin-bottom: 6px; }
.release-log li { display: flex; gap: 14px; padding: 11px 2px; border-bottom: 1px dashed var(--color-border); align-items: baseline; }
.release-log li:last-child { border-bottom: none; }
.release-log .run { color: var(--color-orange); white-space: nowrap; font-weight: 600; font-size: 12px; }
.release-log .what { color: var(--color-text-muted); }
.release-log li.current .run { color: var(--color-olive); }
.release-log li.current .what { color: var(--color-text); font-weight: 600; }

/* ————————————————————————————— pricing ————————————————————————————— */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-bottom: 26px; }
.plan {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-medium);
  padding: 30px; display: flex; flex-direction: column; gap: 16px;
}
.plan--featured { border: 2px solid var(--color-text); transform: translateY(-8px); box-shadow: 0 18px 36px -26px rgba(22,23,19,.45); }
.plan .table-label { color: var(--color-olive); }
.plan h3 { font-size: 28px; }
.plan .for { color: var(--color-text-muted); font-size: 15px; min-height: 44px; }
.plan .price { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-text); border-block: 1px solid var(--color-border); padding-block: 12px; }
.plan ul { display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--color-text-muted); flex: 1; }
.plan ul li { display: flex; gap: 10px; align-items: baseline; }
.plan ul li::before { content: "✓"; color: var(--color-success); font-weight: 700; flex: none; }
.plan .button { justify-content: center; }
.own-strip {
  border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  background: var(--color-surface);
  background-image: var(--texture-grid); background-size: 24px 24px;
  padding: 30px; margin-bottom: 22px;
  display: grid; grid-template-columns: minmax(0, 8fr) auto; gap: 24px; align-items: center;
}
.own-strip .table-label { color: var(--color-orange); display: block; margin-bottom: 10px; }
.own-strip h3 { font-size: 26px; margin-bottom: 10px; }
.own-strip p { color: var(--color-text-muted); max-width: 66ch; }
.own-strip .own-points {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--color-text);
}
.own-strip .own-points span { display: inline-flex; align-items: center; gap: 7px; }
.own-strip .own-points svg { color: var(--color-success); flex: none; }
.own-strip .own-fineprint {
  margin-top: 16px; font-family: var(--font-mono); font-size: 12px;
  color: var(--color-text-muted); letter-spacing: 0.02em; max-width: none;
}

.partner-strip {
  border: 1px dashed var(--color-olive); border-radius: var(--radius-medium);
  background: color-mix(in srgb, var(--color-olive) 8%, var(--color-surface));
  padding: 30px; display: grid; grid-template-columns: minmax(0, 8fr) auto; gap: 24px; align-items: center;
}
.partner-strip .table-label { color: var(--color-olive); display: block; margin-bottom: 10px; }
.partner-strip p { color: var(--color-text-muted); max-width: 66ch; }

/* ————————————————————————————— faq ————————————————————————————— */
.faq-list { max-width: 62ch; }
.faq-item { border-top: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: 1px solid var(--color-border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  text-align: left; padding: 20px 4px; font-size: 18px; font-weight: 600; color: var(--color-text);
}
.faq-q .ind { font-family: var(--font-mono); font-size: 20px; color: var(--color-text-muted); flex: none; transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .ind { transform: rotate(45deg); color: var(--color-orange); }
.js .faq-a { overflow: hidden; height: 0; transition: height .25s ease; }
.faq-a > p { padding: 0 4px 22px; color: var(--color-text-muted); max-width: 58ch; }

/* ————————————————————————————— final cta ————————————————————————————— */
.final { text-align: left; }
.final-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.final h2 { margin-bottom: 20px; }
.final p.lede { color: var(--color-text-muted); max-width: 46ch; margin-bottom: 30px; }
.final-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.final .under { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.final-strip {
  background: var(--color-surface); border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  background-image: var(--texture-grid); background-size: 24px 24px;
  padding: 20px 22px;
}
.final-strip .checklist li { padding-block: 8px; }
.final-strip .done-chip {
  margin-top: 14px; text-align: center;
  background: var(--color-olive); color: var(--color-surface);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px; border-radius: var(--radius-small); font-weight: 600;
}
:root[data-theme="dark"] .final-strip .done-chip { color: #171914; }

/* ————————————————————————————— footer ————————————————————————————— */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--color-board); color: var(--color-board-text);
  padding-block: clamp(56px, 6vw, 88px) 0;
  background-image: linear-gradient(color-mix(in srgb, var(--color-board-text) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-board-text) 5%, transparent) 1px, transparent 1px);
  background-size: 40px 40px;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 32px; margin-bottom: 52px; }
.footer-grid .table-label {
  display: block; margin-bottom: 16px;
  color: color-mix(in srgb, var(--color-board-text) 55%, var(--color-orange));
}
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid nav a {
  text-decoration: none; font-size: 15px;
  color: color-mix(in srgb, var(--color-board-text) 78%, transparent);
  border-bottom: 1px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.footer-grid nav a:hover { color: #F3F0E7; border-color: var(--color-orange); }
.site-footer .logo-mark { border-color: var(--color-board-text); color: var(--color-board-text); background: transparent; }
.site-footer .logo-word { color: #F3F0E7; }
.footer-brand p { color: color-mix(in srgb, var(--color-board-text) 75%, transparent); font-size: 14px; max-width: 34ch; margin-top: 14px; }
.footer-mail {
  display: inline-block; margin-top: 18px;
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.02em;
  color: #F3F0E7; text-decoration: none;
  border-bottom: 1px dashed color-mix(in srgb, var(--color-board-text) 45%, transparent);
  padding-bottom: 2px; transition: border-color 0.15s, color 0.15s;
}
.footer-mail:hover { color: #fff; border-bottom-style: solid; border-color: var(--color-orange); }
.footer-grid ul.footer-proof { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.footer-proof li {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-board-text) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-board-text) 28%, transparent);
  border-radius: 999px; padding: 5px 11px; white-space: nowrap;
}
.footer-bottom {
  border-top: 1px dashed color-mix(in srgb, var(--color-board-text) 25%, transparent); padding-block: 22px 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--color-board-text) 65%, transparent);
}
.sys-status { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; color: #A9B36B; }
.sys-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #A9B36B;
  animation: pp-pulse 2.4s ease-out infinite;
}
.footer-mark {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(88px, 15.5vw, 240px); line-height: 0.72; letter-spacing: -0.035em;
  text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--color-board-text) 22%, transparent);
  margin-top: clamp(18px, 3vw, 40px); margin-bottom: -0.14em;
}

/* ————————————————————————————— modal / form ————————————————————————————— */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center; padding: 20px;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(22, 23, 19, 0.55); }
.modal-card {
  position: relative; width: min(560px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--color-surface); border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  padding: 34px;
}
.modal-card h3 { margin-bottom: 6px; }
.modal-card > p.muted { font-size: 15px; margin-bottom: 24px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: var(--radius-small); color: var(--color-text-muted); }
.modal-close:hover { color: var(--color-text); background: var(--color-surface-alt); }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form .field { display: flex; flex-direction: column; gap: 6px; }
.demo-form .field--full { grid-column: 1 / -1; }
.demo-form label { font-size: 13.5px; font-weight: 600; }
.demo-form input, .demo-form select, .demo-form textarea {
  min-height: 46px; padding: 8px 12px;
  background: var(--color-ground); border: 1px solid var(--color-border); border-radius: var(--radius-small);
  font-size: 15px; width: 100%;
}
.demo-form textarea { min-height: 84px; resize: vertical; }
.demo-form .error-msg { font-family: var(--font-mono); font-size: 11.5px; color: var(--color-danger); display: none; }
.check-group { border: 1px solid var(--color-border); border-radius: var(--radius-small); padding: 14px 16px 16px; }
.check-group legend { font-size: 13.5px; font-weight: 600; padding: 0 6px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; margin-top: 6px; }
.check-grid--radios { grid-template-columns: 1fr; }
.check-grid label {
  display: flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 400; cursor: pointer; color: var(--color-text);
}
.check-grid input { width: 16px; height: 16px; accent-color: var(--color-olive); flex: none; }
.field.has-error input { border-color: var(--color-danger); }
.field.has-error .error-msg { display: block; }
.wiz-error { font-family: var(--font-mono); font-size: 12.5px; color: var(--color-danger); margin-top: 10px; }
.wiz-error a { color: inherit; text-decoration: underline; }
.demo-form .button { grid-column: 1 / -1; justify-content: center; }
.form-success { text-align: center; padding: 26px 6px; }
.form-success svg { color: var(--color-success); margin: 0 auto 16px; }
.form-success p { font-weight: 600; }

/* ————————————————————————————— reveal animations ————————————————————————————— */
/* hide-for-reveal only when JS is present (html.js) — without JS everything is visible */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .checklist li .cbx, .checklist li .chip { transition: opacity .3s ease; }
  .checklist.animating li:not(.is-revealed) .cbx svg,
  .checklist.animating li:not(.is-revealed) .chip { opacity: 0; }
  .checklist li.is-revealed .cbx svg, .checklist li.is-revealed .chip { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ————————————————————————————— setup paths (one-time license) ————————————————————————————— */
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 18px; }
.setup-card {
  background: var(--color-surface); border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  padding: 30px; display: flex; flex-direction: column; gap: 14px;
  background-image: var(--texture-grid); background-size: 24px 24px;
}
.setup-card .table-label { color: var(--color-orange); }
.setup-card h3 { font-size: 28px; }
.setup-card .for { color: var(--color-text-muted); font-size: 15.5px; }
.setup-card .price {
  font-family: var(--font-mono); font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; border-block: 1px solid var(--color-border); padding-block: 12px;
}
.setup-card ul { display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--color-text-muted); flex: 1; }
.setup-card ul li { display: flex; gap: 10px; align-items: baseline; }
.setup-card ul li::before { content: "✓"; color: var(--color-success); font-weight: 700; flex: none; }
.setup-card .button { justify-content: center; }
.setup-fineprint {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--color-text-muted);
  line-height: 1.6; letter-spacing: 0.02em; margin-bottom: 26px; max-width: 100ch;
}

/* ————————————————————————————— onboarding requirements ————————————————————————————— */
.req-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.req-card { border-radius: var(--radius-medium); padding: 26px 28px; }
.req-card > .table-label { display: block; margin-bottom: 14px; }
.req-card--bring {
  background: var(--color-surface); border: 1px solid var(--color-text);
  background-image: var(--texture-grid); background-size: 24px 24px;
}
.req-card--bring > .table-label { color: var(--color-orange); }
.req-card--bring .checklist li { align-items: flex-start; padding: 12px 2px; }
.req-card--bring .checklist .cbx { margin-top: 3px; }
.req-card--bring .task-w { flex: 1; min-width: 0; }
.req-card--bring .task-w b { display: block; font-size: 15.5px; font-weight: 600; }
.req-card--bring .task-w small { display: block; font-size: 13.5px; color: var(--color-text-muted); margin-top: 3px; line-height: 1.5; }
.req-card--handle { background: var(--color-board); color: var(--color-board-text); position: sticky; top: 100px; }
.req-card--handle > .table-label { color: var(--color-olive); }
:root[data-theme="dark"] .req-card--handle > .table-label { color: var(--color-olive); }
.handle-list { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.handle-list li { display: flex; gap: 11px; align-items: baseline; }
.handle-list li::before { content: "✓"; color: #A6AE65; font-weight: 700; flex: none; }
.handle-note {
  margin-top: 22px; padding-top: 16px; border-top: 1px dashed color-mix(in srgb, var(--color-board-text) 30%, transparent);
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; opacity: .85;
}

/* ————————————————————————————— ordering flow + wizard ————————————————————————————— */
.order-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: clamp(36px, 4vw, 56px); }
.order-flow li { border-top: 2px solid var(--color-text); padding-top: 14px; }
.order-flow .of-n { font-family: var(--font-mono); font-size: 12px; color: var(--color-orange); font-weight: 600; letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.order-flow b { display: block; font-size: 16px; margin-bottom: 6px; }
.order-flow small { color: var(--color-text-muted); font-size: 13.5px; line-height: 1.5; }

.wiz-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--color-border); padding-bottom: 12px; }
.wiz-head .table-label { color: var(--color-olive); }
.wiz-total { font-family: var(--font-mono); font-size: 13px; }
.wiz-total b { color: var(--color-orange); }
.wiz-step { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wiz-step[hidden] { display: none; }
.wiz-nav { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 12px; border-top: 1px solid var(--color-border); padding-top: 16px; }
.wiz-nav #wiz-back { margin-right: auto; }
.check-grid label b { font-weight: 700; }

.quote-box { border: 1px solid var(--color-text); border-radius: var(--radius-small); padding: 16px 18px; background: var(--color-ground); background-image: var(--texture-grid); background-size: 24px 24px; grid-column: 1 / -1; }
.quote-box .table-label { color: var(--color-text); display: block; margin-bottom: 10px; }
.q-line { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; padding: 7px 0; border-bottom: 1px dashed var(--color-border); }
.q-line b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.q-line--total { font-weight: 700; font-size: 16px; border-bottom: 2px solid var(--color-text); }
.q-line--total b { color: var(--color-orange); font-size: 18px; }
.q-line--sub, .q-line--sub b { color: var(--color-text-muted); font-weight: 400; font-size: 13px; }
.q-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--color-text-muted); margin-top: 10px; letter-spacing: 0.03em; }
.wiz-timeline { grid-column: 1 / -1; margin-top: 4px; }
.wiz-timeline .table-label { color: var(--color-olive); display: block; margin-bottom: 10px; }
.wiz-timeline ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; counter-reset: wt; }
.wiz-timeline ol li { font-size: 14px; color: var(--color-text-muted); padding-left: 30px; position: relative; counter-increment: wt; }
.wiz-timeline ol li::before { content: counter(wt, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--font-mono); font-size: 11px; color: var(--color-orange); font-weight: 600; }
.wiz-timeline ol li b { color: var(--color-text); }
.wiz-note { font-family: var(--font-mono); font-size: 12px; color: var(--color-olive); margin-top: 12px; }

/* ————————————————————————————— audience split ————————————————————————————— */
.audiences { padding-block: clamp(40px, 4vw, 64px); }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 32px); }
.aud-card {
  border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  background: var(--color-surface); padding: 30px;
  display: flex; flex-direction: column; gap: 14px;
  background-image: var(--texture-grid); background-size: 24px 24px;
}
.aud-card > .table-label { color: var(--color-olive); }
.aud-card--owner { background: var(--color-board); border-color: var(--color-board); color: #EDEBDD; }
.aud-card--owner > .table-label { color: #F5C518; }
.aud-card--owner h3, .aud-card--owner p strong { color: #FCFBF7; }
.aud-card--owner p { color: #C9C7B4; }
.aud-card h3 { font-size: clamp(24px, 2.2vw, 32px); }
.aud-card p { color: var(--color-text-muted); font-size: 15.5px; }
.aud-points { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--color-text-muted); flex: 1; }
.aud-card--owner .aud-points { color: #C9C7B4; }
.aud-points li { display: flex; gap: 10px; align-items: baseline; }
.aud-points li::before { content: "✓"; color: var(--color-success); font-weight: 700; flex: none; }
.aud-card--owner .aud-points li::before { color: #A5B467; }
.aud-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-more { font-family: var(--font-mono); font-size: 13px; color: var(--color-text-muted); text-decoration: none; }
.btn-more:hover { color: var(--color-text); }

/* wizard audience visibility */
.wizard [data-aud="owner"] { display: none; }
.wizard.aud-owner [data-aud="owner"] { display: revert; }
.wizard.aud-owner [data-aud="agency"] { display: none; }
.wizard .field[data-aud="owner"], .wizard fieldset[data-aud="owner"] { display: none; }
.wizard.aud-owner .field[data-aud="owner"] { display: flex; }
.wizard.aud-owner fieldset[data-aud="agency"], .wizard.aud-owner .field[data-aud="agency"] { display: none; }
.owner-plan { border: 1px solid var(--color-olive); border-radius: var(--radius-small); padding: 16px 18px; background: color-mix(in srgb, var(--color-olive) 8%, var(--color-surface)); flex-direction: column; gap: 8px; }
.owner-plan .table-label { color: var(--color-olive); }
.owner-plan p { font-size: 14.5px; color: var(--color-text-muted); margin: 0; }
.owner-plan p strong { color: var(--color-text); }

/* owner buy-out model: support plan visible for agency and owner-own */
.wizard.aud-owner .support-fs { display: none; }
.wizard.aud-owner.owner-own .support-fs { display: block; }

/* ————————————————————————————— resource pages (articles) ————————————————————————————— */
.page-hero { padding-block: clamp(48px, 5vw, 80px) clamp(32px, 4vw, 56px); }
.page-hero .eyebrow { display: block; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(44px, 5vw, 76px); margin-bottom: 20px; }
.page-hero .lede { color: var(--color-text-muted); font-size: 19px; max-width: 60ch; }
.article { padding-block: 0 var(--pad-section); }
.article-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.article-body { max-width: 68ch; }
.article-body h2 { font-size: clamp(30px, 3vw, 42px); margin: 48px 0 16px; }
.article-body h3 { font-size: 24px; margin: 32px 0 12px; }
.article-body p { margin-bottom: 16px; color: var(--color-text); }
.article-body p.muted { color: var(--color-text-muted); }
.article-body ul, .article-body ol { margin: 0 0 18px 0; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 13.5px; margin: 18px 0 24px; background: var(--color-surface); border: 1px solid var(--color-text); }
.article-body th, .article-body td { border: 1px solid var(--color-border); padding: 10px 14px; text-align: left; }
.article-body thead th { background: var(--color-surface-alt); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.check-block { background: var(--color-surface); border: 1px solid var(--color-text); border-radius: var(--radius-medium); padding: 22px 24px; margin: 20px 0 28px; background-image: var(--texture-grid); background-size: 24px 24px; }
.check-block .table-label { color: var(--color-olive); display: block; margin-bottom: 12px; }
.check-block ul { list-style: none; padding: 0; margin: 0; }
.check-block li { display: flex; gap: 11px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed color-mix(in srgb, var(--color-border) 60%, transparent); margin: 0; }
.check-block li:last-child { border-bottom: none; }
.check-block li::before { content: "☐"; color: var(--color-olive); font-weight: 700; flex: none; }
.check-block li b { font-weight: 600; }
.check-block li small { color: var(--color-text-muted); }
.side-cta { position: sticky; top: 100px; background: var(--color-board); color: #EDEBDD; border-radius: var(--radius-medium); padding: 26px; }
.side-cta .table-label { color: #F5C518; display: block; margin-bottom: 12px; }
.side-cta h3 { color: #FCFBF7; font-size: 24px; margin-bottom: 10px; }
.side-cta p { font-size: 14.5px; color: #C9C7B4; margin-bottom: 18px; }
.side-cta .button { width: 100%; justify-content: center; }
.magnet { border: 1px dashed var(--color-olive); border-radius: var(--radius-medium); background: color-mix(in srgb, var(--color-olive) 8%, var(--color-surface)); padding: 26px; margin: 32px 0; }
.magnet .table-label { color: var(--color-olive); display: block; margin-bottom: 10px; }
.magnet form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.magnet input[type="email"] { flex: 1; min-width: 220px; min-height: 48px; padding: 0 14px; background: var(--color-ground); border: 1px solid var(--color-border); border-radius: var(--radius-small); font-size: 15px; }
.magnet .fine { font-family: var(--font-mono); font-size: 11.5px; color: var(--color-text-muted); margin-top: 10px; }
.breadcrumbs { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-muted); padding-top: 24px; }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-text); }
@media (max-width: 1023px) { .article-grid { grid-template-columns: 1fr; } .side-cta { position: static; } }

/* ————————————————————————————— article extras ————————————————————————————— */
.callout {
  border-left: 3px solid var(--color-orange); background: var(--color-surface);
  padding: 16px 20px; margin: 20px 0 24px; border-radius: 0 var(--radius-small) var(--radius-small) 0;
}
.callout .table-label { color: var(--color-orange); display: block; margin-bottom: 6px; }
.callout p { margin: 0; font-size: 15.5px; color: var(--color-text); }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 28px; }
.stat-strip div { border-top: 2px solid var(--color-text); padding-top: 10px; }
.stat-strip .n { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1; }
.stat-strip .n em { font-style: normal; color: var(--color-orange); }
.stat-strip small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-text-muted); display: block; margin-top: 6px; }
.side-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-medium);
  padding: 22px; margin-top: 18px;
}
.side-card .table-label { color: var(--color-olive); display: block; margin-bottom: 12px; }
.side-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.side-card a { color: var(--color-text); font-size: 14.5px; text-decoration: none; display: flex; gap: 8px; }
.side-card a::before { content: "→"; color: var(--color-orange); }
.side-card a:hover { text-decoration: underline; }
.side-card .mini-stat { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12.5px; color: var(--color-text-muted); border-bottom: 1px dashed var(--color-border); padding: 7px 0; }
.side-card .mini-stat b { color: var(--color-text); }
.related { padding-block: 0 var(--pad-section); }
.related h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related-card {
  background: var(--color-surface); border: 1px solid var(--color-text); border-radius: var(--radius-medium);
  padding: 24px; text-decoration: none; display: block;
  background-image: var(--texture-grid); background-size: 24px 24px;
}
.related-card:hover { box-shadow: 0 10px 24px -18px rgba(22,23,19,.5); }
.related-card .table-label { color: var(--color-orange); display: block; margin-bottom: 10px; }
.related-card b { font-family: var(--font-display); font-size: 22px; font-weight: 700; display: block; margin-bottom: 8px; color: var(--color-text); }
.related-card span { color: var(--color-text-muted); font-size: 14.5px; }
@media (max-width: 767px) { .stat-strip, .related-grid { grid-template-columns: 1fr; } }
