:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --card: #ffffff;
  --fg: #18181b;
  --muted: #52525b;
  --subtle: #71717a;
  --line: #e4e4e7;
  --accent: #dc2626;
  --accent-soft: #fef2f2;
  --btn: #18181b;
  --btn-fg: #ffffff;
  --shadow: 0 0 0 1px rgba(24, 24, 27, 0.06), 0 24px 48px -24px rgba(24, 24, 27, 0.35);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f11;
    --bg-soft: #18181b;
    --card: #18181b;
    --fg: #fafafa;
    --muted: #a1a1aa;
    --subtle: #8b8b94;
    --line: #27272a;
    --accent: #f87171;
    --accent-soft: rgba(248, 113, 113, 0.1);
    --btn: #fafafa;
    --btn-fg: #18181b;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 48px -24px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--fg); }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--btn); color: var(--btn-fg); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
.btn svg { width: 20px; height: 20px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -200px 0 auto; height: 520px; background: radial-gradient(600px 300px at 50% 60%, var(--accent-soft), transparent 70%); z-index: -1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); }
h1 { margin: 20px auto 0; max-width: 820px; font-size: clamp(40px, 7vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.lead { margin: 20px auto 0; max-width: 620px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); }
.ctas { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.note { margin-top: 14px; font-size: 14px; color: var(--subtle); }
.demo { margin: 48px auto 0; max-width: 960px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #fafafa; aspect-ratio: 16 / 9; }
.demo video { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
section { padding: 80px 0; }
.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(30px, 4.5vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { margin: 14px 0 0; font-size: 18px; color: var(--muted); }
.center { text-align: center; margin-inline: auto; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 26px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.card h3 { margin: 16px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }

/* Showcase rows */
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.row + .row { margin-top: 88px; }
.row.flip { grid-template-columns: 7fr 5fr; }
.row.flip .copy { order: 2; }
.row h3 { margin: 0; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.row p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.row ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.row li { display: flex; gap: 10px; color: var(--muted); }
.row li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shot { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 28px; padding: 0 8px; border-radius: 7px; font: 600 14px/1 Inter, sans-serif; color: var(--fg); background: var(--card); box-shadow: inset 0 -2px 0 var(--line), 0 0 0 1px var(--line); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 26px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--btn); color: var(--btn-fg); font-weight: 700; }
.step h3 { margin: 16px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Privacy band */
.privacy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--subtle); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* CTA band */
.final { text-align: center; }
.final img { width: 72px; height: 72px; margin: 0 auto 20px; }

/* Footer */
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }
.disclaimer { width: 100%; font-size: 13px; }

/* Prose (privacy page) */
.prose { max-width: 720px; margin: 0 auto; padding: 64px 0 80px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); margin: 0; }
.prose h2 { font-size: 22px; margin: 40px 0 8px; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--muted); }
.prose code { font-size: 14px; padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); }

@media (max-width: 860px) {
  .grid, .steps, .privacy { grid-template-columns: 1fr; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 24px; }
  .row.flip .copy { order: 0; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 480px) {
  .brand span { display: none; }
  section { padding: 56px 0; }
  .hero { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
