:root {
  --bg: #0b0a1a;
  --bg-2: #110f26;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eceaff;
  --soft: #b9b5d9;
  --faint: #8b87ad;
  --accent: #8b80ff;
  --accent-2: #5b4dff;
  --pink: #ff6fb5;
  --green: #4fd1a0;
  --amber: #f0b44c;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--panel-2); padding: 0.1em 0.4em; border-radius: 6px; }
pre { background: #07061a; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; }
pre code { background: none; padding: 0; font-size: 13.5px; line-height: 1.7; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 48px); }
.muted { color: var(--faint); }
.small { font-size: 0.875rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent-2); color: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; color: var(--text);
  border: 1px solid var(--line); background: var(--panel);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); background: var(--panel-2); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), #8b5cff 55%, var(--pink));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 30px rgba(91, 77, 255, 0.35);
}
.btn-primary:hover { background: linear-gradient(135deg, #6a5dff, #9a6cff 55%, #ff80bf); }
.btn-ghost { background: transparent; }
.btn-small { padding: 7px 14px; font-size: 0.92rem; border-radius: 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
body.is-coming .btn-download { opacity: 0.55; pointer-events: none; }
.coming-note { display: none; }
body.is-coming .coming-note { display: block; }
body.is-coming .release-facts { display: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 10, 26, 0.72); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--soft); font-size: 0.95rem; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); text-decoration: none; }
.nav-links .btn { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: 80px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 120%;
  background:
    radial-gradient(45% 45% at 75% 30%, rgba(139, 92, 255, 0.35), transparent 70%),
    radial-gradient(35% 40% at 15% 10%, rgba(91, 77, 255, 0.28), transparent 70%),
    radial-gradient(30% 30% at 90% 80%, rgba(255, 111, 181, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--soft); background: var(--panel); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.grad { background: linear-gradient(120deg, #a99fff, #c084fc 50%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.18rem; color: var(--soft); max-width: 40em; }
.fineprint { font-size: 0.85rem; color: var(--faint); }
.works-with { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.9rem; }
.works-with b { color: var(--soft); font-weight: 600; }

/* App window mock */
.window { border-radius: 14px; background: linear-gradient(180deg, #17142f, #100e22); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(139, 128, 255, 0.08); overflow: hidden; font-size: 12.5px; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; margin-right: 10px; }
.window-body { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.mock-side { padding: 14px 10px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; background: rgba(255, 255, 255, 0.02); }
.mock-side b { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin: 8px 6px 4px; }
.mock-side span { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px; color: var(--soft); }
.mock-side span.on { background: rgba(139, 128, 255, 0.18); color: var(--text); }
.mock-side em { width: 9px; height: 9px; border-radius: 3px; }
.c1 { background: #8b80ff; } .c2 { background: #4fd1a0; } .c3 { background: #f0b44c; } .c4 { background: #6ea8ff; }
.mock-main { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.mock-stats small { display: block; color: var(--faint); font-size: 10.5px; }
.mock-stats strong { font-size: 18px; }
.mock-agent { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock-agent.done { border-color: rgba(79, 209, 160, 0.3); }
.mock-agent-head { display: flex; align-items: center; gap: 8px; color: var(--text); }
.mock-agent-head b { color: var(--accent); }
.pill { font-size: 10.5px; padding: 2px 7px; border-radius: 999px; font-weight: 600; }
.pill.live { background: rgba(255, 111, 181, 0.15); color: var(--pink); }
.pill.ok { background: rgba(79, 209, 160, 0.15); color: var(--green); }
.mock-log { margin: 8px 0 6px; padding: 8px 10px; border-radius: 8px; background: #08071a; font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--soft); }
.t-tool { color: var(--amber); font-weight: 600; margin-right: 6px; }
.t-text { color: var(--faint); }
.mock-meta { color: var(--faint); font-size: 11px; margin-top: 4px; }

/* Sections */
.section { padding: 96px 0; }
.section.tight { padding: 56px 0 80px; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.section h2 { max-width: 22em; }
.section-lede { color: var(--soft); font-size: 1.1rem; max-width: 44em; }
.more { margin-top: 28px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--soft); font-size: 0.95rem; margin: 0; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent-2), #a855f7); font-weight: 700; margin-bottom: 14px; }

.features, .sec-grid, .costs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.features article, .sec-grid article, .costs article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.features p, .sec-grid p, .costs p { color: var(--soft); font-size: 0.95rem; margin: 0; }
.sec-grid h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--green); margin-right: 10px; vertical-align: middle; box-shadow: 0 0 10px rgba(79, 209, 160, 0.6); }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.modes article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.modes p { color: var(--soft); }
.checks { list-style: none; padding: 0; margin: 16px 0 24px; }
.checks li { position: relative; padding-left: 28px; margin: 8px 0; color: var(--soft); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--soft); margin: 12px 0 0; }

.cta-band { padding: 80px 0; background: radial-gradient(60% 120% at 50% 0%, rgba(91, 77, 255, 0.28), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner p { color: var(--soft); margin: 0; }
.cta-inner .cta-row { margin: 0; }

/* Pricing, download, prose */
.page-head { position: relative; padding: 88px 0 24px; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: -60% 0 auto; height: 160%; background: radial-gradient(40% 50% at 50% 20%, rgba(139, 92, 255, 0.25), transparent 70%); pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 18em; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 34px; display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(139, 128, 255, 0.5); box-shadow: 0 0 0 1px rgba(139, 128, 255, 0.2), 0 30px 80px rgba(91, 77, 255, 0.18); }
.plan h2 { font-size: 1.5rem; margin-bottom: 6px; }
.price { font-size: 2.8rem; font-weight: 750; letter-spacing: -0.03em; margin: 4px 0 6px; }
.price span { font-size: 1rem; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.plan .checks { flex: 1; }
.plan .btn { justify-content: center; }
.plan .small { margin: 12px 0 0; text-align: center; }
.badge { position: absolute; top: 18px; right: 18px; margin: 0; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: rgba(139, 128, 255, 0.14); padding: 4px 10px; border-radius: 999px; }

.release-facts { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 12px 32px; margin: 32px 0 0; padding: 20px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.release-facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.release-facts dd { margin: 4px 0 0; }
.release-facts .sha { grid-column: 1 / -1; }
.release-facts .sha code { word-break: break-all; font-size: 0.8rem; }
.copy { margin-left: 8px; font: inherit; font-size: 0.8rem; color: var(--accent); background: none; border: 1px solid var(--line); border-radius: 7px; padding: 2px 8px; cursor: pointer; }
.install { padding-left: 22px; color: var(--soft); }
.install li { margin: 10px 0; }
.install b { color: var(--text); }
.section .wrap > h3 { margin-top: 36px; }
.prose p { color: var(--soft); }
.prose h2 { font-size: 1.4rem; margin-top: 36px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: #08071a; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin: 0 0 12px; }
.footer-grid a:not(.brand) { display: block; color: var(--soft); font-size: 0.93rem; margin: 6px 0; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .features, .sec-grid, .costs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 24px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links { display: flex; }
  .hero { padding-top: 48px; }
  .steps, .features, .sec-grid, .costs, .modes, .plans { grid-template-columns: 1fr; }
  .window-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .release-facts { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
