:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-soft: #eef5ff;
  --ink: #102033;
  --muted: #5d6d82;
  --line: rgba(16, 32, 51, 0.12);
  --brand: #1f66f2;
  --brand-dark: #1550c7;
  --cyan: #00a8e8;
  --green: #0b8f74;
  --magenta: #7c3df2;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(22, 62, 120, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(245, 248, 255, 0.9);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.topbar__nav,
.topbar__phone {
  display: flex;
  align-items: center;
}

.brand {
  display: grid;
  gap: 2px;
  justify-items: start;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand__logo {
  display: block;
  width: 160px;
  height: auto;
}

.brand__caption {
  margin-left: 2px;
  color: #7a8798;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--brand), var(--cyan));
  font-weight: 900;
}

.brand__text {
  color: #2566df;
}

.topbar__nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.topbar__nav a:hover {
  color: var(--brand-dark);
}

.topbar__phone {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.08);
  font-weight: 900;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  color: #ffffff;
}

.hero__image {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 64, 0.88) 0%, rgba(14, 62, 144, 0.72) 42%, rgba(14, 62, 144, 0.2) 72%),
    linear-gradient(0deg, rgba(5, 16, 34, 0.4), rgba(5, 16, 34, 0.05) 42%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 40px;
  align-items: center;
  width: min(1200px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 70px 0 56px;
}

.hero__content h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 22px;
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 14px;
  color: #7dd9ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__facts span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.hero__facts strong {
  font-size: 23px;
}

.lead-card,
.check-form,
.final-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lead-card {
  padding: 24px;
  color: var(--ink);
}

.lead-card__head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.lead-card__head strong {
  font-size: 25px;
}

.lead-card__head span,
.form-note,
.section-head p,
.check-copy p,
.check-copy li {
  color: var(--muted);
  line-height: 1.5;
}

.field {
  position: relative;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field span {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.field input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: #fbfdff;
  color: var(--ink);
  font-size: 17px;
  outline: none;
}

.field--large input {
  min-height: 68px;
  font-size: 20px;
}

.field input:focus {
  border-color: rgba(31, 102, 242, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 102, 242, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
}

.button--primary {
  width: 100%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--magenta));
}

.button--primary:hover {
  filter: brightness(1.04);
}

.button--wide {
  min-height: 66px;
  font-size: 18px;
}

.form-note {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 13px;
}

.form-note.is-error {
  color: var(--danger);
}

.form-note.is-success {
  color: var(--green);
  font-weight: 800;
}

.consent-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin: 12px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.consent-check input {
  appearance: none;
  display: grid;
  width: 20px;
  height: 20px;
  margin: 0;
  place-items: center;
  border: 1.5px solid rgba(16, 32, 51, 0.28);
  border-radius: 5px;
  background: #ffffff;
  accent-color: var(--brand);
}

.consent-check input:checked {
  border-color: var(--brand);
  background: var(--brand);
}

.consent-check input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border: solid #ffffff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translateY(-1px);
}

.consent-check span {
  min-width: 0;
}

.consent-check a,
.legal-page a,
.cookie-banner a {
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-check--optional {
  margin-bottom: 14px;
}

.suggestions {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  right: 0;
  z-index: 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(31, 41, 55, 0.14);
}

.suggestions button {
  width: 100%;
  border: 0;
  padding: 13px 14px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.suggestions button:hover {
  background: var(--surface-soft);
}

.section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.compact {
  padding: 64px 0;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-band article,
.tariff-card,
.steps li,
.faq-list details,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.trust-band article {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.trust-band span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.trust-band strong {
  font-size: 20px;
}

.trust-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-head--row p {
  max-width: 390px;
}

.section-head h2,
.check-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
}

.tariff-tabs {
  display: inline-flex;
  gap: 6px;
  margin: 0 0 18px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.tariff-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.tariff-tabs button.is-active {
  background: var(--surface-soft);
  color: var(--brand-dark);
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tariff-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 24px;
}

.tariff-card.is-hidden {
  display: none;
}

.tariff-card--accent {
  border-color: rgba(31, 102, 242, 0.34);
  box-shadow: var(--shadow);
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(31, 102, 242, 0.1);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.tariff-card h3 {
  margin: 22px 0 12px;
  font-size: 27px;
  line-height: 1.08;
}

.price {
  margin-bottom: 18px;
  font-size: 36px;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 16px;
}

.tariff-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}

.tariff-card dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.tariff-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.tariff-card dd {
  margin: 0;
  color: #26384d;
  line-height: 1.4;
}

.tariff-card .button {
  margin-top: auto;
}

.check-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 30px;
  align-items: center;
  padding: 48px;
  border-radius: 8px;
  background: #102033;
  color: #ffffff;
}

.seo-copy {
  padding-top: 48px;
}

.seo-copy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.seo-copy p {
  margin: 0 0 16px;
  color: #334155;
  font-size: 17px;
  line-height: 1.65;
}

.seo-copy p:last-child {
  margin-bottom: 0;
}

.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.internal-links a,
.district-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.district-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-page {
  min-height: 100vh;
  padding-bottom: 60px;
}

.seo-page__hero {
  padding-top: 86px;
  padding-bottom: 38px;
}

.seo-page__hero .eyebrow {
  color: var(--brand);
}

.seo-page__hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.seo-page__hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.5;
}

.seo-page__button {
  width: fit-content;
  margin-top: 28px;
}

.check-copy .eyebrow {
  color: #7dd9ff;
}

.check-copy p,
.check-copy li {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.check-copy ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.check-form {
  padding: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding: 22px;
}

.steps span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand);
  font-weight: 900;
}

.steps strong {
  font-size: 18px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
  padding: 42px;
}

.final-form {
  display: grid;
  grid-template-columns: 1fr 0.7fr auto;
  gap: 12px;
  align-items: start;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.final-form .button {
  width: auto;
  margin-top: 21px;
}

.final-form .form-note {
  grid-column: 1 / -1;
}

.final-form .consent-check {
  grid-column: 1 / -1;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer__notice {
  max-width: 420px;
  line-height: 1.5;
}

.footer__columns {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.footer__support {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  justify-content: flex-end;
  color: var(--muted);
}

.footer__support span {
  font-weight: 800;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: flex-end;
}

.footer a,
.footer__links a {
  color: var(--ink);
  font-weight: 900;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(640px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner .button {
  min-height: 44px;
  width: auto;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
}

.legal-page h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.legal-page h2 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.legal-page p,
.legal-page li {
  color: #334155;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .topbar__nav {
    display: none;
  }

  .hero__inner,
  .check-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: 0;
    padding-top: 56px;
  }

  .hero__image::after {
    background:
      linear-gradient(180deg, rgba(8, 28, 64, 0.9) 0%, rgba(14, 62, 144, 0.76) 62%, rgba(14, 62, 144, 0.5) 100%),
      linear-gradient(0deg, rgba(5, 16, 34, 0.25), rgba(5, 16, 34, 0.1));
  }

  .trust-band,
  .tariff-grid,
  .seo-copy__grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .section-head--row {
    display: block;
  }

  .final-form {
    grid-template-columns: 1fr;
  }

  .final-form .button {
    width: 100%;
    margin-top: 0;
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer__columns,
  .footer__support,
  .footer__links {
    justify-content: start;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .topbar {
    width: min(100% - 24px, 1200px);
  }

  .brand__text {
    display: none;
  }

  .brand__logo {
    width: 130px;
  }

  .brand__caption {
    font-size: 9px;
  }

  .topbar__phone {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero__inner,
  .section,
  .footer {
    width: min(100% - 24px, 1200px);
  }

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

  .hero__lead {
    font-size: 18px;
  }

  .hero__facts span {
    width: 100%;
  }

  .lead-card,
  .check-form,
  .final-cta,
  .check-section {
    padding: 18px;
  }

  .section {
    padding: 48px 0;
  }

  .trust-band,
  .tariff-grid,
  .seo-copy__grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .tariff-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .tariff-card {
    min-height: 0;
  }

  .footer {
    display: grid;
  }

  .footer__columns,
  .footer__support,
  .footer__links {
    justify-content: start;
    justify-items: start;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
  }

  .cookie-banner .button {
    width: 100%;
  }
}
