:root {
  --bg: #07070d;
  --surface: #0f0f19;
  --surface-2: #151524;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ededf5;
  --muted: #9b9bb4;
  --violet: #8b6cff;
  --cyan: #22d3ee;
  --lime: #a3e635;
  --claude: #f4a06b;
  --codex: #34d399;
  --grok: #93c5fd;
  --human: #fbbf24;
  --danger: #fb7185;
  --grad: linear-gradient(100deg, #a58bff 0%, #22d3ee 55%, #a3e635 100%);
  --radius: 18px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', var(--font);
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* ambient glows */
.glow { position: fixed; z-index: -1; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(120px); opacity: 0.22; pointer-events: none; }
.glow-a { background: #6d4aff; top: -30vmax; left: -20vmax; }
.glow-b { background: #0891b2; top: 10vmax; right: -30vmax; opacity: 0.16; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--font); color: #0a0a12;
  background: var(--grad); background-size: 140% 100%;
  box-shadow: 0 8px 30px -8px rgba(139, 108, 255, 0.6);
  transition: transform .15s ease, background-position .4s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); background-position: 100% 0; box-shadow: 0 12px 36px -8px rgba(34, 211, 238, 0.55); }
.btn:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(7, 7, 13, 0.72); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 16px var(--display); white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); position: relative; box-shadow: 0 0 20px rgba(139, 108, 255, .5); }
.brand-mark::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 2px solid #0a0a12; }
.nav-links { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

/* hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, .03); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 1.8s infinite; }
h1 { font-size: clamp(38px, 5.4vw, 64px); margin: 22px 0 20px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.hero-points li::before { content: '✓'; color: var(--lime); margin-right: 8px; font-weight: 700; }

/* the day: 24 blocks under the hero's call to action */
.day-clock { margin: 30px 0 0; max-width: 520px; }
.day-bar { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.day-bar i { height: 22px; border-radius: 3px; background: rgba(34, 211, 238, .35); position: relative; transform-origin: bottom; animation: rise .6s ease both; }
.day-bar i.you { background: var(--human); }
.day-bar i.now::after { content: ''; position: absolute; inset: -3px; border: 2px solid var(--text); border-radius: 5px; animation: pulse 1.6s infinite; }
.day-clock figcaption { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font: 12px var(--mono); color: var(--muted); }
.day-clock figcaption i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.k-agents { background: rgba(34, 211, 238, .35); }
.k-you { background: var(--human); }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* run card */
.run-card {
  background: linear-gradient(180deg, rgba(21, 21, 36, .92), rgba(12, 12, 20, .92));
  border: 1px solid var(--line-2); border-radius: 20px; padding: 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(139, 108, 255, .08), 0 0 80px -20px rgba(139, 108, 255, .35);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.run-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 500 13px var(--mono); }
.win-dots { display: inline-flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a3d; }
.win-dots i:nth-child(1) { background: #ff5f57; } .win-dots i:nth-child(2) { background: #febc2e; } .win-dots i:nth-child(3) { background: #28c840; }
.run-title { color: var(--muted); }
.run-status { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(34, 211, 238, .12); color: var(--cyan); font-size: 12px; }
.run-status.wait { background: rgba(251, 191, 36, .14); color: var(--human); }
.run-status.done { background: rgba(163, 230, 53, .14); color: var(--lime); }
.steps { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.steps li {
  display: grid; grid-template-columns: 1fr auto 26px; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  font: 500 14px var(--mono); color: var(--muted); transition: all .35s ease;
}
.steps li.active { color: var(--text); border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .07); box-shadow: 0 0 24px -6px rgba(34, 211, 238, .5); }
.steps li.done { color: var(--text); }
.steps li.gate { border-style: dashed; }
.steps li.gate.active { border-color: rgba(251, 191, 36, .6); background: rgba(251, 191, 36, .07); box-shadow: 0 0 24px -6px rgba(251, 191, 36, .5); }
.step-state { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); justify-self: end; position: relative; }
.steps li.active .step-state { border-color: var(--cyan); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li.gate.active .step-state { border-color: var(--human); animation: pulse 1.2s infinite; }
.steps li.done .step-state { border-color: var(--lime); background: var(--lime); }
.steps li.done .step-state::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: #0a0a12; font-weight: 700; }
.chip { font: 600 11px var(--font); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.chip-claude { color: var(--claude); background: rgba(244, 160, 107, .12); }
.chip-codex { color: var(--codex); background: rgba(52, 211, 153, .12); }
.chip-grok { color: var(--grok); background: rgba(147, 197, 253, .12); }
.chip-human { color: var(--human); background: rgba(251, 191, 36, .12); }
.run-log { padding: 12px 14px; border-radius: 12px; background: #0a0a12; border: 1px solid var(--line); font: 13px var(--mono); color: var(--text); min-height: 46px; }
.run-log .prompt { color: var(--violet); }

.works-with { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 64px; padding: 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 14px; }
.works-with ul { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
.works-with li { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font: 600 15px var(--display); }
.pdot { width: 10px; height: 10px; border-radius: 50%; }
.pdot-claude { background: var(--claude); box-shadow: 0 0 10px var(--claude); }
.pdot-codex { background: var(--codex); box-shadow: 0 0 10px var(--codex); }
.pdot-grok { background: var(--grok); box-shadow: 0 0 10px var(--grok); }

/* sections */
.section { padding: 110px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(139, 108, 255, .04) 20%, rgba(34, 211, 238, .03) 80%, transparent); }
.kicker { font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin-bottom: 16px; }
h2 { font-size: clamp(30px, 4vw, 48px); max-width: 22ch; }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.benefit { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease; overflow: hidden; }
.benefit::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); opacity: 0; transition: opacity .25s; }
.benefit:hover { transform: translateY(-4px); border-color: var(--line-2); }
.benefit:hover::before { opacity: 1; }
.b-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(139, 108, 255, .12); border: 1px solid rgba(139, 108, 255, .3); margin-bottom: 22px; }
.b-icon svg { width: 30px; height: 30px; fill: none; stroke: #c4b5fd; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 21px; margin-bottom: 12px; }
.benefit p { color: var(--muted); font-size: 15px; }
.b-sub { font: 600 13px var(--mono); color: var(--cyan); margin: -4px 0 12px; }
.more-title { font-size: 22px; margin: 56px 0 20px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perk { display: flex; gap: 14px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .2s, background .2s; }
.perk:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.perk-i { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font: 700 16px var(--mono); color: #c4b5fd; background: rgba(139, 108, 255, .12); border: 1px solid rgba(139, 108, 255, .3); }
.perk b { font: 600 15px var(--display); }
.perk p { color: var(--muted); font-size: 14px; margin-top: 4px; }.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: '→'; color: var(--cyan); font-weight: 700; flex: none; }
.ticks-lg { font-size: 16px; gap: 12px; margin-top: 28px; }

/* features: scroll story */
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font: 600 13px var(--mono); }
.tag-violet { color: #c4b5fd; background: rgba(139, 108, 255, .14); border: 1px solid rgba(139, 108, 255, .35); }
.tag-cyan { color: var(--cyan); background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .3); }
.tag-lime { color: var(--lime); background: rgba(163, 230, 53, .1); border: 1px solid rgba(163, 230, 53, .3); }
.tag-amber { color: var(--human); background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .3); }
.story-lead { margin-top: 16px; }
.story { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 56px; margin-top: 24px; }
.story-step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s ease; }
.story-step.active { opacity: 1; }
.story-step .tag { align-self: flex-start; }
.story-step h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 16px 0 14px; }
.story-step > p { color: var(--muted); }
.story-slot { display: none; }
.story-stage { position: sticky; top: max(88px, calc(50vh - 290px)); align-self: start; margin-top: 12vh; }
.story-dots { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.story-dots li { width: 28px; height: 4px; border-radius: 2px; background: var(--line-2); transition: background .3s, width .3s; }
.story-dots li.active { width: 44px; background: var(--grad); }

.shot-frame { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0b12; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(139, 108, 255, .45); }
.shot-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.shot-label { font: 500 12px var(--mono); color: var(--muted); }
.shot-stage { display: grid; aspect-ratio: 14 / 9; background: #0b0b12; }
.story-media { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; opacity: 0; transition: opacity .5s ease; }
.story-media.active { opacity: 1; }

/* how */
.how { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.how li { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.how-n { font: 700 14px var(--mono); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how h3 { font-size: 19px; margin: 14px 0 8px; }
.how p { color: var(--muted); font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { padding: 28px 24px; display: grid; gap: 6px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { font: 700 clamp(32px, 3.4vw, 44px)/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: 14px; }

/* waitlist */
.waitlist { position: relative; }
.waitlist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 56px; border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(120% 120% at 0% 0%, rgba(139, 108, 255, .16), transparent 55%), radial-gradient(120% 120% at 100% 100%, rgba(34, 211, 238, .12), transparent 55%), var(--surface); }
.waitlist-copy .lead { margin-top: 18px; }
.form { display: grid; gap: 16px; padding: 28px; border-radius: 20px; background: rgba(7, 7, 13, .7); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #0b0b14; color: var(--text); font: 16px var(--font); transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #5f5f78; }
.field input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 108, 255, .18); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.hint { color: #6f6f88; font-size: 12px; }
.err { color: var(--danger); font-size: 13px; min-height: 0; }
.err:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--violet); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14px; color: var(--danger); text-align: center; }
.form-msg:empty { display: none; }
.privacy { font-size: 12px; color: #6f6f88; text-align: center; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(10, 10, 18, .35); border-top-color: #0a0a12; animation: spin .7s linear infinite; }
.success { text-align: center; padding: 40px 28px; border-radius: 20px; background: rgba(7, 7, 13, .7); border: 1px solid rgba(163, 230, 53, .4); display: grid; gap: 14px; justify-items: center; }
.form[hidden], .success[hidden] { display: none; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; color: #0a0a12; background: var(--lime); box-shadow: 0 0 40px rgba(163, 230, 53, .5); }
.success h3 { font-size: 28px; }
.success p { color: var(--muted); max-width: 40ch; }

/* faq */
.faq-wrap h2 { margin-bottom: 40px; }
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 600 17px var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cyan); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

.final-cta { padding: 60px 0 120px; text-align: center; }
.final-cta h2 { margin: 0 auto 36px; max-width: 24ch; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* reveal on scroll (main.js adds .in) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes dash { to { stroke-dashoffset: -18; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid, .story, .waitlist-grid { grid-template-columns: 1fr; }
  .story-stage { display: none; }
  .story-step { min-height: 0; opacity: 1; margin-top: 64px; }
  .story-slot { display: block; margin-top: 28px; }
  .story-slot .story-media { opacity: 1; }
  .benefits { grid-template-columns: 1fr; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .how, .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .run-card { transform: none; }
  .nav-links { display: none; }
  .waitlist-grid { padding: 32px; }
}

@media (max-width: 560px) {
  .hero { padding-top: 40px; }
  .section { padding: 72px 0; }
  .how, .facts, .perks { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
  .waitlist-grid { padding: 20px; border-radius: 20px; }
  .form { padding: 20px; }
  .works-with { border-radius: 20px; }
  .nav .btn-sm { padding: 8px 12px; font-size: 13px; }
  .brand span:last-child { font-size: 14px; }
  .hero-cta .btn { width: 100%; }
}
