* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand-50: #eef5ff;
  --brand-100: #d9e8ff;
  --brand-200: #bcd7ff;
  --brand-500: #3377ff;
  --brand-600: #1a55f5;
  --brand-700: #1340e1;
  --surface-50: #f8f9fb;
  --surface-100: #f0f1f5;
  --surface-200: #e4e6ed;
  --surface-400: #a8adc0;
  --surface-500: #8389a1;
  --surface-700: #575c70;
  --surface-900: #404350;
  --surface-950: #1e1f27;
  --green: #0f8f6f;
  --amber: #c77600;
  --paper: #ffffff;
  --ink: #1a1a2e;
  --shadow: 0 24px 80px rgba(20, 31, 87, .14);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 42%, #ffffff 100%);
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(228, 230, 237, .8);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-600);
  color: white;
  box-shadow: 0 12px 28px rgba(26, 85, 245, .24);
}

.brand-title {
  display: block;
  font-size: 18px;
  line-height: 1.05;
}

.brand-subtitle {
  display: block;
  color: var(--surface-500);
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--surface-700);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand-600);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-600);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(26, 85, 245, .24);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--brand-700);
  box-shadow: 0 20px 42px rgba(26, 85, 245, .3);
}

.button.secondary {
  background: #fff;
  color: var(--brand-600);
  border: 1px solid var(--brand-200);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--brand-50);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .78fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 66px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .94;
  letter-spacing: 0;
  color: var(--surface-950);
}

.lead {
  max-width: 680px;
  margin-top: 24px;
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--surface-700);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.fact {
  padding: 16px;
  border: 1px solid var(--surface-200);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}

.fact strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  color: var(--surface-950);
}

.fact span {
  display: block;
  margin-top: 7px;
  color: var(--surface-500);
  font-size: 14px;
  font-weight: 700;
}

.login-card {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid rgba(228, 230, 237, .7);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(26, 85, 245, .18), rgba(15, 143, 111, .15));
  z-index: -1;
}

.login-card h2 {
  font-size: 26px;
  line-height: 1.08;
  margin-bottom: 8px;
}

.login-card p {
  color: var(--surface-500);
  font-size: 15px;
  margin-bottom: 18px;
}

.login-buttons {
  display: grid;
  gap: 10px;
}

.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
}

.login-button.yandex {
  background: #fc3f1d;
}

.login-button.vk {
  background: #0077ff;
}

.login-button.email {
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
}

.legal-links {
  margin-top: 16px;
  color: var(--surface-500);
  font-size: 12px;
}

.legal-links a {
  color: var(--surface-700);
}

.visual-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.visual-strip img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--surface-50);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--surface-50);
  border-top: 1px solid var(--surface-200);
  border-bottom: 1px solid var(--surface-200);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  color: var(--brand-600);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: var(--surface-950);
}

.section-head p {
  margin-top: 16px;
  color: var(--surface-700);
  font-size: 19px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--surface-200);
  box-shadow: 0 10px 30px rgba(20, 31, 87, .06);
}

.card h3 {
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--surface-950);
}

.card p {
  color: var(--surface-700);
  font-size: 16px;
}

.card .tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 9px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 900;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--surface-200);
  border-radius: 16px;
  background: #fff;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-950);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.step p {
  color: var(--surface-700);
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.quote {
  padding: 28px;
  border-radius: 18px;
  background: var(--surface-950);
  color: #fff;
}

.quote strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.quote p {
  color: rgba(255, 255, 255, .78);
}

.list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--surface-200);
  color: var(--surface-700);
}

.list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.pricing {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.price-card {
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid var(--brand-200);
  box-shadow: var(--shadow);
}

.price {
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
  color: var(--brand-600);
}

.price small {
  font-size: 22px;
}

.footer {
  padding: 42px 0;
  background: var(--surface-950);
  color: rgba(255, 255, 255, .68);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer a {
  color: #fff;
}

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(26, 85, 245, .08);
  color: var(--surface-700);
  font-size: 14px;
}

@media (max-width: 920px) {
  .hero,
  .split,
  .pricing {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .topbar-inner {
    min-height: 64px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    padding: 36px 0 44px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .visual-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .step {
    grid-template-columns: 1fr;
  }
}
