/* ── WhifCal homepage ─────────────────────────────────────────────── */
:root {
  --accent: #7c5cff;
  --accent-deep: #5a46bd;
  --accent-ink: #2b2070;
  --accent-soft: rgba(124, 92, 255, 0.10);
  --accent-line: rgba(124, 92, 255, 0.22);
  --ink: #1d1d2c;
  --muted: #54546a;
  --dim: #8a8a9c;
  --line: #e9e7f3;
  --bg: #ffffff;
  --tint: #f6f5fb;
  --hero-tint: 1;
  --radius: 18px;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(124, 92, 255, 0.25); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ── Type ─────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.section-head h2 { font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; max-width: 560px; text-wrap: pretty; }

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(124, 92, 255, 0.10);
}
.nav-inner { display: flex; align-items: center; gap: 36px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 30px; width: auto; display: block; }
.foot-mark { width: 34px; height: 34px; border-radius: 8px; display: block; }
.nav-toggle { display: none; }
.logo-dots { display: grid; grid-template-columns: repeat(3, 7px); grid-auto-rows: 7px; gap: 3px; }
.logo-dots span { border-radius: 50%; background: var(--accent); }
.logo-dots span.lite { background: #cfc4ff; }
.logo-name { font-family: var(--font-mono); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta-group { display: flex; align-items: center; gap: 12px; }
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; transition: color 0.15s; }
.nav-dd:hover .nav-dd-trigger, .nav-dd:focus-within .nav-dd-trigger { color: var(--ink); }
.dd-caret { width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.18s; }
.nav-dd:hover .dd-caret, .nav-dd:focus-within .dd-caret { transform: translateY(1px) rotate(-135deg); }
.nav-dd-menu { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(-8px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 54px -26px rgba(70, 50, 150, 0.45); padding: 8px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.16s, transform 0.16s; z-index: 60; }
.nav-dd::after { content: ""; position: absolute; top: 100%; left: -16px; right: -16px; height: 20px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { font-size: 14px; font-weight: 500; color: var(--muted); padding: 9px 13px; border-radius: 9px; white-space: nowrap; transition: background 0.12s, color 0.12s; }
.nav-dd-menu a:hover { background: var(--accent-soft); color: var(--accent-deep); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  line-height: 1.2;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 28px -12px rgba(124, 92, 255, 0.65);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent-line); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-inverse { background: #fff; color: var(--accent-ink); }
.btn-inverse:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(10, 5, 40, 0.5); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 18% -10%, rgba(124, 92, 255, calc(0.20 * var(--hero-tint))), transparent 65%),
    radial-gradient(900px 520px at 85% -16%, rgba(124, 92, 255, calc(0.16 * var(--hero-tint))), transparent 62%),
    linear-gradient(180deg, rgba(238, 234, 252, calc(0.85 * var(--hero-tint))) 0%, rgba(247, 245, 252, calc(0.5 * var(--hero-tint))) 46%, #ffffff 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 92, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 70%);
}
.hero-inner { position: relative; padding: 84px 0 0; text-align: center; }
.hero h1 {
  font-size: 64px; line-height: 1.06; font-weight: 700; letter-spacing: -0.02em;
  max-width: 760px; margin: 26px auto 0;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  max-width: 600px; margin: 22px auto 0;
  color: var(--muted); font-size: 18px; text-wrap: pretty;
}
.hero-sub-accent {
  max-width: 560px; margin: 14px auto 0;
  color: var(--ink); font-size: 17px; font-weight: 500; text-wrap: pretty;
}
.hero-ctas { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--dim); }

/* floating role chips */
.role-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--accent-line);
  border-radius: 999px; padding: 7px 14px;
  box-shadow: 0 8px 24px -12px rgba(80, 60, 160, 0.35);
  backdrop-filter: blur(6px);
}
.role-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
.chip-1 { left: 6%; top: 38%; }
.chip-2 { right: 6%; top: 34%; }
.chip-3 { left: 11%; top: 62%; }
.chip-4 { right: 10%; top: 60%; }

/* ── Hero product frame ───────────────────────────────────────────── */
.hero-frame-holder { position: relative; margin-top: 64px; padding-bottom: 0; }
.hero-frame {
  position: relative;
  max-width: 980px; margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(124, 92, 255, 0.18);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 0 rgba(255,255,255,0.6) inset, 0 40px 90px -40px rgba(70, 50, 150, 0.45);
  overflow: hidden;
  text-align: left;
}
.frame-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  background: #fbfaff;
}
.frame-dots { display: flex; gap: 6px; }
.frame-dots span { width: 10px; height: 10px; border-radius: 50%; background: #e4e1f0; }
.frame-title { font-family: var(--font-mono); font-size: 12px; color: var(--dim); letter-spacing: 0.04em; }
.frame-bar .frame-people { margin-left: auto; display: flex; }
.avatar {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  margin-left: -7px;
}
.avatar:first-child { margin-left: 0; }
.av-a { background: #7c5cff; } .av-b { background: #b39ddb; } .av-c { background: #4a3a99; }

.frame-body { display: grid; grid-template-columns: 52px 1fr 218px; min-height: 360px; }
.frame-rail {
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 0; background: #fbfaff;
}
.rail-dot { width: 28px; height: 28px; border-radius: 8px; background: #efedf8; }
.rail-dot.on { background: var(--accent-soft); outline: 1px solid var(--accent-line); }

.frame-canvas {
  position: relative;
  background-image: radial-gradient(rgba(124, 92, 255, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
}
.map-node {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 10px 26px -16px rgba(70, 50, 150, 0.35);
  min-width: 140px;
}
.map-node .nlabel { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.map-node .ntitle { font-size: 13px; font-weight: 600; margin-top: 2px; }
.map-node .nvalue { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-deep); margin-top: 3px; }
.map-node.decision { border-color: var(--accent-line); background: linear-gradient(180deg, #ffffff, #f6f3ff); }
.map-node.decision .nlabel { color: var(--accent); }
.map-node.outcome { border-color: rgba(45, 160, 120, 0.35); }
.map-node.outcome .nvalue { color: #1e8a66; }
.map-wires { position: absolute; inset: 0; width: 100%; height: 100%; }

.frame-side {
  border-left: 1px solid var(--line);
  background: #fbfaff;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.side-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.trace-row {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; font-size: 12px; color: var(--muted);
}
.trace-row b { color: var(--ink); font-weight: 600; }
.trace-row::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); opacity: 0.55; flex: none; }
.trace-arrow { text-align: center; color: var(--accent-line); font-size: 11px; line-height: 0.6; }

/* ── Sections ─────────────────────────────────────────────────────── */
section.band { padding: 104px 0; }
section.band.tinted { background: var(--tint); }
/* collapse doubled spacing between adjacent same-background sections */
section.band.tinted + section.band.tinted { padding-top: 0; }
section.band:not(.tinted):not(.playfield):not(.scaling) + section.band:not(.tinted):not(.playfield):not(.scaling) { padding-top: 0; }

/* bento — hero products */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bento-card {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(124, 92, 255, 0.16);
  background: linear-gradient(160deg, #f3f0fc 0%, #fbfaff 55%, #f6f3fd 100%);
  padding: 40px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
}
.bento-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.bento-card > p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 46ch; text-wrap: pretty; }
.bento-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: #fff; border: 1px solid var(--accent-line);
  padding: 5px 11px; border-radius: 999px;
}
.bento-visual { margin-top: 22px; }
.card-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.card-points li {
  position: relative; padding-left: 24px; max-width: 46ch;
  font-size: 14.5px; color: var(--muted); line-height: 1.5; text-wrap: pretty;
}
.card-points li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
}

/* mini decision map inside bento */
.mini-map {
  position: relative; height: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  background-image: radial-gradient(rgba(124, 92, 255, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  box-shadow: 0 18px 40px -28px rgba(70, 50, 150, 0.4);
  overflow: hidden;
}
.mini-node {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 7px 11px;
  box-shadow: 0 8px 20px -14px rgba(70, 50, 150, 0.35);
  font-size: 11.5px; font-weight: 600;
}
.mini-node small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10px; color: var(--accent-deep); margin-top: 1px; }
.mini-node.hl { border-color: var(--accent-line); background: linear-gradient(180deg, #fff, #f5f1ff); }

/* scenario compare inside bento */
.scenario-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scn {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px; box-shadow: 0 18px 40px -28px rgba(70, 50, 150, 0.4);
}
.scn.win { border-color: var(--accent-line); }
.scn-name { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.scn-name .pick {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 8px;
}
.scn-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.scn-row { font-size: 11px; color: var(--muted); }
.scn-row .lbl { display: flex; justify-content: space-between; margin-bottom: 4px; }
.scn-row .lbl b { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.scn-bar { height: 7px; border-radius: 4px; background: #efedf8; overflow: hidden; }
.scn-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), #a48dff); }
.scn.dim .scn-bar i { background: #cfc8ec; }
.playground {
  margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 16px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 14px 30px -24px rgba(70, 50, 150, 0.4);
}
.playground .pg-label { font-size: 12px; font-weight: 600; white-space: nowrap; }
.pg-track { position: relative; flex: 1; height: 6px; border-radius: 3px; background: #efedf8; }
.pg-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; border-radius: 3px; background: var(--accent); }
.pg-track .knob {
  position: absolute; left: 62%; top: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(70, 50, 150, 0.3);
}
.playground .pg-value { font-family: var(--font-mono); font-size: 12px; color: var(--accent-deep); white-space: nowrap; }

/* ── Document types ───────────────────────────────────────────────── */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.doc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.doc-card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 22px 44px -28px rgba(70, 50, 150, 0.35); }
.doc-glyph {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.doc-glyph svg { display: block; }
.doc-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.doc-card p { margin: 0; font-size: 13.5px; color: var(--muted); text-wrap: pretty; }

/* ── Platform features ────────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 34px; display: flex; flex-direction: column; gap: 10px;
}
.feat-card h3 { font-size: 19px; font-weight: 700; }
.feat-card > p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 52ch; text-wrap: pretty; }
.feat-visual { margin-top: 18px; }

/* query builder mock */
.qb {
  background: #fbfaff; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.qb-input {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--accent-line); border-radius: 10px;
  padding: 10px 14px; font-size: 13px; color: var(--ink);
}
.qb-input .caret { width: 2px; height: 15px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.qb-out {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--muted);
}
.qb-doc {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-soft); color: var(--accent-deep);
  border: 1px solid var(--accent-line); border-radius: 8px;
  padding: 6px 11px; font-size: 12px; font-weight: 600;
}

/* global values mock */
.gv { display: flex; align-items: center; gap: 0; }
.gv-pill {
  flex: none;
  background: var(--accent); color: #fff; border-radius: 12px;
  padding: 10px 16px; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 12px 26px -14px rgba(124, 92, 255, 0.7);
}
.gv-pill small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10px; opacity: 0.8; }
.gv-lines { flex: none; width: 56px; height: 84px; }
.gv-docs { display: flex; flex-direction: column; gap: 8px; }
.gv-doc {
  background: #fbfaff; border: 1px solid var(--line); border-radius: 9px;
  padding: 6px 12px; font-size: 12px; color: var(--muted); white-space: nowrap;
}
.gv-doc b { color: var(--ink); font-weight: 600; }

/* collaboration mock */
.collab {
  background: #fbfaff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
}
.collab .node-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 13px; font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; gap: 9px;
}
.lock {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft); border-radius: 6px; padding: 2px 7px;
}
.collab .who { margin-left: auto; display: flex; align-items: center; }

/* filters mock */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.f-chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 13px; font-size: 12.5px; color: var(--muted); font-weight: 500;
}
.f-chip .sw { width: 9px; height: 9px; border-radius: 3px; }
.f-chip.on { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-deep); }

.also-row { margin-top: 40px; text-align: center; }
.also-row .also-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); display: block; margin-bottom: 14px; }
.also-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.also-chips span {
  font-size: 13px; color: var(--muted); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px;
}

/* ── Purple band — how it answers ─────────────────────────────────── */
.answers {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(155deg, #6a4ce6 0%, var(--accent-deep) 55%, #4c3aa6 100%);
  color: #fff;
  border-radius: 28px;
  padding: 72px 64px;
}
.answers::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(120deg, transparent 45%, rgba(0,0,0,0.9));
  -webkit-mask-image: linear-gradient(120deg, transparent 45%, rgba(0,0,0,0.9));
}
.answers-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.answers .eyebrow { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.1); }
.answers .eyebrow::before { background: #fff; }
.answers h2 { font-size: 38px; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; margin-top: 20px; }
.answers p.lede { color: rgba(255, 255, 255, 0.88); font-size: 16.5px; margin: 18px 0 0; max-width: 50ch; text-wrap: pretty; }
.answers p.lede-note { color: rgba(255, 255, 255, 0.66); font-size: 14px; line-height: 1.6; margin: 14px 0 0; max-width: 50ch; text-wrap: pretty; }
.answer-paths { display: flex; flex-direction: column; gap: 16px; }
.path-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px; padding: 22px 24px;
  backdrop-filter: blur(4px);
}
.path-card h3 { font-size: 16.5px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.path-card h3 .ptag {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 3px 9px; font-weight: 500;
}
.path-card p { margin: 8px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); text-wrap: pretty; }
.promise {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  padding-left: 16px; margin-top: 26px;
}

/* ── Pricing ──────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, #f7f4ff 0%, #ffffff 38%);
  box-shadow: 0 26px 56px -32px rgba(70, 50, 150, 0.45);
}
.tier-flag {
  position: absolute; top: -12px; left: 26px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 11px;
}
.tier-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.tier-seats { font-size: 12.5px; color: var(--dim); margin-top: 3px; }
.tier-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft);
  border-radius: 6px; padding: 3px 8px; margin-top: 18px;
}
.tier-tag + .tier-price { margin-top: 8px; }
.tier-price { margin-top: 18px; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.tier-price .amount { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.tier-price .per { font-size: 12.5px; color: var(--dim); }
.tier-full { font-size: 12px; color: var(--dim); margin-top: 4px; }
.tier-full s { color: var(--dim); }
.tier-list { list-style: none; margin: 20px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tier-list li { font-size: 13px; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.tier-list li::before {
  content: ""; flex: none; width: 13px; height: 13px; margin-top: 3px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box;
  border: 1.5px solid var(--accent);
  position: relative;
}
.tier-list li.hero-feat { color: var(--accent-deep); font-weight: 600; }
.price-card .btn { margin-top: auto; }
.tier-note { font-size: 11.5px; color: var(--dim); margin-top: 12px; line-height: 1.5; }

.lite-strip {
  margin-top: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
  padding: 26px 30px;
  display: flex; align-items: center; gap: 24px;
}
.lite-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  display: grid; place-items: center;
}
.lite-icon .logo-dots span { background: #fff; }
.lite-icon .logo-dots span.lite { background: rgba(255, 255, 255, 0.45); }
.lite-copy { flex: 1; }
.lite-copy h3 { font-size: 16.5px; font-weight: 700; }
.lite-copy p { margin: 5px 0 0; font-size: 13.5px; color: var(--muted); max-width: 78ch; text-wrap: pretty; }
.lite-price { flex: none; text-align: right; }
.lite-price .amount { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.lite-price .per { display: block; font-size: 11.5px; color: var(--dim); }

/* ── Final CTA + footer ───────────────────────────────────────────── */
.final {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(700px 360px at 50% 120%, rgba(124, 92, 255, calc(0.22 * var(--hero-tint))), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f3f0fc 100%);
  padding: 110px 0 120px;
}
.final h2 { font-size: 46px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; max-width: 640px; margin: 22px auto 0; }
.final p { color: var(--muted); font-size: 17px; max-width: 520px; margin: 18px auto 0; text-wrap: pretty; }
.final .hero-ctas { margin-top: 36px; }

footer.site {
  background: #16112e;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 40px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .logo-name { color: #fff; }
.foot-brand .logo-dots span { background: #9d85ff; }
.foot-brand .logo-dots span.lite { background: rgba(157, 133, 255, 0.4); }
.foot-tagline { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-top: 16px; }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin: 0 0 16px; font-weight: 500; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: rgba(255, 255, 255, 0.78); transition: color 0.15s; }
.foot-col a:hover { color: #fff; }
.foot-base {
  margin-top: 52px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.4);
}

/* ── Hero support line ────────────────────────────────────────────── */
.hero-support { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-support strong { color: var(--accent-deep); font-weight: 600; }

/* ── Activation moment ────────────────────────────────────────────── */
.activation .section-head { max-width: 760px; margin-bottom: 50px; }
.activation .section-head p { max-width: 700px; }
.act-frame { width: 100%; overflow: hidden; }
.act-stage {
  position: relative;
  width: 940px;
  height: 420px;
  margin: 0 auto;
  transform-origin: top center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  background-image: radial-gradient(rgba(124, 92, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: 0 44px 100px -54px rgba(70, 50, 150, 0.5);
  overflow: hidden;
}
.act-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.act-wire {
  fill: none; stroke: rgba(124, 92, 255, 0.4); stroke-width: 1.6;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}

.act-csv {
  position: absolute; left: 36px; top: 122px; width: 156px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 14px 32px -20px rgba(70, 50, 150, 0.4);
}
.act-csv .csv-name {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent-deep);
  display: flex; align-items: center; gap: 7px;
}
.act-csv .csv-name::before { content: ""; width: 8px; height: 10px; border-radius: 2px; border: 1.5px solid var(--accent); flex: none; }
.act-csv .csv-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.act-csv .csv-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: var(--muted);
  padding: 5px 9px; background: var(--tint); border-radius: 7px;
}
.act-csv .csv-row i { font-style: normal; }
.act-csv .csv-row b { font-family: var(--font-mono); font-weight: 600; color: var(--ink); font-size: 11px; }

.act-node {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 13px; min-width: 132px;
  box-shadow: 0 14px 30px -20px rgba(70, 50, 150, 0.4);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.act-node .nlabel { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); display: block; }
.act-node .ntitle { font-size: 13px; font-weight: 600; display: block; margin-top: 2px; }
.act-node .nv { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-deep); display: block; margin-top: 3px; transition: color 0.4s ease; }
.act-node.act-total { border-color: var(--accent-line); background: linear-gradient(180deg, #fff, #f7f4ff); }
.act-node.outcome { border-color: rgba(45, 160, 120, 0.4); }
.act-node.outcome .nv { color: #1e8a66; }
.act-node.pulse { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 16px 34px -18px rgba(70, 50, 150, 0.5); }

.leaf-n { left: 300px; top: 78px; }
.leaf-s { left: 300px; top: 184px; }
.leaf-w { left: 300px; top: 290px; }
.act-total { left: 540px; top: 182px; }
.act-margin { left: 752px; top: 182px; }

.act-caption {
  text-align: center; margin: 24px auto 0; font-size: 13px; color: var(--dim);
  font-family: var(--font-mono); letter-spacing: 0.02em;
}

/* animated states — applied only when JS enables motion */
.act-stage.anim .act-node {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.act-stage.anim .leaf-n { transform: translate(-230px, 96px) scale(0.7); }
.act-stage.anim .leaf-s { transform: translate(-230px, 0) scale(0.7); }
.act-stage.anim .leaf-w { transform: translate(-230px, -96px) scale(0.7); }
.act-stage.anim .act-total { transform: translate(-150px, 0) scale(0.8); }
.act-stage.anim .act-margin { transform: translate(-120px, 0) scale(0.85); }
.act-stage.anim .act-wire { stroke-dashoffset: 1; transition: stroke-dashoffset 0.8s ease; }

.act-stage.anim.is-built .act-node { opacity: 1; transform: none; }
.act-stage.anim.is-built .leaf-n { transition-delay: 0s; }
.act-stage.anim.is-built .leaf-s { transition-delay: 0.12s; }
.act-stage.anim.is-built .leaf-w { transition-delay: 0.24s; }
.act-stage.anim.is-built .act-total { transition-delay: 0.5s; }
.act-stage.anim.is-built .act-margin { transition-delay: 0.75s; }
.act-stage.anim.is-built .act-wire { stroke-dashoffset: 0; }
.act-stage.anim.is-built .wire-lt { transition-delay: 0.45s; }
.act-stage.anim.is-built .wire-tm { transition-delay: 0.85s; }

/* ── Scaling line ─────────────────────────────────────────────────── */
.band.scaling { padding: 100px 0 84px; }
.scaling .wrap { max-width: 900px; text-align: center; }
.scaling-lead {
  font-family: var(--font-display); font-size: 30px; line-height: 1.2;
  font-weight: 700; letter-spacing: -0.015em; margin: 0; text-wrap: balance;
}
.scaling-lead em { font-style: normal; color: var(--accent); }
.scaling-support { margin: 18px auto 0; max-width: 640px; color: var(--muted); font-size: 16px; text-wrap: pretty; }

/* ── Everyday tools closing line ──────────────────────────────────── */
.doc-closing {
  margin: 40px auto 0; max-width: 720px; text-align: center;
  font-size: 16px; color: var(--muted); text-wrap: pretty;
}

/* ── Price lock + tier descriptors ────────────────────────────────── */
.price-lock {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 16px auto 0; max-width: 600px;
  font-size: 13.5px; color: var(--muted); line-height: 1.5; text-wrap: pretty;
}
.lock-badge {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft);
  border: 1px solid var(--accent-line); border-radius: 999px; padding: 5px 12px;
  white-space: nowrap;
}
.tier-desc { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.45; min-height: 54px; text-wrap: pretty; }
.tier-excl { font-size: 11.5px; color: var(--dim); font-style: italic; margin: 0 0 22px; }
.tier-flag.planned { background: #ece9f6; color: var(--accent-deep); }

/* ── Traceability (platform 5th card) ─────────────────────────────── */
.feat-card.feat-wide { grid-column: 1 / -1; }
.feat-wide .feat-visual { margin-top: 14px; }
.trace-strip { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.trace-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fbfaff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 15px; font-size: 12.5px; color: var(--muted); font-weight: 500;
}
.trace-pill b { font-family: var(--font-mono); font-weight: 600; color: var(--accent-deep); font-size: 12px; }
.trace-pill:first-child b { color: #1e8a66; }
.trace-link { width: 36px; height: 1.5px; background: var(--accent-line); flex: none; }

.also-note {
  margin: 40px auto 0; max-width: 720px; text-align: center;
  font-size: 14px; color: var(--dim); text-wrap: pretty;
}

/* ── WhifCal Lite section ─────────────────────────────────────────── */
.lite-feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.lite-feature-copy h2 { font-size: 38px; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; margin: 18px 0 0; }
.lite-feature-copy h2 em { font-style: normal; color: var(--accent); }
.lite-feature-copy > p { color: var(--muted); font-size: 16px; margin: 18px 0 0; max-width: 54ch; text-wrap: pretty; }
.lite-cta-row { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.lite-price-inline { font-size: 13.5px; color: var(--muted); }
.lite-price-inline b { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); margin-right: 4px; }
.lite-feature-visual { display: flex; justify-content: center; }
.lite-phone {
  width: 248px; border-radius: 40px; padding: 12px;
  background: linear-gradient(165deg, #2a2350, #16112e);
  box-shadow: 0 40px 90px -44px rgba(40, 25, 90, 0.7);
}
.lite-phone-screen {
  background: #fff; border-radius: 28px; overflow: hidden;
  height: 420px; display: flex; flex-direction: column;
}
.lp-bar { display: flex; align-items: center; gap: 9px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.lp-dots { display: grid; grid-template-columns: repeat(3, 6px); grid-auto-rows: 6px; gap: 2.5px; }
.lp-dots span { border-radius: 50%; background: var(--accent); }
.lp-dots span.lite { background: #cfc4ff; }
.lp-name { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; }
.lp-doc { padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.lp-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
  background: var(--tint); border-radius: 9px; padding: 11px 13px;
}
.lp-row i { font-style: normal; }
.lp-row b { font-family: var(--font-mono); font-weight: 600; color: var(--ink); font-size: 12.5px; }
.lp-row.total { background: var(--accent-soft); border: 1px solid var(--accent-line); }
.lp-row.total b { color: var(--accent-deep); }

/* ── Final descriptor ─────────────────────────────────────────────── */
.final-descriptor {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em;
  color: var(--accent-deep); margin: 18px auto 0;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero h1 { font-size: 48px; }
  .role-chip { display: none; }
  .bento, .feat-grid { grid-template-columns: 1fr; }
  .doc-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .answers-inner { grid-template-columns: 1fr; gap: 36px; }
  .lite-feature { grid-template-columns: 1fr; gap: 36px; }
  .lite-feature-visual { order: -1; }
  .frame-body { grid-template-columns: 52px 1fr; }
  .frame-side { display: none; }
  .scaling-lead { font-size: 27px; }
}
@media (max-width: 680px) {
  .section-head h2 { font-size: 32px; }
  .hero h1 { font-size: 38px; }
  .doc-grid, .price-grid { grid-template-columns: 1fr; }
  .answers { padding: 48px 28px; }
  .lite-strip { flex-direction: column; align-items: flex-start; }
  .lite-price { text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .scaling-lead { font-size: 24px; }
}

/* ── Hero frame caption ───────────────────────────────────────────── */
.frame-caption {
  text-align: center; margin: 20px auto 0; max-width: 520px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.01em;
  color: var(--dim);
}

/* ── 2. Beat — questions never asked ──────────────────────────────── */
.beat {
  padding: 116px 0; text-align: center;
  background:
    radial-gradient(680px 320px at 50% 0%, rgba(124, 92, 255, calc(0.07 * var(--hero-tint))), transparent 70%),
    var(--tint);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.beat-inner { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.beat-rule { width: 46px; height: 2px; border-radius: 2px; background: var(--accent); }
.beat h2 {
  font-family: var(--font-display); font-size: 52px; line-height: 1.1;
  font-weight: 700; letter-spacing: -0.025em; text-wrap: balance;
}
.beat h2 em { font-style: normal; color: var(--accent); }
.beat p { margin: 0; max-width: 640px; color: var(--muted); font-size: 20px; line-height: 1.6; text-wrap: pretty; }

/* ── 4. Turn a copy — fork visual ─────────────────────────────────── */
.fork {
  display: grid; grid-template-columns: 260px 120px 1fr; align-items: center;
  gap: 0; max-width: 900px; margin: 0 auto;
}
.fork-source { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.fork-tag, .fd-verdict {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
}
.fork-tag { color: var(--accent); background: #fff; border: 1px solid var(--accent-line); border-radius: 999px; padding: 5px 11px; }
.fork-doc {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; box-shadow: 0 18px 40px -28px rgba(70, 50, 150, 0.4);
}
.fork-doc.source { width: 100%; border-color: var(--accent-line); background: linear-gradient(180deg, #fff, #f7f4ff); }
.fd-name { font-size: 14px; font-weight: 700; display: block; }
.fd-line i { font-style: normal; font-size: 12px; color: var(--dim); }
.fd-line { display: block; margin-top: 4px; }
.fork-wires { width: 120px; height: 320px; }
.fork-copies { display: flex; flex-direction: column; gap: 14px; }
.fork-doc.copy { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.fork-doc.copy .fd-name { font-size: 13px; font-weight: 600; }
.fork-doc.ghost { opacity: 0.62; }
.fd-verdict { color: var(--dim); flex: none; }
.fd-verdict.good {
  color: #1e8a66; background: rgba(45, 160, 120, 0.1);
  border: 1px solid rgba(45, 160, 120, 0.3); border-radius: 999px; padding: 4px 10px;
}
.fork-doc.held { border-color: rgba(45, 160, 120, 0.4); box-shadow: 0 0 0 3px rgba(45, 160, 120, 0.08), 0 18px 40px -28px rgba(70, 50, 150, 0.4); }

.turn-detail {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch;
  max-width: 900px; margin: 44px auto 0;
}
.scenario-duo.wide { align-content: start; }
.curve-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 18px 40px -28px rgba(70, 50, 150, 0.4);
}
.curve-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.curve-svg { width: 100%; height: 110px; display: block; }
.curve-area { fill: var(--accent-soft); }
.curve-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.curve-dip { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.curve-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; text-wrap: pretty; }

/* ── 5. Four seats around one document ────────────────────────────── */
.seats-grid {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  grid-template-rows: auto auto;
  gap: 20px 28px; align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.seat {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 26px; box-shadow: 0 18px 44px -30px rgba(70, 50, 150, 0.32);
}
.seat-role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.seat-quote { margin: 0; font-family: var(--font-display); font-size: 18px; line-height: 1.35; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.seat-tl { grid-column: 1; grid-row: 1; }
.seat-tr { grid-column: 3; grid-row: 1; }
.seat-bl { grid-column: 1; grid-row: 2; }
.seat-br { grid-column: 3; grid-row: 2; }
.seat-core { grid-column: 2; grid-row: 1 / 3; align-self: stretch; display: flex; }
.core-doc {
  flex: 1;
  background: linear-gradient(160deg, #f3f0fc, #fbfaff 60%, #f6f3fd);
  border: 1px solid var(--accent-line); border-radius: 22px;
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 30px 64px -34px rgba(70, 50, 150, 0.5);
}
.core-title, .core-foot { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.core-foot { color: var(--accent-deep); text-align: center; }
.core-map { position: relative; flex: 1; min-height: 200px; }
.core-node {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 9px; padding: 7px 10px; font-size: 11.5px; font-weight: 600;
  box-shadow: 0 8px 20px -14px rgba(70, 50, 150, 0.35); white-space: nowrap;
}
.core-node.cn-1 { left: 0; top: 24px; }
.core-node.cn-2 { left: 4px; top: 130px; }
.core-node.cn-hub { left: 50%; top: 84px; transform: translateX(-50%); border-color: var(--accent-line); background: linear-gradient(180deg, #fff, #f5f1ff); color: var(--accent-deep); }
.core-node.cn-3 { right: 0; top: 20px; }
.core-node.cn-4 { right: 8px; top: 136px; }

.seats-closing {
  max-width: 700px; margin: 46px auto 0; text-align: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 1.4;
  color: var(--ink); text-wrap: balance;
}

/* ── 6. Who it's for ──────────────────────────────────────────────── */
.who .section-head { margin-bottom: 46px; }
.who-group + .who-group { margin-top: 36px; }
.who-label {
  display: block; text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 18px;
}
.who-cards { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.who-cards.three { grid-template-columns: repeat(3, 1fr); max-width: 640px; }
.who-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 18px; display: flex; flex-direction: column; gap: 9px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.who-card::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
}
.who-card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 22px 44px -28px rgba(70, 50, 150, 0.35); }
.wc-role { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.wc-note { font-size: 12.5px; color: var(--muted); line-height: 1.45; text-wrap: pretty; }
.who-cards.three .who-card { background: linear-gradient(160deg, #f7f5fd, #fbfaff); }

/* scenario subhead in bento */
.scn-subhead { font-family: var(--font-display); font-weight: 500; color: var(--ink) !important; font-size: 16px !important; }

/* ── 13. Home FAQ ─────────────────────────────────────────────────── */
.home-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.hf-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color 0.15s; }
.hf-item[open] { border-color: var(--accent-line); }
.hf-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink);
}
.hf-item summary::-webkit-details-marker { display: none; }
.hf-mark { position: relative; flex: none; width: 16px; height: 16px; }
.hf-mark::before, .hf-mark::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
  left: 50%; top: 50%; transition: transform 0.2s;
}
.hf-mark::before { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.hf-mark::after { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.hf-item[open] .hf-mark::before { transform: translate(-50%, -50%) scaleY(0); }
.hf-answer { padding: 0 24px 22px; }
.hf-answer p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 68ch; text-wrap: pretty; }
.hf-inline { color: var(--accent-deep); font-weight: 600; border-bottom: 1px solid var(--accent-line); }
.faq-more { text-align: center; margin: 30px 0 0; }
.faq-more a { font-family: var(--font-mono); font-size: 13px; color: var(--accent-deep); letter-spacing: 0.02em; }
.faq-more a:hover { color: var(--accent); }

/* ── Responsive — new sections ────────────────────────────────────── */
@media (max-width: 1020px) {
  .beat h2 { font-size: 38px; }
  .who-cards, .who-cards.three { grid-template-columns: repeat(3, 1fr); max-width: 640px; }
  .fork { grid-template-columns: 1fr; gap: 20px; max-width: 460px; }
  .fork-wires { display: none; }
  .turn-detail { grid-template-columns: 1fr; }
  .seats-grid { grid-template-columns: 1fr; }
  .seat-tl, .seat-tr, .seat-bl, .seat-br, .seat-core { grid-column: 1; }
  .seat-tl { grid-row: 2; } .seat-tr { grid-row: 3; }
  .seat-core { grid-row: 1; order: -1; }
  .seat-bl { grid-row: 4; } .seat-br { grid-row: 5; }
  .core-map { min-height: 210px; }
}
@media (max-width: 680px) {
  .beat { padding: 68px 0; }
  .beat h2 { font-size: 27px; }
  .beat p { font-size: 16.5px; }
  .who-cards, .who-cards.three { grid-template-columns: 1fr 1fr; }
  .hf-item summary { font-size: 15.5px; padding: 17px 18px; }
  .hf-answer { padding: 0 18px 18px; }
}


/* ── Responsive nav (hamburger) + mobile readability ─────────────── */
@media (max-width: 980px) {
  .nav-inner { gap: 16px; height: 62px; }
  .brand-logo { height: 26px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto; padding: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 11px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta-group { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(30, 20, 70, 0.35);
    padding: 6px 0; display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 15px 26px; font-size: 16px; color: var(--ink); }
  .nav-links a:hover { background: var(--accent-soft); color: var(--accent-deep); }
  .nav-dd { flex-direction: column; align-items: stretch; }
  .nav-dd-trigger { padding: 15px 26px; font-size: 16px; color: var(--ink); justify-content: space-between; }
  .nav-dd::after { display: none; }
  .dd-caret { display: none; }
  .nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; min-width: 0; background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 0 0 8px; }
  .nav-dd-menu a { padding: 11px 26px 11px 44px; font-size: 15px; color: var(--muted); }
  .menu-cta { margin: 10px 26px 12px; padding: 14px 24px !important; text-align: center; background: var(--accent); color: #fff !important; border-radius: 999px; font-weight: 600; }
  .menu-cta:hover { background: var(--accent-deep) !important; }
}
@media (min-width: 981px) { .menu-cta, .menu-login { display: none; } }

@media (max-width: 680px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-sub { font-size: 16px; }
  .section-head p { font-size: 16px; }
  .foot-col a { font-size: 15px; }
  .foot-base { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero-inner { padding: 54px 0 0; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15.5px; }
  .section-head h2 { font-size: 26px; }
  .section-head p { font-size: 15.5px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .btn { padding: 12px 20px; }
}

html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }
@media (max-width: 760px) {
  .hero-ctas { flex-wrap: wrap; }
  .hero-frame-holder { display: none; }
}


/* ═══ WC-DARK-AUTO-START (darkmode_gen.py) ═══ */
/* AUTO-GENERATED — darkmode_gen.py dobara chalao, haath se edit mat karo */
:root[data-theme="dark"] {
  color-scheme: dark;
  --accent: #8f75ff;
  --accent-deep: #b5a5ff;
  --accent-ink: #dcd4ff;
  --accent-soft: rgba(143, 117, 255, 0.16);
  --accent-line: rgba(143, 117, 255, 0.34);
  --ink: #ecebf7;
  --muted: #a8a7c3;
  --dim: #77768f;
  --line: #262438;
  --bg: #0a0a14;
  --tint: #11101d;
  --good: #34c393;
  --good-line: rgba(52, 195, 147, 0.4);
}
[data-theme="dark"] .eyebrow {
  background: rgba(21, 20, 31, 0.7);
}
[data-theme="dark"] .nav {
  background: rgba(21, 20, 31, 0.82);
}
[data-theme="dark"] .nav-dd-menu {
  background: #15141f;
}
[data-theme="dark"] .btn-ghost {
  background: #15141f;
}
[data-theme="dark"] .hero {
  background: radial-gradient(900px 480px at 18% -10%, rgba(124, 92, 255, calc(0.20 * var(--hero-tint))), transparent 65%),
    radial-gradient(900px 520px at 85% -16%, rgba(124, 92, 255, calc(0.16 * var(--hero-tint))), transparent 62%),
    linear-gradient(180deg, rgba(35, 34, 56, calc(0.85 * var(--hero-tint))) 0%, rgba(26, 25, 41, calc(0.5 * var(--hero-tint))) 46%, #15141f 100%);
}
[data-theme="dark"] .role-chip {
  background: rgba(21, 20, 31, 0.85);
}
[data-theme="dark"] .hero-frame {
  background: #15141f;
  box-shadow: 0 -2px 0 rgba(21, 20, 31, 0.6) inset, 0 40px 90px -40px rgba(70, 50, 150, 0.45);
}
[data-theme="dark"] .frame-bar {
  background: #1a1929;
}
[data-theme="dark"] .frame-dots span {
  background: #232238;
}
[data-theme="dark"] .avatar {
  border: 2px solid #15141f;
}
[data-theme="dark"] .frame-rail {
  background: #1a1929;
}
[data-theme="dark"] .rail-dot {
  background: #232238;
}
[data-theme="dark"] .map-node {
  background: #15141f;
}
[data-theme="dark"] .map-node.decision {
  background: linear-gradient(180deg, #15141f, #1a1929);
}
[data-theme="dark"] .frame-side {
  background: #1a1929;
}
[data-theme="dark"] .trace-row {
  background: #15141f;
}
[data-theme="dark"] .bento-card {
  background: linear-gradient(160deg, #1a1929 0%, #1a1929 55%, #1a1929 100%);
}
[data-theme="dark"] .bento-tag {
  background: #15141f;
}
[data-theme="dark"] .card-points li::before {
  background: #15141f;
}
[data-theme="dark"] .mini-map {
  background: #15141f;
}
[data-theme="dark"] .mini-node {
  background: #15141f;
}
[data-theme="dark"] .mini-node.hl {
  background: linear-gradient(180deg, #15141f, #1a1929);
}
[data-theme="dark"] .scn {
  background: #15141f;
}
[data-theme="dark"] .scn-bar {
  background: #232238;
}
[data-theme="dark"] .playground {
  background: #15141f;
}
[data-theme="dark"] .pg-track {
  background: #232238;
}
[data-theme="dark"] .pg-track .knob {
  background: #15141f;
}
[data-theme="dark"] .doc-card {
  background: #15141f;
}
[data-theme="dark"] .feat-card {
  background: #15141f;
}
[data-theme="dark"] .qb {
  background: #1a1929;
}
[data-theme="dark"] .qb-input {
  background: #15141f;
}
[data-theme="dark"] .gv-doc {
  background: #1a1929;
}
[data-theme="dark"] .collab {
  background: #1a1929;
}
[data-theme="dark"] .collab .node-chip {
  background: #15141f;
}
[data-theme="dark"] .f-chip {
  background: #15141f;
}
[data-theme="dark"] .also-chips span {
  background: #15141f;
}
[data-theme="dark"] .price-card {
  background: #15141f;
}
[data-theme="dark"] .price-card.featured {
  background: linear-gradient(180deg, #1a1929 0%, #15141f 38%);
}
[data-theme="dark"] .tier-list li::before {
  background: linear-gradient(#15141f, #15141f) padding-box;
}
[data-theme="dark"] .lite-strip {
  background: #15141f;
}
[data-theme="dark"] .lite-icon .logo-dots span {
  background: #15141f;
}
[data-theme="dark"] .lite-icon .logo-dots span.lite {
  background: rgba(21, 20, 31, 0.45);
}
[data-theme="dark"] .final {
  background: radial-gradient(700px 360px at 50% 120%, rgba(124, 92, 255, calc(0.22 * var(--hero-tint))), transparent 70%),
    linear-gradient(180deg, #15141f 0%, #1a1929 100%);
}
[data-theme="dark"] .foot-base {
  border-top: 1px solid rgba(21, 20, 31, 0.1);
}
[data-theme="dark"] .act-stage {
  background: #15141f;
}
[data-theme="dark"] .act-csv {
  background: #15141f;
}
[data-theme="dark"] .act-node {
  background: #15141f;
}
[data-theme="dark"] .act-node.act-total {
  background: linear-gradient(180deg, #15141f, #1a1929);
}
[data-theme="dark"] .tier-flag.planned {
  background: #232238;
}
[data-theme="dark"] .trace-pill {
  background: #1a1929;
}
[data-theme="dark"] .lite-phone-screen {
  background: #15141f;
}
[data-theme="dark"] .fork-tag {
  background: #15141f;
}
[data-theme="dark"] .fork-doc {
  background: #15141f;
}
[data-theme="dark"] .fork-doc.source {
  background: linear-gradient(180deg, #15141f, #1a1929);
}
[data-theme="dark"] .curve-card {
  background: #15141f;
}
[data-theme="dark"] .curve-dip {
  fill: #15141f;
}
[data-theme="dark"] .seat {
  background: #15141f;
}
[data-theme="dark"] .core-doc {
  background: linear-gradient(160deg, #1a1929, #1a1929 60%, #1a1929);
}
[data-theme="dark"] .core-node {
  background: #15141f;
}
[data-theme="dark"] .core-node.cn-hub {
  background: linear-gradient(180deg, #15141f, #1a1929);
}
[data-theme="dark"] .who-card {
  background: #15141f;
}
[data-theme="dark"] .who-card::before {
  background: #15141f;
}
[data-theme="dark"] .who-cards.three .who-card {
  background: linear-gradient(160deg, #1a1929, #1a1929);
}
[data-theme="dark"] .hf-item {
  background: #15141f;
}
@media (max-width: 980px) {
[data-theme="dark"] .nav-toggle {
  background: #15141f;
}
[data-theme="dark"] .nav-links {
  background: #15141f;
}
}
/* white CTA buttons on purple bands: white hi rehte hain, dark text ke saath */
[data-theme="dark"] .btn-inverse { background: #fff; color: #2b2070; }
[data-theme="dark"] .mid-cta .btn-ghost { background: #fff; color: #2b2070; }
/* purple bands: dark me thoda deep/rich purple (accent-deep var light ho jaata hai) */
[data-theme="dark"] .answers {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(155deg, #5a44c9 0%, #47379f 55%, #362a70 100%);
}
[data-theme="dark"] .mid-cta {
  background: linear-gradient(155deg, #5a44c9 0%, #47379f 55%, #362a70 100%);
}
/* green "outcome" text thoda bright warna dark pe dab jaata hai */
[data-theme="dark"] .map-node.outcome .nvalue,
[data-theme="dark"] .act-node.outcome .nv,
[data-theme="dark"] .fd-verdict.good,
[data-theme="dark"] .trace-pill:first-child b { color: var(--good, #34c393); }
/* scroll-hint bubble (footer partial) */
[data-theme="dark"] #scrollHint { background: rgba(21, 20, 31, 0.92); }
/* dark footer ko page ke saath blend karo */
[data-theme="dark"] footer.site { background: #0d0c1a; }
/* hero/page-head gradients ka last stop page ke --bg me blend ho (seam na dikhe) */
[data-theme="dark"] .hero {
  background:
    radial-gradient(900px 480px at 18% -10%, rgba(143, 117, 255, 0.14), transparent 65%),
    radial-gradient(900px 520px at 85% -16%, rgba(143, 117, 255, 0.10), transparent 62%),
    linear-gradient(180deg, #16152a 0%, #100f1e 46%, var(--bg) 100%);
}
[data-theme="dark"] .page-head {
  background:
    radial-gradient(820px 420px at 18% -20%, rgba(143, 117, 255, 0.16), transparent 64%),
    radial-gradient(820px 460px at 86% -24%, rgba(143, 117, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #16152a 0%, #100f1e 50%, var(--bg) 100%);
}
[data-theme="dark"] .final {
  background:
    radial-gradient(700px 360px at 50% 120%, rgba(143, 117, 255, 0.18), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #16152a 100%);
}
/* ═══ WC-DARK-AUTO-END ═══ */
