:root {
  --bg: #0e0e13;
  --surface: #18181f;
  --surface-2: #211f2b;
  --border: #2b2937;
  --text: #f4f3f8;
  --muted: #a6a3b5;
  --brand: #8b5cf6;
  --brand-deep: #4c2f8f;
  --brand-soft: #2a1f47;
  --green: #10b981;
  --radius: 22px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: 40px 0 80px;
}
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--brand-soft); color: #c4b5fd; font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 15px;
}
.store small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.2; }
.hero-phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 250px; border-radius: 34px; overflow: hidden;
  border: 8px solid #1d1b26; box-shadow: 0 30px 80px rgba(76, 47, 143, .45);
}
.phone.back { right: 10px; top: 0; transform: rotate(6deg); opacity: .9; }
.phone.front { left: 20px; top: 50px; transform: rotate(-4deg); }

/* Sections */
section { padding: 80px 0; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 0 44px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.step img { border-radius: 16px; margin-bottom: 18px; aspect-ratio: 9 / 15; object-fit: cover; object-position: top; width: 100%; }
.step .num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-soft); color: #c4b5fd; font-weight: 700; font-size: 14px; margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.criteria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.criterion { background: var(--surface-2); border-radius: 18px; padding: 18px; }
.criterion b { display: block; margin-bottom: 4px; }
.criterion span { color: var(--muted); font-size: 14px; }

.private { background: linear-gradient(160deg, var(--brand-deep), #24164a); border-radius: 32px; padding: 56px; }
.private .section-lead { color: #d9d0f5; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fact { background: rgba(14, 14, 19, .35); border-radius: 18px; padding: 20px 22px; }
.fact b { display: block; margin-bottom: 4px; font-size: 16px; }
.fact span { color: #d9d0f5; font-size: 15px; }
.private a.more { display: inline-block; margin-top: 28px; color: #fff; font-weight: 600; }

.pass { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.plan.free { border-color: var(--brand); }
.plan h3 { margin: 0 0 6px; }
.plan p { margin: 0; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 34px 0 50px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; padding: 30px 0 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #d6d4e0; font-size: 16px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); color: #d6d4e0; }
.legal th { color: var(--text); font-weight: 600; }
.note { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 10px; }
  .hero-phones { height: 440px; max-width: 380px; margin: 0 auto; width: 100%; }
  .phone { width: 190px; }
  .steps, .criteria, .facts, .pass { grid-template-columns: 1fr 1fr; }
  .private { padding: 34px 22px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .steps, .criteria, .facts, .pass { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border: none; padding: 4px 0; }
  .legal tr { border-bottom: 1px solid var(--border); padding: 10px 0; }
}
