:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #111114;
  --muted: #5c5c66;
  --accent: #3b5bfd;
  --accent-text: #ffffff;
  --border: #e3e3e8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f12;
    --surface: #1a1a20;
    --text: #f2f2f5;
    --muted: #a0a0ab;
    --accent: #6b85ff;
    --accent-text: #0f0f12;
    --border: #2a2a33;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
header { padding: 20px 0; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.logo { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); }
h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 32px 0 16px; letter-spacing: -0.02em; }
h2 { font-size: 28px; margin: 56px 0 16px; letter-spacing: -0.01em; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--accent-text);
  font: inherit; font-weight: 600; padding: 14px 24px; border-radius: 12px;
}
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.note { color: var(--muted); font-size: 14px; margin-top: 10px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan { position: relative; }
.plan.best { border: 2px solid var(--accent); }
.badge {
  position: absolute; top: -12px; right: 16px; background: var(--accent); color: var(--accent-text);
  font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px;
}
.price { font-size: 32px; font-weight: 700; margin: 8px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .btn { width: 100%; text-align: center; margin-top: 16px; }
footer { margin: 72px 0 32px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); }
.center { text-align: center; }
.steps { counter-reset: s; list-style: none; padding: 0; max-width: 520px; margin: 24px auto; text-align: left; }
.steps li { counter-increment: s; padding: 12px 0 12px 44px; position: relative; border-bottom: 1px solid var(--border); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; font-weight: 600;
}
#qr { display: inline-block; padding: 12px; background: #fff; border-radius: 12px; margin: 16px 0; }
.hidden { display: none; }
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10; max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15); font-size: 15px;
}
.consent p { margin: 0 0 12px; }
.consent a { color: var(--accent); }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent .btn { padding: 10px 18px; }
.legal { max-width: 720px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal a { color: var(--accent); }
