:root {
  --bg: #07080c;
  --bg2: #0c0e14;
  --text: #eef0f6;
  --muted: #8d93a8;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.028);
  --obs: #22d3ee;
  --cf: #8b6cff;
  --pos: #a3e635;
  --neg: #fb7185;
  --grad: linear-gradient(100deg, #a78bfa 0%, #22d3ee 55%, #a3e635 100%);
  --r: 18px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.tiny { font-size: 13px; }
.center { text-align: center; margin-inline: auto; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 600; }
h1 { font-size: clamp(44px, 7vw, 88px); letter-spacing: -0.045em; }
h1 em, h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
h2 { font-size: clamp(30px, 4.2vw, 52px); max-width: 860px; }
h3 { font-size: 19px; letter-spacing: -0.015em; }
p { margin: 0; }

/* backgrounds */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
  position: fixed; inset: -20% -10% auto; height: 90vh; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 25% 30%, rgba(139, 108, 255, 0.22), transparent 70%),
              radial-gradient(35% 45% at 75% 20%, rgba(34, 211, 238, 0.16), transparent 70%);
  filter: blur(20px);
}
.glass {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}

/* nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 8, 12, 0.62); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.02em; font-size: 17px; }
.links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 13px 22px; border-radius: 999px; border: 0; font: 600 15px/1 var(--sans); color: #07080c;
  background: var(--text); transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 40px -10px rgba(139, 108, 255, 0.6);
}
.btn:hover { transform: translateY(-1px); background: #fff; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: 0 0 0 1px var(--line2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.wide { width: 100%; }
.linkbtn { background: none; border: 0; color: var(--obs); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; padding: 88px 0 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.eyebrow.center { display: flex; justify-content: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 12px var(--pos); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: #c4c8d6; margin: 26px 0 34px; max-width: 540px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 34px 0 0; font-size: 14px; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--pos); margin-right: 7px; }
.hero-points b { color: var(--text); font-weight: 550; }
.hero-card { padding: 18px 18px 16px; position: relative; }
.hero-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(167, 139, 250, 0.55), transparent 35%, transparent 65%, rgba(34, 211, 238, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); padding: 3px; border-radius: 999px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; color: var(--muted); font: 500 12.5px/1 var(--sans); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.live { font: 500 11.5px/1 var(--mono); color: var(--muted); display: inline-flex; gap: 7px; align-items: center; text-transform: uppercase; letter-spacing: 0.06em; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--obs); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); } }
.card-title h3 { font-size: 17px; }
.card-title p { font-size: 13.5px; margin-top: 4px; min-height: 2.6em; }
.chart { position: relative; height: 260px; margin: 10px -4px 6px; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .empty { position: absolute; inset: 0; display: grid; place-items: center; border: 1px dashed var(--line2); border-radius: 12px; font-size: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.lg { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.lg-obs { background: var(--obs); }
.lg-cf { background: repeating-linear-gradient(90deg, var(--cf) 0 4px, transparent 4px 7px); }
.lg-band { background: rgba(139, 108, 255, 0.35); height: 9px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stat { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; min-width: 0; }
.stat .k { font: 500 10.5px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.stat .v { font-size: 20px; font-weight: 620; letter-spacing: -0.02em; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .s { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos { color: var(--pos); } .neg { color: var(--neg); } .unclear { color: #fbbf24; }
.ref { font-size: 12.5px; margin-top: 12px; }
.tip { position: absolute; pointer-events: none; background: rgba(12, 14, 20, 0.95); border: 1px solid var(--line2); border-radius: 10px;
  padding: 8px 10px; font: 12px/1.45 var(--mono); white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity 0.12s; z-index: 3; }

/* strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 24px; }
.kpi { padding: 34px 28px; display: flex; gap: 18px; align-items: center; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi-n { font-size: 46px; font-weight: 620; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.kpi-l { font-size: 14px; line-height: 1.45; }

/* sections */
.section { padding: 120px 0 0; }
.sub { color: #b4b9c9; max-width: 680px; margin-top: 18px; font-size: 17px; }
.section > h2 + .grid3, .section > h2 + .steps, .section > h2 + .grid4 { margin-top: 56px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { padding: 26px; }
.tile p, .step p, .note p { color: #aeb3c4; margin-top: 10px; font-size: 15px; }
.ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(139, 108, 255, 0.25), rgba(34, 211, 238, 0.12)); border: 1px solid var(--line2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 28px; position: relative; overflow: hidden; }
.num { font: 500 13px/1 var(--mono); color: var(--cf); display: block; margin-bottom: 22px; }
.engine { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-top: 16px; padding: 34px; overflow: hidden; align-items: center; }
.engine h3 { font-size: clamp(22px, 2.4vw, 30px); max-width: 520px; }
.engine-copy > p { color: #aeb3c4; margin-top: 14px; }
#worlds { width: 100%; height: 300px; display: block; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 14.5px; color: #c4c8d6; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, var(--pos) 0 3px, transparent 4px), rgba(163, 230, 53, 0.12); }

/* proof */
.table-wrap { margin-top: 48px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
th, td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
th { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tr.hl td { background: linear-gradient(90deg, rgba(139, 108, 255, 0.12), rgba(34, 211, 238, 0.04)); }
tr.hl td:first-child { box-shadow: inset 3px 0 0 var(--cf); }
.proof-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.note { padding: 26px; }

/* playground */
.pg { display: grid; grid-template-columns: 330px 1fr; gap: 0; margin-top: 48px; overflow: hidden; }
.pg-controls { padding: 24px; border-right: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.pg-out { padding: 24px; min-width: 0; }
.pg-out .chart { height: 340px; }
.drop { display: grid; gap: 6px; text-align: center; padding: 22px 14px; border: 1px dashed var(--line2); border-radius: 14px; cursor: pointer; transition: 0.2s; font-size: 14px; }
.drop:hover, .drop.over { border-color: var(--obs); background: rgba(34, 211, 238, 0.05); }
.drop input { display: none; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 13px; color: var(--muted); }
select, input, textarea {
  width: 100%; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line2); color: var(--text);
  border-radius: 11px; padding: 11px 12px; font: 15px/1.3 var(--sans); outline: none; transition: border-color 0.15s;
}
select:focus, input:focus, textarea:focus { border-color: var(--cf); }
select:disabled { opacity: 0.5; }
select option { background: #11131a; }
.covlist { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; max-height: 128px; overflow: auto; }
.chip { border: 1px solid var(--line2); border-radius: 999px; padding: 5px 10px; font-size: 12.5px; cursor: pointer; user-select: none; color: var(--muted); background: none; font-family: var(--sans); }
.chip.on { color: var(--text); border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.08); }

/* pricing */
.pricing { margin-top: 56px; align-items: stretch; }
.plan { padding: 30px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.plan .ticks { margin-bottom: 26px; flex: 1; }
.plan .btn { margin-top: auto; }
.price { font-size: 34px; font-weight: 620; letter-spacing: -0.03em; margin: 12px 0 2px; }
.price span { font-size: 15px; font-weight: 400; }
.featured { border-color: rgba(139, 108, 255, 0.45); background: linear-gradient(180deg, rgba(139, 108, 255, 0.1), rgba(255, 255, 255, 0.02)); }
.badge { position: absolute; top: 18px; right: 18px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.07em;
  padding: 6px 9px; border-radius: 999px; background: rgba(163, 230, 53, 0.12); color: var(--pos); border: 1px solid rgba(163, 230, 53, 0.3); }

/* limits + faq */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two h2 { font-size: clamp(28px, 3.4vw, 42px); }
.limits { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; color: #aeb3c4; }
.limits b { color: var(--text); font-weight: 560; display: block; }
.faq { display: grid; gap: 10px; align-content: start; padding-top: 34px; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; background: var(--glass); transition: background 0.2s; }
details[open] { background: rgba(255, 255, 255, 0.045); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 550; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 300; font-size: 20px; line-height: 1; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: #aeb3c4; padding-bottom: 18px; font-size: 15px; }

/* cta form */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 44px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -220px; pointer-events: none;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.25), transparent 65%); }
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); }
.form { display: grid; gap: 14px; position: relative; z-index: 1; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
textarea { resize: vertical; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 56px 0 44px; margin-top: 120px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot p { max-width: 620px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .pulse { animation: none; } }

/* responsive */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 40px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .engine, .two, .cta { grid-template-columns: 1fr; }
  .pg { grid-template-columns: 1fr; }
  .pg-controls { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .links { display: none; }
  .grid3, .steps, .proof-notes, .strip { grid-template-columns: 1fr; }
  .kpi + .kpi { border-left: 0; border-top: 1px solid var(--line); }
  .kpi { padding: 24px 4px; }
  .section { padding-top: 88px; }
  .grid4 { grid-template-columns: 1fr; }
  .stats3 { grid-template-columns: 1fr 1fr; }
  .stats3 .stat:last-child { grid-column: span 2; }
  .chart { height: 220px; }
  .pg-out .chart { height: 260px; }
  .cta { padding: 26px 20px; }
  .row2 { grid-template-columns: 1fr; }
  .engine { padding: 24px 20px; }
  #worlds { height: 200px; }
  th, td { padding: 14px; }
}

/* ===== v2 refinements ===== */
.mono { font-family: var(--mono); font-size: 12.5px; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60; background: var(--grad); box-shadow: 0 0 12px rgba(34, 211, 238, 0.6); }
.mark { width: 30px; height: 30px; display: block; overflow: visible; }
.brand .mark .mk-lens { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transform-origin: 29px 24px; }
.brand .mark .mk-twin { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.brand:hover .mark .mk-twin, .brand:hover .mark .mk-lens { transform: translateX(3px); }
.word { font-weight: 400; letter-spacing: -0.03em; font-size: 19px; }
.word b { font-weight: 650; }
.foot .mark { width: 24px; height: 24px; }

/* hero with fork field */
.hero-zone { position: relative; overflow: hidden; }
#forkField { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9;
  mask-image: linear-gradient(180deg, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); }
.hero { position: relative; z-index: 1; }
.hint { font-size: 13px; margin-top: 30px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.kbd { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text);
  border: 1px solid var(--line2); border-radius: 6px; padding: 5px 7px; background: rgba(255, 255, 255, 0.04); }
@media (hover: none) { .hint { display: none; } }

/* spotlight cards */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 108, 255, 0.13), transparent 45%); }
.spot:hover::after { opacity: 1; }

/* ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; margin-top: 8px; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 14px; width: max-content; padding: 16px 0; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.q { white-space: nowrap; font-size: 14.5px; color: #c4c8d6; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); }
.q::before { content: "?"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 9px; border-radius: 50%;
  font: 600 11px/1 var(--mono); color: #07080c; background: var(--grad); }
@keyframes tick { to { transform: translateX(-50%); } }
.strip { margin-top: 0; border-top: 0; }

/* story */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; margin-top: 64px; }
.story-steps { display: grid; gap: 0; padding-bottom: 30vh; }
.sstep { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s; padding-right: 8px; }
.sstep.on { opacity: 1; }
.sstep h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; margin-bottom: 12px; }
.sstep p { color: #b4b9c9; font-size: 17px; max-width: 460px; }
.story-stage { position: relative; }
.stage-card { position: sticky; top: calc(50vh - 220px); padding: 22px; }
.stage-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.stage-label { font-weight: 600; font-size: 16px; }
.stage-num { font: 500 12px/1 var(--mono); color: var(--muted); }
.story-chart { height: 340px; }
.stage-legend { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.lgd { transition: opacity 0.4s; }
.lg-rel { background: rgba(255, 255, 255, 0.35); }
.story-chart .layer { transition: opacity 0.7s ease; }
.story-chart .callout { font: 600 13px/1 var(--sans); }

/* lab */
.lab { display: grid; grid-template-columns: 320px 1fr; margin-top: 48px; overflow: hidden; }
.lab-controls { padding: 26px; border-right: 1px solid var(--line); display: grid; gap: 22px; align-content: start; }
.lab-out { padding: 22px 24px 24px; min-width: 0; }
.lab-out .chart { height: 280px; }
.slider { display: grid; gap: 10px; }
.sl-head { display: flex; justify-content: space-between; font-size: 14px; color: #c4c8d6; gap: 10px; }
.sl-head output { font: 500 13px/1.4 var(--mono); color: var(--text); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; padding: 0; border: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--cf) var(--p, 50%), rgba(255, 255, 255, 0.12) var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; cursor: grab;
  box-shadow: 0 0 0 4px rgba(139, 108, 255, 0.35), 0 4px 14px rgba(0, 0, 0, 0.5); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(139, 108, 255, 0.35); }
.bars { display: grid; gap: 12px; margin-top: 18px; }
.bar-row { display: grid; grid-template-columns: 170px 1fr 70px; gap: 14px; align-items: center; font-size: 14px; }
.bar-row b { font: 600 15px/1 var(--mono); text-align: right; }
.bar-track { position: relative; height: 12px; background: rgba(255, 255, 255, 0.05); border-radius: 6px; }
.bar { position: absolute; top: 0; bottom: 0; border-radius: 6px; transition: left 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bar.naive { background: linear-gradient(90deg, #fb7185, #fbbf24); }
.bar.truth { background: linear-gradient(90deg, #22d3ee, #a3e635); }
.zero { position: absolute; top: -4px; bottom: -4px; width: 1px; background: rgba(255, 255, 255, 0.4); left: var(--z, 33%); }
.lab-verdict { margin-top: 16px; font-size: 15px; color: #c4c8d6; min-height: 1.6em; }
.lab-verdict b { color: var(--text); }

/* engine / world generator */
.engine { grid-template-columns: 1fr 1fr; padding: 40px; gap: 40px; margin-top: 0; }
.engine h2 { font-size: clamp(26px, 3vw, 38px); }
.world { min-width: 0; }
.world-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
#worldSvg { width: 100%; height: auto; display: block; }
#worldSvg .node { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.hl-c { color: #bef264; }
.ghost-t { color: #a78bfa; }

/* proof */
.proof { margin-top: 48px; padding: 26px; }
.panel-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.panel-pick button { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 8px 14px;
  font: 500 13px/1 var(--sans); cursor: pointer; transition: 0.2s; }
.panel-pick button:hover { color: var(--text); }
.panel-pick button[aria-selected="true"] { color: var(--text); border-color: rgba(139, 108, 255, 0.6); background: rgba(139, 108, 255, 0.12); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.metric { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: rgba(255, 255, 255, 0.02); }
.metric h4 { font-size: 15px; font-weight: 600; }
.metric .goal { font: 500 11.5px/1.4 var(--mono); color: var(--muted); margin: 4px 0 18px; text-transform: uppercase; letter-spacing: 0.05em; }
.mrow { display: grid; grid-template-columns: 96px 1fr 52px; gap: 10px; align-items: center; font-size: 13px; margin-top: 10px; }
.mrow .t { position: relative; height: 10px; background: rgba(255, 255, 255, 0.05); border-radius: 5px; overflow: hidden; }
.mrow .f { position: absolute; inset: 0 auto 0 0; border-radius: 5px; transition: width 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mrow.cf .f { background: linear-gradient(90deg, #8b6cff, #22d3ee); }
.mrow.ci .f { background: rgba(255, 255, 255, 0.28); }
.mrow b { font: 600 14px/1 var(--mono); text-align: right; }
.target { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #bef264; box-shadow: 0 0 8px #bef264; }
.proof-foot { margin-top: 20px; }

/* misc */
.uc-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 600 18px/1 var(--mono); margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(139, 108, 255, 0.28), rgba(34, 211, 238, 0.12)); border: 1px solid var(--line2); }
.cta-mark .mark { width: 120px; height: 120px; margin-top: 36px; opacity: 0.9; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-4deg); } }
.empty { gap: 12px; text-align: center; }
.empty-mark .mark { width: 44px; height: 44px; margin: 0 auto 10px; opacity: 0.8; }
.section > h2 + .grid4 { margin-top: 56px; }

@media (max-width: 1020px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-stage { order: -1; position: sticky; top: 64px; z-index: 5; }
  .stage-card { position: relative; top: 0; padding: 14px; background: rgba(12, 14, 20, 0.92); }
  .story-chart { height: 220px; }
  .sstep { min-height: 70vh; }
  .lab { grid-template-columns: 1fr; }
  .lab-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .metrics { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bar-row { grid-template-columns: 1fr 64px; }
  .bar-row .bar-l { grid-column: span 2; }
  .bar-row .bar-track { grid-column: 1; }
  .engine { padding: 24px 18px; gap: 24px; }
  .story-chart { height: 190px; }
  .stage-legend { gap: 10px; font-size: 11.5px; }
  .proof { padding: 18px; }
  .cta-mark { display: none; }
  .word { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .ticker-track, .cta-mark .mark { animation: none; } }

/* ===== simple version ===== */
.big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.big { padding: 30px 28px; }
.big-n { font-size: 64px; font-weight: 650; letter-spacing: -0.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.big-n small { font-size: 22px; letter-spacing: -0.02em; font-weight: 500; }
.big h3 { font-size: 19px; }
.big p { color: #aeb3c4; margin-top: 10px; font-size: 15px; }
.q-ex { font-family: var(--serif); font-style: italic; font-size: 19px !important; line-height: 1.4; color: #d6d9e4 !important; }
.sub.left { margin-inline: 0; }
.hero-points { margin-top: 30px; }
@media (max-width: 760px) { .big3 { grid-template-columns: 1fr; } .big-n { font-size: 52px; } }

@media (max-width: 760px) { #forkField { opacity: 0.35; } }

.tmpl { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--obs); padding: 2px 2px; }
.tmpl span { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; border: 1px solid rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.08); }
.tmpl:hover { color: #67e8f9; }
.tmpl small { font-size: 12px; }
#pdfBtn { margin-top: 14px; }

/* ask counterfact */
.ask { border: 1px solid var(--line2); border-radius: 14px; padding: 14px; margin-bottom: 16px; background: linear-gradient(180deg, rgba(139, 108, 255, 0.07), rgba(255, 255, 255, 0.01)); }
.ask-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 10px; }
.ask-mark .mark { width: 22px; height: 22px; }
.ask-log { display: grid; gap: 10px; max-height: 380px; overflow: auto; }
.ask-log:empty { display: none; }
.msg { padding: 11px 14px; border-radius: 12px; font-size: 15px; line-height: 1.55; }
.msg.me { justify-self: end; max-width: 85%; background: rgba(255, 255, 255, 0.07); }
.msg.a { background: rgba(7, 8, 12, 0.6); border: 1px solid var(--line); }
.msg.a p { margin: 0 0 8px; } .msg.a p:last-child { margin: 0; }
.msg.a ul { margin: 4px 0 8px; padding-left: 20px; }
.msg.a b { color: var(--text); }
.msg.thinking { color: var(--muted); font-style: italic; }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.ask-form { display: flex; gap: 8px; margin-top: 10px; }
.ask-form input { flex: 1; min-width: 0; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ask-chips button { font-size: 12.5px; }

/* pricing ladder, passes, shopify */
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 56px; }
.grid5 .plan { padding: 24px 20px; }
.grid5 .price { font-size: 26px; }
.passbar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 16px 20px; margin-top: 16px; }
.pass-form { display: flex; gap: 8px; flex: 1; min-width: 260px; max-width: 520px; }
.pass-form input { flex: 1; min-width: 0; }
#passMsg { flex-basis: 100%; margin: 0; }
.pay-note { margin-top: 14px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.result-actions[hidden] { display: none; }
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px; margin-top: 48px; }
.shop ol { color: #b4b9c9; padding-left: 20px; display: grid; gap: 10px; margin: 14px 0 0; }
.shop code { font-family: var(--mono); font-size: 13px; color: var(--obs); }
.digest { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; white-space: pre-wrap; color: #d6d9e4; }
.pro-on { color: var(--pos); }
@media (max-width: 1100px) { .grid5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid5 { grid-template-columns: 1fr; } .shop { grid-template-columns: 1fr; padding: 20px; } }

.devbar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 16px 20px; margin-top: 12px; }
.devlinks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.devlinks a { color: var(--obs); } .devlinks a:hover { color: #67e8f9; }
.devlinks code { font-family: var(--mono); font-size: 13px; }
.foot-links a { color: var(--muted); } .foot-links a:hover { color: var(--text); }

.openbadge { display: flex; align-items: center; gap: 14px; margin: 18px auto 0; max-width: 760px; padding: 14px 20px; border-radius: 999px;
  border: 1px solid rgba(163, 230, 53, 0.35); background: rgba(163, 230, 53, 0.06); color: #d6d9e4; font-size: 15px; transition: 0.2s; }
.openbadge:hover { background: rgba(163, 230, 53, 0.12); color: var(--text); }
.openbadge b { color: var(--text); }
.ob-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 10px var(--pos); flex: none; }
.ob-arrow { margin-left: auto; color: var(--pos); }
.contact-line { margin-top: 18px; color: #c4c8d6; font-size: 15px; }
.contact-line a { color: var(--obs); }
#developers { scroll-margin-top: 90px; }
@media (max-width: 760px) { .openbadge { border-radius: 16px; } }

.leadcap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; padding: 14px; border: 1px solid rgba(34,211,238,.35);
  border-radius: 14px; background: rgba(34,211,238,.05); }
.leadcap[hidden] { display: none; }
.leadcap input { flex: 1; min-width: 160px; padding: 9px 11px; font-size: 14px; }
.lc-t { flex-basis: 100%; font-weight: 600; font-size: 14.5px; }
.lc-note { flex-basis: 100%; }

/* ===== mobile polish (all pages) ===== */
.menu-btn { display: none; }
.menu-cta { display: none; }
@media (max-width: 760px) {
  .nav-in { gap: 10px; }
  .nav-in > .brand { margin-right: auto; }
  .nav-in > .btn { padding: 9px 14px; font-size: 13.5px; }
  .menu-btn { display: inline-grid; place-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line2);
    background: rgba(255, 255, 255, 0.04); cursor: pointer; flex: none; -webkit-tap-highlight-color: transparent; }
  .menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s, opacity 0.2s; }
  .nav.open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav .links { display: none; }
  .nav.open .links { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 64px; padding: 8px 16px 18px;
    background: #090a0f; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); z-index: 2; isolation: isolate;
    max-height: calc(100dvh - 64px); overflow-y: auto; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
  .nav.open .links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav.open .links a.menu-cta { display: flex; margin-top: 14px; border: 0; padding: 14px; color: #07080c; }
  html.menu-open { overflow: hidden; }
  .nav.open { background: #090a0f; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.open::after { content: ""; position: fixed; inset: 64px 0 0; background: rgba(0, 0, 0, 0.55); z-index: 1; }
  /* inputs at 16px stop iPhones zooming in on tap */
  input:not([type="range"]):not([type="checkbox"]), select, textarea { font-size: 16px !important; }
  /* blur on every card makes phone scrolling stutter: keep it on the top bar only */
  .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.035); }
  .bg-glow { filter: none; }
  .section { padding-top: 72px; }
  .foot { margin-top: 80px; padding: 40px 0 36px; }
  .stat .v, .stat .s { white-space: normal; overflow: visible; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
  /* how-it-works story: shorter steps, text starts below the pinned chart */
  .sstep { min-height: 52vh; justify-content: flex-start; padding-top: 28px; opacity: 0.4; }
  .story-steps { padding-bottom: 12vh; }
  .stage-card { background: #0c0e14; }
  .story-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 24px; background: linear-gradient(#07080c, transparent); pointer-events: none; }
  table { font-size: 14px; }
}
@media (max-width: 370px) { .nav-in > .btn { display: none; } }
@media (max-width: 400px) { h1 { font-size: 40px; } }
@supports not (height: 100dvh) { @media (max-width: 760px) { .nav.open .links { max-height: calc(100vh - 64px); } } }
