/* Shared design tokens — inherit canonical palette from repo root.
   Marketing's :root block below still overrides (safety net) until Phase 2. */
@import url('../tokens.css');
@import url('../tokens.dark.css') (prefers-color-scheme: dark);

/* Google Fonts — kept here for marketing site. App HTML files link fonts directly. */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --primary: #1849A9;
  --primary-hover: #1D4ED8;
  --accent: #2563EB;
  --accent-light: #5D8EFF;
  --text-heading: #0D1F3C;
  --text-body: #4A6178;
  --text-muted: #7C91A9;
  --bg-page: #F5F8FC;
  --bg-surface: #FFFFFF;
  --bg-panel: #EDF2FA;
  --bg-deep: #0F1F3B;
  --bg-deeper: #0B1730;
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --shadow-soft: 0 24px 70px rgba(13, 31, 60, 0.08);
  --shadow-panel: 0 18px 40px rgba(24, 73, 169, 0.12);
  --shadow-glow: 0 18px 60px rgba(37, 99, 235, 0.18);
  --gold: #D4A017;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
  --content-width: 1520px;
  --content-gutter: clamp(24px, 4vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at top right, rgba(93, 142, 255, 0.18), transparent 28%),
    radial-gradient(circle at 20% 18%, rgba(212, 160, 23, 0.14), transparent 24%),
    linear-gradient(180deg, #FCFDFE 0%, var(--bg-page) 100%);
}

h1, h2, h3, h4, h5, h6,
.dashboard-title,
.stack-card strong,
.mini-card strong,
.feature-card strong,
.segment-card strong,
.connector-card strong,
.comparison-card strong,
.timeline-card strong {
  line-height: 1.3;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

p,
li,
.muted,
.bullet-list span,
.comparison-list span,
.site-footer-note,
.site-footer-summary {
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--content-width), calc(100% - (var(--content-gutter) * 2))); margin: 0 auto; }

.site-shell { position: relative; overflow: hidden; }
.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
  filter: blur(80px);
}
.site-shell::before { top: -180px; right: -120px; background: rgba(37, 99, 235, 0.08); }
.site-shell::after { top: 120px; left: -160px; background: rgba(212, 160, 23, 0.06); }

.site-header { position: sticky; top: 16px; z-index: 10; padding-top: 16px; }
.nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  row-gap: 16px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.nav-card > * { min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 0; min-width: 0; flex: 0 1 auto; }
.brand img {
  width: auto;
  max-width: min(100%, 220px);
  height: clamp(36px, 3.5vw, 44px);
  object-fit: contain;
}
.brand-text {
  display: none;
  color: var(--text-heading);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-left: auto;
  border: 1px solid rgba(24, 73, 169, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-heading);
  box-shadow: 0 14px 28px rgba(13, 31, 60, 0.08);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
  min-width: 0;
}
.nav-links, .nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-links {
  color: var(--text-heading);
  font-weight: 600;
  flex: 1 1 420px;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-actions { flex: 0 1 auto; justify-content: flex-end; }
.nav-links a {
  border-radius: 999px;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-links a:hover { color: var(--primary); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: var(--shadow-glow);
}
.button-primary:hover { background: linear-gradient(135deg, var(--primary-hover) 0%, var(--accent-light) 100%); }
.button-secondary { background: rgba(255,255,255,0.9); color: var(--primary); border-color: rgba(24, 73, 169, 0.18); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(24, 73, 169, 0.12);
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(212, 160, 23, 0.12);
}

.page-hero { padding: 42px 0 26px; }
.hero-panel,
.panel,
.dark-band,
.footer-panel,
.success-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(26px, 2.8vw, 46px);
  align-items: stretch;
  padding: clamp(28px, 2.8vw, 42px);
  background: rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(212, 160, 23, 0.14) 45%, transparent 70%);
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.hero-copy h1, .page-title {
  margin: 18px 0;
  color: var(--text-heading);
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.18;
  letter-spacing: -0.012em;
  max-width: 12ch;
  text-wrap: balance;
  word-spacing: 0.05em;
}
.hero-copy p, .lede { margin: 0; max-width: 640px; font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.fomo-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(24, 73, 169, 0.08), rgba(212, 160, 23, 0.12));
  border: 1px solid rgba(24, 73, 169, 0.12);
  color: var(--text-heading);
  font-weight: 700;
}

.product-stage,
.diagram-panel {
  border-radius: 28px;
  border: 1px solid rgba(203, 213, 225, 0.8);
}
.product-stage {
  width: 100%;
  min-height: 520px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.98), rgba(237,242,250,0.94));
  box-shadow: var(--shadow-panel);
}
.stage-window, .stack-column, .card-grid, .form-grid, .compare-grid, .dark-grid { display: grid; gap: 16px; }
.stage-window { grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr); height: 100%; align-items: stretch; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.compare-grid, .dark-grid, .split-grid, .form-panel, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.dashboard-card, .stack-card, .mini-card, .feature-card, .segment-card, .connector-card, .comparison-card, .timeline-card, .waitlist-form {
  background: var(--bg-surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.dashboard-card, .feature-card, .segment-card, .connector-card, .comparison-card, .timeline-card, .waitlist-form, .stack-card, .mini-card { padding: 22px; }
.dashboard-card,
.stack-card,
.mini-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.dashboard-card > *,
.stack-card > *,
.mini-card > * {
  min-width: 0;
}
.dashboard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; width: 100%; }
.dashboard-title, .stack-card strong, .mini-card strong, .feature-card strong, .segment-card strong, .connector-card strong, .comparison-card strong, .timeline-card strong {
  display: block;
  color: var(--text-heading);
  font-weight: 700;
}
.dashboard-title { font-size: 18px; }
.stack-card strong, .mini-card strong, .feature-card strong, .segment-card strong, .connector-card strong { font-size: 17px; margin-bottom: 0; }
.signal-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 73, 169, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}
.score-ring {
  width: 128px; height: 128px; margin: 8px 0 2px; border-radius: 50%;
  background: radial-gradient(circle at center, white 48%, transparent 49%), conic-gradient(var(--primary) 0 190deg, var(--gold) 190deg 255deg, rgba(203, 213, 225, 0.7) 255deg 360deg);
  box-shadow: inset 0 0 0 8px rgba(24, 73, 169, 0.06); position: relative;
  flex-shrink: 0;
}
.score-ring span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-heading); font-weight: 700; font-size: 30px; }
.chart-bars { display: flex; align-items: end; gap: 10px; height: 120px; padding-top: 10px; width: 100%; }
.chart-bars i { display: block; width: 18%; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, rgba(37, 99, 235, 0.92), rgba(24, 73, 169, 0.52)); }
.chart-bars i:nth-child(1) { height: 46%; }
.chart-bars i:nth-child(2) { height: 68%; }
.chart-bars i:nth-child(3) { height: 82%; }
.chart-bars i:nth-child(4) { height: 58%; }
.chart-bars i:nth-child(5) { height: 90%; }

.mini-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: stretch; }
.mini-card .metric { display: block; color: var(--primary); font-weight: 700; font-size: 28px; line-height: 1.1; margin: 0; }
.dashboard-card .muted,
.stack-card .muted,
.mini-card .muted,
.bullet-list span {
  line-height: 1.55;
}
.section { padding: 34px 0; }
.section-heading { max-width: 820px; margin-bottom: 26px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading h2 {
  margin: 16px 0 14px;
  color: var(--text-heading);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  word-spacing: 0.04em;
}
.section-heading p { margin: 0; font-size: 19px; line-height: 1.65; }
.panel { padding: 32px; background: rgba(255, 255, 255, 0.9); }
.chip-row, .firm-strip, .footer-meta, .bullet-list, .comparison-list { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(24, 73, 169, 0.14);
  color: var(--text-heading);
  font-weight: 700;
}
.chip::before,
.comparison-list span::before,
.bullet-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.split-grid { display: grid; gap: 26px; }
.diagram-panel {
  min-height: 420px;
  padding: 26px;
  background: radial-gradient(circle at center, rgba(212, 160, 23, 0.2), transparent 34%), linear-gradient(180deg, rgba(255,255,255,0.96), rgba(237,242,250,0.96));
  position: relative;
  overflow: hidden;
}
.discovery-core {
  position: absolute; inset: 50% auto auto 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px;
  border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,0.98), rgba(237,242,250,0.95));
  border: 1px solid rgba(24, 73, 169, 0.12); box-shadow: 0 30px 80px rgba(24, 73, 169, 0.16);
  color: var(--text-heading); font-weight: 700;
  padding: 20px 16px;
}
.discovery-core-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.discovery-node {
  position: absolute; width: 180px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.95);
  border: 1px solid rgba(226,232,240,0.9); color: var(--text-heading); box-shadow: var(--shadow-soft);
}
.discovery-node strong { display: block; margin-bottom: 6px; font-size: 17px; }
.discovery-node.top-left { left: 18px; top: 34px; }
.discovery-node.bottom-left { left: 18px; bottom: 34px; }
.discovery-node.top-right { right: 18px; top: 34px; }
.discovery-node.bottom-right { right: 18px; bottom: 34px; }
.diagram-link { position: absolute; background: linear-gradient(90deg, rgba(24, 73, 169, 0.2), rgba(37, 99, 235, 0.6), rgba(212, 160, 23, 0.2)); height: 2px; }
.diagram-link.link-top-left { left: 170px; top: 120px; width: 146px; transform: rotate(14deg); }
.diagram-link.link-bottom-left { left: 170px; bottom: 120px; width: 146px; transform: rotate(-14deg); }
.diagram-link.link-top-right { right: 170px; top: 120px; width: 146px; transform: rotate(-14deg); }
.diagram-link.link-bottom-right { right: 170px; bottom: 120px; width: 146px; transform: rotate(14deg); }

.feature-card .step {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px;
  border-radius: 12px; background: rgba(24, 73, 169, 0.08); color: var(--primary); font-weight: 700;
}
.dark-band {
  padding: 34px;
  background: radial-gradient(circle at top right, rgba(93, 142, 255, 0.16), transparent 28%), linear-gradient(160deg, var(--bg-deep), var(--bg-deeper));
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(11, 23, 48, 0.26);
}
.dark-band h2, .dark-band strong { color: white; }
.dark-band .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.86); }
.dark-chip { padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.dark-chip strong { display: block; margin-bottom: 8px; }

.comparison-card.highlight { border-color: rgba(24, 73, 169, 0.22); box-shadow: var(--shadow-panel); position: relative; overflow: hidden; }
.comparison-card.highlight::after {
  content: "Preferred";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.16);
  color: var(--text-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.comparison-card.highlight.brand-mark-card {
  padding-right: 84px;
}
.corner-mark {
  position: absolute;
  width: 48px;
  height: 48px;
  object-fit: contain;
  pointer-events: none;
}
.comparison-card.highlight .corner-mark {
  top: 58px;
  right: 20px;
  width: 40px;
  height: 40px;
  opacity: 0.96;
}
.comparison-list, .bullet-list { display: grid; gap: 12px; margin-top: 18px; }
.comparison-list span, .bullet-list span { display: flex; gap: 10px; align-items: flex-start; }
.comparison-list span::before, .bullet-list span::before { flex: 0 0 9px; width: 9px; height: 9px; margin-top: 8px; }

.panel-with-mark {
  position: relative;
  overflow: hidden;
}
.panel-with-mark .section-heading {
  padding-right: 92px;
}
.panel-mark {
  top: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  opacity: 0.98;
}

.architecture-panel {
  display: grid;
  gap: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(237,242,250,0.96));
}
.architecture-heading {
  max-width: 900px;
  margin-bottom: 0;
}
.architecture-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.architecture-stack {
  display: grid;
  gap: 18px;
}
.architecture-layer {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}
.architecture-layer-core {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232,239,249,0.98));
  border-color: rgba(24, 73, 169, 0.18);
  box-shadow: var(--shadow-panel);
}
.architecture-layer-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.architecture-layer-head strong,
.architecture-mini-card strong {
  display: block;
  color: var(--text-heading);
}
.architecture-layer-head strong {
  font-size: 1.24rem;
}
.architecture-layer-head p,
.architecture-mini-card span {
  margin: 6px 0 0;
  line-height: 1.68;
}
.architecture-step {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(24, 73, 169, 0.12), rgba(37, 99, 235, 0.22));
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
.architecture-mark {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.98;
}
.architecture-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.architecture-pills span,
.architecture-note,
.architecture-mini-card {
  border: 1px solid rgba(24, 73, 169, 0.12);
}
.architecture-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(24, 73, 169, 0.06);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 14px;
}
.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.architecture-mini-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
}
.architecture-note {
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(24, 73, 169, 0.06), rgba(212, 160, 23, 0.08));
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.68;
}
.architecture-arrow {
  width: 2px;
  height: 34px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(24, 73, 169, 0.16), rgba(37, 99, 235, 0.78), rgba(212, 160, 23, 0.38));
  position: relative;
}
.architecture-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(37, 99, 235, 0.78);
  border-bottom: 2px solid rgba(37, 99, 235, 0.78);
  transform: translateX(-50%) rotate(45deg);
}
.architecture-caption {
  margin: 0;
  text-align: center;
  color: var(--text-heading);
  font-size: 17px;
  line-height: 1.72;
}

.market-panel { display: grid; gap: 24px; }
.market-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.market-tab {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(24, 73, 169, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-heading);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.market-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(24, 73, 169, 0.2);
}
.market-tab.is-active {
  background: linear-gradient(135deg, rgba(24, 73, 169, 0.12), rgba(37, 99, 235, 0.18));
  border-color: rgba(24, 73, 169, 0.2);
  color: var(--primary);
  box-shadow: var(--shadow-panel);
}
.market-panels { display: grid; }
.market-detail {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(237,242,250,0.98));
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}
.market-detail[hidden] { display: none; }
.market-detail strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text-heading);
  font-size: 1.2rem;
}
.market-detail p {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
}
.market-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.market-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(24, 73, 169, 0.06);
  color: var(--text-heading);
  font-weight: 700;
}
.market-points span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.market-context {
  padding-top: 4px;
  color: var(--text-body);
}
.market-context strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-heading);
  font-size: 1rem;
}
.market-context p {
  margin: 0;
  line-height: 1.7;
}

.legal-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.legal-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}
.legal-card strong,
.security-card strong,
.vendor-card strong {
  color: var(--text-heading);
  font-size: 1.08rem;
}
.legal-card p,
.security-card p,
.vendor-card p {
  margin: 0;
  line-height: 1.7;
}
.security-grid,
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.security-card,
.vendor-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}
.team-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(237,242,250,0.98));
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}
.team-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.team-lead {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}
.team-identity {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.team-card-header strong {
  display: block;
  color: var(--text-heading);
  font-size: 1.32rem;
}
.team-role {
  margin-top: 8px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}
.team-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 73, 169, 0.06);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.team-linkedin:hover {
  background: rgba(24, 73, 169, 0.12);
  color: var(--primary-hover);
  transform: translateY(-1px);
}
.team-linkedin svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}
.team-card p {
  margin: 0;
  line-height: 1.78;
}
.team-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.team-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 73, 169, 0.06);
  color: var(--text-heading);
  font-size: 13px;
  font-weight: 700;
}
.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.principle-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}
.principle-card strong,
.dark-band .principle-card strong {
  color: var(--text-heading);
  font-size: 1.08rem;
}
.principle-card p,
.dark-band .principle-card p {
  margin: 0;
  color: var(--text-body);
  line-height: 1.72;
}
.security-badges,
.vendor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.security-badges span,
.vendor-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 73, 169, 0.06);
  color: var(--text-heading);
  font-size: 13px;
  font-weight: 700;
}
.security-note {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(237,242,250,0.98));
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}
.security-note h3,
.legal-prose h2,
.legal-prose h3 {
  margin: 0 0 12px;
  color: var(--text-heading);
  font-family: var(--font-serif);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.security-note p { margin: 0; line-height: 1.75; }
.legal-prose {
  display: grid;
  gap: 22px;
}
.legal-section {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}
.legal-prose p {
  margin: 0;
  line-height: 1.8;
}
.legal-prose ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}
.legal-prose li { line-height: 1.75; }

.form-panel { align-items: start; gap: 22px; }
.form-copy h3, .success-card h1 {
  margin: 12px 0;
  font-family: var(--font-serif);
  color: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.01em;
  word-spacing: 0.04em;
}
.form-copy h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.offer-badge {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(24, 73, 169, 0.1), rgba(212, 160, 23, 0.14));
  border: 1px solid rgba(24, 73, 169, 0.12);
  color: var(--text-heading);
  font-weight: 700;
}
.waitlist-form { padding: 24px; box-shadow: var(--shadow-panel); }
.waitlist-form label {
  display: grid; gap: 8px; color: var(--text-heading); font-weight: 700; font-size: 14px;
}
.waitlist-form input, .waitlist-form select, .waitlist-form textarea {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--border-light);
  background: var(--bg-surface); color: var(--text-body); font: inherit;
}
.waitlist-form textarea { min-height: 110px; padding: 14px 16px; resize: vertical; }
.waitlist-form input:focus, .waitlist-form select:focus, .waitlist-form textarea:focus {
  outline: none; border-color: rgba(24, 73, 169, 0.4); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form-note { margin-top: 12px; color: var(--text-muted); font-size: 14px; line-height: 1.5; }

.footer-panel { margin: 28px 0 42px; padding: 28px 30px; background: rgba(255,255,255,0.92); }
.footer-grid { gap: 20px; align-items: center; }
.site-footer {
  width: 100%;
  margin-top: 52px;
  border-top: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
}
.site-footer-inner {
  width: min(var(--content-width), calc(100% - (var(--content-gutter) * 2)));
  margin: 0 auto;
  padding: 26px 0 22px;
}
.site-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.footer-brand img { width: auto; height: 40px; max-width: min(100%, 220px); }
.footer-brand-text {
  display: none;
  color: var(--text-heading);
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.site-footer-summary {
  margin: 0;
  max-width: 620px;
  line-height: 1.7;
  text-align: right;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1fr 1.1fr;
  gap: 28px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.site-footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}
.site-footer-column strong {
  color: var(--text-heading);
  font-size: 0.95rem;
}
.site-footer-links {
  display: grid;
  gap: 10px;
}
.site-footer-links a,
.site-footer-links span {
  color: var(--text-body);
}
.site-footer-links a:hover { color: var(--primary); }
.site-footer-note {
  margin: 0;
  line-height: 1.7;
}
.site-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 73, 169, 0.06);
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 700;
}
.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.success-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.success-card { width: min(760px, 100%); padding: 38px; text-align: center; background: rgba(255,255,255,0.94); }
.success-card p { margin: 0 auto; max-width: 600px; font-size: 18px; line-height: 1.65; }
.success-mark {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent)); display: grid; place-items: center; box-shadow: var(--shadow-glow);
}
.success-mark svg { width: 42px; height: 42px; }
.muted { color: var(--text-muted); }
.spacer-top { margin-top: 18px; }

@media (max-width: 1360px) {
  .nav-card { padding-inline: 18px; }
  .hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 28px;
  }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .site-header { top: 10px; }
  .nav-card {
    flex-wrap: wrap;
    border-radius: 28px;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }
  .nav-toggle { margin-left: 0; flex: 0 0 auto; }
  .brand {
    width: auto;
    justify-content: flex-start;
    gap: 10px;
    flex: 1 1 auto;
  }
  .brand-text { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-card.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-card.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-card.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    display: none;
    order: 3;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
  }
  .nav-card.is-open .nav-menu { display: flex; }
  .nav-links {
    width: 100%;
    flex-basis: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    border-radius: 14px;
    background: rgba(24, 73, 169, 0.05);
  }
  .nav-links a:hover {
    color: var(--primary);
    background: rgba(24, 73, 169, 0.1);
  }
  .nav-actions {
    width: 100%;
    justify-content: stretch;
  }
  .nav-actions .button { width: 100%; }
  .hero-panel, .split-grid, .form-panel, .footer-grid, .compare-grid, .dark-grid { grid-template-columns: 1fr; }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-window { grid-template-columns: 1fr; }
  .product-stage { min-height: auto; }
  .architecture-grid { grid-template-columns: 1fr; }
  .site-footer-top,
  .site-footer-grid { grid-template-columns: 1fr; }
  .site-footer-top {
    display: grid;
    justify-items: start;
  }
  .site-footer-summary { text-align: left; }
  .hero-copy h1, .page-title { max-width: 14ch; }
  .diagram-panel {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .discovery-core,
  .discovery-node,
  .diagram-link {
    position: static;
    inset: auto;
    margin: 0;
    width: 100%;
  }
  .discovery-core { min-height: 160px; }
  .panel-mark {
    top: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
  .discovery-node { padding: 18px; }
  .diagram-link { display: none; }
}

@media (max-width: 760px) {
  .container { width: min(var(--content-width), calc(100% - 32px)); }
  .site-header { top: 0; padding-top: 12px; }
  .nav-card {
    border-radius: 24px;
    padding: 12px 14px;
    gap: 10px;
  }
  .hero-panel, .panel, .dark-band, .footer-panel, .success-card { padding: 22px; }
  .hero-panel { gap: 24px; }
  .hero-copy h1, .page-title {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    line-height: 1.14;
    letter-spacing: -0.015em;
    max-width: none;
  }
  .hero-copy p, .lede { font-size: 18px; }
  .card-grid.three, .card-grid.four, .form-grid.two, .mini-grid { grid-template-columns: 1fr; }
  .nav-menu { padding-top: 14px; }
  .nav-links, .nav-actions { width: 100%; }
  .brand { justify-content: flex-start; width: auto; }
  .brand img { height: 34px; max-width: 178px; }
  .brand-text { display: none; }
  .market-selector { justify-content: flex-start; }
  .market-tab { width: 100%; justify-content: center; }
  .market-detail { padding: 22px; }
  .market-points span { width: 100%; }
  .team-card-header {
    display: grid;
    gap: 14px;
  }
  .team-mark {
    justify-self: end;
  }
  .architecture-panel { gap: 22px; }
  .architecture-layer { padding: 20px; }
  .architecture-layer-head {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
  }
  .architecture-mark {
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }
  .architecture-pills span { width: 100%; justify-content: center; text-align: center; }
  .architecture-caption { font-size: 16px; }
  .legal-index-grid,
  .team-grid,
  .about-principles,
  .security-grid,
  .vendor-grid { grid-template-columns: 1fr; }
  .diagram-panel { grid-template-columns: 1fr; gap: 14px; }
  .comparison-card.highlight.brand-mark-card {
    padding-right: 74px;
  }
}

/* =============================================================
   Breadcrumb bar (visible) — paired with BreadcrumbList JSON-LD
   ============================================================= */
.breadcrumb-nav {
  background: transparent;
  padding: 14px 0 0;
  font-size: 13px;
}
.breadcrumb-nav .container { padding: 0; }
.breadcrumb {
  list-style: none;
  margin: 0;
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(24, 73, 169, 0.12);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  color: var(--text-muted, #4A6178);
  backdrop-filter: blur(6px);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before {
  content: "/";
  color: rgba(24, 73, 169, 0.35);
  font-weight: 500;
  margin-right: 2px;
}
.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.breadcrumb a:hover { color: var(--primary-hover); text-decoration: underline; }
.breadcrumb [aria-current="page"] {
  color: var(--text-body, #0D1F3C);
  font-weight: 600;
}
@media (max-width: 720px) {
  .breadcrumb { font-size: 12px; padding: 8px 14px; }
}

/* =============================================================
   FAQ accordion (used on /faq.html + topical FAQ sections)
   ============================================================= */
.faq-section {
  padding: 72px 0;
  background: var(--bg-surface);
}
.faq-section .container { max-width: 900px; }
.faq-eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 8px;
}
.faq-title {
  font-family: var(--font-serif);
  font-size: 34px;
  margin: 0 0 8px;
  color: var(--text-body, #0D1F3C);
}
.faq-intro {
  color: var(--text-muted, #4A6178);
  margin: 0 0 28px;
  max-width: 640px;
}
.faq-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.faq-search-wrap {
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
}
.faq-search {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 10px;
  border: 1px solid rgba(24, 73, 169, 0.18);
  background: var(--bg-page);
  font: inherit;
  color: var(--text-body, #0D1F3C);
}
.faq-search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.faq-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
}
.faq-result-count {
  color: var(--text-muted, #4A6178);
  font-size: 13px;
}
.faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.faq-cat {
  border: 1px solid rgba(24, 73, 169, 0.2);
  background: var(--bg-surface);
  color: var(--primary);
  padding: 7px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.faq-cat:hover { background: rgba(24, 73, 169, 0.08); }
.faq-cat.act {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid rgba(24, 73, 169, 0.12);
  border-radius: 12px;
  background: var(--bg-surface);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-item:hover { border-color: rgba(24, 73, 169, 0.28); }
.faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 6px 22px -14px rgba(24, 73, 169, 0.4);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--text-body, #0D1F3C);
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
}
.faq-q-text { flex: 1 1 auto; }
.faq-cat-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(24, 73, 169, 0.08);
  color: var(--primary);
  white-space: nowrap;
}
.faq-chevron {
  color: var(--primary);
  transition: transform 0.2s ease;
  flex: none;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-a {
  padding: 0 18px 18px 18px;
  color: var(--text-muted, #4A6178);
  line-height: 1.65;
}
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin: 0; }
.faq-a a { color: var(--primary); font-weight: 600; }
.faq-empty {
  text-align: center;
  padding: 30px 10px;
  color: var(--text-muted, #4A6178);
  border: 1px dashed rgba(24, 73, 169, 0.2);
  border-radius: 12px;
  background: var(--bg-page);
}
.faq-reset-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Topical FAQ sections (embedded on platform/security/who-we-serve) */
.faq-topical { padding: 60px 0; background: var(--bg-page); }
.faq-topical .faq-title { font-size: 28px; }

@media (max-width: 720px) {
  .faq-title { font-size: 26px; }
  .faq-q { padding: 14px 14px; gap: 10px; }
  .faq-cat-chip { display: none; }
}
