/* ============================================================
   Boundee — Design System
   Purple primary · white canvas · clean Printful-grade spacing
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* ---- Brand ---- */
  --purple:        #5a2bdf;
  --purple-press:  #4a1fc4;
  --purple-deep:   #2e1683;
  --purple-soft:   #8b6bf0;
  --purple-50:     #f6f3ff;
  --purple-100:    #ece5fd;
  --purple-200:    #d9cdfb;

  /* ---- Ink / neutrals (cool-tinted) ---- */
  --ink:           #16131f;
  --ink-2:         #4c4860;
  --ink-3:         #837e98;
  --line:          #e9e5f3;
  --line-soft:     #f0edf8;
  --canvas:        #ffffff;
  --tint:          #faf9fe;

  /* ---- Accents (shared chroma/lightness, varied hue) ---- */
  --mint:          #1fa074;   /* positive outcomes */
  --mint-50:       #e8f6f0;
  --coral:         #e0633f;   /* cost / pain */
  --coral-50:      #fcefe9;

  /* ---- Type ---- */
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* ---- Rhythm ---- */
  --maxw: 1180px;
  --gut: 24px;
  --section-y: 132px;
  --radius: 18px;
  --radius-lg: 26px;

  /* tweakable hooks */
  --accent: var(--purple);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: var(--section-y); }
.section--tint { background: #f3eff9; }
.section--lilac-deep { background: #e9e2f7; }
.section--purple { background: var(--purple); color: #fff; }
.section--ink { background: var(--ink); color: #fff; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.section--purple .eyebrow, .section--ink .eyebrow { color: var(--purple-soft); }

.lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
}
.section--purple .lead, .section--ink .lead { color: rgba(255,255,255,0.78); }

.head-xl { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -0.032em; }
.head-lg { font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.028em; }
.head-md { font-size: clamp(26px, 2.6vw, 34px); }
.text-accent { color: var(--accent); }
.text-mint { color: var(--mint); }
.text-coral { color: var(--coral); }

.center { text-align: center; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans);
  font-size: 16px; font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn--primary:hover { background: var(--purple-press); box-shadow: 0 8px 24px -8px color-mix(in oklab, var(--accent) 60%, transparent); }
.btn--ghost { background: var(--purple-50); color: var(--accent); }
.btn--ghost:hover { background: var(--purple-100); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--purple-200); color: var(--accent); }
.btn--white { background: #fff; color: var(--purple); }
.btn--white:hover { background: var(--purple-50); }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* btn-small — pill nav button for <x-book-demo-btn class="btn-small"> */
.btn-small {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 18px;
  background: var(--accent); color: #fff;
  border-radius: 999px; border: none;
  font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1;
  cursor: pointer; text-decoration: none;
  transition: background .16s;
}
.btn-small:hover { background: var(--purple-press); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, #fff 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { font-size: 25px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); display: inline-flex; align-items: center; }
.logo b { color: var(--accent); }
.logo-img { height: 26px; width: auto; display: block; }
.footer .logo-img { height: 28px; }

/* partner / funding logos (dark backgrounds) */
.partner-logos { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.partner-chip { background: #fff; border-radius: 10px; padding: 9px 13px; display: inline-flex; align-items: center; }
.partner-chip img { height: 40px; width: auto; display: block; }
.partner-bare { height: 38px; width: auto; display: block; }
.nav__links { display: flex; gap: 30px; margin-left: 14px; }
.nav__links a { font-size: 15.5px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav__links a:hover { color: var(--accent); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav__signin { font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.nav__signin:hover { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 84px; padding-bottom: 96px; position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  background: var(--purple-50); border: 1px solid var(--purple-100);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 28px;
}
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -0.035em; line-height: 1.09; }
.hero h1 .muted { color: var(--ink-3); }
.hero h1 .hl { color: var(--accent); }
.hero__sub { margin-top: 30px; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.hero__cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 34px; font-size: 14.5px; color: var(--ink-3); max-width: 48ch; line-height: 1.6; }

/* trusted strip */
.trusted { margin-top: 64px; }
.trusted__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin-bottom: 24px; }
.trusted__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.trusted__row span { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: #b7b1c8; }

/* ---------- generic diagram bits ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.soft-shadow { box-shadow: 0 24px 60px -34px rgba(46,22,131,.28); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 999px; text-transform: uppercase;
}
.chip--ok { background: var(--mint-50); color: var(--mint); }
.chip--bottleneck { background: var(--coral-50); color: var(--coral); }
.chip--purple { background: var(--purple-50); color: var(--accent); }

/* ============================================================
   HERO VISUAL — decision flow orbit
   ============================================================ */
.orbit { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 480px; margin-inline: auto; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--purple-200); }
.orbit__ring.r2 { inset: 16%; border-color: var(--purple-100); }
.orbit__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 40%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--purple-soft), var(--purple) 70%);
  display: grid; place-items: center; color: #fff; text-align: center;
  box-shadow: 0 30px 60px -22px color-mix(in oklab, var(--purple) 70%, transparent);
}
.orbit__core .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; opacity: .82; text-transform: uppercase; }
.orbit__core .v { font-size: clamp(18px,2.4vw,26px); font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.orbit__node {
  position: absolute; transform: translate(-50%,-50%);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 13px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 10px 24px -16px rgba(46,22,131,.4); white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
}
.orbit__node .pin { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-soft); }
.orbit__node.n1 { left: 50%; top: 1%; }
.orbit__node.n2 { left: 95%; top: 50%; }
.orbit__node.n3 { left: 50%; top: 99%; }
.orbit__node.n4 { left: 5%; top: 50%; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { order: 0; }
  .orbit { max-width: 300px; }
  .hero { padding-top: 56px; padding-bottom: 64px; }
  /* Both hero CTA buttons same chip size on mobile */
  .hero__cta .btn { padding: 8px 18px; font-size: 14px; }
}

/* ============================================================
   WHY  (problem)
   ============================================================ */
.why__split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 60px; }
.why__panel { padding: 38px; border-radius: var(--radius-lg); }
.why__panel--reality { background: #fff; border: 1px solid var(--line); }
.why__panel--result { background: var(--ink); color: #fff; }
.why__panel h3 { font-size: 14px; font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); margin-bottom: 26px; }
.why__panel--result h3 { color: rgba(255,255,255,.55); }
.why__list { display: flex; flex-direction: column; gap: 20px; }
.why__item { display: flex; gap: 15px; align-items: flex-start; }
.why__item .ix { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--purple-50); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 700; font-family: var(--mono); }
.why__panel--result .why__item .ix { background: rgba(255,255,255,.1); color: #fff; }
.why__item p { font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.why__panel--result .why__item p { color: rgba(255,255,255,.82); }
.why__stat { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.why__stat .n { font-size: 46px; font-weight: 800; letter-spacing: -.03em; }
.why__stat .l { font-size: 15px; color: rgba(255,255,255,.62); margin-top: 4px; }
/* shared two-line statement (muted setup → bold accent punch) */
.stmt { text-align: center; max-width: 820px; margin-inline: auto; }
.stmt__top { font-size: clamp(16px,1.8vw,20px); font-weight: 500; color: var(--ink-3); letter-spacing: -.01em; }
.stmt__punch { margin-top: 14px; font-size: clamp(22px,2.6vw,30px); font-weight: 700; letter-spacing: -.028em; line-height: 1.12; color: var(--ink); text-wrap: balance; }
.stmt__punch .hl { color: var(--accent); }
.section--purple .stmt__top, .section--ink .stmt__top { color: rgba(255,255,255,.62); }
.section--purple .stmt__punch, .section--ink .stmt__punch { color: #fff; }

.why__closer { margin-top: 84px; text-align: center; max-width: 820px; margin-inline: auto; }
.why__closer-setup { font-size: clamp(17px,1.9vw,21px); font-weight: 500; color: var(--ink-3); letter-spacing: -.01em; }
.why__closer-payoff { margin-top: 16px; font-size: clamp(24px,2.8vw,32px); font-weight: 700; letter-spacing: -.028em; line-height: 1.1; color: var(--ink); text-wrap: balance; }
.why__closer-payoff .hl { color: var(--accent); }

@media (max-width: 820px){ .why__split { grid-template-columns: 1fr; } }

/* ============================================================
   PIPELINE (where Boundee sits)
   ============================================================ */
.pipe { margin-top: 64px; }
.pipe__track { display: grid; grid-template-columns: 1fr auto 1.25fr auto 1fr; align-items: stretch; gap: 0; }
.pipe__stage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.pipe__stage.is-bottleneck { border: 1.5px solid var(--purple-200); background: var(--purple-50); box-shadow: 0 30px 70px -42px color-mix(in oklab,var(--purple) 60%, transparent); }
.pipe__stage .stg-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pipe__stage .stg-h h4 { font-size: 19px; }
.pipe__tools { display: flex; flex-direction: column; gap: 9px; }
.pipe__tool { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.pipe__tool .b { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); flex: none; }
.pipe__brands { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3); line-height: 1.7; }
.pipe__boundee { margin-top: 14px; display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--accent); font-size: 15px; }
.pipe__arrow { display: grid; place-items: center; padding-inline: 10px; color: var(--purple-soft); }
.pipe__caption { margin-top: 30px; text-align: center; color: var(--ink-2); font-size: 17px; }
.pipe__caption b { color: var(--ink); }

.assist {
  margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.assist > div { padding: 30px 32px; }
.assist .a-tools { background: var(--tint); border-right: 1px solid var(--line); }
.assist .a-boundee { background: var(--purple); color: #fff; }
.assist h5 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; font-weight: 500; }
.assist .a-tools h5 { color: var(--ink-3); }
.assist .a-boundee h5 { color: var(--purple-200); }
.assist p { font-size: 16.5px; line-height: 1.55; }
.assist .a-tools p { color: var(--ink-2); }

@media (max-width: 920px){
  .pipe__track { grid-template-columns: 1fr; gap: 14px; }
  .pipe__arrow { transform: rotate(90deg); padding: 4px; }
  .assist { grid-template-columns: 1fr; }
  .assist .a-tools { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ============================================================
   HOW IT WORKS — roles
   ============================================================ */
.roles { margin-top: 60px; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.roles .role { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.role__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.role__tag .n { width: 22px; height: 22px; border-radius: 7px; background: var(--purple-50); display: grid; place-items: center; font-weight: 700; }
.role h4 { font-size: 21px; margin-bottom: 6px; }
.role__role { font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.role__features { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 11px; }
.role__features li { font-size: 15px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.role__features li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--purple-50); border: 1.5px solid var(--purple-200); }
.role__viz { margin-top: auto; }

/* mini mockups */
.mock { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; font-family: var(--sans); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); background: var(--tint); }
.mock__bar .d { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.mock__bar .t { margin-left: 6px; font-size: 11px; font-family: var(--mono); color: var(--ink-3); }
.mock__body { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.mock__rowline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mock__name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.bar-track { height: 7px; border-radius: 999px; background: var(--purple-100); overflow: hidden; flex: 1; }
.bar-fill { height: 100%; background: var(--purple); border-radius: 999px; }
.mock__pct { font-family: var(--mono); font-size: 11px; color: var(--ink-2); width: 34px; text-align: right; }

.mock-cand { display: flex; align-items: center; justify-content: space-between; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; }
.mock-cand .nm { font-size: 12.5px; font-weight: 600; }
.mock-cand .meta { font-size: 10.5px; color: var(--ink-3); font-family: var(--mono); }
.mini-btn { font-size: 11px; font-weight: 600; font-family: var(--mono); background: var(--purple); color: #fff; padding: 5px 10px; border-radius: 7px; }

/* phone mock */
.phone { width: 178px; margin: 0 auto; border-radius: 26px; padding: 9px; background: var(--ink); box-shadow: 0 30px 50px -28px rgba(22,19,31,.6); }

/* real-screenshot phone frame (How it works role cards) */
.appshot { width: 100%; max-width: 232px; margin: 4px auto 0; border-radius: 30px; padding: 8px; background: var(--ink); box-shadow: 0 34px 60px -30px rgba(22,19,31,.5); }
.appshot__screen { position: relative; border-radius: 23px; overflow: hidden; height: 340px; background: #fff; }
.appshot__screen img { width: 100%; display: block; }
.appshot__screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.phone__screen { background: #fff; border-radius: 18px; overflow: hidden; }
.phone__notch { height: 18px; display: grid; place-items: center; }
.phone__notch::after { content:""; width: 52px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.25); }
.phone__push { margin: 10px; background: var(--purple-50); border: 1px solid var(--purple-100); border-radius: 12px; padding: 12px; }
.phone__push .ph-app { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.phone__push .ph-msg { font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.phone__decide { margin: 10px; }
.phone__decide .q { font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.phone__decide .acts { display: flex; gap: 7px; }
.phone__decide .acts button { flex: 1; border: none; border-radius: 9px; padding: 9px; font-size: 11.5px; font-weight: 700; font-family: var(--sans); cursor: pointer; }
.phone__decide .yes { background: var(--purple); color: #fff; }
.phone__decide .no { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.phone__timer { text-align: center; font-family: var(--mono); font-size: 10px; color: var(--mint); margin-top: 10px; letter-spacing: .08em; }

.how__caption { margin-top: 48px; text-align: center; font-size: clamp(20px,2.4vw,27px); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.how__caption b { color: var(--accent); }

@media (max-width: 880px){ .roles { grid-template-columns: 1fr; } }

/* connecting flow above roles */
.flow { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-top: 56px; flex-wrap: wrap; }
.flow__node { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; width: 140px; }
.flow__bubble { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--accent); }
.flow__bubble.is-core { background: var(--purple); border-color: var(--purple); color: #fff; }
.flow__node .lab { font-size: 14px; font-weight: 700; white-space: nowrap; }
.flow__node .sub { font-size: 12px; color: var(--ink-3); font-family: var(--mono); white-space: nowrap; }
.flow__link { width: 64px; height: 2px; background: linear-gradient(90deg,var(--purple-200),var(--purple-soft)); position: relative; margin-top: 31px; flex: none; }
.flow__link::after { content:"›"; position: absolute; right: -3px; top: -13px; color: var(--purple-soft); font-size: 20px; line-height: 1; }

@media (max-width:680px){ .flow { flex-direction: column; align-items: center; } .flow__link { width: 2px; height: 30px; margin: 4px 0; } .flow__link::after { transform: rotate(90deg); right:-9px; top: 9px; } }

/* ============================================================
   BENEFITS — 5 outcomes
   ============================================================ */
.outcomes { margin-top: 60px; display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.outcome { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.outcome:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(46,22,131,.35); border-color: var(--purple-200); }
.outcome .num { font-family: var(--mono); font-size: 12px; color: var(--purple-soft); letter-spacing: .1em; }
.outcome .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--purple-50); color: var(--accent); display: grid; place-items: center; margin: 14px 0 18px; }
.outcome h4 { font-size: 18px; line-height: 1.2; margin-bottom: 8px; }
.outcome p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 1000px){ .outcomes { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .outcomes { grid-template-columns: 1fr; } }

/* expected impact */
.impact { margin-top: 44px; }
.impact__hero { background: var(--purple); color: #fff; border-radius: var(--radius-lg); padding: 48px 44px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.impact__hero .big { font-size: clamp(58px,9vw,104px); font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.impact__hero .desc h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.impact__hero .desc p { color: rgba(255,255,255,.78); font-size: 16.5px; max-width: 42ch; }
.impact__grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.impact__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.impact__card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px; }
.impact__card .ic.c { background: var(--coral-50); color: var(--coral); }
.impact__card .stat { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--coral); }
.impact__card .stat-l { font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; font-family: var(--mono); }
.impact__card h4 { font-size: 17px; margin-bottom: 8px; }
.impact__card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.impact__card .src { margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.impact__foot { margin-top: 22px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
@media (max-width: 920px){ .impact__hero { grid-template-columns: 1fr; gap: 22px; text-align:center; } .impact__grid { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { margin-top: 56px; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; }
.quote .mark { font-family: Georgia, serif; font-size: 58px; line-height: .6; color: var(--purple-200); height: 30px; }
.quote p { font-size: 17px; line-height: 1.55; color: var(--ink); margin: 6px 0 24px; }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,var(--purple-soft),var(--purple)); flex: none; }
.quote .who .role { font-size: 14px; font-weight: 600; color: var(--ink); }
.quote .foot { text-align: center; margin-top: 40px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.quotes-foot { text-align: center; margin-top: 56px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); letter-spacing: .05em; }
@media (max-width: 900px){ .quotes { grid-template-columns: 1fr; } }

/* ============================================================
   PILOT + CTA
   ============================================================ */
.pilot { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan { border-radius: var(--radius-lg); padding: 36px; }
.plan--sandbox { background: #fff; border: 1px solid var(--line); }
.plan--live { background: var(--ink); color: #fff; position: relative; }
.plan__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.plan__h h4 { font-size: 24px; }
.plan--live .plan__h h4 { color: #fff; }
.plan__rows { display: flex; flex-direction: column; }
.plan__row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.plan--live .plan__row { border-color: rgba(255,255,255,.12); }
.plan__row .k { color: var(--ink-3); }
.plan--live .plan__row .k { color: rgba(255,255,255,.55); }
.plan__row .v { font-weight: 600; }
.plan--live .plan__row .v { color: #fff; }
.plan__row:last-child { border-bottom: none; }
.badge-live { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--mint); color: #fff; padding: 5px 11px; border-radius: 999px; }
@media (max-width: 760px){ .pilot { grid-template-columns: 1fr; } }

/* big closing CTA */
.cta { text-align: center; }
.cta h2 { color: #fff; font-size: clamp(34px,4.6vw,56px); letter-spacing: -.03em; max-width: 18ch; margin: 0 auto 18px; }
.cta p { font-size: 19px; color: rgba(255,255,255,.78); max-width: 50ch; margin: 0 auto 36px; }
.cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { margin-top: 52px; max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 26px 8px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--sans); font-size: 18.5px; font-weight: 600; color: var(--ink); }
.faq__q:hover { color: var(--accent); }
.faq__icon { flex: none; width: 24px; height: 24px; position: relative; transition: transform .25s ease; color: var(--accent); }
.faq__icon::before, .faq__icon::after { content:""; position: absolute; background: currentColor; border-radius: 2px; }
.faq__icon::before { left: 4px; right: 4px; top: 11px; height: 2px; }
.faq__icon::after { top: 4px; bottom: 4px; left: 11px; width: 2px; transition: transform .25s ease; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 8px 26px; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; max-width: 68ch; }

/* ============================================================
   FOOTER  (kept from original)
   ============================================================ */
.footer { background: #0e0c15; color: #fff; padding-top: 80px; padding-bottom: 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .logo { color: #fff; font-size: 28px; }
.footer__about { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7; max-width: 38ch; }
.footer__col h5 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; font-size: 15px; color: rgba(255,255,255,.72); margin-bottom: 12px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; flex-wrap: wrap; }
.footer__bottom .small { font-size: 13.5px; color: rgba(255,255,255,.45); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer__legal a:hover { color: #fff; }
.footer-terms { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.55); margin: 0; }
.footer-terms a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-terms a:hover { color: #fff; text-decoration: underline; }
.footer__badges { display: flex; align-items: center; gap: 22px; }
.footer__badges a { display: contents; }
.footer__badge { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 8px 12px; line-height: 1.3; }
@media (max-width: 820px){ .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer__top { grid-template-columns: 1fr; } }

/* ============================================================
   reveal animation
   ============================================================ */
/* Reveal: content is visible by default (never depends on a time-based effect
   completing). The optional rise is purely additive via .in and degrades to the
   visible resting state if animations are frozen/unsupported. */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.anim { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.anim.in { opacity: 1; transform: none; }
}

/* hero variant visibility (driven by [data-hero] on <html>) */
.hero-variant { display: none; }
html[data-hero="orbit"]   .hero-variant.v-orbit  { display: block; }
html[data-hero="pipeline"] .hero-variant.v-pipeline { display: block; }
html[data-hero="phone"]   .hero-variant.v-phone  { display: block; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.nav__links a.is-active { color: var(--accent); }

.about-hero { padding-top: 96px; padding-bottom: 40px; text-align: center; }
.about-hero .eyebrow { text-align: center; }
.about-hero h1 { font-size: clamp(36px,5vw,60px); letter-spacing: -.035em; line-height: 1.05; max-width: 16ch; margin: 0 auto; }
.about-hero h1 .hl { color: var(--accent); }
.about-hero .lead { margin: 26px auto 0; text-align: center; font-size: 20px; }

/* hero diagram: systems -> decision layer -> decision */
.adiagram { margin: 64px auto 0; max-width: 980px; display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; gap: 0; }
.adiagram__col { display: flex; flex-direction: column; gap: 10px; }
.adiagram__chip { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); box-shadow: 0 10px 26px -20px rgba(46,22,131,.4); }
.adiagram__chip .d { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex: none; }
.adiagram__core { background: var(--purple); color: #fff; border-radius: 18px; padding: 26px 22px; text-align: center; box-shadow: 0 30px 60px -28px color-mix(in oklab,var(--purple) 70%, transparent); }
.adiagram__core .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-200); }
.adiagram__core .t { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; line-height: 1.15; }
.adiagram__out { background: var(--mint-50); border: 1px solid #cdeadd; border-radius: 14px; padding: 16px 18px; text-align: center; }
.adiagram__out .t { font-weight: 700; color: var(--ink); font-size: 15.5px; }
.adiagram__out .s { font-family: var(--mono); font-size: 11.5px; color: var(--mint); margin-top: 4px; }
.adiagram__arrow { display: grid; place-items: center; padding-inline: 12px; color: var(--purple-soft); }
@media (max-width: 860px){ .adiagram { grid-template-columns: 1fr; gap: 14px; } .adiagram__arrow { transform: rotate(90deg); padding: 2px; } }

/* gap section: text + visual */
.gap-split { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.gap-split p { font-size: 18px; color: var(--ink-2); line-height: 1.65; margin-bottom: 18px; }
.gap-split p:last-child { margin-bottom: 0; }
.gap-split p b { color: var(--ink); }
.gap-viz { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.gap-viz__row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.gap-viz__row:last-child { border-bottom: none; }
.gap-viz__row .nm { font-size: 15px; font-weight: 600; color: var(--ink); }
.gap-viz__row .owner { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.gap-viz__row.is-boundee { margin-top: 10px; padding: 16px 18px; background: var(--purple); border-radius: 12px; }
.gap-viz__row.is-boundee .nm { color: #fff; }
.gap-viz__row.is-boundee .owner { color: var(--purple-200); }
@media (max-width: 768px) { .gap-split { grid-template-columns: 1fr; gap: 32px; } }

/* why healthcare only — 4 cards */
.reasons { margin-top: 56px; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.reason { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.reason .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--purple-50); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.reason p { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }
@media (max-width: 900px){ .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .reasons { grid-template-columns: 1fr; } }

/* big pullquote */
.pullquote { margin: 48px auto 0; max-width: 860px; text-align: center; }
.pullquote .mark { font-family: Georgia, serif; font-size: 70px; line-height: .4; color: var(--purple-200); }
.pullquote p { font-size: clamp(22px,2.6vw,30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.35; color: var(--ink); text-wrap: balance; }
.pullquote p .hl { color: var(--accent); }

/* company / legal (dark) */
.company { text-align: center; }
.company__lead { font-size: clamp(20px,2.4vw,26px); font-weight: 600; letter-spacing: -.02em; color: #fff; max-width: 26ch; margin: 0 auto; line-height: 1.3; }
.company__badges { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; margin: 40px 0; }
.company__badge { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 12px 16px; line-height: 1.4; text-align: center; }
.company__badges { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; margin: 48px 0; }
.company__badges .partner-chip { padding: 16px 22px; }
.company__badges .partner-chip img { height: 92px; }
.company__badges .partner-bare { height: 88px; }
.company__fund { max-width: 720px; margin: 0 auto; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.company__fund p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; }
.company__fund dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 18px 0 0; text-align: left; }
.company__fund dt { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.4); text-transform: uppercase; white-space: nowrap; }
.company__fund dd { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.78); }
@media (max-width: 560px){ .company__fund dl { grid-template-columns: 1fr; gap: 2px 0; } .company__fund dd { margin-bottom: 10px; } }

/* ============================================================
   MOBILE NAV — hamburger button + full-screen drawer
   ============================================================ */

/* Hamburger button — hidden on desktop, shown below 768px */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
/* Animate to × when open */
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Close (×) button inside the drawer */
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.mobile-close:hover { opacity: 1; }

/* Full-screen drawer overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 97%, transparent);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Nav links inside the drawer */
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-nav a {
  font-size: 22px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--purple-soft); }
.mobile-nav .mobile-demo-btn {
  margin-top: 8px;
  padding: 14px 32px;
  background: var(--accent); color: #fff;
  border-radius: 999px; border: none;
  font-family: var(--sans); font-size: 17px; font-weight: 600;
  cursor: pointer;
  transition: background .16s;
}
.mobile-nav .mobile-demo-btn:hover { background: var(--purple-press); }

/* Show hamburger & drawer only on mobile; hide desktop nav items */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .nav__links { display: none; }
  .nav__right .btn, .nav__right .btn-small { display: none; }
  .nav__right .nav__signin { display: none; }
}

/* ============================================================
   DEMO REQUEST MODAL (ported from web.css; v3 tokens applied)
   ============================================================ */
.demo-overlay {
  position: fixed; inset: 0;
  background: rgba(10,5,30,0.7);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.demo-overlay.is-open { opacity: 1; pointer-events: auto; }

.demo-modal {
  position: relative;
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 580px; max-height: 90vh;
  overflow-y: auto; padding: 48px 48px 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  transform: translateY(16px); transition: transform 0.25s ease;
}
.demo-overlay.is-open .demo-modal { transform: translateY(0); }

.demo-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border: none; background: transparent;
  color: #64748b; cursor: pointer; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.demo-close:hover { background: #f1f5f9; color: #0f172a; }

.demo-title {
  font-size: 26px; font-weight: 800; color: #0f172a;
  line-height: 1.25; margin-bottom: 32px; text-align: center;
}

.demo-form { display: flex; flex-direction: column; gap: 20px; }
.demo-form.is-hidden { display: none; }
.demo-field { display: flex; flex-direction: column; gap: 6px; }
.demo-label { font-size: 15px; font-weight: 500; color: #374151; }
.demo-required { color: #ef4444; margin-left: 2px; }

.demo-input, .demo-select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #cbd5e1; border-radius: 8px;
  font-size: 15px; font-family: inherit; color: #0f172a;
  background: #fff; outline: none; appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.demo-input::placeholder { color: #94a3b8; }
.demo-input:focus, .demo-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent);
}
.demo-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 38px; cursor: pointer;
}

.demo-email-warning {
  font-size: 13px; color: #b45309;
  background: #fef9c3; border: 1px solid #fde68a;
  border-radius: 6px; padding: 6px 10px;
}
.demo-field-error { font-size: 13px; color: #ef4444; }
.demo-server-error {
  font-size: 14px; color: #ef4444;
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 8px; padding: 10px 14px;
}

.demo-submit {
  width: 100%; padding: 14px;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 700; font-family: inherit;
  border: none; border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.2s; margin-top: 4px;
}
.demo-submit:hover:not(:disabled) { background: var(--purple-press); }
.demo-submit:disabled { opacity: 0.7; cursor: default; }

.demo-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; animation: demoSpin 0.7s linear infinite;
}
@keyframes demoSpin { to { transform: rotate(360deg); } }

.demo-footer-text {
  margin-top: 24px; display: flex; flex-direction: column; gap: 8px;
  text-align: center; font-size: 13px; color: #64748b; line-height: 1.5;
}
.demo-footer-text a { color: var(--accent); text-decoration: underline; }
.demo-footer-email { color: #94a3b8; }
.demo-footer-email a { color: #64748b; }

.demo-success {
  display: none; flex-direction: column;
  align-items: center; gap: 12px; padding: 20px 0 10px; text-align: center;
}
.demo-success.is-visible { display: flex; }
.demo-success-title { font-size: 22px; font-weight: 700; color: #0f172a; }
.demo-success-body { font-size: 15px; color: #475569; line-height: 1.5; }
.demo-success-close {
  margin-top: 12px; padding: 10px 28px;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600; font-family: inherit;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background 0.2s;
}
.demo-success-close:hover { background: var(--purple-press); }

.demo-modal--calendly { max-width: 700px; padding: 48px 24px 24px; }
.demo-calendly { width: 100%; }
#demoCalendlyWidget { min-width: 280px; height: 660px; }

@media (max-width: 600px) {
  .demo-modal { padding: 36px 24px 28px; border-radius: 16px; }
  .demo-title { font-size: 20px; margin-bottom: 24px; }
  #demoCalendlyWidget { height: 580px; }
}
