/* ============================================================
   THE 2026 BROKER STACK · "THE INSTRUMENT" REPORT STYLES
   Engineering-dossier re-skin. Drafting field, registration
   layer, dimension lines, plotted figures. Tokens mirror the
   locked brand palette. No new hues.
   ============================================================ */
:root {
  --bg: #050505;
  --bg-1: #0a0a0a;
  --bg-2: #0f0f10;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --text-dim: #a1a1aa;
  --text-mute: #8a8a93;
  --accent: #06f05a;
  --accent-dim: #06f05a22;
  --accent-glow: #06f05a55;
  --cyan: #7de3ff;

  /* drafting field (marketing tier: 72px cells, majors every 5) */
  --grid-cell: 72px;
  --grid-line: rgba(255, 255, 255, 0.03);
  --grid-major: rgba(255, 255, 255, 0.055);

  --display: 'Inter Tight', system-ui, -apple-system, Segoe UI, sans-serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  --container: 1100px;
  --pad-x: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: #000; }

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

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
}

/* ============================================================
   TYPOGRAPHY BASE
   ============================================================ */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--text);
}

p.lead {
  font-family: var(--body);
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 64ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* registration-cross prefix: drawn annotation, not a status pill */
.eyebrow::before {
  content: "+";
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  color: var(--text-mute);
  transform: translateY(-0.5px);
}

/* ============================================================
   SECTION INDEX · plotted coordinate
   Small mono index inside a drawn crosshair box + flat mono
   label. Replaces the retired giant ghost folio numeral.
   ============================================================ */
.bs-kick {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.bs-kick-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--accent);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}
/* crosshair ticks extending from the box edges */
.bs-kick-num::before,
.bs-kick-num::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.bs-kick-num::before {
  /* vertical tick pair */
  top: -7px; bottom: -7px; left: 50%;
  width: 1px;
  background:
    linear-gradient(to bottom,
      var(--line-2) 0 6px, transparent 6px calc(100% - 6px),
      var(--line-2) calc(100% - 6px) 100%);
}
.bs-kick-num::after {
  /* horizontal tick pair */
  left: -7px; right: -7px; top: 50%;
  height: 1px;
  background:
    linear-gradient(to right,
      var(--line-2) 0 6px, transparent 6px calc(100% - 6px),
      var(--line-2) calc(100% - 6px) 100%);
}
.bs-kick-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ============================================================
   CALIBRATION PLATE · static full-width display break
   Ghost-outline setup line over a solid payoff line, framed by
   hairlines and a mono plate label. Replaces the retired
   editorial marquee. No motion beyond the standard reveal.
   ============================================================ */
.bs-plate {
  position: relative;
  width: 100%;
  padding: clamp(40px, 5.5vw, 80px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.bs-plate-cap {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.bs-plate-line {
  display: block;
  font-family: var(--display);
  letter-spacing: -.035em;
  line-height: 1.02;
}
.bs-plate-line--ghost {
  font-weight: 900;
  font-size: clamp(34px, 6.4vw, 88px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 244, 245, .14);
}
.bs-plate-line--live {
  font-weight: 900;
  font-size: clamp(34px, 6.4vw, 88px);
  color: var(--text);
  margin-top: .08em;
}
.bs-plate-line--live .is-accent { color: var(--accent); }

/* ============================================================
   BENTO — The Actual Stack tool grid
   Promotes the existing --primary (reasoning layer) card to a
   dominant cell that spans both columns at the top of the grid.
   ============================================================ */
.stack-grid .stack-card--primary {
  grid-column: 1 / -1;
}
@media (min-width: 761px) {
  .stack-grid .stack-card--primary .stack-card-title {
    font-size: clamp(22px, 2vw, 28px);
  }
}

/* ============================================================
   KINETIC — section index + label reveal on scroll
   ============================================================ */
.bs-kick .bs-kick-num {
  opacity: 0;
  transform: rotate(-90deg) scale(.85);
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-expo);
}
.bs-kick .bs-kick-label {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .7s var(--ease-out) .18s, transform .7s var(--ease-expo) .18s;
}
.reveal.in .bs-kick-num,
.bs-kick.reveal.in .bs-kick-num,
.bs-kick.in .bs-kick-num { opacity: 1; transform: none; }
.reveal.in .bs-kick-label,
.bs-kick.reveal.in .bs-kick-label,
.bs-kick.in .bs-kick-label { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .bs-kick-num,
  .bs-kick-label { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   NAV (matches public/index.html)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s var(--ease-out), border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav-logo img { height: 56px; width: auto; display: block; }
@media (max-width: 640px) { .nav-logo img { height: 32px; } }

.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-socials { display: flex; gap: 14px; align-items: center; }
.nav-socials a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  display: inline-flex;
}
.nav-socials a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .nav-socials { gap: 10px; }
  .nav-socials a svg { width: 18px; height: 18px; }
}

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 6px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, box-shadow 0.3s, border-color 0.2s;
  will-change: transform;
}
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   DRAFTING FIELD · site-wide background
   Blueprint grid (1px hairlines, majors every 5 cells), grain
   via SVG feTurbulence, and a soft radial vignette for depth.
   ============================================================ */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right,  var(--grid-major) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-major) 1px, transparent 1px),
    linear-gradient(to right,  var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size:
    calc(var(--grid-cell) * 5) calc(var(--grid-cell) * 5),
    calc(var(--grid-cell) * 5) calc(var(--grid-cell) * 5),
    var(--grid-cell) var(--grid-cell),
    var(--grid-cell) var(--grid-cell);
}
/* grain */
.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
/* vignette */
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(80% 60% at 50% 110%, rgba(0, 0, 0, 0.5), transparent 70%);
}

/* ============================================================
   REVEAL — generic utility
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-expo); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ============================================================
   KINETIC HEADLINE — word-by-word reveal
   Same JS contract as public/index.html (data-kinetic + .k-word)
   ============================================================ */
.kinetic .k-word {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.9s var(--ease-expo), opacity 0.6s var(--ease-out);
}
.kinetic.in .k-word { transform: translateY(0); opacity: 1; }

/* ============================================================
   MANIFESTO — page hero
   ============================================================ */
.manifesto {
  padding-top: clamp(140px, 18vw, 200px);
  padding-bottom: clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.manifesto-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 38% at 32% 18%, rgba(6, 240, 90, 0.055), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(0,0,0,0.6), transparent 70%);
}
.manifesto .eyebrow { margin-bottom: 28px; }

.manifesto-headline {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 104px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--text);
  max-width: 18ch;
  margin-bottom: clamp(28px, 3vw, 40px);
  /* font-weight is applied per-clause via .m-line-a / .m-line-b below */
}

/* Manifesto kinetic typography — hand-authored, not the generic .kinetic JS path.
   Each word gets its own inline-block overflow mask so wrapping is safe. */
.manifesto-headline .m-line { display: block; }
.manifesto-headline .m-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
}
.manifesto-headline .m-word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.95s var(--ease-expo), opacity 0.7s var(--ease-out);
  will-change: transform, opacity;
}
.manifesto-headline.in .m-word {
  transform: translateY(0);
  opacity: 1;
}

/* Weight contrast — the lighter clause sets up, the heavier clause lands. */
.manifesto-headline .m-line-a .m-word { font-weight: 500; }
.manifesto-headline .m-line-b .m-word { font-weight: 900; }

.manifesto-sub {
  font-family: var(--body);
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 56ch;
}

/* ============================================================
   PROSE BLOCKS — body copy with reveal-on-scroll
   ============================================================ */
.prose {
  padding: clamp(48px, 7vw, 96px) 0;
}
.prose .wrap > * + * { margin-top: clamp(22px, 2.4vw, 32px); }
.prose .lead-strong {
  color: var(--text);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  max-width: 32ch;
}

/* "Three shifts" cap line — declarative payoff for the prose block */
.prose-cap {
  margin-top: clamp(36px, 4vw, 56px) !important;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  font-size: clamp(19px, 1.6vw, 24px);
  color: var(--text);
  line-height: 1.4;
  max-width: 48ch;
}

/* ============================================================
   DIVIDER — thin rule between blocks
   ============================================================ */
.rule {
  border: 0;
  height: 1px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  background: var(--line);
}

/* ============================================================
   SECTION-PREVIEW LIST (numbered 1–6, no interactivity)
   ============================================================ */
.contents-intro {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: clamp(28px, 3vw, 40px);
}

.section-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.section-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: baseline;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(22px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-list .num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  align-self: start;
  padding-top: 6px;
}
.section-list .body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-list .title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--text);
}
.section-list .desc {
  font-family: var(--body);
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 60ch;
}

/* Per-row stagger when the parent list reveals */
.section-list.in li {
  animation: rowIn 0.7s var(--ease-expo) both;
}
.section-list.in li:nth-child(1) { animation-delay: 0.05s; }
.section-list.in li:nth-child(2) { animation-delay: 0.12s; }
.section-list.in li:nth-child(3) { animation-delay: 0.19s; }
.section-list.in li:nth-child(4) { animation-delay: 0.26s; }
.section-list.in li:nth-child(5) { animation-delay: 0.33s; }
.section-list.in li:nth-child(6) { animation-delay: 0.40s; }

@keyframes rowIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .section-list li { grid-template-columns: 48px 1fr; gap: 14px; }
  .section-list .num { padding-top: 4px; font-size: 12px; }
}

/* ============================================================
   CLOSING KICKER
   ============================================================ */
.closing { padding: clamp(72px, 10vw, 120px) 0; }
.kicker {
  padding: 22px 28px;
  border-left: 2px solid var(--accent);
  font-size: clamp(18px, 1.7vw, 24px);
  color: var(--text);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 44ch;
}

/* ============================================================
   FOOTER (matches public/index.html)
   ============================================================ */
footer {
  padding: 36px var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
footer .f-socials { display: flex; gap: 12px; align-items: center; }
footer .f-socials a {
  color: var(--text-mute);
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
footer .f-socials a:hover { color: var(--accent); border-color: var(--accent); }
footer a { color: inherit; }
footer a:hover { color: var(--text); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .kinetic .k-word,
  .manifesto-headline .m-word,
  .section-list.in li {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   SMALL SCREENS
   ============================================================ */
@media (max-width: 520px) {
  .nav { padding: 14px 20px; }
  .manifesto-headline { max-width: none; }
  .kicker { padding: 18px 22px; }
}

/* ============================================================
   ============================================================
   SECTION 1 — THE LENDER MAP
   ============================================================
   ============================================================ */

/* ---------- Section 1 hero ---------- */
.s1-hero { padding: clamp(80px, 10vw, 128px) 0 clamp(40px, 5vw, 64px); }
.s1-hero .eyebrow { margin-bottom: 24px; }
.s1-headline {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 88px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 14ch;
  margin-bottom: clamp(20px, 2vw, 28px);
}
.s1-sub {
  font-family: var(--body);
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 56ch;
}

.s1-h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: clamp(14px, 1.5vw, 20px);
  max-width: 22ch;
}
.s1-lead {
  font-family: var(--body);
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 64ch;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.s1-section { padding: clamp(56px, 7vw, 96px) 0; }
.s1-section .eyebrow { margin-bottom: 18px; }

/* ---------- Buy Box Matcher ---------- */
.bbm-section { padding: clamp(48px, 6vw, 88px) 0; }
.bbm {
  margin-top: clamp(28px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .bbm { grid-template-columns: 1fr; gap: 14px; }
}

.bbm-panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.012) 100%),
    var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px);
  isolation: isolate;
}
.bbm-panel::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(120% 60% at 50% -10%, rgba(6,240,90,0.07), transparent 60%);
}

.bbm-panel-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.bbm-panel-eyebrow::before { content: none; }
.bbm-panel-eyebrow { gap: 0; }
.bbm-panel-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 1.7vw, 24px);
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 22px;
}

.bbm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-bottom: 22px;
}
@media (max-width: 560px) { .bbm-grid { grid-template-columns: 1fr; gap: 12px; } }

.bbm-field { display: flex; flex-direction: column; gap: 7px; }
.bbm-field.full { grid-column: 1 / -1; }
.bbm-field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.bbm-input,
.bbm-select {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  width: 100%;
  height: 44px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.18s var(--ease-out), background 0.18s, box-shadow 0.18s;
}
.bbm-input:focus,
.bbm-select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 3px rgba(6,240,90,0.12);
}
.bbm-input::placeholder { color: var(--text-mute); }
.bbm-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23a1a1aa' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
  /* Force dark UA option chrome on Chromium/Edge/Firefox */
  color-scheme: dark;
}
/* Native option list — dark across browsers.
   Chrome/Edge/Firefox respect background+color on <option>; Safari is more limited
   but color-scheme: dark above gets us most of the way there. */
.bbm-select option {
  background-color: #0a0a0a;
  color: #f4f4f5;
  font-family: var(--body);
  padding: 6px 8px;
}
.bbm-select option:checked,
.bbm-select option:hover,
.bbm-select option:focus {
  background-color: rgba(6, 240, 90, 0.18);
  color: #f4f4f5;
}
.bbm-select option:disabled {
  color: var(--text-mute);
}
.bbm-input-prefix {
  position: relative;
}
.bbm-input-prefix .prefix {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--body);
  font-size: 15px;
  color: var(--text-mute);
  pointer-events: none;
}
.bbm-input-prefix input { padding-left: 26px; }

.bbm-submit {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 6px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  background: var(--accent);
  color: #001b08;
  border: 1px solid var(--accent);
  transition: transform 0.2s var(--ease-out), background 0.2s, box-shadow 0.3s;
  will-change: transform;
}
.bbm-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(6,240,90,0.22); }
.bbm-submit:active { transform: translateY(0); }
.bbm-submit .arrow { transition: transform 0.25s var(--ease-out); }
.bbm-submit:hover .arrow { transform: translateX(3px); }

/* Result panel */
.bbm-result {
  position: relative;
  background:
    linear-gradient(180deg, rgba(6,240,90,0.04) 0%, rgba(6,240,90,0.012) 60%, rgba(255,255,255,0.012) 100%),
    var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
}

.bbm-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--body);
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.5;
  min-height: 280px;
  padding: 24px;
}
/* empty-state reticle: drawn crosshair, no glowing dot */
.bbm-empty .empty-glyph {
  display: block;
  width: 28px; height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
}
.bbm-empty .empty-glyph::before,
.bbm-empty .empty-glyph::after {
  content: "";
  position: absolute;
  background: var(--line-2);
}
.bbm-empty .empty-glyph::before {
  left: 50%; top: -5px; bottom: -5px; width: 1px;
}
.bbm-empty .empty-glyph::after {
  top: 50%; left: -5px; right: -5px; height: 1px;
}

.bbm-result-inner { animation: bbmIn 0.5s var(--ease-expo) both; }
@keyframes bbmIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.bbm-result-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.bbm-result-head .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.bbm-result-head .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}

.bbm-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bbm-list-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.bbm-list-title.fits { color: var(--accent); }

.bbm-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.018);
}
.bbm-row.fit { border-color: rgba(6,240,90,0.28); }
.bbm-row .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.bbm-row.fit .tag.primary { background: var(--accent); color: #001b08; }
.bbm-row.fit .tag.backup { background: rgba(6,240,90,0.14); color: var(--accent); border: 1px solid rgba(6,240,90,0.3); }
.bbm-row.skip .tag { background: rgba(255,255,255,0.04); color: var(--text-mute); border: 1px solid var(--line); }
.bbm-row .body .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: var(--text);
  display: block;
  margin-bottom: 3px;
}
.bbm-row .body .reason {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.bbm-section-gap { height: 18px; }

.bbm-commission {
  margin-top: 20px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.bbm-commission .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.bbm-commission .amt {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.015em;
  color: var(--text);
}
.bbm-commission .ctx {
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-dim);
}
.bbm-commission .note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed rgba(6,240,90,0.3);
}

.bbm-posthook {
  margin-top: clamp(28px, 3vw, 40px);
  padding: 22px 28px;
  border-left: 2px solid var(--accent);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 1.4vw, 21px);
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text);
  max-width: 56ch;
}

/* ---------- Lender category cards (8 expandable) ---------- */
.cards-intro {
  font-family: var(--body);
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 64ch;
  margin-bottom: clamp(28px, 3vw, 40px);
}

.lender-cards { display: flex; flex-direction: column; gap: 12px; }

.lender-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.018);
  transition: border-color 0.2s var(--ease-out), background 0.2s;
  overflow: hidden;
}
.lender-card:hover { border-color: var(--line-2); }
.lender-card.is-open { border-color: rgba(6,240,90,0.32); background: rgba(6,240,90,0.022); }

.lender-card-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  text-align: left;
  cursor: pointer;
  background: transparent;
}
.lender-card-head:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); border-radius: var(--r-md); }

.lender-card-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  width: 28px;
}
.lender-card-titlewrap {
  display: flex; flex-direction: column; gap: 4px;
}
.lender-card-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--text);
}
.lender-card-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.lender-card-meta span + span::before {
  content: "·";
  margin: 0 8px;
  color: var(--line-2);
}
.lender-card-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-mute);
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 0.35s var(--ease-out), color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  background: rgba(255,255,255,0.02);
}
.lender-card-chevron svg { display: block; }
.lender-card.is-open .lender-card-chevron {
  transform: rotate(180deg);
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(6, 240, 90, 0.08);
}

.lender-card-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-expo);
}
.lender-card.is-open .lender-card-body { grid-template-rows: 1fr; }
.lender-card-body-inner {
  overflow: hidden;
  min-height: 0;
}
.lender-card-body-pad {
  padding: 0 22px 26px;
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding-top: 22px;
}

.lender-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
@media (max-width: 720px) { .lender-detail { grid-template-columns: 1fr; gap: 16px; } }

.lender-detail h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.lender-detail p, .lender-detail li {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.lender-detail ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.lender-detail ul li {
  position: relative; padding-left: 14px;
}
.lender-detail ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-mute);
}
.lender-detail .full { grid-column: 1 / -1; }
.lender-detail .buybox {
  border: 1px solid rgba(6,240,90,0.22);
  background: rgba(6,240,90,0.04);
  border-radius: var(--r-sm);
  padding: 14px 16px;
}
.lender-detail .buybox h4 { color: var(--accent); }
.lender-detail .red-flags { /* same width as full */ }

/* ---------- Restricted industries callout ---------- */
.restricted {
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.6vw, 32px);
  background: rgba(255,255,255,0.018);
  position: relative;
}
.restricted .eyebrow { margin-bottom: 14px; }
.restricted h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.restricted p {
  font-family: var(--body);
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 64ch;
  margin-bottom: 22px;
}
.restricted-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 18px;
  counter-reset: rl;
}
@media (max-width: 720px) { .restricted-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .restricted-list { grid-template-columns: 1fr; } }
.restricted-list li {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  padding: 8px 0 8px 28px;
  border-top: 1px solid var(--line);
  position: relative;
  counter-increment: rl;
}
.restricted-list li::before {
  content: counter(rl, decimal-leading-zero);
  position: absolute;
  left: 0; top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.restricted-footnote {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  max-width: 64ch;
}

/* ---------- Worked example stepper ---------- */
.worked-deal {
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.6vw, 32px);
  background: rgba(255,255,255,0.018);
  margin-bottom: clamp(28px, 3vw, 40px);
}
.worked-deal h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.worked-deal p {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 64ch;
}

.worked-steps {
  list-style: none;
  display: flex; flex-direction: column;
  position: relative;
}
.worked-steps::before {
  content: "";
  position: absolute;
  left: 19px; top: 16px; bottom: 16px;
  width: 1px;
  background: var(--line);
}
.worked-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}
.worked-step .step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
}
.worked-step.is-final .step-num { border-color: var(--accent); color: var(--accent); background: var(--bg-1); box-shadow: 0 0 0 4px rgba(6,240,90,0.08); }
.worked-step .q {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(16px, 1.3vw, 19px);
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 6px;
}
.worked-step .a {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 8px;
}
.worked-step .a strong { color: var(--text); font-weight: 500; }

.worked-verdict {
  margin-top: clamp(28px, 3vw, 40px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px) { .worked-verdict { grid-template-columns: 1fr; } }
.verdict-card {
  border-radius: var(--r-md);
  padding: 20px 22px;
  border: 1px solid var(--line);
}
.verdict-card.primary { border-color: rgba(6,240,90,0.32); background: rgba(6,240,90,0.04); }
.verdict-card .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.verdict-card.primary .tag { color: var(--accent); }
.verdict-card h5 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 8px;
}
.verdict-card p {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

.worked-skips {
  margin-top: clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.worked-skip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.018);
}
.worked-skip .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  color: var(--text-mute);
  border: 1px solid var(--line);
  height: fit-content;
  white-space: nowrap;
}
.worked-skip .body strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  display: block;
  margin-bottom: 3px;
}
.worked-skip .body p {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.worked-payoff {
  margin-top: clamp(28px, 3vw, 40px);
  padding: 22px 28px;
  border-left: 2px solid var(--accent);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 1.4vw, 21px);
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text);
  max-width: 56ch;
}

/* ---------- 60-second method ---------- */
.method-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.method-q {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(22px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 560px) { .method-q { grid-template-columns: 44px 1fr; gap: 14px; } }
.method-q .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}
.method-q .q {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: -0.018em;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
}
.method-q ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 8px;
}
.method-q ul li {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}
.method-q ul li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}
.method-q ul li strong {
  color: var(--text);
  font-weight: 500;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 6px;
}

.method-coda {
  margin-top: clamp(28px, 3vw, 40px);
  font-family: var(--body);
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 64ch;
}

/* ---------- Confidentiality sidebar ---------- */
.confidentiality {
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--text-mute);
  border-radius: var(--r-sm);
  padding: 22px 26px;
  background: rgba(255,255,255,0.018);
  max-width: 64ch;
}
.confidentiality .eyebrow { margin-bottom: 12px; }
.confidentiality h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.5vw, 22px);
  letter-spacing: -0.018em;
  margin-bottom: 12px;
}
.confidentiality p {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.confidentiality p + p { margin-top: 10px; }

/* ---------- Sources / inline citations ---------- */
.cite {
  font-family: var(--mono);
  font-size: 0.78em;
  color: var(--accent);
  text-decoration: none;
  padding: 0 1px;
  vertical-align: super;
  line-height: 1;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
.cite:hover { border-bottom-color: var(--accent); }
.cite:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.sources {
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 3vw, 40px);
}
.sources .eyebrow { margin-bottom: 18px; }
.sources h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: clamp(20px, 2vw, 28px);
}

/* Collapsible Sources container */
.sources-collapsible {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.018);
  margin-top: clamp(18px, 2vw, 24px);
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), background 0.2s;
}
.sources-collapsible:hover { border-color: var(--line-2); }
.sources-collapsible.is-open { border-color: var(--line-2); background: rgba(255,255,255,0.018); }

.sources-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 18px 22px;
  text-align: left;
  cursor: pointer;
  background: transparent;
}
.sources-toggle:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); border-radius: var(--r-md); }

.sources-toggle-label {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.sources-collapsible.is-open .sources-toggle-label { color: var(--text-dim); }
.sources-toggle-count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}
.sources-collapsible.is-open .sources-toggle-count { color: var(--text-dim); }

.sources-toggle-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-mute);
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 0.35s var(--ease-out), color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.sources-toggle-chevron svg { display: block; }
.sources-collapsible.is-open .sources-toggle-chevron {
  transform: rotate(180deg);
  color: var(--text-dim);
  border-color: var(--line-2);
  background: rgba(255,255,255,0.03);
}

.sources-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-expo);
}
.sources-collapsible.is-open .sources-body { grid-template-rows: 1fr; }
.sources-body-inner { overflow: hidden; min-height: 0; }
.sources-body-pad {
  padding: 6px 22px 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.sources-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  counter-reset: src;
}
@media (max-width: 720px) { .sources-list { grid-template-columns: 1fr; } }
.sources-list li {
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  padding: 8px 0 8px 38px;
  position: relative;
  counter-increment: src;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
  transition: background 0.6s var(--ease-out);
}
.sources-list li::before {
  content: "[" counter(src) "]";
  position: absolute;
  left: 0; top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.sources-list li.cite-flash { background: rgba(6,240,90,0.06); }
.sources-list li a {
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  transition: color 0.18s, border-color 0.18s;
}
.sources-list li a:hover { color: var(--accent); border-color: var(--accent); }

/* Reduce motion: disable BBM result entry, card body slide */
@media (prefers-reduced-motion: reduce) {
  .bbm-result-inner { animation: none !important; }
  .lender-card-body { transition: none !important; }
}

/* ============================================================
   ============================================================
   SECTION 4 — THE AI STACK
   ============================================================
   ============================================================ */

/* ---------- Workflow Visualizer ---------- */
.wfv-section { padding: clamp(48px, 6vw, 88px) 0; }

.wfv {
  margin-top: clamp(28px, 3vw, 40px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.012) 100%),
    var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 32px);
  position: relative;
  isolation: isolate;
}
.wfv::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(120% 60% at 50% -10%, rgba(6,240,90,0.07), transparent 60%);
}

.wfv-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.018);
  margin-bottom: clamp(24px, 3vw, 36px);
}
.wfv-tab {
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--text-mute);
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.wfv-tab:hover { color: var(--text); }
.wfv-tab.is-active {
  color: #001b08;
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(6,240,90,0.22);
}
@media (max-width: 480px) {
  .wfv-tabs { display: flex; width: 100%; }
  .wfv-tab { flex: 1; padding: 8px 10px; font-size: 12px; }
}

.wfv-stages { position: relative; }
.wfv-stage { display: none; animation: wfvFade 0.4s var(--ease-out) both; }
.wfv-stage.is-active { display: block; }
@keyframes wfvFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.wfv-lane {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 18px 22px;
  background: rgba(255,255,255,0.012);
}
.wfv-lane + .wfv-lane { margin-top: 0; }
.wfv-lane--old { border-color: rgba(250, 204, 21, 0.18); }
.wfv-lane--ai { border-color: rgba(6, 240, 90, 0.22); }

.wfv-lane-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.wfv-lane-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
}
/* square plotted marker, not a glowing status dot */
.wfv-lane-tag::before {
  content: "";
  width: 6px; height: 6px; border-radius: 0;
  border: 1px solid var(--text-mute);
  background: transparent;
  transition: background 0.3s, border-color 0.3s;
}
.wfv-lane--old .wfv-lane-tag::before { border-color: rgb(250, 204, 21); background: rgba(250, 204, 21, 0.35); }
.wfv-lane--ai .wfv-lane-tag::before { border-color: var(--accent); background: rgba(6, 240, 90, 0.35); }
.wfv-lane-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.wfv-lane--old .wfv-lane-time { color: rgb(250, 204, 21); }
.wfv-lane--ai .wfv-lane-time { color: var(--accent); }

.wfv-flow {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 8px;
}
.wfv-node {
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-dim);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255,255,255,0.02);
  white-space: nowrap;
  opacity: 0.45;
  transform: translateY(2px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.wfv-node--terminal { font-weight: 500; }
.wfv-arrow {
  width: 14px; height: 1px;
  background: var(--line-2);
  position: relative;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s var(--ease-out), background 0.3s;
}
.wfv-arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: -2px;
  border: 3px solid transparent;
  border-left-color: var(--line-2);
  transition: border-left-color 0.3s;
}

/* On state — old (amber) */
.wfv-lane--old .wfv-node.is-on {
  opacity: 1;
  transform: none;
  color: rgb(250, 204, 21);
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(250, 204, 21, 0.06);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.16), 0 4px 14px rgba(250, 204, 21, 0.06);
}
.wfv-lane--old .wfv-arrow.is-on {
  opacity: 1;
  background: rgba(250, 204, 21, 0.5);
}
.wfv-lane--old .wfv-arrow.is-on::after { border-left-color: rgba(250, 204, 21, 0.7); }

/* On state — ai (accent) */
.wfv-lane--ai .wfv-node.is-on {
  opacity: 1;
  transform: none;
  color: var(--text);
  border-color: rgba(6, 240, 90, 0.5);
  background: rgba(6, 240, 90, 0.08);
  box-shadow: 0 0 0 1px rgba(6, 240, 90, 0.22), 0 6px 18px rgba(6, 240, 90, 0.08);
}
.wfv-lane--ai .wfv-node--terminal.is-on {
  background: rgba(6, 240, 90, 0.18);
  border-color: var(--accent);
  color: var(--accent);
}
.wfv-lane--ai .wfv-arrow.is-on {
  opacity: 1;
  background: var(--accent);
}
.wfv-lane--ai .wfv-arrow.is-on::after { border-left-color: var(--accent); }

/* delta readout styled as a dimension line: hairline with
   perpendicular end caps measuring the old lane against the AI lane */
.wfv-delta {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  margin: 22px 0;
  padding: 12px 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  flex-wrap: wrap;
}
.wfv-delta::before,
.wfv-delta::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(16px, 6vw, 72px);
  height: 9px;
  transform: translateY(-50%);
  border-top: 1px solid var(--line-2);
  margin-top: 4px;
}
.wfv-delta::before { left: 0;  border-left: 1px solid var(--line-2); }
.wfv-delta::after  { right: 0; border-right: 1px solid var(--line-2); }
.wfv-delta-from { color: rgb(250, 204, 21); font-variant-numeric: tabular-nums; }
.wfv-delta-arrow { color: var(--text-mute); }
.wfv-delta-to {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  text-shadow: 0 0 12px rgba(6, 240, 90, 0.35);
}
.wfv-delta-label { color: var(--text-mute); text-transform: uppercase; font-size: 11px; }

@media (max-width: 720px) {
  .wfv-flow { gap: 8px 6px; }
  .wfv-node { font-size: 12px; padding: 7px 11px; }
  .wfv-arrow { width: 10px; }
}

/* ---------- Workflow blocks (1, 2, 3) ---------- */
.wf-block { padding: clamp(56px, 7vw, 96px) 0; }
.wf-block .s1-h2 { margin-bottom: clamp(22px, 2.4vw, 32px); }

.wf-prose {
  display: flex; flex-direction: column;
  gap: clamp(22px, 2.4vw, 32px);
  margin-bottom: clamp(36px, 4vw, 56px);
  max-width: 78ch;
}
.wf-prose-block {
  display: flex; flex-direction: column; gap: 12px;
}
.wf-prose-block p {
  font-family: var(--body);
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-dim);
  line-height: 1.65;
}
.wf-prose-block p strong { color: var(--text); font-weight: 500; }

.wf-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
}
.wf-tag::before {
  content: "";
  width: 5px; height: 5px; border-radius: 0;
  border: 1px solid var(--text-mute);
  background: transparent;
}
.wf-tag--old {
  color: rgb(250, 204, 21);
  border-color: rgba(250, 204, 21, 0.28);
  background: rgba(250, 204, 21, 0.05);
}
.wf-tag--old::before { border-color: rgb(250, 204, 21); background: rgba(250, 204, 21, 0.35); }
.wf-tag--ai {
  color: var(--accent);
  border-color: rgba(6, 240, 90, 0.32);
  background: rgba(6, 240, 90, 0.06);
}
.wf-tag--ai::before { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }

.wf-stat-line {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  padding: 10px 14px;
  border-left: 2px solid var(--line-2);
  background: rgba(255,255,255,0.012);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.wf-stat-line .lbl { color: var(--text-mute); }
.wf-stat-line strong { color: var(--text); font-weight: 500; }
.wf-prose-block:has(.wf-tag--old) .wf-stat-line { border-left-color: rgba(250, 204, 21, 0.35); }
.wf-prose-block:has(.wf-tag--ai) .wf-stat-line { border-left-color: var(--accent); }

.wf-five-numbers {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(6, 240, 90, 0.22);
  background: rgba(6, 240, 90, 0.04);
  border-radius: var(--r-sm);
}
.wf-five-numbers li {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  position: relative; padding-left: 14px;
  line-height: 1.55;
}
.wf-five-numbers li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.wf-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 6px;
}
@media (max-width: 720px) {
  .wf-callouts { grid-template-columns: 1fr; }
}
.wf-callout {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.02);
}
.wf-callout-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.wf-callout p {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.wf-callout p strong { color: var(--text); font-weight: 500; }

/* ---------- Disclosure: Shows expandable + Doesn't muted ---------- */
.wf-disclosure {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 900px) {
  .wf-disclosure { grid-template-columns: 1fr; gap: 14px; }
}

.wf-shows-card .lender-card-num {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  width: auto;
  padding-right: 4px;
}
.wf-shows-card.is-open { border-color: rgba(6, 240, 90, 0.42); }

.wf-doesnt {
  padding: 18px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: transparent;
  align-self: stretch;
}
.wf-doesnt-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
  margin-bottom: 12px;
}
.wf-doesnt ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 14px;
}
.wf-doesnt ul li {
  position: relative; padding-left: 16px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.55;
}
.wf-doesnt ul li::before {
  content: "—";
  position: absolute; left: 0; top: 0;
  color: var(--text-mute);
  font-family: var(--mono);
}
.wf-doesnt-foot {
  font-family: var(--body);
  font-size: 12px;
  color: var(--text-mute);
  font-style: italic;
  line-height: 1.55;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* Redacted samples inside Shows cards */
.wf-sample {
  margin-top: 6px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 100%;
  overflow-x: auto;
}
.wf-sample code {
  font: inherit;
  color: inherit;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.wf-sample .k { color: var(--text-mute); }
.wf-sample .k.accent { color: var(--accent); }

.wf-drafts {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 6px;
}
.wf-draft {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.012);
}
.wf-draft-tag {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: none;
}
.wf-draft p {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.wf-sequence {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 6px;
  border-left: 2px solid rgba(6, 240, 90, 0.32);
  padding-left: 14px;
}
.wf-seq-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: baseline;
}
@media (max-width: 560px) {
  .wf-seq-row { grid-template-columns: 1fr; gap: 4px; }
}
.wf-seq-when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.wf-seq-what {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ---------- The Actual Stack — tool grid ---------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(28px, 3vw, 40px);
}
@media (max-width: 760px) { .stack-grid { grid-template-columns: 1fr; } }

.stack-card {
  position: relative;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.018);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.stack-card:hover { border-color: var(--line-2); }
.stack-card--primary {
  border-color: rgba(6, 240, 90, 0.32);
  background: rgba(6, 240, 90, 0.025);
}
.stack-card--primary:hover { border-color: rgba(6, 240, 90, 0.52); }

.stack-card-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.stack-card--primary .stack-card-eyebrow { color: var(--accent); }
.stack-card-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.5vw, 22px);
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--text);
}
.stack-card-body {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.stack-card-body strong { color: var(--text); font-weight: 500; }

.stack-card-meta {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(0,0,0,0.18);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}
.stack-card-meta li {
  display: flex; gap: 10px; align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.stack-card-meta .k {
  display: inline-block;
  min-width: 78px;
  color: var(--text-mute);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stack-card-rationale {
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.stack-card-rationale strong { color: var(--accent); font-weight: 500; }

.stack-not {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.012);
}
.stack-not-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
  margin-bottom: 12px;
}
.stack-not ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 14px;
}
.stack-not ul li {
  position: relative; padding-left: 16px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.stack-not ul li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--text-mute);
  font-family: var(--mono);
}
.stack-not-foot {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 19px);
  letter-spacing: -0.01em;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ---------- Copy this prompt block ---------- */
.prompt-link {
  color: var(--accent);
  border-bottom: 1px solid rgba(6, 240, 90, 0.4);
  transition: border-color 0.2s;
}
.prompt-link:hover { border-bottom-color: var(--accent); }

.prompt-block {
  position: relative;
  margin: clamp(20px, 2.4vw, 32px) 0 clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--bg);
  overflow: hidden;
}
.prompt-block-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.018);
}
.prompt-block-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}
.prompt-copy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-family: var(--body);
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.02);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.prompt-copy:hover { color: var(--accent); border-color: var(--accent); }
.prompt-copy.is-copied {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(6, 240, 90, 0.08);
}
.prompt-copy-icon { flex-shrink: 0; }

.prompt-pre {
  margin: 0;
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.prompt-pre code {
  font: inherit;
  color: inherit;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.prompt-toast {
  position: absolute;
  top: 14px;
  right: 14px;
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6, 240, 90, 0.1);
  border: 1px solid rgba(6, 240, 90, 0.4);
  border-radius: 6px;
  padding: 6px 12px;
  transition: opacity 0.25s, transform 0.25s;
}
.prompt-toast.is-on { opacity: 1; transform: translateY(0); }

/* ---------- Section 4 finale (closing graf + kicker) ---------- */
.s4-finale { padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.s4-finale .eyebrow { margin-bottom: 22px; }
.s4-finale .lead { max-width: 64ch; }
.s4-finale .kicker { margin-top: clamp(14px, 1.6vw, 22px); max-width: 56ch; }

/* ---------- Section 4: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .wfv-stage { animation: none !important; }
  .wfv-node, .wfv-arrow {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .prompt-toast { transition: none !important; }
}

/* ---------- Section 4 v2: hero tightener + orientation prefaces ---------- */

/* Hero now leads straight into the visualizer — tighten the bottom padding so
   the visualizer feels like the hero's payoff, not a separate section. */
.s4-hero-tight { padding-bottom: clamp(20px, 2.4vw, 32px); }
.s4-hero-tight + .wfv-section { padding-top: clamp(24px, 3vw, 40px); }

/* Plain-language orientation sentence — sits ahead of a technical block. */
.wf-orient {
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--text-mute);
  line-height: 1.55;
  padding: 8px 14px;
  border-left: 1px solid var(--line-2);
  background: transparent;
  margin-bottom: 4px;
}
.wf-orient em { font-style: italic; color: var(--text-mute); }

.stack-card-orient {
  font-family: var(--body);
  font-style: italic;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.55;
  padding: 8px 12px;
  border-left: 1px solid var(--line-2);
}
.stack-card-orient em { font-style: italic; color: var(--text-mute); }

/* ---------- Section 4: narrow-viewport sample-block tuning ----------
   Scoped to redacted samples + prompt code block. Lets long lines wrap
   cleanly on phone widths without horizontal cutoff, and shrinks fonts
   and padding ~1-2px so more content fits per line on a 375-390px screen. */
@media (max-width: 480px) {
  .wf-sample {
    font-size: 11.5px;
    padding: 12px 14px;
    line-height: 1.65;
  }
  .wf-draft { padding: 11px 12px; }
  .wf-draft p { font-size: 13px; }
  .wf-sequence { padding-left: 12px; }
  .wf-seq-what { font-size: 13px; }
  .prompt-pre {
    font-size: 12px;
    padding: 14px 16px;
    line-height: 1.65;
  }
}

/* ============================================================
   SECTION 2 — READING A DEAL IN 90 SECONDS
   ============================================================ */

/* ---------- 2.3 — 90-second scan framework (timeline) ---------- */
.scan-flow {
  list-style: none;
  display: flex; flex-direction: column;
  position: relative;
  margin-top: clamp(20px, 2.4vw, 28px);
}
.scan-flow::before {
  content: "";
  position: absolute;
  left: 19px; top: 16px; bottom: 16px;
  width: 1px;
  background: var(--line);
}
.scan-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 16px 0;
  position: relative;
}
.scan-step::before {
  content: "";
  position: absolute;
  left: 18px; top: 24px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-mute);
  z-index: 1;
}
.scan-step.is-final::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(6,240,90,0.10); }

.scan-step-time {
  width: 40px;
  display: flex; flex-direction: column; align-items: flex-start;
  padding-top: 1px;
}
.scan-step-time-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  white-space: nowrap;
}
.scan-step.is-final .scan-step-time-num { color: var(--accent); }
.scan-step-time-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
  display: none;
}
.scan-step-body { padding-left: 14px; }
.scan-step-action {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(16px, 1.3vw, 19px);
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 4px;
}
.scan-step-detail {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

.scan-coda {
  margin-top: clamp(28px, 3vw, 40px);
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.014);
}
.scan-coda p {
  font-family: var(--body);
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 64ch;
}
.scan-coda p + p, .scan-coda p + ol { margin-top: 14px; }
.scan-coda-reasons {
  list-style: decimal;
  padding-left: 22px;
}
.scan-coda-reasons li {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-top: 8px;
  max-width: 62ch;
}
.scan-coda-reasons li::marker { color: var(--text-mute); }
.scan-coda em { font-style: italic; color: var(--text); }

/* ---------- 2.4 — Stip checklist ---------- */
.stip-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin-top: clamp(20px, 2.4vw, 28px);
}
@media (max-width: 720px) { .stip-list { grid-template-columns: 1fr; } }

.stip-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.014);
  align-items: start;
}
.stip-check {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(6,240,90,0.14);
  border: 1px solid rgba(6,240,90,0.32);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.stip-check svg { display: block; }
.stip-body { display: flex; flex-direction: column; gap: 3px; }
.stip-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--text);
  line-height: 1.4;
}
.stip-note {
  font-family: var(--body);
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.5;
}

.stip-coda {
  margin-top: clamp(28px, 3vw, 40px);
  padding: clamp(20px, 2.2vw, 28px);
  border-left: 2px solid var(--line-2);
}
.stip-coda p {
  font-family: var(--body);
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 64ch;
}
.stip-coda p + p { margin-top: 12px; }
.stip-coda strong { color: var(--text); font-weight: 500; }

/* ---------- 2.5 — Deposit Pattern Visualizer ---------- */
.dpv {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  padding: clamp(20px, 2.4vw, 28px);
  margin-top: clamp(20px, 2.4vw, 28px);
}
.dpv-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.018);
  margin-bottom: clamp(20px, 2.2vw, 28px);
}
.dpv-tab {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--text-mute);
  transition: color 0.2s, background 0.2s;
}
.dpv-tab:hover { color: var(--text); }
.dpv-tab.is-active {
  color: #001b08;
  background: var(--accent);
}
.dpv-stages { position: relative; }
.dpv-stage { display: none; animation: dpvFade 0.4s var(--ease-out) both; }
.dpv-stage.is-active { display: block; }
@keyframes dpvFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.dpv-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
@media (max-width: 720px) { .dpv-meta { grid-template-columns: repeat(2, 1fr); } }
.dpv-meta-row {
  display: flex; flex-direction: column; gap: 3px;
}
.dpv-meta-k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.dpv-meta-v {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}
.dpv-meta-v--warn { color: rgb(250, 204, 21); }

/* plotted figure: drafting gridlines behind the bars,
   square-cut marks, hairline frame */
.dpv-chart {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  align-items: end;
  gap: 3px;
  height: 168px;
  padding: 14px 4px 18px;
  background:
    repeating-linear-gradient(to right,
      transparent 0 calc(20% - 1px), rgba(255,255,255,0.035) calc(20% - 1px) 20%),
    repeating-linear-gradient(to top,
      transparent 0 calc(25% - 1px), rgba(255,255,255,0.035) calc(25% - 1px) 25%),
    linear-gradient(to top, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 60%);
  border-radius: 0;
  border: 1px solid var(--line);
}
.dpv-bar {
  position: relative;
  border-radius: 0;
  background: rgba(255,255,255,0.20);
  min-height: 2px;
  transition: background 0.3s var(--ease-out), height 0.6s var(--ease-expo);
  transform-origin: bottom;
}
.dpv-bar.is-deposit { background: rgba(6,240,90,0.55); box-shadow: 0 0 6px rgba(6,240,90,0.25); }
.dpv-bar.is-nsf {
  background: rgba(239,68,68,0.62);
  box-shadow: 0 0 6px rgba(239,68,68,0.32);
}
.dpv-bar.is-nsf::after {
  content: "!";
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(239,68,68,0.9);
  font-weight: 600;
}
.dpv-bar.is-debit { background: rgba(250,204,21,0.55); box-shadow: 0 0 6px rgba(250,204,21,0.25); }

.dpv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.dpv-leg-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 7px;
}
.dpv-leg-swatch {
  width: 10px; height: 10px;
  border-radius: 2px;
  background: rgba(255,255,255,0.20);
}
.dpv-leg-swatch--bal { background: rgba(255,255,255,0.30); }
.dpv-leg-swatch--dep { background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); }
.dpv-leg-swatch--nsf { background: rgba(239,68,68,0.7); }
.dpv-leg-swatch--debit { background: rgba(250,204,21,0.7); }

.dpv-verdict {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,0.014);
}
.dpv-verdict-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.dpv-verdict p {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 18px);
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.4;
}
.dpv-verdict--clean { border-color: rgba(6,240,90,0.32); background: rgba(6,240,90,0.04); }
.dpv-verdict--clean .dpv-verdict-tag { color: var(--accent); }
.dpv-verdict--risky { border-color: rgba(250,204,21,0.30); background: rgba(250,204,21,0.04); }
.dpv-verdict--risky .dpv-verdict-tag { color: rgb(250,204,21); }
.dpv-verdict--stacked { border-color: rgba(239,68,68,0.30); background: rgba(239,68,68,0.04); }
.dpv-verdict--stacked .dpv-verdict-tag { color: rgb(255,150,150); }

/* ---------- 2.6 — 90-second scan drill ---------- */
.sd {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  padding: clamp(20px, 2.4vw, 28px);
  margin-top: clamp(20px, 2.4vw, 28px);
}
.sd-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(18px, 2.2vw, 28px);
}
@media (max-width: 860px) { .sd-grid { grid-template-columns: 1fr; } }

/* statement card */
.sd-statement {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.014);
  padding: clamp(16px, 1.8vw, 22px);
  display: flex; flex-direction: column; gap: 14px;
}
.sd-statement-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap; gap: 8px;
}
.sd-statement-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.sd-statement-period {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
}
.sd-statement-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.sd-stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.sd-stat-k {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.sd-stat-v {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.sd-ledger {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  background: rgba(255,255,255,0.010);
}
.sd-ledger-head {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.sd-ledger-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sd-ledger-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: baseline;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.sd-ledger-orig { color: var(--text); letter-spacing: -0.005em; word-break: break-all; }
.sd-ledger-amt { color: rgb(250, 204, 21); }
.sd-ledger-meta { color: var(--text-mute); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; }

.sd-statement-foot {
  font-family: var(--body);
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.55;
}

/* drill panel */
.sd-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.014);
  padding: clamp(18px, 2vw, 24px);
  display: flex; flex-direction: column;
  position: relative;
  min-height: 360px;
}
.sd-state { display: none; flex-direction: column; gap: 14px; flex: 1; }
.sd-state.is-active { display: flex; animation: sdFade 0.32s var(--ease-out) both; }
@keyframes sdFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.sd-timer-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 0 6px;
}
.sd-timer {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(56px, 7vw, 84px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.sd-state--running .sd-timer { color: var(--accent); }
.sd-state--running.is-warning .sd-timer { color: rgb(250, 204, 21); }
.sd-state--running.is-danger .sd-timer { color: rgb(239, 68, 68); }
.sd-timer-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 6px;
}

.sd-msg {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  text-align: center;
  max-width: 36ch;
  margin: 0 auto;
}

.sd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 6px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.3s;
  align-self: center;
  white-space: nowrap;
}
.sd-btn--primary {
  background: var(--accent);
  color: #001b08;
}
.sd-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(6,240,90,0.22); }
.sd-btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: transparent;
}
.sd-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.sd-btn .arrow { transition: transform 0.25s var(--ease-out); }
.sd-btn:hover .arrow { transform: translateX(3px); }

.sd-checkpoints {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.sd-checkpoints li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s;
  align-items: baseline;
}
.sd-checkpoints li.is-active {
  background: rgba(6,240,90,0.06);
  border-color: rgba(6,240,90,0.28);
}
.sd-checkpoints li.is-done {
  opacity: 0.55;
}
.sd-cp-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.sd-checkpoints li.is-active .sd-cp-time { color: var(--accent); }
.sd-cp-text {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--text-dim);
}
.sd-checkpoints li.is-active .sd-cp-text { color: var(--text); }

.sd-call-prompt {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  margin-top: 12px;
}
.sd-call-buttons {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 18px;
}
.sd-call-btn {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.018);
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.01em;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.sd-call-btn:hover {
  border-color: var(--accent);
  background: rgba(6,240,90,0.06);
  transform: translateY(-1px);
}

.sd-result {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.014);
  display: flex; flex-direction: column; gap: 4px;
}
.sd-result.is-correct { border-color: rgba(6,240,90,0.32); background: rgba(6,240,90,0.04); }
.sd-result.is-wrong { border-color: rgba(250,204,21,0.30); background: rgba(250,204,21,0.04); }
.sd-result-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.sd-result.is-correct .sd-result-tag { color: var(--accent); }
.sd-result.is-wrong .sd-result-tag { color: rgb(250,204,21); }
.sd-result-line {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.sd-correct {
  padding: 16px 18px;
  border: 1px solid rgba(6,240,90,0.28);
  border-radius: var(--r-sm);
  background: rgba(6,240,90,0.035);
  display: flex; flex-direction: column; gap: 8px;
}
.sd-correct-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.sd-correct-line {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.sd-correct-line strong { color: var(--accent); font-weight: 600; }
.sd-correct-why {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(6,240,90,0.14);
}
.sd-correct-why li {
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.sd-correct-why li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.sd-correct-why strong { color: var(--text); font-weight: 500; }
.sd-correct-why em { color: var(--text); font-style: italic; }

/* ---------- 2.7 — Worked example: script callout ---------- */
.worked-script {
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.014);
  display: flex; flex-direction: column; gap: 8px;
}
.worked-script-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.worked-script p {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.5;
  font-style: italic;
  max-width: 64ch;
}

/* ---------- 2.8 — Gating callout (quiet, mirrors .confidentiality) ---------- */
.gating {
  border-left: 2px solid var(--line-2);
  padding: clamp(20px, 2.4vw, 32px);
  background: rgba(255,255,255,0.014);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.gating .eyebrow { margin-bottom: 12px; }
.gating h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
  max-width: 56ch;
  line-height: 1.25;
}
.gating p {
  font-family: var(--body);
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 64ch;
}
.gating p + p { margin-top: 12px; }
.gating-foot {
  margin-top: 14px !important;
  font-family: var(--body);
  font-style: italic;
  color: var(--text-mute) !important;
}

/* ---------- 2.9 — $47 Mini-course CTA ---------- */
.mini-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 2.6vw, 36px);
  align-items: center;
  border: 1px solid rgba(6,240,90,0.28);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(6,240,90,0.07) 0%, rgba(6,240,90,0) 55%),
    var(--bg-1);
  padding: clamp(22px, 2.8vw, 36px);
}
@media (max-width: 720px) { .mini-cta { grid-template-columns: 1fr; } }

.mini-cta-body .eyebrow { margin-bottom: 14px; }
.mini-cta-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 12px;
}
.mini-cta-body p {
  font-family: var(--body);
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 56ch;
  margin-bottom: 14px;
}
.mini-cta-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.mini-cta-list li {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.mini-cta-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.mini-cta-action {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.018);
}
.mini-cta-price-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.mini-cta-buy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 6px;
  background: var(--accent);
  color: #001b08;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s;
  width: 100%;
  justify-content: center;
}
.mini-cta-buy:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(6,240,90,0.26); }
.mini-cta-buy .arrow { transition: transform 0.25s var(--ease-out); }
.mini-cta-buy:hover .arrow { transform: translateX(3px); }
.mini-cta-foot {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* ---------- Section 2: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .dpv-stage,
  .sd-state { animation: none !important; }
  .dpv-bar { transition: none !important; }
  .sd-call-btn { transition: none !important; }
  .mini-cta-buy { transition: none !important; }
}

/* ---------- Section 2: narrow-viewport tuning ---------- */
@media (max-width: 480px) {
  .dpv { padding: 16px 14px; }
  .dpv-chart { height: 132px; gap: 2px; padding: 12px 4px 14px; }
  .dpv-tabs { width: 100%; }
  .dpv-tab { flex: 1; text-align: center; padding: 8px 10px; }
  .sd { padding: 16px 14px; }
  .sd-statement-summary { grid-template-columns: 1fr; gap: 4px 0; }
  .sd-ledger-list li { grid-template-columns: 1fr auto; }
  .sd-ledger-list li .sd-ledger-meta { grid-column: 1 / -1; padding-left: 0; }
  .sd-panel { min-height: 320px; padding: 16px; }
  .sd-checkpoints li { grid-template-columns: 50px 1fr; padding: 6px 10px; gap: 10px; }
  .mini-cta { padding: 20px 18px; }
  .mini-cta-action { padding: 18px; width: 100%; }
}

/* ============================================================
   SECTION 5 — THE SEVEN MISTAKES
   Reuses .lender-card primitive with a quieter, confessional treatment.
   Less assertive visual hierarchy than teaching sections.
   ============================================================ */

.lender-cards.mistakes { gap: 10px; }

.mistake-card {
  /* Slightly quieter background — confessional tone, not feature card. */
  background: rgba(255,255,255,0.012);
}
.mistake-card:hover { border-color: var(--line-2); }
.mistake-card.is-open { border-color: var(--line-2); background: rgba(255,255,255,0.022); }

/* Number tag: muted by default, doesn't pop accent green like lender cards. */
.mistake-card .lender-card-num {
  color: var(--text-mute);
  background: transparent;
  border: 1px solid var(--line);
}
.mistake-card.is-open .lender-card-num {
  color: var(--text-dim);
  border-color: var(--line-2);
}

/* Title: not as bold as lender cards — confessional voice, not headline voice. */
.mistake-card .lender-card-title {
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 17.5px);
  letter-spacing: -0.012em;
  color: var(--text);
  line-height: 1.35;
}

/* The "Cost me — ..." line replaces the normal meta. Mono, muted, italic-feeling. */
.mistake-cost {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--text-mute);
  margin-top: 8px;
  display: block;
  line-height: 1.5;
}

/* Body — three labeled blocks (What happened / Real cost / Fix). */
.mistake-detail {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 22px);
}
.mistake-block {
  display: flex; flex-direction: column; gap: 8px;
}
.mistake-block-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.mistake-card.is-open .mistake-block:nth-child(3) .mistake-block-label {
  /* Subtle: the "fix" label gets the accent — payoff of the confession. */
  color: var(--accent);
}
.mistake-block p {
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 64ch;
}

/* Narrow viewports: tighten the head so the long titles + cost line read cleanly. */
@media (max-width: 480px) {
  .mistake-card .lender-card-title { font-size: 14.5px; }
  .mistake-cost { font-size: 11px; margin-top: 6px; }
  .mistake-block p { font-size: 14px; }
}

/* ============================================================
   SECTION 3 — THE 90-DAY FRAMEWORK
   - 12-week timeline (.ttl): vertical track + 5 phase groups +
     12 expandable week markers. Phases share a monochrome accent
     ramp via --phase-tint (0.32 → 1.0) so the eye reads the
     framework as brightening from foundations into scale.
   - "Where Am I?" quiz (.wai-*): five single-select rows that
     unlock the submit button, then route to the correct starting
     week with a result panel mirroring the BBM result layout.
   ============================================================ */

/* ---------- 12-week timeline ---------- */
.ttl {
  position: relative;
  margin-top: clamp(28px, 3vw, 42px);
  padding-left: clamp(28px, 4vw, 56px);
}

/* Vertical track on the left edge — base line + accent fill */
.ttl-track {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: clamp(8px, 1vw, 14px);
  width: 2px;
  pointer-events: none;
}
.ttl-track-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.10) 40%,
    rgba(255,255,255,0.06)
  );
  border-radius: 1px;
}
.ttl-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,240,90,0.32),
    rgba(6,240,90,0.50) 35%,
    rgba(6,240,90,0.78) 70%,
    rgba(6,240,90,1)
  );
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(6,240,90,0.45);
  transform-origin: top;
  transition: height 0.2s linear;
}
@media (prefers-reduced-motion: reduce) {
  .ttl-track-fill { transition: none; }
}

/* Phase group */
.ttl-phases {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.4vw, 48px);
}
.ttl-phase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Phase header */
.ttl-phase-head {
  position: relative;
  padding: 6px 0 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.ttl-phase-head::before {
  /* Phase node on the track — square, color matches the phase tint */
  content: "";
  position: absolute;
  left: calc(-1 * clamp(28px, 4vw, 56px) + clamp(8px, 1vw, 14px) - 5px);
  top: 12px;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border: 2px solid rgba(6,240,90, var(--phase-tint, 0.32));
  border-radius: 2px;
  box-shadow: 0 0 0 4px var(--bg);
}
.ttl-phase-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(6,240,90, var(--phase-tint, 0.32));
  margin-right: 14px;
}
.ttl-phase-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.018em;
  color: var(--text);
  margin-right: 12px;
}
.ttl-phase-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}
.ttl-phase-blurb {
  margin-top: 10px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 64ch;
}

/* Week marker — collapsed card */
.ttl-week {
  position: relative;
  scroll-margin-top: 100px;
}
.ttl-week::before {
  /* Small circular node on the track at each week */
  content: "";
  position: absolute;
  left: calc(-1 * clamp(28px, 4vw, 56px) + clamp(8px, 1vw, 14px) - 3px);
  top: 26px;
  width: 8px;
  height: 8px;
  background: var(--bg);
  border: 1.5px solid rgba(6,240,90, var(--phase-tint, 0.32));
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--bg);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.ttl-week.is-open::before,
.ttl-week.is-target::before {
  background: rgba(6,240,90, var(--phase-tint, 0.32));
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--bg), 0 0 10px rgba(6,240,90,0.55);
}

/* Week head button */
.ttl-week-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(12px, 1.4vw, 18px);
  align-items: flex-start;
  padding: clamp(14px, 1.6vw, 18px) clamp(16px, 1.8vw, 22px);
  background: rgba(255,255,255,0.018);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), background 0.2s, transform 0.2s;
}
.ttl-week-head:hover {
  border-color: var(--line-2);
  background: rgba(255,255,255,0.028);
}
.ttl-week-head:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent);
  border-color: var(--accent);
}
.ttl-week.is-open .ttl-week-head {
  border-color: rgba(6,240,90, calc(var(--phase-tint, 0.32) * 0.8));
  background: rgba(6,240,90,0.025);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.ttl-week.is-target .ttl-week-head {
  border-color: var(--accent);
  background: rgba(6,240,90,0.04);
  box-shadow: 0 0 0 1px var(--accent);
}

/* Week number badge */
.ttl-week-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(6,240,90, var(--phase-tint, 0.32));
  background: rgba(6,240,90, calc(var(--phase-tint, 0.32) * 0.10));
  border: 1px solid rgba(6,240,90, calc(var(--phase-tint, 0.32) * 0.36));
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.ttl-week.is-open .ttl-week-num {
  color: var(--accent);
  background: rgba(6,240,90,0.10);
  border-color: rgba(6,240,90,0.45);
}

.ttl-week-titlewrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ttl-week-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(15px, 1.3vw, 17.5px);
  letter-spacing: -0.012em;
  color: var(--text);
  line-height: 1.35;
}
.ttl-week-tease {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 70ch;
}

.ttl-week-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  flex-shrink: 0;
  margin-top: 4px;
  transition: transform 0.35s var(--ease-out), color 0.2s, border-color 0.2s, background 0.2s;
}
.ttl-week.is-open .ttl-week-chevron {
  transform: rotate(180deg);
  color: var(--accent);
  border-color: rgba(6,240,90,0.45);
  background: rgba(6,240,90,0.05);
}

/* Week body — collapsible via grid-template-rows */
.ttl-week-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-expo);
  border: 1px solid transparent;
  border-top: 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
  margin-top: -1px;
}
.ttl-week.is-open .ttl-week-body {
  grid-template-rows: 1fr;
  border-color: rgba(6,240,90, calc(var(--phase-tint, 0.32) * 0.8));
}
.ttl-week-body-inner { overflow: hidden; min-height: 0; }
.ttl-week-body-pad {
  padding: 18px clamp(16px, 1.8vw, 22px) 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ttl-week-body-pad p {
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 64ch;
}
.ttl-week-body-pad p strong {
  color: var(--text);
  font-weight: 600;
}

/* Inline mini-course CTA inside Week 3 */
.ttl-week-inline-cta {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  color: var(--text-dim) !important;
  font-size: 14px !important;
}
.ttl-week-inline-link {
  color: var(--accent);
  border-bottom: 1px solid rgba(6,240,90,0.32);
  transition: border-color 0.18s, color 0.18s;
}
.ttl-week-inline-link:hover {
  border-bottom-color: var(--accent);
}

/* Reduced motion: collapse the smooth body transition */
@media (prefers-reduced-motion: reduce) {
  .ttl-week-body { transition: none !important; }
  .ttl-week-chevron { transition: none !important; }
  .ttl-week-head { transition: none !important; }
}

/* Mobile: tighten nodes, soften padding */
@media (max-width: 720px) {
  .ttl { padding-left: clamp(24px, 7vw, 36px); }
  .ttl-track { left: clamp(6px, 2vw, 10px); }
  .ttl-phase-head::before {
    left: calc(-1 * clamp(24px, 7vw, 36px) + clamp(6px, 2vw, 10px) - 5px);
  }
  .ttl-week::before {
    left: calc(-1 * clamp(24px, 7vw, 36px) + clamp(6px, 2vw, 10px) - 3px);
  }
  .ttl-week-head {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 10px 14px;
  }
  .ttl-week-chevron {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-top: 0;
  }
  .ttl-week-titlewrap {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .ttl-week-num { grid-column: 1; grid-row: 1; }
  .ttl-week-body-pad p { font-size: 14px; }
}
@media (max-width: 480px) {
  .ttl-phase-name { font-size: 18px; }
  .ttl-week-title { font-size: 14.5px; }
  .ttl-week-tease { font-size: 12.5px; }
}

/* ---------- "Where Am I?" self-assessment ---------- */
.wai-panel {
  /* Reuse BBM panel scaffolding; just tighten spacing for question rows */
}
.wai-questions {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(8px, 1vw, 14px);
}
.wai-q {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  padding: clamp(14px, 1.6vw, 18px) clamp(14px, 1.6vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.014);
  transition: border-color 0.2s var(--ease-out), background 0.2s;
}
.wai-q.is-answered {
  border-color: rgba(6,240,90,0.22);
  background: rgba(6,240,90,0.018);
}
.wai-q-num {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  align-self: center;
  min-width: 28px;
}
.wai-q-text {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
  max-width: 60ch;
}
.wai-q-opts {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.wai-opt {
  flex: 0 0 auto;
  min-width: 88px;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.wai-opt:hover {
  border-color: var(--text-dim);
  color: var(--text);
}
.wai-opt:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent);
}
.wai-opt.is-selected {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(6,240,90,0.06);
}

.wai-progress {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}

/* WAI result panel — reuses .bbm-result scaffolding from Section 1.
   These styles add result-specific layout: starting-week card, link, framing. */
.wai-result-card {
  border: 1px solid rgba(6,240,90,0.32);
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(6,240,90,0.07) 0%, rgba(6,240,90,0) 55%),
    rgba(255,255,255,0.02);
  padding: clamp(18px, 2vw, 24px);
  margin-bottom: 14px;
}
.wai-result-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.wai-result-week {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}
.wai-result-phase {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}
.wai-result-frame {
  margin-top: 14px;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 56ch;
}
.wai-result-frame strong { color: var(--text); font-weight: 600; }
.wai-result-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(6,240,90,0.45);
  border-radius: var(--r-sm);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.wai-result-link:hover {
  border-color: var(--accent);
  background: rgba(6,240,90,0.06);
}
.wai-result-foot {
  margin-top: 14px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-mute);
  font-style: italic;
  line-height: 1.55;
  max-width: 56ch;
}

/* Mobile tightening for WAI */
@media (max-width: 600px) {
  .wai-q {
    grid-template-columns: 1fr;
  }
  .wai-q-num {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 4px;
  }
  .wai-q-text { grid-column: 1; grid-row: 2; }
  .wai-q-opts { grid-column: 1; grid-row: 3; }
}

/* ============================================================
   ============================================================
   SECTION 6 — AFTER YOUR FIRST DEAL
   ============================================================
   ============================================================ */

/* ---------- Income ladder: tier cards (4-up grid) ---------- */
.tier-grid {
  margin-top: clamp(28px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 880px) { .tier-grid { grid-template-columns: 1fr; } }

.tier-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.022) 0%, rgba(255,255,255,0.008) 100%),
    var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  isolation: isolate;
}
.tier-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(120% 60% at 0% 0%, rgba(6,240,90,0.04), transparent 55%);
}
.tier-card-rung {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
}
.tier-card-rung::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-mute);
}
.tier-card-amt {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--text);
}
.tier-card-shape {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.tier-card-body {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 60ch;
}
/* Subtle accent on the top tier — green ring/glyph, no hype */
.tier-card-top {
  border-color: rgba(6,240,90,0.32);
  background:
    linear-gradient(180deg, rgba(6,240,90,0.04) 0%, rgba(6,240,90,0.01) 60%, rgba(255,255,255,0.012) 100%),
    var(--bg-1);
}
.tier-card-top::before {
  background: radial-gradient(120% 60% at 0% 0%, rgba(6,240,90,0.10), transparent 60%);
}
.tier-card-top .tier-card-rung { color: var(--accent); }
.tier-card-top .tier-card-rung::before {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ---------- Tuesday comparison (3-up grid) ---------- */
.tuesday-grid {
  margin-top: clamp(28px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 980px) { .tuesday-grid { grid-template-columns: 1fr; } }

.tuesday-col {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.008) 100%),
    var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  isolation: isolate;
}
.tuesday-col::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(120% 60% at 50% -10%, rgba(255,255,255,0.022), transparent 60%);
}
.tuesday-col-head {
  display: flex; flex-direction: column; gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tuesday-col-tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.018em;
  color: var(--text);
}
.tuesday-col-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}
.tuesday-col-body {
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.tuesday-col-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.tuesday-col-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}
.tuesday-bullet {
  width: 6px; height: 6px;
  border-radius: 0;
  border: 1px solid var(--text-mute);
  background: transparent;
  display: inline-block;
  transform: translateY(-2px);
  margin-left: 4px;
}

/* Slight progressive accenting across the three columns */
.tuesday-col-mid { border-color: rgba(255,255,255,0.18); }
.tuesday-col-mid .tuesday-bullet { border-color: var(--text-dim); background: rgba(244,244,245,0.12); }

.tuesday-col-top {
  border-color: rgba(6,240,90,0.28);
  background:
    linear-gradient(180deg, rgba(6,240,90,0.035) 0%, rgba(6,240,90,0.008) 60%, rgba(255,255,255,0.012) 100%),
    var(--bg-1);
}
.tuesday-col-top::before {
  background: radial-gradient(120% 60% at 50% -10%, rgba(6,240,90,0.08), transparent 60%);
}
.tuesday-col-top .tuesday-col-tag { color: var(--text); }
.tuesday-col-top .tuesday-bullet {
  border-color: var(--accent);
  background: rgba(6, 240, 90, 0.4);
}

/* ---------- Three Doors: asymmetric (Accelerator hero + A/B secondary) ---------- */
.paths-section { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }

/* ---- Accelerator hero — dominant full-width card ---- */
.accel-hero {
  position: relative;
  margin-top: clamp(28px, 3vw, 40px);
  background:
    linear-gradient(180deg, rgba(6,240,90,0.06) 0%, rgba(6,240,90,0.015) 50%, rgba(255,255,255,0.012) 100%),
    var(--bg-1);
  border: 1px solid rgba(6,240,90,0.32);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 56px);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.6vw, 32px);
}
.accel-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 3vw, 44px);
  right: clamp(24px, 3vw, 44px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.75;
  pointer-events: none;
}
.accel-hero::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(120% 60% at 0% 0%, rgba(6,240,90,0.10), transparent 60%);
}

.accel-hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}
.accel-hero-eyebrow::before { content: none; }
.accel-hero-eyebrow { gap: 0; }

.accel-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 3.4vw, 56px);
  align-items: start;
}
@media (max-width: 880px) {
  .accel-hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(20px, 2.6vw, 32px);
  }
}

.accel-hero-left,
.accel-hero-right {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
  min-width: 0;
}

.accel-hero-price {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: clamp(20px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
}
.accel-hero-amt {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 80px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.accel-hero-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.accel-hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--text);
}

.accel-hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accel-hero-features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: baseline;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}
/* drawn registration cross instead of a glowing dot */
.accel-hero-mark {
  width: 9px; height: 9px;
  display: inline-block;
  transform: translateY(-1px);
  margin-left: 5px;
  position: relative;
  background-image:
    linear-gradient(var(--accent), var(--accent)),
    linear-gradient(var(--accent), var(--accent));
  background-size: 1px 9px, 9px 1px;
  background-position: center, center;
  background-repeat: no-repeat;
}

.accel-hero-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  background: var(--accent);
  color: #001b08;
  border: 1px solid var(--accent);
  text-decoration: none;
  cursor: pointer;
  margin-top: clamp(6px, 0.8vw, 12px);
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s;
  will-change: transform;
}
.accel-hero-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(6,240,90,0.25); }
.accel-hero-cta:active { transform: translateY(0); }
.accel-hero-cta .arrow { transition: transform 0.25s var(--ease-out); }
.accel-hero-cta:hover .arrow { transform: translateX(3px); }

/* ---- Quiet subhead divider ---- */
.paths-divider {
  margin: clamp(40px, 5vw, 64px) 0 clamp(20px, 2.4vw, 28px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.paths-divider::before,
.paths-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.paths-divider-text {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
}
@media (max-width: 540px) {
  .paths-divider-text { white-space: normal; text-align: center; }
}

/* ---- Secondary path cards (A + B, half-width on desktop) ---- */
.paths-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
@media (max-width: 760px) { .paths-secondary { grid-template-columns: 1fr; } }

.path-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.022) 0%, rgba(255,255,255,0.008) 100%),
    var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  isolation: isolate;
  transition: border-color 0.2s var(--ease-out);
}
.path-card:hover { border-color: rgba(255,255,255,0.22); }

.path-card-flag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
}
.path-card-flag::before {
  content: "";
  width: 6px; height: 6px; border-radius: 0;
  border: 1px solid var(--text-mute);
  background: transparent;
}

.path-card-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.path-card-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 32px);
  letter-spacing: -0.022em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.path-card-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--text);
}
.path-card-body {
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  flex: 1;
}

.path-card-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(6,240,90,0.45);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.path-card-cta:hover {
  border-color: var(--accent);
  background: rgba(6,240,90,0.06);
  transform: translateY(-1px);
}
.path-card-cta:active { transform: translateY(0); }
.path-card-cta .arrow { transition: transform 0.25s var(--ease-out); }
.path-card-cta:hover .arrow { transform: translateX(3px); }

/* ---------- Build-in-public closer ---------- */
.build-public .build-public-handles { margin-top: clamp(20px, 2.4vw, 32px); }
.build-public-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.build-public-tag::before {
  content: "";
  width: 6px; height: 6px; border-radius: 0;
  border: 1px solid var(--accent);
  background: rgba(6, 240, 90, 0.35);
}
.build-public-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 760px) { .build-public-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .build-public-row { grid-template-columns: 1fr; } }

.build-public-link {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.018);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.build-public-link:hover {
  border-color: rgba(6,240,90,0.45);
  background: rgba(6,240,90,0.04);
  transform: translateY(-1px);
}
.bp-platform {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.bp-handle {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.build-public-link:hover .bp-handle { color: var(--accent); }

/* ---------- Section 6 reduced-motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .accel-hero-cta,
  .path-card,
  .path-card-cta,
  .build-public-link { transition: none !important; }
}

/* ============================================================
   REPORT SIDEBAR — sticky left section nav (desktop)
   + mobile drawer (<1024px)
   ============================================================ */

/* ---------- Mobile floating button (default; hidden on desktop) ---------- */
.rs-mobile-btn {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 0.5px solid rgba(244, 244, 245, 0.1);
  color: var(--accent);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease-out), border-color 0.2s, transform 0.2s;
}
.rs-mobile-btn:hover { background: rgba(10, 10, 10, 0.9); border-color: rgba(6, 240, 90, 0.3); }
.rs-mobile-btn:active { transform: scale(0.96); }

.rs-mobile-btn-bars {
  position: relative;
  width: 18px;
  height: 12px;
  display: inline-block;
}
.rs-mobile-btn-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.2s var(--ease-out), opacity 0.2s;
}
.rs-mobile-btn-bars span:nth-child(1) { top: 0; }
.rs-mobile-btn-bars span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.rs-mobile-btn-bars span:nth-child(3) { bottom: 0; }

/* ---------- Mobile top-bar pill (passive section indicator) ---------- */
.rs-pill {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 76px);
  left: 16px;
  right: 16px;
  margin: 0 auto;
  max-width: 480px;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 0.5px solid rgba(244, 244, 245, 0.08);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.rs-pill.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.rs-pill:active { background: rgba(10, 10, 10, 1); }
.rs-pill:hover { border-color: rgba(6, 240, 90, 0.18); }

.rs-pill-ring {
  flex-shrink: 0;
  display: block;
}
.rs-pill-ring circle:last-child {
  transition: stroke-dashoffset 0.18s var(--ease-out);
}

.rs-pill-text {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rs-pill-num   { color: var(--accent); flex-shrink: 0; }
.rs-pill-sep   { color: var(--text-mute); flex-shrink: 0; }
.rs-pill-title {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.rs-pill-chev {
  color: var(--text-mute);
  flex-shrink: 0;
}

/* ---------- Sidebar shell (mobile = drawer; desktop = fixed left) ---------- */
.report-sidebar {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  display: none;
  overflow-y: auto;
  padding: 64px 24px 32px;
}
.report-sidebar.is-open { display: block; animation: rsDrawerIn 0.25s var(--ease-out); }

@keyframes rsDrawerIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rs-drawer-backdrop {
  position: fixed; inset: 0; z-index: 205;
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: none;
}
.rs-drawer-backdrop.is-open { display: block; }

.rs-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.rs-close {
  position: absolute;
  top: -32px;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-dim);
  background: transparent;
  border: 0.5px solid rgba(244, 244, 245, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.rs-close:hover { color: var(--accent); border-color: rgba(6, 240, 90, 0.4); background: rgba(6, 240, 90, 0.06); }

/* ---------- Brand line ---------- */
.rs-brand {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--accent);
  padding: 18px 14px 22px 0;
  text-transform: none;
}

/* ---------- Section list + rail ---------- */
.rs-nav {
  position: relative;
  padding: 0;
}
.rs-rail {
  position: absolute;
  left: 8px;
  top: 14px;
  bottom: 6px;
  width: 1px;
  pointer-events: none;
}
.rs-rail-bg, .rs-rail-fill {
  position: absolute;
  left: 0; top: 0;
  width: 1px;
  display: block;
}
.rs-rail-bg {
  height: 100%;
  background: rgba(244, 244, 245, 0.1);
}
.rs-rail-fill {
  height: 0%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(6, 240, 90, 0.5);
  transition: height 0.18s var(--ease-out);
}

.rs-phase {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  text-transform: uppercase;
  padding-left: 18px;
  margin-top: 14px;
  margin-bottom: 8px;
}
.rs-phase:first-of-type { margin-top: 0; }

.rs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0 5px 4px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}
/* plotted node on the rail: a registration cross, not a dot.
   Drawn with two gradient strokes; rotates 90° when it goes live. */
.rs-dot {
  width: 9px;
  height: 9px;
  border-radius: 0;
  border: 0;
  margin-left: 4px;
  flex-shrink: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(244, 244, 245, 0.32), rgba(244, 244, 245, 0.32)),
    linear-gradient(rgba(244, 244, 245, 0.32), rgba(244, 244, 245, 0.32));
  background-size: 1px 9px, 9px 1px;
  background-position: center, center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 2px var(--bg);
  transition: transform 0.18s var(--ease-expo), filter 0.2s var(--ease-out);
}
.rs-num {
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0.55;
  width: 14px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.rs-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.4;
}

.rs-item:hover {
  color: var(--text-dim);
}
.rs-item:hover .rs-dot {
  transform: rotate(90deg);
}

.rs-item.is-read {
  color: var(--text-dim);
}
.rs-item.is-read .rs-dot {
  background-image:
    linear-gradient(rgba(6, 240, 90, 0.45), rgba(6, 240, 90, 0.45)),
    linear-gradient(rgba(6, 240, 90, 0.45), rgba(6, 240, 90, 0.45));
}

.rs-item.is-active {
  color: var(--accent);
}
.rs-item.is-active .rs-num { opacity: 0.95; }
.rs-item.is-active .rs-dot {
  background-image:
    linear-gradient(var(--accent), var(--accent)),
    linear-gradient(var(--accent), var(--accent));
  transform: rotate(90deg) scale(1.2);
  filter: drop-shadow(0 0 4px rgba(6, 240, 90, 0.6));
}
/* live needle: a short accent caret pointing at the active row */
.rs-item.is-active .rs-label {
  position: relative;
}
.rs-item.is-active .rs-label::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-right: 5px solid var(--accent);
}

/* ---------- Bottom progress ---------- */
.rs-progress {
  margin-top: auto;
  padding: 14px 14px 0 4px;
  border-top: 0.5px solid rgba(244, 244, 245, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.rs-ring {
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.rs-ring-bg {
  stroke: rgba(244, 244, 245, 0.1);
}
.rs-ring-fill {
  stroke: var(--accent);
  transition: stroke-dashoffset 0.18s var(--ease-out);
}
.rs-ring-pct {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(calc(-50% + 7px));
  width: 36px;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  color: var(--accent);
  pointer-events: none;
}
.rs-progress-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  min-width: 0;
}
.rs-progress-section {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 2px;
}
.rs-progress-title {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Mobile drawer type bump (<1024px) ---------- */
@media (max-width: 1023px) {
  .rs-phase {
    font-size: 11px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .rs-item {
    font-size: 14px;
    padding: 13px 0 13px 4px;
    gap: 12px;
  }
  .rs-num {
    font-size: 12px;
    width: 22px;
  }
  .rs-label {
    font-size: 14px;
    letter-spacing: 0.09em;
    line-height: 1.35;
  }
  .rs-rail {
    top: 18px;
  }
  .rs-progress-section { font-size: 12px; }
  .rs-progress-title   { font-size: 11px; }
  .rs-ring-pct         { font-size: 11px; }
}

/* ---------- Desktop layout (≥1024px) ---------- */
@media (min-width: 1024px) {
  .rs-mobile-btn,
  .rs-close,
  .rs-drawer-backdrop,
  .rs-pill { display: none !important; }

  .report-sidebar {
    position: fixed;
    inset: auto;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-right: 0.5px solid rgba(244, 244, 245, 0.06);
    padding: 0 14px 0 18px;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    animation: none;
  }
  .rs-inner {
    max-width: none;
    margin: 0;
    min-height: 100%;
    padding-bottom: 18px;
  }
  .rs-brand { padding: 18px 14px 22px 0; }

  /* shift the existing fixed top nav and report content right */
  .nav { left: 220px; }
  main { margin-left: 220px; }
  footer { margin-left: 220px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .report-sidebar.is-open { animation: none; }
  .rs-rail-fill,
  .rs-ring-fill,
  .rs-item,
  .rs-dot,
  .rs-mobile-btn,
  .rs-close,
  .rs-pill,
  .rs-pill-ring circle:last-child { transition: none !important; }
  .rs-pill { transform: none !important; }
}

/* ============================================================
   CONVERSION LAYER
   Persistent CTAs (A1 sidebar, A2 mobile bar, A3 hero jump)
   + contextual section-end card variants.
   Reuses existing tokens only. No new colors or fonts.
   ============================================================ */

/* ---- Contextual card variants (clone of .mini-cta) ---- */

/* Prominent JetBrains Mono price line (e.g. "Founding cohort · $2,997"). */
.mini-cta-priceline {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}

/* A3 hero-jump target offset so the smooth scroll clears the fixed nav. */
#three-doors { scroll-margin-top: 96px; }

/* ---- A1: desktop sidebar CTA (pinned at the bottom of the sticky nav) ---- */
/* Hidden by default so it never appears inside the mobile drawer (A2 covers mobile). */
.rs-cta { display: none; }
@media (min-width: 1024px) {
  .rs-cta {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 0.5px solid rgba(244, 244, 245, 0.08);
  }
  .rs-cta-btn {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(255,255,255,0.02);
    color: var(--text-dim);
    font-family: var(--body);
    font-weight: 500;
    font-size: 11.5px;
    line-height: 1.4;
    letter-spacing: -0.005em;
    text-decoration: none;
    transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
  }
  .rs-cta-btn:hover { border-color: var(--accent); color: var(--text); }
  .rs-cta-btn .arrow { transition: transform 0.25s var(--ease-out); flex-shrink: 0; }
  .rs-cta-btn:hover .arrow { transform: translateX(2px); }
}

/* ---- A2: mobile sticky bottom bar ---- */
.mcta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
  padding: 0 12px 0 16px;
  background: var(--bg-2);
  border-top: 0.5px solid rgba(244, 244, 245, 0.1);
}
.mcta-bar.is-dismissed { display: none; }
.mcta-bar-text {
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--text-dim);
  min-width: 0;
}
.mcta-bar-text strong { color: var(--text); font-weight: 600; }
.mcta-bar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mcta-bar-buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 6px;
  background: var(--accent);
  color: #001b08;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
}
.mcta-bar-buy .arrow { transition: transform 0.25s var(--ease-out); }
.mcta-bar-buy:hover .arrow { transform: translateX(2px); }
.mcta-bar-close {
  width: 30px; height: 30px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 0.5px solid rgba(244, 244, 245, 0.12);
  color: var(--text-mute);
  cursor: pointer;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.mcta-bar-close:hover { color: var(--text-dim); border-color: rgba(244, 244, 245, 0.24); }

/* Show only where the sidebar collapses to a drawer; hidden on desktop (A1 covers it). */
@media (min-width: 1024px) {
  .mcta-bar { display: none !important; }
}
/* Keep the last lines of the page clear of the fixed bar on mobile. */
@media (max-width: 1023px) {
  body { padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-cta-btn .arrow,
  .mcta-bar-buy .arrow { transition: none !important; }
}

/* ---- A3: quiet hero jump line ---- */
.hero-jump {
  margin-top: 18px;
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mute);
}
.hero-jump a {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 244, 245, 0.18);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.hero-jump a:hover { color: var(--text); border-color: var(--accent); }

/* ============================================================
   INSTRUMENT LAYER
   Dimension lines, figure captions, corner brackets,
   registration crosses. Annotation chrome only — all elements
   using these classes are aria-hidden decoration.
   ============================================================ */

/* ---- Dimension line: hairline with perpendicular end caps and a
   centered mono label. The signature device. ---- */
.dim-line {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin-top: clamp(22px, 2.6vw, 34px);
  pointer-events: none;
}
.dim-line::before,
.dim-line::after {
  content: "";
  flex: 1;
  height: 7px;
  margin-top: 0;
}
.dim-line::before {
  border-bottom: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
  transform: translateY(-3px);
}
.dim-line::after {
  border-bottom: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  transform: translateY(-3px);
}
.dim-line-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
  flex-shrink: 0;
}
.dim-line--accent .dim-line-label { color: var(--accent); }
.dim-line--accent::before,
.dim-line--accent::after { border-color: rgba(6, 240, 90, 0.35); }

/* draw-on: the two measure arms extend from the label outward */
.dim-line::before,
.dim-line::after {
  transform-origin: center;
  transition: transform 0.9s var(--ease-expo) 0.15s;
}
.dim-line::before { transform: translateY(-3px) scaleX(0); transform-origin: right center; }
.dim-line::after  { transform: translateY(-3px) scaleX(0); transform-origin: left center; }
.reveal.in .dim-line::before,
.dim-line.reveal.in::before,
.in .dim-line::before { transform: translateY(-3px) scaleX(1); }
.reveal.in .dim-line::after,
.dim-line.reveal.in::after,
.in .dim-line::after { transform: translateY(-3px) scaleX(1); }

/* ---- Figure caption: FIG. N · NAME under/above plotted figures ---- */
.fig-cap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 14px;
}
.fig-cap::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.fig-cap .fig-cap-n { color: var(--accent); }

/* ---- Corner brackets: drawn L-frames on a dominant panel.
   Drop <span class="plate-corners" aria-hidden="true"></span>
   inside any position:relative panel. ---- */
.plate-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.plate-corners::before,
.plate-corners::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
}
.plate-corners::before {
  top: -1px; left: -1px;
  border-top: 1px solid rgba(244, 244, 245, 0.4);
  border-left: 1px solid rgba(244, 244, 245, 0.4);
}
.plate-corners::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid rgba(244, 244, 245, 0.4);
  border-right: 1px solid rgba(244, 244, 245, 0.4);
}

/* ---- Registration cross: free-standing + mark at frame corners ---- */
.reg-cross {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 244, 245, 0.28), rgba(244, 244, 245, 0.28)),
    linear-gradient(rgba(244, 244, 245, 0.28), rgba(244, 244, 245, 0.28));
  background-size: 1px 12px, 12px 1px;
  background-position: center, center;
  background-repeat: no-repeat;
}
.reg-cross--tl { top: 18px; left: 18px; }
.reg-cross--tr { top: 18px; right: 18px; }
.reg-cross--bl { bottom: 18px; left: 18px; }
.reg-cross--br { bottom: 18px; right: 18px; }

/* ---- Hero coordinates: rotated mono annotation in the margin ---- */
.margin-coord {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right top;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.22);
  white-space: nowrap;
  pointer-events: none;
}

/* ---- Mobile + reduced motion ---- */
@media (max-width: 768px) {
  .reg-cross,
  .margin-coord { display: none; }
  .dim-line { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dim-line::before,
  .dim-line::after {
    transform: translateY(-3px) scaleX(1) !important;
    transition: none !important;
  }
}

/* hosts for .plate-corners that lacked a positioning context */
.sd-statement { position: relative; }

/* section rules carry a centered registration cross */
hr.rule {
  position: relative;
  overflow: visible;
}
hr.rule::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 11px;
  transform: translate(-50%, -50%);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(244, 244, 245, 0.30), rgba(244, 244, 245, 0.30)),
    linear-gradient(rgba(244, 244, 245, 0.30), rgba(244, 244, 245, 0.30));
  background-size: 1px 11px, 11px 1px;
  background-position: center, center;
  background-repeat: no-repeat;
}

/* ============================================================
   NAVIGATION & DECISION LAYER (conversion structure pass)
   Contents sheet, decision strips, three-doors teaser,
   folded passages, scroll-aware offer bar. Locked tokens only.
   ============================================================ */

/* In-page anchors clear the fixed nav on plain smooth-scroll jumps. */
#section-0-cold-truth,
#section-1-lender-map,
#section-2-reading-a-deal,
#section-3-90-day-framework,
#section-4-ai-stack,
#section-5-seven-mistakes,
#section-6-after-first-deal,
#contents { scroll-margin-top: 96px; }

/* ---- Contents sheet: drawn index plate ---- */
.toc-section { padding: clamp(40px, 6vw, 84px) 0; }
.toc-plate {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.012);
  padding: clamp(22px, 3vw, 36px);
}
.toc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(14px, 1.8vw, 22px);
}
.toc-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}
.toc-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 2px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.toc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  flex-shrink: 0;
  transition: color 0.18s var(--ease-out);
}
.toc-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text-dim);
  transition: color 0.18s var(--ease-out);
}
.toc-leader {
  flex: 1;
  min-width: 24px;
  border-bottom: 1px dashed rgba(244, 244, 245, 0.10);
  transform: translateY(-4px);
}
.toc-list a:hover .toc-name { color: var(--text); }
.toc-list a:hover .toc-num { color: var(--accent); }
.toc-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(18px, 2vw, 26px);
  padding: 12px 18px;
  border: 1px solid rgba(6, 240, 90, 0.28);
  border-radius: 6px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.toc-jump:hover { border-color: var(--accent); background: rgba(6, 240, 90, 0.06); }
.toc-jump .arrow { color: var(--accent); }

/* ---- Decision strip: standardized section-end CTA chrome ---- */
.decision-strip { position: relative; }
.ds-kicker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.ds-kicker::before {
  content: "+";
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  color: var(--text-mute);
}
.ds-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.ds-kicker-label { line-height: 1.5; }
.ds-secondary {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 244, 245, 0.18);
  padding-bottom: 2px;
  margin-top: 10px;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.ds-secondary:hover { color: var(--text-dim); border-color: var(--accent); }

/* ---- Three-doors teaser: compact instrument chips ---- */
.doors-teaser { padding: clamp(40px, 5vw, 64px) 0; }
.doors-teaser-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.door-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.018);
  text-decoration: none;
  transition: border-color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.door-chip:hover { border-color: var(--line-2); transform: translateY(-2px); }
.door-chip-flag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.door-chip-price {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1;
}
.door-chip-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
.door-chip-line {
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.door-chip-jump {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.18s var(--ease-out);
}
.door-chip:hover .door-chip-jump { color: var(--accent); }

/* ---- Folded passages: collapsed-by-default heavy blocks ---- */
.fold {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-expo);
}
.fold.is-open { grid-template-rows: 1fr; }
.fold-inner {
  overflow: hidden;
  min-height: 0;
  visibility: hidden;
  transition: visibility 0s 0.55s;
}
.fold.is-open .fold-inner {
  visibility: visible;
  transition: visibility 0s 0s;
}
/* card stacks inside a fold keep the parent container's rhythm */
.fold-inner--cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fold-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(14px, 1.6vw, 20px);
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.018);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), background 0.2s;
}
.fold-toggle:hover { border-color: var(--line-2); background: rgba(255,255,255,0.028); }
.fold-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent);
}
.fold-toggle-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.fold-toggle-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.fold-toggle-chevron {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  transform: rotate(0deg);
  transition: transform 0.35s var(--ease-out), color 0.2s, border-color 0.2s;
}
.fold-toggle-chevron svg { display: block; }
.fold-toggle.is-open .fold-toggle-chevron {
  transform: rotate(180deg);
  color: var(--text-dim);
}
/* mistakes register: toggle lives inside the card stack, no extra gap */
.lender-cards .fold-toggle { margin-top: 0; }

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .toc-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .toc-leader { display: none; }
  .toc-jump { width: 100%; justify-content: center; text-align: center; }
  .doors-teaser-row { grid-template-columns: 1fr; }
  .fold-toggle { padding: 14px 16px; gap: 10px; }
  .fold-toggle-meta { display: none; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .fold { transition: none !important; }
  .fold-inner { transition: none !important; }
  .fold-toggle-chevron { transition: none !important; }
  .door-chip,
  .toc-jump,
  .toc-num,
  .toc-name,
  .ds-secondary,
  .door-chip-jump { transition: none !important; }
  .door-chip:hover { transform: none; }
}
