@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin-var.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f5f6; --surface: #ffffff; --surface-2: #efeff1; --ink: #111214; --muted: #666b75;
  --line: #e6e7ea; --accent: #2b3aff; --accent-ink: #ffffff; --stage: #0a0a0b;
  --shadow: 0 1px 2px rgba(16, 18, 24, .04), 0 10px 30px rgba(16, 18, 24, .07);
  --shadow-lg: 0 2px 4px rgba(16, 18, 24, .04), 0 24px 60px rgba(16, 18, 24, .12);
  --ok: #0f9d58; --warn: #b7791f; --bad: #d92d3a;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c0c0d; --surface: #161618; --surface-2: #1f1f22; --ink: #f3f3f4; --muted: #9a9ba3;
  --line: #28282c; --accent: #6573ff; --accent-ink: #0b0c1a; --stage: #000000;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .5), 0 24px 60px rgba(0, 0, 0, .5);
  --ok: #3ddc97; --warn: #f5b942; --bad: #ff7b7b;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 10px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 10px; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- floating pill nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 30; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.nav-pill { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; width: min(880px, 100%); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border-radius: 999px; padding: 8px 8px 8px 10px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; padding-right: 6px; }
.logo-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { filter: brightness(.96); }
.icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: block; }
:root[data-theme="dark"] .icon-btn .moon { display: none; }
@media (max-width: 760px) { .nav-links { display: none; } .nav-pill { justify-content: space-between; } }

/* ---------- buttons & pill form ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 15px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(1.1); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { opacity: .88; }
.btn-light { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn[disabled] { opacity: .6; cursor: progress; }
.pill-form { display: flex; align-items: center; gap: 8px; width: min(480px, 100%); background: var(--surface); border-radius: 999px; padding: 6px 6px 6px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); margin: 0 auto; }
.pill-form input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 400 16px var(--sans); height: 44px; outline: 0; }
.pill-form:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.pill-form input::placeholder { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; text-align: center; }
.msg.ok { color: var(--ok); } .msg.err { color: var(--bad); }

/* ---------- hero ---------- */
.hero { padding: 132px 0 0; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 14px; font-weight: 500; color: var(--muted); box-shadow: var(--shadow); }
.badge svg { width: 16px; height: 16px; color: var(--accent); }
h1 { font-weight: 500; font-size: clamp(40px, 7vw, 80px); line-height: 1.02; letter-spacing: -.04em; margin: 22px auto 20px; max-width: 14ch; text-wrap: balance; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 54ch; margin: 0 auto 32px; text-wrap: pretty; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); }

/* ---------- device stage ---------- */
.stage { background: var(--stage); border-radius: 36px; margin-top: 64px; padding: 64px 32px 72px; position: relative; overflow: hidden; }
:root[data-theme="dark"] .stage { border: 1px solid var(--line); }
.stage-cap { color: #8d8f98; font-size: 13px; text-align: center; margin: 28px 0 0; }
.devices { position: relative; width: min(820px, 100%); margin: 0 auto; }
.laptop { width: min(720px, 88%); }
.laptop-screen { background: #0d0f12; border: 10px solid #26282d; border-bottom-width: 12px; border-radius: 18px 18px 4px 4px; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.laptop-screen::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(transparent, #0d0f12); pointer-events: none; }
.laptop-base { height: 14px; background: linear-gradient(#c6c9cf, #878b93); border-radius: 0 0 18px 18px; width: 108%; margin-left: -4%; position: relative; }
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 5px; transform: translateX(-50%); background: #6f737b; border-radius: 0 0 8px 8px; }
.tbar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid #22262c; }
.tbar i { width: 10px; height: 10px; border-radius: 50%; background: #2d3139; }
pre.t { margin: 0; padding: 16px 18px; color: #dfe4ea; font: 12.5px/1.7 var(--mono); overflow: hidden; white-space: pre; text-align: left; }
.t .m { color: #7d8794; } .t .b { color: #ff7b7b; font-weight: 700; } .t .w { color: #f5b942; font-weight: 700; } .t .g { color: #3ddc97; } .t .a { color: #8fa0ff; }

.phone { position: absolute; right: 0; bottom: -28px; width: 208px; aspect-ratio: 9 / 18.5; background: #111; border: 7px solid #1c1d21; border-radius: 36px; box-shadow: 0 30px 60px rgba(0,0,0,.55); overflow: hidden; }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 62px; height: 17px; transform: translateX(-50%); background: #000; border-radius: 12px; z-index: 3; }
.phone-screen { position: absolute; inset: 0; background: #f2f3f5; padding: 40px 14px 14px; }
.skel { height: 14px; border-radius: 8px; background: #dcdee3; margin-bottom: 10px; }
.skel.s1 { width: 58%; height: 20px; } .skel.s2 { width: 90%; } .skel.s3 { width: 74%; } .skel.s4 { height: 78px; border-radius: 14px; margin-top: 16px; }
.scrim { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.dialog { position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-50%); background: #fff; color: #1b1d21; border-radius: 22px; padding: 16px 14px 8px; box-shadow: 0 18px 40px rgba(0,0,0,.35); font-size: 12px; line-height: 1.35; }
.dialog b { display: block; font-size: 14px; margin-bottom: 4px; }
.dialog span { color: #5d626b; }
.dialog .opts { display: grid; margin: 10px -14px 0; border-top: 1px solid #ececef; }
.dialog .opts i { font-style: normal; text-align: center; padding: 9px 0; color: #3552e8; font-weight: 600; }
.dialog .opts i + i { border-top: 1px solid #ececef; }
@media (max-width: 820px) {
  .stage { padding: 40px 14px 56px; border-radius: 28px; }
  .laptop { width: 100%; }
  .phone { width: 118px; right: -4px; bottom: -34px; border-width: 5px; border-radius: 24px; }
  .dialog { font-size: 8px; padding: 10px 8px 4px; border-radius: 14px; left: 8px; right: 8px; }
  .dialog b { font-size: 9.5px; }
  .dialog .opts i { padding: 5px 0; }
  .skel { height: 9px; margin-bottom: 7px; } .skel.s1 { height: 13px; } .skel.s4 { height: 50px; }
  pre.t { font-size: 10px; padding: 12px; }
  .phone-screen { padding: 28px 9px 9px; }
}

/* ---------- sections ---------- */
section { padding: 96px 0 0; }
.eyebrow { text-align: center; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .02em; margin: 0 0 12px; }
h2 { font-weight: 500; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.06; letter-spacing: -.035em; margin: 0 auto 16px; text-align: center; max-width: 18ch; text-wrap: balance; }
.sub { color: var(--muted); text-align: center; max-width: 56ch; margin: 0 auto 44px; font-size: 18px; text-wrap: pretty; }

.minis { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 72px; }
.mini { background: var(--surface); border-radius: 24px; padding: 26px 22px; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mini .dot, .step .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; margin: 0 auto 16px; }
.mini h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.mini p { margin: 0; color: var(--muted); font-size: 15px; }

/* two big questions on a dark stage */
.duo { background: var(--stage); border-radius: 36px; padding: 56px 24px 24px; }
:root[data-theme="dark"] .duo { border: 1px solid var(--line); }
.duo h2 { color: #fff; max-width: 20ch; }
.duo .sub { color: #9a9ca5; margin-bottom: 40px; }
.qgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.q { background: #f1f1f3; color: #111214; border-radius: 26px; padding: 30px 28px 0; display: flex; flex-direction: column; overflow: hidden; min-height: 430px; }
.q .tag { align-self: flex-start; font-size: 12px; font-weight: 600; background: #fff; border-radius: 999px; padding: 4px 12px; color: #555a64; margin-bottom: 16px; }
.q h3 { margin: 0 0 10px; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; font-weight: 500; }
.q p { margin: 0 0 22px; color: #5d626b; font-size: 16px; }
.q .snip { margin-top: auto; margin-inline: -28px -28px; background: #0d0f12; border-radius: 20px 20px 0 0; }
.q .snip pre.t { font-size: 12px; padding: 16px 18px 20px; }
.q.help { background: #181a1f; color: #fff; }
.q.help .tag { background: #26292f; color: #aeb1ba; }
.q.help p { color: #a3a6af; }
.q.help .push { margin-top: auto; padding-bottom: 28px; }

/* steps */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.step .dot { margin: 0 0 18px; }
.step h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--muted); }
.note { margin: 20px auto 0; max-width: 760px; background: var(--surface-2); border-radius: 20px; padding: 18px 22px; color: var(--muted); font-size: 15px; }
.note strong { color: var(--ink); }

/* pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 780px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.pro { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.plan h3 { margin: 0; font-size: 18px; font-weight: 600; }
.price { font-size: 52px; font-weight: 500; letter-spacing: -.04em; margin: 10px 0 4px; line-height: 1.1; }
.price small { font-size: 16px; font-weight: 400; opacity: .65; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.plan li { display: flex; gap: 10px; padding: 6px 0; opacity: .85; font-size: 15px; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.plan.pro li svg { color: #7df0b5; }
.soon { opacity: .6; font-size: 13px; }

/* contact */
.contact-card { background: var(--surface); border-radius: 36px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 48px 28px; max-width: 760px; margin: 0 auto; }
.contact-card h2 { margin-bottom: 10px; }
.contact-card .sub { margin-bottom: 28px; }
form.contact { display: grid; gap: 14px; max-width: 560px; margin: 0 auto; }
.seg { display: flex; background: var(--surface-2); border-radius: 999px; padding: 5px; gap: 4px; border: 0; margin: 0; }
.seg legend { position: absolute; left: -9999px; }
.seg label { flex: 1; text-align: center; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 11px 8px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--bg); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { width: 100%; background: var(--surface-2); border: 1px solid transparent; border-radius: 22px; padding: 14px 20px; font: 400 16px var(--sans); color: var(--ink); }
.field::placeholder { color: var(--muted); }
.field:focus { outline: 3px solid var(--accent); outline-offset: 1px; background: var(--surface); }
textarea.field { min-height: 130px; resize: vertical; }
.contact .btn { width: 100%; min-height: 52px; font-size: 16px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 2px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
details p { color: var(--muted); margin: 0 0 16px; }
code { font: .9em var(--mono); background: var(--surface-2); padding: 2px 7px; border-radius: 8px; }

/* footer */
.foot { margin: 96px 0 24px; background: var(--surface-2); border-radius: 36px; padding: 44px 36px 32px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; }
.foot-sub { max-width: 380px; }
.foot-sub p { color: var(--muted); font-size: 15px; margin: 12px 0 18px; }
.foot-sub .pill-form { margin: 0; }
.foot-cols { display: flex; gap: 56px; }
.foot-cols h4 { margin: 0 0 12px; font-size: 14px; }
.foot-cols a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; font-size: 15px; }
.foot-cols a:hover { color: var(--ink); }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.prose { max-width: 70ch; padding: 130px 0 40px; }
.prose h1 { font-size: 44px; max-width: none; text-align: left; margin: 0 0 12px; }
.prose h2 { font-size: 22px; text-align: left; margin: 32px 0 8px; max-width: none; letter-spacing: -.02em; }
.prose p { color: var(--muted); }

/* ---------- install ---------- */
.installs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.install { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.install h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.install .where, .install .hint { margin: 0; color: var(--muted); font-size: 15px; }
.install .dl { margin: 6px 0 0; }
.cmd { display: flex; align-items: center; gap: 10px; background: var(--stage); color: #eceef3; border-radius: 16px; padding: 10px 10px 10px 16px; margin-top: 6px; min-width: 0; }
.cmd code { flex: 1; min-width: 0; background: none; padding: 0; color: inherit; font-size: 13px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.cmd .copy { flex: none; border: 0; border-radius: 999px; padding: 8px 14px; font: 600 13px var(--sans); background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.cmd .copy:hover { background: rgba(255, 255, 255, .24); }
.cmd .copy.done { background: var(--ok); }
.install.win { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; }
.install.win .dl { margin: 0; }
.install.win .text { flex: 1 1 280px; }
