/* AI-CFO promo — brand tokens from moyrab, layout unique to finance product */
:root {
  --bg: #0d0d0d;
  --accent: #dc2828;
  --accent-soft: rgba(220, 40, 40, 0.12);
  --teal: #2dd4bf;
  --teal-soft: rgba(45, 212, 191, 0.12);
  --green: #22c55e;
  --warn: #f59e0b;
  --blue: #60a5fa;
  --text: #f5f5f5;
  --text-2: #a0a0a0;
  --text-3: #666;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-2: rgba(255, 255, 255, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Background */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 8%, rgba(220, 40, 40, 0.11), transparent 42%),
    radial-gradient(ellipse at 85% 15%, rgba(45, 212, 191, 0.08), transparent 38%),
    radial-gradient(ellipse at 50% 85%, rgba(255, 255, 255, 0.025), transparent 50%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}
main, .nav, .footer, .mobile-menu { position: relative; z-index: 1; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 40px);
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 13, 13, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.brand-logo {
  display: flex; align-items: center; gap: 8px; color: #dc2828; flex-shrink: 0;
}
.brand-logo svg.brand-mark { display: block; flex-shrink: 0; transition: transform .2s; }
.brand-logo:hover svg.brand-mark { transform: scale(1.05); }
.brand-wordmark {
  font-family: var(--display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.03em; color: #fff; text-transform: lowercase; line-height: 1;
}
.brand-dot { color: #dc2828; }
.nav-sep { color: var(--text-3); margin: 0 2px 0 4px; font-size: 16px; font-weight: 600; }
.nav-product {
  color: var(--text-2); font-weight: 600; font-size: 13px; white-space: nowrap;
}
.robot-eyelid {
  transform-box: fill-box; transform-origin: 50% 50%; transform: scaleY(0);
}
.brand-logo:hover .robot-eyelid--right,
.brand-logo.winking .robot-eyelid--right { animation: robot-wink 0.5s; }
@keyframes robot-wink {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
  68% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}
.nav-links { display: flex; gap: 20px; font-size: 13.5px; color: var(--text-2); }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-burger {
  display: none; width: 40px; height: 40px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--surface); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-burger span { width: 16px; height: 1.5px; background: #fff; display: block; }
.mobile-menu {
  display: none; position: fixed; inset: 64px 12px auto; z-index: 39;
  background: rgba(18, 18, 18, 0.96); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px; flex-direction: column; gap: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 12px; border-radius: 10px; color: var(--text-2); }
.mobile-menu a:hover { background: var(--surface); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 13.5px; border-radius: 999px; padding: 10px 16px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 1px rgba(220,40,40,.3), 0 10px 30px rgba(220,40,40,.22);
}
.btn-primary:hover { background: #e83a3a; }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: #fff; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { padding: 14px 22px; font-size: 14.5px; }

/* Type */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.eyebrow.teal { color: var(--teal); }
.eyebrow.teal::before { background: var(--teal); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(36px, 5.8vw, 68px); }
h2 { font-size: clamp(28px, 4.2vw, 48px); }
h3 { font-size: 18px; margin-bottom: 8px; }
.grad {
  background: linear-gradient(105deg, #fff 8%, #ffb4b4 42%, var(--accent) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-teal {
  background: linear-gradient(105deg, #fff 10%, #99f6e4 50%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead, .section-sub {
  color: var(--text-2); font-size: clamp(15px, 1.8vw, 18px);
  max-width: 58ch; margin-top: 18px; line-height: 1.65;
}
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head .section-sub { margin-top: 14px; }

/* Layout shells */
.wrap {
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}
.section { padding: 96px 0; }
.section.band {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02), transparent);
}

/* —— HERO —— */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  padding: 120px clamp(16px, 4vw, 40px) 80px;
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px;
}
.proof-chip {
  font-size: 12.5px; color: var(--text-2);
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 7px 12px;
}
.proof-chip b { color: #fff; font-weight: 700; }

/* Terminal-like system board */
.sys-board {
  background: linear-gradient(165deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  border: 1px solid var(--border-2);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(220,40,40,.06);
}
.sys-top {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: 12px; color: var(--text-2);
}
.sys-dots { display: flex; gap: 6px; }
.sys-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); }
.sys-dots i:nth-child(1) { background: #ff5f57; }
.sys-dots i:nth-child(2) { background: #febc2e; }
.sys-dots i:nth-child(3) { background: #28c840; }
.sys-live {
  margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  background: rgba(34,197,94,.15); color: var(--green); border: 1px solid rgba(34,197,94,.35);
}
.sys-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border);
}
.sys-kpi { background: #111; padding: 16px 14px; }
.sys-kpi .lbl { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; }
.sys-kpi .val {
  font-family: var(--display); font-weight: 800; font-size: 24px;
  letter-spacing: -0.03em; margin-top: 4px;
}
.sys-kpi .val.teal { color: var(--teal); }
.sys-kpi .val.green { color: var(--green); }
.sys-kpi .val.warn { color: var(--warn); }
.sys-kpi .sub { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.sys-body { padding: 14px; background: #0e0e0e; display: grid; gap: 10px; }
.sys-row {
  display: grid; grid-template-columns: 1.2fr 0.8fr 0.7fr;
  gap: 8px; font-size: 12px; color: var(--text-2);
  padding: 9px 10px; border-radius: 10px; background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
}
.sys-row.head { color: var(--text-3); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; background: transparent; border: none; padding-bottom: 0; }
.sys-row .ok { color: #86efac; font-weight: 600; }
.sys-row .bad { color: #fca5a5; font-weight: 600; }
.sys-alert {
  border: 1px solid rgba(245,158,11,.4); background: rgba(245,158,11,.08);
  border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: #fcd34d;
}
.sys-alert strong { display: block; color: #fff; margin-bottom: 4px; font-size: 13px; }

/* —— STAKES —— */
.stakes {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start;
}
.stake-quote {
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 20px;
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff;
}
.cost-stack { display: grid; gap: 10px; }
.cost-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 18px; background: var(--surface);
}
.cost-card .tag {
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.cost-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.cost-card h4 { font-size: 16px; margin-bottom: 6px; }

/* —— OS LAYERS —— */
.os-layers { display: grid; gap: 12px; }
.layer {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 20px 22px;
  align-items: start;
  transition: border-color .2s, background .2s;
}
.layer:hover { border-color: rgba(220,40,40,.3); background: var(--surface-2); }
.layer-id {
  font-family: var(--display); font-weight: 800; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  padding-top: 2px;
}
.layer h3 { font-size: 17px; margin-bottom: 6px; }
.layer p { font-size: 14px; color: var(--text-2); line-height: 1.55; max-width: 70ch; }
.layer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.layer-tags span {
  font-size: 11px; color: var(--text-3); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px 9px;
}

/* —— MODULE TABS —— */
.mod-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
}
.mod-tab {
  appearance: none; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); border-radius: 999px; padding: 9px 14px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.mod-tab:hover { color: #fff; border-color: var(--border-2); }
.mod-tab.active {
  color: #fff; background: rgba(220,40,40,.16); border-color: rgba(220,40,40,.45);
}
.mod-panel {
  display: none;
  grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
  border: 1px solid var(--border-2); border-radius: 20px;
  padding: 28px 26px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.mod-panel.active { display: grid; }
.mod-panel h3 { font-size: 22px; margin-bottom: 10px; }
.mod-panel .desc { font-size: 14.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.mod-list { list-style: none; display: grid; gap: 10px; }
.mod-list li {
  position: relative; padding-left: 18px; font-size: 13.5px; color: var(--text-2); line-height: 1.45;
}
.mod-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}
.mod-list li strong { color: #fff; font-weight: 600; }
.mod-visual {
  border: 1px solid var(--border); border-radius: 14px; background: #101010;
  padding: 16px; min-height: 260px;
}
.mod-visual .v-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-3); margin-bottom: 12px; font-weight: 700;
}

/* P&L tree mock */
.pl-tree { display: grid; gap: 6px; font-size: 12.5px; }
.pl-node {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 10px; border-radius: 8px; color: var(--text-2);
}
.pl-node.l0 { background: rgba(255,255,255,.04); color: #fff; font-weight: 600; }
.pl-node.l1 { padding-left: 22px; }
.pl-node.l2 { padding-left: 36px; color: var(--text-3); }
.pl-node .n { font-variant-numeric: tabular-nums; font-weight: 600; color: #fff; }
.pl-node .n.pos { color: #86efac; }
.pl-node .n.neg { color: #fca5a5; }
.pl-node.emph { border: 1px solid rgba(45,212,191,.3); background: rgba(45,212,191,.06); }

/* Cash calendar mock */
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.cal-cell {
  aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--border);
  background: rgba(255,255,255,.03); display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-size: 10px; color: var(--text-3);
}
.cal-cell b { font-size: 11px; color: var(--text-2); font-weight: 600; }
.cal-cell.ok { border-color: rgba(34,197,94,.25); background: rgba(34,197,94,.08); }
.cal-cell.risk { border-color: rgba(220,40,40,.4); background: rgba(220,40,40,.12); color: #fca5a5; }
.cal-cell.risk b { color: #fff; }
.cal-legend { display: flex; gap: 12px; margin-top: 12px; font-size: 11px; color: var(--text-3); }
.cal-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.cal-legend .ok { background: rgba(34,197,94,.5); }
.cal-legend .risk { background: rgba(220,40,40,.6); }

/* SKU table mock */
.sku-table { display: grid; gap: 4px; font-size: 11.5px; }
.sku-row {
  display: grid; grid-template-columns: 1.4fr .6fr .7fr .7fr;
  gap: 6px; padding: 8px 8px; border-radius: 8px; color: var(--text-2);
  align-items: center;
}
.sku-row.head { color: var(--text-3); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.sku-row:not(.head) { background: rgba(255,255,255,.03); border: 1px solid transparent; }
.sku-row .mp {
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 5px; width: fit-content;
}
.sku-row .mp.wb { background: rgba(203,17,171,.16); color: #f0a0e4; }
.sku-row .mp.oz { background: rgba(0,91,255,.18); color: #7eb0ff; }
.sku-row .m-pos { color: #86efac; font-weight: 700; }
.sku-row .m-neg { color: #fca5a5; font-weight: 700; }

/* —— CAPABILITY MAP —— */
.cap-map {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.cap-col {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 20px 18px;
}
.cap-col h3 {
  font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; font-weight: 800;
}
.cap-col.teal h3 { color: var(--teal); }
.cap-col.muted h3 { color: var(--blue); }
.cap-item {
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,.06);
}
.cap-item:first-of-type { border-top: none; padding-top: 0; }
.cap-item h4 { font-size: 14.5px; margin-bottom: 4px; font-weight: 700; }
.cap-item p { font-size: 12.5px; color: var(--text-2); line-height: 1.45; }

/* —— METHOD —— */
.method {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.method-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; background: var(--surface);
  border-top: 2px solid var(--accent);
}
.method-card .num {
  font-family: var(--display); font-weight: 800; font-size: 32px;
  color: rgba(255,255,255,.08); letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 10px;
}
.method-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; margin-top: 8px; }

/* —— ORG / GOVERNANCE —— */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.gov-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; background: var(--surface);
}
.gov-card h3 { font-size: 20px; margin-bottom: 10px; }
.gov-card > p { font-size: 14px; color: var(--text-2); line-height: 1.55; margin-bottom: 14px; }
.gov-card ul { list-style: none; display: grid; gap: 8px; }
.gov-card li {
  font-size: 13.5px; color: var(--text-2); padding-left: 16px; position: relative;
}
.gov-card li::before {
  content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}

/* —— REPLACE MODEL —— */
.replace {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch;
}
.replace-col {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; background: #111;
}
.replace-col.now {
  border-color: rgba(220,40,40,.4);
  background: linear-gradient(180deg, rgba(220,40,40,.1), rgba(255,255,255,0.02));
}
.replace-badge {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-3); margin-bottom: 12px;
}
.replace-col.now .replace-badge {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.replace-col h3 { font-size: 18px; margin-bottom: 14px; }
.replace-col ul { list-style: none; display: grid; gap: 9px; }
.replace-col li { font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.replace-col li span { color: var(--text-3); }
.replace-mid {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  color: var(--text-3); writing-mode: vertical-rl; transform: rotate(180deg);
  letter-spacing: .12em; text-transform: uppercase;
}

/* —— METRICS —— */
.metric-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.metric {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; background: var(--surface); min-height: 150px;
}
.metric-val {
  font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.03em; margin-bottom: 10px;
  background: linear-gradient(120deg, #fff, #ffb4b4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric-label { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.fineprint { margin-top: 22px; font-size: 12.5px; color: var(--text-3); max-width: 72ch; }

/* —— STACK —— */
.stack-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.stack-grid div {
  border: 1px solid var(--border); border-radius: 12px; padding: 16px 12px;
  background: var(--surface); text-align: center;
}
.stack-grid b {
  display: block; font-size: 11px; color: var(--text-3); font-weight: 600;
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em;
}
.stack-grid span { font-size: 13px; font-weight: 600; color: #fff; }

/* —— FINAL —— */
.final { padding-bottom: 120px; text-align: center; }
.final .section-sub { margin-left: auto; margin-right: auto; }
.final .eyebrow { justify-content: center; }
.final .eyebrow::before { display: none; }
.final-note { margin-top: 20px; font-size: 13px; color: var(--text-3); }
.final-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.final-note a:hover { color: #fff; }
.demo-box {
  max-width: 720px; margin: 0 auto;
  border: 1px solid rgba(220,40,40,.35);
  background: linear-gradient(180deg, rgba(220,40,40,.1), rgba(255,255,255,0.02));
  border-radius: 20px; padding: 36px 28px;
}

/* —— PLAYBOOKS —— */
.playbooks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.playbook {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; background: var(--surface);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s, transform .2s;
}
.playbook:hover { border-color: rgba(220,40,40,.35); transform: translateY(-2px); }
.playbook-top { display: flex; align-items: center; justify-content: space-between; }
.playbook-num {
  font-family: var(--display); font-weight: 800; font-size: 28px;
  color: rgba(255,255,255,.1); letter-spacing: -0.04em; line-height: 1;
}
.playbook-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2);
}
.playbook-tag.risk {
  border-color: rgba(220,40,40,.4); color: #fca5a5; background: rgba(220,40,40,.1);
}
.playbook h3 { font-size: 17px; line-height: 1.25; }
.playbook-steps {
  list-style: none; display: grid; gap: 10px; margin: 4px 0 8px;
  counter-reset: pb;
}
.playbook-steps li {
  font-size: 13px; color: var(--text-2); line-height: 1.5;
  padding-left: 0;
}
.playbook-steps li strong { color: #fff; font-weight: 600; }
.playbook-link {
  margin-top: auto; font-size: 13px; font-weight: 700; color: var(--accent);
}
.playbook-link:hover { color: #ff6b6b; }

/* —— VS TABLE —— */
.vs-table {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--surface);
}
.vs-head, .vs-row {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  gap: 0;
  font-size: 12.5px;
}
.vs-head {
  background: rgba(255,255,255,.04);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-3);
}
.vs-head span, .vs-row span {
  padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.06);
  border-right: 1px solid rgba(255,255,255,.04);
  color: var(--text-2); line-height: 1.4;
}
.vs-row:last-child span { border-bottom: none; }
.vs-q { color: #fff !important; font-weight: 600; }
.vs-now {
  color: #fff !important;
  background: rgba(220,40,40,.12);
  font-weight: 600;
}
.vs-head .vs-now { color: #ffb4b4 !important; background: rgba(220,40,40,.18); }

/* —— TOUR CARDS —— */
.tour-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.tour-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px; background: var(--surface);
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .2s, transform .2s, background .2s;
}
.tour-card:hover {
  border-color: rgba(220,40,40,.4); background: var(--surface-2); transform: translateY(-2px);
}
.tour-step {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.tour-card h3 { font-size: 20px; }
.tour-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; flex: 1; }
.tour-go { font-size: 13px; font-weight: 700; color: #fff; margin-top: 6px; }

/* —— PILOT FORM —— */
.pilot-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start;
}
.pilot-form {
  border: 1px solid var(--border-2); border-radius: 20px;
  padding: 28px 24px; background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  display: grid; gap: 14px;
}
.pilot-form label { display: grid; gap: 6px; text-align: left; }
.pilot-form label > span {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3);
}
.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  background: #121212; color: #fff; padding: 11px 12px; font-size: 14px;
  font-family: var(--font); outline: none;
}
.pilot-form input:focus,
.pilot-form select:focus,
.pilot-form textarea:focus { border-color: rgba(220,40,40,.5); }
.pilot-form textarea { resize: vertical; min-height: 72px; }
.pilot-checks {
  border: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.pilot-checks legend {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 6px;
}
.pilot-checks .chk {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2);
  flex-direction: row;
}
.pilot-checks input { width: auto; accent-color: var(--accent); }
.pilot-hint { font-size: 12px; color: var(--text-3); text-align: center; }
.pilot-hint a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.pilot-form.sent { border-color: rgba(34,197,94,.4); }

@media (max-width: 1100px) {
  .playbooks, .tour-grid { grid-template-columns: 1fr; }
  .vs-head, .vs-row { font-size: 11px; }
}
@media (max-width: 900px) {
  .pilot-grid { grid-template-columns: 1fr; }
  .vs-table { overflow-x: auto; }
  .vs-head, .vs-row { min-width: 720px; }
}
@media (max-width: 560px) {
  .playbooks, .tour-grid { grid-template-columns: 1fr; }
  .pilot-checks { grid-template-columns: 1fr; }
}

/* Sticky CTA */
.sticky-cta {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
}
.sticky-cta .btn { width: 100%; box-shadow: 0 12px 40px rgba(220,40,40,.35); }
.sticky-cta.visible { display: block; }
@media (min-width: 901px) { .sticky-cta { display: none !important; } }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px clamp(16px, 4vw, 40px) 28px;
  background: rgba(0,0,0,.35);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer p { color: var(--text-3); font-size: 13px; margin-top: 10px; max-width: 36ch; }
.footer-links { display: flex; gap: 18px; font-size: 13.5px; color: var(--text-2); }
.footer-links a:hover { color: #fff; }
.copy {
  max-width: var(--max); margin: 28px auto 0; padding-top: 18px;
  border-top: 1px solid var(--border); font-size: 12px; color: var(--text-3);
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .cap-map, .method, .metric-row, .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .mod-panel { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; min-height: auto; }
  .hero-visual { order: -1; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .stakes, .two-col, .replace { grid-template-columns: 1fr; }
  .replace-mid { writing-mode: horizontal-tb; transform: none; padding: 4px 0; }
  .layer { grid-template-columns: 1fr; gap: 8px; }
  .brand-wordmark { font-size: 17px; }
  .nav-product { display: none; }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .cap-map, .method, .metric-row, .stack-grid { grid-template-columns: 1fr; }
  .sys-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .sys-row { grid-template-columns: 1fr 1fr; }
  .sys-row span:nth-child(3) { display: none; }
}
