:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #0e1730;
  --muted: #5b6b8c;
  --line: #e1e6f0;
  --accent: #14213d;
  --accent-text: #ffffff;
  --accent-soft: #edf1fa;
  --lime: #c6f432;
  --on-lime: #14213d;
  --warn-bg: #fff4d6;
  --warn-text: #5c4300;
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b14;
    --surface: #0f1729;
    --text: #f1f4fb;
    --muted: #98a3bd;
    --line: #1d2842;
    --accent: #c6f432;
    --accent-text: #14213d;
    --accent-soft: #162240;
    --lime: #c6f432;
    --on-lime: #14213d;
    --warn-bg: #3a2f10;
    --warn-text: #f3dc9a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 20px; }
.demo, .pricing, form.start, details, .terms { max-width: 700px; }
.legal .wrap { max-width: 720px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-text); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

.preview-banner { background: var(--warn-bg); color: var(--warn-text); text-align: center; font-size: 14px; padding: 8px 16px; }

/* Header */
header.site { padding: 22px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 32px; width: auto; display: block; }
nav.main { display: flex; gap: 22px; font-size: 15px; }
nav.main a { text-decoration: none; color: var(--muted); }
nav.main a:hover, nav.main a:focus-visible { color: var(--text); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer; }

/* Hero */
.hero { padding: 56px 0 40px; }
.eyebrow { color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-size: clamp(36px, 7vw, 58px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 4.5vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -0.01em; }
.lead { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0 0 28px; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-text); text-decoration: none; font-weight: 600; padding: 14px 24px; border-radius: 12px; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }
.section-lead { color: var(--muted); max-width: 600px; margin: 0 0 28px; }

/* Demo card */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 34px; }
.demo-tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 14px; }
.demo-q { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; margin: 0 0 14px; font-weight: 500; }
.demo-a { margin: 0; color: var(--muted); }
.demo-a strong { color: var(--on-lime); background: var(--lime); padding: 1px 6px; border-radius: 6px; }

/* Steps */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Grid of services */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Proof */
.proof-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat .big { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.stat .small { color: var(--muted); font-size: 14px; }

/* Pricing */
.pricing { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tabs { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.tab { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; padding: 9px 18px; border-radius: 9px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-text); }
.price { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.terms { color: var(--muted); margin: 10px 0 22px; }
ul.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
ul.ticks li { padding-left: 28px; position: relative; font-size: 16px; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 6px; height: 11px; border-right: 2.5px solid var(--text); border-bottom: 2.5px solid var(--text); transform: rotate(40deg); }

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

/* Form */
form.start { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; }
input, textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, textarea:focus-visible, .btn:focus-visible, .tab:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

footer.site { border-top: 1px solid var(--line); padding: 32px 0 56px; color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }

.legal h1 { font-size: 38px; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 720px) {
  .menu-btn { display: inline-block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 62px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px 20px 18px; flex-direction: column; gap: 14px; z-index: 10; }
  nav.main.open { display: flex; }
  header.site { position: relative; }
  .steps, .grid, .proof-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .price { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
