:root {
  --bg: #f6f6f4; --card: #fff; --text: #1b1b1a; --muted: #6b6b66; --line: #e4e3df;
  --accent: #e5484d; --accent-hover: #d13d42; --ok: #1f8a5b;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161615; --card: #20201f; --text: #ededea; --muted: #a1a19b; --line: #2f2f2d; --accent: #f05a5f; --accent-hover: #ff6d71; --ok: #3fbf85; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.logo img { width: 30px; height: 30px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--text); }
.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 auto 18px; max-width: 760px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; }
.btn:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.small { font-size: 14px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } nav a.hide-sm { display: none; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
section { padding: 36px 0; }
section > h2 { font-size: 28px; letter-spacing: -0.015em; margin: 0 0 18px; }
.steps { counter-reset: s; display: grid; gap: 12px; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan .price { font-size: 30px; font-weight: 750; margin: 6px 0 2px; }
.plan ul { padding-left: 18px; margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.plan.pro { border-color: var(--accent); }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 8px 0 0; }
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; margin-top: 30px; color: var(--muted); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
.doc { max-width: 720px; padding: 30px 0 20px; }
.doc h1 { font-size: 34px; letter-spacing: -0.02em; }
.doc h2 { font-size: 20px; margin-top: 30px; }
.doc p, .doc li { color: var(--text); }
.cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
nav a.nav-pro { color: var(--accent); font-weight: 650; }
.plan { display: flex; flex-direction: column; }
.plan ul { flex: 1; }
.plan-btn { margin-top: 18px; justify-content: center; }
.lead { color: var(--muted); font-size: 17px; max-width: 760px; margin: 0; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
