/* =========================================================================
   BIX — design system
   Navy · graphite · warm neutrals · restrained champagne gold
   ========================================================================= */

:root {
  /* Surfaces */
  --navy-950: #070b15;
  --navy-900: #0a1020;
  --navy-850: #0d1427;
  --navy-800: #111a30;
  --navy-750: #16203a;
  --graphite: #1b2132;
  --line: rgba(226, 232, 245, 0.08);
  --line-strong: rgba(226, 232, 245, 0.14);

  /* Paper (light sections) */
  --paper: #f3f0e9;
  --paper-2: #ebe6dc;
  --ink: #121826;
  --ink-muted: #4b5365;
  --paper-line: rgba(18, 24, 38, 0.1);

  /* Text */
  --text: #e9ebf1;
  --text-muted: #a3abbd;
  --text-dim: #6f788c;

  /* Accents */
  --gold: #c9a96b;
  --gold-bright: #e4cc9a;
  --gold-deep: #7a6232;
  --gold-soft: rgba(201, 169, 107, 0.12);
  --gold-line: rgba(201, 169, 107, 0.35);
  --ref: #7484a6;
  --ref-soft: rgba(116, 132, 166, 0.16);
  --positive: #8cc7a9;

  /* Type */
  --font-sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --section-y: clamp(80px, 11vw, 148px);

  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--line);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--navy-950); }
.tabular { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow-plain::before { display: none; }

.display {
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 500;
}
.h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06; letter-spacing: -0.03em; font-weight: 500;
}
.h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.gold { color: var(--gold-bright); }
.lead { font-size: clamp(18px, 1.5vw, 20.5px); line-height: 1.55; color: var(--text-muted); max-width: 640px; }
.muted { color: var(--text-muted); }
.small { font-size: 14px; }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 72px); max-width: 780px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; background: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-gold { background: var(--gold); color: #120e06; box-shadow: 0 10px 30px -12px rgba(201,169,107,.55); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-outline:hover { border-color: var(--gold-line); background: var(--gold-soft); }
.btn-ghost { color: var(--text-muted); border-color: var(--line); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,0.05); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.paper .btn-outline { color: var(--ink); border-color: var(--paper-line); background: transparent; }
.paper .btn-outline:hover { border-color: var(--gold-deep); background: rgba(154,127,76,.08); }

.text-link { color: var(--gold-bright); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.paper .text-link { color: var(--gold-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.nav-open {
  background: rgba(8, 12, 24, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand { gap: 11px; }
.brand-mark { width: 32px; height: 32px; color: #ece6d8; flex: none; overflow: visible; }
.brand-word span { color: var(--gold-bright); }
/* Logo: rings ease a few degrees on hover, echoing the hero orbit */
.brand-mark g { transform-box: view-box; transform-origin: 50% 50%; transition: transform 1.2s var(--ease); }
.brand:hover .bm-o { transform: rotate(18deg); }
.brand:hover .bm-m { transform: rotate(36deg); }
.brand:hover .bm-i { transform: rotate(60deg); }
.brand-word { font-weight: 600; letter-spacing: -0.01em; font-size: 19px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 30px; }
.nav ul a { font-size: 15px; color: var(--text-muted); transition: color .2s; position: relative; padding: 6px 0; }
.nav ul a:hover, .nav ul a[aria-current='page'] { color: var(--text); }
.nav ul a[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 28px var(--gutter) 40px; background: var(--navy-950);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; font-size: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav ul a[aria-current='page']::after { display: none; }
  .nav .btn { width: 100%; --h: 56px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: clamp(64px, 8vw, 104px); }
.section-dark { background: var(--navy-950); }
.section-alt { background: var(--navy-850); }
.paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.paper .lead, .paper .muted { color: var(--ink-muted); }
.paper .eyebrow { color: var(--gold-deep); }
.divider-top { border-top: 1px solid var(--line); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal='2'] { transition-delay: .08s; }
.js [data-reveal='3'] { transition-delay: .16s; }
.js [data-reveal='4'] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 9vw, 128px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 78% 20%, rgba(201,169,107,0.10), transparent 70%),
    radial-gradient(50% 60% at 10% 0%, rgba(70,92,150,0.18), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); } }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero-copy .display em { display: block; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03);
  font-size: 13.5px; color: var(--text-muted);
}
.pill b { font-weight: 600; color: var(--navy-950); background: var(--gold); border-radius: 999px; padding: 2px 9px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--text-dim); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .8; }

/* Hero dashboard preview */
.dash {
  position: relative; border-radius: var(--radius-lg); background: linear-gradient(180deg, #121b31 0%, #0d1428 100%);
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px;
}
.dash::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(228,204,154,.35), transparent 35%, transparent 70%, rgba(228,204,154,.15)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dash-top .dash-title { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .02em; }
.dash-top .dash-title svg { width: 24px; height: 24px; color: #ece6d8; }
.dash-top .crumb { color: var(--text-dim); font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--gold-line); color: var(--gold-bright); background: var(--gold-soft); }
.dash-body { display: grid; gap: 14px; padding: 18px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.dash-kpi { padding: 14px; border-radius: 12px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); display: grid; gap: 4px; }
.dash-kpi .k-label { color: var(--text-dim); font-size: 11.5px; letter-spacing: .02em; }
.dash-kpi .k-value { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dash-kpi .k-sub { font-size: 11.5px; color: var(--positive); }
.dash-kpi .k-sub.neutral { color: var(--text-muted); }
.dash-chart { grid-column: 1 / -1; padding: 14px 14px 8px; border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px solid var(--line); }
.dash-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; flex-wrap: wrap; }
.dash-chart-head h3 { font-size: 13px; font-weight: 600; }
.dash-legend { display: flex; gap: 14px; color: var(--text-muted); font-size: 11.5px; }
.dash-legend i { display: inline-block; width: 14px; height: 2px; margin-right: 6px; vertical-align: middle; background: var(--ref); }
.dash-legend i.g { background: var(--gold); }
.dash-svg { width: 100%; height: auto; overflow: visible; }
.dash-svg .gridline { stroke: var(--line); }
.dash-svg .axis-label { fill: var(--text-dim); font-size: 10px; font-family: var(--font-sans); }
.dash-svg .line-ref { fill: none; stroke: var(--ref); stroke-width: 2; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.8s .3s var(--ease) forwards; }
.dash-svg .line-gold { fill: none; stroke: var(--gold); stroke-width: 2.25; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s .7s var(--ease) forwards; }
.dash-svg .area-gold { fill: url(#goldArea); opacity: 0; animation: fade 1.2s 1.6s ease forwards; }
.dash-svg .pt { fill: var(--gold-bright); opacity: 0; animation: fade .6s 2.6s ease forwards; }
.dash-svg .pt-ring { fill: none; stroke: var(--gold); opacity: 0; transform-origin: center; transform-box: fill-box; animation: fade .6s 2.6s ease forwards, pulse 2.6s 3.2s ease-out infinite; }
.dash-svg .annot { fill: var(--gold-bright); font-size: 10.5px; font-weight: 600; opacity: 0; animation: fade .6s 2.8s ease forwards; font-family: var(--font-sans); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
.dash-decisions { grid-column: 1 / -1; display: grid; gap: 8px; }
.dash-decisions h3 { font-size: 13px; font-weight: 600; margin-bottom: 2px; display: flex; justify-content: space-between; }
.dash-decisions h3 span { color: var(--text-dim); font-weight: 500; }
.decision { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.015); transition: border-color .4s, background-color .4s; }
.decision.is-active { border-color: var(--gold-line); background: var(--gold-soft); }
.decision .d-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.decision .d-name small { display: block; color: var(--text-dim); font-size: 11.5px; font-weight: 400; }
.decision .d-impact { color: var(--text-muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.chip { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; min-width: 96px; text-align: center; border: 1px solid var(--line-strong); color: var(--text-muted); transition: all .4s var(--ease); }
.chip[data-state='simulating'] { color: var(--gold-bright); border-color: var(--gold-line); }
.chip[data-state='recommended'] { color: var(--navy-950); background: var(--gold); border-color: var(--gold); }
.dash-foot { padding: 10px 18px; border-top: 1px solid var(--line); color: var(--text-dim); font-size: 11.5px; display: flex; justify-content: space-between; gap: 10px; }
@media (max-width: 640px) {
  .dash-body { grid-template-columns: 1fr 1fr; padding: 12px; gap: 10px; }
  .dash-kpi:nth-child(3) { display: none; }
  .decision { grid-template-columns: minmax(0,1fr) auto; }
  .decision .d-impact { display: none; }
  .dash-top .crumb { display: none; }
}

/* ---------- Problem / comparison ---------- */
.quote-big { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 400; max-width: 920px; }
.stages3 { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: clamp(48px, 6vw, 72px); }
@media (max-width: 900px) { .stages3 { grid-template-columns: 1fr; } }
.stage-card {
  position: relative; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: rgba(255,255,255,0.02); display: grid; gap: 14px; align-content: start;
}
.stage-card .stage-num { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.stage-card h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.stage-card p { color: var(--text-muted); font-size: 15.5px; }
.stage-card .viz { height: 96px; margin: 6px 0 4px; }
.stage-card.is-gold { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(201,169,107,0.09), rgba(201,169,107,0.02)); }
.stage-card.is-gold .stage-num { color: var(--gold); }
.stage-card ul { display: grid; gap: 8px; font-size: 14.5px; color: var(--text-muted); }
.stage-card li { display: flex; gap: 10px; }
.stage-card li::before { content: ''; flex: 0 0 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--text-dim); }
.stage-card.is-gold li::before { background: var(--gold); }

.compare { margin-top: clamp(48px, 6vw, 72px); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.compare-row > div { padding: 18px 26px; border-top: 1px solid var(--line); font-size: 15.5px; }
.compare-row > div + div { border-left: 1px solid var(--line); background: rgba(201,169,107,0.04); }
.compare-row:first-child > div { border-top: 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--text-dim); padding-block: 16px; }
.compare-row:first-child > div + div { color: var(--gold); }
.compare-row > div:first-child { color: var(--text-muted); }
@media (max-width: 640px) { .compare-row > div { padding: 14px 16px; font-size: 14.5px; } }

/* ---------- Simulator section ---------- */
.sim-section { background: radial-gradient(80% 50% at 50% 0%, rgba(201,169,107,0.07), transparent 70%), var(--navy-950); }
.sim {
  border-radius: 24px; background: linear-gradient(180deg, #10182c, #0b1222);
  box-shadow: var(--shadow-lg); position: relative; font-size: 15px;
}
.sim-topbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.sim-title { display: flex; align-items: center; gap: 12px; font-weight: 600; flex-wrap: wrap; }
.sim-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.sim-crumb { color: var(--text-dim); font-weight: 500; }
.sim-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sim-body { display: grid; grid-template-columns: 320px minmax(0, 1fr); }
@media (max-width: 1080px) { .sim-body { grid-template-columns: 1fr; } }

.sim-inputs { padding: 24px 22px; border-right: 1px solid var(--line); display: grid; gap: 26px; align-content: start; background: rgba(255,255,255,0.012); }
@media (max-width: 1080px) {
  .sim-inputs { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 32px; }
  .sim-panel-head { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .sim-inputs { grid-template-columns: 1fr; padding: 20px 16px; } }
.sim-panel-head h3 { font-size: 16px; font-weight: 600; }
.sim-panel-head p { color: var(--text-dim); font-size: 13.5px; margin-top: 4px; }

.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.field-head label, .field-legend { font-size: 14px; font-weight: 500; color: var(--text); padding: 0; }
.field-legend { margin-bottom: 10px; }
.num { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-strong); background: rgba(0,0,0,0.25); color: var(--text-muted); font-size: 13px; transition: border-color .2s; }
.num:focus-within { border-color: var(--gold); }
.num input { width: 58px; border: 0; background: transparent; text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; font-size: 14.5px; padding: 0; outline: none; -moz-appearance: textfield; appearance: textfield; }
.num input#sim1-sales, .num input[inputmode='numeric'] { width: 112px; }
.num input::-webkit-outer-spin-button, .num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field-scale { display: flex; justify-content: space-between; color: var(--text-dim); font-size: 11.5px; margin-top: -4px; }
.field-note { font-size: 12.5px; color: var(--gold); margin-top: -2px; }
.field-accent .field-head label { color: var(--gold-bright); }

input[type='range'] {
  --fill: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; cursor: pointer;
}
input[type='range']::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--track-fill, var(--text-muted)) var(--fill), rgba(255,255,255,0.1) var(--fill)); }
input[type='range']::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.1); }
input[type='range']::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--track-fill, var(--text-muted)); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #f4efe4; border: 0; box-shadow: 0 0 0 5px rgba(255,255,255,0.08), 0 4px 10px rgba(0,0,0,.4); transition: box-shadow .2s; }
input[type='range']::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #f4efe4; border: 0; box-shadow: 0 0 0 5px rgba(255,255,255,0.08), 0 4px 10px rgba(0,0,0,.4); }
input[type='range']:hover::-webkit-slider-thumb, input[type='range']:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 8px var(--gold-soft), 0 4px 10px rgba(0,0,0,.4); }
input[type='range']:focus-visible { outline: none; }
input[type='range']:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
input[type='range']:focus-visible::-moz-range-thumb { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.field-accent input[type='range'] { --track-fill: var(--gold); }
.field-accent input[type='range']::-webkit-slider-thumb { background: var(--gold-bright); }
.field-accent input[type='range']::-moz-range-thumb { background: var(--gold-bright); }

.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(0,0,0,0.25); }
.seg-item { position: relative; }
.seg-item input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg-item span { display: block; text-align: center; padding: 8px 0; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--text-muted); transition: background-color .2s, color .2s; font-variant-numeric: tabular-nums; }
.seg-item abbr { text-decoration: none; font-weight: 500; opacity: .7; margin-left: 1px; }
.seg-item input:checked + span { background: var(--gold); color: var(--navy-950); }
.seg-item input:focus-visible + span { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.seg-item:hover input:not(:checked) + span { color: var(--text); background: rgba(255,255,255,0.05); }

.sim-main { padding: 22px; display: grid; gap: 18px; min-width: 0; }
@media (max-width: 640px) { .sim-main { padding: 16px; } }
.sim-scenarios { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
@media (max-width: 760px) { .sim-scenarios { grid-template-columns: 1fr; } }
.scenario { padding: 18px; border-radius: 16px; border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; background: rgba(255,255,255,0.02); }
.scenario h4 { font-size: 15px; font-weight: 600; margin-top: 6px; }
.scenario-dso { display: flex; align-items: baseline; gap: 8px; font-size: 40px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.scenario-dso small { font-size: 13px; color: var(--text-dim); font-weight: 500; letter-spacing: 0; }
.scenario-meta { color: var(--text-muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.scenario-foot { font-size: 12px; color: var(--text-dim); border-top: 1px dashed var(--line-strong); padding-top: 10px; margin-top: 6px; }
.scenario-ref .scenario-dso { color: #c7cfdf; }
.scenario-hyp { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(201,169,107,0.12), rgba(201,169,107,0.03)); }
.scenario-hyp .scenario-dso { color: var(--gold-bright); }
.scenario-delta { color: var(--gold) !important; font-weight: 600; }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.tag-ref { color: #b6c1d9; background: var(--ref-soft); }
.tag-hyp { color: var(--navy-950); background: var(--gold); }

.sim-kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (max-width: 760px) { .sim-kpis { grid-template-columns: 1fr; } }
.kpi { padding: 18px 20px; display: grid; gap: 4px; }
.kpi + .kpi { border-left: 1px solid var(--line); }
@media (max-width: 760px) { .kpi + .kpi { border-left: 0; border-top: 1px solid var(--line); } }
.kpi-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.kpi-value { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi-note { font-size: 12px; color: var(--text-dim); }
.kpi-gold { background: linear-gradient(180deg, rgba(201,169,107,0.1), rgba(201,169,107,0.02)); }
.kpi-gold .kpi-value { color: var(--gold-bright); }

.sim-charts, .sim-bottom { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (max-width: 860px) { .sim-charts, .sim-bottom { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: rgba(255,255,255,0.015); min-width: 0; }
.panel-title { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* DSO chart */
.dso-chart { display: grid; gap: 4px; }
.dso-rows { display: grid; gap: 14px; }
.dso-row { display: grid; gap: 6px; }
.dso-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-muted); }
.dso-label em { font-style: normal; color: var(--text-dim); font-size: 11.5px; }
.dso-track { height: 26px; border-radius: 7px; background: rgba(255,255,255,0.035); position: relative; }
.dso-bar { height: 100%; border-radius: 7px; background: linear-gradient(90deg, rgba(116,132,166,.55), rgba(116,132,166,.85)); width: 0; transition: width .6s var(--ease); position: relative; min-width: 56px; }
.dso-row[data-id='optimised'] .dso-bar { background: linear-gradient(90deg, rgba(201,169,107,.6), var(--gold)); }
.dso-row[data-id='optimised'] .dso-label span { color: var(--gold-bright); font-weight: 600; }
.dso-value { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 600; color: #0b1020; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dso-axis { position: relative; height: 18px; margin-top: 8px; border-top: 1px solid var(--line); }
.dso-axis span { position: absolute; top: 4px; transform: translateX(-50%); font-size: 10.5px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.dso-axis span:first-child { transform: none; }
.dso-axis span:last-child { transform: translateX(-100%); }

/* Cumulative chart */
.cum-chart { position: relative; height: 200px; margin-left: 46px; }
.cum-grid { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; }
.cum-gridline { border-top: 1px solid var(--line); height: 0; position: relative; }
.cum-gridline span { position: absolute; right: calc(100% + 8px); top: -8px; font-size: 10.5px; color: var(--text-dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cum-cols { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: clamp(8px, 3%, 22px); padding: 0 6px; }
.cum-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; max-width: 72px; margin-inline: auto; }
.cum-bar { height: 0; position: relative; display: flex; flex-direction: column; transition: height .6s var(--ease); border-radius: 6px 6px 2px 2px; }
.cum-new { flex: 1; background: var(--gold); border-radius: 6px 6px 0 0; min-height: 2px; }
.cum-prior { background: rgba(201,169,107,0.38); transition: height .6s var(--ease); border-radius: 0 0 2px 2px; }
.cum-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cum-year { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--text-dim); white-space: nowrap; }
.legend { margin-top: 34px; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-dim); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.lg-prior { background: rgba(201,169,107,0.38); }
.lg-new { background: var(--gold); margin-left: 10px; }
@media (max-width: 480px) { .cum-tip { font-size: 9.5px; } .cum-year { font-size: 10px; } }

.insight { background: linear-gradient(180deg, rgba(201,169,107,0.07), transparent); border-color: var(--gold-line); }
.insight-icon { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--gold); position: relative; }
.insight-icon::after { content: ''; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--gold); }
.insight-headline { font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 500; }
.insight-points { margin-top: 14px; display: grid; gap: 10px; }
.insight-points li { font-size: 14px; color: var(--text-muted); padding-left: 18px; position: relative; }
.insight-points li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 1px; background: var(--gold); }
.method dl { display: grid; gap: 14px; }
.method dt { font-size: 13px; font-weight: 600; }
.method dt em { font-style: normal; font-weight: 500; color: var(--gold); font-size: 11.5px; margin-left: 6px; text-transform: uppercase; letter-spacing: .08em; }
.method dd.formula { font-size: 13px; color: var(--text-muted); }
.method dd.live { font-size: 12.5px; color: var(--gold-bright); font-variant-numeric: tabular-nums; font-family: ui-monospace, 'SF Mono', Menlo, monospace; margin-top: 2px; overflow-wrap: anywhere; }
.method-note { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: 12.5px; color: var(--text-dim); }

.sim-disclaimer { display: flex; gap: 10px; align-items: flex-start; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-muted); }
.sim-disclaimer svg { flex: 0 0 16px; margin-top: 2px; color: var(--gold); }
.sim-copy-fallback { padding: 0 22px 16px; display: grid; gap: 8px; font-size: 13px; color: var(--text-muted); }
.sim-copy-fallback textarea { width: 100%; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(0,0,0,0.3); padding: 12px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--text); }
.sim-status { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: opacity .25s, transform .25s var(--ease); width: max-content; max-width: calc(100% - 32px); }
.sim-status.is-shown { opacity: 1; transform: translate(-50%, 0); }
.sim-status:empty { display: none; }

.sim-cta { margin-top: clamp(40px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px 32px; border-radius: var(--radius-lg); border: 1px solid var(--gold-line); background: linear-gradient(90deg, rgba(201,169,107,0.1), rgba(201,169,107,0.02)); }
.sim-cta h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.015em; max-width: 560px; }
.sim-cta p { color: var(--text-muted); font-size: 15px; margin-top: 6px; }
.sim-note { margin-top: 18px; font-size: 13.5px; color: var(--text-dim); max-width: 860px; }

/* ---------- How it works ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; position: relative; counter-reset: flow; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.flow-step { padding: 28px 26px 30px; position: relative; display: grid; gap: 14px; align-content: start; }
@media (min-width: 961px) {
  .flow-step + .flow-step { border-left: 1px solid var(--paper-line); }
  .flow-step:not(:last-child)::after { content: ''; position: absolute; right: -7px; top: 74px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold-deep); z-index: 1; }
}
@media (max-width: 960px) { .flow-step { border: 1px solid var(--paper-line); border-radius: var(--radius); background: rgba(255,255,255,0.4); } }
.flow-step .num-label { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.flow-step h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.flow-step p { color: var(--ink-muted); font-size: 15.5px; }
.flow-step svg { width: 100%; max-width: 200px; height: 84px; }
.diag-ink { stroke: var(--ink); }
.diag-muted { stroke: #9aa0ac; }
.diag-gold { stroke: var(--gold-deep); }
.diag-fill-gold { fill: var(--gold-deep); }
.diag-fill-ink { fill: var(--ink); }
.diag-fill-muted { fill: #c7c3b8; }

.when { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 860px) { .when { grid-template-columns: 1fr; } }
.when-card { padding: 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--paper-line); display: grid; gap: 8px; }
.when-card .when-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.when-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.when-card p { color: var(--ink-muted); font-size: 15px; }

/* ---------- Loop ---------- */
.loop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 960px) { .loop-grid { grid-template-columns: 1fr; } }
.loop-svg { width: 100%; max-width: 520px; margin-inline: auto; height: auto; overflow: visible; }
.loop-svg .ring { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.loop-svg .ring-progress { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; transform-origin: 260px 260px; animation: spin 18s linear infinite; }
.loop-svg .node circle { fill: var(--navy-800); stroke: var(--line-strong); }
.loop-svg .node text { fill: var(--text); font-size: 15px; font-family: var(--font-sans); font-weight: 500; }
.loop-svg .node .idx { fill: var(--gold); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; }
.loop-svg .core { fill: rgba(201,169,107,0.06); stroke: var(--gold-line); }
.loop-svg .core-text { fill: var(--text); font-family: var(--font-sans); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.loop-svg .core-sub { fill: var(--text-muted); font-family: var(--font-sans); font-size: 12.5px; }
@keyframes spin { to { transform: rotate(360deg); } }
.check-list { display: grid; gap: 18px; margin-top: 32px; }
.check-list li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 14px; }
.check-list li svg { width: 28px; height: 28px; color: var(--gold); }
.check-list strong { display: block; font-weight: 600; margin-bottom: 2px; }
.check-list span { color: var(--text-muted); font-size: 15.5px; }

/* ---------- Layer diagram ---------- */
.layers-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 960px) { .layers-grid { grid-template-columns: 1fr; } }
.layers { display: grid; gap: 10px; position: relative; }
.layer { padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.layer strong { font-weight: 600; font-size: 15.5px; }
.layer span { color: var(--text-dim); font-size: 13px; text-align: right; }
.layer-top { border-color: var(--gold-line); background: linear-gradient(90deg, rgba(201,169,107,0.14), rgba(201,169,107,0.04)); padding-block: 24px; }
.layer-top strong { color: var(--gold-bright); font-size: 17px; }
.layer-flow { display: flex; justify-content: center; gap: 48px; padding: 6px 0; color: var(--text-dim); font-size: 12px; }
.layer-flow span { display: inline-flex; align-items: center; gap: 8px; }
.layer-flow svg { width: 14px; height: 22px; }
.layer-caption { margin-top: 16px; font-size: 13px; color: var(--text-dim); text-align: center; }

/* ---------- Domains ---------- */
.domains { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 960px) { .domains { grid-template-columns: 1fr; } }
.domain-primary { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--ink); color: var(--text); display: grid; gap: 18px; align-content: space-between; position: relative; overflow: hidden; }
.domain-primary::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid var(--gold-line); }
.domain-primary h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.domain-primary p { color: var(--text-muted); }
.domain-primary ul { display: grid; gap: 10px; font-size: 15px; color: #cdd2dd; }
.domain-primary li { display: flex; gap: 10px; }
.domain-primary li::before { content: '—'; color: var(--gold); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.status-active { background: var(--gold); color: var(--navy-950); }
.status-explore { border: 1px dashed rgba(18,24,38,0.3); color: var(--ink-muted); }
.domain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .domain-list { grid-template-columns: 1fr; } }
.domain { padding: 22px; border-radius: var(--radius); border: 1px dashed rgba(18,24,38,0.22); background: rgba(255,255,255,0.35); display: grid; gap: 10px; align-content: start; }
.domain h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.domain p { font-size: 14.5px; color: var(--ink-muted); font-style: italic; font-family: var(--font-serif); font-size: 17px; line-height: 1.35; }

/* ---------- Final CTA + form ---------- */
.final { background: radial-gradient(60% 60% at 15% 0%, rgba(201,169,107,0.09), transparent 70%), var(--navy-950); }
.final-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .final-grid { grid-template-columns: 1fr; } }
.final-copy { display: grid; gap: 24px; position: sticky; top: 110px; }
@media (max-width: 960px) { .final-copy { position: static; } }
.partner-points { display: grid; gap: 14px; margin-top: 8px; }
.partner-points li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px; color: var(--text-muted); font-size: 15.5px; }
.partner-points li::before { content: ''; width: 14px; height: 14px; margin-top: 5px; border-radius: 4px; border: 1.5px solid var(--gold); background: linear-gradient(var(--gold), var(--gold)) center / 6px 6px no-repeat; }

.form-card { padding: clamp(22px, 3.4vw, 36px); border-radius: var(--radius-lg); background: var(--navy-850); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 500; }
.form-field label .opt { color: var(--text-dim); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border-radius: 11px; border: 1px solid var(--line-strong); background: rgba(0,0,0,0.25);
  padding: 13px 14px; font-size: 15.5px; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a3abbd' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-field select option { background: var(--navy-850); color: var(--text); }
.form-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.form-field [aria-invalid='true'] { border-color: #e08b7d; }
.form-error { font-size: 13px; color: #f0a597; min-height: 0; }
.form-error:empty { display: none; }
.consent { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px; align-items: start; font-size: 14px; color: var(--text-muted); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-actions .btn { min-width: 220px; }
.form-fine { font-size: 13px; color: var(--text-dim); }
.demo-banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 11px; border: 1px dashed var(--gold-line); background: var(--gold-soft); color: var(--gold-bright); font-size: 13.5px; margin-bottom: 22px; }
.demo-banner strong { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; padding: 2px 7px; border-radius: 5px; background: var(--gold); color: var(--navy-950); flex: none; margin-top: 1px; }
.form-result { margin-top: 18px; padding: 14px 16px; border-radius: 11px; font-size: 14.5px; line-height: 1.5; }
.form-result code { font-size: 12.5px; }
.form-result small { display: block; margin-top: 6px; opacity: .8; }
.form-result-success { background: rgba(140,199,169,0.12); border: 1px solid rgba(140,199,169,0.4); color: #cfeadb; }
.form-result-error { background: rgba(224,139,125,0.1); border: 1px solid rgba(224,139,125,0.4); color: #f6c4ba; }
.form-result-demo { background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-bright); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { color: var(--text-muted); margin-top: 16px; max-width: 360px; }
.footer-col h3 { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-dim); font-size: 13px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 0%, rgba(201,169,107,0.10), transparent 70%), radial-gradient(40% 60% at 0% 0%, rgba(70,92,150,0.14), transparent 70%); }
.page-hero .container { display: grid; gap: 24px; justify-items: start; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; max-width: 920px; }

.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-sticky { position: sticky; top: 110px; display: grid; gap: 18px; }
@media (max-width: 900px) { .split-sticky { position: static; } }

.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.paper .feature-list { border-color: var(--paper-line); }
.feature-list > li { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.paper .feature-list > li { border-color: var(--paper-line); }
.feature-list .fl-num { font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .1em; padding-top: 4px; }
.paper .feature-list .fl-num { color: var(--gold-deep); }
.feature-list h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 6px; }
.feature-list p { color: var(--text-muted); font-size: 15.5px; }
.paper .feature-list p { color: var(--ink-muted); }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
@media (max-width: 760px) { .cards2 { grid-template-columns: 1fr; } }
.card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,255,255,0.02); display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.card p, .card li { color: var(--text-muted); font-size: 15.5px; }
.card ul { display: grid; gap: 8px; margin-top: 4px; }
.card li { display: flex; gap: 10px; }
.card li::before { content: ''; flex: 0 0 5px; height: 5px; margin-top: 10px; border-radius: 50%; background: var(--gold); }
.card-gold { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(201,169,107,0.08), rgba(201,169,107,0.01)); }
.card .card-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.paper .card { background: #fff; border-color: var(--paper-line); }
.paper .card p, .paper .card li { color: var(--ink-muted); }
.paper .card .card-label { color: var(--gold-deep); }

.truth-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.truth-table th, .truth-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.truth-table th { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.truth-table th:last-child { color: var(--gold); }
.truth-table td:first-child { font-weight: 600; width: 26%; }
.truth-table td { color: var(--text-muted); }
.truth-table td:last-child { color: var(--text); }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; }
.table-wrap .truth-table tr:last-child td { border-bottom: 0; }

.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--paper-line); }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr; } }
.roadmap > div { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; position: relative; }
.roadmap > div::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold-deep); }
.roadmap > div:first-child::before { background: var(--gold-deep); }
.roadmap .rm-when { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-top: 8px; }
.roadmap h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.roadmap p { color: var(--ink-muted); font-size: 15.5px; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-muted); max-width: 720px; }

.cta-band { padding: clamp(36px, 5vw, 56px); border-radius: var(--radius-lg); border: 1px solid var(--gold-line); background: linear-gradient(120deg, rgba(201,169,107,0.12), rgba(201,169,107,0.02) 60%); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; max-width: 620px; }
.cta-band p { color: var(--text-muted); margin-top: 10px; max-width: 560px; }

.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02); color: var(--text-muted); font-size: 15px; }
.notice svg { flex: 0 0 20px; color: var(--gold); margin-top: 2px; }
.notice strong { color: var(--text); }
.hero .display { font-size: clamp(42px, 5.2vw, 72px); }
@media (min-width: 1100px) { .hero .display { font-size: clamp(52px, 4.4vw, 68px); } }
@media (max-width: 760px) {
  .scenario { padding: 14px 16px; gap: 2px; }
  .scenario-dso { font-size: 32px; }
  .scenario-foot { padding-top: 8px; }
}

/* ---------- Hero orbit (Convergence motif, decorative) ---------- */
.hero-orbit {
  position: absolute; z-index: -1; pointer-events: none; color: #ece6d8;
  width: min(1180px, 120vw); aspect-ratio: 1; height: auto;
  right: -22%; top: 50%; transform: translateY(-50%);
}
@media (max-width: 1099px) { .hero-orbit { right: -45%; top: 8%; transform: none; width: 150vw; opacity: .8; } }
.hero-orbit g { transform-box: view-box; transform-origin: 50% 50%; }
.hero-orbit .ho-o { animation: orbit-turn 160s linear infinite; }
.hero-orbit .ho-m { animation: orbit-turn 110s linear infinite; }
.hero-orbit .ho-i { animation: orbit-turn 75s linear infinite; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-orbit g { animation: none; } .brand-mark g { transition: none; } }

/* =========================================================================
   Commercial iteration: story, decisions, evidence, trust, scenario hand-off
   ========================================================================= */

/* ---------- Fact vs hypothesis journey ---------- */
.journey { display: grid; grid-template-columns: minmax(0,1fr) 72px minmax(0,1fr) 72px minmax(0,1fr); align-items: stretch; }
@media (max-width: 960px) { .journey { grid-template-columns: 1fr; gap: 0; } }
.jstep { padding: 26px; border-radius: var(--radius-lg); display: grid; gap: 10px; align-content: start; }
.jstep h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.jstep p { color: var(--text-muted); font-size: 15px; }
.jstep .jdso { color: var(--text-dim); font-size: 14px; }
.jstep .jdso span { display: inline-block; font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; color: #c7cfdf; margin-right: 6px; font-variant-numeric: tabular-nums; }
.jstep-fact { border: 1px solid var(--line-strong); background: rgba(255,255,255,0.025); }
.jstep-hyp { border: 1.5px dashed var(--gold-line); background: linear-gradient(180deg, rgba(201,169,107,0.08), rgba(201,169,107,0.01)); }
.jstep-hyp .jdso span { color: var(--gold-bright); }
.evidence { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.evidence-fact { color: #b6c1d9; background: var(--ref-soft); }
.evidence-hyp { color: var(--gold-bright); border: 1px dashed var(--gold-line); }
.jarrow { position: relative; display: grid; place-items: center; }
.jarrow::before { content: ''; position: absolute; left: 10px; right: 10px; top: 50%; border-top: 1.5px solid var(--line-strong); }
.jarrow::after { content: ''; position: absolute; right: 8px; top: calc(50% - 4px); width: 8px; height: 8px; border-top: 1.5px solid var(--text-dim); border-right: 1.5px solid var(--text-dim); transform: rotate(45deg); }
.jarrow span { position: relative; font-size: 10.5px; color: var(--text-dim); background: var(--navy-950); padding: 2px 6px; margin-top: -28px; text-align: center; line-height: 1.2; }
.jarrow-hyp::before { border-top-style: dashed; border-color: var(--gold-line); }
.jarrow-hyp::after { border-color: var(--gold); }
.jarrow-hyp span { color: var(--gold); }
@media (max-width: 960px) {
  .jarrow { height: 44px; }
  .jarrow::before { left: 50%; right: auto; top: 6px; bottom: 6px; border-top: 0; border-left: 1.5px solid var(--line-strong); }
  .jarrow-hyp::before { border-left-style: dashed; border-color: var(--gold-line); }
  .jarrow::after { right: auto; left: calc(50% - 4px); top: auto; bottom: 6px; transform: rotate(135deg); }
  .jarrow span { margin: 0 0 0 120px; background: transparent; }
}
.journey-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 13px; color: var(--text-muted); }
.journey-legend span { display: inline-flex; align-items: center; gap: 8px; }
.journey-legend i { display: inline-block; width: 22px; height: 0; border-top: 1.5px solid var(--text-muted); }
.journey-legend i.lg-hyp { border-top: 1.5px dashed var(--gold); }

/* ---------- Decisions under investigation ---------- */
.decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 960px) { .decision-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .decision-grid { grid-template-columns: 1fr; } }
.dcard { background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.dtag { justify-self: start; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); border: 1px dashed rgba(154,127,76,.5); padding: 3px 8px; border-radius: 6px; }
.dcard h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.dq { font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--ink); }
.dexam { font-size: 14px; color: var(--ink-muted); border-top: 1px solid var(--paper-line); padding-top: 10px; }
.dexam b { color: var(--ink); font-weight: 600; }

/* ---------- Simulator framing ---------- */
.read-guide { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: -24px auto 28px; max-width: 980px; }
@media (max-width: 760px) { .read-guide { grid-template-columns: 1fr; gap: 8px; margin-top: -16px; } }
.read-guide li { display: grid; grid-template-columns: 12px minmax(0,1fr); gap: 12px; font-size: 14px; color: var(--text-muted); }
.read-guide strong { display: block; color: var(--text); font-weight: 600; }
.rg-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; }
.rg-fact { background: var(--ref); }
.rg-hyp { border: 1.5px dashed var(--gold); }
.rg-calc { background: var(--gold); }

.evidence-panel { margin-top: clamp(32px, 4vw, 48px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); background: rgba(255,255,255,0.02); display: grid; gap: 28px; }
.ep-head { display: grid; gap: 12px; max-width: 760px; }
.ep-head h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.ep-assumption { font-size: 17px; color: var(--text); padding-left: 14px; border-left: 2px dashed var(--gold); }
.ep-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .ep-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ep-steps { grid-template-columns: 1fr; } }
.ep-steps li { padding: 20px 20px 4px 0; display: grid; gap: 6px; align-content: start; }
.ep-steps span { font-size: 12.5px; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.ep-steps strong { font-weight: 600; font-size: 16.5px; }
.ep-steps p { font-size: 14.5px; color: var(--text-muted); }
.ep-outcome { font-size: 15px; color: var(--text-muted); }
.ep-outcome strong { color: var(--gold-bright); font-weight: 600; }

/* ---------- Consolidated "how it works" notes ---------- */
.how-notes { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 860px) { .how-notes { grid-template-columns: 1fr; } }
.how-notes > div { background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; align-content: start; }
.how-notes h3 { font-size: 17px; font-weight: 600; }
.how-notes p { font-size: 15px; color: var(--ink-muted); }

/* ---------- Assessment copy ---------- */
.steps-list { display: grid; gap: 16px; }
.steps-list li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 14px; color: var(--text-muted); font-size: 15.5px; }
.steps-list li > span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold-line); color: var(--gold-bright); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.steps-list strong { display: block; color: var(--text); font-weight: 600; }

/* ---------- Placeholders (must be replaced before launch) ---------- */
.placeholder-block { position: relative; border: 1px dashed var(--gold-line) !important; }
.ph-badge { position: absolute; top: -10px; right: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 5px; background: var(--gold); color: var(--navy-950); }
.ph { color: var(--gold-bright); font-style: italic; }
.cp-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-750); color: var(--text-dim); font-weight: 600; flex: none; }
.contact-person { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); }
.contact-person strong { display: block; font-weight: 600; }
.contact-person > div span { font-size: 14px; color: var(--text-muted); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }
.person { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.02); display: grid; gap: 8px; align-content: start; }
.person h3 { font-size: 21px; font-weight: 500; margin-top: 8px; }
.person-role { font-size: 14px; }
.person p { color: var(--text-muted); font-size: 15px; }
.details { display: grid; gap: 12px; margin-top: 6px; }
.details div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 12px; font-size: 15px; }
@media (max-width: 480px) { .details div { grid-template-columns: 1fr; gap: 2px; } }
.details dt { color: var(--text-dim); }

/* ---------- Scenario attached to the form ---------- */
.scenario-attach { border: 1px solid var(--gold-line); border-radius: 14px; background: linear-gradient(180deg, rgba(201,169,107,0.09), rgba(201,169,107,0.02)); padding: 16px 18px; margin-bottom: 22px; }
.sa-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.sa-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-bright); }
.sa-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-muted); cursor: pointer; }
.sa-toggle input { width: 16px; height: 16px; accent-color: var(--gold); margin: 0; }
.sa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
@media (max-width: 480px) { .sa-grid { grid-template-columns: 1fr; } }
.sa-grid dt { font-size: 12px; color: var(--text-dim); }
.sa-grid dd { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sa-note, .sa-empty, .form-data-note { font-size: 13px; color: var(--text-dim); margin-top: 12px; }
.sa-empty { margin: 0 0 20px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 11px; }
.sa-note a, .sa-empty a, .form-data-note a, .faq a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.form-data-note { margin-top: 14px; }
.form-result details { margin-top: 10px; }
.form-result summary { cursor: pointer; font-weight: 600; }
.form-result pre { margin: 8px 0 0; padding: 12px; border-radius: 8px; background: rgba(0,0,0,0.3); color: var(--text); font-size: 12.5px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Mobile: results before inputs, shorter hero ---------- */
@media (max-width: 1080px) {
  .sim-main { display: contents; }
  .sim-body { display: flex; flex-direction: column; }
  .sim-kpis { order: 1; margin: 16px 16px 0; }
  .sim-scenarios { order: 2; margin: 12px 16px 0; }
  .sim-inputs { order: 3; margin-top: 16px; border-top: 1px solid var(--line); }
  .sim-charts { order: 4; margin: 16px 16px 0; }
  .sim-bottom { order: 5; margin: 12px 16px 16px; }
}
@media (max-width: 760px) {
  .sim-scenarios { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
  .scenario { padding: 12px 10px; }
  .scenario h4 { font-size: 12px; margin-top: 4px; }
  .scenario-dso { font-size: 26px; flex-direction: column; align-items: flex-start; gap: 0; }
  .scenario-dso small { font-size: 11px; }
  .scenario .tag { font-size: 8.5px; padding: 2px 5px; letter-spacing: .06em; }
  .scenario-meta, .scenario-foot { font-size: 11px; }
  .scenario-foot { display: none; }
  .kpi { padding: 14px 16px; }
}
@media (max-width: 640px) { .dash-decisions { display: none; } }
@media (max-width: 760px) { .scenario-hyp .scenario-foot { display: block; border-top: 0; padding-top: 0; margin-top: 2px; } }
@media (max-width: 640px) {
  .sim-topbar { padding: 12px 16px; gap: 10px; }
  .sim-crumb { display: none; }
  .sim-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sim-actions .btn { --h: 36px; padding: 0 8px; font-size: 12.5px; gap: 6px; }
  .dcard { padding: 20px; }
  .dq { font-size: 17.5px; }
}

/* ---------- Iteration: trust line, evidence principles ---------- */
.hero-trust { font-size: 15px; color: var(--text-muted); }
.hero-trust span { color: var(--gold-bright); }
.ep-principles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
@media (max-width: 860px) { .ep-principles { grid-template-columns: 1fr; } }
.ep-principles > div { padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); }
.ep-principles h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.ep-principles p { font-size: 14px; color: var(--text-muted); }
.sim-title .badge { font-size: 10px; }
@media (max-width: 640px) { .sim-title .badge { display: none; } }

/* =========================================================================
   Founding Design Partner Program
   ========================================================================= */

/* ---------- Hero: now / next + report teaser ---------- */
.hero-now { display: grid; gap: 8px; font-size: 14px; }
.hn { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); }
.hn i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hn-now i { background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.hn-next i { border: 1.5px dashed var(--text-dim); }

.teaser { position: relative; display: block; max-width: 560px; justify-self: center; width: 100%; padding: 0 0 22px 22px; color: var(--ink); }
.teaser-page { position: absolute; inset: 0 22px 22px 0; border-radius: 14px; background: #e9e4d8; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.teaser-page-3 { transform: translate(22px, 22px) rotate(1.6deg); opacity: .5; }
.teaser-page-2 { transform: translate(11px, 11px) rotate(.8deg); opacity: .8; }
.teaser-doc { position: relative; display: grid; gap: 10px; padding: 26px 26px 22px; border-radius: 14px; background: #f8f5ee; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transition: transform .4s var(--ease); }
.teaser:hover .teaser-doc { transform: translateY(-4px); }
.teaser:focus-visible { outline: none; }
.teaser:focus-visible .teaser-doc { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.t-ribbon { justify-self: start; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a3b2c; border: 1px solid rgba(138,59,44,.35); background: rgba(138,59,44,.06); padding: 3px 8px; border-radius: 5px; }
.t-brand { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.t-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.t-title em { font-style: normal; font-weight: 400; color: var(--ink-muted); font-size: 15px; }
.t-sub { font-size: 12.5px; color: var(--ink-muted); margin-top: -4px; }
.t-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 4px; }
.t-kpis > span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--paper-line); }
.t-kpis small { font-size: 10.5px; color: var(--ink-muted); }
.t-kpis b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.t-kpis b.t-none { color: #2e6b52; font-size: 15px; }
.t-h { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px; }
.t-row { display: grid; grid-template-columns: 26px minmax(0,1fr) 110px; gap: 10px; align-items: center; font-size: 13px; padding: 6px 0; border-top: 1px solid var(--paper-line); }
.t-pilot { font-size: 12.5px; color: var(--ink); background: rgba(154,127,76,.1); border: 1px dashed rgba(154,127,76,.5); padding: 8px 12px; border-radius: 8px; }
.t-cta { font-size: 13px; font-weight: 600; color: var(--gold-deep); }
@media (max-width: 480px) { .t-row { grid-template-columns: 26px minmax(0,1fr) 72px; } .t-kpis b { font-size: 14px; } .teaser-doc { padding: 20px 18px; } }

/* ---------- Grade chips + range bars (shared) ---------- */
.g { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font-style: normal; font-size: 12.5px; font-weight: 700; flex: none; }
.g-a { background: #2e6b52; color: #fff; }
.g-b { background: #7a6232; color: #fff; }
.g-c { background: transparent; color: #6b6458; border: 1.5px dashed #9a9384; }
.section-dark .g-c, .section-alt .g-c { color: var(--text-muted); border-color: var(--text-dim); }
.rr { position: relative; display: block; height: 8px; border-radius: 4px; background: rgba(18,24,38,.08); }
.rr-bar { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, rgba(154,127,76,.35), rgba(154,127,76,.75)); }
.rr-dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); border: 2px solid #f8f5ee; }

/* ---------- Program offer ---------- */
.deliverables { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
@media (max-width: 1080px) { .deliverables { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .deliverables { grid-template-columns: 1fr; } }
.dl-card { background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.dl-letter { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-serif); font-style: italic; font-size: 24px; color: #fff; background: var(--ink); }
.dl-card h3 { font-size: 18.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.dl-card p, .dl-card li { font-size: 14.5px; color: var(--ink-muted); }
.dl-card ul { display: grid; gap: 6px; }
.dl-card li { display: flex; gap: 8px; }
.dl-card li::before { content: ''; flex: 0 0 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--gold-deep); }

.terms-strip { margin-top: 24px; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); border: 1px solid var(--paper-line); border-radius: var(--radius); background: #fff; overflow: hidden; }
@media (max-width: 960px) { .terms-strip { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 520px) { .terms-strip { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.terms-strip > div { padding: 16px 18px; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); margin: 0 -1px -1px 0; }
.terms-strip dt { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.terms-strip dd { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.terms-dark { background: rgba(255,255,255,0.03); border-color: var(--line-strong); width: 100%; margin-top: 12px; }
.terms-dark > div { border-color: var(--line-strong); }
.terms-dark dt { color: var(--text-dim); }
.terms-dark dd { color: var(--text); }

/* ---------- Report ---------- */
.report { position: relative; background: #f8f5ee; color: var(--ink); border-radius: 18px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; color-scheme: light; }
.report-ribbon { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 10px 28px; background: #efe6d6; border-bottom: 1px solid rgba(138,59,44,.2); font-size: 13px; color: #6a3a2e; }
.report-ribbon strong { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #8a3b2c; padding: 3px 8px; border-radius: 5px; }
.report-cover { padding: 32px 36px 26px; border-bottom: 1px solid var(--paper-line); background: linear-gradient(180deg, #fbf9f4, #f8f5ee); }
.rc-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.rc-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.rc-brand svg { width: 26px; height: 26px; color: var(--ink); }
.rc-conf { font-size: 11.5px; color: var(--ink-muted); letter-spacing: .06em; text-transform: uppercase; }
.rc-title { margin-top: 22px; font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.rc-title span { font-weight: 400; color: var(--ink-muted); font-size: .6em; }
.rc-sub { margin-top: 6px; color: var(--ink-muted); font-size: 15px; }
.rc-facts { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 2px solid var(--ink); }
@media (max-width: 640px) { .rc-facts { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.rc-facts div { padding: 12px 12px 0 0; }
.rc-facts dt { font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .08em; }
.rc-facts dd { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }

.r-sec { padding: 28px 36px; border-bottom: 1px solid var(--paper-line); display: grid; gap: 16px; }
@media (max-width: 640px) { .r-sec, .report-cover { padding-left: 18px; padding-right: 18px; } .report-ribbon { padding: 10px 18px; } }
.r-h { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.r-h span { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--gold-deep); color: var(--gold-deep); display: grid; place-items: center; font-size: 12px; letter-spacing: 0; }
.r-lead { font-size: 18px; line-height: 1.45; max-width: 760px; }
.r-lead b { font-weight: 600; }
.r-text { font-size: 14.5px; color: var(--ink-muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.rtag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.rt-fact { background: #e3e7ef; color: #3b4a68; }
.rt-hyp { border: 1px dashed #7a6232; color: #7d6538; }
.rt-scn { background: rgba(154,127,76,.16); color: #6e5830; }
.rt-val { border: 1px solid #2e6b52; color: #2e6b52; }

.r-kpis { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
@media (max-width: 1080px) { .r-kpis { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 640px) { .r-kpis { grid-template-columns: 1fr 1fr; } }
.r-kpi { background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; padding: 14px 14px 12px; display: grid; gap: 4px; align-content: start; }
.r-kpi .rtag { justify-self: start; margin-bottom: 4px; }
.rk-label { font-size: 12px; color: var(--ink-muted); }
.rk-value { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.rk-value small { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.rk-grades { display: flex; gap: 5px; }
.rk-note { font-size: 11.5px; color: var(--ink-muted); }
.r-kpi-val .rk-value { color: #2e6b52; }

.r-stack { display: flex; height: 40px; border-radius: 8px; overflow: hidden; font-size: 12.5px; }
.rs-seg { display: flex; align-items: center; gap: 6px; padding: 0 12px; white-space: nowrap; overflow: hidden; }
.rs-seg b { font-size: 15px; }
.rs-terms { background: #3b4a68; color: #fff; }
.rs-late { background: #7a6232; color: #fff; }
.rs-disp { background: #8a3b2c; color: #fff; justify-content: center; padding: 0; }
.r-stack-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--ink-muted); }
.r-stack-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.r-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
@media (max-width: 760px) { .r-cols { grid-template-columns: 1fr; } }
.r-mini-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.r-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.r-table td { padding: 7px 0; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.r-table td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; padding-left: 12px; }
.r-list { display: grid; gap: 8px; font-size: 14px; color: var(--ink); }
.r-list li { padding-left: 16px; position: relative; }
.r-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-deep); }
.r-list-2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 760px) { .r-list-2 { grid-template-columns: 1fr; } }

.r-map { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
@media (max-width: 860px) { .r-map { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.rm { border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; border: 1px solid var(--paper-line); background: #fff; }
.rm p { font-weight: 600; font-size: 14px; }
.rm span { font-size: 12px; color: var(--ink-muted); }
.rm-opp { background: #2e6b52; border-color: #2e6b52; }
.rm-opp p, .rm-opp span { color: #fff; }
.rm-opp span { opacity: .85; }
.rm-test { border: 1.5px dashed #7a6232; }
.rm-none { background: #efede7; }
.rm-gap { background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f1eee6 6px, #f1eee6 12px); }
.rm-con { border-left: 4px solid #8a3b2c; }
.rm-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-muted); }
.rm-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; border: 1px solid var(--paper-line); }
.rm-legend i.rm-opp { background: #2e6b52; }
.rm-legend i.rm-test { border: 1.5px dashed #7a6232; }
.rm-legend i.rm-none { background: #efede7; }
.rm-legend i.rm-con { border-left: 4px solid #8a3b2c; }

.r-hyps { display: grid; border-top: 2px solid var(--ink); }
.rh { display: grid; grid-template-columns: minmax(0,2.4fr) 56px minmax(0,1.5fr) minmax(0,1fr) minmax(0,.9fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--paper-line); font-size: 14px; }
.rh > div:nth-child(n+4) { font-variant-numeric: tabular-nums; font-weight: 600; }
.rh small { display: block; color: var(--ink-muted); font-size: 12.5px; font-weight: 400; margin-top: 2px; }
.rh-head { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding: 10px 0; }
.rh-head em { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; }
.rh-range { display: grid; gap: 6px; }
.rh-range small { margin: 0; }
.rh-c { color: var(--ink-muted); }
@media (max-width: 860px) {
  .rh { grid-template-columns: 32px minmax(0,1fr); gap: 6px 12px; }
  .rh-head { display: none; }
  .rh > div:nth-child(1) { grid-column: 1 / -1; order: -1; }
  .rh > div:nth-child(2) { grid-row: span 3; align-self: start; }
  .rh > div:nth-child(4)::before { content: 'Working capital: '; font-weight: 400; color: var(--ink-muted); }
  .rh > div:nth-child(5)::before { content: 'Financing / yr: '; font-weight: 400; color: var(--ink-muted); }
}
.r-foot { font-size: 12.5px; color: var(--ink-muted); }

.r-pilot { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border: 1px solid var(--paper-line); border-radius: 12px; background: #fff; overflow: hidden; }
@media (max-width: 760px) { .r-pilot { grid-template-columns: 1fr 1fr; } }
.r-pilot > div { padding: 14px 16px; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); margin: 0 -1px -1px 0; font-size: 14px; }
.rp-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 2px; }
.report-foot { padding: 20px 36px 24px; display: grid; gap: 10px; font-size: 13px; color: var(--ink-muted); background: #f3efe5; }
@media (max-width: 640px) { .report-foot { padding: 18px; } }
.rf-legend { display: flex; flex-wrap: wrap; gap: 8px; }

.report-compact .r-full { display: none; }
.report-after { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Differentiation, now/next, trust ---------- */
.diff-table th:last-child, .diff-table td:last-child { background: rgba(201,169,107,0.06); color: var(--text); }
.diff-table th:last-child { color: var(--gold); }
.diff-table td:not(:first-child):not(:last-child) { color: var(--text-muted); }
.diff-table { min-width: 860px; }
.diff-table td:first-child { width: 14%; }

.now-next { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 900px) { .now-next { grid-template-columns: 1fr; } }
.nn { border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; background: #fff; border: 1px solid var(--paper-line); }
.nn h3 { font-size: 19px; font-weight: 600; }
.nn p { font-size: 15px; color: var(--ink-muted); }
.nn-tag { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.nn-now { border: 2px solid var(--ink); }
.nn-now .nn-tag { background: var(--ink); color: #fff; }
.nn-next .nn-tag, .nn-later .nn-tag { border: 1px dashed rgba(18,24,38,.4); color: var(--ink-muted); }
.nn-next, .nn-later { background: rgba(255,255,255,.5); border-style: dashed; }
.trust-strip { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--text); }
@media (max-width: 900px) { .trust-strip { grid-template-columns: 1fr; } }
.trust-strip h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.trust-strip p { font-size: 14.5px; color: var(--text-muted); }
.trust-strip .text-link { grid-column: 1 / -1; color: var(--gold-bright); }

/* ---------- Design partner page ---------- */
.dp-intro { gap: clamp(32px, 5vw, 72px); }
.check-bullets { display: grid; gap: 10px; }
.check-bullets li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; color: var(--text-muted); }
.check-bullets li::before { content: ''; width: 14px; height: 14px; margin-top: 5px; border-radius: 4px; border: 1.5px solid var(--gold); background: linear-gradient(var(--gold), var(--gold)) center / 6px 6px no-repeat; }
.deliverables-full .dl-card { padding: 26px; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; counter-reset: p; border-top: 1px solid var(--line-strong); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process li { padding: 24px 24px 8px 0; display: grid; gap: 8px; align-content: start; position: relative; }
.process li::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--navy-850); border: 1.5px solid var(--gold); }
.process li:first-child::before { background: var(--gold); }
.pr-when { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.process h3 { font-size: 19px; font-weight: 500; }
.process p { font-size: 14.5px; color: var(--text-muted); }
.grade-table td:first-child { width: 70px; }
.data-card { background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 12px; align-content: start; }
.data-card h3 { font-size: 19px; font-weight: 600; }
.data-table td:last-child { text-align: left; font-weight: 400; color: var(--ink-muted); }
.data-table td:first-child { font-weight: 600; width: 38%; padding-right: 12px; }
.time-list { display: grid; }
.time-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--paper-line); font-size: 15px; }
.time-list b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.legal-flag { justify-self: start; display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f0b9ad; border: 1px dashed rgba(240,185,173,.6); padding: 6px 10px; border-radius: 8px; }

/* ---------- Application form ---------- */
.steps-title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.form-warning { margin-top: 16px; font-size: 13.5px; color: var(--text-muted); padding: 10px 12px; border-left: 2px solid var(--gold); background: rgba(255,255,255,0.02); }
.form-field label .opt { color: var(--text-dim); font-weight: 400; }
/* Mobile: keep the homepage focused — the full report lives on the program page */
@media (max-width: 760px) {
  .teaser { display: none; }
  #story .compare { display: none; }
  .report-compact .r-sec:has(.r-map), .report-compact .r-sec:has(.r-pilot) { display: none; }
  .now-next .nn-later { display: none; }
}
@media (max-width: 760px) { .ep-principles { display: none; } }

/* =========================================================================
   BIX brand layer
   ========================================================================= */
:root {
  --text-dim: #8a93a6; /* raised from #6f788c for WCAG AA contrast on navy */
  --bix-ink: #eef0f5;
}
.brand { gap: 0; }
.brand-wordmark { height: 30px; width: auto; color: var(--bix-ink); display: block; }
.footer-brand .brand-wordmark { height: 34px; }
.hero-promise { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2vw, 26px); color: var(--gold-bright); letter-spacing: -0.01em; }

/* Hero motif: the rising gold decision path (supporting motif, not the logo) */
.hero-path { position: absolute; z-index: -1; pointer-events: none; color: var(--bix-ink); width: min(1100px, 110vw); height: auto; aspect-ratio: 1; right: -18%; top: 50%; transform: translateY(-50%); }
@media (max-width: 1099px) { .hero-path { right: -40%; top: 6%; transform: none; width: 140vw; opacity: .7; } }
.hero-path .hp-rise { stroke-dasharray: 880; stroke-dashoffset: 880; animation: hp-draw 2.4s .5s var(--ease) forwards; }
.hero-path .hp-node { opacity: 0; animation: fade .8s 2.6s ease forwards; }
@keyframes hp-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-path .hp-rise { stroke-dashoffset: 0; animation: none; } .hero-path .hp-node { opacity: 1; animation: none; } }

/* Grade and status colours in the BIX palette (no green) */
.g-a { background: #121826; color: #fff; }
.section-dark .g-a, .section-alt .g-a { background: var(--bix-ink); color: #121826; }
.rt-val { border-color: #121826; color: #121826; }
.r-kpi-val .rk-value, .t-kpis b.t-none { color: #121826; }

/* ---------- Opportunity Report: executive document ---------- */
.report { border-radius: 6px; }
.report-cover { position: relative; overflow: hidden; background: #0d1428; color: var(--bix-ink); padding: 34px 40px 28px; border-bottom: 3px solid var(--gold); }
.report-cover::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 340px; height: 2px; background: linear-gradient(90deg, transparent, rgba(201,169,107,.7)); transform: rotate(-42deg); transform-origin: right; }
.rc-brand { gap: 12px; color: var(--bix-ink); }
.rc-brand > span { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); padding-left: 12px; border-left: 1px solid rgba(255,255,255,.2); }
.rc-wordmark { height: 26px; width: auto; color: var(--bix-ink); display: block; }
.rc-wordmark circle:last-child { fill: var(--gold); }
.rc-conf { color: var(--text-muted); }
.rc-title { color: #fff; font-weight: 500; }
.rc-title span { color: var(--text-muted); }
.rc-sub { color: var(--text-muted); }
.rc-facts { border-top: 1px solid rgba(201,169,107,.5); }
.rc-facts dt { color: var(--text-dim); }
.rc-facts dd { color: #fff; font-weight: 500; }
@media (max-width: 640px) { .report-cover { padding: 26px 18px 22px; } }

.r-sec { padding: 32px 40px; gap: 18px; }
@media (max-width: 640px) { .r-sec { padding: 24px 18px; } }
.r-h { font-family: var(--font-serif); font-style: normal; font-weight: 400; font-size: 26px; letter-spacing: -0.01em; text-transform: none; gap: 14px; }
.r-h span { width: auto; height: auto; border: 0; border-radius: 0; font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--gold-deep); padding-top: 6px; }
.r-h span::before { content: '0'; }
.r-lead { font-size: 19px; }

.r-kpis { gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--paper-line); }
.r-kpi { background: transparent; border: 0; border-radius: 0; padding: 16px 16px 14px 0; }
.r-kpi + .r-kpi { border-left: 1px solid var(--paper-line); padding-left: 16px; }
@media (max-width: 1080px) { .r-kpi + .r-kpi { border-left: 0; padding-left: 0; } .r-kpi { border-bottom: 1px solid var(--paper-line); } }
.rk-value { font-size: 24px; font-weight: 500; }

.rs-terms { background: #121826; }
.rs-late { background: #7a6232; }
.rs-disp { background: #c8b48a; color: #121826; }
.r-stack { border-radius: 3px; height: 36px; }

.rm { border-radius: 4px; }
.rm-opp { background: #121826; border-color: #121826; }
.rm-legend i.rm-opp { background: #121826; }
.rm-con { border-left-color: #7a6232; }
.rm-legend i.rm-con { border-left-color: #7a6232; }

.r-pilot { border-radius: 4px; }
.r-hyps { border-top-width: 1px; }
.report-foot { background: #efeae0; }
.report-ribbon { background: #121826; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,.08); }
.report-ribbon strong { background: var(--gold); color: #121826; }

/* Teaser in BIX style */
.teaser-doc { border-radius: 6px; }
.teaser-page { border-radius: 6px; }
.t-ribbon { color: #121826; border-color: rgba(18,24,38,.25); background: rgba(201,169,107,.25); }
.rc-brand .rc-wordmark { width: auto; height: 26px; color: var(--bix-ink); }
.r-h span { display: inline-block; }
.report .g-a { background: #121826; color: #fff; }
.report .g-c { color: #6b6458; border-color: #9a9384; }
