/* ==========================================================================
   Steelmatter by IronTrex — site stylesheet
   Warm editorial canvas, obsidian stage bands, vermilion + emerald accents.
   No framework. Sections:
     01 Tokens            07 Hero + control-plane stage   13 FAQ
     02 Reset + base      08 Overnight timeline           14 Closing CTA + footer
     03 Typography        09 Value pillars                15 Sub-page heroes + diagrams
     04 Layout + bands    10 Comparison matrix            16 Banking page
     05 Buttons + chips   11 Onboarding pathways          17 Verify lab
     06 Header + nav      12 Shared figures               18 Motion + responsive + print
   ========================================================================== */

/* 01 — Tokens ------------------------------------------------------------- */
:root {
  --paper: #FAF8F4;
  --paper-deep: #F2EEE6;
  --card: #FFFFFF;
  --ink: #111110;
  --stone: #57554F;
  --stone-soft: #8A877F;
  --line: rgba(17, 17, 16, 0.10);
  --line-strong: rgba(17, 17, 16, 0.18);

  --obsidian: #111110;
  --obsidian-raised: #1A1917;
  --obsidian-high: #24221F;
  --bone: #F5F2EB;
  --bone-soft: rgba(245, 242, 235, 0.64);
  --bone-line: rgba(245, 242, 235, 0.12);

  --vermilion: #D84A27;
  --vermilion-deep: #B93A1B;
  --vermilion-wash: rgba(216, 74, 39, 0.09);
  --emerald: #146C4E;
  --emerald-bright: #2FA37A;
  --emerald-wash: rgba(20, 108, 78, 0.09);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --band-y: clamp(72px, 10vw, 136px);

  --shadow-1: 0 1px 0 rgba(17, 17, 16, 0.04), 0 1px 2px rgba(17, 17, 16, 0.05);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 2px 4px rgba(17, 17, 16, 0.04),
              0 12px 24px -8px rgba(17, 17, 16, 0.10);
  --shadow-3: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 6px rgba(17, 17, 16, 0.05),
              0 24px 48px -16px rgba(17, 17, 16, 0.18), 0 56px 96px -40px rgba(17, 17, 16, 0.22);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 02 — Reset + base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 03 — Typography --------------------------------------------------------- */
.display,
.h2,
.h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.5rem, 5.1vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
}

.h2 {
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  line-height: 1.06;
}

.h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
}

/* Italic serif emphasis — the human half of every headline. */
.display em,
.h2 em,
.h3 em,
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
}
.display em { font-size: 1.1em; line-height: 0.96; }
.h2 em { font-size: 1.1em; }
.h3 em { font-size: 1.12em; }

.h2 code, .h3 code, .display code { font-size: 0.7em; padding: 0.08em 0.3em; vertical-align: 0.1em; border-radius: 10px; }

.lede {
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 1.55;
  color: var(--stone);
  max-width: 56ch;
  text-wrap: pretty;
}

.body { color: var(--stone); max-width: 62ch; text-wrap: pretty; }
.body strong, .lede strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--accent { color: var(--vermilion); }

code, .mono {
  font-family: var(--mono);
  font-size: 0.86em;
  font-weight: 500;
  letter-spacing: -0.01em;
}
:not(pre) > code {
  padding: 0.12em 0.42em;
  border-radius: 6px;
  background: rgba(17, 17, 16, 0.055);
  border: 1px solid var(--line);
  white-space: nowrap;
}

/* 04 — Layout + bands ----------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  position: relative;
  padding-block: var(--band-y);
}
.band--tight { padding-block: clamp(56px, 7vw, 96px); }
.band--tint { background: var(--paper-deep); }
.band--rule { border-top: 1px solid var(--line); }

/* Dark chapter: re-point the tokens so every component inverts by itself. */
.band--dark {
  --paper: #111110;
  --paper-deep: #1A1917;
  --card: #1A1917;
  --ink: #F5F2EB;
  --stone: rgba(245, 242, 235, 0.66);
  --stone-soft: rgba(245, 242, 235, 0.42);
  --line: rgba(245, 242, 235, 0.12);
  --line-strong: rgba(245, 242, 235, 0.22);
  --emerald: #3DB58A;
  --emerald-wash: rgba(61, 181, 138, 0.12);
  --vermilion-wash: rgba(216, 74, 39, 0.16);
  background: var(--obsidian);
  color: var(--bone);
  isolation: isolate;
}
.band--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.band--dark :not(pre) > code {
  background: rgba(245, 242, 235, 0.07);
}
.band--dark ::selection { background: var(--bone); color: var(--obsidian); }

.section-head {
  display: grid;
  gap: 20px;
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  column-gap: clamp(32px, 6vw, 96px);
}
.section-head--split .eyebrow { grid-column: 1 / -1; }

/* 05 — Buttons + chips ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 10px 22px -12px rgba(17, 17, 16, 0.6);
}
.btn--ink:hover { background: #2A2926; transform: translateY(-1px); }
.band--dark .btn--ink:hover { background: #FFFFFF; }

.btn--line {
  border-color: var(--line-strong);
  background: transparent;
}
.btn--line:hover { border-color: var(--ink); background: rgba(17, 17, 16, 0.03); }
.band--dark .btn--line:hover { background: rgba(245, 242, 235, 0.06); }

.btn--vermilion {
  background: var(--vermilion);
  color: #FFF8F3;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 12px 24px -12px rgba(216, 74, 39, 0.7);
}
.btn--vermilion:hover { background: var(--vermilion-deep); transform: translateY(-1px); }

.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.text-link:hover { border-color: var(--vermilion); color: var(--vermilion); }
.text-link .arrow { transition: transform 0.35s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--stone);
  background: var(--card);
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stone-soft);
}
.chip--ok { color: var(--emerald); border-color: rgba(20, 108, 78, 0.28); background: var(--emerald-wash); }
.chip--ok::before { background: var(--emerald); }
.chip--block { color: var(--vermilion); border-color: rgba(216, 74, 39, 0.3); background: var(--vermilion-wash); }
.chip--block::before { background: var(--vermilion); }

/* 06 — Header + nav ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 248, 244, 0.86);
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.brand__by {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav a {
  position: relative;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--stone);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(17, 17, 16, 0.045); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1.5px;
  background: var(--vermilion);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .btn { min-height: 42px; padding: 0 17px; font-size: 14.5px; }
.gh-icon { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), background-color 0.2s linear;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* 07 — Hero + control-plane stage ----------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.hero::before {
  /* architectural drafting grid, fading out toward the copy */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000 0%, transparent 72%);
  opacity: 0.7;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__copy .display { max-width: 11.5em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { min-height: 54px; padding: 0 26px; font-size: 16px; }

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 560px;
}
.hero__proof div { padding-right: 20px; }
.hero__proof div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__proof dt {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__proof dd {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--stone);
}

/* The stage: a product window, not a terminal. */
.stage {
  position: relative;
  border-radius: var(--radius-l);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  isolation: isolate;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background-image: var(--grain);
  opacity: 0.055;
  pointer-events: none;
}
.stage__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, #FFFFFF, #FCFBF8);
}
.stage__title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.stage__title span { color: var(--stone-soft); font-weight: 500; }
.stage__mode {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
}
.stage__mode::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-wash);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 14px 14px 0;
}
.pill {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-align: left;
  background: var(--paper);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pill:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.pill__num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--stone-soft);
  transition: color 0.3s var(--ease);
}
.pill__label {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.pill[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 20px -12px rgba(17, 17, 16, 0.6);
}
.pill[aria-selected="true"] .pill__num { color: rgba(245, 242, 235, 0.6); }

.pipe { padding: 10px 14px 0; }
.pipe svg { width: 100%; height: auto; overflow: visible; }
.pipe-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: -2px;
  text-align: center;
}
.pipe-labels span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  padding-inline: 2px;
}
.pipe-labels small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--stone-soft);
}

/* SVG pipeline parts */
.p-link-base { stroke: rgba(17, 17, 16, 0.14); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.p-link {
  stroke: var(--emerald);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.8s var(--ease), stroke 0.3s var(--ease);
}
.p-link[data-state="ok"] { stroke-dashoffset: 0; }
.p-link[data-state="block"] { stroke: var(--vermilion); stroke-dashoffset: 0.55; }
.p-link[data-state="drop"] { stroke: var(--vermilion); stroke-dashoffset: 0; stroke-dasharray: 0.06 0.06; }
.p-link[data-state="observe"] { stroke-dashoffset: 0; stroke-dasharray: 0.05 0.05; animation: observe-flow 1.2s linear infinite; }

.p-cut { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center; transition: opacity 0.3s var(--ease), transform 0.5s var(--ease); }
.p-cut[data-on="true"] { opacity: 1; transform: scale(1); }

.p-node rect.p-shell {
  fill: #FFFFFF;
  stroke: rgba(17, 17, 16, 0.16);
  stroke-width: 1.25;
  transition: stroke 0.35s var(--ease), fill 0.35s var(--ease), stroke-width 0.35s var(--ease);
}
.p-node .p-icon {
  fill: none;
  stroke: var(--stone);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s var(--ease);
}
.p-node { transition: opacity 0.4s var(--ease); }
.p-node[data-state=""] { opacity: 0.62; }
.p-node[data-state="active"] rect.p-shell { stroke: #111110; stroke-width: 2; }
.p-node[data-state="active"] .p-icon { stroke: #111110; }
.p-node[data-state="ok"] rect.p-shell { stroke: var(--emerald); stroke-width: 2; fill: #F3FAF6; }
.p-node[data-state="ok"] .p-icon { stroke: var(--emerald); }
.p-node[data-state="block"] rect.p-shell { stroke: var(--vermilion); stroke-width: 2; fill: #FDF3EF; }
.p-node[data-state="block"] .p-icon { stroke: var(--vermilion); }
.p-node[data-state="hold"] rect.p-shell { stroke: #111110; stroke-width: 2; stroke-dasharray: 5 4; animation: hold-march 1s linear infinite; }
.p-node[data-state="hold"] .p-icon { stroke: #111110; }

/* The lock is always the hero of the diagram. */
.p-node--lock rect.p-shell { fill: #111110; stroke: #111110; }
.p-node--lock .p-icon { stroke: #F5F2EB; }
.p-node--lock[data-state=""] { opacity: 1; }
.p-node--lock[data-state="active"] rect.p-shell { fill: #111110; stroke: #111110; }
.p-node--lock[data-state="active"] .p-icon { stroke: #F5F2EB; }
.p-node--lock[data-state="ok"] rect.p-shell { fill: var(--emerald); stroke: var(--emerald); }
.p-node--lock[data-state="ok"] .p-icon { stroke: #FFFFFF; }
.p-node--lock[data-state="block"] rect.p-shell { fill: var(--vermilion); stroke: var(--vermilion); }
.p-node--lock[data-state="block"] .p-icon { stroke: #FFFFFF; }
.p-node--lock[data-state="hold"] rect.p-shell { fill: #111110; stroke: #111110; stroke-dasharray: none; animation: none; }
.p-node--lock[data-state="hold"] .p-icon { stroke: #F5F2EB; }
.p-halo {
  fill: none;
  stroke: #111110;
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.p-node--lock[data-state="active"] .p-halo,
.p-node--lock[data-state="hold"] .p-halo { animation: halo 1.6s var(--ease) infinite; }

.p-badge { opacity: 0; transform: scale(0.3); transform-box: fill-box; transform-origin: center; transition: opacity 0.3s var(--ease), transform 0.55s var(--ease); }
.p-node[data-state="ok"] .p-badge--ok,
.p-node[data-state="block"] .p-badge--block { opacity: 1; transform: scale(1); }
.p-badge circle { stroke: #FFFFFF; stroke-width: 2; }
.p-badge--ok circle { fill: var(--emerald); }
.p-badge--block circle { fill: var(--vermilion); }
.p-badge path { fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.p-packet {
  fill: var(--vermilion);
  stroke: #FFFFFF;
  stroke-width: 2.5;
  opacity: 0;
  transition: transform 0.85s var(--ease), opacity 0.3s var(--ease), fill 0.3s var(--ease);
}
.p-packet[data-on="true"] { opacity: 1; }
.p-packet[data-tone="ok"] { fill: var(--emerald); }

.p-aux { opacity: 0; transform: translateY(6px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.p-aux[data-on="true"] { opacity: 1; transform: none; }
.p-aux rect { fill: #111110; }
.p-aux text {
  fill: #F5F2EB;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-anchor: middle;
}
.p-aux line { stroke: #111110; stroke-width: 1.25; stroke-dasharray: 3 3; }
.p-aux[data-tone="ok"] rect { fill: var(--emerald); }
.p-aux[data-tone="ok"] line { stroke: var(--emerald); }
.p-aux[data-tone="block"] rect { fill: var(--vermilion); }

.stage__readout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.events {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 16px 18px 18px 20px;
  min-height: 236px;
}
.events li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.42;
  color: var(--stone-soft);
  opacity: 0.5;
  transition: opacity 0.45s var(--ease), color 0.45s var(--ease), transform 0.6s var(--ease);
  transform: translateY(3px);
}
.events li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin: 6px 0 0 5px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.events li.is-done { opacity: 1; color: var(--stone); transform: none; }
.events li.is-done::before { background: var(--emerald); border-color: var(--emerald); }
.events li.is-now { opacity: 1; color: var(--ink); font-weight: 600; transform: none; }
.events li.is-now::before { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17, 17, 16, 0.08); }
.events li.is-now[data-tone="block"]::before,
.events li.is-done[data-tone="block"]::before { background: var(--vermilion); border-color: var(--vermilion); }
.events li.is-now[data-tone="block"] { color: var(--vermilion-deep); }

.metrics {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  border-left: 1px solid var(--line);
  background: #FCFBF8;
}
.metric {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
}
.metric + .metric { border-top: 1px solid var(--line); }
.metric__label { font-size: 12px; line-height: 1.3; color: var(--stone); font-weight: 600; }
.metric__value {
  font-family: var(--serif);
  font-size: 2.3rem;
  line-height: 1;
  min-width: 1.1ch;
  text-align: right;
  transition: color 0.3s var(--ease);
  font-variant-numeric: tabular-nums;
}
.metric[data-tone="ok"] .metric__value { color: var(--emerald); }
.metric[data-tone="block"] .metric__value { color: var(--vermilion); }
.metric__value.is-tick { animation: tick 0.5s var(--ease); }

.verdict {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
  min-height: 68px;
}
.verdict__seal {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--line-strong);
  transition: all 0.5s var(--ease);
}
.verdict__seal svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 0.3s var(--ease); }
.verdict__seal .i-x { display: none; }
.verdict__text { display: grid; gap: 2px; min-width: 0; }
.verdict__title { font-size: 14px; font-weight: 700; letter-spacing: -0.015em; }
.verdict__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.verdict__replay {
  margin-left: auto;
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: background-color 0.25s var(--ease);
}
.verdict__replay:hover { background: rgba(17, 17, 16, 0.05); }
.verdict[data-tone="ok"] { background: #EEF7F2; }
.verdict[data-tone="ok"] .verdict__seal { background: var(--emerald); border: 1.5px solid var(--emerald); color: #FFFFFF; transform: rotate(360deg); }
.verdict[data-tone="block"] { background: #FCEFEA; }
.verdict[data-tone="block"] .verdict__seal { background: var(--vermilion); border: 1.5px solid var(--vermilion); color: #FFFFFF; transform: rotate(360deg); }
.verdict[data-tone="ok"] .verdict__seal svg,
.verdict[data-tone="block"] .verdict__seal svg { opacity: 1; }
.verdict[data-tone="block"] .i-check { display: none; }
.verdict[data-tone="block"] .i-x { display: block; }

.stage-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--stone-soft);
  text-align: center;
}

/* Logo-less trust strip under the hero */
.fit-strip {
  border-block: 1px solid var(--line);
  padding-block: 22px;
}
.fit-strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 34px;
}
.fit-strip__label { font-size: 13px; font-weight: 700; color: var(--stone-soft); letter-spacing: 0.02em; }
.fit-strip__row li { font-size: 15px; font-weight: 600; color: var(--stone); letter-spacing: -0.01em; }
.fit-strip__row li em { font-family: var(--serif); font-size: 1.2em; font-style: italic; font-weight: 400; color: var(--ink); }

/* 08 — Overnight timeline -------------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
}
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 13px;
  height: 2px;
  border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after {
  background: linear-gradient(to right, var(--bone) 0%, var(--bone) 55%, var(--vermilion) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.4s var(--ease) 0.3s;
}
.timeline.is-in::after { transform: scaleX(1); }

.t-step { position: relative; padding-top: 52px; }
.t-step::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--obsidian);
  border: 2px solid var(--bone);
  box-shadow: 0 0 0 6px var(--obsidian);
}
.t-step:last-of-type::before { background: var(--vermilion); border-color: var(--vermilion); }
.t-step__time {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.t-step__time small { font-family: var(--sans); font-size: 0.3em; font-weight: 700; letter-spacing: 0.12em; margin-left: 6px; color: var(--stone); }
.t-step h3 { margin-top: 18px; }
.t-step p { margin-top: 12px; color: var(--stone); font-size: 15.5px; max-width: 34ch; }
.t-step__keep {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.t-step__keep .chip { background: transparent; }

/* small UI vignette inside each step */
.t-ui {
  margin-top: 26px;
  padding: 16px;
  border-radius: var(--radius-m);
  background: var(--obsidian-raised);
  border: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.9);
  font-size: 13px;
}
.t-ui__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.t-ui__row + .t-ui__row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.t-ui__k { color: var(--stone); }
.t-ui__v { font-family: var(--mono); font-size: 12px; }
.t-ui__v--strike { text-decoration: line-through; color: var(--stone-soft); }
.switch {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--obsidian-high);
  border: 1px solid var(--line-strong);
  flex: none;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bone);
  transition: transform 0.7s var(--ease) 1.6s, background-color 0.4s linear 1.6s;
}
.timeline.is-in .switch--on { background: var(--vermilion); border-color: var(--vermilion); transition: background-color 0.5s linear 1.6s, border-color 0.5s linear 1.6s; }
.timeline.is-in .switch--on::after { transform: translateX(18px); background: #FFFFFF; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.bars i {
  display: block;
  width: 7px;
  border-radius: 2px;
  background: var(--stone-soft);
  transform-origin: bottom;
  animation: bar-breathe 2.6s ease-in-out infinite;
}
.bars i:nth-child(1) { height: 30%; }
.bars i:nth-child(2) { height: 55%; animation-delay: -0.4s; }
.bars i:nth-child(3) { height: 42%; animation-delay: -0.9s; }
.bars i:nth-child(4) { height: 90%; background: var(--vermilion); animation-delay: -1.3s; }
.bars i:nth-child(5) { height: 48%; animation-delay: -1.7s; }
.bars i:nth-child(6) { height: 66%; animation-delay: -2.1s; }
.bars i:nth-child(7) { height: 36%; animation-delay: -0.2s; }

/* 09 — Value pillars ------------------------------------------------------ */
.pillar {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(40px, 5.5vw, 72px);
  border-top: 1px solid var(--line);
}
.pillar:last-child { padding-bottom: 0; }
.pillar--flip .pillar__copy { order: 2; }
.pillar__copy { display: grid; gap: 18px; justify-items: start; }
.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--vermilion);
  line-height: 1;
}
.pillar__points { display: grid; gap: 10px; margin-top: 6px; }
.pillar__points li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  color: var(--stone);
}
.pillar__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
}

.viz {
  position: relative;
  border-radius: var(--radius-l);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: clamp(20px, 2.6vw, 32px);
  overflow: hidden;
  isolation: isolate;
}
.viz::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.05;
  pointer-events: none;
}
.viz__cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
}
.viz__cap span:last-child { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--stone-soft); }

/* budget viz */
.budget__bar {
  position: relative;
  display: flex;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}
.budget__seg {
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.is-in .budget__seg { transform: scaleX(1); }
.budget__seg--spent { width: 46%; background: var(--ink); }
.budget__seg--held {
  width: 18%;
  background: repeating-linear-gradient(-45deg, var(--emerald) 0 6px, #1B8460 6px 12px);
  transition-delay: 0.35s;
}
.budget__ceiling {
  position: absolute;
  top: 16px;
  bottom: -6px;
  right: 14%;
  width: 2px;
  background: var(--vermilion);
}
.budget__ceiling::after {
  content: "ceiling";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--vermilion);
}
.budget__wrap { position: relative; padding-top: 22px; }
.budget__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 12.5px; color: var(--stone); }
.budget__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.budget__attempts { margin-top: 22px; display: grid; gap: 8px; }
.attempt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.attempt span:first-child { font-family: var(--mono); font-size: 11.5px; color: var(--stone-soft); }
.attempt--blocked { background: var(--vermilion-wash); border-color: rgba(216, 74, 39, 0.22); }

/* IAM stack viz */
.stack { display: grid; gap: 10px; }
.stack__layer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.stack__layer small { display: block; font-size: 12.5px; font-weight: 500; color: var(--stone); margin-top: 2px; }
.stack__layer--keep { background: var(--paper); }
.stack__layer--steel { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 16px 28px -18px rgba(17, 17, 16, 0.7); }
.stack__layer--steel small { color: rgba(245, 242, 235, 0.66); }
.stack__layer--gone { border-style: dashed; color: var(--stone-soft); }
.stack__layer--gone b { text-decoration: line-through; text-decoration-color: var(--vermilion); font-weight: 600; }
.stack__tag { font-family: var(--mono); font-size: 11px; font-weight: 500; white-space: nowrap; }
.stack__layer--keep .stack__tag { color: var(--emerald); }
.stack__layer--gone .stack__tag { color: var(--vermilion); }
.stack__join { justify-self: center; width: 1px; height: 14px; background: var(--line-strong); }

/* receipt viz */
.rcpt {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  padding: 22px 22px 26px;
  background: #FFFDF9;
  border: 1px solid var(--line);
  border-radius: 14px 14px 4px 4px;
  box-shadow: var(--shadow-2);
  transform: rotate(-1.4deg);
  transition: transform 0.8s var(--ease);
}
.viz:hover .rcpt { transform: rotate(0deg) translateY(-3px); }
.rcpt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 10px;
  background:
    linear-gradient(-45deg, transparent 7px, #FFFDF9 0) 0 0 / 14px 10px repeat-x,
    linear-gradient(45deg, transparent 7px, #FFFDF9 0) 0 0 / 14px 10px repeat-x;
  transform: scaleY(-1);
  filter: drop-shadow(0 -1px 0 rgba(17, 17, 16, 0.1));
}
.rcpt__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed var(--line-strong); }
.rcpt__head b { font-size: 14px; letter-spacing: -0.01em; }
.rcpt dl { display: grid; gap: 9px; padding-block: 14px; }
.rcpt dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; }
.rcpt dt { color: var(--stone); }
.rcpt dd { font-family: var(--mono); font-size: 11.5px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcpt__sigs { display: grid; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.rcpt__sig { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 11.5px; }
.rcpt__sig span:last-child { color: var(--emerald); }
.rcpt__sig--next span:last-child { color: var(--stone-soft); }

/* sovereign viz */
.sov { display: grid; gap: 14px; }
.sov__perimeter {
  position: relative;
  padding: 22px 18px 18px;
  border-radius: 16px;
  border: 1.5px dashed var(--line-strong);
}
.sov__perimeter > span {
  position: absolute;
  top: -10px;
  left: 16px;
  padding: 0 8px;
  background: var(--card);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone);
}
.sov__core { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.sov__box {
  padding: 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}
.sov__box small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; opacity: 0.66; }
.sov__box--pg { background: var(--paper-deep); color: var(--ink); border: 1px solid var(--line); }
.sov__plus { font-family: var(--serif); font-size: 1.5rem; color: var(--stone-soft); }
.sov__out {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--stone);
}
.sov__out::before {
  content: "";
  flex: none;
  width: 34px;
  height: 0;
  border-top: 1.5px solid var(--vermilion);
  position: relative;
}
.sov__out b { color: var(--vermilion); font-weight: 700; }
.sov__regions { display: flex; flex-wrap: wrap; gap: 6px; }
.sov__regions li {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  background: var(--paper);
}

/* 10 — Comparison matrix -------------------------------------------------- */
.matrix-wrap {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.8);
}
.matrix { font-size: 15px; }
.matrix th, .matrix td { padding: 20px 24px; text-align: left; vertical-align: top; }
.matrix thead th {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
}
.matrix thead th.matrix__us {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: none;
}
.matrix tbody tr + tr > * { border-top: 1px solid var(--line); }
.matrix tbody th { width: 32%; font-weight: 600; font-size: 16px; letter-spacing: -0.015em; }
.matrix tbody th small { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--stone); letter-spacing: 0; }
.matrix td { width: 34%; color: var(--stone); font-size: 14.5px; }
.matrix .matrix__us { background: rgba(245, 242, 235, 0.045); color: var(--ink); }
.band:not(.band--dark) .matrix .matrix__us { background: var(--paper); }
.mark {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mark::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.mark--no::before {
  background-color: var(--vermilion-wash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23E2603D' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 3l6 6M9 3l-6 6'/%3E%3C/svg%3E");
}
.mark--yes::before {
  background-color: var(--emerald);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5'/%3E%3C/svg%3E");
}
.mark--part::before {
  background-color: rgba(138, 135, 127, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%238A877F' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 6h6'/%3E%3C/svg%3E");
}
.matrix-note { margin-top: 20px; font-size: 13px; color: var(--stone-soft); max-width: 80ch; }

/* 11 — Onboarding pathways ------------------------------------------------ */
.paths { border-bottom: 1px solid var(--line); }
.path {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.1fr) 250px;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line);
  transition: background-color 0.4s var(--ease);
}
.path__num { font-family: var(--serif); font-size: 3rem; line-height: 0.9; color: var(--stone-soft); transition: color 0.4s var(--ease); }
.path:hover .path__num { color: var(--vermilion); }
.path__title { display: grid; gap: 10px; justify-items: start; }
.path__body { display: grid; gap: 14px; }
.path__body p { color: var(--stone); font-size: 15.5px; }
.path__scope { display: grid; gap: 8px; }
.path__scope li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--stone); }
.path__scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 11px;
  height: 6px;
  border-left: 1.6px solid var(--emerald);
  border-bottom: 1.6px solid var(--emerald);
  transform: rotate(-45deg);
}
.path__cta { align-self: center; justify-self: end; }

.cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border-radius: 12px;
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 12.5px;
  max-width: 100%;
  overflow: hidden;
}
.cmd code { border: 0; background: none; padding: 0; border-radius: 0; flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: inherit; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd code::before { content: "$ "; color: rgba(245, 242, 235, 0.4); }
.cmd--multi { align-items: flex-start; }
.cmd--multi code { white-space: pre; line-height: 1.9; }
.cmd--multi code::before { content: none; }
.copy-btn {
  flex: none;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--bone-line);
  color: var(--bone-soft);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.copy-btn:hover { color: var(--bone); border-color: rgba(245, 242, 235, 0.4); }
.copy-btn.is-copied { color: #FFFFFF; background: var(--emerald); border-color: var(--emerald); }

/* 11b — Open-source monolith ---------------------------------------------- */
.oss { overflow: hidden; padding-block: clamp(88px, 12vw, 168px); }
.oss::after {
  /* forge glow rising from the floor of the band */
  content: "";
  position: absolute;
  left: 50%;
  bottom: -38%;
  z-index: -1;
  width: 120%;
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(216, 74, 39, 0.20), rgba(216, 74, 39, 0.05) 55%, transparent 72%);
  pointer-events: none;
}
.oss__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.oss__top .chip { background: transparent; transition: border-color 0.25s var(--ease), color 0.25s var(--ease); }
.oss__top .chip:hover { border-color: var(--bone); color: var(--bone); }
.oss__title {
  margin-top: clamp(28px, 4vw, 48px);
  font-size: clamp(3.1rem, 10.4vw, 9.6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.oss__title em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-size: 1.06em;
  line-height: 1;
  padding-bottom: 0.14em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
  background: linear-gradient(100deg, var(--bone) 0%, var(--bone) 42%, var(--vermilion) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0;
}
.oss__lede { margin-top: clamp(24px, 3vw, 40px); max-width: 60ch; font-size: clamp(1.1rem, 1.6vw, 1.4rem); }

.oss__marquee {
  margin-block: clamp(48px, 7vw, 96px);
  border-block: 1px solid var(--line);
  padding-block: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.oss__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.oss__marquee:hover .oss__track { animation-play-state: paused; }
.oss__track span {
  display: inline-flex;
  align-items: center;
  padding-right: 44px;
  font-size: clamp(1.4rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 242, 235, 0.5);
}
.oss__track span:nth-child(3n + 1) { color: var(--bone); -webkit-text-stroke: 0; }
.oss__track span::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 44px;
  background: var(--vermilion);
  transform: rotate(45deg);
}

.oss__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.oss__stats > div { padding: clamp(24px, 3vw, 44px) 20px clamp(24px, 3vw, 40px) 0; }
.oss__stats > div + div { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.oss__stats dt {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 9vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.oss__zero dt { color: var(--vermilion); }
.oss__stats dd { margin-top: 16px; font-size: 14.5px; color: var(--stone); max-width: 24ch; }

.oss__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 80px);
  margin-top: clamp(56px, 7vw, 104px);
  align-items: start;
}
.oss__tree {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--obsidian-raised);
  box-shadow: 0 48px 96px -48px #000;
  overflow: hidden;
}
.oss__tree-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--stone);
}
.oss__tree-head span:first-child { color: var(--bone); }
.oss__tree li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 22px;
  font-size: 14px;
  color: var(--stone);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.oss__tree li + li { border-top: 1px solid var(--line); }
.oss__tree li:hover { background: rgba(245, 242, 235, 0.04); color: var(--bone); }
.oss__tree li code { border: 0; background: none; padding: 0; color: var(--bone); font-size: 13px; }
.oss__tree li code::before { content: "▸ "; color: var(--vermilion); }
.oss__run { display: grid; gap: 22px; justify-items: start; }
.oss__run .cmd { width: 100%; padding: 18px 16px 18px 22px; border-radius: var(--radius-m); background: #000; border: 1px solid var(--line); font-size: 13px; }
.oss__covers { display: flex; flex-wrap: wrap; gap: 8px; }
.oss__covers li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--stone);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 920px) {
  .oss__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oss__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .oss__stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .oss__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .oss__tree li { grid-template-columns: 1fr; gap: 2px; }
}

/* 12 — Shared figures ----------------------------------------------------- */
.figure {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-2);
  padding: clamp(18px, 3vw, 40px);
  overflow: hidden;
}
.band--dark .figure { box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.9); }
.figure svg { width: 100%; height: auto; }
.figure figcaption { margin-top: 18px; font-size: 13.5px; color: var(--stone); max-width: 78ch; }
.figure-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.figure-scroll svg { min-width: 720px; }

.d-text { font-family: var(--sans); font-weight: 700; font-size: 14px; fill: var(--ink); letter-spacing: -0.01em; }
.d-sub { font-family: var(--sans); font-weight: 500; font-size: 11.5px; fill: var(--stone); }
.d-mono { font-family: var(--mono); font-weight: 500; font-size: 10.5px; fill: var(--stone); }
.d-box { fill: var(--card); stroke: var(--line-strong); stroke-width: 1.25; }
.d-box--soft { fill: var(--paper-deep); }
.d-box--ink { fill: var(--ink); stroke: var(--ink); }
.d-on-ink { fill: var(--paper); }
.d-on-ink-sub { fill: var(--paper); opacity: 0.66; }
.d-wire { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.d-wire--ok { stroke: var(--emerald); stroke-width: 2; }
.d-wire--bad { stroke: var(--vermilion); stroke-width: 2; stroke-dasharray: 5 5; }
.d-flow { stroke-dasharray: 6 8; animation: dash-flow 1.4s linear infinite; }
.d-ok { fill: var(--emerald); }
.d-bad { fill: var(--vermilion); }
.d-head { fill: var(--stone-soft); }
.d-head--ok { fill: var(--emerald); }
.d-head--bad { fill: var(--vermilion); }
.d-zone { fill: none; stroke: var(--line-strong); stroke-width: 1.25; stroke-dasharray: 4 5; }
.d-label-ok { fill: var(--emerald); }
.d-label-bad { fill: var(--vermilion); }

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.duo--center { align-items: center; }
.stack-gap { display: grid; gap: 20px; justify-items: start; }

.ledger { border-top: 1px solid var(--line); }
.ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ledger__row h3 { font-size: 1.15rem; }
.ledger__row p { font-size: 15px; color: var(--stone); }
.ledger__row p b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; color: var(--stone-soft); }
.ledger__row p.is-steel b { color: var(--emerald); }
.ledger__row p.is-steel { color: var(--ink); }

/* 13 — FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--vermilion); }
.faq summary::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat;
  transition: transform 0.5s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 52px 26px 0; color: var(--stone); max-width: 76ch; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 112px; }

/* 14 — Closing CTA + footer ----------------------------------------------- */
.closing { text-align: center; }
.closing .h2 { max-width: 16em; margin-inline: auto; font-size: clamp(2.2rem, 4.6vw, 4rem); }
.closing .lede { margin: 24px auto 0; }
.closing__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.closing__ctas .btn { min-height: 54px; padding: 0 28px; font-size: 16px; }

.site-footer {
  position: relative;
  background: var(--obsidian);
  color: var(--bone);
  border-top: 1px solid var(--bone-line);
  padding-block: 64px 36px;
  font-size: 14.5px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.site-footer .brand__by { color: rgba(245, 242, 235, 0.45); }
.site-footer__blurb { margin-top: 18px; max-width: 34ch; color: var(--bone-soft); }
.site-footer h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.45);
  margin-bottom: 16px;
}
.site-footer li + li { margin-top: 10px; }
.site-footer li a { color: var(--bone-soft); transition: color 0.2s var(--ease); }
.site-footer li a:hover { color: var(--bone); }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--bone-line);
  font-size: 13px;
  color: rgba(245, 242, 235, 0.45);
}

/* 15 — Sub-page heroes ---------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 104px) clamp(48px, 6vw, 88px);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.page-hero .display { font-size: clamp(2.4rem, 4.8vw, 4.2rem); max-width: 13em; margin-top: 22px; }
.page-hero__aside { display: grid; gap: 22px; justify-items: start; padding-bottom: 6px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--stone-soft); font-weight: 600; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.stat-row > div { padding: 28px 24px 28px 0; }
.stat-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-row dt { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; }
.stat-row dd { margin-top: 10px; font-size: 14.5px; color: var(--stone); max-width: 30ch; }

.steps15 { margin-bottom: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps15 li { padding: 26px 22px 0 0; position: relative; }
.steps15 li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps15 b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--vermilion); }
.steps15 h3 { font-size: 1.1rem; margin-top: 10px; }
.steps15 p { margin-top: 8px; font-size: 14.5px; color: var(--stone); }

/* 16 — Banking page ------------------------------------------------------- */
.regions { display: grid; gap: 0; }
.region {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 64px);
  padding-block: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.region__tag { display: grid; gap: 10px; justify-items: start; }
.region__code {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.region__reg { font-family: var(--mono); font-size: 11.5px; color: var(--vermilion); }
.region__copy { display: grid; gap: 14px; }
.region__copy p { color: var(--stone); font-size: 15.5px; }
.region__card {
  padding: 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.band--dark .region__card { box-shadow: none; }
.region__card h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-soft); margin-bottom: 14px; }
.region__card li { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 10px 0; font-size: 14px; align-items: baseline; }
.region__card li + li { border-top: 1px solid var(--line); }
.region__card li span:last-child { font-family: var(--mono); font-size: 11.5px; color: var(--emerald); text-align: right; }

.otp {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}
.otp__side { padding: 22px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--card); display: grid; gap: 12px; align-content: start; }
.otp__side h3 { font-size: 1.05rem; }
.otp__side .chip { justify-self: start; }
.otp__side--old { border-style: dashed; }
.otp__side--new { border-color: var(--emerald); box-shadow: 0 0 0 4px var(--emerald-wash); }
.otp__msg { padding: 12px 14px; border-radius: 12px; background: var(--paper-deep); font-size: 13.5px; color: var(--stone); }
.otp__msg b { font-family: var(--mono); font-weight: 500; color: var(--ink); white-space: nowrap; }
.otp__arrow { align-self: center; font-family: var(--serif); font-size: 2rem; color: var(--stone-soft); }
.otp__side p { font-size: 14px; color: var(--stone); }

.note-box {
  padding: 20px 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--stone);
  max-width: 88ch;
}

/* 17 — Verify lab --------------------------------------------------------- */
.lab {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(20px, 2.6vw, 32px);
  align-items: start;
}
.panel {
  position: relative;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
}
.panel__head a { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--stone); border-bottom: 1px solid var(--line-strong); }
.panel__head a:hover { color: var(--vermilion); border-color: var(--vermilion); }

.overall {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.5s var(--ease);
}
.overall__seal {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  color: var(--stone-soft);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.8s var(--ease);
}
.overall__seal svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.overall__seal .i-x { display: none; }
.overall h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.overall p { font-size: 13.5px; color: var(--stone); margin-top: 3px; }
.overall[data-state="pass"] { background: #EEF7F2; }
.overall[data-state="pass"] .overall__seal { background: var(--emerald); color: #FFFFFF; transform: rotate(360deg); }
.overall[data-state="fail"] { background: #FCEFEA; }
.overall[data-state="fail"] .overall__seal { background: var(--vermilion); color: #FFFFFF; transform: rotate(0deg); }
.overall[data-state="fail"] .i-check { display: none; }
.overall[data-state="fail"] .i-x { display: block; }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 4px 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.5s var(--ease);
}
.check:nth-child(odd) { border-right: 1px solid var(--line); }
.check__dot {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  color: var(--stone-soft);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), transform 0.6s var(--ease);
}
.check__dot svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.check__dot .i-x { display: none; }
.check__name { font-size: 15px; font-weight: 700; letter-spacing: -0.015em; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.check__status { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--stone-soft); transition: color 0.3s var(--ease); }
.check__what { font-size: 13px; line-height: 1.45; color: var(--stone); }
.check[data-state="pass"] .check__dot { background: var(--emerald); color: #FFFFFF; transform: scale(1); }
.check[data-state="pass"] .check__status { color: var(--emerald); }
.check[data-state="fail"] { background: #FCEFEA; }
.check[data-state="fail"] .check__dot { background: var(--vermilion); color: #FFFFFF; animation: shake 0.5s var(--ease); }
.check[data-state="fail"] .check__status { color: var(--vermilion); }
.check[data-state="fail"] .i-check { display: none; }
.check[data-state="fail"] .i-x { display: block; }
.check[data-state="fail"] .check__what { color: var(--vermilion-deep); }

.explain { padding: 20px 22px 22px; display: grid; gap: 14px; }
.explain__block b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-soft); margin-bottom: 6px; }
.explain__block p { font-size: 14.5px; color: var(--ink); }
.explain__block--tech p { font-family: var(--mono); font-size: 12px; line-height: 1.65; color: var(--stone); overflow-wrap: anywhere; }

.lab-actions { display: grid; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
.lab-actions__row { display: flex; flex-wrap: wrap; gap: 10px; }
.lab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.3s var(--ease);
}
.lab-btn::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid var(--stone-soft);
  transition: all 0.3s var(--ease);
}
.lab-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.lab-btn[aria-pressed="true"] { background: var(--vermilion); border-color: var(--vermilion); color: #FFFFFF; }
.lab-btn[aria-pressed="true"]::before {
  border-color: #FFFFFF;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23D84A27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.lab-btn--reset::before { content: none; }
.lab-btn--reset { border-style: dashed; color: var(--stone); }
.lab-actions p { font-size: 12.5px; color: var(--stone-soft); }

.inspector { display: grid; }
.field {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  align-items: baseline;
  transition: background-color 0.5s var(--ease);
}
.field:last-child { border-bottom: 0; }
.field dt { color: var(--stone); font-weight: 600; }
.field dd { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.field.is-tampered { background: #FCEFEA; }
.field.is-tampered dd { color: var(--vermilion-deep); }
.field.is-tampered dd::after { content: "  ← changed after signing"; font-family: var(--sans); font-weight: 700; font-size: 11.5px; }
.field .was { text-decoration: line-through; color: var(--stone-soft); margin-right: 8px; }
.field--group { background: var(--paper); }
.field--group dt { grid-column: 1 / -1; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-soft); }

.policy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.policy span:first-child { color: var(--stone); font-weight: 600; }

.raw summary { cursor: pointer; padding: 14px 22px; font-size: 13px; font-weight: 700; border-top: 1px solid var(--line); list-style: none; }
.raw summary::-webkit-details-marker { display: none; }
.raw summary::before { content: "+ "; font-family: var(--mono); color: var(--stone-soft); }
.raw[open] summary::before { content: "– "; }
.raw pre {
  margin: 0;
  padding: 18px 22px;
  max-height: 360px;
  overflow: auto;
  background: var(--obsidian);
  color: var(--bone-soft);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
}

.cli-block { display: grid; gap: 18px; }
.cli-block .cmd { padding: 20px 20px 20px 24px; border-radius: var(--radius-m); background: var(--obsidian-raised); border: 1px solid var(--line); font-size: 13px; }

/* 18 — Motion ------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 3px var(--emerald-wash); } 50% { box-shadow: 0 0 0 7px transparent; } }
@keyframes halo { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.32); } }
@keyframes hold-march { to { stroke-dashoffset: -9; } }
@keyframes observe-flow { to { stroke-dashoffset: -0.1; } }
@keyframes dash-flow { to { stroke-dashoffset: -14; } }
@keyframes tick { 0% { transform: translateY(8px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes bar-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.6); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px); } 60% { transform: translateX(3px); } }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav a { padding-inline: 9px; font-size: 14px; }
  .header-actions .btn--line span { display: none; }
  .header-actions .btn--line { padding: 0; width: 42px; }
}

@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy .display { max-width: 14em; }
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 90% 50% at 50% 75%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 90% 50% at 50% 75%, #000 0%, transparent 72%); }
  .stage { max-width: 720px; }
  .section-head--split { grid-template-columns: 1fr; }
  .pillar, .pillar--flip { grid-template-columns: 1fr; }
  .pillar--flip .pillar__copy { order: 0; }
  .path { grid-template-columns: 56px minmax(0, 1fr); }
  .path__body, .path__cta { grid-column: 2; }
  .path__cta { justify-self: start; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .page-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .lab { grid-template-columns: 1fr; }
  .region { grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr); }
  .region__card { grid-column: 1 / -1; }
  .steps15 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .steps15 li:nth-child(3) { padding-left: 0; border-left: 0; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-header__row { height: 64px; gap: 12px; }
  .nav, .header-actions { display: none; }
  .site-header.is-open { background: var(--paper); border-bottom-color: var(--line); }
  .site-header.is-open .mobile-sheet { display: grid; }
  .mobile-sheet {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    height: calc(100dvh - 64px);
    overflow-y: auto;
    background: var(--paper);
    padding: 12px var(--gutter) 32px;
    align-content: start;
    gap: 0;
    animation: sheet-in 0.5s var(--ease);
  }
  .mobile-sheet a.m-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
  }
  .mobile-sheet a.m-link::after { content: "→"; font-family: var(--serif); color: var(--stone-soft); }
  .mobile-sheet .m-actions { display: grid; gap: 10px; margin-top: 28px; }
  .mobile-sheet .btn { min-height: 54px; font-size: 16px; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before, .timeline::after { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline::after { background: linear-gradient(to bottom, var(--bone) 0%, var(--bone) 55%, var(--vermilion) 100%); transform: scaleY(0); transform-origin: top; }
  .timeline.is-in::after { transform: scaleY(1); }
  .t-step { padding: 0 0 48px 44px; }
  .t-step:last-of-type { padding-bottom: 0; }
  .t-step::before { top: 10px; }
  .t-step p { max-width: 48ch; }
  .duo { grid-template-columns: 1fr; }
  .ledger__row { grid-template-columns: 1fr; gap: 14px; }
  .otp { grid-template-columns: 1fr; }
  .otp__arrow { justify-self: center; transform: rotate(90deg); }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

  /* matrix becomes stacked cards */
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; width: 100%; }
  .matrix tbody tr { padding: 22px 20px; }
  .matrix tbody tr + tr { border-top: 1px solid var(--line); }
  .matrix tbody tr + tr > * { border-top: 0; }
  .matrix tbody th, .matrix td { padding: 0; width: 100%; }
  .matrix td { margin-top: 14px; }
  .matrix td::before {
    content: attr(data-col);
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone-soft);
  }
  .matrix .matrix__us { background: transparent !important; }
}
@media (min-width: 921px) { .mobile-sheet { display: none; } }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__proof { grid-template-columns: 1fr 1fr 1fr; }
  .hero__proof div { padding-right: 10px; }
  .hero__proof div + div { padding-left: 12px; }
  .hero__proof dt { font-size: 1.5rem; }
  .hero__proof dd { font-size: 11.5px; }
  .stage { border-radius: 18px; }
  .stage__bar { padding: 12px 14px; }
  .pills { grid-template-columns: 1fr 1fr; padding: 10px 10px 0; }
  .pipe { padding: 8px 6px 0; }
  .pipe-labels span { font-size: 10px; }
  .pipe-labels small { display: none; }
  .stage__readout { grid-template-columns: 1fr; }
  .events { min-height: 0; padding: 14px 14px 12px; }
  .events li { font-size: 12.5px; }
  .metrics { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid var(--line); }
  .metric { grid-template-columns: 1fr; gap: 4px; padding: 12px; align-content: start; }
  .metric + .metric { border-top: 0; border-left: 1px solid var(--line); }
  .metric__value { text-align: left; font-size: 2rem; order: -1; }
  .metric__label { font-size: 11px; }
  .verdict { padding: 12px 14px; gap: 10px; }
  .verdict__replay { padding: 7px 10px; }
  .path { grid-template-columns: 1fr; gap: 16px; }
  .path__body, .path__cta { grid-column: 1; }
  .path__num { font-size: 2.2rem; }
  .region { grid-template-columns: 1fr; }
  .steps15 { grid-template-columns: 1fr; }
  .steps15 li, .steps15 li + li { padding-left: 0; border-left: 0; }
  .checks { grid-template-columns: 1fr; }
  .check:nth-child(odd) { border-right: 0; }
  .field { grid-template-columns: 1fr; gap: 2px; }
  .sov__core { grid-template-columns: 1fr; }
  .sov__plus { justify-self: center; line-height: 0.6; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .faq details p { padding-right: 0; }
  .closing__ctas .btn { flex: 1 1 100%; }
  .lab-btn { flex: 1 1 100%; }
  .policy { flex-wrap: wrap; }
  .policy .chip { white-space: normal; }
}

@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero__ctas, .closing { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .band--dark { background: #fff; color: #000; }
}
