/* ===== Tokens: bold, playful, digital ===== */
:root {
  --bg: #0d0b1e;
  --bg-2: #13102b;
  --surface: #1a1636;
  --surface-2: #231d48;
  --line: rgba(190, 180, 255, .14);
  --line-2: rgba(190, 180, 255, .26);
  --text: #f6f4ff;
  --body: #d6d2f0;
  --muted: #a39dca;
  --violet: #9b7bff;
  --violet-2: #7c5cff;
  --pink: #ff5fa2;
  --lime: #b8ff3c;
  --yellow: #ffd43b;
  --cyan: #38e1ff;
  --fail: #ff5a5f;
  --ink: #0d0b1e;
  --violet-soft: rgba(155, 123, 255, .16);
  --lime-soft: rgba(184, 255, 60, .14);
  --fail-soft: rgba(255, 90, 95, .16);
  --radius: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 16.5px/1.6 "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--text); margin: 0 0 .5em; line-height: 1.05; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
/* Emphasis = bright gradient text */
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(95deg, var(--lime) 0%, var(--cyan) 45%, var(--violet) 75%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Rotating builder name in the headline */
.rotator { display: inline-grid; vertical-align: bottom; margin: 0 .04em; transition: width .45s var(--pop); }
.rw {
  grid-area: 1 / 1; justify-self: start; white-space: nowrap;
  padding: 0 .22em .06em; border-radius: .2em; color: var(--ink);
  border: 3px solid var(--ink); box-shadow: .07em .07em 0 var(--ink);
  opacity: 0; transform: translateY(.45em) rotate(-2deg) scale(.92);
  transition: opacity .3s var(--ease), transform .45s var(--pop);
}
.rw.is-on { opacity: 1; transform: rotate(-2deg); }
.rw.is-out { opacity: 0; transform: translateY(-.45em) rotate(-2deg) scale(.92); }
.rw[data-c="pink"] { background: var(--pink); }
.rw[data-c="yellow"] { background: var(--yellow); }
.rw[data-c="cyan"] { background: var(--cyan); }
.rw[data-c="lime"] { background: var(--lime); }
p { margin: 0 0 1em; }
a { color: var(--cyan); }
strong { color: var(--text); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--body); max-width: 60ch; }
.center .lead { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ===== Buttons: chunky, playful ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 14px; cursor: pointer;
  background: var(--lime); color: var(--ink); font: 700 1rem/1 inherit; text-decoration: none;
  box-shadow: 4px 4px 0 var(--pink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pink); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .92rem; box-shadow: 3px 3px 0 var(--pink); }
.btn-lg { min-height: 58px; padding: 16px 26px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-link { color: var(--text); font-weight: 600; text-decoration: none; padding: 12px 4px; border-bottom: 2px solid var(--violet); }
.btn-link:hover { color: var(--lime); border-color: var(--lime); }
.btn-ghost { background: none; border: 0; color: var(--muted); font: 500 .95rem inherit; cursor: pointer; min-height: 48px; padding: 0 16px; }
.btn-ghost:hover { color: var(--text); }
.btn-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(13,11,30,.25); border-top-color: var(--ink); animation: spin .7s linear infinite; }
.btn.is-loading .btn-spin { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(13,11,30,.82); backdrop-filter: blur(12px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font: 800 1.2rem var(--display); letter-spacing: -.03em; }
.logo-mark { width: 32px; height: 32px; transform: rotate(-6deg); }
.logo-mark rect { fill: var(--violet); }
.logo-mark path { fill: none; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.lm-br { stroke: var(--ink); }
.lm-ck { stroke: var(--lime); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* ===== Hero ===== */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero-glow { position: absolute; inset: 0 0 auto; height: 980px; pointer-events: none;
  background:
    radial-gradient(420px 320px at 82% 18%, rgba(155,123,255,.38), transparent 70%),
    radial-gradient(360px 280px at 96% 62%, rgba(255,95,162,.26), transparent 70%),
    radial-gradient(340px 260px at 58% 72%, rgba(56,225,255,.16), transparent 70%),
    radial-gradient(420px 300px at 4% 0%, rgba(184,255,60,.10), transparent 70%); }
.hero-glow::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(190,180,255,.22) 1.2px, transparent 1.4px);
  background-size: 26px 26px; mask-image: radial-gradient(ellipse 75% 60% at 60% 30%, #000 25%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.hero-grid > *, .ea-grid > *, .split > *, .bento > *, .compare > * { min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px; border: 1.5px solid var(--line-2); border-radius: 999px; background: rgba(26,22,54,.8); color: var(--text); font-size: .88rem; font-weight: 600; margin-bottom: 26px; }
.live-dot { width: 9px; height: 9px; border-radius: 3px; background: var(--lime); animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin: 34px 0 28px; }
.assurances { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: .9rem; }
.assurances li { display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--body); font-weight: 500; }
.assurances li:nth-child(1) { transform: rotate(-1.5deg); }
.assurances li:nth-child(2) { transform: rotate(1deg); }
.assurances li:nth-child(3) { transform: rotate(-.5deg); }
.assurances svg, .success-line svg { width: 18px; height: 18px; fill: none; stroke: var(--lime); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Demo window ===== */
.demo-wrap { position: relative; }
.demo-wrap::before { content: ""; position: absolute; inset: 18px -14px 64px 18px; /* stops above the 78px Pause row */ border-radius: 22px; background: linear-gradient(135deg, var(--violet), var(--pink)); transform: rotate(2deg); opacity: .9; }
.demo {
  position: relative; border-radius: 20px; background: #15112e; border: 2px solid #2f2860;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); overflow: hidden; font-size: .92rem;
}
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #110e26; }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--fail); }
.dots i:nth-child(2) { background: var(--yellow); }
.dots i:nth-child(3) { background: var(--lime); }
.demo-url { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; font: .8rem var(--mono); color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-url svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.health-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 9px; background: var(--lime-soft); color: var(--lime); font: 600 .78rem var(--mono); white-space: nowrap; transition: background .3s, color .3s; }
.health-chip i { width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.health-score { font-weight: 700; min-width: 1.8em; text-align: right; }
.demo.is-down .health-chip { background: var(--fail-soft); color: var(--fail); }

.demo-body { display: grid; grid-template-columns: 190px 1fr; min-height: 340px; }
.journeys { padding: 18px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; background: rgba(0,0,0,.12); }
.demo-label { font: 600 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.demo-label.mint { color: var(--lime); }
.journeys ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.journeys li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--body); border: 1.5px solid transparent; font-weight: 500; transition: background .3s, border-color .3s, color .3s; }
.st { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #4a4180; flex: none; position: relative; transition: all .25s var(--pop); }
.journeys li[data-s="run"] { background: var(--violet-soft); border-color: rgba(155,123,255,.4); color: var(--text); }
.journeys li[data-s="run"] .st { border-color: var(--violet); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.journeys li[data-s="pass"] .st { background: var(--lime); border-color: var(--lime); }
.journeys li[data-s="pass"] .st::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 4px; height: 9px; border: solid var(--ink); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.journeys li[data-s="fail"] { background: var(--fail-soft); border-color: rgba(255,90,95,.5); color: var(--text); }
.journeys li[data-s="fail"] .st { background: var(--fail); border-color: var(--fail); transform: rotate(-8deg) scale(1.08); }
.journeys li[data-s="fail"] .st::before, .journeys li[data-s="fail"] .st::after { content: ""; position: absolute; left: 7.5px; top: 3.5px; width: 2.4px; height: 10px; background: var(--ink); border-radius: 1px; transform: rotate(45deg); }
.journeys li[data-s="fail"] .st::after { transform: rotate(-45deg); }
.demo-foot { margin: auto 0 0; padding-top: 16px; font: .75rem var(--mono); color: var(--muted); }

.panel { position: relative; padding: 22px; }
.pane { position: absolute; inset: 22px; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .4s var(--ease), transform .45s var(--pop); pointer-events: none; }
.demo[data-stage="0"] .pane-scan,
.demo[data-stage="1"] .pane-diag,
.demo[data-stage="2"] .pane-diag,
.demo[data-stage="3"] .pane-fix,
.demo[data-stage="4"] .pane-recheck,
.demo[data-stage="5"] .pane-done { opacity: 1; transform: none; }
.pane-scan { display: flex; flex-direction: column; }
.scan-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.06); overflow: hidden; margin-bottom: 18px; }
.scan-bar span { display: block; width: 40%; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)); animation: scan 1.4s var(--ease) infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.log { list-style: none; padding: 14px; margin: 0; display: grid; gap: 8px; font: .78rem/1.4 var(--mono); color: var(--body); background: rgba(0,0,0,.28); border: 1px solid var(--line); border-radius: 12px; white-space: pre; overflow: hidden; }
.log b { font-weight: 600; margin-right: 8px; }
.log b.ok { color: var(--lime); }
.log em { font-style: normal; color: var(--muted); }
.log-wait { color: var(--muted); }
.log-wait b { color: var(--yellow); animation: blink 1s steps(2, start) infinite; }
.pane-recheck { display: grid; place-content: center; justify-items: center; text-align: center; color: var(--muted); gap: 18px; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--violet-soft); border-top-color: var(--cyan); border-right-color: var(--violet); animation: spin .8s linear infinite; }
.diag-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8rem; margin-bottom: 14px; }
.tag { font: 700 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.tag-red { background: var(--fail); color: var(--ink); }
.pane h4 { font: 800 1.45rem var(--display); letter-spacing: -.02em; margin-bottom: 10px; }
.pane p { color: var(--body); line-height: 1.55; }
.cite { display: inline-block; font: 700 .7rem/1 var(--mono); padding: 3px 6px; border-radius: 5px; background: var(--yellow); color: var(--ink); vertical-align: 1px; }
.evi { display: grid; gap: 6px; margin-top: 14px; }
.evi span { font: .78rem var(--mono); color: var(--body); background: rgba(0,0,0,.28); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; }
.evi b { color: var(--yellow); margin-right: 6px; }
.fix-q { background: rgba(0,0,0,.28); border: 1.5px dashed rgba(184,255,60,.4); border-radius: 12px; padding: 14px; font-size: .92rem; }
.copy-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 11px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .9rem; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--pink); transition: transform .2s var(--pop); }
.copy-done { display: none; }
.demo.copied .copy-idle { display: none; }
.demo.copied .copy-done { display: inline; }
.demo.copied .copy-btn { transform: scale(1.06) rotate(-2deg); background: var(--yellow); }
.pane-done { display: grid; align-content: center; justify-items: start; }
.done-badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--lime); transform: rotate(-6deg); margin-bottom: 14px; box-shadow: 4px 4px 0 var(--violet); }
.done-badge svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-badge.big { width: 76px; height: 76px; border-radius: 22px; }
.done-badge.big svg { width: 40px; height: 40px; }
.recap { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; width: 100%; }
.recap li { display: flex; gap: 12px; align-items: baseline; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.recap span { font: 700 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; min-width: 52px; }
.recap li:nth-child(1) span { color: var(--fail); }
.recap li:nth-child(2) span { color: var(--yellow); }
.recap li:nth-child(3) span { color: var(--lime); }
.toast { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 20px) rotate(-1deg); opacity: 0; transition: all .4s var(--pop); background: var(--fail); color: var(--ink); font-weight: 600; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--ink); font-size: .85rem; white-space: nowrap; display: flex; gap: 10px; align-items: center; box-shadow: 4px 4px 0 var(--ink); }
.toast .tag-red { background: var(--ink); color: var(--fail); }
.demo.toasting .toast { opacity: 1; transform: translate(-50%, 0) rotate(-1deg); }
.demo-toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 34px 0 0 auto; float: right; min-height: 44px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font: 500 .85rem inherit; cursor: pointer; }
.demo-toggle:hover { color: var(--text); border-color: var(--line-2); }
.demo-toggle svg { width: 14px; height: 14px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.demo-toggle .when-paused, .demo-toggle[aria-pressed="true"] .when-playing { display: none; }
.demo-toggle[aria-pressed="true"] .when-paused { display: inline-flex; align-items: center; gap: 8px; }
.demo-toggle .when-playing { display: inline-flex; align-items: center; gap: 8px; }

/* Results ticker */
.ticker { position: relative; margin-top: 80px; padding: 16px 0; overflow: hidden; background: var(--violet-2); transform: rotate(-1.2deg); border-block: 2px solid var(--ink); }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.tk { flex: none; font: 600 .9rem var(--mono); padding: 7px 14px; border-radius: 999px; border: 2px solid var(--ink); white-space: nowrap; }
.tk.ok { background: var(--lime); color: var(--ink); }
.tk.bad { background: var(--fail); color: var(--ink); }
.tk.warn { background: var(--yellow); color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 112px 0; position: relative; }
.section-tint { background: var(--bg-2); border-top: 1px solid var(--line); }
.section-head { margin-bottom: 56px; }
.kicker { display: inline-block; font: 700 .76rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 5px 10px; border-radius: 7px; margin-bottom: 18px; transform: rotate(-2deg); }

/* Silent failure */
.split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.split-card { background: var(--surface); border: 2px solid var(--line-2); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.split-card-bad { border-color: var(--fail); box-shadow: 6px 6px 0 var(--fail); }
.split-label { font: 700 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.split-vs { align-self: center; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--fail); color: var(--ink); font: 800 2.2rem/1 var(--display); transform: rotate(-8deg); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.mock-app { background: #fff; border-radius: 14px; padding: 20px; color: #1b1a2e; display: grid; gap: 12px; box-shadow: 6px 6px 0 var(--violet); border: 2px solid var(--ink); }
.mock-field { border: 1.5px solid #d6d3ea; border-radius: 9px; padding: 11px 12px; background: #fff; font-size: .95rem; }
.mock-btn { justify-self: start; background: var(--violet-2); color: #fff; border-radius: 9px; padding: 10px 16px; font-weight: 700; font-size: .9rem; }
.mock-toast { display: flex; align-items: center; gap: 8px; background: #e7ffd0; color: #2c4a00; border-radius: 9px; padding: 10px 12px; font-weight: 700; }
.mock-toast svg { width: 18px; height: 18px; fill: none; stroke: #4a8a00; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.split-verdict { margin: auto 0 0; padding-top: 22px; font: 800 1.15rem var(--display); }
.split-verdict.ok { color: var(--lime); }
.split-verdict.bad { color: var(--fail); }
.trace { list-style: none; padding: 0; margin: 0; display: grid; font: .92rem/1.5 inherit; }
.trace li { position: relative; padding: 0 0 18px 32px; color: var(--body); }
.trace li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: -2px; width: 2px; background: var(--line-2); }
.trace li:last-child::before { display: none; }
.trace span { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--ink); }
.t-ok { background: var(--lime); }
.t-bad { background: var(--fail); }
.trace b { color: var(--text); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.tile { --c: var(--violet); background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .2s var(--pop), box-shadow .2s var(--ease), border-color .2s; }
.tile:hover { transform: translate(-3px, -3px); border-color: var(--c); box-shadow: 6px 6px 0 var(--c); }
.bento .tile:nth-child(2) { --c: var(--cyan); }
.bento .tile:nth-child(3) { --c: var(--yellow); }
.bento .tile:nth-child(4) { --c: var(--pink); }
.bento .tile:nth-child(5) { --c: var(--lime); }
.bento .tile:nth-child(6) { --c: var(--violet); }
.tile p { color: var(--muted); margin: 0; }
.tile-xl { --c: var(--fail) !important; grid-row: span 2; background: radial-gradient(420px 260px at 50% 25%, rgba(255,90,95,.18), transparent 70%), var(--surface); }
.tile-wide { grid-column: 1 / -1; }
.tile-wide .art-timeline { max-width: 760px; }
.tile-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--c); display: grid; place-items: center; margin-bottom: auto; transform: rotate(-5deg); }
.tile-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { margin-top: 22px; font: 800 1.3rem var(--display); letter-spacing: -.02em; }
.tile-art { margin-bottom: auto; display: flex; align-items: center; padding: 20px 0; }
.art-flow { justify-content: center; padding: 60px 0; }
.node { font: 600 .8rem var(--mono); padding: 10px 14px; border-radius: 10px; background: var(--surface-2); border: 2px solid var(--line-2); color: var(--text); white-space: nowrap; }
.node-bad { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 12px; background: var(--fail); border-color: var(--ink); color: var(--ink); font-weight: 800; transform: rotate(-8deg); box-shadow: 3px 3px 0 var(--ink); }
.node-dim { opacity: .4; }
.wire { flex: 1; max-width: 70px; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--fail)); }
.wire-dim { background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.art-timeline { gap: 6px; }
.pub { font: 600 .72rem var(--mono); color: var(--body); padding: 6px 10px; border-radius: 8px; border: 1.5px solid var(--line-2); white-space: nowrap; }
.tl { flex: 1; height: 2px; background: var(--line-2); min-width: 8px; }
.chk { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--ink); border: 2px solid var(--ink); }
.chk.ok { background: var(--lime); }
.chk.bad { background: var(--fail); transform: rotate(-8deg); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink), var(--lime)); border-radius: 3px; }
.steps li { position: relative; }
.step-n { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--surface-2); border: 2px solid var(--ink); color: var(--text); font: 800 1.2rem var(--display); margin-bottom: 22px; box-shadow: 4px 4px 0 var(--ink); }
.steps li:nth-child(1) .step-n { background: var(--cyan); color: var(--ink); transform: rotate(-4deg); }
.steps li:nth-child(2) .step-n { background: var(--violet); color: var(--ink); transform: rotate(3deg); }
.steps li:nth-child(3) .step-n { background: var(--pink); color: var(--ink); transform: rotate(-3deg); }
.steps li:nth-child(4) .step-n { background: var(--lime); color: var(--ink); transform: rotate(4deg); }
.steps p { color: var(--muted); margin: 0; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.cmp { border-radius: var(--radius); padding: 32px; border: 2px solid var(--line); background: var(--surface); }
.cmp h3 { font: 800 1.35rem var(--display); letter-spacing: -.02em; }
.cmp ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.cmp li { position: relative; padding-left: 34px; }
.cmp li::before { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: var(--ink); }
.cmp-old h3, .cmp-old li { color: var(--muted); }
.cmp-old li::before { content: "✕"; background: var(--fail); }
.cmp-new { border-color: var(--ink); background: var(--lime); box-shadow: 8px 8px 0 var(--violet); transform: rotate(.8deg); }
.cmp-new h3, .cmp-new li { color: var(--ink); font-weight: 600; }
.cmp-new li::before { content: "✓"; background: var(--ink); color: var(--lime); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 88px; }
.trust svg { width: 30px; height: 30px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.trust > div:nth-child(2) svg { stroke: var(--yellow); }
.trust > div:nth-child(3) svg { stroke: var(--pink); }
.trust p { color: var(--muted); margin: 0; }

/* Early access */
.ea-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ea-steps { list-style: none; counter-reset: ea; padding: 0; margin: 36px 0 0; display: grid; gap: 20px; }
.ea-steps li { counter-increment: ea; position: relative; padding-left: 54px; display: grid; gap: 2px; }
.ea-steps li::before { content: counter(ea); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--violet); color: var(--ink); font: 800 1rem var(--display); border: 2px solid var(--ink); }
.ea-steps li:nth-child(2)::before { background: var(--pink); }
.ea-steps li:nth-child(3)::before { background: var(--lime); }
.ea-steps b { color: var(--text); font-weight: 650; }
.ea-steps span { color: var(--muted); }
.form-card { position: relative; background: var(--surface); border: 2px solid var(--ink); border-radius: 24px; padding: 32px; box-shadow: 10px 10px 0 var(--violet-2), 10px 10px 0 2px var(--ink); }
.form-step { display: grid; gap: 20px; }
.form-step[hidden] { display: none; }
.form-step.enter { animation: enter .45s var(--pop); }
@keyframes enter { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.form-progress { display: flex; gap: 6px; }
.form-progress span { flex: 1; height: 6px; border-radius: 6px; background: var(--line-2); }
.form-progress span.on { background: linear-gradient(90deg, var(--lime), var(--cyan)); }
.form-title { font: 800 1.55rem var(--display); letter-spacing: -.025em; margin: 0; outline: none; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .label, legend.label { color: var(--text); font-weight: 600; font-size: .95rem; padding: 0; }
.opt { font: 600 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
input[type=email], input[type=url] {
  width: 100%; min-height: 52px; font: inherit; color: var(--text); background: var(--bg);
  border: 2px solid var(--line-2); border-radius: 13px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
input::placeholder { color: #6f6a99; }
input[type=email]:focus, input[type=url]:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(56,225,255,.18); }
input[aria-invalid=true] { border-color: var(--fail); }
.field-err { margin: 0; color: var(--fail); font-size: .86rem; font-weight: 500; }
.field-err:empty { display: none; }
.seg, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label, .chips label { position: relative; cursor: pointer; }
.seg input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span, .chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--line-2); background: var(--bg); color: var(--body); font-size: .93rem; font-weight: 500; transition: transform .15s var(--pop), background .15s, border-color .15s; }
.seg label:hover span, .chips label:hover span { border-color: var(--violet); color: var(--text); }
.seg input:checked + span, .chips input:checked + span { background: var(--violet); border-color: var(--ink); color: var(--ink); font-weight: 700; transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--ink); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.seg.is-invalid span { border-color: rgba(255,90,95,.7); }
.fine { margin: 0; font-size: .84rem; color: var(--muted); text-align: center; }
.fine.top { text-align: left; margin-top: -12px; }
.form-msg { margin: 0; font-size: .92rem; text-align: center; }
.form-msg:empty { display: none; }
.form-msg.err { color: var(--fail); font-weight: 500; }
.success-line { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--lime); font-weight: 700; }
.row-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.done-step { text-align: center; justify-items: center; padding: 20px 0; }
.done-step p { color: var(--body); margin: 0; max-width: 34ch; }
.checks-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; max-width: 280px; margin-top: 10px; }
.checks-bar span { height: 10px; border-radius: 5px; background: var(--lime); transform-origin: left; animation: fill .5s var(--pop) backwards; }
.checks-bar span:nth-child(2) { animation-delay: .12s; background: var(--cyan); }
.checks-bar span:nth-child(3) { animation-delay: .24s; background: var(--violet); }
.checks-bar span:nth-child(4) { animation-delay: .36s; background: var(--pink); }
.checks-bar b { grid-column: 1 / -1; font: 600 .75rem var(--mono); color: var(--muted); margin-top: 6px; }
@keyframes fill { from { transform: scaleX(0); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faqs { display: grid; gap: 12px; }
.faqs details { background: var(--surface); border: 2px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faqs details[open] { border-color: var(--violet); box-shadow: 5px 5px 0 var(--violet); }
.faqs summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 66px; color: var(--text); font-weight: 600; font-size: 1.05rem; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); font-size: 1.3rem; font-weight: 700; transition: transform .25s var(--pop), background .2s; }
.faqs details[open] summary::after { transform: rotate(45deg); background: var(--violet); color: var(--ink); }
.faqs p { color: var(--muted); margin: 0 0 20px; }

/* Final CTA */
.final { position: relative; padding: 130px 0 140px; overflow: hidden; border-top: 1px solid var(--line);
  background: radial-gradient(500px 300px at 20% 30%, rgba(155,123,255,.3), transparent 70%), radial-gradient(500px 300px at 85% 75%, rgba(255,95,162,.22), transparent 70%), var(--bg); }
.final-inner { position: relative; }
.terminal { max-width: 560px; margin: 0 auto 48px; text-align: left; background: #08071a; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--lime); overflow: hidden; transform: rotate(-1.5deg); }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #15112e; font: .78rem var(--mono); color: var(--muted); }
.terminal p { margin: 0; padding: 20px 18px; font: 500 clamp(.85rem, 2.2vw, 1.05rem) var(--mono); color: var(--text); overflow-wrap: anywhere; }
.prompt { color: var(--lime); margin-right: 8px; }
.hl { color: var(--cyan); }
.cursor { display: inline-block; width: .6em; height: 1.1em; margin-left: 4px; background: var(--lime); vertical-align: -3px; animation: blink 1s steps(2, start) infinite; }
.final h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.final .lead { margin-bottom: 36px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer a { color: var(--muted); }
.logo-sm { font-size: 1.05rem; }
.logo-sm .logo-mark { width: 26px; height: 26px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--pop); }
.reveal.in-view { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .hero-grid, .ea-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .split { grid-template-columns: 1fr; }
  .split-vs { justify-self: center; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-xl { grid-row: auto; grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 28px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { justify-content: center; }
  .demo-wrap::before { inset: 12px -8px 70px 12px; }
  .demo-body { grid-template-columns: 1fr; min-height: 0; }
  .journeys { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; }
  .journeys ol { grid-template-columns: 1fr 1fr; }
  .journeys li { padding: 8px; font-size: .86rem; }
  .demo-foot { display: none; }
  .demo-url { font-size: .72rem; }
  .panel { min-height: 330px; padding: 18px; }
  .pane { inset: 18px; }
  .toast { white-space: normal; width: calc(100% - 32px); }
  .bento, .compare, .trust { grid-template-columns: 1fr; }
  .tile-xl, .tile-wide { grid-column: auto; }
  .cmp-new { transform: none; box-shadow: 6px 6px 0 var(--violet); }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .steps li { padding-left: 72px; }
  .step-n { position: absolute; left: 0; top: -6px; margin: 0; }
  .form-card { padding: 22px; box-shadow: 6px 6px 0 var(--violet-2), 6px 6px 0 2px var(--ink); }
  .split-card, .cmp, .tile { padding: 22px; }
  .split-card-bad { box-shadow: 4px 4px 0 var(--fail); }
  .ticker { margin-top: 56px; padding: 12px 0; }
  .tk { font-size: .8rem; }
  .final { padding: 96px 0 110px; }
  .art-timeline .pub { padding: 5px 7px; font-size: .66rem; }
  .chk { width: 26px; height: 26px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .scan-bar span { width: 100%; }
}
