:root {
  --navy: #0D1B2A;
  --navy-light: #16263b;
  --purple: #7F77DD;
  --purple-light: #AFA9EC;
  --purple-dark: #534AB7;
  --ink: #1a1a2e;
  --paper: #f7f7fb;
  --border: #e2e1ec;
  --text-muted: #5f5e6e;
  --success: #1D9E75;
  --error: #D85A30;
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'DM Sans', 'Trebuchet MS', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

a { color: var(--purple-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
header.site-header {
  background: var(--navy);
  padding: 18px 0;
}

header.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img { height: 36px; width: auto; }

.brand-text {
  color: #f0f0f8;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.brand { flex: 0 0 auto; }

nav.site-nav a {
  color: #d8d6ea;
  font-size: 15px;
  font-weight: 500;
}

nav.site-nav a:hover { color: #ffffff; }

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--purple);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--purple-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--purple-light);
  color: #f0f0f8;
}

.btn-outline:hover {
  background: rgba(127,119,221,0.15);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #f0f0f8;
  padding: 46px 0 34px;
  text-align: center;
}

.hero-kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin: 0 0 18px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 16px;
  line-height: 1.15;
}

.hero p.lede {
  font-size: 18px;
  color: #c7c5dd;
  max-width: 640px;
  margin: 0 auto;
}

.hero .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.alt { background: var(--paper); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 14px; }
.section-head p { color: var(--text-muted); font-size: 17px; margin: 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
}

.card h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.card p { color: var(--text-muted); font-size: 15px; margin: 0; }

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EEEDFE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
  color: var(--purple-dark);
  font-weight: 700;
}

.markets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pill {
  background: #EEEDFE;
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
}

.cta-band {
  background: var(--navy);
  color: #f0f0f8;
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 { font-size: 28px; margin: 0 0 12px; }
.cta-band p { color: #c7c5dd; margin: 0 0 28px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
  text-align: center;
}

footer.site-footer p {
  color: #9694b3;
  font-size: 13px;
  margin: 0;
}

footer.site-footer a { color: #c7c5dd; }

/* ---------- Form page ---------- */
.form-page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #f0f0f8;
  padding: 64px 0 56px;
  text-align: center;
}

.form-page-hero h1 { font-size: 34px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.5px; }
.form-page-hero p { color: #c7c5dd; font-size: 17px; max-width: 560px; margin: 0 auto; }

.form-wrap {
  max-width: 640px;
  margin: -40px auto 0;
  padding: 0 24px 80px;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(13,27,42,0.08);
}

.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--ink);
}
.form-row .req { color: var(--error); }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #ffffff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(127,119,221,0.15);
}

.form-row textarea { resize: vertical; min-height: 100px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin-top: 6px;
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

#form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 22px;
}

#form-status.success {
  display: block;
  background: #EAF3DE;
  color: #27500A;
}

#form-status.error {
  display: block;
  background: #FCEBEB;
  color: #791F1F;
}

/* ---------- Feature cards / lists (features page + lean home cards) ---------- */
.icon-badge.mono { font-size: 13px; letter-spacing: 0.5px; }

.feature-card { display: flex; flex-direction: column; }
.feature-card h3 { margin-bottom: 4px; }
.feature-card .feature-lede { color: var(--text-muted); font-size: 15px; margin: 0; }

.feature-list { list-style: none; margin: 16px 0 0; padding: 0; }
.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 11px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.feature-list li:last-child { margin-bottom: 0; }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple);
  font-weight: 700;
}

.card-lede { color: var(--text-muted); font-size: 15px; margin: 0; }

.center-link { text-align: center; margin-top: 44px; }
.center-link a { font-weight: 600; font-size: 16px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--purple-dark);
  margin-bottom: 12px;
}

/* In-page jump navigation (features page) */
.jump-nav { padding: 44px 0 4px; }
a.pill { transition: background 0.15s ease; }
a.pill:hover { text-decoration: none; background: #e0ddfa; }

/* Two-column bullet layouts sit flush under a section head */
.grid-2 > .feature-list { margin-top: 0; }

/* ---------- Catch cards (home) — hover-lift links into the detail sections ---------- */
.catch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.catch-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 24px;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.catch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(13, 27, 42, 0.10);
  border-color: var(--purple-light);
  text-decoration: none;
}
.catch-card h3 { font-size: 17px; font-weight: 700; margin: 6px 0 10px; color: var(--ink); }
.catch-card p { color: var(--text-muted); font-size: 14px; margin: 0; }
.catch-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--purple-dark);
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.catch-card:hover .catch-more { opacity: 1; transform: translateX(0); }

@media (max-width: 720px) {
  .grid-3, .grid-2, .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero .actions { flex-direction: column; align-items: center; }
  nav.site-nav { display: none; }
  .form-card { padding: 28px 22px; }
  /* No hover on touch — always show the card's link affordance. */
  .catch-more { opacity: 1; transform: none; }
}

/* Tablet / small-laptop band: keep the nav to one tidy row by dropping the
   two in-page homepage anchors (still reachable by scrolling the homepage). */
@media (max-width: 1000px) and (min-width: 721px) {
  nav.site-nav { gap: 14px; }
  nav.site-nav a[href$="#why"], nav.site-nav a[href$="#pricing"] { display: none; }
}

/* ---------- Comparison table (compare page) ---------- */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 12px;
}
table.compare {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
}
table.compare th,
table.compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.compare thead th {
  background: var(--navy);
  color: #f0f0f8;
  font-size: 13px;
  font-weight: 700;
  vertical-align: bottom;
  line-height: 1.3;
}
table.compare thead th small {
  display: block;
  font-weight: 400;
  color: #b9b7d6;
  font-size: 11px;
  margin-top: 5px;
}
table.compare thead th.sn { background: var(--purple-dark); }
table.compare tbody th {
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  width: 220px;
}
table.compare td.sn { background: #EEEDFE; }
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: none; }
.cell-y { color: var(--success); font-weight: 700; }
.cell-n { color: var(--error); font-weight: 700; }
.cell-p { color: #B26A00; font-weight: 700; }
.cell-q { display: block; color: var(--text-muted); font-size: 12.5px; margin-top: 3px; line-height: 1.35; }
.compare-note {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 900px;
  margin: 20px auto 0;
}

/* ---------- Pillar showcase (framed screenshots) ---------- */
.shot-frame {
  max-width: 1040px;
  margin: 8px auto 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(13,27,42,0.12);
  overflow: hidden;
  background: #ffffff;
}
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-caption { text-align: center; color: var(--text-muted); font-size: 13px; margin: 14px auto 0; max-width: 900px; }
.pillar-grid { max-width: 900px; margin: 0 auto 36px; }

/* Pillar chips row (sub-capabilities) */
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin: 0 auto 8px; }
.chips-row .pill { background: #EEEDFE; color: var(--purple-dark); font-size: 13px; font-weight: 500; padding: 7px 16px; border-radius: 999px; }

/* ---------- Callout (highlighted point) ---------- */
.callout {
  background: #EEEDFE;
  border-left: 4px solid var(--purple);
  border-radius: 10px;
  padding: 24px 28px;
  max-width: 820px;
  margin: 0 auto 44px;
}
.callout .eyebrow { margin-bottom: 8px; }
.callout p { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.6; }

/* ---------- Ecosystem map ---------- */
.eco-wrap { background: radial-gradient(circle at 50% 42%, #16263b 0%, var(--navy) 62%); color:#f0f0f8; padding: 10px 0 52px; }
.eco-head { text-align:center; max-width:800px; margin:0 auto 4px; padding:0 20px; }
.eco-head h2 { font-size:30px; font-weight:700; letter-spacing:-0.5px; margin:0 0 10px; color:#fff; }
.eco-head p { color:#c7c5dd; font-size:16px; margin:0; }
.eco-toggle { display:flex; gap:8px; justify-content:center; margin:10px auto 2px; }
.eco-toggle button { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.18); color:#c7c5dd;
  font-size:13px; font-weight:600; padding:7px 18px; border-radius:999px; cursor:pointer; font-family:inherit; transition:all .15s; }
.eco-toggle button:hover { background:rgba(255,255,255,0.12); color:#fff; }
.eco-toggle button.active { background:var(--purple); border-color:var(--purple); color:#fff; }
.eco-stage { display:flex; gap:14px; align-items:center; max-width:1320px; margin:0 auto; padding:0 16px; flex-wrap:wrap; justify-content:center; }
.eco-svg { flex:1 1 620px; min-width:300px; max-width:min(680px, 62vh); }
.eco-svg svg { width:100%; height:auto; display:block; overflow:visible; }
.eco-panel { flex:0 0 290px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12);
  border-radius:14px; padding:22px 24px; min-height:230px; align-self:center; }
.eco-panel .kicker { font-size:11px; letter-spacing:1.2px; text-transform:uppercase; font-weight:700; margin:0 0 8px; }
.eco-panel h3 { font-size:20px; margin:0 0 10px; color:#fff; }
.eco-panel p { color:#c7c5dd; font-size:14px; line-height:1.6; margin:0 0 12px; }
.eco-panel ul { list-style:none; margin:0; padding:0; }
.eco-panel li { color:#d8d6ea; font-size:13px; padding-left:16px; position:relative; margin-bottom:6px; }
.eco-panel li::before { content:"\2192"; position:absolute; left:0; color:#8f8ac9; }

/* ---------- Platform layers (homepage summary graphic) ---------- */
.layers { max-width:720px; margin:0 auto; padding:0 16px; }
.layer { position:relative; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.10);
  border-left:4px solid var(--lc,#AFA9EC); border-radius:12px; padding:15px 20px; }
.layer .ltag { display:block; font-size:11px; font-weight:700; letter-spacing:1.1px; text-transform:uppercase; color:var(--lc,#AFA9EC); margin:0 0 4px; }
.layer .lname { font-size:16px; font-weight:600; color:#fff; }
.layer .lsub { font-size:13px; color:#b8b6cf; font-weight:400; }
.layer.emph { background:rgba(53,199,154,0.08); padding:17px 20px; }
.pchips { display:flex; flex-wrap:wrap; gap:6px; margin-top:11px; }
.pchips span { font-size:12px; font-weight:600; color:#d8f3ea; background:rgba(53,199,154,0.14);
  border:1px solid rgba(53,199,154,0.45); border-radius:999px; padding:4px 11px; }
.layer-conn { text-align:center; color:rgba(175,169,236,0.55); font-size:15px; line-height:1; margin:5px 0; }

/* ---------- Ecosystem page: intro column beside the map ---------- */
.eco-intro { flex:0 0 300px; align-self:center; padding:6px 10px; }
.eco-intro .eyebrow { display:block; font-size:12px; letter-spacing:1.5px; text-transform:uppercase; font-weight:700; margin:0 0 12px; }
.eco-intro h1 { font-size:30px; font-weight:700; line-height:1.15; letter-spacing:-0.5px; margin:0 0 14px; color:#fff; }
.eco-intro p { color:#c7c5dd; font-size:15px; line-height:1.6; margin:0 0 20px; }
.eco-intro .eco-toggle { justify-content:flex-start; margin:0 0 20px; }
.eco-legend-stack { display:flex; flex-direction:column; align-items:flex-start; gap:9px; margin:0; }
@media (max-width: 900px){
  .eco-intro { flex-basis:100%; text-align:center; }
  .eco-intro .eco-toggle { justify-content:center; }
  .eco-legend-stack { flex-direction:row; flex-wrap:wrap; justify-content:center; align-items:center; }
}
.vring { fill:none; stroke:rgba(175,169,236,0.14); stroke-width:1; }
.vlabel { font-size:12px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; fill:rgba(200,197,224,0.5); text-anchor:middle; }
.spoke { stroke:rgba(175,169,236,0.24); stroke-width:1.4; transition:stroke .2s, stroke-width .2s; }
.node,.jnode { cursor:pointer; }
.node rect,.jnode rect { transition:filter .2s, opacity .2s; }
.node text,.jnode text { font-weight:600; fill:#f0f0f8; pointer-events:none; }
.node .lbl{ font-size:13px; } .jnode .lbl{ font-size:12px; }
.node .sub,.jnode .sub { font-size:9px; font-weight:600; fill:#b9b7d6; text-transform:uppercase; letter-spacing:.6px; }
.hub circle { filter:drop-shadow(0 0 26px rgba(127,119,221,0.6)); }
.hub text.brand { font-size:19px; font-weight:800; fill:#fff; }
.hub text.tag { font-size:10px; fill:#c7c5dd; letter-spacing:.8px; text-transform:uppercase; }
.dim { opacity:.16; }
.node.active rect,.jnode.active rect { filter:brightness(1.4) drop-shadow(0 0 15px currentColor); }
.lit rect { filter:brightness(1.3) drop-shadow(0 0 10px currentColor); }
.spoke.active { stroke:rgba(175,169,236,0.9); stroke-width:2.4; }
.feats { opacity:0; transition:opacity .28s ease; pointer-events:none; }
.feats.show { opacity:1; }
.fc-link { stroke-width:1.1; stroke-dasharray:2 3; }
.fc text { font-size:10.5px; font-weight:500; fill:#eceaf7; }
.jpaths { opacity:0; transition:opacity .3s ease; pointer-events:none; }
.jpaths.show { opacity:1; }
.jpath { fill:none; stroke-width:2; }
.eco-legend { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin:8px auto 0; font-size:12px; color:#c7c5dd; }
.eco-legend span { display:inline-flex; align-items:center; gap:6px; }
.eco-legend i { width:10px; height:10px; border-radius:3px; display:inline-block; }
