:root {
  --bg: #f6f7f9; --card: #fff; --text: #14171f; --muted: #5d6573; --line: #e3e6eb;
  --accent: #1f6feb; --accent-dark: #1858c2; --ok: #1a7f37; --bad: #c62828; --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1218; --card: #171b23; --text: #e8ebf0; --muted: #9aa3b2; --line: #2a303b;
          --accent: #4c8dff; --accent-dark: #3a77e6; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header { border-bottom: 1px solid var(--line); background: var(--card); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 800; font-size: 20px; text-decoration: none; color: var(--text); letter-spacing: -.3px; }
.logo span { color: var(--accent); }
nav a { margin-left: 18px; text-decoration: none; color: var(--muted); font-weight: 500; }
nav a:hover { color: var(--text); }
main { padding: 40px 0 64px; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -.8px; }
h2 { font-size: 28px; margin: 56px 0 20px; letter-spacing: -.4px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.btn { display: inline-block; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 600;
       background: var(--accent); color: #fff; cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { background: var(--accent-dark); }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.secondary:hover { border-color: var(--muted); }
.btn.block { display: block; width: 100%; }
input[type=email], input[type=text], input[type=number] {
  width: 100%; padding: 12px 14px; font: inherit; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text); }
input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
label.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 12px 0; }
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 16px; }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; }
.plan .box { border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--card); height: 100%; }
.plan input:checked + .box { border-color: var(--accent); }
.plan .price { font-size: 30px; font-weight: 800; }
.plan .per { color: var(--muted); font-size: 14px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px;
         background: var(--accent); color: #fff; margin-left: 6px; vertical-align: middle; }
.feature b { display: block; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); }
.key { font: 600 22px/1.3 ui-monospace, Consolas, monospace; background: var(--bg); border: 1px dashed var(--line);
       padding: 14px 16px; border-radius: 10px; word-break: break-all; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; word-break: break-all; }
.muted { color: var(--muted); }
.ok { color: var(--ok); } .bad { color: var(--bad); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }
.narrow { max-width: 520px; margin: 0 auto; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px;
                    border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700;
                    display: grid; place-items: center; }
@media (max-width: 560px) { nav a:not(.btn) { display: none; } }
