:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #182238;
  --muted: #5a6885;
  --line: rgba(24, 34, 56, 0.12);
  --brand: #0e5bff;
  --brand-dark: #0a3fb5;
  --accent: #ff5f2e;
  --ok: #00a884;
  --radius-lg: 28px;
  --radius-md: 16px;
  --shadow: 0 18px 56px rgba(12, 36, 87, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Onest", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(900px 480px at 12% -10%, rgba(14, 91, 255, 0.2), transparent 72%),
              radial-gradient(640px 360px at 95% 14%, rgba(255, 95, 46, 0.12), transparent 66%),
              var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.background-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.34;
}

.background-glow--top {
  top: -140px;
  left: -140px;
  background: #2f80ff;
}

.background-glow--bottom {
  right: -160px;
  bottom: -180px;
  background: #ff764b;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo__badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand), #2b86ff);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.6px;
  box-shadow: 0 10px 22px rgba(14, 91, 255, 0.28);
  line-height: 1;
}

.logo__text-wrap {
  display: grid;
  gap: 1px;
}

.logo__text {
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.logo__subtext {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav a.is-active {
  color: var(--brand);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 4px;
}

.button {
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--ghost {
  background: rgba(14, 91, 255, 0.12);
  color: var(--brand);
}

.button--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(14, 91, 255, 0.28);
}

.button--full {
  width: 100%;
}

.hero {
  display: block;
  margin-top: 8px;
  padding: 22px 0 18px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 168, 132, 0.14);
  color: #0a7a61;
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Unbounded", sans-serif;
  line-height: 1.14;
  font-size: clamp(32px, 4.2vw, 56px);
}

.hero__lead {
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 62ch;
}

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

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  backdrop-filter: blur(8px);
}

.stat-card strong {
  font-size: 28px;
  color: var(--brand);
  display: block;
}

.stat-card span {
  font-size: 13px;
  color: var(--muted);
}

.calc-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  width: 100%;
}

.hero__content {
  grid-area: content;
}

.calc-card h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 24px;
}

.calc-card p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.calc-form {
  display: grid;
  gap: 12px;
}

.switch-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.switch {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}

.switch--active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: transparent;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-weight: 500;
  padding: 11px 12px;
  outline: none;
  background: #fff;
}

input:focus,
select:focus {
  border-color: rgba(14, 91, 255, 0.44);
  box-shadow: 0 0 0 3px rgba(14, 91, 255, 0.12);
}

small {
  display: block;
  margin-top: 12px;
  color: #6f7c98;
  font-size: 12px;
}

section {
  margin: 66px auto 0;
}

.benefits h2,
.partners h2,
.steps h2,
.reviews h2,
.faq h2,
.final-cta h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(24px, 3vw, 38px);
}

.benefits-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  backdrop-filter: blur(6px);
}

.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
}

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

.partners-grid span {
  background: #fff;
  border: 1px dashed rgba(14, 91, 255, 0.34);
  border-radius: 999px;
  padding: 10px 14px;
  text-align: center;
  font-weight: 700;
  color: #22406c;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.partners-grid .partner-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.partners-grid .partner-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
  flex: 0 0 auto;
}

.steps ol {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.steps li {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.steps li strong {
  font-size: 19px;
}

.steps li p {
  margin: 8px 0 0;
  color: var(--muted);
}

.reviews-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

blockquote {
  margin: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

blockquote p {
  margin: 0;
  color: #2b3f67;
}

cite {
  margin-top: 10px;
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.final-cta {
  padding: 32px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, #0a3fb5, #0f63ff 56%, #ff5f2e);
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 56ch;
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 20px 0 30px;
  color: var(--muted);
}

.site-footer a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}


._root_gt11z_1 {
    font-size: 0.5rem !important; 
}

@media (max-width: 1020px) {
  .benefits-grid,
  .steps ol,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav,
  .button--ghost {
    display: none;
  }

  .site-header {
    padding-top: 16px;
  }

  .logo__subtext {
    display: none;
  }

  section {
    margin-top: 50px;
  }

  .hero {
    margin-top: 2px;
  }

  .calc-card,
  .final-cta {
    padding: 20px;
  }

  .benefit-card h3,
  .steps li strong {
    font-size: 18px;
  }

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

/* Стили для десктопа (по умолчанию) */
.menu-toggle {
  display: none; /* Прячем кнопку на компьютере */
}

/* Мобильные стили (например, до 768px) */
@media (max-width: 768px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }

  /* Иконка гамбургера (3 полоски) */
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    position: relative;
  }
  .menu-toggle span::before, .menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
  }
  .menu-toggle span::before { top: -8px; }
  .menu-toggle span::after { bottom: -8px; }

  /* Скрываем навигацию по умолчанию на мобильных */
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 10;
  }

  /* Класс, который будет добавляться через JS */
  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 15px;
    border-bottom: 1px solid #eee;
  }
}

