:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --ink: #181b21;
  --muted: #5d6470;
  --line: #e2e6ee;
  --accent: #1f6feb;
  --accent-ink: #ffffff;
  --soft: #eaf1fe;
  --radius: 16px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a20;
    --ink: #eceef2;
    --muted: #a0a7b3;
    --line: #2a2f38;
    --accent: #2f6fdb;
    --soft: #1b2638;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 17px; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.top { border-bottom: 1px solid var(--line); background: var(--surface); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
nav a:hover { color: var(--ink); }

.btn { display: inline-block; padding: 12px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:hover { filter: brightness(1.05); }

.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero img { border-radius: var(--radius); border: 1px solid var(--line); }

section { padding: 48px 0; }
h2 { font-size: 30px; letter-spacing: -0.01em; margin: 0 0 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps .card::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 700; margin-bottom: 10px; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; }
.price { font-size: 40px; font-weight: 700; margin: 6px 0 2px; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.card ul { padding-left: 20px; margin: 14px 0 20px; color: var(--muted); }
.card.pro { border: 2px solid var(--accent); }

.limits li { margin-bottom: 6px; color: var(--muted); }

.doc { max-width: 760px; padding: 48px 20px 72px; margin: 0 auto; }
.doc h1 { font-size: 36px; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); margin-right: 16px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .grid3, .steps, .pricing { grid-template-columns: 1fr; }
  nav a.hide-sm { display: none; }
}
