@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #121212;
  --bg-2: #161616;
  --panel: #1b1b1b;
  --line: #2b2b2b;
  --line-2: #363636;
  --soft: #a3a39e;
  --mute: #8a8a85;
  --ink: #f0f0ed;
  --gold: #e9c46f;
  --gold-hi: #f2d07f;
  --gold-deep: #c9a24e;
  --ok: #7fd18b;
  --display: "Bricolage Grotesque", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mx: 50vw; --my: 30vh;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

/* ---------- cursor-reactive backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
          mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
}
.backdrop .glow {
  position: absolute; inset: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(233,196,111,.075), transparent 70%);
}
.backdrop .top {
  position: absolute; left: 50%; top: -340px; width: 1400px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(233,196,111,.10), transparent);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,18,18,.72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(18,18,18,.86); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 20px/1 var(--display); letter-spacing: -.035em; text-decoration: none;
}
.brand img { width: 30px; height: 30px; }
.brand b { color: var(--gold); font-weight: 800; }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px; color: var(--soft); text-decoration: none; font-size: 14.5px;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); background: rgba(255,255,255,.05); }
.nav-buy { margin-left: auto; }
@media (min-width: 860px) { .nav-links { display: flex; } .nav-buy { margin-left: 8px; } }

/* ---------- buttons ---------- */
.buy {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 10px 0 26px; border-radius: 999px;
  background: var(--gold); color: #151515;
  font: 700 1.05rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  position: relative; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 10px 30px -10px rgba(233,196,111,.45);
  transition: transform .25s var(--spring), background-color .2s ease, box-shadow .3s ease;
}
.buy .p {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; background: #151515; color: var(--ink); font-weight: 600;
}
.buy::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
}
.buy:hover { background: var(--gold-hi); transform: translateY(-2px) rotate(-1deg); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 16px 40px -12px rgba(233,196,111,.6); }
.buy:hover::after { animation: sheen 1s var(--ease); }
.buy:active { transform: translateY(1px) scale(.98); }
.buy:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.buy.sm { min-height: 40px; padding: 0 6px 0 16px; font-size: .92rem; gap: 8px; box-shadow: none; }
.buy.sm .p { min-height: 30px; padding: 0 10px; font-size: .85rem; }
@keyframes sheen { from { background-position: -150% 0; } to { background-position: 150% 0; } }
@media (max-width: 420px) { .nav .buy.sm .lbl { display: none; } .nav .buy.sm { padding-left: 6px; } .nav .buy.sm::before { content: "Buy"; padding-left: 8px; } }

.ghost {
  display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 20px;
  border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.02);
  transition: border-color .2s, background-color .2s;
}
.ghost:hover, .ghost:focus-visible { border-color: #555; background: rgba(255,255,255,.05); }
.ghost svg { transition: transform .3s var(--ease); }
.ghost:hover svg { transform: translateY(2px); }

/* ---------- hero ---------- */
.hero { display: grid; gap: 28px; padding: 40px 0 40px; }
@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 64px; padding: 72px 0 52px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 22px; padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.025);
  color: var(--soft); font: 500 13px/1.3 var(--sans);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(127,209,139,.18); margin-left: 6px; }
.eyebrow b { color: var(--ink); font-weight: 600; }
h1 {
  margin: 0;
  font: 800 clamp(2.7rem, 6.2vw, 5.4rem)/.96 var(--display);
  letter-spacing: -.05em;
}
h1 .w { display: inline-block; }
h1 .mk { position: relative; color: #151515; padding: 0 .12em; margin: 0 -.04em; isolation: isolate; }
h1 .mk::before {
  content: ""; position: absolute; z-index: -1; inset: .1em 0 .02em;
  background: var(--gold); border-radius: .14em; transform: rotate(-1.6deg);
}
.side { display: grid; gap: 22px; justify-items: start; }
.lede {
  margin: 0; max-width: 44ch; color: var(--soft);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.55; text-wrap: pretty;
}
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

@media (prefers-reduced-motion: no-preference) {
  h1 .w { animation: pop .7s var(--spring) both; animation-delay: calc(var(--i) * 70ms); }
  h1 .mk::before { animation: mark .5s var(--ease) both .55s; transform-origin: 0 50%; }
  .eyebrow { animation: up .7s var(--ease) both .1s; }
  .side { animation: up .7s var(--ease) both .35s; }
  .mock-frame { animation: swing 1.1s var(--spring) both .45s; transform-origin: 50% 100%; }
  .demo-meta { animation: up .7s var(--ease) both .9s; }
  @keyframes pop { from { opacity: 0; transform: translateY(.45em) scale(.92); } to { opacity: 1; transform: none; } }
  @keyframes mark { from { transform: rotate(-1.6deg) scaleX(0); } to { transform: rotate(-1.6deg) scaleX(1); } }
  @keyframes up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes swing { from { opacity: 0; transform: translateY(48px) rotate(1.2deg); } to { opacity: 1; transform: none; } }
}

/* ---------- demo frame ---------- */
.demo { position: relative; }
.mock-frame {
  position: relative; border-radius: 18px; padding: 6px;
  background: linear-gradient(180deg, #232323, #191919);
  box-shadow: 0 0 0 1px var(--line), 0 60px 120px -50px rgba(0,0,0,.95), 0 0 120px -40px rgba(233,196,111,.18);
}
.mock-frame::before {
  content: ""; position: absolute; inset: -1px; border-radius: 19px; pointer-events: none;
  background: linear-gradient(180deg, rgba(233,196,111,.35), transparent 30%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  padding: 1px;
}
.demo-meta {
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
  padding: 18px 4px 0; color: var(--soft); font-size: 14px;
}
.demo-note { display: flex; gap: 10px; align-items: center; margin: 0; }
.demo-note .tag {
  font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(233,196,111,.35); border-radius: 6px; padding: 5px 7px;
}
.wp-switch { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; border: 0; }
.wp-switch legend { float: left; margin-right: 4px; font-size: 13px; color: var(--mute); padding: 0; }
.wp-opts { display: flex; gap: 8px; }
.wp-opt { position: relative; }
.wp-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wp-opt label {
  display: block; width: 52px; height: 32px; border-radius: 8px; overflow: hidden; cursor: pointer;
  box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow .2s, transform .25s var(--spring);
  background: #222;
}
.wp-opt label canvas, .wp-opt label img { width: 100%; height: 100%; display: block; object-fit: cover; }
.wp-opt label:hover { transform: translateY(-2px); }
.wp-opt input:checked + label { box-shadow: 0 0 0 2px var(--gold), 0 6px 18px -6px rgba(233,196,111,.5); }
.wp-opt input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }
.wp-name { font: 500 13px/1 var(--sans); color: var(--ink); min-width: 9.5em; }
@media (max-width: 640px) {
  .demo-meta { padding-top: 14px; }
  .wp-switch { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .wp-name { order: -1; width: 100%; min-width: 0; }
  .wp-switch legend { display: none; }
  .wp-opts { width: 100%; justify-content: space-between; }
  .wp-opt { flex: 1; }
  .wp-opt label { width: 100%; height: 40px; }
}

/* ---------- section scaffolding ---------- */
section.block { padding: 120px 0 40px; }
@media (max-width: 640px) { section.block { padding: 88px 0 24px; } }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
h2 {
  margin: 0; font: 800 clamp(2.1rem, 4.6vw, 3.8rem)/1 var(--display); letter-spacing: -.045em; text-wrap: balance;
}
h2 .mk { position: relative; color: #151515; padding: 0 .1em; isolation: isolate; white-space: nowrap; }
h2 .mk::before { content: ""; position: absolute; z-index: -1; inset: .08em -.02em 0; background: var(--gold); border-radius: .12em; transform: rotate(-1.4deg); }
.sec-lede { margin: 18px 0 0; max-width: 56ch; color: var(--soft); font-size: 1.1rem; text-wrap: pretty; }

/* ---------- story (scroll-driven) ---------- */
.story-grid { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 960px) { .story-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } }
.steps { position: relative; padding: 0 0 0 28px; }
.steplist { list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.steps .rail-fill { position: absolute; left: 4px; top: 8px; width: 1px; height: calc(var(--p, 0) * (100% - 16px)); background: var(--gold); box-shadow: 0 0 12px rgba(233,196,111,.6); }
.step { min-height: 62vh; padding: 8px 0 40px; display: flex; flex-direction: column; justify-content: flex-start; opacity: .38; transition: opacity .5s var(--ease); }
.step:last-child { min-height: 46vh; }
.step.on { opacity: 1; }
.step .n { position: relative; font: 600 12px/1 var(--mono); color: var(--mute); letter-spacing: .1em; }
.step .n::before {
  content: ""; position: absolute; left: -28px; top: -1px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid #555; transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.step.on .n { color: var(--gold); }
.step.on .n::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(233,196,111,.18); }
.step h3 { margin: 14px 0 12px; font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.05 var(--display); letter-spacing: -.04em; }
.step p { margin: 0; color: var(--soft); max-width: 42ch; font-size: 1.05rem; }

.viz-wrap { position: relative; }
.viz {
  position: sticky; top: 96px; height: min(560px, 72vh); border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #1d1a14 0%, #141414 55%, #111 100%);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.9);
}
.viz::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 45%, #000, transparent); mask-image: radial-gradient(80% 70% at 50% 45%, #000, transparent);
}
.viz svg.links { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz svg.links path { fill: none; stroke: rgba(233,196,111,.6); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 3 5; stroke-dashoffset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.viz[data-s="2"] svg.links path, .viz[data-s="3"] svg.links path { opacity: 1; }
.viz[data-s="3"] svg.links path { animation: dash 1.2s linear infinite; }
.viz[data-s="4"] svg.links path { opacity: .25; }
@keyframes dash { to { stroke-dashoffset: -20; } }

.node {
  position: absolute; width: 42%; max-width: 250px; border-radius: 12px; padding: 10px 12px 12px;
  background: rgba(24,22,20,.92); border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
  font: 11.5px/1.45 var(--mono); color: #d9d4ca;
  transition: transform .8s var(--spring), opacity .5s var(--ease), border-color .4s, left .8s var(--spring), top .8s var(--spring);
}
.node .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 700 13px/1 var(--sans); color: var(--ink); }
.node .hd .st { margin-left: auto; font: 600 9.5px/1 var(--mono); letter-spacing: .08em; color: var(--mute); }
.node .ln { color: #b7b1a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node .ln .c { color: #8fb8ff; }
.node .pbar { height: 4px; border-radius: 4px; background: #2a2a2a; margin-top: 10px; overflow: hidden; }
.node .pbar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: inherit; }
.node.lead { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(1.06); border-color: rgba(233,196,111,.5); z-index: 2; }
.node.w { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.5); opacity: 0; }
.viz:not([data-s="1"]) .node.lead { top: 18%; transform: translate(-50%, -30%) scale(1); }
.viz:not([data-s="1"]) .node.w { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.viz:not([data-s="1"]) .node.w1 { left: 24%; top: 58%; }
.viz:not([data-s="1"]) .node.w2 { left: 76%; top: 52%; }
.viz:not([data-s="1"]) .node.w3 { left: 50%; top: 84%; }
.node.w2 { transition-delay: .08s; } .node.w3 { transition-delay: .16s; }
.viz[data-s="3"] .node.w .bar i { animation: fill var(--d, 2.4s) var(--ease) infinite; }
.viz[data-s="3"] .node .st.live { color: var(--ok); }
.viz[data-s="4"] .node.w, .viz[data-s="4"] .node.lead { opacity: .4; }
@keyframes fill { 0% { width: 4%; } 80% { width: 100%; } 100% { width: 100%; } }
.node .typ { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 0; }
.viz[data-s="1"] .node.lead .typ, .viz:not([data-s="1"]) .node.lead .typ { max-width: 100%; transition: max-width 1.6s steps(34) .3s; }
.badge-s { font: 700 8.5px/1 var(--mono); letter-spacing: .06em; padding: 4px 6px; border-radius: 4px; color: #1a1410; }
.b-claude { background: #e2895f; } .b-codex { background: #5cc8b0; } .b-opencode { background: #b7a2f5; }

.feedviz {
  position: absolute; right: 6%; left: 6%; bottom: 7%; border-radius: 12px; padding: 14px;
  background: rgba(20,19,17,.96); border: 1px solid rgba(233,196,111,.35);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease), transform .7s var(--spring);
  z-index: 3;
}
.viz[data-s="4"] .feedviz { opacity: 1; transform: none; }
.feedviz h4 { margin: 0 0 10px; font: 600 10px/1 var(--mono); letter-spacing: .14em; color: var(--gold); }
.feedviz ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feedviz li {
  display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 8px; background: #1d1c1a; border: 1px solid #2c2b28;
  font-size: 13px; line-height: 1.4; color: var(--soft);
  opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .6s var(--spring);
}
.feedviz li b { color: var(--ink); }
.feedviz li .ck { color: var(--ok); font-weight: 700; }
.viz[data-s="4"] .feedviz li { opacity: 1; transform: none; }
.viz[data-s="4"] .feedviz li:nth-child(2) { transition-delay: .15s; }
.viz[data-s="4"] .feedviz li:nth-child(3) { transition-delay: .3s; }

@media (max-width: 959px) {
  .viz-wrap { order: -1; position: sticky; top: 72px; z-index: 5; }
  .viz { position: relative; top: 0; height: 330px; }
  .story-grid { gap: 8px; }
  .step { min-height: 64vh; padding-top: 28px; }
  .node { width: 46%; font-size: 10.5px; padding: 8px 9px 10px; }
  .viz[data-s="1"] .node.lead { width: 72%; }
  .node .hd .st { display: none; }
  .node .hd { font-size: 12px; }
  .node .ln:nth-of-type(n+3) { display: none; }
  .feedviz li { font-size: 12px; padding: 7px 8px; }
  .feedviz li:nth-child(3) { display: none; }
}

/* ---------- features ---------- */
.features-grid { display: grid; gap: 16px; margin-top: 52px; }
@media (min-width: 700px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feat {
  position: relative; border-radius: 16px; padding: 22px; overflow: hidden;
  background: linear-gradient(180deg, #1a1a1a, #151515); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--spring);
}
.feat::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--fx, 50%) var(--fy, 0%), rgba(233,196,111,.10), transparent 60%);
}
.feat:hover { border-color: #3d3a33; transform: translateY(-3px); }
.feat:hover::before { opacity: 1; }
.feat h3 { margin: 18px 0 6px; font: 700 1.2rem/1.2 var(--display); letter-spacing: -.02em; }
.feat p { margin: 0; color: var(--soft); font-size: .98rem; }
.fx {
  position: relative; height: 132px; border-radius: 10px; overflow: hidden;
  background: #111; border: 1px solid #262626; font: 11px/1.5 var(--mono); color: #bdb7ac;
}
.fx * { animation-play-state: paused !important; }
.feat.inview .fx * { animation-play-state: running !important; }

/* fx 1: recruit burst */
.fx-recruit .core, .fx-recruit .sat { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.fx-recruit .core { width: 34px; height: 34px; margin: -17px; background: radial-gradient(circle at 35% 30%, #fff2c8, var(--gold) 50%, var(--gold-deep)); box-shadow: 0 0 30px rgba(233,196,111,.5); animation: pulse 3.2s var(--ease) infinite; }
.fx-recruit .sat { width: 12px; height: 12px; margin: -6px; background: #d9d4ca; animation: orbit 3.2s var(--spring) infinite; }
.fx-recruit .sat:nth-child(2) { --a: -150deg; background: #e2895f; }
.fx-recruit .sat:nth-child(3) { --a: -30deg; background: #5cc8b0; animation-delay: .15s; }
.fx-recruit .sat:nth-child(4) { --a: 90deg; background: #b7a2f5; animation-delay: .3s; }
.fx-recruit .ring { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px; border-radius: 50%; border: 1px dashed rgba(233,196,111,.25); }
@keyframes orbit {
  0%, 8% { transform: rotate(var(--a)) translateX(0) scale(.2); opacity: 0; }
  30%, 80% { transform: rotate(var(--a)) translateX(60px) scale(1); opacity: 1; }
  100% { transform: rotate(var(--a)) translateX(60px) scale(1); opacity: 0; }
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.15); } }

/* fx 2: model badges */
.fx-mix { display: grid; place-content: center; gap: 8px; }
.fx-mix .row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; background: #1a1a1a; border: 1px solid #292929; width: 230px; animation: slidein 4.5s var(--ease) infinite; }
.fx-mix .row:nth-child(2) { animation-delay: .25s; } .fx-mix .row:nth-child(3) { animation-delay: .5s; }
.fx-mix .row b { color: var(--ink); font: 600 12px/1 var(--sans); }
.fx-mix .row .d { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
@keyframes slidein { 0% { opacity: 0; transform: translateX(-14px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(10px); } }

/* fx 3: parallel bars */
.fx-par { display: grid; align-content: center; gap: 12px; padding: 0 18px; }
.fx-par .r { display: grid; grid-template-columns: 44px 1fr 38px; align-items: center; gap: 10px; }
.fx-par .r span:first-child { color: var(--ink); }
.fx-par .t { height: 6px; border-radius: 6px; background: #262626; overflow: hidden; }
.fx-par .t i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); animation: par var(--d) var(--ease) infinite; }
.fx-par .r em { font-style: normal; font-size: 9.5px; color: var(--ok); text-align: right; animation: st var(--d) steps(1) infinite; }
@keyframes par { 0% { width: 0; } 70%, 100% { width: 100%; } }
@keyframes st { 0% { color: var(--ok); } 70% { color: var(--mute); } }

/* fx 4: feed */
.fx-feed { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.fx-feed div { padding: 6px 9px; border-radius: 7px; background: #1a1a1a; border: 1px solid #292929; font: 12px/1.35 var(--sans); color: var(--soft); animation: feed 6s var(--ease) infinite; opacity: 0; }
.fx-feed div b { color: var(--ink); }
.fx-feed div i { color: var(--ok); font-style: normal; margin-right: 6px; }
.fx-feed div:nth-child(2) { animation-delay: .9s; } .fx-feed div:nth-child(3) { animation-delay: 1.8s; }
@keyframes feed { 0% { opacity: 0; transform: translateY(-8px); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }

/* fx 5 & 6: typing prompts */
.fx-type { padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.fx-type .o { color: #8a857c; }
.fx-type .o .c { color: #8fb8ff; }
.fx-type .in { display: flex; gap: 8px; color: var(--ink); border-top: 1px solid #262626; padding-top: 8px; margin-top: 4px; }
.fx-type .in span { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 0; animation: typing 5s steps(30) infinite; border-right: 2px solid var(--gold); }
.fx-type .in.p2 span { animation-duration: 5.6s; }
@keyframes typing { 0% { max-width: 0; } 50%, 85% { max-width: 100%; } 100% { max-width: 0; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 0;
  font: 600 1.08rem/1.35 var(--sans); color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .35s var(--spring), border-color .2s, background-color .2s; }
.faq-list summary .pm::before, .faq-list summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px -5px; background: var(--ink); transition: transform .3s var(--ease); }
.faq-list summary .pm::after { transform: rotate(90deg); }
.faq-list details[open] summary .pm { transform: rotate(180deg); border-color: var(--gold); background: rgba(233,196,111,.08); }
.faq-list details[open] summary .pm::after { transform: rotate(0deg); }
.faq-list summary:hover .pm { border-color: #555; }
.faq-list summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.faq-list .a { padding: 0 44px 22px 0; color: var(--soft); }
.faq-list .a p { margin: 0; }
.faq-list .a a { color: var(--gold); text-underline-offset: 3px; }

/* ---------- final CTA ---------- */
.final { padding: 140px 0 60px; }
.final-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 72px 24px;
  text-align: center; display: grid; justify-items: center; gap: 22px;
  background: radial-gradient(90% 120% at 50% 0%, #2a2318 0%, #171614 55%, #141414 100%);
  box-shadow: 0 0 0 1px var(--line);
}
.final-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
}
.final-card > * { position: relative; }
.final-card .helm { width: 96px; height: 96px; filter: drop-shadow(0 18px 30px rgba(233,196,111,.35)); }
@media (prefers-reduced-motion: no-preference) { .final-card .helm { animation: bob 5s ease-in-out infinite; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.final-card h2 { max-width: 16ch; }
.final-card p { margin: 0; color: var(--soft); max-width: 46ch; font-size: 1.1rem; }
.final-card small { color: var(--mute); font-size: 13px; }

/* ---------- footer ---------- */
footer.site {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
  padding: 44px 0 48px; color: var(--soft); font-size: 14px;
}
footer.site nav { display: flex; gap: 20px; }
footer.site a { text-decoration: none; }
footer.site a:hover, footer.site a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- intro ---------- */
html.intro body { overflow: hidden; }
.nav { transition: border-color .3s ease, background-color .3s ease, opacity .6s var(--ease), transform .7s var(--ease); }
html.intro .nav { opacity: 0; transform: translateY(-14px); pointer-events: none; }
html.intro .eyebrow, html.intro h1 .w, html.intro .side { opacity: 0; animation: none !important; }
html.intro h1 .mk::before { animation: none !important; transform: rotate(-1.6deg) scaleX(0); }
html.intro .demo-meta, html.intro section.block, html.intro .final, html.intro footer.site { opacity: 0; }
.demo-meta { transition: opacity .7s var(--ease) .45s; }
html.intro .mock-frame, html.intro-played .mock-frame, html.intro-played .demo-meta { animation: none !important; }
html.intro-skipped .eyebrow, html.intro-skipped h1 .w, html.intro-skipped .side, html.intro-skipped h1 .mk::before { animation: none !important; }
html.intro-skipped .nav, html.intro-skipped .demo-meta { transition: none; }

html.intro .mock-frame { transition: background-color .6s ease, box-shadow .6s ease; }
html.intro :is(.mock, .wp, .wp-shade, .rail, .desk, .guild, .bar, .bar .proj, .bar .vr, .counts, .usage, .bar .right, .bar .me, .cmd) {
  transition: opacity .6s ease, background-color .6s ease, border-color .6s ease, box-shadow .6s ease, transform .9s var(--spring);
}
html.intro .mock-frame::before { transition: opacity .6s ease; }
html.intro.intro-b .desk { transition-delay: .05s; }
html.intro.intro-b .rail { transition-delay: .2s; }
html.intro.intro-b .guild { transition-delay: .3s; }
html.intro:not(.intro-b) .mock-frame { background: transparent; box-shadow: none; }
html.intro:not(.intro-b) .mock-frame::before { opacity: 0; }
html.intro:not(.intro-b) .mock { background: transparent; }
html.intro:not(.intro-b) :is(.wp, .wp-shade, .rail, .desk, .guild, .bar .proj, .bar .vr, .counts, .usage, .bar .right) { opacity: 0; }
html.intro:not(.intro-b) .bar { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.intro:not(.intro-b) .bar .me { transition: none; transform: translateX(var(--me-dx, 0px)) scale(1.15); box-shadow: 0 0 0 1px rgba(233,196,111,.6), 0 0 22px rgba(233,196,111,.35); }
html.intro:not(.intro-b) .cmd { background: rgba(18,16,14,.94); border-color: rgba(233,196,111,.55); box-shadow: 0 0 0 4px rgba(233,196,111,.08), 0 18px 50px -12px rgba(233,196,111,.35); }

.cmd { position: relative; }
.cmd .typed { position: absolute; left: 34px; right: 74px; top: 0; bottom: 0; display: flex; align-items: center; pointer-events: none; white-space: nowrap; font: 12px/1 var(--sans); color: #f6f1e7; }
.mock.compact .cmd .typed { font-size: 16px; left: 36px; right: 64px; }
.cmd .typed .tx { transition: transform .35s var(--ease), opacity .3s ease; }
.cmd .typed .caret { display: inline-block; width: 2px; height: 1.25em; margin-left: 2px; background: var(--gold); box-shadow: 0 0 8px rgba(233,196,111,.9); }
.cmd .typed.wait .caret { animation: blink 1s steps(1) infinite; }
.cmd .typed.sent .tx { transform: translateY(-9px); opacity: 0; }
.cmd .typed.sent .caret { opacity: 0; }
.cmd.typing input { opacity: 0; }
.cmd kbd { transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.cmd.enter kbd { background: var(--gold); color: #151515; border-color: var(--gold); transform: scale(.8); }
.cmd.enter { animation: entflash .6s ease-out; }
@keyframes entflash { 0% { box-shadow: 0 0 0 0 rgba(233,196,111,.8), 0 0 70px rgba(233,196,111,.7); } 100% { box-shadow: 0 0 0 16px rgba(233,196,111,0), 0 0 0 rgba(233,196,111,0); } }
.intro-pulse { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; background: radial-gradient(55% 45% at 50% 52%, rgba(233,196,111,.22), transparent 70%); }
.intro-pulse.go { animation: ipulse .7s ease-out; }
@keyframes ipulse { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }

.intro-skip {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(20,20,20,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); font: 600 13.5px/1 var(--sans); cursor: pointer;
  transition: opacity .4s ease, border-color .2s;
}
.intro-skip:hover { border-color: #5a5a5a; }
.intro-skip:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.intro-skip kbd { font: 600 10px/1 var(--mono); color: var(--mute); border: 1px solid #444; border-radius: 4px; padding: 3px 5px; }
.intro-skip i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.intro-skip.out { opacity: 0; pointer-events: none; }

.replay {
  display: inline-flex; align-items: center; gap: 6px; color: var(--mute); font-size: 13px; text-decoration: none;
  border: 0; background: none; padding: 0; cursor: pointer;
}
.replay:hover, .replay:focus-visible { color: var(--gold); }
.replay svg { transition: transform .5s var(--ease); }
.replay:hover svg { transform: rotate(-200deg); }

/* while the camera moves, swap live backdrop blur for solid glass: same look, far cheaper per frame */
html.intro-anim .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(16,14,13,.9); }
html.intro-anim .bay .rk { filter: none; }

/* keep the intro zoom from widening the page */
html,body{overflow-x:clip}
