/* ==========================================================================
   Baseline layout and tokens (from the v2 HTML prototype). build.py recolours this per site.
   ========================================================================== */

:root {
  /* Brand, sampled from the logo files */
  --navy: #13023a;
  --ink: #0d0129;
  --cyan: #8324f0;
  --cyan-bright: #933ef4;
  --cyan-electric: #8625f6;

  /* Surfaces */
  --bg: #0c051d;
  --bg-elev: #14082f;
  --bg-elev-2: #1b0c3f;
  --border: rgba(169,158,195,0.12);
  --border-strong: rgba(169,158,195,0.22);

  /* Text */
  --text: #f5f3fa;
  --text-muted: #a99ec3;
  --text-dim: #8e82aa;

  /* Accent roles */
  --accent: var(--cyan);
  --accent-strong: var(--cyan-bright);
  --accent-glow: rgba(131,36,240,0.35);
  --accent-glow-edge: rgba(134,37,246,0.18);

  /* Signal: the luminous signal gradient. ~5% of the page, in big deliberate moments */
  --signal: linear-gradient(120deg, #8625f6 0%, #933ef4 38%, #8324f0 64%, #ce18ea 100%);
  --signal-v: linear-gradient(180deg, #8625f6 0%, #8324f0 55%, #be15d8 100%);
  --ice: #e6defa;

  /* Section surfaces, for scroll rhythm */
  --surface-raised: #110728;
  --surface-deep: #06020f;

  --success: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1200px;
  --gutter: 24px;
  --section-y: 104px;
}

@media (max-width: 768px) {
  :root { --section-y: 80px; --gutter: 16px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
::selection { background: rgba(131,36,240,0.35); color: #ffffff; }
input, textarea { caret-color: var(--cyan); }
html { scrollbar-color: #2d1c55 var(--bg); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2d1c55; border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #853192; }
[id] { scroll-margin-top: 96px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 42px; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-family: var(--font-sans); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.lead { font-size: 18px; color: var(--text-muted); max-width: 620px; margin: 20px auto 0; }
p { margin: 0; }
@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .lead { font-size: 15px; }
}

/* ---------- Pills, buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-elev-2); border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary { background: #ffffff; color: var(--navy); }
.btn-primary:hover { background: #ede7fd; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--cyan); background: rgba(131,36,240,.06); }
.btn-accent { background: var(--signal); color: var(--navy); font-weight: 600; }
.btn-accent:hover { filter: brightness(1.08) saturate(1.05); box-shadow: 0 10px 28px -10px rgba(134,37,246,.6); transform: translateY(-1px); }
.btn[disabled], .btn[disabled]:hover { background: var(--bg-elev-2); color: var(--text-dim); border-color: var(--border); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; }
.link-arrow { color: var(--cyan); font-size: 14px; }
.link-arrow:hover { color: var(--cyan-bright); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 0;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12,5,29,0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; }
.brand span {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  letter-spacing: 0.04em; color: var(--text);
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  padding: 5px; list-style: none; margin: 0;
  background: rgba(27,12,63,0.55);
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.nav-drop {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; font-size: 13px; color: var(--text-muted);
  border-radius: var(--radius-pill); background: none; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links button.nav-drop:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav-drop svg { width: 12px; height: 12px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 290px; padding: 8px;
  background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-links li:hover .dropdown, .nav-links li:focus-within .dropdown, .nav-links li.open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav-links li:hover .nav-drop svg, .nav-links li.open .nav-drop svg { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text); font-size: 14px; }
.dropdown a:hover { background: var(--bg-elev-2); }
.dropdown .dd-icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--bg-elev-2); color: var(--cyan); }
.dropdown .dd-icon svg { width: 16px; height: 16px; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg-elev); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-sheet {
  display: none; position: fixed; inset: 72px 12px auto 12px; z-index: 49;
  padding: 12px; background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,.5); max-height: calc(100vh - 90px); overflow-y: auto;
}
.mobile-sheet.open { display: block; }
.mobile-sheet a { display: block; padding: 12px 14px; border-radius: var(--radius-sm); color: var(--text); }
.mobile-sheet a:hover { background: var(--bg-elev-2); }
.mobile-sheet .ms-label { padding: 12px 14px 4px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.mobile-sheet .ms-sub a { padding-left: 24px; color: var(--text-muted); font-size: 14px; }
.mobile-sheet .btn { margin-top: 8px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .nav-right .btn { display: none; }
}

/* ---------- Glow backgrounds ---------- */
.glow-top, .glow-bl { position: relative; isolation: isolate; }
.glow-top::before, .glow-bl::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.glow-top::before {
  background:
    radial-gradient(ellipse 45% 38% at 50% -2%, var(--accent-glow-edge), transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(131,36,240,.26), transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 30%, rgba(19,2,58,.9), transparent 70%);
}
.glow-bl::before {
  background:
    radial-gradient(ellipse 60% 70% at 10% 100%, rgba(131,36,240,.24), transparent 70%),
    radial-gradient(ellipse 35% 40% at 0% 100%, var(--accent-glow-edge), transparent 70%);
}
.glow-top > *, .glow-bl > * { position: relative; z-index: 1; }
.glow-top::before {
  -webkit-mask-image: linear-gradient(to bottom, #000000 0%, #000000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 0%, #000000 55%, transparent 100%);
}

/* ---------- Hero ---------- */
.hero { padding: 192px 0 40px; text-align: center; }
.hero h1 { max-width: 1180px; margin: 0 auto; font-size: clamp(34px, 3.1vw, 48px); }
.hero h1 .h1-accent { display: block; color: #d4b1fc; }
.hero .lead { max-width: 640px; }
.hero-widget { margin: 44px auto 0; max-width: 780px; text-align: left; }
.hero-alt { margin-top: 18px; text-align: center; font-size: 14px; color: var(--text-dim); }
@media (max-width: 768px) { .hero { padding: 128px 0 56px; } }

/* ---------- Lender match widget ---------- */
.lm-card {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 0 rgba(131,36,240,.25), 0 30px 70px -20px rgba(0,0,0,.7), 0 14px 40px -18px rgba(131,36,240,.28);
}
.lm-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--signal);
  color: var(--navy); font-weight: 600; font-size: 15px;
}
.lm-head svg { width: 18px; height: 18px; }
.lm-body { padding: 20px 22px 22px; }
.lm-textarea {
  width: 100%; min-height: 118px; resize: vertical;
  padding: 16px 18px; font-size: 16px; line-height: 1.55;
  background: var(--bg-elev-2); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.lm-textarea::placeholder { color: var(--text-dim); }
.lm-textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(131,36,240,.12); }
.lm-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.lm-examples .lbl { font-size: 13px; color: var(--text-dim); margin-right: 2px; }
.chip {
  max-width: 290px; padding: 7px 14px;
  font-size: 13px; color: var(--text-muted);
  background: rgba(255,255,255,.03); border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: var(--cyan); color: var(--text); background: rgba(131,36,240,.07); }
.chip:focus-visible, .opt:focus-visible { outline-offset: 2px; }
.lm-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.lm-note { font-size: 13px; color: var(--text-dim); display: inline-flex; gap: 8px; align-items: center; }
.lm-note svg { width: 15px; height: 15px; color: var(--success); flex: none; }
.lm-counter { font-size: 12px; color: var(--text-dim); }
.lm-submit { height: 48px; padding: 0 28px; font-family: var(--font-sans); font-size: 15px; }
@media (max-width: 640px) {
  .lm-body { padding: 16px; }
  .lm-examples { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-right: -16px; padding-right: 16px; }
  .lm-examples::-webkit-scrollbar { display: none; }
  .lm-examples .lbl { flex: none; }
  .chip { flex: none; max-width: 240px; }
  .lm-submit { width: 100%; }
}

/* Loader */
.lm-loader { padding: 34px 26px; }
.lm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lm-steps li { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 15px; transition: color .3s; }
.lm-steps li .dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex: none; }
.lm-steps li.active { color: var(--text); }
.lm-steps li.active .dot { border-color: var(--cyan); border-top-color: transparent; animation: spin .8s linear infinite; }
.lm-steps li.done { color: var(--text-muted); }
.lm-steps li.done .dot { background: var(--cyan); border-color: var(--cyan); }
.lm-steps li.done .dot::after { content: ""; width: 8px; height: 5px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg) translate(1px,-1px); }
@keyframes spin { to { transform: rotate(360deg); } }
.lm-ticker {
  margin-top: 22px; height: 30px; overflow: hidden; position: relative;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  border-top: 1px dashed var(--border); padding-top: 10px;
}
.lm-ticker span { color: var(--cyan); }
.lm-progress { margin-top: 18px; height: 3px; background: var(--bg-elev-2); border-radius: 3px; overflow: hidden; }
.lm-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--cyan), var(--cyan-electric)); transition: transform .6s cubic-bezier(.16,1,.3,1); }

/* Clarify questions */
.lm-q-intro { font-size: 13px; color: var(--text-dim); margin-bottom: 22px; }
.lm-q { margin-bottom: 22px; }
.lm-q .q { font-weight: 600; font-size: 15px; }
.lm-q .why { font-size: 12px; color: var(--text-dim); font-style: italic; margin: 2px 0 10px; }
.lm-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  padding: 9px 16px; font-size: 13px; font-weight: 500;
  background: var(--bg-elev-2); color: var(--text-muted);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); cursor: pointer;
  transition: all .2s;
}
.opt:hover { border-color: var(--cyan); color: var(--text); }
.opt.selected { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.lm-input {
  width: 100%; margin-top: 8px; padding: 11px 14px; font-size: 14px;
  background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: var(--radius-sm); outline: none;
  transition: border-color .2s;
}
.lm-input:focus { border-color: var(--cyan); }
.lm-scenario-recap { font-size: 14px; color: var(--text-muted); padding: 12px 14px; background: rgba(255,255,255,.02); border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); margin-bottom: 22px; }
.lm-scenario-recap b { color: var(--text); font-weight: 500; }
.lm-back { background: none; border: 0; color: var(--text-dim); font-size: 13px; cursor: pointer; padding: 0; margin-top: 14px; }
.lm-back:hover { color: var(--text); }

/* Blocked / error */
.lm-msg { padding: 28px 26px; }
.lm-msg .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.lm-msg .icon svg { width: 22px; height: 22px; }
.lm-msg.blocked .icon { background: rgba(251,191,36,.12); color: var(--warn); }
.lm-msg.error .icon { background: rgba(248,113,113,.12); color: var(--danger); }
.lm-msg h3 { margin-bottom: 8px; }
.lm-msg p { color: var(--text-muted); font-size: 15px; }
.lm-msg .btn { margin-top: 20px; }

/* Results */
.lm-results { margin-top: 28px; text-align: left; }
.proto-banner {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 14px; margin-bottom: 18px;
  font-size: 12.5px; color: var(--warn);
  background: rgba(251,191,36,.07); border: 1px solid rgba(251,191,36,.25); border-radius: var(--radius-sm);
}
.lm-res-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.lm-res-head h3 { font-family: var(--font-display); font-size: 24px; }
.lm-res-head .dim { font-size: 13px; }
.params { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.param { padding: 6px 12px; font-size: 13px; color: var(--cyan-bright); background: rgba(131,36,240,.08); border: 1px solid rgba(131,36,240,.2); border-radius: var(--radius-pill); }
.param span { color: var(--text-dim); margin-right: 4px; }
.disclaimer-inline { font-size: 12.5px; color: var(--text-dim); margin-bottom: 16px; }

.lender-card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 24px; margin-bottom: 14px;
  transition: border-color .2s;
  animation: fadeUp .5s both;
}
.lender-card:hover { border-color: var(--border-strong); }
.lc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lc-name { display: flex; align-items: center; gap: 12px; }
.lc-rank { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-elev-2); color: var(--cyan); font-weight: 700; font-size: 13px; border: 1px solid var(--border-strong); }
.lc-name h4 { margin: 0; font-size: 18px; font-weight: 600; }
.lc-type { font-size: 12px; color: var(--text-dim); }
.conf { padding: 5px 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; white-space: nowrap; }
.conf small { font-weight: 400; opacity: .8; margin-left: 3px; }
.conf.hi { color: var(--success); background: rgba(52,211,153,.1); }
.conf.mid { color: var(--warn); background: rgba(251,191,36,.1); }
.conf.lo { color: var(--danger); background: rgba(248,113,113,.1); }
.lc-reason { color: var(--text-muted); font-size: 15px; }
.lc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 16px; }
.lc-stat { padding: 10px 12px; background: var(--bg-elev-2); border-radius: var(--radius-sm); }
.lc-stat .k { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); }
.lc-stat .v { font-size: 14px; font-weight: 500; margin-top: 2px; font-variant-numeric: tabular-nums; }
.lc-caveat { margin-top: 14px; font-size: 13.5px; color: var(--text-dim); }
.lc-caveat b { color: var(--warn); font-weight: 500; }
@media (max-width: 640px) { .lender-card { padding: 18px; } }
.show-more { display: block; margin: 4px auto 18px; }
.additional { font-size: 14px; color: var(--text-muted); padding: 14px 16px; background: rgba(131,36,240,.06); border-radius: var(--radius-sm); margin: 6px 0 20px; }

/* Lead card */
.lead-card {
  position: relative; margin-top: 18px; padding: 26px;
  background: linear-gradient(180deg, rgba(131,36,240,.08), rgba(131,36,240,.02)), var(--bg-elev);
  border: 1px solid rgba(131,36,240,.45); border-radius: var(--radius-lg);
}
.lead-card h3 { font-family: var(--font-display); font-size: 22px; }
.lead-card > p { color: var(--text-muted); margin-top: 6px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-family: var(--font-mono); color: var(--text-dim); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 15px;
  background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: var(--radius-sm); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239DB0C4' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(131,36,240,.12); }
.field input.invalid { border-color: var(--danger); }
.form-err { color: var(--danger); font-size: 13px; margin-top: 10px; min-height: 1em; }
.form-actions { margin-top: 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.success-box { display: flex; gap: 14px; align-items: flex-start; }
.success-box .icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(52,211,153,.12); color: var(--success); display: grid; place-items: center; }
.success-box .icon svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .lead-card { padding: 20px; } }

/* ---------- Section heads ---------- */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head h2 .muted { color: #c3bad9; }
@media (max-width: 640px) { .sec-head h2 br, .cta h2 br { display: none; } .sec-head h2 .muted, .cta h2 .muted { display: block; } }
@media (max-width: 768px) { .sec-head { margin-bottom: 36px; } }

/* ---------- Cards / services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 60%), var(--bg-elev);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: border-color .2s, transform .2s, background .2s;
}
a.card:hover, .card.hoverable:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-elev-2); color: var(--cyan); border: 1px solid var(--border); margin-bottom: 18px; }
.card .ico svg { width: 20px; height: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; }
.card .more { display: inline-flex; gap: 6px; margin-top: 16px; font-size: 13px; color: var(--cyan); font-family: var(--font-mono); }

/* ---------- Bento (Why us) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.bento .b-1, .bento .b-2, .bento .b-3 { grid-column: span 2; }
.bento .b-4 { grid-column: span 2; }
.bento .b-5 { grid-column: span 4; }
.bento .illo { height: 200px; position: relative; display: grid; place-items: center; overflow: hidden; }
.bento .txt { padding: 0 26px 26px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .b-1, .bento .b-2, .bento .b-3, .bento .b-4 { grid-column: span 1; }
  .bento .b-5 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento .b-1, .bento .b-2, .bento .b-3, .bento .b-4, .bento .b-5 { grid-column: span 1; }
}

/* ABN badge */
.abn-badge { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: var(--bg-elev-2); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px -16px rgba(0,0,0,.7); }
.abn-badge .tick { width: 34px; height: 34px; border-radius: 50%; background: var(--cyan); color: var(--navy); display: grid; place-items: center; }
.abn-badge .tick svg { width: 18px; height: 18px; }
.abn-badge b { font-family: var(--font-display); font-size: 26px; letter-spacing: .08em; }
.abn-badge small { display: block; font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); }
.abn-x { position: absolute; font-size: 11px; font-family: var(--font-mono); color: var(--text-dim); padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); text-decoration: line-through; opacity: .7; }

/* Decades */
.decades { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.decades div { width: 34px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, rgba(131,36,240,.35), rgba(131,36,240,.05)); border: 1px solid rgba(131,36,240,.25); position: relative; }
.decades div span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; font-family: var(--font-mono); color: var(--text-dim); }
.decades div.now { background: var(--signal-v); border-color: transparent; }
.big-50 { position: absolute; top: 18px; left: 24px; font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--text); }
.big-50 small { font-size: 14px; color: var(--text-dim); font-weight: 600; }

/* Fit chart */
.fitchart { width: 88%; }
.fitchart .ch-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.fitchart .ch-head span:last-child { font-family: var(--font-mono); color: var(--text-dim); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 104px; }
.bars i { flex: 1; border-radius: 4px; background: rgba(169,158,195,.18); }
.bars i.hl { background: var(--signal-v); }
.bars i.hl2 { background: rgba(131,36,240,.5); }
.fitchart .tip { margin-top: 10px; font-size: 12px; color: var(--text-dim); }

/* Map */
.aus-map { width: 74%; max-width: 236px; margin-top: 8px; }
.aus-map circle.land { fill: rgba(169,158,195,.28); }
.aus-map circle.city { fill: var(--cyan); }
.aus-map circle.pulse { fill: none; stroke: var(--cyan); stroke-width: 1; opacity: .6; transform-origin: center; transform-box: fill-box; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(4); opacity: 0; } }

/* Process stepper */
.stepper { position: relative; width: 92%; height: 170px; }
.stepper .rail { position: absolute; inset: 0; background-image: linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 16.66% 100%; opacity: .7; }
.stepper .st { position: absolute; left: calc(var(--i) * (100% - 118px) / 5); top: calc(10px + var(--i) * 25px); padding: 6px 12px; font-size: 12px; white-space: nowrap; background: var(--bg-elev-2); border: 1px solid var(--border-strong); border-radius: 6px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 7px; }
.stepper .st::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--text-dim); flex: none; }
.stepper .st.on::before, .stepper .st.cur::before { background: var(--cyan); }
.stepper .st.on { color: var(--text); }
.stepper .st.cur { border-color: rgba(131,36,240,.6); color: var(--text); background: #22104e; }
@media (max-width: 640px) { .stepper .st { font-size: 11px; padding: 4px 8px; } .stepper .st { left: calc(var(--i) * (100% - 104px) / 5); } }

/* ---------- Stats arc ---------- */
.stats { padding: var(--section-y) 0 40px; overflow: hidden; }
.arc-wrap { position: relative; margin-top: 44px; height: 340px; mask-image: linear-gradient(to bottom, #000000 45%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000000 45%, transparent 100%); }
.arc { position: absolute; left: 50%; top: 0; transform: translateX(-50%); border-radius: 50%; border-top: 1px solid; pointer-events: none; }
.arc.a1 { width: 1100px; height: 520px; border-color: rgba(131,36,240,.55); background: radial-gradient(ellipse at 50% 0%, rgba(131,36,240,.22), rgba(131,36,240,.04) 55%, transparent 70%); box-shadow: 0 -1px 30px rgba(131,36,240,.25); }
.arc.a2 { width: 1240px; height: 600px; top: -14px; border-color: rgba(131,36,240,.2); }
.arc.a3 { width: 1400px; height: 690px; top: -30px; border-color: rgba(131,36,240,.08); }
.stat-row { position: relative; display: flex; justify-content: center; gap: 110px; padding-top: 52px; }
.stat { text-align: center; }
.stat b { display: block; white-space: nowrap; font-family: var(--font-display); font-size: 48px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat > span { display: block; line-height: 1.35; margin-top: 4px; }
.stat > span { font-size: 14px; color: var(--text-muted); }
@media (max-width: 768px) {
  .arc-wrap { height: 200px; }
  .stat > span { max-width: 110px; margin-inline: auto; }
  .stat-row { gap: 28px; }
  .stat b { font-size: 32px; }
  .stat > span { font-size: 12px; }
  .arc.a1 { width: 640px; height: 360px; }
  .arc.a2 { width: 740px; height: 420px; }
  .arc.a3 { width: 860px; height: 480px; }
}

/* ---------- Testimonials ---------- */
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000000 10%, #000000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000000 10%, #000000 90%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.track { display: flex; gap: 18px; width: max-content; animation: scroll 50s linear infinite; }
.marquee.rev .track { animation-direction: reverse; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tcard { width: 360px; padding: 24px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.tcard q { display: block; color: var(--text); font-size: 15px; quotes: "\201C" "\201D"; }
.tperson { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.tperson .av { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-elev-2); display: grid; place-items: center; font-weight: 600; color: var(--cyan); }
.tperson b { display: block; font-size: 14px; font-weight: 500; }
.tperson span { font-size: 12.5px; color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq { max-width: 680px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--border-strong); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: 0; text-align: left; font-size: 15px; font-weight: 500; cursor: pointer; }
.faq-q svg { width: 16px; height: 16px; flex: none; color: var(--text-dim); transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--cyan); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; color: var(--text-muted); font-size: 15px; }

/* ---------- Closing CTA ---------- */
.cta { padding: var(--section-y) 0; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.cta h2 .muted { color: var(--text-muted); }
.cta p.sub { color: var(--text-muted); margin-top: 18px; max-width: 460px; }
.cta .btns { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.contact-card { margin-top: 36px; max-width: 520px; padding: 24px; background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); }
.contact-card h3 { font-size: 17px; }
.contact-card .dim { font-size: 13px; margin-top: 4px; }
@media (max-width: 960px) { .cta-grid { grid-template-columns: 1fr; } .node-graph { max-width: 460px; margin: 0 auto; } }

.node-graph { position: relative; width: 100%; max-width: 520px; margin-left: auto; aspect-ratio: 1; }
.node-graph svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.node-graph svg.lines line { stroke: rgba(169,158,195,.18); stroke-width: 1; }
.node-graph svg.lines line.flow { stroke: var(--cyan); stroke-dasharray: 4 10; animation: dash 3s linear infinite; opacity: .6; }
@keyframes dash { to { stroke-dashoffset: -56; } }
.ng-node { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #22104e, var(--bg-elev)); border: 1px solid rgba(131,36,240,.3); color: var(--cyan); }
.ng-node svg { width: 42%; height: 42%; }
.ng-node.md { width: 66px; height: 66px; }
.ng-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 124px; height: 124px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(160deg, #22104e, var(--bg-elev)); border: 1px solid rgba(131,36,240,.5); box-shadow: 0 30px 60px -24px rgba(131,36,240,.55), inset 0 1px 0 rgba(255,255,255,.08); }
.ng-center img { width: 78px; height: 78px; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 36px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { color: var(--text-dim); font-size: 13px; margin-top: 18px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--text-muted); }
.socials a:hover { color: var(--text); border-color: var(--cyan); }
.foot-col h4 { margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--text-muted); font-size: 14px; }
.foot-col a:hover { color: var(--text); }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-dim); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: 160px 0 64px; text-align: center; }
.page-hero .crumbs { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; font-family: var(--font-mono); }
.page-hero .crumbs a:hover { color: var(--text); }
.prose { max-width: 68ch; margin: 0 auto; color: var(--text-muted); }
.prose h2 { font-size: 26px; color: var(--text); margin: 44px 0 14px; }
.prose h3 { color: var(--text); margin: 28px 0 10px; font-size: 18px; }
.prose p, .prose li { font-size: 16px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.draft-note { max-width: 760px; margin: 0 auto 30px; }

/* Finance category page */
.fp-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.fp-intro .prose { margin: 0; }
.example-box { padding: 24px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.example-box .pill { margin-bottom: 12px; }
.example-box h3 { margin-bottom: 10px; }
.example-box p { color: var(--text-muted); font-size: 15px; }
.example-box .fine { margin-top: 12px; font-size: 12px; color: var(--text-dim); }
@media (max-width: 900px) { .fp-intro { grid-template-columns: 1fr; } }
.list-card ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; }
.list-card li { display: flex; gap: 10px; color: var(--text-muted); font-size: 15px; }
.list-card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--cyan); }
.consider li::before { background: var(--warn); }
.glance { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.glance th, .glance td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 15px; }
.glance tr:last-child th, .glance tr:last-child td { border-bottom: 0; }
.glance th { width: 38%; color: var(--text-dim); font-weight: 500; font-family: var(--font-mono); font-size: 13px; }
.glance-wrap { max-width: 760px; margin: 0 auto; }
.glance-wrap .fine { margin-top: 12px; font-size: 12.5px; color: var(--text-dim); text-align: center; }
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps-4 .card { position: relative; }
.steps-4 .num { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); margin-bottom: 14px; display: block; }
@media (max-width: 960px) { .steps-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }
.compare { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-size: 17px; }
.compare thead th.us { color: var(--cyan); }
.compare td:first-child { color: var(--text-dim); font-family: var(--font-mono); font-size: 13px; width: 26%; }
.compare td.them { color: var(--text-muted); }
.compare td.us { color: var(--text); background: rgba(131,36,240,.04); }
.compare-wrap { overflow-x: auto; }
@media (max-width: 640px) { .compare th, .compare td { padding: 12px; font-size: 13.5px; } }

/* ---------- Motion ---------- */
/* One authored moment: the stats arc opens and the numbers count up.
   Content is visible by default; the class is only added when JS + motion allow. */
.stats.armed .arc { clip-path: inset(0 50% 0 50%); opacity: 0; }
.stats.armed .stat { opacity: 0; filter: blur(6px); transform: translateY(8px); }
.stats.play .arc { clip-path: inset(0 0 0 0); opacity: 1; transition: clip-path 1.4s cubic-bezier(.16,1,.3,1), opacity .6s ease-out; }
.stats.play .arc.a2 { transition-delay: .08s; }
.stats.play .arc.a3 { transition-delay: .16s; }
.stats.play .stat { opacity: 1; filter: none; transform: none; transition: opacity .7s cubic-bezier(.16,1,.3,1), filter .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.stats.play .stat:nth-child(2) { transition-delay: .12s; }
.stats.play .stat:nth-child(3) { transition-delay: .24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Prototype-only badge */
.proto-flag { position: fixed; bottom: 14px; right: 14px; z-index: 60; padding: 6px 12px; font-family: var(--font-mono); font-size: 11px; color: var(--warn); background: rgba(12,5,29,.9); border: 1px solid rgba(251,191,36,.35); border-radius: 999px; }


/* ==========================================================================
   Brand-signal layer: surfaces, hero atmosphere, coverage rail, lit cards,
   split headings, proof section. Balance: ~85% dark, 10% ice, 5% signal.
   ========================================================================== */

/* ---------- Section surfaces ---------- */
.surface-raised {
  background: var(--surface-raised);
  border-top: 1px solid rgba(169,158,195,.07);
  border-bottom: 1px solid rgba(169,158,195,.07);
}
.surface-raised .card { background: #1b0b3f; border-color: rgba(169,158,195,.10); }
.surface-raised .card:hover { border-color: rgba(131,36,240,.35); }
.surface-deep { background: var(--surface-deep); }
.surface-deep .card { background: #0e071e; }

/* ---------- Lit cards: signal border + inner light (use sparingly) ---------- */
.card.lit, .lead-card {
  border: 1px solid transparent;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(131,36,240,.16), transparent 62%) padding-box,
    linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    var(--signal) border-box;
}
.surface-deep .card.lit {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(131,36,240,.18), transparent 62%) padding-box,
    linear-gradient(#0e071e, #0e071e) padding-box,
    var(--signal) border-box;
}
.lead-card { box-shadow: 0 30px 60px -30px rgba(134,37,246,.35); }
.compare thead th.us { position: relative; }
.compare thead th.us::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 2px; background: var(--signal); border-radius: 2px; }

/* ---------- Split headings (left-aligned) ---------- */
.sec-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: end; margin-bottom: 52px; }
.sec-split h2 { max-width: 14ch; }
.sec-aside p { color: var(--text-muted); font-size: 16px; max-width: 46ch; margin-bottom: 20px; }
@media (max-width: 900px) { .sec-split { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; } .sec-split h2 { max-width: none; } }

/* ---------- FAQ: split + open rows instead of boxed cards ---------- */
.faq-split { display: grid; grid-template-columns: 1fr 1.45fr; gap: 72px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { margin-bottom: 18px; max-width: 12ch; }
.faq-intro p { color: var(--text-muted); }
.faq-split .faq { max-width: none; margin: 0; }
.faq { gap: 0; }
.faq-item { background: none; border: 0; border-bottom: 1px solid var(--border-strong); border-radius: 0; }
.faq-item:first-child { border-top: 1px solid var(--border-strong); }
.faq-item.open { border-color: var(--border-strong); }
.faq-q { padding: 22px 4px; font-size: 16px; }
.faq-item.open .faq-q { color: #d4b1fc; }
.faq-a p { padding: 0 4px 22px; max-width: 62ch; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; gap: 28px; } .faq-intro { position: static; } .faq-intro h2 { max-width: none; } }

/* ---------- Proof section: the stats should land, not whisper ---------- */
.stats.proof {
  background:
    radial-gradient(55% 60% at 50% 100%, rgba(131,36,240,.22), transparent 70%),
    radial-gradient(30% 30% at 50% 88%, rgba(134,37,246,.18), transparent 70%),
    #090316;
  padding-bottom: 72px;
}
.stats.proof h2 { font-size: clamp(30px, 3.6vw, 48px); }
.stats.proof .arc.a1 { border-color: rgba(134,37,246,.85); background: radial-gradient(ellipse at 50% 0%, rgba(131,36,240,.34), rgba(131,36,240,.06) 55%, transparent 70%); box-shadow: 0 -2px 40px rgba(134,37,246,.35); }
.stats.proof .arc.a2 { border-color: rgba(147,62,244,.35); }
.stats.proof .arc.a3 { border-color: rgba(131,36,240,.16); }
.stats.proof .stat-row { gap: clamp(28px, 9vw, 140px); padding-top: 64px; }
.stats.proof .stat b { font-size: clamp(52px, 7.4vw, 108px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #ffffff; }
.stats.proof .stat b em { font-style: normal; color: #d4b1fc; margin-left: .02em; }
.stats.proof .stat > span { font-size: 15px; color: var(--ice); opacity: .8; margin-top: 14px; }
.stats.proof .stat + .stat { position: relative; }
@media (max-width: 768px) {
  .stats.proof .stat-row { padding-top: 44px; }
  .stats.proof .stat > span { font-size: 12.5px; }
}

/* ---------- Closing CTA: illuminated ---------- */
.cta.glow-bl::before {
  background:
    radial-gradient(60% 75% at 8% 100%, rgba(131,36,240,.30), transparent 70%),
    radial-gradient(35% 45% at 0% 100%, rgba(134,37,246,.24), transparent 70%),
    radial-gradient(40% 55% at 78% 45%, rgba(190,21,216,.22), transparent 72%);
}
.cta h2 { font-size: clamp(34px, 4vw, 52px); }


/* ==========================================================================
   Horizon hero (Vault-style), Column-style coverage map, glass icon tiles
   ========================================================================== */

/* ---------- Planet horizon ---------- */
.hero { overflow: hidden; }
.hero-planet {
  position: absolute !important; z-index: 0 !important; pointer-events: none;
  left: 50%; top: 112px; width: 4000px; height: 4000px; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #090315 92%, rgba(9,3,21,0) 100%);
  box-shadow:
    inset 0 2px 0 rgba(210,192,253,.95),
    inset 0 18px 50px -18px rgba(134,37,246,.55),
    0 -2px 24px rgba(134,37,246,.45),
    0 -30px 120px -20px rgba(131,36,240,.45);
  -webkit-mask-image: radial-gradient(34% 14% at 50% 0%, #000000 55%, transparent 100%);
  mask-image: radial-gradient(34% 14% at 50% 0%, #000000 55%, transparent 100%);
}
.hero-planet::after {
  /* faint second shell, like an atmosphere */
  content: ""; position: absolute; inset: -46px; border-radius: 50%;
  border-top: 1px solid rgba(147,62,244,.22);
}
.hero-frame {
  position: absolute !important; z-index: 0 !important; pointer-events: none;
  top: 0; bottom: 0; left: 50%; width: min(1200px, calc(100% - 32px)); transform: translateX(-50%);
  border-left: 1px solid rgba(169,158,195,.07); border-right: 1px solid rgba(169,158,195,.07);
}
.hero-frame::before { content: ""; position: absolute; left: -100vw; right: -100vw; top: 92px; height: 1px; background: rgba(169,158,195,.07); }
.hero-frame .x { position: absolute; top: 86px; width: 13px; height: 13px; }
.hero-frame .x::before, .hero-frame .x::after { content: ""; position: absolute; background: rgba(214,201,244,.55); }
.hero-frame .x::before { left: 6px; top: 0; width: 1px; height: 13px; }
.hero-frame .x::after { top: 6px; left: 0; width: 13px; height: 1px; }
.hero-frame .tl { left: -7px; } .hero-frame .tr { right: -7px; }
.hero h1 { font-size: clamp(34px, 3.4vw, 54px); }
.hero .lead { color: #c1b7d7; }

/* Horizon light the widget rises out of */
.hero-widget { position: relative; margin-top: 88px; }
.horizon { position: absolute; left: -12%; right: -12%; top: -4px; height: 0; pointer-events: none; z-index: -1; }
.horizon::before {
  content: ""; position: absolute; left: 0; right: 0; top: -70px; height: 140px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(134,37,246,.55), rgba(222,63,247,.30) 38%, rgba(48,9,137,.12) 60%, transparent 72%);
  filter: blur(14px);
}
.horizon::after {
  content: ""; position: absolute; left: 14%; right: 14%; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(221,193,252,.95) 30%, #ffffff 50%, rgba(221,193,252,.95) 70%, transparent);
}
.spark { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%; background: #ded0fe; opacity: .15; animation: twinkle 3.6s ease-in-out var(--d) infinite; }
.spark:nth-child(3n) { width: 2px; height: 2px; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: translateY(0); } 50% { opacity: .95; transform: translateY(-6px); } }
@media (max-width: 768px) {
  .hero-planet { width: 1300px; height: 1300px; top: 96px; }
  .hero-frame .x, .hero-frame::before { display: none; }
  .hero-widget { margin-top: 64px; }
}

/* ---------- Coverage map section ---------- */
.coverage-map { overflow: hidden; }
.cm-grid { display: grid; grid-template-columns: .9fr 1.35fr; gap: 40px; align-items: center; }
.cm-copy h2 { max-width: 13ch; margin-bottom: 18px; }
.cm-copy > p { color: var(--text-muted); max-width: 44ch; }
.cm-states { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 12px; max-width: 420px; }
.cm-states li { font-size: 13px; color: var(--text-dim); border-top: 1px solid var(--border-strong); padding-top: 10px; }
.cm-states b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: .05em; color: var(--text); }
.cm-visual { position: relative; }
.cm-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.cm-map .route { fill: none; stroke: url(#route-grad); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0 7; opacity: .95; animation: routeflow 2.4s linear infinite; }
@keyframes routeflow { to { stroke-dashoffset: -14; } }
.cm-map .runner { fill: #ffffff; filter: drop-shadow(0 0 4px #8625f6); }
.cm-map .city .core { fill: #ffffff; stroke: #8324f0; stroke-width: 2; }
.cm-map .city .halo { fill: none; stroke: #8625f6; stroke-width: 1; opacity: .6; transform-box: fill-box; transform-origin: center; animation: cityPulse 2.8s ease-out infinite; }
@keyframes cityPulse { from { transform: scale(.6); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.cm-card {
  position: absolute; left: 2%; bottom: 6%; width: 270px; padding: 16px 18px;
  background: rgba(19,9,43,.78); border-radius: 14px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 50px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(131,36,240,.28);
}
.cm-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cm-tag { font-family: var(--font-mono); font-size: 11px; color: var(--warn); border: 1px solid rgba(251,191,36,.35); border-radius: 999px; padding: 2px 8px; }
.cm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.cm-scn { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.cm-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-top: 1px solid var(--border); }
.cm-row span { color: var(--text-dim); }
.cm-bar { margin-top: 12px; height: 4px; border-radius: 4px; background: var(--bg-elev-2); overflow: hidden; }
.cm-bar i { display: block; height: 100%; width: var(--w); background: var(--signal); }
@media (max-width: 900px) {
  .cm-grid { grid-template-columns: 1fr; }
  .cm-card { position: relative; left: auto; bottom: auto; margin: -40px auto 0; }
}

/* ---------- "No credit check" bento illustration ---------- */
.shield-illo { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.shield-core { width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(160deg, #301570, #140830); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 36px -14px rgba(134,37,246,.45); z-index: 1; }
.shield-core svg { width: 38px; height: 38px; stroke: url(#ic-grad); stroke-width: 1.8; }
.shield-illo .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(131,36,240,.35); }
.shield-illo .r2 { inset: -26px; border-style: solid; border-color: rgba(131,36,240,.12); }

/* ---------- Glass icon tiles (white → cyan, like the logo) ---------- */
.card .ico {
  width: 50px; height: 50px; border-radius: 14px; border: 0;
  background: linear-gradient(160deg, #341877 0%, #1b0b41 55%, #140830 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -10px 18px -10px rgba(134,37,246,.35), 0 12px 24px -12px rgba(134,37,246,.45);
  color: #ffffff;
}
.card .ico svg { width: 24px; height: 24px; stroke: url(#ic-grad); stroke-width: 1.8; }
.dropdown .dd-icon { background: linear-gradient(160deg, #341877, #140830); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.dropdown .dd-icon svg { stroke: url(#ic-grad); }
.ng-node svg { stroke: url(#ic-grad); }


/* ==========================================================================
   Lender finder card v2: glass console, not a form
   ========================================================================== */
.lm-card {
  background:
    linear-gradient(180deg, rgba(31,15,69,.94) 0%, rgba(18,8,40,.97) 38%, rgba(13,6,30,.98) 100%);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(210,192,253,.55),
    inset 0 0 0 1px rgba(243,184,252,.10),
    0 40px 90px -30px rgba(0,0,0,.85),
    0 20px 60px -30px rgba(134,37,246,.35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.lm-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; background: none; color: var(--text);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(134,37,246,.55), rgba(206,24,234,.4), transparent) 1;
}
.lm-title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.lm-title img { width: 22px; height: 22px; }
.lm-title em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--text-dim); padding-left: 10px; border-left: 1px solid var(--border-strong); }
.lm-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.lm-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(52,211,153,.18); animation: livepulse 2.4s ease-in-out infinite; }
@keyframes livepulse { 50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); } }
.lm-body { padding: 20px 20px 20px; }
.lm-label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin: 2px 2px 14px; }
.lm-field {
  position: relative; border-radius: 14px;
  background: rgba(8,2,20,.55);
  box-shadow: inset 0 0 0 1px rgba(243,184,252,.12), inset 0 2px 6px rgba(0,0,0,.35);
  transition: box-shadow .25s;
}
.lm-field:focus-within { box-shadow: inset 0 0 0 1px rgba(134,37,246,.7), 0 0 0 4px rgba(131,36,240,.14), inset 0 2px 6px rgba(0,0,0,.35); }
.lm-textarea {
  display: block; width: 100%; min-height: 104px; resize: none;
  padding: 16px 18px 6px; font-size: 17px; line-height: 1.55;
  background: transparent; border: 0; box-shadow: none; border-radius: 14px;
}
.lm-textarea:focus { border: 0; box-shadow: none; }
.lm-textarea::placeholder { color: #7e6f9f; transition: opacity .22s ease; }
.lm-field.ph-swap .lm-textarea::placeholder { opacity: 0; }
.lm-field-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 16px 10px 18px; font-size: 12px; color: var(--text-dim); }
.lm-count { font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 11.5px; opacity: .8; }
.lm-kbd { display: inline-flex; align-items: center; gap: 4px; }
.lm-kbd kbd { font-family: var(--font-sans); font-size: 11px; min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 5px; background: rgba(255,255,255,.06); box-shadow: inset 0 -1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(243,184,252,.14); color: var(--text-muted); }
.lm-field.nudge { animation: nudge .42s cubic-bezier(.36,.07,.19,.97); }
@keyframes nudge { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.lm-examples { gap: 8px; margin-top: 16px; }
.lm-examples .lbl { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 8px; max-width: 300px; padding: 6px 14px 6px 7px; background: rgba(255,255,255,.035); border-color: rgba(243,184,252,.14); }
.chip-ic { width: 22px; height: 22px; flex: none; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(160deg, #341877, #140830); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.chip-ic svg { width: 13px; height: 13px; stroke: url(#ic-grad); stroke-width: 2; }
.chip-tx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip:hover { background: rgba(131,36,240,.09); transform: translateY(-1px); }

.lm-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(243,184,252,.08); }
.lm-go { height: 50px; padding: 0 8px 0 24px; gap: 12px; font-size: 15px; box-shadow: 0 10px 30px -12px rgba(134,37,246,.65), inset 0 1px 0 rgba(255,255,255,.45); }
.go-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #ffffff; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.go-ic svg { width: 16px; height: 16px; }
.lm-go:hover .go-ic { transform: translateX(3px); }
@media (max-width: 640px) {
  .lm-title em, .lm-kbd { display: none; }
  .lm-head { padding: 12px 16px; }
  .lm-label { font-size: 17px; }
  .lm-go { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   Copy switch additions
   ========================================================================== */
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: #dbd0f4;
  background: rgba(22,9,51,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(243,184,252,.16);
}
.hero-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-electric); box-shadow: 0 0 0 3px rgba(134,37,246,.18); }
.hero-kicker b { font-weight: 400; color: var(--text-dim); }
.hero h1 { max-width: 16ch; margin-inline: auto; font-size: clamp(36px, 4.6vw, 64px); }
.hero-ctas { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.lm-intro { color: var(--text-muted); font-size: 14.5px; margin: -6px 2px 16px; max-width: 62ch; }
.cm-strap { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #d4b1fc; }
.sec-aside p + p { margin-top: -8px; }
.faq-ask { margin-top: 18px; }
.state-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 54px); gap: 10px; }
.state-grid li {
  height: 44px; display: grid; place-items: center; border-radius: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--text);
  background: linear-gradient(160deg, #341877, #140830);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 20px -12px rgba(134,37,246,.5);
}
.state-grid li:nth-child(3n+1) { background: var(--signal); color: var(--navy); }
@media (max-width: 640px) {
  .hero-kicker { font-size: 10.5px; letter-spacing: .06em; }
  .hero-ctas .btn { flex: 1 1 140px; }
}

/* ==========================================================================
   Hero: two columns on desktop (copy left, finder right), less vertical
   ========================================================================== */
.hero { padding: 176px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; text-align: left; }
.hero-copy h1 { max-width: 12.5ch; margin: 0; font-size: clamp(38px, 4.1vw, 60px); }
.hero-copy .lead { margin: 22px 0 0; max-width: 46ch; font-size: 17px; }
.hero-copy .hero-ctas { justify-content: flex-start; margin-top: 30px; }
.hero-grid .hero-widget { margin: 0; max-width: none; }
.hero-grid .hero-alt { text-align: left; margin-top: 14px; padding-left: 4px; }
.hero-grid .lm-textarea { min-height: 88px; }
.hero-grid .lm-intro { font-size: 14px; }
.hero-results { max-width: 820px; margin: 0 auto; }
.hero-results:empty { display: none; }
.hero-results .lm-results { margin-top: 40px; }
/* horizon light sits behind the card's top edge in the right column */
.hero-grid .horizon { left: -8%; right: -8%; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-copy h1 { margin-inline: auto; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .hero-ctas { justify-content: center; }
  .hero-grid .hero-widget { max-width: 760px; margin: 28px auto 0; width: 100%; text-align: left; }
  .hero-grid .hero-alt { text-align: center; }
}
@media (max-width: 768px) {
  .hero { padding: 124px 0 48px; }
  .hero-kicker { font-size: 10px; letter-spacing: .05em; white-space: nowrap; gap: 7px; padding: 5px 11px 5px 8px; }
  .hero-copy .hero-ctas { flex-wrap: nowrap; gap: 8px; }
  .hero-copy .hero-ctas .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: 12px; }
  .hero-grid .hero-widget { margin-top: 12px; }
}

/* Hero two-column refinements */
.hero { padding-top: 204px; }
.hero-copy h1 { max-width: 15ch; font-size: clamp(36px, 3.7vw, 56px); }
.hero-kicker { max-width: 100%; }
.hero-grid .lm-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-grid .lm-examples .lbl { grid-column: 1 / -1; margin: 0 0 2px 2px; }
.hero-grid .chip { max-width: none; min-width: 0; }
.hero-grid .lm-foot { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
.hero-grid .lm-go { width: 100%; justify-content: space-between; }
.hero-grid .lm-note { justify-content: center; }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding-top: 132px; }
  .hero-kicker { font-size: 9.5px; letter-spacing: .03em; }
  .hero-grid .lm-examples { display: flex; }
  .hero-grid .lm-examples .lbl { margin: 0 4px 0 0; }
}


/* Typing animation in the finder box */
.lm-typer {
  position: absolute; left: 0; right: 0; top: 0; padding: 16px 18px 6px;
  font-size: 17px; line-height: 1.55; color: #ada0cb; pointer-events: none;
  opacity: 0; transition: opacity .2s ease;
}
.lm-field.typing .lm-typer { opacity: 1; }
.lm-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -0.2em; border-radius: 1px; background: var(--cyan-electric); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }


/* ==========================================================================
   Site header: a proper full-width menu bar (replaces the floating pill)
   ========================================================================== */
.site-header { padding: 0; background: rgba(9,3,21,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(169,158,195,.10); }
.site-header.scrolled { background: rgba(9,3,21,.94); }
.nav { height: 72px; gap: 40px; justify-content: flex-start; }
.site-header nav { flex: 1; }
.nav-links { background: none; border: 0; padding: 0; gap: 2px; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; height: 72px; }
.nav-links > li { height: 100%; display: flex; align-items: center; position: static; }
.nav-links a, .nav-links button.nav-drop { position: relative; height: 100%; padding: 0 14px; border-radius: 0; font-size: 14.5px; font-weight: 500; color: #ccc4e0; }
.nav-links a:hover, .nav-links button.nav-drop:hover, .nav-links a.active, .nav-links li.open .nav-drop { color: #ffffff; background: none; }
.nav-links a::after, .nav-links button.nav-drop::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.nav-links a:hover::after, .nav-links a.active::after, .nav-links li:hover .nav-drop::after, .nav-links li.open .nav-drop::after { transform: scaleX(1); }
.nav-right { gap: 20px; }
.nav-contact { font-size: 14.5px; font-weight: 500; color: #ccc4e0; }
.nav-contact:hover { color: #ffffff; }
.nav-cta { height: 42px; font-family: var(--font-sans); font-size: 14px; }

/* Mega menu: full-width panel under the bar */
.dropdown.mega {
  position: absolute; top: 100%; left: 0; right: 0; transform: translateY(6px);
  width: min(1200px, calc(100% - 48px)); margin: 0 auto; min-width: 0;
  display: grid; grid-template-columns: 1fr 300px; gap: 12px; padding: 14px;
  background: #110729; border: 1px solid rgba(169,158,195,.14); border-top: 0; border-radius: 0 0 18px 18px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.8);
}
.nav-links li:hover .dropdown.mega, .nav-links li:focus-within .dropdown.mega, .nav-links li.open .dropdown.mega { transform: none; }
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mm-item { display: flex !important; align-items: flex-start !important; gap: 14px !important; padding: 14px !important; border-radius: 12px !important; height: auto !important; }
.mm-item::after { display: none; }
.mm-item:hover { background: rgba(255,255,255,.04) !important; }
.mm-item b { display: block; font-size: 14.5px; font-weight: 600; color: #ffffff; }
.mm-item small { display: block; margin-top: 3px; font-size: 13px; color: var(--text-dim); line-height: 1.45; }
.mm-item .dd-icon { width: 38px; height: 38px; border-radius: 10px; }
.mm-promo {
  display: flex !important; flex-direction: column; gap: 8px; padding: 22px !important; height: auto !important; border-radius: 14px !important;
  background: radial-gradient(120% 80% at 100% 0%, rgba(134,37,246,.22), transparent 60%), linear-gradient(160deg, #22104e, #140830) !important;
  box-shadow: inset 0 1px 0 rgba(210,192,253,.3), inset 0 0 0 1px rgba(131,36,240,.25);
}
.mm-promo::after { display: none; }
.mm-promo-tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; color: #d4b1fc; padding: 3px 9px; border-radius: 999px; background: rgba(131,36,240,.14); }
.mm-promo b { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #ffffff; }
.mm-promo span { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.mm-promo em { margin-top: auto; font-style: normal; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #d4b1fc; }
.mm-promo em svg { width: 15px; height: 15px; }

@media (max-width: 1100px) { .nav-contact { display: none; } .nav-links a, .nav-links button.nav-drop { padding: 0 10px; } .nav { gap: 24px; } }
@media (max-width: 960px) {
  .nav { height: 64px; justify-content: space-between; }
  .site-header nav { flex: 0; }
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .nav-right .btn, .nav-contact { display: none; }
  .mobile-sheet { inset: 72px 12px auto 12px; }
}
/* The hero frame's top rule used to align with the old floating nav */
.hero-frame::before, .hero-frame .x { display: none; }

/* Professional pass: no sparkles, calmer horizon */
.spark { display: none; }
.hero-planet { box-shadow: inset 0 1px 0 rgba(221,199,246,.55), inset 0 18px 50px -24px rgba(131,36,240,.35), 0 -20px 90px -30px rgba(131,36,240,.28); }
.hero-planet::after { border-top-color: rgba(147,62,244,.10); }
.horizon::before { background: radial-gradient(50% 50% at 50% 50%, rgba(131,36,240,.28), rgba(190,21,216,.14) 45%, transparent 72%); }
.horizon::after { background: linear-gradient(90deg, transparent, rgba(216,190,246,.55) 35%, rgba(231,221,254,.8) 50%, rgba(216,190,246,.55) 65%, transparent); height: 1px; }

.mm-promo b { font-size: 19px; }
.mega { grid-template-columns: 1fr 280px; }

/* ==========================================================================
   Display face: Bebas Neue (single weight, all caps, condensed)
   ========================================================================== */
:root { --font-display: "Bebas Neue", "Montserrat", system-ui, sans-serif; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.005em; line-height: 0.95; text-transform: uppercase; }
.hero-copy h1 { font-size: clamp(56px, 6.2vw, 96px); max-width: 11ch; }
h2 { font-size: clamp(40px, 4.4vw, 64px); }
.sec-split h2 { max-width: 16ch; }
.cm-copy h2 { max-width: 14ch; }
.faq-intro h2 { max-width: 12ch; }
.cta h2 { font-size: clamp(48px, 5.4vw, 80px); }
.lm-res-head h3, .lead-card h3, .mm-promo b, .lm-label { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; }
.lm-label { font-size: 26px; line-height: 1; }
.lead-card h3 { font-size: 30px; }
.lm-res-head h3 { font-size: 34px; }
.mm-promo b { font-size: 26px; }
.cm-strap { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: .02em; }
/* Wordmark, state codes and tiles stay in Montserrat to match the logo */
.brand span, .cm-states b, .state-grid li, .rail li b { font-family: "Montserrat", system-ui, sans-serif; }
@media (max-width: 768px) {
  .hero-copy h1 { font-size: clamp(52px, 14vw, 72px); }
  h2 { font-size: clamp(38px, 10vw, 52px); }
}
.hero-copy h1 { max-width: 13ch; }
.sec-split h2 { max-width: 22ch; }
.cm-copy h2 { max-width: 16ch; }
.faq-intro h2 { max-width: 14ch; }
@media (max-width: 768px) { .hero-copy h1, .sec-split h2, .cm-copy h2, .faq-intro h2 { max-width: none; } }
.hero-copy h1 { font-size: clamp(46px, 4.8vw, 74px); max-width: 15ch; }
@media (max-width: 768px) { .hero-copy h1 { font-size: clamp(44px, 11.5vw, 60px); } }

/* ==========================================================================
   Body face: Archivo (replaces Inter and JetBrains Mono)
   ========================================================================== */
:root {
  --font-sans: "Archivo", system-ui, -apple-system, sans-serif;
  --font-mono: "Archivo", system-ui, sans-serif;
}
body { font-feature-settings: "ss01" off; letter-spacing: 0.002em; }
/* Former monospace spots: buttons, pills, small labels. Set as semibold Archivo */
.btn, .pill, .lm-live, .lm-count, .lm-examples .lbl, .cm-tag, .mm-promo-tag, .field label, .glance th, .compare td:first-child, .lc-stat .k, .card .more, .decades div span, .fitchart .ch-head span:last-child, .lm-ticker, .proto-flag, .steps-4 .num {
  font-family: var(--font-sans); letter-spacing: 0.01em;
}
.btn { font-weight: 600; font-size: 14px; }
.pill { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.field label, .lc-stat .k, .glance th { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.card .more { font-weight: 600; font-size: 13.5px; }
/* Wide cut for the wordmark and state codes echoes the logo */
.brand span, .cm-states b, .state-grid li, .rail li b { font-family: "Archivo", sans-serif; font-weight: 800; font-stretch: 125%; }

/* Gradient buttons: white text on a deeper signal so it stays readable */
:root { --signal-btn: linear-gradient(120deg, #872fed 0%, #d21fee 45%, #c914e5 100%); }
.btn-accent, .lm-go, .nav-cta { background: var(--signal-btn); color: #ffffff; text-shadow: 0 1px 1px rgba(28,2,88,.25); }
.btn-accent:hover { color: #ffffff; }
.go-ic { background: #ffffff; color: #c914e5; }

/* Closing CTA: graphic left, copy right */
.cta-grid { grid-template-columns: 1fr 1.05fr; }
.cta-grid > .node-graph { order: -1; margin-left: 0; margin-right: auto; }
@media (max-width: 960px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-grid > .node-graph { order: 0; margin: 0 auto; }
}

/* Hero balance: headline fills its column instead of hugging the left edge */
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; }
.hero-copy h1 { max-width: none; font-size: clamp(48px, 5.2vw, 80px); text-wrap: balance; }
.hero-copy .lead { max-width: 50ch; }

/* Closing CTA: compact */
.cta { padding: 88px 0; }
.cta-grid { align-items: center; gap: 48px; }
.cta h2 { font-size: clamp(40px, 3.8vw, 58px); max-width: none; }
.cta p.sub { margin-top: 12px; max-width: 52ch; }
.cta .btns { margin-top: 20px; }
.contact-card { margin-top: 24px; max-width: none; padding: 20px 22px; }
.contact-card .dim { margin-top: 2px; }
.contact-form .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.contact-form .field label { margin-bottom: 5px; }
.contact-form .field input { padding: 10px 12px; }
.contact-form .field textarea { min-height: 64px; padding: 10px 12px; }
.contact-form .form-err:empty { display: none; }
.contact-form .form-actions { margin-top: 12px; }
.cta .node-graph { max-width: 420px; }
@media (max-width: 640px) { .contact-form .form-grid { grid-template-columns: 1fr; } }
.cta-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.lm-foot { margin-top: 18px; }

/* ==========================================================================
   Results inside the finder card (no page takeover)
   ========================================================================== */
.lm-res { padding-top: 18px; }
.rs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rs-kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #d4b1fc; }
.rs-title { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; text-transform: uppercase; margin-top: 6px; }
.rs-new { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--text-muted); background: none; border: 1px solid var(--border-strong); border-radius: 999px; cursor: pointer; }
.rs-new:hover { color: #ffffff; border-color: var(--cyan); }
.rs-new svg { width: 13px; height: 13px; }
.rs-proto { margin-top: 10px; font-size: 12px; color: var(--warn); }
.rr-list { margin-top: 14px; display: grid; gap: 8px; }
.rr { border-radius: 12px; background: rgba(8,2,20,.5); box-shadow: inset 0 0 0 1px rgba(243,184,252,.12); }
.rr[open] { box-shadow: inset 0 0 0 1px rgba(131,36,240,.4); }
.rr summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 11px 14px; cursor: pointer; }
.rr summary::-webkit-details-marker { display: none; }
.rr-rank { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 7px; font-size: 12px; font-weight: 700; color: #d4b1fc; background: rgba(131,36,240,.12); }
.rr-name { flex: 1; min-width: 0; }
.rr-name b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr-name small { font-size: 12px; color: var(--text-dim); }
.rr .conf { padding: 3px 10px; font-size: 12.5px; }
.rr-chev svg { width: 14px; height: 14px; color: var(--text-dim); transition: transform .2s; }
.rr[open] .rr-chev svg { transform: rotate(180deg); }
.rr-body { padding: 0 14px 14px 50px; }
.rr-body p { font-size: 13.5px; color: var(--text-muted); }
.rr-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.rr-stats span { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rr-stats em { display: block; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
.rr-cav { margin-top: 8px; font-size: 12.5px !important; }
.rr-cav b { color: var(--warn); font-weight: 600; }
.rs-extra { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.rs-lead { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(243,184,252,.08); }
.rs-lead-t { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.rs-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.rs-fields input { width: 100%; padding: 11px 12px; font-size: 14px; background: rgba(8,2,20,.55); border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(243,184,252,.14); outline: none; }
.rs-fields input:focus { box-shadow: inset 0 0 0 1px var(--cyan), 0 0 0 3px rgba(131,36,240,.14); }
.rs-fields input.invalid { box-shadow: inset 0 0 0 1px var(--danger); }
.rs-lead .form-err:empty { display: none; }
.rs-lead .lm-go { width: 100%; justify-content: space-between; }
.rs-fine { margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: var(--text-dim); }
.lm-card .success-box { padding: 4px 0; }
@media (max-width: 640px) { .rs-fields { grid-template-columns: 1fr; } .rr-body { padding-left: 14px; } }

/* ==========================================================================
   Responsive overrides. Keep LAST so desktop rules above can't override them.
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; text-align: center; }
  .hero-copy h1 { margin-inline: auto; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .hero-ctas { justify-content: center; }
  .hero-grid .hero-widget { max-width: 640px; margin: 0 auto; width: 100%; text-align: left; }
  .hero-grid .hero-alt { text-align: center; }
}
@media (max-width: 960px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cta-grid > .node-graph { order: 0; margin: 0 auto; max-width: 340px; }
}
@media (max-width: 768px) {
  .hero { padding-top: 104px; padding-bottom: 48px; }
  .hero-copy h1 { font-size: clamp(42px, 11.5vw, 58px); max-width: none; }
  .hero-copy .lead { font-size: 15.5px; }
  .lm-head { padding: 12px 14px; }
  .lm-title { font-size: 13.5px; white-space: nowrap; }
  .lm-live { font-size: 11.5px; white-space: nowrap; }
  .lm-body { padding: 16px; }
  .lm-label { font-size: 24px; }
  .lm-intro { font-size: 14px; }
  .lm-textarea { font-size: 16px; min-height: 96px; }
  .lm-typer { font-size: 16px; }
  .lm-kbd { display: none; }
  .cta { padding: 64px 0; }
  .cta h2 { font-size: clamp(38px, 10vw, 50px); }
}

/* Declare the site as dark so browsers never treat it as a light page */
:root { color-scheme: dark; }
/* Windows contrast themes / forced colours: respect the user's colours, drop purely decorative layers */
@media (forced-colors: active) {
  .hero-planet, .horizon, .hero-frame, .glow-top::before, .glow-bl::before, .rail-pulse { display: none; }
  .btn, .lm-card, .card, .lead-card, .contact-card, .rr { border: 1px solid CanvasText; }
  .brand img, .ng-center img, .lm-title img { forced-color-adjust: none; }
}

/* ==========================================================================
   v2: brokerage-first hero, how it works, structured enquiry
   ========================================================================== */
.hero-v2 { text-align: center; max-width: 900px; }
.hero-service { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #d5bcf2; margin-bottom: 18px; }
.hero-service b { font-weight: 400; color: var(--text-dim); margin: 0 6px; }
.hero-v2 h1 { font-size: clamp(46px, 6vw, 88px); max-width: 15ch; margin: 0 auto; }
.hero-v2 .lead { margin: 22px auto 0; max-width: 56ch; font-size: 18px; }
.hero-v2 .hero-ctas { justify-content: center; margin-top: 32px; }
.hero-v2 .hero-ctas .btn { height: 50px; padding: 0 26px; font-size: 15px; }
.proof { list-style: none; padding: 0; margin: 40px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 0; }
.proof li { font-size: 15px; color: var(--text-muted); padding: 0 22px; }
.proof li + li { border-left: 1px solid var(--border-strong); }
.proof b { color: #ffffff; font-weight: 700; }
.hero { padding-bottom: 96px; }

.how .sec-head h2 { max-width: 20ch; margin-inline: auto; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.how-steps li { position: relative; padding: 28px; border-radius: 16px; background: var(--bg-elev); border: 1px solid var(--border); }
.how-steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -18px; width: 18px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.how-n { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; font-weight: 800; color: #ffffff; background: var(--signal-btn); margin-bottom: 18px; }
.how-steps h3 { margin-bottom: 8px; }
.how-steps p { color: var(--text-muted); font-size: 15px; }

.enq-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.enq-copy { position: sticky; top: 110px; }
.enq-copy h2 { margin-bottom: 16px; }
.enq-copy > p { color: var(--text-muted); max-width: 46ch; }
.enq-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.enq-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.enq-points .tick { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(52,211,153,.14); color: var(--success); }
.enq-points .tick svg { width: 13px; height: 13px; }
.enq-alt { margin-top: 24px; font-size: 14px; color: var(--text-dim); }

/* form card */
.enq .lm-head { justify-content: space-between; }
.enq-steps { display: flex; gap: 5px; }
.enq-steps i { width: 22px; height: 4px; border-radius: 4px; background: rgba(169,158,195,.2); }
.enq-steps i.on { background: var(--signal-btn); }
.enq-lead { color: var(--text-muted); font-size: 14.5px; margin-bottom: 18px; }
.enq-q { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.enq-q legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 15.5px; }
.enq-q legend span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; font-size: 12px; font-weight: 700; color: #d4b1fc; background: rgba(131,36,240,.14); }
.enq-grid { display: grid; gap: 8px; }
.enq-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.enq-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.enq-opt { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 9px 12px; text-align: left; font-size: 13.5px; font-weight: 500; line-height: 1.25; color: #ded7ee; background: rgba(8,2,20,.5); border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(243,184,252,.14); cursor: pointer; transition: box-shadow .15s, background .15s; }
.enq-grid.g4 .enq-opt { justify-content: center; text-align: center; }
.enq-opt:hover { box-shadow: inset 0 0 0 1px rgba(131,36,240,.5); }
.enq-opt.on { background: rgba(131,36,240,.14); box-shadow: inset 0 0 0 1.5px var(--cyan); color: #ffffff; }
.enq-more { margin: 4px 0 18px; }
.enq-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: #d5bcf2; list-style: none; }
.enq-more summary::-webkit-details-marker { display: none; }
.enq-more summary::before { content: "+ "; }
.enq-more[open] summary::before { content: "− "; }
.enq-more summary em { font-style: normal; font-weight: 400; color: var(--text-dim); margin-left: 4px; }
.enq-ta { width: 100%; margin-top: 10px; padding: 12px 14px; font-size: 15px; line-height: 1.5; background: rgba(8,2,20,.55); border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(243,184,252,.14); outline: none; resize: vertical; }
.enq-ta:focus { box-shadow: inset 0 0 0 1px var(--cyan), 0 0 0 3px rgba(131,36,240,.14); }
.enq .lm-go { width: 100%; justify-content: space-between; }
.enq-note { justify-content: center; margin-top: 12px; }
.enq .lm-go[disabled] .go-ic { background: rgba(255,255,255,.08); color: var(--text-dim); }

@media (max-width: 960px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li::after { display: none; }
  .enq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .enq-copy { position: static; }
}
@media (max-width: 640px) {
  .hero-v2 .lead { font-size: 16px; }
  .hero-service { font-size: 11px; letter-spacing: .06em; }
  .hero-v2 .hero-ctas .btn { flex: 1 1 0; padding: 0 12px; font-size: 14px; }
  .proof li { padding: 0 12px; font-size: 13.5px; }
  .enq-grid.g3 { grid-template-columns: 1fr 1fr; }
  .enq-grid.g4 { grid-template-columns: 1fr 1fr; }
}
.hero-v2 h1 { max-width: 17ch; }
.how .sec-head h2 { max-width: 24ch; }

/* ==========================================================================
   AI-lab data sites: components added on top of the baseline layout.
   Written in the baseline blue palette; build.py recolours it per site.
   ========================================================================== */
:root { --g-lite: #d4b1fc; --g-mid: #8324f0; --g-glow: #8625f6; --g-deep: #ce18ea; }
[hidden] { display: none !important; }
.brand img { width: 30px; height: 30px; }

/* ---------- Hero extras ---------- */
.hero-note { margin: 22px auto 0; max-width: 56ch; font-size: 14px; color: var(--text-dim); }
.hero-note b { color: #dbd0f4; font-weight: 600; }
.hero-v2 .hero-service { max-width: 100%; }
.hero-sub { margin: 20px auto 0; font-size: clamp(20px, 2.1vw, 27px); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: var(--g-lite); }
.hero-sub-fine { margin: 8px auto 0; font-size: 12.5px; color: var(--text-dim); }
.hero-sub-fine a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hero-sub-fine a:hover { color: var(--text); }
.hero-v2 .lead { margin-top: 22px; }

/* ---------- Calculator ---------- */
.calc .lm-title em { color: var(--text-dim); }
.calc-body { padding: 24px 22px 22px; }
.calc-count { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g-lite); }
.calc-q { margin-top: 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; letter-spacing: .005em; text-transform: uppercase; }
.calc-help { margin-top: 10px; font-size: 14.5px; color: var(--text-muted); max-width: 52ch; }
.calc-field { margin-top: 20px; }
.calc-input {
  width: 100%; padding: 16px 18px; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums;
  background: rgba(8,2,20,.55); border: 0; border-radius: 14px; outline: none;
  box-shadow: inset 0 0 0 1px rgba(243,184,252,.14), inset 0 2px 6px rgba(0,0,0,.35);
  transition: box-shadow .25s;
}
.calc-input::placeholder { color: #7e6f9f; font-weight: 400; }
.calc-input:focus { box-shadow: inset 0 0 0 1px rgba(134,37,246,.7), 0 0 0 4px rgba(131,36,240,.14), inset 0 2px 6px rgba(0,0,0,.35); }
.calc-input.invalid { box-shadow: inset 0 0 0 1px var(--danger); }
.calc .enq-grid { margin-top: 20px; }
.calc .enq-grid.g4 .enq-opt, .calc .enq-grid.g3 .enq-opt { min-height: 54px; font-size: 14.5px; }
.calc .form-err { margin-top: 12px; min-height: 0; }
.calc .form-err:empty { display: none; }
.calc-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(243,184,252,.08); }
.calc-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; background: none; border: 0; font-size: 14px; font-weight: 600; color: var(--text-dim); cursor: pointer; }
.calc-back:hover { color: #ffffff; }
.calc-back svg { width: 15px; height: 15px; }
.calc-nav .lm-go { width: auto; }
.calc-expert { margin-top: 14px; text-align: center; font-size: 13px; color: var(--text-dim); }
.calc-expert a { color: var(--g-lite); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.calc-res { padding-top: 22px; }
.calc-range { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 6px; }
.calc-range b { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 62px); line-height: 1; letter-spacing: .005em; color: #ffffff; font-variant-numeric: tabular-nums; }
.calc-range span { font-size: 15px; color: var(--text-dim); }
.calc-fine { font-size: 13px; line-height: 1.55; color: var(--text-dim); max-width: 60ch; }
.calc-how { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(8,2,20,.45); box-shadow: inset 0 0 0 1px rgba(243,184,252,.1); }
.calc-how summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--g-lite); list-style: none; }
.calc-how summary::-webkit-details-marker { display: none; }
.calc-how summary::before { content: "+ "; }
.calc-how[open] summary::before { content: "− "; }
.calc-how p { margin-top: 10px; font-size: 13.5px; color: var(--text-muted); }
.calc-table { width: 100%; margin-top: 10px; border-collapse: collapse; }
.calc-table th, .calc-table td { padding: 8px 0; text-align: left; font-size: 13.5px; border-top: 1px solid var(--border); }
.calc-table th { width: 44%; font-weight: 500; color: var(--text-dim); }
.calc-table td { font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-cta { margin-top: 20px; }
.calc-cta .lm-go, .calc-lead .lm-go { width: 100%; justify-content: space-between; }
.calc-lead { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(243,184,252,.08); }
.calc-src-t { margin: 4px 0 10px; font-size: 13.5px; font-weight: 600; }
.calc-src-t em { font-style: normal; font-weight: 400; color: var(--text-dim); margin-left: 4px; }
.calc-src { margin: 0 0 14px; }
.calc-src .enq-opt { min-height: 44px; font-size: 13px; padding: 7px 10px; }
.calc-lead .form-err:empty { display: none; }
@media (max-width: 640px) {
  .calc-body { padding: 18px 16px; }
  .calc-nav .lm-go { padding-left: 18px; }
  .calc-src.g3 { grid-template-columns: 1fr 1fr; }
}

/* ---------- Network diagram: records -> hub -> labs ---------- */
.nw { position: relative; width: 100%; max-width: 560px; margin-left: auto; aspect-ratio: 520 / 400; }
.nw-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nw .route { fill: none; stroke: url(#route-grad); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 0 7; opacity: .9; animation: routeflow 2.4s linear infinite; vector-effect: non-scaling-stroke; }
.nw .runner { fill: #ffffff; filter: drop-shadow(0 0 4px var(--g-glow)); }
.nw-node {
  position: absolute; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #ffffff;
  background: linear-gradient(160deg, #341877 0%, #1b0b41 55%, #140830 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -10px 18px -10px rgba(134,37,246,.35), 0 12px 24px -12px rgba(134,37,246,.45);
}
.nw-node svg { width: 22px; height: 22px; stroke: url(#ic-grad); stroke-width: 1.8; }
.nw-node.lab { border-radius: 50%; }
.nw-node.hub { width: 96px; height: 96px; border-radius: 26px; border: 1px solid rgba(131,36,240,.5); box-shadow: 0 30px 60px -24px rgba(131,36,240,.55), inset 0 1px 0 rgba(255,255,255,.08); }
.nw-node.hub img { width: 58px; height: 58px; }
.nw-cap { position: absolute; bottom: -26px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.nw-cap.l { left: 0; } .nw-cap.r { right: 0; }
.cm-visual { padding-bottom: 28px; }
.cm-card { position: relative; left: auto; bottom: auto; width: min(320px, 100%); margin: 40px 0 0 auto; }
.cm-actions { display: flex; gap: 6px; margin-top: 12px; }
.cm-actions span { flex: 1; text-align: center; padding: 7px 0; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--text-muted); background: var(--bg-elev-2); }
.cm-actions span:first-child { background: var(--signal-btn); color: #ffffff; }
.cm-roles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 460px; }
.cm-roles li { border-top: 1px solid var(--border-strong); padding-top: 12px; font-size: 14px; color: var(--text-muted); }
.cm-roles b { display: block; font-family: var(--font-sans); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
@media (max-width: 900px) { .nw { margin: 0 auto; } .cm-card { margin: 36px auto 0; } }

/* ---------- Bento illustrations ---------- */
.redact { width: 86%; display: grid; gap: 9px; }
.rd { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 12px; color: var(--text-muted); background: var(--bg-elev-2); border: 1px solid var(--border); }
.rd span { width: 64px; flex: none; font-weight: 600; color: var(--text-dim); }
.rd i { flex: 1; height: 9px; border-radius: 3px; background: rgba(255,255,255,.16); }
.rd em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--g-lite); border: 1px solid rgba(131,36,240,.32); padding: 1px 8px; border-radius: 999px; }
.abn-badge b { font-size: 24px; }

/* ---------- Thesis: public data vs your record ---------- */
.thesis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.thesis-grid .card { padding: 32px; }
.thesis-grid h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.thesis-grid p { max-width: 42ch; margin-top: 10px; }
.th-public { background: transparent; border-style: dashed; border-color: var(--border-strong); }
.th-public h3, .th-public p { color: var(--text-muted); }
.th-private .pill { color: #ffffff; border-color: rgba(131,36,240,.5); }
@media (max-width: 760px) { .thesis-grid { grid-template-columns: 1fr; } .thesis-grid .card { padding: 24px; } }

/* ---------- Data pages ---------- */
.glance th { width: 34%; }


:root { --font-display: "Sora", system-ui, sans-serif; }
h1,h2,.calc-q,.calc-range b,.lm-res-head h3,.lead-card h3,.mm-promo b,.lm-label,.rs-title,.cm-strap { font-family: var(--font-display); font-weight: 600; text-transform: none; letter-spacing: -.03em; line-height: 1.08; }
.hero-v2 h1 { font-size: clamp(36px, 4.8vw, 68px); max-width: 18ch; }
h2 { font-size: clamp(28px, 3.4vw, 46px); }
.cta h2 { font-size: clamp(32px, 3.4vw, 48px); max-width: none; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 56px); }
.faq-intro h2, .cm-copy h2, .sec-split h2, .how .sec-head h2 { max-width: 22ch; }
.calc-q { font-size: clamp(22px, 2.2vw, 28px); }
.calc-range b { font-size: clamp(34px, 4.2vw, 52px); }
.rs-title { font-size: 24px; } .lm-label { font-size: 22px; } .lm-res-head h3 { font-size: 26px; }
.lead-card h3 { font-size: 24px; } .mm-promo b { font-size: 20px; } .cm-strap { font-size: 19px; }
@media (max-width: 768px) { .hero-v2 h1 { font-size: clamp(34px, 9vw, 46px); max-width: none; } h2 { font-size: clamp(28px, 7.4vw, 38px); } }

.brand-sub { padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--border-strong); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
@media (max-width: 640px) { .brand-sub { display: none; } }
