/* ==========================================================================
   LyteIQ Technologies — Light FinTech / Enterprise SaaS design system (v2)
   Shared by index.html, go-hard-money.html, dealalign.html
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:          #F5F7FA;
  --bg-2:        #EEF2F7;
  --surface:     #FFFFFF;
  --navy:        #0B1B3D;
  --navy-2:      #10244D;
  --navy-3:      #17305F;

  /* Lines */
  --line:        #E3E8EF;
  --line-2:      #D3DBE6;
  --line-dark:   rgba(255,255,255,0.10);
  --line-dark-2: rgba(255,255,255,0.18);

  /* Text */
  --ink:         #0B1B3D;
  --text:        #334155;
  --mute:        #64748B;
  --faint:       #94A3B8;
  --on-dark:     #F1F5FB;
  --on-dark-2:   #B7C3D6;
  --on-dark-3:   #8595AE;

  /* Brand + status */
  --blue:        #1F5BE0;
  --blue-600:    #1A4FC4;
  --blue-50:     #EEF3FE;
  --blue-100:    #DCE6FC;
  --teal:        #0E8F80;
  --teal-50:     #E7F6F3;
  --teal-100:    #C9ECE5;
  --amber:       #B26B0B;
  --amber-50:    #FDF4E4;
  --red:         #B42318;

  /* Product accents */
  --ghm:         #B45309;   /* GO HARD MONEY — warm */
  --ghm-50:      #FFF7EC;
  --ghm-100:     #FBE7C9;
  --da:          #0F6E77;   /* DealAlign — institutional teal-slate */
  --da-50:       #EDF6F7;
  --da-100:      #D2E8EA;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;

  --shadow-1: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-2: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px -12px rgba(15,23,42,0.14);
  --shadow-3: 0 1px 2px rgba(15,23,42,0.05), 0 24px 48px -24px rgba(11,27,61,0.22);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  --font-sans: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { 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;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "tnum" 0;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue-100); color: var(--ink); }
.num, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }

/* Accessibility */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--navy); color: #fff; font-weight: 600; font-size: 14px;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow.on-dark { color: #8FB2FF; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 2px; background: currentColor; }

.h-section {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin: 12px 0 0;
  text-wrap: balance;
}
.lede {
  font-size: 17px; line-height: 1.65; color: var(--text); margin: 0; max-width: 560px; text-wrap: pretty;
}
.on-dark .h-section, .h-section.on-dark { color: #fff; }
.on-dark .lede, .lede.on-dark { color: var(--on-dark-2); }

.section { padding: clamp(72px, 9vw, 112px) 0; position: relative; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--navy); color: var(--on-dark-2); }
.section-head { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 56px; align-items: end; margin-bottom: 48px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .lede { margin: 16px auto 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .15s ease; }
.btn:hover svg.arrow, .btn:hover > svg:last-child { transform: translateX(2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--blue-600); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.btn-secondary:hover { border-color: #B7C3D3; background: #FAFBFD; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: #E9EEF7; }
.btn-outline-dark { background: transparent; color: #fff; border-color: var(--line-dark-2); }
.btn-outline-dark:hover { background: rgba(255,255,255,0.06); }
.textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 500; font-size: 15px; }
.textlink svg { width: 14px; height: 14px; transition: transform .15s; }
.textlink:hover svg { transform: translateX(2px); }

/* ==========================================================================
   NAV (shared)
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 16px -12px rgba(15,23,42,0.18); }
.nav .container { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-brand { display: flex; align-items: center; flex: none; }
.nav-logo { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; flex: 1; }
.nav-links a {
  padding: 8px 12px; border-radius: 6px;
  font-size: 14.5px; font-weight: 500; color: var(--text);
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.nav-links .nav-plat { display: inline-flex; align-items: center; gap: 8px; }
.nav-links .nav-plat i { width: 7px; height: 7px; border-radius: 2px; display: block; }
.nav-links .nav-plat.ghm i { background: var(--ghm); }
.nav-links .nav-plat.da i { background: var(--da); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-cta { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; margin-left: auto;
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--ink);
  align-items: center; justify-content: center;
}
@media (max-width: 980px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 16px; box-shadow: 0 12px 24px -16px rgba(15,23,42,.2);
  }
  .nav.menu-open .nav-links a { padding: 12px; font-size: 16px; }
  .nav.menu-open .nav-links .nav-menu-cta { display: flex; margin-top: 8px; justify-content: center; background: var(--blue); color: #fff; }
}
.nav-links .nav-menu-cta { display: none; }
@media (max-width: 980px) {
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: clamp(56px, 7vw, 88px) 0 56px; background:
  linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.12; letter-spacing: -0.025em; font-weight: 600;
  color: var(--ink); margin: 16px 0 20px; text-wrap: balance;
}
.hero h1 .hl { color: var(--blue); }
.hero .lede { font-size: 18px; max-width: 520px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-triad { display: flex; align-items: center; gap: 10px; margin-top: 36px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.hero-triad b { color: var(--ink); font-weight: 500; }
.hero-triad svg { width: 14px; height: 14px; color: var(--faint); }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }

/* App window chrome */
.app {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.app-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: #FBFCFE;
}
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #DDE3EC; display: block; }
.app-bar .crumb { font-size: 12.5px; color: var(--mute); display: flex; gap: 6px; align-items: center; min-width: 0; }
.app-bar .crumb b { color: var(--ink); font-weight: 500; white-space: nowrap; }
.app-bar .crumb .sep { color: var(--faint); }
.app-bar .tag {
  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--mute); border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 6px; white-space: nowrap;
}

/* Status pill */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; line-height: 1;
  padding: 5px 8px; border-radius: 999px; white-space: nowrap;
  border: 1px solid transparent;
}
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--teal); background: var(--teal-50); border-color: var(--teal-100); }
.pill.review { color: var(--amber); background: var(--amber-50); border-color: #F6E2BD; }
.pill.pending { color: var(--mute); background: var(--bg-2); border-color: var(--line); }
.pill.info { color: var(--blue); background: var(--blue-50); border-color: var(--blue-100); }
.pill.plain::before { display: none; }

/* Hero flow */
.hero-app .app-body { padding: 18px; display: grid; gap: 12px; background: var(--bg); }
.flow-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.flow-title { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.flow-title .step { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--mute);
  width: 22px; height: 22px; border-radius: 6px; background: var(--bg-2); display: grid; place-items: center; }
.opp-amount { font-family: var(--font-mono); font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; line-height: 1.1; }
.opp-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 12.5px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }
.opp-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
.opp-grid > div { padding: 10px 10px 0 0; }
.kv-k { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.kv-v { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 2px; font-variant-numeric: tabular-nums; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); }
.tick {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line-2); display: grid; place-items: center; background: #fff;
  transition: background .3s, border-color .3s;
}
.tick svg { width: 10px; height: 10px; color: #fff; opacity: 0; transition: opacity .2s; }
.is-done > .tick, .tick.is-done { background: var(--teal); border-color: var(--teal); }
.is-done > .tick svg, .tick.is-done svg { opacity: 1; }
.is-review > .tick { background: var(--amber); border-color: var(--amber); }
.is-review > .tick svg { opacity: 1; }

.flow-join { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.engine-card { background: var(--navy); border-color: var(--navy); color: var(--on-dark-2); }
.engine-card .flow-title { color: #fff; }
.engine-card .flow-title .step { background: rgba(255,255,255,.08); color: var(--on-dark-2); }
.engine-rows { display: grid; gap: 8px; }
.engine-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.engine-row .bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); margin-top: 6px; overflow: hidden; }
.engine-row .bar i { display: block; height: 100%; width: 0; background: #6FA0FF; border-radius: 2px; transition: width .9s cubic-bezier(.2,.7,.2,1); }
.engine-row .v { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark); }
.fits { display: grid; gap: 6px; }
.fit {
  display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 10px; align-items: center;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  opacity: .45; transition: opacity .4s, border-color .4s;
}
.fit.is-on { opacity: 1; }
.fit .av { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--da); background: var(--da-50); border: 1px solid var(--da-100); }
.fit .fn { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.25; }
.fit .fd { font-size: 11.5px; color: var(--mute); }
.app-note { font-size: 11.5px; color: var(--mute); padding: 10px 18px; border-top: 1px solid var(--line); background: #FBFCFE; display: flex; gap: 8px; align-items: center; }
.app-note svg { width: 13px; height: 13px; flex: none; color: var(--faint); }
@media (max-width: 560px) {
  .flow-join { grid-template-columns: 1fr; }
  .opp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .opp-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
}

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.facts > div { padding: 18px 20px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts .kv-v { font-size: 15px; margin-top: 4px; }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   MARKET PROBLEM — record transformation
   ========================================================================== */
.problem-grid { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 56px; align-items: start; }
.thesis {
  margin-top: 28px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.thesis q { display: block; quotes: none; font-size: 18px; line-height: 1.45; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.thesis p { margin: 10px 0 0; font-size: 14.5px; color: var(--mute); }
.dims { margin-top: 28px; }
.dims-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.dims-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.dims-list li { font-size: 13px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }

.stepper { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-bottom: 1px solid var(--line); background: #FBFCFE; }
.stepper button {
  appearance: none; border: 0; background: transparent; text-align: left;
  padding: 12px 14px; display: grid; gap: 2px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  color: var(--mute); transition: color .15s, border-color .15s, background .15s;
}
.stepper button:hover { background: var(--bg-2); }
.stepper .sn { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; }
.stepper .st { font-size: 13.5px; font-weight: 600; }
.stepper button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); background: #fff; }
.stepper button[aria-selected="true"] .sn { color: var(--blue); }
.stage { padding: 20px; min-height: 360px; }
.stage[hidden] { display: none; }
.stage-cap { font-size: 13px; color: var(--mute); margin: 0 0 14px; }
.raw-note {
  font-size: 14.5px; line-height: 1.7; color: var(--text);
  background: #FFFDF7; border: 1px dashed #E8D9B5; border-radius: 10px; padding: 16px 18px;
}
.raw-note mark { background: #FDEFC7; color: inherit; border-radius: 3px; padding: 0 2px; }
.raw-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.field-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.field-table th, .field-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.field-table th { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); width: 38%; background: #FBFCFE; }
.field-table td { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.field-table tr:last-child th, .field-table tr:last-child td { border-bottom: 0; }
.field-table .src { font-weight: 400; color: var(--faint); font-size: 12px; float: right; font-family: var(--font-mono); }
.tbl-wrap { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.query {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: #fff;
}
.query svg { width: 16px; height: 16px; color: var(--mute); }
.qtok { font-size: 13px; background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100); border-radius: 6px; padding: 3px 8px; font-weight: 500; }
.q-idx { margin-top: 14px; display: grid; gap: 6px; }
.q-row { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.q-row:last-child { border-bottom: 0; }
.q-row .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.q-row .v { color: var(--ink); font-weight: 500; }
.crit-table .res { text-align: right; }
@media (max-width: 1020px) { .problem-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) {
  .stepper { grid-template-columns: 1fr 1fr; }
  .stepper button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .q-row { grid-template-columns: 1fr auto; }
  .q-row .k { grid-column: 1 / -1; }
  .stage { padding: 16px; min-height: 0; }
}

/* ==========================================================================
   TWO SIDES — market infrastructure
   ========================================================================== */
.market { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr) minmax(0,1fr); gap: 0; align-items: stretch; position: relative; }
.side {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-1);
}
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.side.ghm .side-label { color: var(--ghm); }
.side.da .side-label { color: var(--da); }
.side h3 { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin: 10px 0 8px; }
.side p { font-size: 14.5px; color: var(--text); margin: 0 0 16px; }
.side ul { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.side li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); font-weight: 500; }
.side li i { width: 8px; height: 8px; border-radius: 2px; flex: none; display: block; }
.side.ghm li i { background: var(--ghm); }
.side.da li i { background: var(--da); }
.side.ghm { border-top: 3px solid var(--ghm); }
.side.da { border-top: 3px solid var(--da); }

.rail { display: flex; align-items: center; justify-content: center; position: relative; }
.core {
  background: var(--navy); border-radius: var(--radius-lg); color: var(--on-dark-2);
  padding: 24px; margin: 0 20px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-3);
}
.core::before, .core::after {
  content: ''; position: absolute; top: 50%; width: 20px; height: 2px; background: var(--line-2);
}
.core::before { left: -20px; }
.core::after { right: -20px; }
.core .side-label { color: #8FB2FF; }
.core h3 { color: #fff; font-size: 22px; font-weight: 600; margin: 10px 0 4px; }
.core .sub { font-size: 14px; color: var(--on-dark-3); margin: 0 0 16px; }
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: p; }
.pipeline li {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center;
  padding: 9px 10px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
  font-size: 14px; color: var(--on-dark); font-weight: 500;
  transition: background .3s, border-color .3s;
}
.pipeline li .n { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-3); }
.pipeline li .s { font-size: 12px; color: var(--on-dark-3); font-weight: 400; }
.pipeline li.is-active { background: rgba(111,160,255,0.14); border-color: rgba(111,160,255,0.45); }
.flowstrip {
  margin-top: 28px; display: grid; grid-template-columns: repeat(5, minmax(0,1fr));
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden;
}
.flowstrip > div { padding: 14px 16px; border-right: 1px solid var(--line); position: relative; }
.flowstrip > div:last-child { border-right: 0; }
.flowstrip .kv-v { font-size: 14px; }
.flowstrip .hl { background: var(--blue-50); }
.flowstrip .hl .kv-k { color: var(--blue); }
@media (max-width: 1020px) {
  .market { grid-template-columns: 1fr; gap: 20px; }
  .core { margin: 0; }
  .core::before, .core::after { left: 50%; right: auto; width: 2px; height: 20px; top: auto; }
  .core::before { top: -20px; }
  .core::after { bottom: -20px; }
  .flowstrip { grid-template-columns: 1fr; }
  .flowstrip > div { border-right: 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
  .flowstrip > div:last-child { border-bottom: 0; }
}

/* ==========================================================================
   PRODUCT — show the software
   ========================================================================== */
.lifecycle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; list-style: none; padding: 0; }
.lifecycle li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--mute); }
.lifecycle li b { font-weight: 500; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--text); transition: all .3s; }
.lifecycle li.is-on b { color: var(--blue-600); border-color: var(--blue-100); background: var(--blue-50); }
.lifecycle li svg { width: 12px; height: 12px; color: var(--faint); }

.product-app { display: grid; grid-template-columns: 220px minmax(0,1fr); min-height: 520px; }
.side-nav { border-right: 1px solid var(--line); background: #FBFCFE; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.side-nav .sn-h { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 8px 10px 6px; }
.side-nav .sn-i { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; font-size: 13.5px; color: var(--text); }
.side-nav .sn-i svg { width: 16px; height: 16px; color: var(--mute); }
.side-nav .sn-i.on { background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; box-shadow: var(--shadow-1); }
.side-nav .sn-i .ct { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--mute); }
.pa-main { display: flex; flex-direction: column; min-width: 0; }
.pa-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 0; flex-wrap: wrap; }
.pa-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pa-id .ref { font-family: var(--font-mono); font-size: 12px; color: var(--mute); }
.pa-id h4 { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.tabs { display: flex; gap: 2px; padding: 12px 20px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 10px 12px; font-size: 14px; font-weight: 500; color: var(--mute); white-space: nowrap;
}
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.tabpanel { padding: 20px; flex: 1; }
.tabpanel[hidden] { display: none; }
.panel-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 16px; }
.box { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.box-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.box-b { padding: 12px 14px; }
.data-rows { display: grid; }
.data-rows > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; align-items: center; }
.data-rows > div:last-child { border-bottom: 0; }
.data-rows .k { color: var(--mute); }
.data-rows .v { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding: 0 0 14px; position: relative; font-size: 13px; }
.timeline li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); margin-top: 6px; margin-left: 3px; }
.timeline li::after { content: ''; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--teal); }
.timeline li.now::before { background: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.timeline .t { color: var(--ink); font-weight: 500; }
.timeline .d { color: var(--mute); font-size: 12px; }
.criteria { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.criteria th, .criteria td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.criteria th { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); background: #FBFCFE; }
.criteria td { color: var(--ink); }
.criteria td.m { color: var(--mute); }
.criteria td:last-child, .criteria th:last-child { text-align: right; }
.criteria tr:last-child td { border-bottom: 0; }
.doc-list, .msg-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.doc-list li:last-child { border-bottom: 0; }
.doc-ic { width: 32px; height: 32px; border-radius: 8px; background: var(--bg-2); display: grid; place-items: center; color: var(--mute); }
.doc-ic svg { width: 16px; height: 16px; }
.doc-n { color: var(--ink); font-weight: 500; }
.doc-d { color: var(--mute); font-size: 12px; }
.msg-list li { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.msg-list li:last-child { border-bottom: 0; }
.msg-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; font-family: var(--font-mono); }
.msg-av.b { background: var(--ghm-50); color: var(--ghm); border: 1px solid var(--ghm-100); }
.msg-av.l { background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); }
.msg-av.p { background: var(--da-50); color: var(--da); border: 1px solid var(--da-100); }
.msg-top { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.msg-top b { color: var(--ink); font-weight: 600; }
.msg-top span { color: var(--faint); font-size: 12px; font-family: var(--font-mono); }
.msg-body { font-size: 13.5px; color: var(--text); margin-top: 2px; }
.caption-note { font-size: 12.5px; color: var(--mute); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.caption-note svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--faint); }
@media (max-width: 900px) {
  .product-app { grid-template-columns: 1fr; }
  .side-nav { display: none; }
  .panel-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   COMPANIES
   ========================================================================== */
.cos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.co {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-1);
}
.co-top { padding: 28px 28px 0; }
.co-badge { display: inline-flex; align-items: center; gap: 10px; }
.co-mark { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.co.ghm .co-mark { background: var(--ghm); color: #fff; }
.co.da .co-mark { background: var(--da); color: #fff; }
.co-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.co-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.co.ghm .co-role { color: var(--ghm); }
.co.da .co-role { color: var(--da); }
.co h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); margin: 20px 0 12px; text-wrap: balance; }
.co p { font-size: 15px; color: var(--text); margin: 0 0 12px; }
.co p strong { color: var(--ink); font-weight: 600; }
.co-visual { margin: 12px 28px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.co.ghm .co-visual { background: var(--ghm-50); border-color: var(--ghm-100); }
.co.da .co-visual { background: var(--da-50); border-color: var(--da-100); }
.co-visual .data-rows { background: #fff; padding: 2px 14px; }
.co-visual .vh { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.co.ghm .co-visual .vh { color: var(--ghm); }
.co.da .co-visual .vh { color: var(--da); }
.range { display: grid; gap: 10px; background: #fff; padding: 12px 14px; }
.range-row { display: grid; grid-template-columns: 110px minmax(0,1fr) auto; gap: 12px; align-items: center; font-size: 13px; }
.range-row .k { color: var(--mute); }
.range-row .track { height: 6px; background: var(--bg-2); border-radius: 3px; position: relative; }
.range-row .track i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--da); opacity: .85; }
.range-row .v { font-family: var(--font-mono); font-size: 12px; color: var(--ink); white-space: nowrap; }
.co-foot { margin-top: auto; padding: 20px 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 24px; }
.dev-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--mute); margin: 0; }
.dev-status .ds-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.co.ghm .btn-co { background: var(--ghm); color: #fff; }
.co.ghm .btn-co:hover { background: #9A4607; }
.co.da .btn-co { background: var(--da); color: #fff; }
.co.da .btn-co:hover { background: #0B5B63; }
@media (max-width: 900px) { .cos { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .co-top { padding: 22px 20px 0; } .co-visual { margin: 12px 20px 0; } .co-foot { padding: 18px 20px 20px; } .range-row { grid-template-columns: 90px minmax(0,1fr); } .range-row .v { grid-column: 2; } }

/* ==========================================================================
   MATCHING ENGINE (dark)
   ========================================================================== */
.engine-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; counter-reset: s; }
.engine-flow li {
  border: 1px solid var(--line-dark); background: rgba(255,255,255,0.03); border-radius: 10px;
  padding: 14px; position: relative; transition: background .3s, border-color .3s;
}
.engine-flow li .n { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-3); }
.engine-flow li .t { display: block; font-size: 14.5px; font-weight: 600; color: #fff; margin-top: 6px; line-height: 1.3; }
.engine-flow li .d { display: block; font-size: 12.5px; color: var(--on-dark-3); margin-top: 4px; }
.engine-flow li.is-on { border-color: rgba(111,160,255,0.55); background: rgba(111,160,255,0.10); }
.engine-flow li.is-on .n { color: #8FB2FF; }
.engine-flow li.key { border-color: rgba(111,160,255,0.35); }
.cb-panel { margin-top: 20px; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 20px; }
.cb-box { background: #fff; border-radius: var(--radius); color: var(--text); overflow: hidden; }
.cb-box .box-h { background: #FBFCFE; }
.cb-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cb-row:last-child { border-bottom: 0; }
.cb-row .k { color: var(--ink); font-weight: 500; }
.cb-row .c { color: var(--mute); font-size: 12.5px; }
.cb-row .pill { justify-self: end; }
.cb-row .pill.pending::before { animation: none; }
.cb-side { display: flex; flex-direction: column; gap: 16px; }
.cb-card { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 20px; background: rgba(255,255,255,0.03); }
.cb-card h4 { margin: 0 0 6px; color: #fff; font-size: 16px; font-weight: 600; }
.cb-card p { margin: 0; font-size: 14px; color: var(--on-dark-2); }
.outcome-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.outcome-row .o {
  font-size: 13px; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line-dark-2); color: var(--on-dark-3);
  display: inline-flex; gap: 8px; align-items: center; transition: all .35s;
}
.outcome-row .o.is-on { color: #fff; border-color: #F2B84B; background: rgba(242,184,75,0.12); }
.outcome-row .o i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: block; }
.legal-line {
  margin-top: 24px; display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--on-dark-3); border-top: 1px solid var(--line-dark); padding-top: 18px;
}
.legal-line svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
@media (max-width: 1020px) {
  .engine-flow { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cb-panel { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .engine-flow { grid-template-columns: 1fr; }
  .engine-flow li { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; }
  .engine-flow li .t { margin-top: 0; }
  .engine-flow li .d { grid-column: 2; }
  .cb-row { grid-template-columns: 1fr auto; }
  .cb-row .c { grid-column: 1; grid-row: 2; }
  .cb-row .pill { grid-row: 1 / span 2; grid-column: 2; }
}

/* ==========================================================================
   PRINCIPLES + CAPABILITIES
   ========================================================================== */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.principle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-1); }
.principle .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; border: 1px solid var(--blue-100); }
.principle .ic svg { width: 20px; height: 20px; }
.principle h3 { margin: 18px 0 8px; font-size: 17px; font-weight: 600; color: var(--ink); }
.principle p { margin: 0; font-size: 14.5px; color: var(--text); }
.principle .eg { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); font-family: var(--font-mono); line-height: 1.55; }
.caps { margin-top: 56px; display: grid; grid-template-columns: minmax(0,0.8fr) minmax(0,1.2fr); gap: 40px; align-items: start; }
.cap-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cap-list li { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cap-list li:last-child { border-bottom: 0; }
.cap-list .ic { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-2); color: var(--ink); display: grid; place-items: center; }
.cap-list .ic svg { width: 18px; height: 18px; }
.cap-list h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.cap-list p { margin: 2px 0 0; font-size: 14px; color: var(--text); }
@media (max-width: 1020px) { .principles { grid-template-columns: 1fr 1fr; } .caps { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* ==========================================================================
   ECOSYSTEM
   ========================================================================== */
.eco { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.mod { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 4px; align-content: start; }
.mod .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.mod .t { font-size: 16px; font-weight: 600; color: var(--ink); }
.mod .d { font-size: 13.5px; color: var(--text); }
.mod.platform { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); padding: 22px 24px; grid-template-columns: minmax(0,1fr) auto; align-items: center; }
.mod.platform .k { color: #8FB2FF; }
.mod.platform .t { color: #fff; font-size: 19px; }
.mod.platform .d { color: var(--on-dark-2); }
.mod.platform .layers { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 520px; }
.mod.platform .layers span { font-size: 12.5px; color: var(--on-dark); border: 1px solid var(--line-dark-2); border-radius: 6px; padding: 4px 9px; }
.mod.ghm { border-top: 3px solid var(--ghm); }
.mod.ghm .t { color: var(--ink); }
.mod.ghm .k { color: var(--ghm); }
.mod.da { border-top: 3px solid var(--da); }
.mod.da .k { color: var(--da); }
.mod.engine { border-top: 3px solid var(--blue); }
.mod.engine .k { color: var(--blue); }
.eco-connector { grid-column: 1 / -1; height: 20px; display: grid; grid-template-columns: repeat(3, 1fr); }
.eco-connector i { display: block; width: 2px; height: 100%; background: var(--line-2); margin: 0 auto; }
@media (max-width: 860px) {
  .eco { grid-template-columns: 1fr; }
  .mod.platform { grid-template-columns: 1fr; }
  .mod.platform .layers { justify-content: flex-start; }
  .eco-connector { grid-template-columns: 1fr; }
  .eco-connector i:nth-child(n+2) { display: none; }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 64px; align-items: start; }
.about-body p { font-size: 16.5px; line-height: 1.7; color: var(--text); margin: 0 0 18px; text-wrap: pretty; }
.about-body p strong { color: var(--ink); font-weight: 600; }
.not-list { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px 20px; }
.not-list h4 { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.not-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.not-list li { display: flex; gap: 10px; font-size: 14px; color: var(--text); }
.not-list li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--mute); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ==========================================================================
   FINAL CTA (dark) + CONTACT
   ========================================================================== */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.path { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 28px; background: rgba(255,255,255,0.03); display: flex; flex-direction: column; }
.path .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.path.ghm .label { color: #F2B36B; }
.path.da .label { color: #7CCBD2; }
.path h3 { margin: 10px 0 8px; color: #fff; font-size: 22px; font-weight: 600; }
.path p { margin: 0 0 20px; color: var(--on-dark-2); font-size: 15px; }
.path p strong { color: #fff; font-weight: 600; }
.path .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; font-size: 15px; }
.path .go svg { width: 16px; height: 16px; transition: transform .15s; }
.path .go:hover svg { transform: translateX(3px); }
.path:hover { border-color: var(--line-dark-2); }
.learn-more { margin-top: 28px; text-align: center; }
.learn-more a { color: var(--on-dark); border-bottom: 1px solid var(--line-dark-2); padding-bottom: 2px; font-size: 15px; }
.learn-more a:hover { border-color: #fff; }
@media (max-width: 780px) { .paths { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 64px; align-items: start; }
.contact-methods { display: grid; gap: 12px; }
.contact-card {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-1); transition: border-color .15s, box-shadow .15s;
}
.contact-card:hover { border-color: #B7C3D3; box-shadow: var(--shadow-2); }
.c-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.c-value { font-size: 16px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; margin-top: 2px; }
.c-arrow { width: 16px; height: 16px; color: var(--mute); }
.contact-routing { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 18px 20px; }
.c-routes { display: grid; gap: 4px; margin-top: 10px; }
.c-route { display: grid; gap: 2px; padding: 12px; margin: 0 -12px; border-radius: 8px; transition: background .15s; }
.c-route:hover { background: var(--surface); }
.c-route .cr-top { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.c-route.ghm .cr-top { color: var(--ghm); }
.c-route.dealalign .cr-top { color: var(--da); }
.c-route .dotmark { width: 8px; height: 8px; border-radius: 2px; background: currentColor; display: block; }
.c-route .cr-desc { font-size: 14px; color: var(--text); padding-left: 18px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0,1fr); gap: 32px; } }

/* ==========================================================================
   FOOTER (dark)
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--on-dark-2); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,2fr); gap: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 36px; width: auto; }
.footer-brand .co-name { color: #fff; font-size: 15px; font-weight: 600; margin-top: 18px; }
.footer-brand .descriptor { color: var(--on-dark-3); font-size: 14px; margin: 4px 0 0; max-width: 320px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.footer-links h5, .footer-links .f-head { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); margin: 0 0 14px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--on-dark); font-size: 14px; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-links .fp { display: grid; gap: 1px; }
.footer-links .fp small { color: var(--on-dark-3); font-size: 12px; }
.footer-bottom { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; padding-top: 24px; align-items: start; }
.disclosure { font-size: 12.5px; line-height: 1.6; color: var(--on-dark-3); margin: 0; max-width: 820px; }
.copyright { font-size: 12.5px; color: var(--on-dark-3); margin: 0; white-space: nowrap; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reveal (subtle) + reduced motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   v3 — Three-part architecture: GO HARD MONEY → LYTEIQ → DealAlign
   ========================================================================== */
:root { --iq: var(--navy); }

/* Nav dropdown */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 6px;
  font-size: 14.5px; font-weight: 500; color: var(--text); background: none; border: 0;
}
.nav-drop-btn svg { width: 12px; height: 12px; transition: transform .15s; }
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { background: var(--bg-2); color: var(--ink); }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: -8px; width: 340px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-3);
  display: none; z-index: 60;
}
.nav-drop.open .nav-menu, .nav-drop:focus-within .nav-menu { display: grid; gap: 2px; }
@media (hover: hover) and (min-width: 981px) { .nav-drop:hover .nav-menu { display: grid; gap: 2px; } }
.nav-links .nm-item { display: grid; gap: 1px; padding: 10px 12px 10px 16px; border-radius: 8px; position: relative; }
.nav-links .nm-item::before { content: ''; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; }
.nm-item.ghm::before { background: var(--ghm); }
.nm-item.iq::before { background: var(--iq); }
.nm-item.da::before { background: var(--da); }
.nm-item:hover { background: var(--bg); }
.nm-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.nm-t { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.nm-d { font-size: 13px; color: var(--text); font-weight: 400; }
@media (max-width: 980px) {
  .nav.menu-open .nav-drop-btn { display: none; }
  .nav.menu-open .nav-menu { display: grid; position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
  .nav.menu-open .nav-links .nav-plat { display: none; }
}

/* Hero (architecture-first) */
.hero-arch { text-align: center; padding-bottom: 64px; }
.hero-arch .hero-copy { max-width: 860px; margin: 0 auto; }
.hero-arch h1 { font-size: clamp(32px, 4.2vw, 52px); margin: 16px auto 18px; }
.hero-arch .lede { margin: 0 auto; max-width: 720px; }
.hero-arch .cta-row { justify-content: center; margin-top: 28px; }
.hl-demand { color: var(--ghm); }
.hl-capacity { color: var(--da); }

.arch {
  margin: 48px auto 0; display: grid; grid-template-columns: minmax(0,1fr) 56px minmax(0,1.15fr) 56px minmax(0,1fr);
  align-items: stretch; text-align: left; max-width: 1120px;
}
.arch-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 18px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-2); position: relative;
}
.arch-card.ghm { border-top: 4px solid var(--ghm); }
.arch-card.da { border-top: 4px solid var(--da); }
.arch-card.iq { background: var(--navy); border-color: var(--navy); color: var(--on-dark-2); box-shadow: var(--shadow-3); padding-top: 26px; }
.arch-role { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.arch-card.ghm .arch-role { color: var(--ghm); }
.arch-card.da .arch-role { color: var(--da); }
.arch-card.iq .arch-role { color: #8FB2FF; }
.arch-brand { margin: 6px 0 8px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.arch-card.iq .arch-brand { color: #fff; letter-spacing: .04em; }
.arch-line { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.arch-card.iq .arch-line { color: #fff; }
.arch-pts { list-style: none; margin: 0 0 16px; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.arch-pts li { font-size: 13.5px; color: var(--text); padding-left: 14px; position: relative; }
.arch-pts li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .35; }
.arch-card.ghm .arch-pts li::before { background: var(--ghm); opacity: 1; }
.arch-card.da .arch-pts li::before { background: var(--da); opacity: 1; }
.arch-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; }
.arch-steps li {
  font-size: 12.5px; font-weight: 500; color: var(--on-dark); text-align: center; padding: 8px 4px; border-radius: 7px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); transition: background .3s, border-color .3s;
}
.arch-steps li.is-on { background: rgba(111,160,255,.16); border-color: rgba(111,160,255,.5); }
.arch-status { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink); padding-top: 12px; border-top: 1px solid var(--line); }
.arch-status .ds-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.arch-status:hover { color: var(--blue); }
.arch-status.on-dark { color: #fff; border-top-color: var(--line-dark); }
.arch-status svg { width: 14px; height: 14px; }
.arch-link { position: relative; display: flex; align-items: center; justify-content: center; }
.arch-link::before { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: var(--line-2); }
.arch-link::after { content: ''; position: absolute; right: 2px; top: calc(50% - 5px); border: 6px solid transparent; border-left-color: var(--line-2); border-right: 0; }
.arch-token {
  position: relative; z-index: 1; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .04em;
  color: var(--blue-600); background: #fff; border: 1px solid var(--blue-100); border-radius: 5px; padding: 2px 5px;
  transition: transform .6s cubic-bezier(.3,.7,.2,1), opacity .4s;
}
.arch-token.go { transform: translateX(8px); }
.arch-caption { margin: 22px auto 0; font-size: 15px; color: var(--mute); max-width: 720px; }
@media (max-width: 1020px) {
  .arch { grid-template-columns: 1fr; max-width: 520px; }
  .arch-link { height: 40px; }
  .arch-link::before { left: 50%; right: auto; top: 4px; bottom: 4px; width: 2px; height: auto; }
  .arch-link::after { right: auto; left: calc(50% - 5px); top: auto; bottom: 0; border: 6px solid transparent; border-top-color: var(--line-2); border-bottom: 0; }
  .arch-token { margin-left: 64px; }
  .arch-token.go { transform: translateY(4px); }
}

/* Platform panels */
.pp-grid { display: grid; grid-template-columns: minmax(0,1fr) 36px minmax(0,1.12fr) 36px minmax(0,1fr); align-items: stretch; scroll-margin-top: 90px; }
.pp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; padding: 24px; box-shadow: var(--shadow-1); }
.pp.ghm { border-top: 4px solid var(--ghm); }
.pp.da { border-top: 4px solid var(--da); }
.pp.iq { background: var(--navy); border-color: var(--navy); color: var(--on-dark-2); box-shadow: var(--shadow-3); }
.pp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pp-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.pp.ghm .pp-label { color: var(--ghm); }
.pp.da .pp-label { color: var(--da); }
.pp.iq .pp-label { color: #8FB2FF; }
.pp-brand { font-size: 13px; font-weight: 600; color: var(--mute); }
.pp.iq .pp-brand { color: var(--on-dark-3); }
.pp h3 { margin: 12px 0 10px; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; color: var(--ink); }
.pp.iq h3 { color: #fff; }
.pp > p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.pp.iq > p { color: var(--on-dark-2); }
.pp-visual { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pp.ghm .pp-visual { border-color: var(--ghm-100); background: var(--ghm-50); }
.pp.da .pp-visual { border-color: var(--da-100); background: var(--da-50); }
.pp.iq .pp-visual { border-color: var(--line-dark); background: rgba(255,255,255,.03); }
.ppv-h { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 12px; }
.pp.ghm .ppv-h { color: var(--ghm); }
.pp.da .ppv-h { color: var(--da); }
.pp-visual .data-rows { background: #fff; padding: 2px 12px; }
.pp-visual .data-rows > div { font-size: 13px; padding: 8px 0; }
.pp-visual .range { background: #fff; }
.iq-modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.iq-modules li { padding: 10px 12px; border-bottom: 1px solid var(--line-dark); display: grid; gap: 1px; }
.iq-modules li:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.iq-modules li:nth-last-child(-n+2) { border-bottom: 0; }
.iq-modules b { font-size: 13px; font-weight: 600; color: #fff; }
.iq-modules span { font-size: 12px; color: var(--on-dark-3); }
.pp-foot { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pp.ghm .btn-co { background: var(--ghm); color: #fff; }
.pp.ghm .btn-co:hover { background: #9A4607; }
.pp.da .btn-co { background: var(--da); color: #fff; }
.pp.da .btn-co:hover { background: #0B5B63; }
.pp-note { margin: 0; font-size: 12.5px; color: var(--on-dark-3); }
.pp-join { display: flex; align-items: center; justify-content: center; color: var(--faint); }
.pp-join svg { width: 22px; height: 22px; }
@media (max-width: 1020px) {
  .pp-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .pp-join { height: 36px; }
  .pp-join svg { transform: rotate(90deg); }
}

/* Journey strip */
.journey { margin-top: 40px; display: flex; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 90px; }
.j-step { flex: 1; padding: 14px 16px; display: grid; gap: 2px; align-content: center; }
.j-step.ghm { background: var(--ghm-50); }
.j-step.iq { background: var(--navy); flex: 1.3; }
.j-step.da { background: var(--da-50); }
.j-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.j-step.ghm .j-k { color: var(--ghm); }
.j-step.da .j-k { color: var(--da); }
.j-step.iq .j-k { color: #8FB2FF; }
.j-t { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.j-step.iq .j-t { color: #fff; }
.j-arw { display: flex; align-items: center; color: var(--faint); padding: 0 2px; background: #fff; }
.j-arw svg { width: 16px; height: 16px; }
@media (max-width: 1020px) {
  .journey { flex-direction: column; max-width: 620px; margin-left: auto; margin-right: auto; }
  .j-arw { justify-content: center; padding: 4px 0; }
  .j-arw svg { transform: rotate(90deg); }
}

.two-sided { margin-top: 48px; }
.ts-title { text-align: center; font-size: clamp(20px, 2vw, 24px); font-weight: 600; color: var(--ink); margin: 0 0 18px; letter-spacing: -0.01em; }
.ts-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; }
.ts { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.ts.iq { background: var(--bg); }
.ts-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.ts.ghm .ts-k { color: var(--ghm); }
.ts.da .ts-k { color: var(--da); }
.ts.iq .ts-k { color: var(--blue); }
.ts p { margin: 6px 0 0; font-size: 14.5px; color: var(--text); }
@media (max-width: 860px) { .ts-grid { grid-template-columns: 1fr; } }

/* Why LyteIQ exists */
.why { display: grid; grid-template-columns: minmax(0,1fr) 40px minmax(0,1.1fr) 40px minmax(0,1fr); align-items: stretch; }
.why-col { border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--line); background: #fff; }
.why-col.iq-col { background: var(--navy); border-color: var(--navy); }
.why-k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--mute); display: block; margin-bottom: 14px; }
.why-col.iq-col .why-k { color: #8FB2FF; letter-spacing: .12em; }
.why-col.out-col .why-k { color: var(--da); }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list.mess { display: flex; flex-wrap: wrap; gap: 8px; }
.why-list.mess li { font-size: 13.5px; color: var(--text); background: #FFFDF7; border: 1px dashed #E3D3AE; border-radius: 6px; padding: 6px 10px; }
.why-list.mess li:nth-child(2) { transform: rotate(-1.5deg); }
.why-list.mess li:nth-child(4) { transform: rotate(1.2deg); }
.why-list.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; counter-reset: w; }
.why-list.steps li { counter-increment: w; font-size: 14px; font-weight: 500; color: #fff; padding: 9px 10px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); display: flex; gap: 8px; }
.why-list.steps li::before { content: counter(w, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-3); padding-top: 2px; }
.why-list.tidy { display: grid; gap: 0; border: 1px solid var(--da-100); border-radius: 8px; overflow: hidden; }
.why-list.tidy li { font-size: 13.5px; color: var(--ink); font-weight: 500; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.why-list.tidy li:last-child { border-bottom: 0; }
.why-list.tidy li::after { content: ''; width: 12px; height: 7px; border-left: 2px solid var(--da); border-bottom: 2px solid var(--da); transform: rotate(-45deg) translateY(2px); }
.why-arw { display: flex; align-items: center; justify-content: center; color: var(--faint); }
.why-arw svg { width: 20px; height: 20px; }
.thesis-line { text-align: center; margin: 28px 0 0; }
.thesis-line q { quotes: none; font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
@media (max-width: 1020px) {
  .why { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .why-arw { height: 36px; }
  .why-arw svg { transform: rotate(90deg); }
}

.guard { margin-top: 24px; border: 1px solid var(--line); border-left: 0; border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.guard-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.guard p { margin: 6px 0 0; font-size: 14px; color: var(--text); }

/* Ecosystem v3 */
.eco2 { display: grid; justify-items: center; }
.e-co { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 22px; text-align: center; box-shadow: var(--shadow-1); }
.e-co .k { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.e-co .t { font-size: 13.5px; color: var(--mute); }
.e-tree { width: 100%; max-width: 900px; height: 36px; position: relative; }
.e-tree::before { content: ''; position: absolute; left: 50%; top: 0; height: 18px; width: 2px; background: var(--line-2); }
.e-tree i { position: absolute; left: 16.66%; right: 16.66%; top: 18px; height: 18px; border: 2px solid var(--line-2); border-bottom: 0; border-radius: 8px 8px 0 0; }
.e-tree i::after { content: ''; position: absolute; left: 50%; top: -2px; width: 2px; height: 18px; background: var(--line-2); }
.e-row { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; width: 100%; max-width: 1000px; }
.e-node { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; display: grid; gap: 4px; align-content: start; }
.e-node.ghm { border-top: 4px solid var(--ghm); }
.e-node.da { border-top: 4px solid var(--da); }
.e-node.iq { background: var(--navy); border-color: var(--navy); }
.e-node .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.e-node.ghm .k { color: var(--ghm); }
.e-node.da .k { color: var(--da); }
.e-node.iq .k { color: #8FB2FF; }
.e-node .t { font-size: 18px; font-weight: 600; color: var(--ink); }
.e-node.iq .t { color: #fff; }
.e-node .d { font-size: 14px; color: var(--text); }
.e-node.iq .d { color: var(--on-dark-2); }
.e-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.e-subs span { font-size: 12px; color: var(--on-dark); border: 1px solid var(--line-dark-2); border-radius: 6px; padding: 3px 8px; }
@media (max-width: 860px) {
  .e-tree { height: 24px; }
  .e-tree i { display: none; }
  .e-tree::before { height: 24px; }
  .e-row { grid-template-columns: 1fr; max-width: 520px; }
}

/* Footer eco line */
.eco-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 0; font-size: 13px; }
.eco-line a { color: var(--on-dark); }
.eco-line a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.eco-line span { color: var(--on-dark-3); }
