:root {
  --bg: #f7f8fb; --surface: #ffffff; --text: #141a2e; --muted: #5a6280; --line: #e3e6ef;
  --accent: #e8562b; --accent-ink: #ffffff; --code-bg: #0f1528; --code-text: #e8ecf8; --good: #13915f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1020; --surface: #121a31; --text: #eef1fa; --muted: #9aa3c0; --line: #233056;
    --accent: #ff6a3d; --accent-ink: #0b1020; --code-bg: #060a16; --code-text: #e8ecf8; --good: #3ddc97;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1020; --surface: #121a31; --text: #eef1fa; --muted: #9aa3c0; --line: #233056;
  --accent: #ff6a3d; --accent-ink: #0b1020; --code-bg: #060a16; --code-text: #e8ecf8; --good: #3ddc97;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 12px; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--code-bg); display: grid; place-items: center; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--text); }
.hero { padding: 48px 0 32px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5.5vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; max-width: 16ch; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 56ch; margin: 0 0 28px; }
.install { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.cmd { display: flex; align-items: center; gap: 10px; background: var(--code-bg); color: var(--code-text); border-radius: 12px; padding: 14px 16px; font: 15px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; max-width: 100%; overflow-x: auto; }
.cmd .p { color: #ff8a65; user-select: none; }
.copy { background: transparent; border: 1px solid #33406a; color: var(--code-text); border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; padding: 14px 20px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.note { color: var(--muted); font-size: 14px; margin-top: 12px; }
section { padding: 44px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 10px; letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0 0 26px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ask { font-style: italic; color: var(--text) !important; }
.status { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.status code { font: 14px ui-monospace, Menlo, Consolas, monospace; background: var(--bg); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.status span { color: var(--muted); font-size: 15px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 60px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.figure { margin-top: 22px; background: #0b1020; border-radius: 14px; padding: 12px; }
.figure img { width: 100%; height: auto; display: block; }
.apps { display: flex; flex-wrap: wrap; gap: 8px; }
.apps span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
@media (max-width: 560px) { nav a:not(.gh) { display: none; } .hero { padding-top: 28px; } }

.page h1{max-width:22ch}
table.cmp{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;font-size:15px}
table.cmp th,table.cmp td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
table.cmp th{font-size:14px;color:var(--muted)}
.tablewrap{overflow-x:auto}
.yes{color:var(--good);font-weight:600}
pre{background:var(--code-bg);color:var(--code-text);border-radius:12px;padding:14px 16px;overflow-x:auto;font:14px/1.5 ui-monospace,Menlo,Consolas,monospace}
.crumbs{font-size:14px;color:var(--muted);margin:8px 0 0}
.crumbs a{color:var(--muted)}
.waitlist{display:grid;gap:14px;max-width:440px}
.waitlist label{display:grid;gap:6px;font-weight:600;font-size:15px}
.waitlist input,.waitlist select,.waitlist textarea{font:inherit;padding:12px 14px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--text)}
.waitlist button{justify-content:center;cursor:pointer;font:inherit;font-weight:600}
.hp{position:absolute;left:-9999px}
.legal h2{font-size:20px;margin:32px 0 8px}
.legal p,.legal li{color:var(--muted);max-width:68ch}

/* ---------- Motion + depth ---------- */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --shadow: 0 1px 2px rgba(16,24,48,.06), 0 8px 24px rgba(16,24,48,.08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35); } }
:root[data-theme="dark"] { --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35); }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }

.bg-glow { position: fixed; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%); filter: blur(10px); }

.top-bar { position: sticky; top: 0; z-index: 10; transition: background-color 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease; border-bottom: 1px solid transparent; }
.top-bar.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
nav a.gh { color: var(--accent); font-weight: 600; }

.btn { transition: transform 160ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease; }
.btn:active, .copy:active, .tabs button:active { transform: scale(0.97); }
.btn.primary { box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(0.97); }
  .card, .plan, .flow li { transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 200ms ease; }
  .card:hover, .plan:hover, .flow li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
}

/* Hero */
.hero-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 56px 0 48px; }
.hl { background: linear-gradient(90deg, #ffb05c, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.trust li::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 6px; }
.tilt { will-change: transform; transform-style: preserve-3d; }
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow), 0 30px 60px -20px color-mix(in srgb, var(--accent) 25%, transparent); }
.chat-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.chat-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.bubble { margin: 0 0 12px; border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.bubble.you { background: var(--accent); color: var(--accent-ink); margin-left: auto; width: fit-content; max-width: 85%; font-weight: 500; }
.bubble.ai { background: var(--bg); border: 1px solid var(--line); }
.ai-h { margin: 0 0 8px; font-weight: 700; }
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.todo li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.todo span { color: var(--muted); white-space: nowrap; }
.todo .done b { text-decoration: line-through; color: var(--muted); font-weight: 500; }
.todo .done span { color: var(--good); }
.todo .due span { color: var(--accent); font-weight: 600; }
.ai-foot { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.art-note { text-align: right; font-size: 12px; color: var(--muted); margin: 8px 4px 0; }

/* Steps */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.flow li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.flow h3 { margin: 12px 0 6px; font-size: 18px; }
.flow p { margin: 0; color: var(--muted); font-size: 15px; }
.num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-weight: 800; }

/* Setup */
.setup { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); max-width: 760px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.tabs button { font: inherit; font-size: 15px; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 9px; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.panel { animation: panel-in 260ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
.mini { margin: 0 0 18px; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.mini b { color: var(--text); }
.setup .cmd { margin-top: 8px; justify-content: space-between; }
.cmd.big { font-size: 17px; padding: 16px 18px; }
.cmd .copy { margin-left: auto; transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.copy.copied { background: var(--good); border-color: transparent; color: #06140e; }
.copy span { display: inline-block; transition: filter 200ms ease, opacity 200ms ease; }
kbd { font: 13px ui-monospace, Menlo, monospace; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--bg); color: var(--text); }

/* Status, plans, faq, final */
.status-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.status-list > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.status-list p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill.ok { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.pill.todo { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.pill.wait { background: color-mix(in srgb, #6b8afd 18%, transparent); color: #6b8afd; }
.pill.late { background: color-mix(in srgb, var(--muted) 18%, transparent); color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; max-width: 760px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-size: 36px; font-weight: 800; margin: 6px 0 12px; letter-spacing: -0.02em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 18px; margin: 0 0 20px; color: var(--muted); display: grid; gap: 4px; flex: 1; }
.plan .btn { justify-content: center; }
.plan-pro { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface)); }
details summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-weight: 400; transition: transform 200ms var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
.final { text-align: center; padding: 64px 0; }
.final h2 { max-width: 22ch; margin: 0 auto 22px; }

/* Reveal on scroll (only when JS is running, so content never stays hidden) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .wipe { clip-path: inset(0 0 100% 0 round 14px); transition: clip-path 1000ms var(--ease-in-out); }
.js .wipe.in { clip-path: inset(0 0 0 0 round 14px); }
.enter { animation: enter 800ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes enter { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .js .wipe { clip-path: none; opacity: 0; transition: opacity 300ms ease; }
  .js .wipe.in { opacity: 1; }
  .enter { animation: fade 300ms ease both; }
  @keyframes fade { from { opacity: 0; } }
  .panel { animation: none; }
}

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; }
  .flow { grid-template-columns: 1fr; }
}
.top-bar .top { padding: 14px 16px; }
form.inline { display: contents; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.cmd > span:not(.p) { min-width: 0; overflow-wrap: anywhere; }
p code, li code, .note code { overflow-wrap: anywhere; }
body { overflow-x: clip; }
.only-phone { display: none; }
.phone .only-phone { display: block; }
.phone .only-laptop { display: none; }
