/* ==========================================================================
   Funded Assets — site styles
   Brand: blue #234CF0 · ink #231F20 · paper #F7F7F7 · yellow #F2FC2B
   System: Instrument Serif headlines (italic accent words) · Geist body/UI · Geist Mono labels/records
           · product-UI plates · engraved line-art
   ========================================================================== */

/* ---------- Fonts (same families as stacking.capital — all open-licensed: Instrument Serif OFL, Geist / Geist Mono OFL) ---------- */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2-variations"), url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2-variations"), url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --blue: #234CF0; --blue-hover: #1B3DD0; --blue-deep: #1532B8;
  --blue-08: rgba(35, 76, 240, .08); --blue-14: rgba(35, 76, 240, .14); --blue-tint: #F1F4FF;
  --ink: #231F20; --ink-2: #3A3536; --ink-3: #2C2829;
  --paper: #F7F7F7; --paper-2: #EFEFEF; --white: #FFFFFF;
  --yellow: #F2FC2B; --card: #EAECF6;

  --text: #231F20; --text-2: #55525A; --text-3: #6E6B73;
  --on-dark: #F7F7F7; --on-dark-2: rgba(247, 247, 247, .7);
  --line: rgba(35, 31, 32, .12); --line-strong: rgba(35, 31, 32, .22); --line-dark: rgba(247, 247, 247, .14);

  --neg: #B42318; --neg-bg: #FBE4E1;

  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --text-font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --track: -0.02em;

  --r-lg: 20px; --r-md: 12px; --r-sm: 6px; --r-pill: 999px;
  --wrap: 1200px; --gutter: 24px; --section: clamp(80px, 10vw, 136px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(35, 31, 32, .04), 0 24px 48px -28px rgba(35, 31, 32, .28);
  --shadow-blue: 0 1px 2px rgba(35, 76, 240, .08), 0 28px 56px -30px rgba(35, 76, 240, .55);
  --header-h: 72px;
}
@media (max-width: 640px) { :root { --gutter: 16px; --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--text); font-family: var(--text-font); font-size: 17px; line-height: 1.6; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  background-color: var(--paper);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: var(--track); line-height: 1.05; text-wrap: balance; }
strong, b { font-family: var(--text-font); font-weight: 600; letter-spacing: -0.01em; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.band-ink :focus-visible, .band-blue :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding: var(--section) 0; position: relative; }
.section.tight-top { padding-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }
.todo { background: var(--yellow); color: var(--ink); padding: 0 .25em; border-radius: 3px; }

/* ---------- Type system ---------- */
.mono { font-family: var(--mono); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 1.2;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: currentColor; clip-path: polygon(0 0, 100% 0, 100% 100%); flex: none; }
.band-ink .eyebrow, .band-blue .eyebrow { color: var(--yellow); }
.h-xl { font-size: clamp(46px, 7.2vw, 100px); line-height: .98; }
.h-lg { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
.h-md { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
.h-sm { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 1.55vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 62ch; }
.band-ink .lead, .band-blue .lead { color: var(--on-dark-2); }
.band-blue .lead { color: rgba(255, 255, 255, .82); }
.muted { color: var(--text-2); }
.blue, .hl { color: var(--blue); }
.band-ink .hl, .band-blue .hl { color: var(--yellow); }
.fineprint { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.band-ink .fineprint, .band-blue .fineprint { color: var(--on-dark-2); }
.section-head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* Two-part pill eyebrow (hero) */
.pill-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; padding: 5px 16px 5px 5px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .7);
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.pill-eyebrow b { font-family: var(--mono); font-weight: 500; letter-spacing: .14em; background: var(--blue); color: var(--white); padding: 6px 12px; border-radius: var(--r-pill); }
/* Mono meta strip under hero CTAs */
.meta-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.meta-strip li + li::before { content: "·"; margin-right: 14px; color: var(--text-3); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: var(--white);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 26px; border: 0; border-radius: var(--r-sm);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font-family: var(--text-font); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; line-height: 1.15;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s;
  box-shadow: inset 0 1px rgba(255, 255, 255, .22), var(--shadow-blue);
}
.btn:hover { background: var(--blue-hover); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arr { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 20px 40px -24px rgba(242, 252, 43, .7); }
.btn-yellow:hover { background: #E4EE14; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { background: var(--white); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
/* primary CTA: slow glare sweep + soft pulse */
.btn-glow { animation: btnPulse 3.6s ease-in-out infinite; }
.btn-glow::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 34%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: translateX(-160%) skewX(-18deg); animation: btnGlare 5.5s var(--ease) infinite 1.2s;
}
.btn-yellow.btn-glow::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); }
@keyframes btnGlare { 0% { transform: translateX(-160%) skewX(-18deg); } 24%, 100% { transform: translateX(380%) skewX(-18deg); } }
@keyframes btnPulse { 0%, 100% { box-shadow: inset 0 1px rgba(255,255,255,.22), 0 18px 40px -18px rgba(35,76,240,.6), 0 0 0 0 rgba(35,76,240,.3); } 55% { box-shadow: inset 0 1px rgba(255,255,255,.22), 0 22px 48px -18px rgba(35,76,240,.7), 0 0 0 12px rgba(35,76,240,0); } }
.btn-yellow.btn-glow { animation-name: btnPulseY; }
@keyframes btnPulseY { 0%, 100% { box-shadow: 0 18px 40px -20px rgba(242,252,43,.7), 0 0 0 0 rgba(242,252,43,.35); } 55% { box-shadow: 0 22px 48px -20px rgba(242,252,43,.8), 0 0 0 12px rgba(242,252,43,0); } }
@media (max-width: 420px) { .btn { padding: 0 18px; font-size: 16px; } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); text-decoration: none; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.band-ink .link-arrow, .band-blue .link-arrow { color: var(--yellow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(247, 247, 247, .84); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(247, 247, 247, .94); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 168px; height: auto; }
@media (max-width: 640px) { .brand img { width: 144px; } }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { text-decoration: none; font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); transition: background-color .2s, color .2s; }
.nav a:not(.btn):hover { background: rgba(35, 31, 32, .05); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { margin-left: 14px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; border-radius: var(--r-pill); padding: 0 20px; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: transparent; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
  .menu-btn svg { width: 16px; height: 16px; }
}
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 24px; display: grid; gap: 2px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .2s, visibility 0s .3s;
}
.mobile-menu.open { transform: none; opacity: 1; visibility: visible; transition: transform .3s var(--ease), opacity .2s; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 4px; text-decoration: none; font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ---------- Hero (centered, editorial) ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before { /* soft paper wash behind the headline */
  content: ""; position: absolute; inset: -10% -10% auto; height: 80%; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 30%, rgba(247, 247, 247, .95), rgba(247, 247, 247, 0));
}
.hero-center { position: relative; display: grid; justify-items: center; text-align: center; gap: 26px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1; max-width: none; text-wrap: initial; }
.hero h1 .l1, .hero h1 .l2 { display: block; text-wrap: balance; }
.hero h1 .l2 { color: var(--ink); }
.hero .lead { max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
/* Hero mark: oversized F-mark geometry, faint, behind the type */
.hero-mark { position: absolute; z-index: -1; pointer-events: none; color: var(--blue); opacity: .055; width: clamp(280px, 30vw, 460px); }
.hero-mark.l { display: none; }
.hero-mark.r { right: -4vw; top: 56px; }
@media (max-width: 760px) { .hero-mark { display: none; } }

/* Route plate (under the hero) */
.route { margin-top: clamp(48px, 6vw, 80px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.route-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; background: var(--ink); color: var(--on-dark); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.route-head .dots { display: inline-flex; gap: 6px; margin-right: 14px; }
.route-head .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(247, 247, 247, .25); }
.route-body { padding: 26px 26px 22px; position: relative; }
.route-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.route-phases span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); padding-bottom: 10px; border-bottom: 2px solid var(--card); }
.route-phases span b { font-family: var(--text-font); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; text-transform: none; color: var(--ink); display: block; margin-top: 4px; }
.route-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.route-steps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 2px; background: var(--card); }
.route-steps::after { content: ""; position: absolute; left: 18px; top: 18px; height: 2px; width: 0; background: var(--blue); transition: width 2.2s var(--ease) .3s; }
.route.in .route-steps::after { width: calc(100% - 36px); }
.route-steps li { position: relative; display: grid; gap: 6px; align-content: start; }
.route-steps .node { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 500; font-size: 12.5px; background: var(--white); color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); margin-bottom: 8px; }
.route-steps li:first-child .node { background: var(--blue); color: var(--white); }
.route-steps b { font-size: 16px; line-height: 1.25; }
.route-steps small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.route-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--blue-tint); font-size: 14px; color: var(--ink-2); }
.route-foot svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
@media (max-width: 860px) {
  .route-phases { display: none; }
  .route-steps { grid-template-columns: 1fr; gap: 0; }
  .route-steps::before, .route-steps::after { left: 18px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; }
  .route-steps::after { height: 0; transition-property: height; }
  .route.in .route-steps::after { width: 2px; height: calc(100% - 36px); }
  .route-steps li { grid-template-columns: 38px 1fr; column-gap: 14px; padding-bottom: 18px; }
  .route-steps .node { grid-row: span 3; margin: 0; }
  .route-steps li[data-phase]::before { content: attr(data-phase); grid-column: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
}

/* ---------- Chips (mono status) ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  padding: 7px 10px; border-radius: var(--r-sm); background: var(--paper-2); color: var(--ink-2);
}
.chip-neg { background: var(--neg-bg); color: var(--neg); }
.chip-pos { background: var(--blue); color: var(--white); }
.chip-soft { background: #E3E9FE; color: var(--blue); }
.chip-review { background: var(--yellow); color: var(--ink); }
.chip-done { background: var(--ink); color: var(--paper); }
.chip-held { background: transparent; color: var(--text-2); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.chip-dash { background: transparent; color: var(--text-2); outline: 1.5px dashed rgba(35, 31, 32, .35); outline-offset: -1.5px; }
.pill { display: inline-flex; align-items: center; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--r-pill); }

/* ---------- Product-UI plate (window card) ---------- */
.ui { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.ui-chrome { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFBFB; }
.ui-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #D9D7DC; }
.ui-chrome span { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--ink); color: var(--on-dark); font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.ui-head .live { display: inline-flex; align-items: center; gap: 7px; color: var(--yellow); }
.ui-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(242, 252, 43, .6); animation: liveDot 2s ease-out infinite; }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(242, 252, 43, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(242, 252, 43, 0); } }
.ui-rows { list-style: none; margin: 0; padding: 4px 18px; }
.ui-rows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.ui-rows li:last-child { border-bottom: 0; }
.ui-rows .k { display: grid; gap: 2px; min-width: 0; }
.ui-rows .k small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ui-meter { padding: 12px 18px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.ui-meter .top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ui-meter .top b { font-family: var(--mono); font-weight: 500; letter-spacing: .12em; color: var(--blue); }
.ui-meter .bar { height: 8px; border-radius: 8px; background: var(--card); overflow: hidden; }
.ui-meter .bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 8px; transition: width 1.6s var(--ease) .35s; }
.in .ui-meter .bar i, .ui-meter.in .bar i { width: var(--w, 100%); }
.ui-note { padding: 12px 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); background: #FBFBFB; }
.ui-bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; padding: 16px 18px 8px; }
.ui-bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--card); height: var(--h); transition: height 1s var(--ease); }
.ui-bars i.on { background: var(--blue); }
.ui-bars-legend { display: flex; justify-content: space-between; padding: 0 18px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ui-person { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ui-person .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-family: var(--text-font); font-weight: 600; }
.ui-person b { display: block; font-size: 16px; }
.ui-person small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
/* dark variant */
.ui.dark { background: var(--ink-3); border-color: rgba(255, 255, 255, .1); color: var(--on-dark); }
.ui.dark .ui-chrome { background: #262223; border-bottom-color: rgba(255, 255, 255, .08); }
.ui.dark .ui-chrome i { background: rgba(255, 255, 255, .18); }
.ui.dark .ui-head { background: #1A1718; }
.ui.dark .ui-rows li { border-bottom-color: rgba(255, 255, 255, .08); }
.ui.dark .ui-rows .k small { color: rgba(247, 247, 247, .5); }
.ui.dark .chip { background: rgba(255, 255, 255, .08); color: var(--on-dark); }
.ui.dark .chip-neg { background: rgba(217, 88, 74, .18); color: #FF9B8F; }

/* ---------- Process rail ---------- */
.rail { position: relative; display: grid; gap: 0; }
.rail::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--card), var(--card)); }
.rail-phase { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 40px; align-items: center; padding: 40px 0 26px; }
.rail-phase .tag { justify-self: center; z-index: 1; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: var(--ink); padding: 6px 8px; border-radius: var(--r-sm); }
.rail-phase h3 { font-size: clamp(36px, 4.4vw, 60px); color: var(--blue); line-height: 1; }
.rail-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px 40px; align-items: start; padding: 24px 0 40px; }
.rail-node { z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 2px var(--blue); font-family: var(--mono); font-weight: 500; font-size: 15px; color: var(--blue); transition: background-color .5s var(--ease), color .5s; }
.rail-step.in .rail-node { background: var(--blue); color: var(--white); }
.rail-copy { display: grid; gap: 14px; align-content: start; padding-top: 6px; }
.rail-copy .k { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.rail-copy h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.04; }
.rail-copy p { color: var(--text-2); font-size: 17px; line-height: 1.62; max-width: 52ch; }
@media (max-width: 920px) {
  .rail-step { grid-template-columns: 56px minmax(0, 1fr); }
  .rail-step .ui { grid-column: 2; }
}
@media (max-width: 520px) {
  .rail::before { left: 19px; }
  .rail-phase, .rail-step { grid-template-columns: 40px minmax(0, 1fr); gap: 20px 18px; }
  .rail-node { width: 40px; height: 40px; font-size: 13px; }
  .rail-phase .tag { font-size: 9px; padding: 5px 5px; }
}
/* Outcome callout (ends each phase) */
.outcome { position: relative; margin: 0 0 16px calc(56px + 40px); display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: center; padding: 26px 30px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); overflow: hidden; }
.outcome::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: var(--blue); opacity: .35; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.outcome .lbl { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.outcome p { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); line-height: 1.25; letter-spacing: -0.02em; position: relative; z-index: 1; }
@media (max-width: 920px) { .outcome { margin-left: calc(56px + 40px); grid-template-columns: 1fr; } }
@media (max-width: 520px) { .outcome { margin-left: 0; padding: 22px; } }
.rail-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 32px; padding: 16px 18px; border-radius: var(--r-md); background: var(--card); font-size: 14px; color: var(--ink-2); }
.rail-note svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }

/* ---------- The pattern ---------- */
.pattern-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .pattern-grid { grid-template-columns: 1fr; } }
.pattern-grid .lead { margin-top: 22px; }

/* ---------- Two ways (compare) ---------- */
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .compare-grid { grid-template-columns: 1fr; } }
.panel { border-radius: var(--r-lg); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.panel-body { padding: 8px 26px 28px; display: flex; flex-direction: column; gap: 22px; flex: 1; }
.panel-alone { background: var(--ink); color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .06); }
.panel-us { background: var(--white); border: 2px solid var(--blue); box-shadow: var(--shadow-blue); }
.panel-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 26px; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.panel-alone .panel-top { background: #1A1718; color: var(--on-dark-2); }
.panel-us .panel-top { background: var(--blue-tint); color: var(--blue); border-bottom: 1px solid var(--blue-14); }
.panel h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; padding-top: 18px; }
.panel-alone .pill { background: rgba(217, 88, 74, .18); color: #FF9B8F; }
.panel-us .pill { background: var(--blue); color: var(--white); }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.panel-alone .ledger { border-top-color: rgba(255, 255, 255, .1); }
.ledger li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.panel-alone .ledger li { border-bottom-color: rgba(255, 255, 255, .1); }
.ledger .what { display: grid; gap: 4px; min-width: 0; }
.ledger .what small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.panel-alone .ledger .what small { color: rgba(247, 247, 247, .5); }
.ledger .what span { font-size: 15.5px; line-height: 1.4; }
.ledger .chip { flex: none; }
.panel-alone .chip { background: rgba(255, 255, 255, .08); color: var(--on-dark); }
.panel-alone .chip-neg { background: rgba(217, 88, 74, .18); color: #FF9B8F; }
.panel-sum { font-family: var(--display); font-size: clamp(20px, 1.8vw, 23px); line-height: 1.25; letter-spacing: -0.02em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.ticks svg { width: 20px; height: 20px; margin-top: 1px; }
.ticks.neg svg { color: #FF9B8F; }
.panel-alone .ticks.neg li { color: var(--on-dark-2); }
.ticks.pos svg { color: var(--blue); }
.fit .ticks.neg svg { color: var(--neg); }
.ledger.live li { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .ledger.live:not(.in) li { opacity: .25; transform: translateX(6px); }
.ledger.live.in li:nth-child(1) { transition-delay: .05s; } .ledger.live.in li:nth-child(2) { transition-delay: .25s; }
.ledger.live.in li:nth-child(3) { transition-delay: .45s; } .ledger.live.in li:nth-child(4) { transition-delay: .65s; }
.ledger.live.in li:nth-child(5) { transition-delay: .85s; }
.replaces { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin-top: 32px; }
.replaces .lbl { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-right: 6px; }
.replaces s { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); padding: 8px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--white); text-decoration-color: rgba(180, 35, 24, .75); text-decoration-thickness: 1.5px; }
.center-cta { display: grid; justify-items: center; gap: 14px; margin-top: clamp(36px, 4vw, 52px); text-align: center; }

/* ---------- Institutions / bureaus ---------- */
.flow-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.flow-line .node { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); }
.flow-line .node.b { background: var(--blue); border-color: var(--blue); color: var(--white); }
.flow-line svg { width: 16px; height: 16px; color: var(--blue); }
.bureau-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .bureau-grid { grid-template-columns: 1fr; } }
.bureau { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 14px; align-content: start; min-height: 210px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.bureau:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-14); }
.bureau .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bureau .idx { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.bureau h3 { font-size: clamp(26px, 2.6vw, 32px); }
.bureau p { color: var(--text-2); font-size: 16px; line-height: 1.55; }

/* ---------- Our position (blue band) + fee calculator ---------- */
.band-ink { background-color: var(--ink); color: var(--on-dark); }
.band-blue { background-color: var(--blue); color: var(--white); }
.position-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .position-grid { grid-template-columns: 1fr; } }
.position-copy { display: grid; gap: 22px; }
.position-quote { font-family: var(--display); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; letter-spacing: -0.02em; padding-left: 20px; border-left: 3px solid var(--yellow); }
.fee-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(8, 20, 80, .6); }
.fee-card .ui-head { background: var(--ink); }
.fee-inner { padding: clamp(22px, 3vw, 32px); display: grid; gap: 26px; }
.fee-input { display: grid; gap: 12px; }
.fee-input label { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.fee-input .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.fee-amount { font-family: var(--display); font-size: clamp(38px, 4.4vw, 54px); letter-spacing: var(--track); line-height: 1; color: var(--blue); min-width: 5.4em; text-align: right; margin-left: auto; }
@media (max-width: 560px) { .fee-amount { text-align: left; margin-left: 0; } }
.range { -webkit-appearance: none; appearance: none; flex: 1 1 260px; min-width: 0; height: 44px; background: transparent; cursor: pointer; --p: 22%; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(to right, var(--blue) 0 var(--p), var(--card) var(--p) 100%); }
.range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--card); }
.range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--blue); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--blue); box-shadow: 0 4px 12px rgba(35, 76, 240, .35); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--blue); box-shadow: 0 4px 12px rgba(35, 76, 240, .35); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(35, 76, 240, .3); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(35, 76, 240, .3); }
.range-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--text-3); margin-top: -6px; }
.bars { display: grid; gap: 20px; }
.bar-row { display: grid; gap: 9px; }
.bar-row .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; }
.bar-row .name { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.bar-row .val { font-family: var(--text-font); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.bar-row.broker .val { color: var(--neg); }
.bar-row.flat .val { color: var(--blue); }
.track { height: 18px; border-radius: var(--r-pill); background: var(--paper-2); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: var(--r-pill); transition: width .35s var(--ease); }
.bar-row.broker .track i { background: repeating-linear-gradient(-45deg, #D9584A 0 10px, #C8473A 10px 20px); width: 30%; }
.bar-row.flat .track i { background: var(--blue); width: 9%; }

/* ---------- Record card (on the record) ---------- */
.record { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.record dl { margin: 0; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
.record dt, .record dd { margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.record dt { font-family: var(--display); font-size: clamp(21px, 1.9vw, 24px); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); background: #FBFBFB; border-right: 1px solid var(--line); }
.record dd { font-family: var(--text-font); font-size: 16.5px; line-height: 1.55; letter-spacing: -0.005em; color: var(--text-2); align-self: stretch; display: flex; align-items: center; }
.record dl > :nth-last-child(-n+2) { border-bottom: 0; }
.record-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 14px 24px; background: var(--ink); color: var(--on-dark-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.record-foot b { font-family: var(--mono); color: var(--yellow); font-weight: 500; }
@media (max-width: 640px) {
  .record dl { grid-template-columns: 1fr; }
  .record dt { border-right: 0; border-bottom: 0; padding-bottom: 6px; background: transparent; }
  .record dd { padding-top: 0; display: block; }
}

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; align-content: start; position: relative; }
.review .stars { display: flex; gap: 3px; color: var(--blue); }
.review .stars svg { width: 17px; height: 17px; }
.review .when { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.review blockquote { margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.35; letter-spacing: -0.025em; }
.review .who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-family: var(--mono); font-weight: 500; color: var(--blue); font-size: 12.5px; }
.review .who b { display: block; font-size: 15px; }
.review .who span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.review.placeholder { border-style: dashed; border-color: var(--line-strong); background: rgba(255, 255, 255, .5); }
.review.placeholder blockquote, .review.placeholder .who b { color: var(--text-3); }
.review .ph-tag { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 4px 8px; border-radius: var(--r-pill); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .faq-side { position: static; } }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 28px; gap: 12px; align-items: center; padding: 22px 0; font-family: var(--display); font-size: clamp(19px, 1.8vw, 22px); line-height: 1.25; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--blue); letter-spacing: .1em; }
.faq summary .pm { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .2s; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--yellow); border-color: var(--yellow); }
.faq .answer { padding: 0 40px 24px 56px; color: var(--text-2); font-size: 16.5px; line-height: 1.65; max-width: 70ch; }
@media (max-width: 560px) { .faq summary { grid-template-columns: 32px 1fr 28px; } .faq .answer { padding: 0 0 22px 44px; } }

/* ---------- Where to go next ---------- */
.next-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .next-grid { grid-template-columns: 1fr; } }
.next-card { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); text-decoration: none; min-height: 190px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.next-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.next-card .k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.next-card h3 { font-size: 26px; letter-spacing: -0.02em; }
.next-card p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.next-card .go { margin-top: auto; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.next-card.primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.next-card.primary .k, .next-card.primary p { color: rgba(255, 255, 255, .78); }
.next-card.primary .go { color: var(--yellow); }

/* ---------- Closing CTA band ---------- */
.cta-band { padding: clamp(80px, 9vw, 128px) 0; }
.cta-inner { display: grid; justify-items: center; text-align: center; gap: 24px; }
.cta-inner h2 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1; max-width: 16ch; }
.cta-inner p { color: var(--on-dark-2); font-size: 18px; line-height: 1.6; max-width: 56ch; }
.band-blue .cta-inner p { color: rgba(255, 255, 255, .82); }
.cta-inner .meta-strip { color: var(--on-dark-2); }
.band-blue .cta-inner .meta-strip { color: rgba(255, 255, 255, .8); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 64px 0 40px; border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand img { width: 190px; height: auto; }
.foot-brand p { color: var(--on-dark-2); font-size: 15px; line-height: 1.6; max-width: 40ch; }
.foot-col h4 { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-col a { text-decoration: none; color: var(--on-dark-2); font-size: 15px; display: inline-block; padding: 6px 0; }
.foot-col a:hover { color: var(--white); }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 12px; font-size: 13px; line-height: 1.6; color: rgba(247, 247, 247, .55); }

/* ---------- Sticky CTA bar ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(247, 247, 247, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.sticky-cta p { font-size: 14.5px; color: var(--text-2); }
.sticky-cta p b { color: var(--ink); }
@media (max-width: 720px) {
  .sticky-cta { background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
  .sticky-cta .wrap { justify-content: center; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .sticky-cta p { display: none; }
  .sticky-cta .btn { pointer-events: auto; width: 100%; min-height: 54px; box-shadow: 0 16px 40px -12px rgba(35, 76, 240, .7); }
}

/* ---------- About page ---------- */
.about-hero { padding: clamp(48px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.about-hero .hero-center h1 { font-size: clamp(44px, 7vw, 100px); line-height: .96; max-width: 14ch; }
.letter { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .letter { grid-template-columns: 1fr; } }
.letter-body { display: grid; gap: 22px; font-size: 19px; line-height: 1.65; color: var(--on-dark-2); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.letter-body .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.letter-body p:last-of-type { color: var(--on-dark); font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -0.02em; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.do-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; align-content: start; }
.do-card .n { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; color: var(--blue); }
.do-card h3 { font-size: 28px; }
.do-card p { color: var(--text-2); font-size: 16px; line-height: 1.6; }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 800px) { .fit-grid { grid-template-columns: 1fr; } }
.fit { border-radius: var(--r-lg); overflow: hidden; display: grid; align-content: start; }
.fit .panel-top { padding: 16px 24px; }
.fit .fit-body { padding: 22px 24px 26px; display: grid; gap: 16px; }
.fit.yes { background: var(--white); border: 2px solid var(--blue); }
.fit.yes .panel-top { background: var(--blue-tint); color: var(--blue); }
.fit.no { background: var(--white); border: 1px solid var(--line); }
.fit.no .panel-top { background: var(--paper-2); color: var(--text-2); }
.fit h3 { font-size: 28px; }
.who-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.who-table th, .who-table td { text-align: left; padding: 20px 22px; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.who-table thead th { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); border-bottom-color: rgba(247, 247, 247, .3); }
.who-table tbody th { font-family: var(--text-font); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--white); width: 26%; }
.who-table td { color: var(--on-dark-2); }
.who-table tr.us th, .who-table tr.us td { background: var(--yellow); color: var(--ink); border-bottom: 0; }
.who-table tr.us th { border-radius: var(--r-md) 0 0 var(--r-md); }
.who-table tr.us td:last-child { border-radius: 0 var(--r-md) var(--r-md) 0; }
@media (max-width: 680px) {
  .who-table thead { display: none; }
  .who-table, .who-table tbody, .who-table tr, .who-table th, .who-table td { display: block; width: 100%; }
  .who-table tr { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .who-table th, .who-table td { border: 0; padding: 4px 0; }
  .who-table td::before { content: attr(data-label) " · "; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
  .who-table tr.us { padding: 16px; border-radius: var(--r-md); margin-top: 8px; background: var(--yellow); }
  .who-table tr.us th, .who-table tr.us td { background: transparent; border-radius: 0; }
  .who-table tr.us td::before { color: rgba(35, 31, 32, .65); }
}

/* ---------- Funnel page (apply.html) ---------- */
.funnel-top { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(247, 247, 247, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.funnel-top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.funnel-top img { width: 160px; height: auto; }
.funnel-top .btn { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; border-radius: var(--r-pill); }
.funnel-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.funnel-hero h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1; max-width: none; text-wrap: initial; }
.funnel-hero h1 .l2 { display: block; font-size: .56em; line-height: 1.15; margin-top: .3em; color: var(--ink); min-height: 1.15em; }
.type { color: var(--blue); white-space: nowrap; }
.type::after { content: ""; display: inline-block; width: .06em; height: .9em; margin-left: .04em; vertical-align: -.08em; background: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 560px) { .type { white-space: normal; } }
.form-card { width: 100%; max-width: 600px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-blue); overflow: hidden; text-align: left; }
.form-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; background: var(--ink); color: var(--on-dark); font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.form-card-head .step { color: var(--yellow); }
.form-card-body { padding: 24px 24px 24px; display: grid; gap: 18px; }
.form-card-body h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -0.02em; }
@media (max-width: 520px) { .form-card-body { padding: 20px 18px; } }
.engage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
@media (max-width: 720px) { .engage-grid { grid-template-columns: 1fr; } }
.engage-grid li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-strong); font-family: var(--display); font-size: 19px; letter-spacing: -0.025em; }
.engage-grid .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); }
.engage-grid svg { width: 15px; height: 15px; }
.phase-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .phase-cards { grid-template-columns: 1fr; } }
.phase-card { display: grid; gap: 16px; align-content: start; }
.phase-card .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.phase-card h3 { font-size: clamp(30px, 3vw, 40px); color: var(--blue); }
.phase-card p { color: var(--text-2); font-size: 16px; line-height: 1.6; }
.phase-card .outcome { margin: 0; grid-template-columns: 1fr; padding: 20px 22px; }
.phase-card .outcome p { font-size: 19px; color: var(--on-dark); }
@media (max-width: 520px) {
  .form-card-head > span:last-child { display: none; }
  .pill-eyebrow { font-size: 10.5px; letter-spacing: .1em; gap: 8px; padding-right: 12px; text-align: left; }
  .pill-eyebrow b { letter-spacing: .1em; padding: 5px 10px; white-space: nowrap; }
}
.apply-foot { padding: 32px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.apply-foot .wrap { display: grid; gap: 10px; }
.apply-foot a { color: var(--text-2); }

/* ---------- Reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .ledger.live li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .bureau, .next-card, .track i, .sticky-cta, .rail-node { transition: none; }
  .btn-glow, .btn-glow::after, .ui-head .live::before, .type::after { animation: none; }
  .route-steps::after { transition: none; }
  .ui-meter .bar i { transition: none; }
}

/* ==========================================================================
   Engraving system (original line-art in assets/img/etch, source: brand/source/etch.py)
   Tune the look here — every engraving on the site reads these variables:
     --etch-filter       colour/contrast of engravings on light paper
                         e.g. none (deep navy ink) · saturate(1.6) hue-rotate(6deg) brightness(1.15) (closer to brand blue)
                         · grayscale(1) contrast(1.2) (black ink) · sepia(.4) (aged print)
     --etch-opacity      strength of background scenes (hero, flanks)
     --etch-dark-filter  how engravings render on ink/blue bands (white lines)
   ========================================================================== */
:root {
  --etch-filter: none;
  --etch-opacity: .38;
  --etch-plate-opacity: .95;
  --etch-dark-filter: brightness(0) invert(1);
  --etch-dark-opacity: .09;
}
.etch { display: block; max-width: none; pointer-events: none; user-select: none; mix-blend-mode: multiply; filter: var(--etch-filter); }

/* Hero scene: engraved bank behind the headline, fading out toward the copy */
.hero-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-scene .etch { position: absolute; right: -4%; top: 40px; width: min(980px, 70vw); opacity: var(--etch-opacity);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, #000 70%, transparent 100%); mask-composite: intersect; }
.hero-scene .etch.left { right: auto; left: -2%; top: 20px; width: min(300px, 22vw); opacity: calc(var(--etch-opacity) * .9);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
.hero-scene .etch.right-col { left: auto; right: -2%; top: 20px; width: min(300px, 22vw); opacity: calc(var(--etch-opacity) * .9);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
.hero::before { z-index: 1; }
.hero > .wrap, .funnel-hero > .wrap, .about-hero > .wrap { position: relative; z-index: 2; }
.hero::before, .funnel-hero::before, .about-hero::before { /* paper wash keeps the headline crisp over the art */
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: min(1100px, 100%); height: 75%; pointer-events: none; z-index: 1;
  background: radial-gradient(56% 62% at 50% 42%, rgba(247, 247, 247, .96) 30%, rgba(247, 247, 247, 0) 100%);
}
.funnel-hero, .about-hero { position: relative; overflow: hidden; }
@media (max-width: 860px) {
  .hero-scene .etch { width: 120vw; right: -40vw; top: auto; bottom: 0; opacity: calc(var(--etch-opacity) * .6); }
  .hero-scene .etch.left, .hero-scene .etch.right-col { display: none; }
}

/* Plate: framed engraving with the product screen floating over it */
.plate { position: relative; display: block; margin: 0; padding: 0 0 30px; border-radius: var(--r-lg); background: var(--paper); overflow: hidden; isolation: isolate; min-width: 0; }
/* the full engraving shows across the top; the product screen overlaps its lower half */
.plate > .etch { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 2; opacity: var(--etch-plate-opacity); z-index: 0; }
.plate > .ui { margin: -31% auto 0; }
.plate::after { /* certificate-style double rule */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px rgba(29, 44, 120, .55), inset 0 0 0 7px var(--paper), inset 0 0 0 8px rgba(29, 44, 120, .35);
}
.plate > .ui { position: relative; z-index: 1; width: 86%; box-shadow: 0 30px 60px -30px rgba(29, 44, 120, .45), 0 1px 2px rgba(35, 31, 32, .06); }
@media (max-width: 920px) { .rail-step .plate { grid-column: 2; } }
@media (max-width: 640px) { .plate > .ui { width: 90%; margin-top: -22%; } .plate { padding-bottom: 20px; } }

/* Rosette watermark on dark / blue bands */
.band-ink, .band-blue { position: relative; overflow: hidden; isolation: isolate; }
.band-mark { position: absolute; z-index: -1; pointer-events: none; width: min(720px, 80vw); aspect-ratio: 1; opacity: var(--etch-dark-opacity); filter: var(--etch-dark-filter); mix-blend-mode: normal; }
.band-mark.c { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.band-mark.r { right: -12%; top: 50%; transform: translateY(-50%); }
.band-mark.l { left: -14%; top: 50%; transform: translateY(-50%); }

/* ---------- Serif headline system (Instrument Serif + italic accent) ---------- */
h1, h2, h3, h4 { line-height: 1.04; }
.hero h1, .funnel-hero h1 { font-size: clamp(48px, 6.2vw, 96px); line-height: 1.02; }
.about-hero .hero-center h1 { font-size: clamp(48px, 7vw, 104px); line-height: 1; }
.h-lg { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.03; }
.h-md { font-size: clamp(30px, 3.4vw, 46px); }
.cta-inner h2 { font-size: clamp(44px, 6vw, 88px); }
.hl, .hero h1 .hl, h1 .hl, h2 .hl, .lf-head h2 em, .lf-done h2 em, .type { font-style: italic; letter-spacing: -0.01em; }
.rail-phase h3, .phase-card h3 { font-style: italic; }
.rail-copy h3 { font-size: clamp(30px, 3.2vw, 44px); }
.panel h3, .next-card h3, .do-card h3, .fit h3, .bureau h3 { letter-spacing: -0.015em; }
.fee-amount { letter-spacing: -0.01em; }
.outcome p, .position-quote, .panel-sum, .letter-body p:last-of-type { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.outcome p { font-style: italic; }
.faq summary { font-size: clamp(21px, 2vw, 25px); }
.review blockquote { font-size: 22px; }
.engage-grid li { font-size: 21px; }
.btn { font-family: var(--text-font); font-weight: 600; letter-spacing: -0.01em; }

/* ==========================================================================
   Case studies (index + case pages) — generated by tools/build_case_studies.py
   ========================================================================== */
.tag-illus { display: inline-flex; align-items: center; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 4px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--white); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); transition: border-color .2s, background-color .2s; }
.filter b { font-family: var(--mono); font-weight: 500; color: var(--blue); }
.filter:hover { border-color: var(--blue); background: var(--blue-tint); }
.disclosure { padding: 22px 26px; border-radius: var(--r-lg); background: #FFFDE8; border: 1px solid rgba(35, 31, 32, .14); box-shadow: inset 4px 0 0 var(--yellow); display: grid; gap: 10px; }
.disclosure .eyebrow { color: var(--ink); }
.disclosure p, .disclosure li { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.disclosure ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.group-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px 56px; align-items: end; margin-bottom: 32px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.group-head .eyebrow { margin-bottom: 14px; }
@media (max-width: 860px) { .group-head { grid-template-columns: 1fr; } }
.case-grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.case-grid-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .case-grid-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .case-grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .case-grid-cards, .case-grid-cards.four { grid-template-columns: 1fr; } }
.case-card { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.cc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cc-n { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.cc-name { font-family: var(--display); font-size: 30px; line-height: 1.05; letter-spacing: -0.015em; }
.cc-biz { font-size: 15px; color: var(--ink-2); }
.cc-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.cc-amt { font-family: var(--display); font-size: 46px; line-height: 1; letter-spacing: -0.01em; color: var(--blue); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cc-lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.cc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cc-go { margin-top: 14px; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }

/* case page */
.case-hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); }
.case-hero > .wrap { position: relative; z-index: 2; display: grid; gap: 20px; }
.case-hero::before { content: ""; position: absolute; left: 0; top: 0; width: 70%; height: 80%; pointer-events: none; z-index: 1; background: radial-gradient(60% 70% at 30% 40%, rgba(247, 247, 247, .96) 30%, rgba(247, 247, 247, 0) 100%); }
.crumb { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); text-decoration: none; }
.crumb svg { width: 16px; height: 16px; }
.crumb:hover { color: var(--blue); }
.case-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.case-hero h1 { font-size: clamp(42px, 5.4vw, 84px); line-height: 1.02; max-width: 18ch; }
.case-who { font-size: 18px; color: var(--text-2); }
.case-who b { color: var(--ink); }
.kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; box-shadow: var(--shadow); margin-top: 8px; }
.kpi > div { display: grid; gap: 8px; padding: 20px 22px; border-right: 1px solid var(--line); }
.kpi > div:last-child { border-right: 0; }
.kpi span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.kpi b { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.kpi > div:first-child b { color: var(--blue); }
@media (max-width: 760px) { .kpi { grid-template-columns: 1fr 1fr; } .kpi > div:nth-child(2) { border-right: 0; } .kpi > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); background: #FFFDE8; border: 1px solid rgba(35, 31, 32, .12); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; line-height: 1.5; color: var(--ink-2); }
.notice svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--ink); }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } .case-grid.rev > :first-child { order: 2; } }
.case-h { margin-top: 16px; }
.case-p { margin-top: 18px; }
.case-p b { color: var(--ink); }
.band-blue .case-p b { color: var(--white); }
.ui-rows.kv li b { font-family: var(--text-font); font-weight: 600; font-size: 15px; }
.sw-grid { display: grid; gap: 12px; margin-top: 26px; }
.sw-card { display: grid; gap: 10px; justify-items: start; padding: 18px 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.sw-card p { font-family: var(--display); font-size: 24px; line-height: 1.2; }
.overall { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; align-items: center; margin-top: 18px; padding: 18px 22px; border-radius: var(--r-md); background: var(--card); }
.overall p { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 700px) { .overall { grid-template-columns: 1fr; justify-items: start; } }
.stack-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(8, 20, 80, .6); }
.stack { list-style: none; margin: 0; padding: 4px 20px; }
.stack li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stack .what { display: grid; gap: 3px; }
.stack .what small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.stack .amt { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; }
.stack .amt b { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: -0.01em; }
.stack .amt i { display: block; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) 0 var(--w), var(--card) var(--w) 100%); }
.stack .amt small { grid-column: 1 / -1; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.stack-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; background: var(--ink); color: var(--on-dark); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.stack-total b { font-family: var(--display); font-weight: 400; font-size: 36px; letter-spacing: -0.01em; text-transform: none; color: var(--yellow); }
.uses { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.uses-bar { display: flex; height: 18px; margin: 20px 22px 6px; border-radius: var(--r-pill); overflow: hidden; background: var(--paper-2); }
.uses-bar i { display: block; height: 100%; }
.uses-list { list-style: none; margin: 0; padding: 6px 22px; }
.uses-list li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 64px; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.uses-list .sw { width: 14px; height: 14px; border-radius: 4px; }
.uses-list .u { font-size: 16px; }
.uses-list b { font-family: var(--display); font-weight: 400; font-size: 24px; }
.uses-list small { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--text-3); text-align: right; }
.uses-foot { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 22px; background: var(--blue-tint); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.uses-foot b { font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: -0.01em; text-transform: none; color: var(--ink); }
.letter-body .letter-foot { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; line-height: 1.6; color: var(--on-dark-2); }
.case-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
@media (max-width: 640px) { .case-nav { grid-template-columns: 1fr; } }
.case-nav .next-card { min-height: 0; }
.case-nav .next-card h3 { font-size: 30px; }
.who-table.ranges tbody th { width: 22%; }

/* "Why we exist" on light paper (team change list) */
.letter.light .letter-body { background: var(--white); border-color: var(--line); color: var(--text-2); box-shadow: var(--shadow); }
.letter.light .letter-body .k { color: var(--blue); }
.letter.light .letter-body p:last-of-type { color: var(--ink); }
/* bureau cards without a chip */
.bureau .top:has(> :only-child) { justify-content: flex-start; }
/* approvals-only ledger on case pages */
.approvals { max-width: 640px; margin: 0 auto; }
.approvals .eyebrow { display: flex; justify-content: center; margin-bottom: 18px; }
.stack.plain li { grid-template-columns: minmax(0, 1fr) auto; }
.stack.plain .amt b { font-size: 32px; }

/* fine print inside white cards that sit on blue/ink bands */
.band-blue .fee-card .fineprint, .band-ink .fee-card .fineprint, .band-blue .stack-card .fineprint { color: var(--text-3); }

/* ==========================================================================
   Landing page (book/index.html → book.fundedassets.com): standalone ad page, not linked from the site
   ========================================================================== */
.lp-logo { display: inline-flex; }
.lp-hero { padding-top: clamp(36px, 5vw, 72px); }
.lp-hero::before { left: 32%; width: min(1000px, 100%); height: 90%; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .lp-hero-grid { grid-template-columns: 1fr; } }
.lp-hero-copy { display: grid; gap: 24px; justify-items: start; padding-top: 6px; }
.lp-hero h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; text-wrap: balance; }
.lp-hero .lead { max-width: 58ch; }
.lp-who { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 58ch; padding-left: 16px; border-left: 3px solid var(--blue); }
.lp-who b { color: var(--ink); }
.lp-hero .meta-strip { justify-content: flex-start; }
.lp-hero .form-card { max-width: none; }
@media (min-width: 981px) { .lp-hero .form-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.lp-form-sub { font-size: 15px; line-height: 1.5; color: var(--text-2); margin-top: -6px; }

/* funding plans (generated) */
.lp-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 1080px) { .lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lp-plans { grid-template-columns: 1fr; } }
.lp-plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.lp-plan-top { padding: 20px 20px 18px; display: grid; gap: 6px; }
.lp-plan-top .cc-top { margin-bottom: 4px; }
.lp-plan h3 { font-size: 26px; line-height: 1.06; letter-spacing: -0.015em; }
.lp-plan .cc-chips { margin-top: 8px; }
.lp-plan ul { list-style: none; margin: 0; padding: 2px 20px 6px; border-top: 1px solid var(--line); flex: 1; }
.lp-plan li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.lp-plan li:last-child { border-bottom: 0; }
.lp-plan li b { font-family: var(--display); font-weight: 400; font-size: 23px; letter-spacing: -0.01em; color: var(--ink); }
.lp-plan li i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue) 0 var(--w), var(--card) var(--w) 100%); }
.lp-plan-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 20px; background: var(--ink); color: var(--on-dark); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.lp-plan-total b { font-family: var(--display); font-weight: 400; font-size: 34px; letter-spacing: -0.01em; text-transform: none; color: var(--yellow); }

/* split letter layout */
.lp-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lp-split.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-split.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.lp-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 18px; align-content: start; }
@media (max-width: 960px) { .lp-split, .lp-split.even, .lp-split.flip { grid-template-columns: 1fr; } .lp-aside { position: static; } }
.lp-prose { display: grid; gap: 20px; font-size: 18.5px; line-height: 1.65; color: var(--text-2); max-width: 64ch; align-content: start; justify-items: start; }
.lp-prose > * { max-width: 100%; }
.lp-prose h2 { color: var(--ink); margin-bottom: 4px; }
.lp-prose .say, .lp-ps-body .say { font-family: var(--display); font-size: clamp(24px, 2.3vw, 31px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.band-ink .lp-prose { color: var(--on-dark-2); }
.band-ink .lp-prose h2, .band-ink .lp-prose .say { color: var(--on-dark); }
.lp-prose .ui { width: 100%; }
.lp-offers { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; font-family: var(--display); font-size: clamp(46px, 6vw, 80px); line-height: 1; letter-spacing: -0.02em; color: var(--blue); }
.lp-offers span:last-of-type { font-style: italic; }
.lp-offers small { flex-basis: 100%; margin-top: 10px; font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.lp-factors .ui-rows li { font-size: 16px; }
.lp-factors .ui-rows li.key { margin: 0 -18px; padding: 14px 18px; background: #FFFDE8; box-shadow: inset 4px 0 0 var(--yellow); color: var(--ink); }
.lp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chips .chip { white-space: normal; line-height: 1.25; }
.band-ink .lp-chips .chip { background: rgba(255, 255, 255, .1); color: var(--on-dark); }

/* month-13 timeline */
.lp-tl { margin: 0; background: var(--white); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.lp-tl-body { padding: 18px 22px 22px; display: grid; gap: 14px; --m: 54.1667%; }
.lp-tl-flag { position: relative; height: 26px; }
.lp-tl-flag span { position: absolute; left: var(--m); bottom: 0; transform: translateX(-50%); font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; background: var(--ink); color: var(--yellow); padding: 5px 8px; border-radius: var(--r-sm); }
.lp-tl-rows { position: relative; display: grid; gap: 16px; }
.lp-tl-rows::after { content: ""; position: absolute; left: var(--m); top: -14px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); }
.lp-tl-row { display: grid; gap: 8px; }
.lp-tl-row .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 14.5px; font-weight: 500; }
.lp-tl-row .top small { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.lp-tl-track { position: relative; height: 16px; border-radius: 4px; overflow: hidden; background: var(--paper-2); }
.lp-tl-track i { position: absolute; top: 0; bottom: 0; }
.lp-tl-track .promo, .lp-tl-legend .sw.promo { background: var(--blue); }
.lp-tl-track .promo { left: 0; width: var(--p); }
.lp-tl-track .reg, .lp-tl-legend .sw.reg { background: repeating-linear-gradient(135deg, rgba(180, 35, 24, .62) 0 4px, rgba(180, 35, 24, .14) 4px 9px); }
.lp-tl-track .reg { left: var(--p); right: 0; }
.lp-tl-axis { position: relative; height: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.lp-tl-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.lp-tl-axis span:first-child { transform: none; }
.lp-tl-axis span:last-child { transform: translateX(-100%); }
.lp-tl-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--text-2); padding-top: 12px; border-top: 1px solid var(--line); }
.lp-tl-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lp-tl-legend .sw { width: 22px; height: 10px; border-radius: 3px; flex: none; }
.lp-mirage { margin-top: clamp(48px, 6vw, 80px); max-width: 38ch; }

/* statement + sequence */
.lp-statement { margin-bottom: 0; }
.lp-statement .lead { margin: 0 auto; }
.lp-steps-wrap { margin-top: clamp(64px, 8vw, 112px); }
.lp-steps-h { font-size: clamp(30px, 3.4vw, 46px); text-align: center; margin: 0 auto clamp(32px, 4vw, 52px); max-width: 22ch; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.lp-steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); opacity: .45; }
.lp-step { position: relative; display: flex; flex-direction: column; gap: 16px; }
.lp-step .node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: .06em; box-shadow: 0 0 0 8px var(--paper); }
.lp-step .card { flex: 1; display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.lp-step h3 { font-size: 27px; line-height: 1.06; letter-spacing: -0.015em; }
.lp-step p { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 1040px) { .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-steps::before { display: none; } }
@media (max-width: 600px) { .lp-steps { grid-template-columns: 1fr; } }
.outcome.lp-objective { margin: clamp(28px, 3vw, 40px) 0 0; }
@media (max-width: 520px) { .outcome.lp-objective { padding: 22px; } }

/* percentage band */
.lp-q { background: var(--white); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(8, 20, 80, .6); }
.lp-q ol { list-style: none; margin: 0; padding: 6px 22px; }
.lp-q li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(20px, 1.9vw, 25px); line-height: 1.2; letter-spacing: -0.015em; }
.lp-q li:last-child { border-bottom: 0; }
.lp-q li > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); font-family: var(--mono); font-size: 14px; font-weight: 500; }
.lp-q li.key > span { background: var(--yellow); color: var(--ink); }
.lp-big { margin: clamp(64px, 8vw, 112px) auto 0; max-width: 24ch; text-align: center; font-family: var(--display); font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }

/* comparison */
.lp-vs { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.lp-vs-head, .lp-vs-row { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr) minmax(0, 1.25fr); }
.lp-vs-head > div { padding: 15px 22px; background: var(--ink); color: var(--on-dark-2); font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.lp-vs-head > div.us { background: var(--blue); color: var(--white); }
.lp-vs-row > div { padding: 20px 22px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; }
.lp-vs-head + .lp-vs-row > div { border-top: 0; }
.lp-vs-row .k { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); padding-top: 24px; }
.lp-vs-row .them { color: var(--text-2); }
.lp-vs-row .us { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-content: start; background: var(--blue-tint); color: var(--ink); border-top-color: var(--blue-14); }
.lp-vs-row .us svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
@media (max-width: 760px) {
  .lp-vs-head { display: none; }
  .lp-vs-row { grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
  .lp-vs-head + .lp-vs-row { border-top: 0; }
  .lp-vs-row > div { border-top: 0; padding: 6px 20px; }
  .lp-vs-row .k { padding: 18px 20px 4px; color: var(--blue); }
  .lp-vs-row .them { padding-bottom: 14px; }
  .lp-vs-row [data-l]::before { content: attr(data-l); display: block; grid-column: 1 / -1; margin-bottom: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
  .lp-vs-row .us { padding: 14px 20px 18px; }
}

/* exit plan + agenda */
.lp-terms .ui-rows li, .lp-agenda .ui-rows li { font-size: 15.5px; }
.lp-know { gap: 10px; }
.band-ink .lp-know li { color: var(--on-dark); }
.band-ink .ticks.pos svg { color: var(--yellow); }
.lp-agenda .ui-person { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.lp-agenda-lbl { padding: 14px 18px 0; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.lp-agenda-foot { display: grid; gap: 16px; padding: 18px; border-top: 1px solid var(--line); background: #FBFBFB; }
.lp-agenda-foot p { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.lp-fit-note { font-size: 14.5px; line-height: 1.6; color: var(--text-2); padding-top: 14px; border-top: 1px solid var(--line); }

/* P.S. */
.lp-ps { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px clamp(20px, 3vw, 36px); padding: clamp(26px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.lp-ps .ps { font-family: var(--display); font-style: italic; font-size: clamp(48px, 5vw, 68px); line-height: .9; color: var(--blue); }
.lp-ps-body { display: grid; gap: 16px; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.lp-ps-body .link-arrow { font-weight: 600; }
@media (max-width: 600px) { .lp-ps { grid-template-columns: 1fr; } }
/* white product cards placed on dark bands keep dark text */
.band-ink .ui:not(.dark), .band-blue .ui:not(.dark) { color: var(--ink); }
.band-ink .lp-tl .fineprint { color: var(--text-3); }
/* white cards on the dark band: a hairline keeps their dark header from merging into the background */
.band-ink .fee-card, .band-ink .stack-card, .band-ink .lp-tl, .band-ink .ui:not(.dark) { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 80px -40px rgba(0, 0, 0, .85); }

/* ==========================================================================
   Responsive alignment system (tablet + phone)
   One central axis on smaller screens: section eyebrows, headings, intro text
   and main buttons are centered; cards, lists, tables and long reading text stay
   left-aligned inside full-width blocks that share the same side gutters.
   Stacked layouts become a single 680px column, centered on tablets.
   ========================================================================== */

/* ---------- ≤ 980px: landing page hero stacks into one centered column */
@media (max-width: 980px) {
  .wrap.lp-hero-grid { max-width: calc(680px + var(--gutter) * 2); }
  .lp-hero-copy { justify-items: center; text-align: center; }
  .lp-hero .lead, .lp-who { margin-left: auto; margin-right: auto; }
  .lp-who { padding-left: 0; border-left: 0; }
  .lp-hero .meta-strip { justify-content: center; }
  .lp-hero::before { left: 50%; }
}

/* ---------- ≤ 960px: stacked two-column sections */
@media (max-width: 960px) {
  :root { --section: clamp(64px, 9vw, 96px); }
  .wrap.lp-split, .wrap.position-grid { max-width: calc(680px + var(--gutter) * 2); }
  .compare-grid, .phase-cards, .lp-vs { max-width: 680px; margin-left: auto; margin-right: auto; }

  /* every section head on one centered axis */
  .section-head { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
  .lp-aside > .eyebrow, .lp-prose > .eyebrow { justify-self: center; }
  .lp-aside > h2, .lp-prose > h2 { text-align: center; justify-self: stretch; }
  .lp-aside { justify-items: stretch; }
  .position-copy { justify-items: center; text-align: center; }
  .position-copy .lead { margin-left: auto; margin-right: auto; }
  .position-quote { padding: 18px 0 0; border-left: 0; position: relative; }
  .position-quote::before { content: ""; position: absolute; top: 0; left: 50%; width: 48px; height: 3px; margin-left: -24px; background: var(--yellow); }
  .lp-mirage { margin-left: auto; margin-right: auto; text-align: center; }
  .lp-steps-h { max-width: 18ch; }
}

/* ---------- ≤ 920px: the process timeline drops its side rail; every step runs
   full width in the centered 680px column (same treatment on tablets and phones) */
@media (max-width: 920px) {
  .rail { max-width: 680px; margin-left: auto; margin-right: auto; }
  .rail::before { display: none; }
  .rail-phase { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 0 18px; }
  .rail-step { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 4px 0 36px; }
  .rail-node { width: 40px; height: 40px; font-size: 13px; background: var(--blue); color: var(--white); box-shadow: none; }
  .rail-copy { padding-top: 0; gap: 10px; }
  .rail-copy p { max-width: none; }
  .rail-step .plate, .rail-step .ui { grid-column: 1 / -1; }
  .outcome { margin: 0 0 24px; grid-template-columns: 1fr; }
  .rail-note { max-width: 680px; margin: 8px auto 0; }
}

/* ---------- ≤ 900px: layouts that stack at 900 */
@media (max-width: 900px) {
  .wrap.pattern-grid, .wrap.faq-grid, .wrap.case-grid, .wrap.letter { max-width: calc(680px + var(--gutter) * 2); }
  .cards-3, .bureau-grid { max-width: 680px; margin-left: auto; margin-right: auto; }
  .pattern-grid > :first-child, .letter > :first-child, .faq-side { display: grid; justify-items: center; text-align: center; }
  .pattern-grid > :first-child .lead { margin-left: auto; margin-right: auto; }
  .faq-side { gap: 18px; }
  .faq-side > div { width: 100%; display: flex; justify-content: center; }
  .case-grid > div > .eyebrow { display: flex; justify-content: center; }
  .case-grid > div > h2, .case-grid > div > .lead { text-align: center; margin-left: auto; margin-right: auto; }
  .case-grid > div > .lead { max-width: 60ch; }
  .case-hero > .wrap { justify-items: center; text-align: center; }
  .case-hero h1 { margin-left: auto; margin-right: auto; }
  .case-hero .kpi { width: 100%; text-align: left; }
  .case-eyebrow { justify-content: center; }
  .approvals { max-width: 680px; }
}

/* ---------- ≤ 860px: case-study group heads */
@media (max-width: 860px) {
  .group-head { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
  .group-head .eyebrow { justify-content: center; }
  .group-head .lead { margin-left: auto; margin-right: auto; }
}
@media (max-width: 800px) {
  .fit-grid { max-width: 680px; margin-left: auto; margin-right: auto; }
}

/* ---------- ≤ 640px: phones */
@media (max-width: 640px) {
  :root { --section: 64px; }
  body { font-size: 16.5px; }

  /* type scale: the serif runs narrow, so these stay readable without crowding */
  .hero h1, .funnel-hero h1 { font-size: 44px; }
  .lp-hero h1 { font-size: 38px; }
  .about-hero .hero-center h1 { font-size: 46px; }
  .case-hero h1 { font-size: 38px; }
  .h-lg { font-size: 36px; }
  .h-md, .lp-steps-h { font-size: 31px; }
  .cta-inner h2 { font-size: 42px; }
  .lead { font-size: 17px; }
  .lp-prose { font-size: 17px; gap: 18px; }
  .lp-prose .say, .lp-ps-body .say { font-size: 24px; }
  .lp-big { font-size: 34px; }
  .lp-offers { font-size: 46px; }
  .section-head { gap: 14px; margin-bottom: 36px; }

  /* hero engravings sit behind headlines on phones, so they are hidden there */
  .hero .hero-scene, .about-hero .hero-scene, .case-hero .hero-scene, .funnel-hero .hero-scene { display: none; }

  /* meta strip: a marker on every item, so wrapped lines never start with a stray dot */
  .meta-strip { gap: 8px 18px; letter-spacing: .12em; }
  .meta-strip li { display: inline-flex; align-items: center; gap: 8px; }
  .meta-strip li::before, .meta-strip li + li::before { content: ""; width: 5px; height: 5px; margin: 0; border-radius: 1px; background: var(--blue); flex: none; }
  .band-ink .meta-strip li::before, .band-ink .meta-strip li + li::before, .band-blue .meta-strip li::before, .band-blue .meta-strip li + li::before { background: var(--yellow); }

  /* main buttons: full width on one centered axis, text centered when it wraps */
  main .btn:not(.btn-sm):not(.lf-submit) { width: 100%; max-width: 440px; min-height: 56px; height: auto; padding: 14px 20px; text-align: center; line-height: 1.25; }
  .hero-actions, .center-cta { width: 100%; justify-items: center; }
  .hero-actions { flex-direction: column; align-items: center; }

  /* card headers: smaller labels, the status on the right never wraps */
  .ui-head, .form-card-head, .panel-top, .route-head, .stack-total, .record-foot, .lp-plan-total { padding-left: 16px; padding-right: 16px; }
  .ui-head, .form-card-head, .panel-top, .route-head { font-size: 10.5px; letter-spacing: .1em; gap: 10px; }
  .ui-head > span:last-child, .form-card-head > span:last-child, .panel-top > span:last-child { white-space: nowrap; flex: none; }
  .ui-head > span:first-child { min-width: 0; }
  .ui-chrome span { font-size: 9.5px; letter-spacing: .08em; text-align: right; }

  .rail-phase h3 { font-size: 34px; }
  .rail-copy h3 { font-size: 30px; }
  .rail-copy p { font-size: 16.5px; }
  .outcome { padding: 22px; }
  .outcome.lp-objective { margin-top: 24px; padding: 22px; }

  /* long status labels may wrap rather than push past the screen edge */
  .overall { grid-template-columns: minmax(0, 1fr); }
  .overall .chip, .case-eyebrow .chip { white-space: normal; line-height: 1.35; }

  /* small pieces that read better centered on a phone */
  .replaces { justify-content: center; text-align: center; }
  .flow-line { gap: 8px; }
  .lp-chips { justify-content: flex-start; }
  .fineprint { text-align: center; }
  .ui .fineprint, .fee-card .fineprint, .lp-tl .fineprint, .form-card .fineprint, .lp-fit-note { text-align: left; }

  /* planned-use table on case pages: amount and share stack on the right */
  .uses-list li { grid-template-columns: 14px minmax(0, 1fr) auto; gap: 4px 12px; }
  .uses-list small { grid-column: 3; text-align: right; }
  .uses-list b { grid-column: 3; grid-row: 1; text-align: right; }
  .uses-list .u { grid-column: 2; grid-row: 1 / span 2; }
  .uses-list .sw { grid-row: 1 / span 2; align-self: center; }

  /* P.S. and footers on the centered axis */
  .lp-ps { text-align: left; }
  .apply-foot { text-align: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; text-align: center; }
  .foot-brand { grid-column: 1 / -1; justify-items: center; }
  .foot-brand p { margin-left: auto; margin-right: auto; }
  .foot-col:last-child { grid-column: 1 / -1; }
  .foot-legal { text-align: center; margin-top: 40px; }
}

/* ---------- ≤ 380px: small phones */
@media (max-width: 380px) {
  .hero h1, .funnel-hero h1 { font-size: 39px; }
  .lp-hero h1, .case-hero h1 { font-size: 34px; }
  .h-lg { font-size: 32px; }
  .h-md, .lp-steps-h { font-size: 28px; }
  .cta-inner h2 { font-size: 37px; }
  .lp-offers { font-size: 40px; }
  .pill-eyebrow { font-size: 9.5px; }
}

/* ==========================================================================
   Legal pages: /privacy, /terms, /disclaimer
   ========================================================================== */
.legal-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.legal-doc { max-width: 760px; margin: 0 auto; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 44px; }
.legal-nav a { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); text-decoration: none; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); transition: color .2s, border-color .2s, background-color .2s; }
.legal-nav a:hover { color: var(--blue); border-color: var(--blue); }
.legal-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.legal-doc .legal-updated { margin: 0 0 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.legal-standing { margin: 0; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--r-md); }
.legal-standing .k { margin: 0 0 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.legal-standing p:last-child { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.legal-doc h2 { margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; }
.legal-updated + h2 { margin-top: 8px; }
.legal-doc > p, .legal-doc li { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.legal-doc > p { margin: 0 0 16px; }
.legal-doc b { font-weight: 600; color: var(--text); }
.legal-doc > p a, .legal-doc li a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-doc > p a:hover, .legal-doc li a:hover { color: var(--blue-hover); }
.legal-doc ul { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.legal-doc li { position: relative; padding-left: 22px; }
.legal-doc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.cta-inner p a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .legal-nav { margin-bottom: 32px; }
  .legal-nav a { padding: 8px 13px; font-size: 11px; }
  .legal-doc h2 { margin-top: 36px; padding-top: 22px; }
  .legal-doc > p, .legal-doc li { font-size: 16px; }
  .legal-standing { padding: 18px; }
}
