/* Kronaxis Compliance microsite: shared stylesheet.
   Inherits the visual system shipped 2026-06-07 on the guided story page.
   Self-contained: no @font-face, no CDN, no external assets. */

:root {
  --bg:            #0a0b0d;
  --bg-1:          #0e1014;
  --surface:       #11141a;
  --surface-2:     #161a21;
  --surface-3:     #1c2129;
  --border:        #1f242c;
  --border-strong: #2a313c;
  --text:          #e9ecef;
  --text-dim:      #b0b6bd;
  --text-mute:     #6e7681;

  --accent:        #2dd4a5;
  --accent-dim:    #18cf9b;
  --accent-soft:   rgba(45,212,165,0.10);
  --accent-line:   rgba(45,212,165,0.28);
  --accent-glow:   rgba(45,212,165,0.45);

  --ok:            #2dd4a5;
  --ok-soft:       rgba(45,212,165,0.08);
  --ok-line:       rgba(45,212,165,0.30);
  --warn:          #f5a524;
  --warn-soft:     rgba(245,165,36,0.08);
  --warn-line:     rgba(245,165,36,0.30);
  --danger:        #ff6b6b;
  --danger-soft:   rgba(255,107,107,0.08);
  --danger-line:   rgba(255,107,107,0.30);
  --info:          #60a5fa;
  --info-soft:     rgba(96,165,250,0.08);
  --info-line:     rgba(96,165,250,0.30);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --t-h1: clamp(40px, 6.4vw, 76px);
  --t-h2: clamp(28px, 3.6vw, 46px);
  --t-h3: clamp(20px, 2.2vw, 26px);
  --t-body: 16px;
  --t-small: 13px;
  --t-micro: 11.5px;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --maxw: 1180px;
  --textw: 760px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11", "kern";
}
body {
  background:
    radial-gradient(1100px 600px at 50% -200px, rgba(45,212,165,0.06), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(45,212,165,0.03), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
code, .mono {
  font-family: var(--mono); font-size: 0.92em; color: var(--text);
  background: var(--surface-2); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--border);
  word-break: break-all;
}
pre.mono { display: block; padding: 14px 16px; line-height: 1.65; overflow-x: auto; white-space: pre-wrap; }
::selection { background: var(--accent-line); color: var(--text); }

/* skip link for screen readers / keyboard users */
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: var(--bg);
  padding: 8px 14px; border-radius: 6px; font-weight: 600;
  z-index: 100;
}
.skip:focus { left: 16px; }

/* ===== TOP NAV ===== */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 13, 0.74);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
header.top .inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}
header.top .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.005em;
  font-size: 14.5px; color: var(--text);
  text-decoration: none;
  flex: none;
}
header.top .brand:hover { color: var(--text); }
header.top .brand .logo { width: 22px; height: 22px; display: grid; place-items: center; color: var(--accent); }
header.top nav.pages {
  display: flex; align-items: center; gap: 4px;
  flex: 1; flex-wrap: wrap;
}
header.top nav.pages a {
  font-size: 13.5px; color: var(--text-dim);
  padding: 7px 12px; border-radius: 999px;
  font-weight: 500;
  transition: color .18s var(--ease), background .18s var(--ease);
}
header.top nav.pages a:hover { color: var(--text); background: var(--surface-2); }
header.top nav.pages a.current {
  color: var(--accent); background: var(--accent-soft);
  font-weight: 600;
}
header.top .cta {
  font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  background: var(--accent); color: var(--bg);
  flex: none;
}
header.top .cta:hover { background: var(--accent-dim); color: var(--bg); }
@media (max-width: 880px) {
  header.top .inner { gap: 14px; padding: 12px 18px; }
  header.top nav.pages { display: none; }
  header.top nav.pages.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 18px 14px;
  }
  header.top nav.pages.open a { padding: 10px 14px; border-radius: 8px; }
  header.top .burger {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text);
    cursor: pointer;
  }
}
@media (min-width: 881px) {
  header.top .burger { display: none; }
}

/* ===== FOOTER ===== */
footer.foot {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}
footer.foot .inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 28px 28px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px;
}
@media (max-width: 760px) { footer.foot .inner { grid-template-columns: 1fr; gap: 24px; } }
footer.foot .col h4 {
  margin: 0 0 12px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700;
}
footer.foot .col ul { list-style: none; padding: 0; margin: 0; }
footer.foot .col li { margin: 0 0 8px; }
footer.foot .col a { font-size: 13.5px; color: var(--text-dim); }
footer.foot .col a:hover { color: var(--text); }
footer.foot .brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--text); font-size: 14px;
  margin-bottom: 12px;
}
footer.foot .brand .logo { color: var(--accent); width: 18px; height: 18px; }
footer.foot p { font-size: 12.5px; color: var(--text-mute); margin: 0 0 10px; line-height: 1.6; }
footer.foot .meta {
  grid-column: 1 / -1;
  padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--text-mute);
  display: flex; flex-wrap: wrap; gap: 14px 24px;
  align-items: center;
}
footer.foot .meta b { color: var(--text-dim); font-weight: 600; }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  padding: 6px 12px; border: 1px solid var(--accent-line);
  background: var(--accent-soft); border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

h1.page, h2.page {
  margin: 0 0 18px;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--text);
}
h1.page { font-size: var(--t-h1); letter-spacing: -0.035em; line-height: 1.02; }
.grad {
  background: linear-gradient(180deg, #ffffff 0%, #aebac3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.accent { color: var(--accent); }
p.lede {
  color: var(--text-dim);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 0 18px;
}
p.lede b { color: var(--text); font-weight: 600; }
.pull {
  margin: 22px 0 0;
  padding: 16px 20px;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-size: 15px;
  max-width: 60ch;
}
.pull b { color: var(--accent); font-weight: 600; }

/* ===== LAYOUT ===== */
main { display: block; }
.section {
  padding: clamp(56px, 8vh, 96px) 28px clamp(40px, 6vh, 72px);
  position: relative;
}
.section + .section { padding-top: 0; }
.section .wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.section .narrow { max-width: var(--textw); margin: 0 auto; width: 100%; }
.section.alt { background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.layout-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.layout-2.reverse { direction: rtl; }
.layout-2.reverse > * { direction: ltr; }
@media (max-width: 880px) {
  .layout-2 { grid-template-columns: 1fr; gap: 32px; }
  .layout-2.reverse { direction: ltr; }
}

/* ===== ILLUSTRATION CARD ===== */
.illus {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  aspect-ratio: 5 / 4;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.illus svg { width: 100%; height: 100%; display: block; }
.illus .caption {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 600;
  text-align: center;
}
/* Wider aspect when the illus carries a flow-loop stage so the
   sender / gate / outcome render at a usable size, and the caption
   flows below instead of overlapping the thin diagram strip. */
.illus:has(svg[data-flow-loop]) {
  aspect-ratio: auto;
  padding: 18px 16px 20px;
  display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  gap: 8px;
}
.illus:has(svg[data-flow-loop]) svg { height: auto; }
.illus:has(svg[data-flow-loop]) .caption {
  position: static;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-transform: none; letter-spacing: 0;
  font-size: 12px; font-weight: 500; color: var(--text-dim);
}

/* ===== REVEAL-ON-SCROLL ===== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Variant: reveal from the left or right (for two-column hero rows) */
.reveal.from-left  { transform: translate3d(-14px, 8px, 0); }
.reveal.from-right { transform: translate3d( 14px, 8px, 0); }
.reveal.from-left.in,
.reveal.from-right.in { transform: none; }

/* Variant: scale-in for hero illus / banner panels */
.reveal.zoom { transform: scale(0.985) translateY(8px); }
.reveal.zoom.in { transform: none; }

/* ===== STAGGER (children animate one after another) =====
   When the container also has .stagger, its direct children fade up
   in sequence as the container becomes .in. Container itself stays
   visible: only the children animate. */
.reveal.stagger { opacity: 1; transform: none; transition: none; }
.reveal.stagger > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  will-change: opacity, transform;
}
.reveal.stagger.in > * { opacity: 1; transform: none; }
.reveal.stagger.in > *:nth-child(1)  { transition-delay:  40ms; }
.reveal.stagger.in > *:nth-child(2)  { transition-delay: 110ms; }
.reveal.stagger.in > *:nth-child(3)  { transition-delay: 180ms; }
.reveal.stagger.in > *:nth-child(4)  { transition-delay: 250ms; }
.reveal.stagger.in > *:nth-child(5)  { transition-delay: 320ms; }
.reveal.stagger.in > *:nth-child(6)  { transition-delay: 390ms; }
.reveal.stagger.in > *:nth-child(7)  { transition-delay: 460ms; }
.reveal.stagger.in > *:nth-child(8)  { transition-delay: 530ms; }
.reveal.stagger.in > *:nth-child(9)  { transition-delay: 600ms; }
.reveal.stagger.in > *:nth-child(n+10) { transition-delay: 660ms; }

/* ===== PULSE: soft breathing on hero gate icons ===== */
@keyframes kx-pulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 0 transparent); }
  50%      { transform: scale(1.025); filter: drop-shadow(0 0 10px var(--accent-glow, rgba(45,212,165,0.45))); }
}
.kx-pulse { animation: kx-pulse 4.2s var(--ease) infinite; transform-origin: center; }
.section.hero .illus svg > g[transform^="translate(200,160)"] { animation: kx-pulse 4.2s var(--ease) infinite; transform-origin: 200px 160px; transform-box: fill-box; }

/* ===== POP-IN: status pills, refusal codes, verdict pills, stamps as they enter ===== */
@keyframes kx-pop-in {
  0%   { opacity: 0; transform: translateY(2px) scale(0.94); }
  60%  { opacity: 1; transform: translateY(0)   scale(1.02); }
  100% { opacity: 1; transform: none; }
}
.pill, .stamp.ok { animation: kx-pop-in .38s var(--ease) both; }

/* ===== SHIMMER: subtle one-pass shimmer across eyebrow pill on first reveal ===== */
@keyframes kx-shimmer {
  0%   { background-position: -120% 0; }
  100% { background-position:  220% 0; }
}
.reveal.in .eyebrow {
  position: relative;
  background-image: linear-gradient(110deg, transparent 0%, transparent 40%, rgba(45,212,165,0.18) 50%, transparent 60%, transparent 100%), linear-gradient(0deg, var(--accent-soft), var(--accent-soft));
  background-size: 220% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: -120% 0, 0 0;
  animation: kx-shimmer 1.6s var(--ease) 0.25s 1 forwards;
}

/* ===== STATE-CHIP TRANSITIONS: smooth colour change when .status flips ===== */
.status { transition: color .22s var(--ease); }
.status .dot { transition: background-color .22s var(--ease), box-shadow .22s var(--ease); }
.status.ok    .dot { background: var(--ok);     box-shadow: 0 0 8px var(--ok-line, rgba(45,212,165,0.6)); }
.status.bad   .dot { background: var(--danger); box-shadow: 0 0 8px var(--danger-line, rgba(255,107,107,0.6)); }
.status.amber .dot { background: var(--warn);   box-shadow: 0 0 8px var(--warn-line, rgba(245,165,36,0.6)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal.from-left, .reveal.from-right, .reveal.zoom { opacity: 1; transform: none; transition: none; }
  .reveal.stagger > * { opacity: 1; transform: none; transition: none; }
  .kx-pulse,
  .section.hero .illus svg > g[transform^="translate(200,160)"] { animation: none; }
  .pill, .stamp.ok { animation: none; }
  .reveal.in .eyebrow { animation: none; background-image: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ===== BUTTONS ===== */
.btn {
  appearance: none;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--bg); background: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px 20px; border-radius: 999px;
  cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  text-decoration: none;
}
.btn:hover { background: var(--accent-dim); box-shadow: 0 0 0 6px var(--accent-line); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--surface-3); color: var(--text-mute); border-color: var(--border-strong); cursor: default; box-shadow: none; }
.btn svg { width: 14px; height: 14px; }
.btn.ghost { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.btn.ghost:hover { background: var(--surface-3); color: var(--text); box-shadow: none; border-color: var(--accent-line); }
.btn.sm { padding: 8px 14px; font-size: 12.5px; }

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card.hov:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.card .ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--text);
  letter-spacing: -0.005em;
}
.card p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.card p b { color: var(--text); font-weight: 600; }
.card .more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--accent);
}
.card .more svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.card.hov:hover .more svg { transform: translateX(3px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* ===== STAMPS / BADGES ===== */
.stamps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.stamp {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-dim);
  padding: 6px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.stamp .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-mute); }
.stamp.ok    { color: var(--text); border-color: var(--ok-line);    background: var(--ok-soft); }
.stamp.ok    .dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.stamp.warn  { color: var(--text); border-color: var(--warn-line);  background: var(--warn-soft); }
.stamp.warn  .dot { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.stamp.info  { color: var(--text); border-color: var(--info-line);  background: var(--info-soft); }
.stamp.info  .dot { background: var(--info); box-shadow: 0 0 8px var(--info); }
.stamp.bad   { color: var(--text); border-color: var(--danger-line); background: var(--danger-soft); }
.stamp.bad   .dot { background: var(--danger); box-shadow: 0 0 8px var(--danger); }

/* ===== HONESTY BOX ===== */
.honesty {
  margin: 22px 0 0;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--info-line);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 13.5px; line-height: 1.65;
}
.honesty .hdr {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--info); font-weight: 700;
  margin-bottom: 8px;
}
.honesty b { color: var(--text); font-weight: 600; }
.honesty .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--info); box-shadow: 0 0 8px var(--info); }

/* ===== INTERACTIVE SHARED (scenario picker, stage, verify, tamper) ===== */
.picker, .stage, .verify-box, .tamper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin: 0 0 22px;
}
.picker .lbl, .verify-box h3, .tamper h3 {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 600;
  margin: 0 0 14px;
}
.verify-box h3, .tamper h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.005em; color: var(--text);
  text-transform: none; margin: 0 0 6px;
}
.tamper .sub, .verify-box .sub {
  color: var(--text-mute); font-size: 13px; margin: 0 0 18px; max-width: 72ch; line-height: 1.55;
}
.picker .opts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.picker .opt {
  appearance: none; text-align: left;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
  color: var(--text); font-family: var(--sans);
}
.picker .opt:hover { border-color: var(--border-strong); background: var(--surface-2); }
.picker .opt.active { border-color: var(--accent-line); background: var(--accent-soft); }
.picker .opt .name {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 6px;
}
.picker .opt .name .pip {
  width: 8px; height: 8px; border-radius: 50%; background: var(--text-mute); flex: none;
}
.picker .opt.active .name .pip { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.picker .opt .desc { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; }
.picker .opt.bad.active   { border-color: var(--danger-line); background: var(--danger-soft); }
.picker .opt.bad.active   .name .pip { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.picker .opt.amber.active { border-color: var(--warn-line); background: var(--warn-soft); }
.picker .opt.amber.active .name .pip { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
@media (max-width: 760px) { .picker .opts { grid-template-columns: 1fr; } }

.stage-svg-wrap { position: relative; width: 100%; max-width: 940px; margin: 0 auto; }
.stage-svg { width: 100%; height: auto; display: block; }
.run-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.run-bar .scenario-name {
  font-size: 12px; color: var(--text-mute); font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
}
.run-bar .scenario-name b { color: var(--text); }
.run-bar .status {
  margin-left: auto;
  font-size: 12.5px; color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
  font-variant-numeric: tabular-nums;
}
.run-bar .status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-mute); }
.run-bar .status.running .dot { background: var(--warn); animation: blink 1s var(--ease) infinite; }
.run-bar .status.ok    { color: var(--ok);     font-weight: 600; }
.run-bar .status.ok    .dot { background: var(--ok);     box-shadow: 0 0 8px var(--ok); }
.run-bar .status.bad   { color: var(--danger); font-weight: 600; }
.run-bar .status.bad   .dot { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.run-bar .status.amber { color: var(--warn);   font-weight: 600; }
.run-bar .status.amber .dot { background: var(--warn);   box-shadow: 0 0 8px var(--warn); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ===== loop-driven status pill (hero + how-it-works auto-loop diagrams) =====
   Same look-and-feel as the .run-bar status pill, but works in any caption
   row. Mirrors the rules above so the dot blinks while running and turns
   solid-green on sealed. */
.illus .caption .status,
.stage-svg-wrap .caption-row .status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-mute); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.illus .caption .status .dot,
.stage-svg-wrap .caption-row .status .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--text-mute);
}
.illus .caption .status.running .dot,
.stage-svg-wrap .caption-row .status.running .dot {
  background: var(--warn); animation: blink 1s var(--ease) infinite;
}
.illus .caption .status.ok,
.stage-svg-wrap .caption-row .status.ok { color: var(--ok); }
.illus .caption .status.ok .dot,
.stage-svg-wrap .caption-row .status.ok .dot {
  background: var(--ok); box-shadow: 0 0 8px var(--ok);
}
.stage-svg-wrap .caption-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 14px; justify-content: center;
}
.stage-svg-wrap .caption-row .caption-text {
  color: var(--text-dim); font-size: 13.5px; max-width: 64ch; line-height: 1.5;
}
@media (prefers-reduced-motion: reduce) {
  .illus .caption .status.running .dot,
  .stage-svg-wrap .caption-row .status.running .dot { animation: none; }
}

.verdict-banner {
  margin: 18px auto 0; max-width: 64ch; text-align: center;
  font-size: 15.5px; color: var(--text-dim); line-height: 1.5;
  min-height: 2.4em;
}
.verdict-banner b { color: var(--text); font-weight: 600; }
.verdict-banner .pill {
  display: inline-block;
  padding: 2px 11px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  font-weight: 700; vertical-align: 1px; margin: 0 4px;
}
.verdict-banner .pill.ok    { color: var(--ok);     background: var(--ok-soft);     border: 1px solid var(--ok-line); }
.verdict-banner .pill.bad   { color: var(--danger); background: var(--danger-soft); border: 1px solid var(--danger-line); }
.verdict-banner .pill.amber { color: var(--warn);   background: var(--warn-soft);   border: 1px solid var(--warn-line); }

.verify-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; }
.checks { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 6px; }
.check {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease);
}
.check.computing { border-color: var(--warn-line); }
.check.ok        { border-color: var(--ok-line); }
.check.fail      { border-color: var(--danger-line); }
.check .row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; user-select: none; }
.check .row .ico {
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border-strong);
  flex: none; color: var(--text-mute);
  font-size: 12px; font-weight: 700;
  background: var(--surface-2); font-variant-numeric: tabular-nums;
}
.check.ok        .ico { background: var(--ok-soft);     border-color: var(--ok-line);     color: var(--ok); }
.check.computing .ico { background: var(--warn-soft);   border-color: var(--warn-line);   color: var(--warn); }
.check.fail      .ico { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }
.check .row .ttl { flex: 1; min-width: 0; }
.check .row .ttl .name { font-size: 14.5px; color: var(--text); font-weight: 600; }
.check .row .ttl .lbl  { font-size: 11.5px; color: var(--text-mute); margin-top: 2px; }
.check .row .ttl .lbl .live   { color: var(--ok);   font-weight: 600; }
.check .row .ttl .lbl .replay { color: var(--warn); font-weight: 600; }
.check .row .ttl .lbl .illus  { color: var(--info); font-weight: 600; }
.check .row .res {
  font-size: 11.5px; letter-spacing: 0.10em; text-transform: uppercase; font-weight: 700;
  color: var(--text-mute);
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  flex: none;
}
.check.ok        .res { color: var(--ok);     border-color: var(--ok-line);     background: var(--ok-soft); }
.check.computing .res { color: var(--warn);   border-color: var(--warn-line);   background: var(--warn-soft); }
.check.fail      .res { color: var(--danger); border-color: var(--danger-line); background: var(--danger-soft); }
.check .row .caret { color: var(--text-mute); font-size: 10px; transition: transform .2s var(--ease); }
.check.open .row .caret { transform: rotate(90deg); }
.check .body {
  border-top: 1px solid var(--border);
  padding: 16px 18px; display: none;
  color: var(--text-dim); font-size: 13.5px; line-height: 1.6;
}
.check.open .body { display: block; }
.check .body b { color: var(--text); font-weight: 600; }
.check .body pre, .check .body .mono-block {
  font-family: var(--mono); font-size: 11.5px;
  background: var(--bg); color: var(--text-dim);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; line-height: 1.65;
  overflow-x: auto; white-space: pre-wrap; word-break: break-all;
  margin: 10px 0 0;
}
.check .body .kv {
  display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px;
  margin-top: 10px;
  font-family: var(--mono); font-size: 11.5px;
}
.check .body .kv .k {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 600;
  padding-top: 2px;
}
.check .body .kv .v { color: var(--text-dim); word-break: break-all; }
.check .body .kv .v.match { color: var(--ok);     font-weight: 600; }
.check .body .kv .v.miss  { color: var(--danger); font-weight: 600; }
@media (max-width: 760px) {
  .check .body .kv { grid-template-columns: 1fr; gap: 2px 0; }
}

/* ===== TAMPER LAB ===== */
.tamper .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
@media (max-width: 880px) { .tamper .grid { grid-template-columns: 1fr; } }
.lane {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 18px 20px;
}
.lane.pristine { border-color: var(--ok-line); }
.lane.tampered { border-color: var(--border-strong); }
.lane h4 {
  margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.lane h4 .badge {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
  color: var(--ok); border: 1px solid var(--ok-line); background: var(--ok-soft);
}
.lane.tampered h4 .badge { color: var(--text-mute); border-color: var(--border-strong); background: var(--surface-2); }
.lane.tampered.bad h4 .badge { color: var(--danger); border-color: var(--danger-line); background: var(--danger-soft); }
.lane .lane-sub { color: var(--text-mute); font-size: 12px; margin-bottom: 14px; }
.lane .fields { display: grid; grid-template-columns: 1fr; gap: 10px; }
.lane .field { display: grid; grid-template-columns: 110px 1fr; gap: 4px 14px; align-items: start; }
.lane .field .k {
  font-size: 10.5px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 600;
  padding-top: 6px;
}
.lane .field .v {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--text-dim); word-break: break-all; line-height: 1.55;
  padding: 4px 6px; border-radius: 4px;
  border: 1px solid transparent;
}
.lane.tampered .field .v.dirty { color: var(--danger); background: var(--danger-soft); border-color: var(--danger-line); }
.lane .tamper-ctrl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.lane .tamper-ctrl button {
  appearance: none;
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  color: var(--text-dim); background: var(--surface-2);
  border: 1px solid var(--border-strong);
  padding: 7px 12px; border-radius: 999px;
  cursor: pointer;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.lane .tamper-ctrl button:hover { color: var(--text); border-color: var(--accent-line); }
.lane .tamper-ctrl button.active { color: var(--danger); border-color: var(--danger-line); background: var(--danger-soft); }
.lane .actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.lane .actions .res {
  font-size: 11.5px; letter-spacing: 0.10em; text-transform: uppercase; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
  color: var(--text-mute); border: 1px solid var(--border-strong); background: var(--surface-2);
}
.lane .actions .res.ok   { color: var(--ok);     border-color: var(--ok-line);     background: var(--ok-soft); }
.lane .actions .res.fail { color: var(--danger); border-color: var(--danger-line); background: var(--danger-soft); }
.lane .root-cmp {
  margin-top: 12px;
  font-family: var(--mono); font-size: 11px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text-dim); word-break: break-all; line-height: 1.55;
  display: none;
}
.lane .root-cmp.shown { display: block; }
.lane .root-cmp .row { display: grid; grid-template-columns: 110px 1fr; gap: 4px 12px; }
.lane .root-cmp .row + .row { margin-top: 4px; }
.lane .root-cmp .row .k { font-family: var(--sans); font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; padding-top: 2px; }
.lane .root-cmp .row .v.match { color: var(--ok);     font-weight: 600; }
.lane .root-cmp .row .v.miss  { color: var(--danger); font-weight: 600; }

/* ===== FLOW ANIMATION (stage) ===== */
.flow-envelope { transform: translate(80px, 150px); opacity: 0; }
.flow-envelope.go { animation: flow-glide 1.6s var(--ease) forwards; }
@keyframes flow-glide {
  0%   { transform: translate(80px, 150px);  opacity: 0; }
  8%   { transform: translate(120px, 150px); opacity: 1; }
  62%  { transform: translate(440px, 150px); opacity: 1; }
  70%  { transform: translate(470px, 150px); opacity: 0; }
  100% { transform: translate(470px, 150px); opacity: 0; }
}
.gate-flash { transform-origin: center; opacity: 0.55; }
.gate-flash.flash { animation: gflash 0.8s var(--ease) 0.9s; }
@keyframes gflash {
  0%, 100% { filter: none; opacity: 0.55; }
  50%      { filter: drop-shadow(0 0 14px var(--accent)); opacity: 1; }
}
.outcome { opacity: 0; transition: opacity .35s var(--ease); }
.outcome.shown { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .flow-envelope { transform: translate(470px, 150px); opacity: 1; animation: none; }
  .gate-flash { animation: none; opacity: 1; }
  .outcome { opacity: 1; }
}

/* ===== TABLES ===== */
table.kxc {
  width: 100%; border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
  margin: 18px 0;
}
table.kxc th, table.kxc td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.kxc th {
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700;
  background: var(--bg-1);
}
table.kxc td b { color: var(--text); font-weight: 600; }
table.kxc tr:last-child td { border-bottom: none; }

/* ===== HERO ===== */
.hero {
  padding: clamp(72px, 12vh, 140px) 28px clamp(56px, 9vh, 100px);
}
.hero .layout-2 { grid-template-columns: 1.1fr 0.9fr; }
.hero .sub {
  color: var(--text-dim); font-size: clamp(17px, 1.6vw, 20px);
  max-width: 56ch; margin: 0 0 28px;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }

/* ===== PRICING ROWS ===== */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.price-card.feature { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 60%); }
.price-card .tier {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700; margin-bottom: 8px;
}
.price-card.feature .tier { color: var(--accent); }
.price-card .num {
  font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; color: var(--text);
  letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 4px;
}
.price-card .num small { font-size: 14px; color: var(--text-mute); font-weight: 500; margin-left: 6px; }
.price-card .when { color: var(--text-dim); font-size: 13.5px; margin: 0 0 14px; }
.price-card ul { list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: var(--text-dim); }
.price-card li { padding: 6px 0; border-top: 1px solid var(--border); display: flex; align-items: start; gap: 10px; }
.price-card li:first-child { border-top: none; }
.price-card li svg { width: 14px; height: 14px; color: var(--accent); flex: none; margin-top: 3px; }

/* ===== DOWNLOAD CARD ===== */
.dl-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  margin: 18px 0;
}
.dl-card .info { flex: 1; min-width: 240px; }
.dl-card .info h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--text); }
.dl-card .info p  { margin: 0; color: var(--text-dim); font-size: 13.5px; }
.dl-card .info .meta { font-family: var(--mono); font-size: 11.5px; color: var(--text-mute); margin-top: 8px; }

/* ===== EXPANDABLE CHAPTER CARD (interactive, used on how-it-works) ===== */
.xcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0 0 14px;
  overflow: hidden;
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.xcard:hover { border-color: var(--accent-line); }
.xcard.open { border-color: var(--accent-line); }
.xcard .xhead {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  color: var(--text);
}
.xcard .xhead .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent); border-radius: 12px;
}
.xcard .xhead .ico svg { width: 22px; height: 22px; }
.xcard .xhead .ttl { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.xcard .xhead .ttl .num {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700;
}
.xcard .xhead .ttl h3 {
  margin: 0; font-size: 17px; font-weight: 600; color: var(--text);
  letter-spacing: -0.005em; line-height: 1.25;
}
.xcard .xhead .ttl h3 .accent { color: var(--accent); }
.xcard .xhead .ttl .lede {
  color: var(--text-dim); font-size: 13.5px; line-height: 1.55; margin: 0;
}
.xcard .xhead .caret {
  color: var(--text-mute); font-size: 14px;
  transition: transform .25s var(--ease);
  padding: 0 4px;
}
.xcard.open .xhead .caret { transform: rotate(90deg); color: var(--accent); }
.xcard .xbody {
  display: none;
  padding: 4px 22px 24px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}
.xcard.open .xbody { display: block; animation: kx-slide-down .28s var(--ease) both; }
@keyframes kx-slide-down {
  0%   { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .xcard.open .xbody { animation: none; }
}
.xcard .xbody .grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: 18px;
}
@media (max-width: 760px) { .xcard .xbody .grid-2 { grid-template-columns: 1fr; } }
.xcard .xbody h4 {
  margin: 16px 0 8px; font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
}
.xcard .xbody p {
  color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0 0 10px;
}
.xcard .xbody p b { color: var(--text); font-weight: 600; }
.xcard .xbody ul {
  margin: 6px 0 10px 0; padding: 0 0 0 18px;
  color: var(--text-dim); font-size: 13.5px; line-height: 1.6;
}
.xcard .xbody ul li { margin: 4px 0; }
.xcard .xbody ul li b { color: var(--text); font-weight: 600; }
.xcard .xbody pre {
  font-family: var(--mono); font-size: 11.5px;
  background: var(--bg); color: var(--text-dim);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; line-height: 1.65;
  overflow-x: auto; white-space: pre-wrap; word-break: normal;
  margin: 6px 0 10px 0;
}
.xcard .xbody pre .ck { color: var(--accent); }
.xcard .xbody pre .cm { color: var(--text-mute); }
@media (max-width: 760px) {
  .xcard .xhead { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 16px 16px; }
  .xcard .xhead .ico { width: 36px; height: 36px; }
  .xcard .xhead .ico svg { width: 18px; height: 18px; }
  .xcard .xbody { padding: 4px 16px 20px 16px; }
}

/* ===== SIX DOORS GRID (index hub) ===== */
.grid-doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .grid-doors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-doors { grid-template-columns: 1fr; } }

/* ===== WHITEPAPER BANNER (index, prominent feature) ===== */
.wp-banner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 28px; align-items: center;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 70%);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  margin: 0 0 36px;
}
.wp-banner .left { min-width: 0; }
.wp-banner .badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--accent-line); background: var(--bg-1);
  margin-bottom: 12px;
}
.wp-banner h3 {
  margin: 0 0 8px; color: var(--text); font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.18;
}
.wp-banner h3 .accent { color: var(--accent); }
.wp-banner p {
  margin: 0 0 14px; color: var(--text-dim); font-size: 14px; line-height: 1.55;
  max-width: 60ch;
}
.wp-banner .row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .wp-banner { grid-template-columns: 1fr; padding: 22px 20px; }
}

/* ===== DEPTH LAYER (proof page expandable maths) ===== */
.depth {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-1);
  overflow: hidden;
}
.depth > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 12.5px; font-weight: 600;
  color: var(--accent);
  display: flex; align-items: center; gap: 10px;
  user-select: none;
}
.depth > summary::-webkit-details-marker { display: none; }
.depth > summary::after {
  content: '\25B6';
  margin-left: auto;
  font-size: 9px;
  color: var(--text-mute);
  transition: transform .2s var(--ease);
}
.depth[open] > summary::after { transform: rotate(90deg); color: var(--accent); }
.depth .inner {
  padding: 6px 18px 18px 18px;
  color: var(--text-dim);
  font-size: 13.5px; line-height: 1.65;
  border-top: 1px solid var(--border);
}
.depth .inner b { color: var(--text); font-weight: 600; }
.depth .inner pre {
  font-family: var(--mono); font-size: 11.5px;
  background: var(--bg); color: var(--text-dim);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; line-height: 1.65;
  overflow-x: auto; white-space: pre-wrap; word-break: normal;
  margin: 8px 0;
}

/* ===== PROP CARD (six properties on proof page) ===== */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 18px;
}
@media (max-width: 980px) { .prop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .prop-grid { grid-template-columns: 1fr; } }
.prop {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.prop.held { border-left: 3px solid var(--accent); }
.prop.held .col-tag { color: var(--accent); }
.prop.span { border-left: 3px solid var(--info); }
.prop.span .col-tag { color: var(--info); }
.prop:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.prop .col-tag {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
}
.prop .num {
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700;
}
.prop h3 { margin: 0; color: var(--text); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.25; }
.prop p { margin: 0; color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }
.prop p b { color: var(--text); font-weight: 600; }
.prop .code-row {
  margin-top: auto;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--text-mute);
  display: flex; flex-wrap: wrap; gap: 4px 10px;
}
.prop .code-row code {
  font-size: 10.5px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 4px;
  color: var(--text-dim);
}

/* ===== TWO COLUMN SYMMETRIC (decision vs holding) ===== */
.sym-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  align-items: stretch;
}
@media (max-width: 880px) { .sym-cols { grid-template-columns: 1fr; } }
.sym-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.sym-col.decision { border-top: 3px solid var(--accent); }
.sym-col.holding  { border-top: 3px solid var(--info); }
.sym-col h3 {
  margin: 0 0 6px; font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
}
.sym-col.decision h3 { color: var(--accent); }
.sym-col.holding  h3 { color: var(--info); }
.sym-col .lede {
  color: var(--text-dim); font-size: 13.5px; line-height: 1.6; margin: 0 0 12px;
}
.sym-col ol { margin: 0; padding: 0 0 0 22px; color: var(--text-dim); font-size: 13.5px; line-height: 1.6; }
.sym-col ol li { margin: 6px 0; }
.sym-col ol li b { color: var(--text); font-weight: 600; }

/* ===== FRESHNESS DIAGRAM ===== */
.fresh-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 8px 0;
  font-size: 13px; color: var(--text-dim);
}
.fresh-row .k { color: var(--accent); font-weight: 600; }
.fresh-row code {
  font-size: 11.5px; background: var(--bg); padding: 1px 6px; border-radius: 4px;
  border: 1px solid var(--border); color: var(--text-dim);
}

/* ===== CITATION (whitepaper page) ===== */
.cite {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin: 0 0 18px;
}
.cite h3 {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700; margin: 0 0 12px;
}
.cite pre {
  font-family: var(--mono); font-size: 11.5px;
  background: var(--bg); color: var(--text-dim);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; line-height: 1.65;
  overflow-x: auto; white-space: pre-wrap; word-break: normal;
  margin: 0 0 10px;
}
.cite .row { display: grid; grid-template-columns: 130px 1fr; gap: 6px 16px; font-size: 13px; margin-top: 4px; }
.cite .row .k { color: var(--text-mute); font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; font-weight: 600; padding-top: 2px; }
.cite .row .v { color: var(--text-dim); }
.cite .row .v b { color: var(--text); font-weight: 600; }
