:root {
  color-scheme: dark;
  --bg: #07091d;
  --surface: #101534;
  --surface-2: #151b43;
  --text: #f8f8ff;
  --muted: #b8bedb;
  --cyan: #09ebf1;
  --violet: #a958ff;
  --pink: #ff32d2;
  --border: rgba(130, 180, 255, 0.2);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% 8%, rgba(78, 54, 227, 0.28), transparent 30rem),
    radial-gradient(circle at 90% 26%, rgba(255, 32, 210, 0.16), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
.topbar {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.brand-mark { font-size: 1.35rem; }
.city { color: var(--muted); font-size: 0.9rem; }

main { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  padding: 44px 0 72px;
}
.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow), 0 0 60px rgba(14, 225, 240, 0.12);
}
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 70px rgba(5, 6, 25, 0.56);
  pointer-events: none;
}
.hero-image { display: block; width: 100%; height: auto; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
}
h2 { margin-bottom: 0; font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: -0.04em; }
h3 { margin-bottom: 8px; font-size: 1.12rem; }
.lead { max-width: 38rem; margin: 0 0 28px; color: var(--muted); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.button-primary {
  background: linear-gradient(135deg, var(--cyan), #54a3ff 46%, var(--violet));
  color: #05071a;
  box-shadow: 0 12px 32px rgba(42, 213, 255, 0.22);
}
.button-secondary { border-color: var(--border); background: rgba(20, 27, 67, 0.74); color: var(--text); }
.button-secondary:hover { border-color: rgba(29, 235, 241, 0.6); }
.button-wide { width: 100%; margin-top: 26px; }
.trust { margin: 18px 0 0; color: var(--muted); font-size: 0.9rem; }

.section { padding: 86px 0; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(23, 31, 77, 0.9), rgba(12, 16, 43, 0.92));
}
.plan-card > span { display: block; margin-bottom: 24px; font-size: 2rem; }
.plan-card p, .step-list p, .faq p { margin: 0; color: var(--muted); }

.steps {
  max-width: 820px;
  margin: 0 auto;
}
.step-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.step-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 20, 52, 0.8);
}
.step-list li > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(9, 235, 241, 0.2), rgba(169, 88, 255, 0.28));
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 900;
}
.step-list h3 { margin-bottom: 6px; }

.safety {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 7vw, 90px);
  align-items: center;
  margin: 52px 0;
  padding: clamp(32px, 6vw, 66px);
  border: 1px solid rgba(255, 50, 210, 0.27);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 50, 210, 0.18), transparent 28rem),
    var(--surface);
}
.safety p:last-child { margin: 0; color: var(--muted); font-size: 1.05rem; }

.faq { max-width: 820px; margin: 0 auto; }
details { border-top: 1px solid var(--border); }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { padding: 22px 2px; cursor: pointer; font-weight: 800; }
details p { padding: 0 2px 22px; }

.final-cta {
  margin: 72px 0 36px;
  padding: clamp(38px, 8vw, 88px) 24px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 0, rgba(9, 235, 241, 0.22), transparent 25rem),
    radial-gradient(circle at 90% 100%, rgba(169, 88, 255, 0.32), transparent 28rem),
    var(--surface);
  text-align: center;
}
.final-cta h2 { margin-bottom: 28px; }
.actions-center { justify-content: center; }

footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 58px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
footer p { margin: 0; }
footer a { color: var(--cyan); }
.legal { flex-basis: 100%; opacity: 0.78; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-image-wrap { order: 2; }
  .hero-copy { order: 1; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .safety { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .topbar { min-height: 62px; }
  .city { font-size: 0; }
  .city::after { content: "СПБ · 18+"; font-size: 0.82rem; }
  main { width: min(100% - 24px, 1160px); }
  .hero { min-height: 0; gap: 30px; padding-bottom: 50px; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.2rem); }
  .lead { font-size: 1rem; }
  .actions { display: grid; }
  .button { width: 100%; }
  .hero-image-wrap { border-radius: 22px; }
  .section { padding: 62px 0; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; }
  .step-list li { grid-template-columns: 46px 1fr; padding: 18px; }
  .step-list li > span { width: 46px; height: 46px; border-radius: 14px; }
  .safety { margin: 28px 0; border-radius: 22px; }
  .final-cta { margin-top: 46px; border-radius: 22px; }
  footer { width: min(100% - 24px, 1160px); flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
