:root {
  --bg0: #1f232b; --bg1: #242933; --bg2: #2e3440; --bg3: #3b4252; --bg4: #434c5e;
  --fg: #eceff4; --fg2: #d8dee9; --muted: #9aa5b8;
  --frost: #88c0d0; --frost2: #81a1c1; --blue: #5e81ac;
  --green: #a3be8c; --yellow: #ebcb8b; --orange: #d08770; --purple: #b48ead;
  --radius: 14px;
  --font: Inter, "Ubuntu Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "Ubuntu Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg0); color: var(--fg2); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--frost); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
kbd { font: 600 0.85em var(--mono); background: var(--bg3); color: var(--fg); border: 1px solid var(--bg4); border-bottom-width: 3px; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }

/* Nav */
nav { position: sticky; top: 0; z-index: 10; background: rgba(31, 35, 43, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--bg3); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--fg); }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--frost), var(--blue)); display: grid; place-items: center; color: var(--bg0); font-weight: 800; font-size: 16px; }
nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
nav ul a { color: var(--muted); }
nav ul a:hover { color: var(--fg); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 16px; transition: transform .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--frost); color: var(--bg0); box-shadow: 0 8px 24px rgba(136, 192, 208, 0.25); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(136, 192, 208, 0.4); }
.btn-ghost { color: var(--fg); border: 1px solid var(--bg4); }
.btn-ghost:hover { border-color: var(--frost2); }

/* Hero */
.hero { padding: 56px 0 72px; text-align: center; background:
    radial-gradient(800px 400px at 50% -10%, rgba(94, 129, 172, 0.35), transparent 70%),
    linear-gradient(var(--bg0), var(--bg0)); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--frost); background: rgba(136, 192, 208, 0.1); border: 1px solid rgba(136, 192, 208, 0.25); padding: 6px 14px; border-radius: 999px; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.03em; color: var(--fg); margin: 24px auto 20px; max-width: 900px; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--frost), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--muted); max-width: 680px; margin: 0 auto 36px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.platform { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Mockup */
.mock { margin: 64px auto 0; max-width: 960px; text-align: left; background: var(--bg2); border: 1px solid var(--bg4); border-radius: var(--radius); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); overflow: hidden; }
.mock-tabs { display: flex; background: var(--bg1); border-bottom: 1px solid var(--bg3); font-size: 13px; }
.mock-tabs span { padding: 10px 18px; color: var(--muted); border-right: 1px solid var(--bg3); }
.mock-tabs span.on { color: var(--fg); background: var(--bg2); box-shadow: inset 0 2px 0 var(--frost); }
.mock-body { display: grid; grid-template-columns: 1fr 300px; min-height: 380px; }
.doc { padding: 28px 36px; font-size: 15px; position: relative; }
.doc h3 { color: var(--fg); font-size: 22px; margin: 0 0 12px; }
.doc p { margin: 0 0 14px; color: var(--fg2); }
.sel { background: rgba(136, 192, 208, 0.22); outline: 1px solid rgba(136, 192, 208, 0.5); border-radius: 3px; }
.bubble { position: relative; margin: 4px 0 18px 30px; max-width: 360px; background: var(--bg3); border: 1px solid var(--frost2); border-radius: 12px; padding: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.bubble::before { content: ""; position: absolute; top: -7px; left: 40px; width: 12px; height: 12px; background: var(--bg3); border-left: 1px solid var(--frost2); border-top: 1px solid var(--frost2); transform: rotate(45deg); }
.bubble .text { color: var(--fg); font-size: 14px; min-height: 42px; }
.bubble .text::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--frost); vertical-align: text-bottom; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bubble .bar { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; color: var(--muted); }
.mic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg4); color: var(--frost); }
.side { border-left: 1px solid var(--bg3); background: var(--bg1); padding: 18px; font-size: 13px; }
.side h4 { margin: 0 0 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.c { background: var(--bg2); border: 1px solid var(--bg3); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.c .where { font: 11px var(--mono); color: var(--muted); }
.c .what { color: var(--fg2); margin-top: 4px; }
.c .st { float: right; font-weight: 700; }
.c.done { opacity: .55; } .c.done .st { color: var(--green); }
.c.ask .st { color: var(--yellow); }
.c.ask .reply { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--bg4); color: var(--yellow); }
.c.work .st { color: var(--frost); }

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--bg1); border-top: 1px solid var(--bg3); border-bottom: 1px solid var(--bg3); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--frost); margin-bottom: 12px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; color: var(--fg); margin: 0 0 18px; }
.sub { font-size: 19px; color: var(--muted); max-width: 720px; margin: 0 0 48px; }
.center { text-align: center; } .center .sub { margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--bg2); border: 1px solid var(--bg3); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--frost), var(--blue)); color: var(--bg0); font-weight: 800; margin-bottom: 18px; }
.step h3 { color: var(--fg); margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.points { list-style: none; padding: 0; margin: 0; }
.points li { padding: 14px 0 14px 36px; position: relative; border-bottom: 1px solid var(--bg3); }
.points li:last-child { border-bottom: 0; }
.points li::before { content: "→"; position: absolute; left: 4px; color: var(--frost); font-weight: 700; }
.points strong { color: var(--fg); }


.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg2); border: 1px solid var(--bg3); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--bg4); transform: translateY(-2px); }
.card .icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { color: var(--fg); margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.vision { background: linear-gradient(135deg, rgba(94, 129, 172, 0.18), rgba(180, 142, 173, 0.14)); border: 1px solid var(--bg4); border-radius: 20px; padding: 56px; }
.vision p { font-size: 19px; max-width: 760px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); border: 1px solid rgba(180, 142, 173, 0.4); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }

.nope { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.nope span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--bg4); color: var(--muted); text-decoration: line-through; text-decoration-color: var(--orange); }


.star-ask { margin: 40px auto 0; max-width: 620px; color: var(--fg); font-size: 18px; }

.agents { margin: -12px auto 36px; }
.agents-label { display: block; font-size: 17px; color: var(--muted); margin-bottom: 14px; }
.agents-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.agent { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--bg4); color: var(--fg); font-weight: 600; font-size: 16px; }
.agents-more { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

.lead strong { color: var(--fg); font-weight: 600; }

pre { background: var(--bg0); border: 1px solid var(--bg3); border-radius: 10px; padding: 16px 20px; overflow-x: auto; font: 14px/1.6 var(--mono); color: var(--fg); text-align: left; }
.final { text-align: center; padding: 110px 0; background: radial-gradient(700px 300px at 50% 100%, rgba(94, 129, 172, 0.3), transparent 70%); }
.install { max-width: 620px; margin: 36px auto 0; }

footer { border-top: 1px solid var(--bg3); padding: 32px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.nav-right { display: flex; align-items: center; gap: 14px; }

/* GitHub star */
.btn-star { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fg); border: 1px solid var(--bg4); border-radius: 8px; padding: 5px 10px; }
.btn-star:hover { border-color: var(--yellow); color: var(--yellow); text-decoration: none; }
.star-count { padding-left: 8px; margin-left: 2px; border-left: 1px solid var(--bg4); color: var(--muted); }

/* Guide */
.guide { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 64px 24px 96px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 15px; }
.toc a { display: block; color: var(--muted); padding: 6px 0; }
.toc a:hover { color: var(--fg); text-decoration: none; }
.prose { min-width: 0; }
.prose h1 { font-size: 44px; margin: 0 0 12px; text-align: left; }
.prose h2 { font-size: 30px; margin: 64px 0 16px; padding-top: 8px; }
.prose h3 { color: var(--fg); font-size: 20px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--fg2); }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose code { font: 0.88em var(--mono); background: var(--bg2); border: 1px solid var(--bg3); border-radius: 5px; padding: 1px 6px; color: var(--fg); }
.prose pre code { background: none; border: 0; padding: 0; }
.note { background: rgba(136, 192, 208, 0.08); border-left: 3px solid var(--frost); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bg3); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 860px) {
.guide { grid-template-columns: 1fr; gap: 24px; }
.toc { position: static; }
  nav ul { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .side { border-left: 0; border-top: 1px solid var(--bg3); }
  .bubble { margin-left: 0; }
nav .nav-right .btn-primary { display: none; }
.platform-guide { display: none; }
.hero { padding: 40px 0 56px; }
h1 { margin-top: 18px; }
.mock { margin-top: 40px; }
.logo { font-size: 0; gap: 0; }
  .steps, .grid, .split { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .vision { padding: 32px; }
  section { padding: 72px 0; }
}

/* Real screenshots and demo */
.steps.shots { grid-template-columns: 1fr; gap: 20px; }
.steps.shots .step { display: grid; grid-template-columns: 2fr 3fr; column-gap: 40px; align-items: center; }
.steps.shots .step::before { grid-column: 1; grid-row: 1; align-self: end; }
.steps.shots .step-text { grid-column: 1; grid-row: 2; align-self: start; }
.steps.shots .step-shot { grid-column: 2; grid-row: 1 / span 2; display: flex; justify-content: center; min-width: 0; }
.step-shot img { display: block; max-width: 100%; max-height: 340px; width: auto; height: auto; border-radius: 8px; border: 1px solid var(--bg4); }
.demo { display: block; width: 100%; height: auto; margin-top: 40px; border-radius: var(--radius); border: 1px solid var(--bg4); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); background: var(--bg1); }
@media (max-width: 860px) {
  .steps.shots .step { grid-template-columns: 1fr; row-gap: 0; }
  .steps.shots .step-shot { grid-column: 1; grid-row: 3; margin-top: 20px; }
}
