/* ============================================================
   ABIS — Marketing landing page styles
   Composed on top of colors_and_type.css + tokens.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg-1);
  color: var(--fg-1);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .wrap { padding: 0 24px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow .marker { color: var(--c-orange); }

.section-title {
  font: 500 var(--t-h2-size)/1.1 var(--font-sans);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-lead {
  font: 400 1.125rem/1.55 var(--font-sans);
  color: var(--fg-2);
  max-width: 56ch;
  text-wrap: pretty;
}

.divider {
  height: 1px; background: var(--line-1); border: 0; margin: 0;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: var(--z-appBar);
  background: color-mix(in oklab, var(--bg-1) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-1);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 12px; }
.nav-brand img { width: 26px; height: 26px; }
.nav-brand .word {
  font-family: var(--font-brand); font-weight: 700;
  font-size: 16px; letter-spacing: 1.8px;
  color: var(--wm-color-light);
  text-shadow: var(--wm-shadow);
}
.dark .nav-brand .word { color: var(--wm-color-dark); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font: 400 14px/1 var(--font-sans);
  color: var(--fg-2);
  transition: color var(--dur-default) var(--ease-in-out);
}
.nav-links a:hover { color: var(--fg-1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 14px/1 var(--font-sans);
  padding: 10px 18px; border-radius: var(--r-button);
  border: 1px solid transparent;
  cursor: pointer; text-transform: none;
  transition: var(--tx-default);
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

.btn-primary {
  background: var(--c-orange);
  color: var(--c-navy);
}
.btn-primary:hover {
  background: var(--c-orange-light);
  box-shadow: var(--sh-button-hover);
}
.dark .btn-primary {
  box-shadow: 0 0 8px rgba(255,170,45,0.30);
}
.dark .btn-primary:hover {
  box-shadow: 0 0 16px rgba(255,170,45,0.55), 0 0 32px rgba(255,170,45,0.15);
}
/* Neon-emphasis variant for the marquee CTA — transparent bg, orange ring + glow */
.btn-primary.glow {
  background: transparent;
  color: var(--c-orange-hc);
  border: 1px solid var(--c-orange-hc);
  box-shadow: 0 0 24px rgba(255,170,45,0.35);
}
.btn-primary.glow:hover {
  background: rgba(255,170,45,0.10);
  border-color: var(--c-orange-hc);
  color: var(--c-orange-hc);
  box-shadow: 0 0 32px rgba(255,170,45,0.55);
}
.dark .btn-primary.glow {
  background: rgba(255,170,45,0.04);
  color: var(--c-orange);
  border-color: var(--c-orange);
  box-shadow: 0 0 24px rgba(255,170,45,0.45), 0 0 48px rgba(255,170,45,0.20);
}
.dark .btn-primary.glow:hover {
  background: rgba(255,170,45,0.14);
  border-color: var(--c-orange);
  box-shadow: 0 0 32px rgba(255,170,45,0.65), 0 0 64px rgba(255,170,45,0.25);
}

.btn-outlined {
  background: transparent;
  color: var(--c-orange-hc);
  border-color: rgba(255,149,0,0.5);
}
.btn-outlined:hover {
  background: rgba(255,149,0,0.08);
  border-color: var(--c-orange-hc);
}
.dark .btn-outlined {
  color: var(--c-orange);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
}
.dark .btn-outlined:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,170,45,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-1);
  border-color: transparent;
}
.btn-ghost:hover { background: color-mix(in oklab, var(--fg-1) 6%, transparent); }

/* ============================================================
   PILL / CHIP
   ============================================================ */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font: 500 12px/1 var(--font-sans);
  border: 1px solid var(--line-1);
  background: color-mix(in oklab, var(--bg-1) 90%, transparent);
  color: var(--fg-2);
}
.pill .d { width: 7px; height: 7px; border-radius: 50%; background: var(--c-orange); }
.pill.green .d { background: var(--c-green); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 480px at 78% 10%, rgba(255,170,45,0.10), transparent 60%),
    radial-gradient(700px 420px at 10% 70%, rgba(144,221,60,0.06), transparent 60%);
  pointer-events: none;
}
.dark .hero::before {
  background:
    radial-gradient(900px 560px at 78% 10%, rgba(255,170,45,0.18), transparent 55%),
    radial-gradient(800px 480px at 8% 70%, rgba(144,221,60,0.10), transparent 60%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hero-copy {
  min-width: 0;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-title {
  font: 500 clamp(48px, 6vw, 84px) / 1.1 var(--font-sans);
  letter-spacing: -0.025em;
  margin: 22px 0 26px;
  text-wrap: balance;
  max-width: 12.5ch;
}
.hero-title .accent { color: var(--c-orange); font-weight: 500; }
.hero-title .accent.is-typing {
  display: inline-block;
  width: var(--accent-fixed-width, auto);
  white-space: nowrap;
}
.hero-title .accent.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.08em;
  background: currentColor;
  vertical-align: -0.06em;
  animation: hero-accent-caret-blink 0.9s steps(1) infinite;
}
@keyframes hero-accent-caret-blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .accent.is-typing::after { display: none; }
}
.hero-title em {
  font-style: normal;
  color: var(--fg-2);
}

.hero p.lead {
  font: 400 1.125rem/1.55 var(--font-sans);
  color: var(--fg-2);
  max-width: 50ch;
  text-wrap: pretty;
  margin: 0 0 36px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin-top: 36px;
  font: 400 13px/1.4 var(--font-sans);
  color: var(--fg-3);
}
.hero-meta .sep { color: var(--fg-3); }
.hero-meta b { color: var(--fg-2); font-weight: 500; }

/* Hero visual: knowledge graph card — always dark (product showcase) */
.hero-vis {
  position: relative;
  border-radius: var(--r-global);
  background: linear-gradient(180deg, #1E1E1E 0%, #161616 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  color: #FFFFFF;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}
.dark .hero-vis {
  box-shadow: 0 2px 4px rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.4);
}
.hero-vis::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 0 60px rgba(255,170,45,0.06);
}

.vis-chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.vis-chrome .dots { display: inline-flex; gap: 6px; }
.vis-chrome .dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.vis-chrome .dots span:nth-child(1) { background: rgba(237,108,2,0.6); }
.vis-chrome .dots span:nth-child(2) { background: rgba(255,170,45,0.65); }
.vis-chrome .dots span:nth-child(3) { background: rgba(144,221,60,0.65); }

.vis-body { position: relative; padding: 18px; }
.vis-body svg { width: 100%; height: auto; display: block; }

.vis-foot {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.legend-item {
  display: inline-flex; align-items: center; gap: 7px;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.04em; color: rgba(255,255,255,0.7);
}
.legend-item .dot { width: 9px; height: 9px; border-radius: 50%; }

/* ============================================================
   TICKER / CUSTOMER STRIP — marquee
   ============================================================ */
.strip {
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  padding: 28px 0;
  overflow: hidden;
}
.strip-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
@media (max-width: 720px) {
  .strip-row { grid-template-columns: 1fr; gap: 18px; }
}
.strip-lab {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3); white-space: nowrap;
}
.strip-logos {
  position: relative;
  overflow: hidden;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.strip-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: strip-marquee 32s linear infinite;
  will-change: transform;
}
.strip:hover .strip-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
}
.logo-placeholder {
  font: 500 15px/1 var(--font-sans);
  letter-spacing: 0.04em;
  color: var(--fg-2);
  opacity: 0.7;
  white-space: nowrap;
  display: inline-flex; align-items: center;
}
.logo-placeholder.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.strip-track .sep {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--fg-3);
  border-radius: 50%;
  opacity: 0.5;
  flex-shrink: 0;
}
@keyframes strip-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================
   FEATURE PILLARS (3-up)
   ============================================================ */
.pillars {
  padding: 120px 0 80px;
}
.pillars-head { margin-bottom: 56px; max-width: 720px; }
.pillars-head .eyebrow { margin-bottom: 16px; }
.pillars-head p.section-lead { margin-top: 14px; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  background: var(--line-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-global);
  overflow: hidden;
}
@media (max-width: 980px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

.pillar {
  background: var(--bg-1);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 320px;
}
.pillar .num {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.12em; color: var(--fg-3);
}
.pillar .icon {
  width: 44px; height: 44px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--c-orange) 12%, transparent);
  color: var(--c-orange-hc);
  margin-bottom: 6px;
}
.dark .pillar .icon { color: var(--c-orange); background: rgba(255,170,45,0.10); }
.pillar.green .icon {
  color: var(--c-green-deep);
  background: color-mix(in oklab, var(--c-green) 16%, transparent);
}
.dark .pillar.green .icon { color: var(--c-green); background: rgba(144,221,60,0.10); }
.pillar.navy .icon { color: var(--c-navy); background: rgba(35,36,74,0.08); }
.dark .pillar.navy .icon { color: #B5B7E0; background: rgba(255,255,255,0.06); }

.pillar h3 {
  font: 500 1.375rem/1.2 var(--font-sans);
  letter-spacing: -0.005em;
}
.pillar p {
  font: 400 0.9375rem/1.55 var(--font-sans);
  color: var(--fg-2);
  max-width: 36ch;
}
.pillar .meta {
  margin-top: auto;
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 18px;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  border-radius: var(--r-chip);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.04em;
  background: color-mix(in oklab, var(--fg-1) 5%, transparent);
  color: var(--fg-2);
  border: 1px solid var(--line-1);
}

/* ============================================================
   STACK FIT (GRC complement — “what you have / what ABIS adds”)
   ============================================================ */
.stack {
  padding: 40px 0 100px;
}
.stack-head { margin-bottom: 40px; max-width: 720px; }
.stack-head .eyebrow { margin-bottom: 16px; }
.stack-head p.section-lead { margin-top: 14px; }

.stack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
@media (max-width: 980px) {
  .stack-grid { grid-template-columns: 1fr; }
}

.stack-col {
  position: relative;
  padding: 30px 30px 28px;
  border: 1px solid var(--line-1);
  border-radius: var(--r-global);
  background: var(--bg-1);
  display: flex; flex-direction: column; gap: 10px;
}
.stack-col-abis {
  border-color: color-mix(in oklab, var(--c-orange) 38%, var(--line-1));
  background: color-mix(in oklab, var(--c-orange) 4%, var(--bg-1));
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--c-orange) 18%, transparent) inset;
}
.dark .stack-col-abis {
  background: color-mix(in oklab, var(--c-orange) 6%, var(--bg-1));
}

.stack-tag {
  display: inline-flex; align-items: center;
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3);
  padding: 5px 9px;
  border: 1px solid var(--line-1);
  border-radius: var(--r-chip);
  align-self: flex-start;
  background: color-mix(in oklab, var(--fg-1) 4%, transparent);
}
.stack-col-abis .stack-tag {
  color: var(--c-orange-hc);
  border-color: color-mix(in oklab, var(--c-orange) 40%, transparent);
  background: color-mix(in oklab, var(--c-orange) 14%, transparent);
}
.dark .stack-col-abis .stack-tag { color: var(--c-orange); }

.stack-col h3 {
  font: 500 1.25rem/1.2 var(--font-sans);
  letter-spacing: -0.005em;
  margin: 6px 0 0;
}
.stack-sub {
  font: 400 0.9375rem/1.5 var(--font-sans);
  color: var(--fg-2);
  margin: 0 0 6px;
}

.stack-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex; flex-direction: column;
}
.stack-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  font: 400 0.9375rem/1.45 var(--font-sans);
  color: var(--fg-1);
  border-top: 1px solid var(--line-1);
}
.stack-list li:first-child { border-top: 0; }
.stack-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 10px; height: 1px;
  background: var(--fg-3);
  opacity: 0.7;
}
.stack-list li:first-child::before { top: 18px; }
.stack-col-abis .stack-list li::before {
  background: var(--c-orange);
  height: 2px;
  opacity: 1;
}

.stack-outro {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-1);
  font: 500 0.9375rem/1.45 var(--font-sans);
  letter-spacing: -0.005em;
  color: var(--fg-1);
}
.stack-col-abis .stack-outro {
  border-top-color: color-mix(in oklab, var(--c-orange) 30%, var(--line-1));
  color: var(--c-orange-hc);
}
.dark .stack-col-abis .stack-outro {
  color: var(--c-orange);
}

/* ============================================================
   PRODUCT SCREEN (placeholder for drop-in screenshot)
   ============================================================ */
.product {
  padding: 80px 0 120px;
}
.product-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.product-head .left { max-width: 640px; }
.product-head .eyebrow { margin-bottom: 14px; }

.product-frame {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-global);
  background: #161616;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  color: #FFFFFF;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.dark .product-frame {
  box-shadow: 0 2px 4px rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.4);
}
.product-frame .tb {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}
.product-frame .tb .dots { display: inline-flex; gap: 6px; }
.product-frame .tb .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.product-frame .tb .addr {
  flex: 1; padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  color: rgba(255,255,255,0.7);
}

.product-body {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #161616;
}
.product-body .tour-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   FLOW (MCP pipeline) — sources → graph → MCP server → consumers
   ============================================================ */
.flow {
  padding: 96px 0;
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  position: relative;
  overflow: hidden;
}
.flow-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.flow-head .eyebrow { justify-content: center; display: inline-flex; margin-bottom: 16px; }
.flow-head .section-lead { margin: 14px auto 0; }

.flow-stage {
  display: grid;
  grid-template-columns: 1fr minmax(380px, 460px) 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
}
@media (max-width: 980px) {
  .flow-stage { grid-template-columns: 1fr; gap: 16px; }
  .flow-side { order: -1; text-align: left !important; padding: 0 !important; }
}

.flow-side {
  font: 400 0.9375rem/1.55 var(--font-sans);
  color: var(--fg-2);
  max-width: 30ch;
}
.flow-side .flow-stage-num {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--c-orange);
  display: block;
  margin-bottom: 8px;
}
.flow-side h3 {
  font: 500 1.25rem/1.25 var(--font-sans);
  color: var(--fg-1);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.flow-side-left { text-align: right; padding-right: 8px; justify-self: end; }
.flow-side-right { text-align: left; padding-left: 8px; }

.flow-node {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-global);
  padding: 22px 26px;
  color: #FFFFFF;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  position: relative;
}
.dark .flow-node {
  box-shadow: 0 2px 4px rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.4);
}
.flow-node.featured {
  border-color: rgba(255,170,45,0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 0 32px rgba(255,170,45,0.08);
}
.dark .flow-node.featured {
  box-shadow: 0 2px 4px rgba(255,255,255,0.04), 0 0 28px rgba(255,170,45,0.18);
}
.flow-node .fn-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 14px;
}
.flow-node .fn-title {
  display: inline-flex; align-items: center; gap: 12px;
}
.flow-node .fn-title .ico {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: rgba(255,170,45,0.10);
  color: #FFAA2D;
  display: inline-flex; align-items: center; justify-content: center;
}
.flow-node.green .fn-title .ico { background: rgba(144,221,60,0.12); color: #90DD3C; }
.flow-node.purple .fn-title .ico { background: rgba(180,130,220,0.14); color: hsl(280,68%,72%); }
.flow-node .fn-title h4 {
  font: 500 1rem/1.2 var(--font-sans);
  color: #FFFFFF;
}
.flow-node .fn-title .sub {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  display: block;
  white-space: nowrap;
}
.flow-node .fn-tag {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.flow-node.featured .fn-tag {
  color: #FFAA2D;
  border-color: rgba(255,170,45,0.35);
  background: rgba(255,170,45,0.08);
}

.fn-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.fn-list li {
  display: flex; align-items: center; gap: 10px;
  font: 400 13px/1.4 var(--font-mono);
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
}
.fn-list li .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: hsl(132,68%,66%);
  flex-shrink: 0;
  animation: dot-pulse 2.8s var(--ease-in-out) infinite;
  will-change: transform, opacity;
}
.fn-list li:nth-child(2) .dot { animation-delay: 0.5s; }
.fn-list li:nth-child(3) .dot { animation-delay: 1.0s; }
.fn-list li:nth-child(4) .dot { animation-delay: 1.5s; }

.fn-list li.policy .dot { background: hsl(28,68%,66%); }
.fn-list li.metric .dot { background: #FFAA2D; }
.fn-list li.consumer .dot { background: hsl(280,68%,72%); }
.fn-list li.audit .dot { background: hsl(208,68%,66%); }
.fn-list li .name { flex: 1; }
.fn-list li .meta {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Arrow between stages */
.flow-arrow {
  display: grid;
  grid-template-columns: 1fr minmax(380px, 460px) 1fr;
  align-items: center;
  margin: 18px 0;
  height: 80px;
  position: relative;
  pointer-events: none;
}
@media (max-width: 980px) {
  .flow-arrow { grid-template-columns: 1fr; height: 56px; margin: 12px 0; }
}
.flow-arrow .arrow-wrap {
  grid-column: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  height: 100%;
  position: relative;
  justify-content: center;
}
.flow-arrow .arrow-line {
  width: 1px; height: 100%;
  background: linear-gradient(180deg,
    rgba(255,170,45,0.55) 0%,
    rgba(255,170,45,0.25) 100%);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.flow-arrow .arrow-label {
  position: relative;
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-orange);
  background: var(--bg-1);
  padding: 6px 12px;
  border: 1px solid color-mix(in oklab, var(--c-orange) 35%, var(--line-1));
  border-radius: 999px;
  white-space: nowrap;
  z-index: 1;
}
.flow-arrow .arrow-tip {
  position: relative;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--c-orange);
  border-bottom: 1.5px solid var(--c-orange);
  transform: rotate(45deg) translate(-1px, -1px);
  z-index: 1;
}

/* ============================================================
   WHY CONTEXT GRAPH MATTERS (3-up; sits between Flow and Product)
   ============================================================ */
.why-graph {
  padding: 96px 0 100px;
  position: relative;
  overflow: hidden;
}
.why-graph::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 340px at 18% 8%, rgba(255,170,45,0.05), transparent 60%),
    radial-gradient(720px 400px at 90% 90%, rgba(144,221,60,0.04), transparent 60%);
  pointer-events: none;
}
.dark .why-graph::before {
  background:
    radial-gradient(720px 380px at 18% 8%, rgba(255,170,45,0.10), transparent 60%),
    radial-gradient(820px 440px at 90% 90%, rgba(144,221,60,0.07), transparent 60%);
}

.why-graph-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  position: relative;
}
.why-graph-head .eyebrow {
  justify-content: center;
  display: inline-flex;
  margin-bottom: 16px;
}
.why-graph-head .section-lead { margin: 14px auto 0; }

.why-graph-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  position: relative;
}
@media (max-width: 980px) {
  .why-graph-grid { grid-template-columns: 1fr; }
}

.wg-card {
  position: relative;
  padding: 32px 28px 28px;
  border: 1px solid var(--line-1);
  border-radius: var(--r-global);
  background: var(--bg-paper);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 340px;
  transition:
    transform var(--dur-default) var(--ease-in-out),
    box-shadow var(--dur-default) var(--ease-in-out),
    border-color var(--dur-default) var(--ease-in-out);
}
.wg-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--c-orange) 28%, var(--line-1));
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.18);
}
.dark .wg-card:hover {
  box-shadow: 0 0 0 1px rgba(255,170,45,0.18), 0 12px 32px rgba(0,0,0,0.45);
}

.wg-card .wg-num {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--c-orange);
}
.wg-card .wg-icon {
  width: 44px; height: 44px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--c-orange) 12%, transparent);
  color: var(--c-orange-hc);
  margin: 4px 0 6px;
}
.dark .wg-card .wg-icon {
  color: var(--c-orange);
  background: rgba(255,170,45,0.10);
}

.wg-card.green .wg-num { color: var(--c-green-deep); }
.dark .wg-card.green .wg-num { color: var(--c-green); }
.wg-card.green .wg-icon {
  color: var(--c-green-deep);
  background: color-mix(in oklab, var(--c-green) 16%, transparent);
}
.dark .wg-card.green .wg-icon {
  color: var(--c-green);
  background: rgba(144,221,60,0.10);
}
.wg-card.green:hover {
  border-color: color-mix(in oklab, var(--c-green) 30%, var(--line-1));
}

.wg-card.navy .wg-num { color: var(--c-navy); }
.dark .wg-card.navy .wg-num { color: #B5B7E0; }
.wg-card.navy .wg-icon {
  color: var(--c-navy);
  background: rgba(35,36,74,0.08);
}
.dark .wg-card.navy .wg-icon {
  color: #B5B7E0;
  background: rgba(255,255,255,0.06);
}
.wg-card.navy:hover {
  border-color: color-mix(in oklab, var(--c-navy) 28%, var(--line-1));
}
.dark .wg-card.navy:hover {
  border-color: rgba(181,183,224,0.35);
}

.wg-card h3 {
  font: 500 1.25rem/1.25 var(--font-sans);
  letter-spacing: -0.005em;
  margin: 0;
}
.wg-card p {
  font: 400 0.9375rem/1.55 var(--font-sans);
  color: var(--fg-2);
  max-width: 38ch;
  margin: 0;
}
.wg-card .wg-meta {
  margin-top: auto;
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-top: 20px;
}

.why-graph-foot {
  margin: 40px auto 0;
  max-width: 64ch;
  text-align: center;
  font: 500 0.9375rem/1.55 var(--font-sans);
  color: var(--fg-2);
  font-style: italic;
  position: relative;
}
.why-graph-foot::before,
.why-graph-foot::after {
  content: "—";
  margin: 0 10px;
  color: var(--c-orange);
  font-style: normal;
  letter-spacing: 0;
}

.principle {
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.principle::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 50% 50%, rgba(255,170,45,0.06), transparent 60%);
  pointer-events: none;
}
.dark .principle::before {
  background: radial-gradient(800px 400px at 50% 50%, rgba(255,170,45,0.12), transparent 55%);
}

.principle-quote {
  font: 500 clamp(28px, 3.6vw, 48px) / 1.18 var(--font-sans);
  letter-spacing: -0.012em;
  text-wrap: balance;
  max-width: 28ch;
  overflow-wrap: break-word;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.principle-quote .em { color: var(--c-orange); }
.principle-quote .principle-tc {
  display: inline;
}
.principle-quote .principle-caret {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 2px;
  vertical-align: -0.10em;
  background: var(--c-orange);
  animation: principle-caret-blink 0.9s steps(1) infinite;
  will-change: opacity;
}
@keyframes principle-caret-blink {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .principle-quote .principle-caret { display: none; }
}
.principle-attr {
  margin-top: 28px;
  display: flex; justify-content: center; gap: 12px; align-items: center;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-2);
}
.principle-attr .bar { width: 24px; height: 1px; background: var(--c-orange); }

/* ============================================================
   COMPLIANCE / SOVEREIGNTY GRID
   ============================================================ */
.compliance {
  padding: 120px 0;
}
.compliance-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 980px) {
  .compliance-grid { grid-template-columns: 1fr; gap: 36px; }
}
.compliance .eyebrow { margin-bottom: 16px; }
.compliance h2 { margin-bottom: 18px; }

.facts {
  border: 1px solid var(--line-1);
  border-radius: var(--r-global);
  background: var(--bg-paper);
  overflow: hidden;
}
.fact {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-1);
}
.fact:last-child { border-bottom: 0; }
.fact .k {
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-3);
  padding-top: 2px;
}
.fact .v {
  font: 400 0.9375rem/1.5 var(--font-sans);
  color: var(--fg-1);
}
.fact .v b { font-weight: 500; }
.fact .v .meta { display: block; margin-top: 4px; color: var(--fg-2); font-size: 0.875rem; }

/* ============================================================
   PRICING / TIERS
   ============================================================ */
.pricing {
  padding: 0 0 120px;
}
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.pricing-head .eyebrow { justify-content: center; margin-bottom: 16px; display: inline-flex; }
.pricing-head .section-lead { margin: 14px auto 0; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 980px) { .tier-grid { grid-template-columns: 1fr; } }

.tier {
  border: 1px solid var(--line-1);
  border-radius: var(--r-global);
  padding: 32px;
  background: var(--bg-paper);
  display: flex; flex-direction: column; gap: 18px;
}
.tier.featured {
  border-color: rgba(255,170,45,0.5);
  background: linear-gradient(180deg, color-mix(in oklab, var(--c-orange) 4%, var(--bg-paper)) 0%, var(--bg-paper) 100%);
}
.dark .tier.featured {
  border-color: rgba(255,170,45,0.4);
  background: linear-gradient(180deg, rgba(255,170,45,0.06) 0%, #1E1E1E 70%);
  box-shadow: 0 0 32px rgba(255,170,45,0.08);
}

.tier h3 {
  font: 500 1.125rem/1.2 var(--font-sans);
}
.tier .price {
  display: flex; align-items: baseline; gap: 6px;
}
.tier .price .num {
  font: 500 2.5rem/1 var(--font-sans);
  letter-spacing: -0.02em;
}
.tier .price .per {
  font: 400 0.875rem/1 var(--font-sans);
  color: var(--fg-2);
}
.tier .desc {
  font: 400 0.9375rem/1.55 var(--font-sans);
  color: var(--fg-2);
  margin: 0;
}
.tier .tier-features-intro {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 10px 0 -2px;
}
.tier ul {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.tier li {
  font: 400 0.9375rem/1.4 var(--font-sans);
  color: var(--fg-1);
  padding-left: 22px;
  position: relative;
}
.tier li::before {
  content: "→";
  position: absolute; left: 0; top: 0;
  font: 500 14px/1.4 var(--font-mono);
  color: var(--c-orange);
}
.tier.green li::before { color: var(--c-green-deep); }
.dark .tier.green li::before { color: var(--c-green); }
.tier .btn { margin-top: auto; justify-content: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  border-top: 1px solid var(--line-1);
  padding: 96px 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 360px minmax(0,1fr);
  gap: 64px;
}
@media (max-width: 980px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

.faq-grid > div:first-child .eyebrow {
  margin-bottom: 18px;
}

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--line-1);
  padding: 20px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line-1); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
  cursor: pointer;
  font: 500 1.0625rem/1.4 var(--font-sans);
  color: var(--fg-1);
  padding: 4px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font: 400 22px/1 var(--font-mono);
  color: var(--fg-2);
  transition: transform var(--dur-default) var(--ease-in-out);
}
.faq-item[open] summary::after { content: "–"; color: var(--c-orange); }
.faq-item .a {
  padding: 14px 60px 6px 0;
  font: 400 0.9375rem/1.6 var(--font-sans);
  color: var(--fg-2);
  max-width: 64ch;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-block {
  padding: 120px 0;
}
.cta-card {
  position: relative;
  border-radius: var(--r-global);
  border: 1px solid var(--line-1);
  background: var(--bg-paper);
  padding: 80px 64px;
  text-align: center;
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 25% 25%, rgba(255,170,45,0.10), transparent 60%),
    radial-gradient(500px 300px at 75% 75%, rgba(144,221,60,0.08), transparent 60%);
  pointer-events: none;
}
.dark .cta-card::before {
  background:
    radial-gradient(560px 320px at 25% 25%, rgba(255,170,45,0.18), transparent 60%),
    radial-gradient(560px 320px at 75% 75%, rgba(144,221,60,0.10), transparent 60%);
}

/* ---- Light-mode showpiece: cyan → violet gradient (signature card) ---- */
html:not(.dark) .cta-card {
  background: linear-gradient(115deg, #2AB8FF 0%, #5C7BFF 45%, #9B4DFF 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow:
    0 24px 60px -20px rgba(91,123,255,0.45),
    0 8px 24px -8px rgba(155,77,255,0.30);
}
html:not(.dark) .cta-card::before {
  /* warm-light highlight + soft vignette to keep depth on the gradient */
  background:
    radial-gradient(620px 360px at 22% 18%, rgba(255,255,255,0.22), transparent 60%),
    radial-gradient(520px 320px at 82% 88%, rgba(155,77,255,0.35), transparent 65%);
}
html:not(.dark) .cta-card h2 { color: #FFFFFF; }
html:not(.dark) .cta-card p  { color: rgba(255,255,255,0.85); }
html:not(.dark) .cta-card .btn-primary.glow {
  background: rgba(255,255,255,0.96);
  color: #5C2BB8;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0,0,0,0.20), 0 0 32px rgba(255,255,255,0.35);
}
html:not(.dark) .cta-card .btn-primary.glow:hover {
  background: #FFFFFF;
  color: #4A1FA0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25), 0 0 40px rgba(255,255,255,0.55);
}
html:not(.dark) .cta-card .btn-outlined {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.45);
  color: #FFFFFF;
}
html:not(.dark) .cta-card .btn-outlined:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.75);
}

/* ---- Featured pricing tier picks up a subtle hint of the same gradient ---- */
html:not(.dark) .tier.featured {
  background:
    linear-gradient(180deg, rgba(155,77,255,0.05) 0%, rgba(42,184,255,0.04) 100%),
    #FFFFFF;
  border-color: rgba(92,123,255,0.35);
  box-shadow: 0 12px 32px -16px rgba(92,123,255,0.30);
}
.cta-card .mark {
  position: relative;
  margin: 0 auto 18px;
  width: 56px; height: 56px;
}
.cta-card .mark img { width: 100%; height: 100%; }
.cta-card h2 {
  position: relative;
  font: 500 clamp(36px, 4.4vw, 56px) / 1.05 var(--font-sans);
  letter-spacing: -0.018em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.cta-card p {
  position: relative;
  font: 400 1.0625rem/1.55 var(--font-sans);
  color: var(--fg-2); max-width: 52ch;
  margin: 0 auto 32px;
  text-wrap: pretty;
}
.cta-card .row {
  position: relative;
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--line-1);
  padding: 56px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.foot-brand .lockup { display: inline-flex; align-items: center; gap: 12px; }
.foot-brand .lockup img { width: 24px; height: 24px; }
.foot-brand .lockup .word {
  font-family: var(--font-brand); font-weight: 700;
  font-size: 14px; letter-spacing: 1.6px;
  color: var(--wm-color-light); text-shadow: var(--wm-shadow);
}
.dark .foot-brand .lockup .word { color: var(--wm-color-dark); }
.foot-brand p { font: 400 13px/1.55 var(--font-sans); color: var(--fg-2); }

.foot-col h3 {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 16px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col li a {
  font: 400 13px/1 var(--font-sans);
  color: var(--fg-2);
  transition: color var(--dur-default) var(--ease-in-out);
}
.foot-col li a:hover { color: var(--fg-1); }

.foot-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-1);
  font: 400 12px/1 var(--font-sans);
  color: var(--fg-3);
  flex-wrap: wrap; gap: 16px;
}
.foot-bot .foot-legal {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  color: var(--fg-3);
}
.foot-bot .foot-legal a {
  color: var(--fg-2);
  transition: color var(--dur-default) var(--ease-in-out);
}
.foot-bot .foot-legal a:hover { color: var(--fg-1); }
.foot-bot .foot-legal .sep { color: var(--fg-3); }
.foot-bot .nl {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}
.foot-bot .nl .flag {
  display: inline-flex; flex-direction: column;
  width: 16px; height: 11px; border-radius: 1px; overflow: hidden;
  border: 1px solid var(--line-1);
}
.foot-bot .nl .flag span { flex: 1; }
.foot-bot .nl .flag span:nth-child(1) { background: #AE1C28; }
.foot-bot .nl .flag span:nth-child(2) { background: #FFFFFF; }
.foot-bot .nl .flag span:nth-child(3) { background: #21468B; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse-soft {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.45); }
}
@keyframes orbit-dash {
  to { stroke-dashoffset: -100; }
}
.graph-pulse {
  transform-origin: center;
  animation: pulse-soft 2.8s var(--ease-in-out) infinite;
  will-change: opacity;
}
.graph-orbit {
  stroke-dasharray: 4 6;
  animation: orbit-dash 6s linear infinite;
  will-change: stroke-dashoffset;
}

/* ============================================================
   Helpers introduced when stripping inline styles / hardcoded copy
   ============================================================ */
.vis-live { font-family: var(--font-mono); color: var(--c-orange); }

.compliance-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.tour-anchor {
  position: relative;
  top: -80px;
  pointer-events: none;
}

.tier-talk-btn {
  border-color: rgba(144, 221, 60, 0.5);
  color: var(--c-green-deep);
}
