:root {
  --dark: #1f2937;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f3f4f6;
  --card: #f9fafb;
  --white: #ffffff;
  --green: #15803d;
  --green-dark: #0f5f2b;
  --yellow: #f59e0b;
  --red: #dc2626;
  --shadow: 0 18px 60px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  background: url("assets/premium-car-dashboard.png") center right / cover no-repeat;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.74);
  content: "";
}

.nav,
.hero__content {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  font-size: 20px;
  font-weight: 800;
}

.nav__links {
  display: flex;
  gap: 22px;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 700;
}

.hero__content {
  display: grid;
  align-content: center;
  min-height: calc(94vh - 72px);
  padding: 40px 0 90px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 66px;
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: 36px;
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: #e5e7eb;
  font-size: 21px;
  line-height: 1.5;
}

.offer-badge {
  width: max-content;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 9px 12px;
  border: 1px solid rgba(167, 243, 208, 0.32);
  background: rgba(21, 128, 61, 0.22);
  color: #d1fae5;
  font-size: 14px;
  font-weight: 800;
}

.offer-badge del {
  color: #cbd5e1;
}

.offer-badge strong,
.gift-line {
  color: #a7f3d0;
}

.gift-line {
  margin: -6px 0 18px;
  font-size: 24px;
  font-weight: 900;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button--primary {
  background: var(--green);
  color: var(--white);
}

.button--primary:hover {
  background: var(--green-dark);
}

.button--primary:disabled {
  cursor: wait;
  opacity: 0.75;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  transform: translateY(-42px);
  background: var(--line);
  box-shadow: var(--shadow);
}

.stats div {
  min-height: 112px;
  padding: 22px;
  background: var(--white);
}

.stats span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.stats strong {
  color: var(--green);
  font-size: 24px;
  line-height: 1.1;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
  padding-top: 34px;
}

.split p,
.order-copy p,
.thanks p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.features article {
  min-height: 174px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--card);
}

.features span {
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-weight: 900;
}

.features p {
  color: var(--muted);
  line-height: 1.55;
}

.products-section {
  border-top: 1px solid var(--line);
}

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

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-card__visual {
  display: grid;
  align-content: end;
  min-height: 210px;
  padding: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.88)),
    url("assets/premium-car-dashboard.png") center / cover no-repeat;
}

.product-card--decision .product-card__visual {
  background:
    linear-gradient(135deg, rgba(127, 29, 29, 0.25), rgba(17, 24, 39, 0.92)),
    url("assets/premium-car-dashboard.png") center / cover no-repeat;
}

.product-card--family .product-card__visual {
  background:
    linear-gradient(135deg, rgba(3, 105, 161, 0.25), rgba(17, 24, 39, 0.9)),
    url("assets/premium-car-dashboard.png") center / cover no-repeat;
}

.product-card--pro .product-card__visual {
  background:
    linear-gradient(135deg, rgba(21, 128, 61, 0.28), rgba(17, 24, 39, 0.9)),
    url("assets/premium-car-dashboard.png") center / cover no-repeat;
}

.product-card__visual span {
  width: max-content;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.product-card__visual strong {
  font-size: 27px;
  line-height: 1.05;
}

.product-card__visual em {
  margin-top: 8px;
  color: #d1d5db;
  font-style: normal;
  font-weight: 800;
}

.product-card__body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.product-card__head {
  display: grid;
  gap: 10px;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.product-card__price del,
.stats del {
  color: var(--muted);
  font-size: 14px;
}

.product-card__price strong {
  color: var(--green);
  font-size: 22px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-card__includes {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  background: var(--dark);
  color: var(--white);
  font-weight: 800;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.9fr);
  gap: 44px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.direct-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: var(--green);
  font-weight: 800;
}

.direct-contacts a,
.form-note a,
.policy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--card);
}

.lead-form label {
  display: grid;
  gap: 7px;
}

.lead-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  outline: none;
}

.lead-form input {
  min-height: 48px;
  padding: 0 14px;
}

.lead-form select {
  min-height: 48px;
  padding: 0 14px;
}

.lead-form textarea {
  resize: vertical;
  min-height: 92px;
  padding: 12px 14px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.12);
}

.lead-form.is-invalid input:invalid {
  border-color: var(--red);
}

.form-error {
  padding: 12px 14px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 700;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hp {
  position: absolute;
  left: -9999px;
}

.footer {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

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

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--dark);
}

.delivery-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(17, 24, 39, 0.84), rgba(17, 24, 39, 0.92)),
    url("assets/premium-car-dashboard.png") center / cover no-repeat;
}

.thanks {
  width: min(680px, calc(100% - 40px));
  padding: 44px;
  background: var(--white);
}

.delivery {
  width: min(920px, calc(100% - 40px));
  padding: 44px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.thanks h1 {
  color: var(--text);
  font-size: 42px;
}

.delivery h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 46px;
}

.delivery > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.delivery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.delivery-download {
  border-color: var(--dark);
  color: var(--dark);
}

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

.delivery-steps article {
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--card);
}

.delivery-steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 900;
}

.delivery-steps strong {
  display: block;
  margin-bottom: 8px;
}

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

.delivery-back {
  display: inline-block;
  margin-top: 28px;
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice {
  margin: 22px 0;
  padding: 14px;
  border-left: 4px solid var(--yellow);
  background: #fffbeb;
  color: #92400e;
  line-height: 1.5;
}

.policy-page {
  min-height: 100vh;
  background: var(--soft);
}

.policy {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.policy__back {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--green);
  font-weight: 800;
}

.policy h1 {
  margin-bottom: 34px;
  color: var(--text);
  font-size: 48px;
}

.policy h2 {
  margin: 38px 0 12px;
  font-size: 24px;
}

.policy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .hero {
    min-height: 92vh;
  }

  .nav__links {
    display: none;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .stats,
  .split,
  .order-section,
  .features,
  .product-grid,
  .delivery-steps {
    grid-template-columns: 1fr;
  }

  .stats {
    transform: none;
    width: 100%;
  }

  .section {
    padding: 54px 0;
  }

  .order-section {
    gap: 26px;
  }

  .footer {
    display: grid;
    gap: 12px;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero__content,
  .section,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 38px;
  }

  .button {
    width: 100%;
  }

  .lead-form,
  .thanks,
  .delivery {
    padding: 20px;
  }

  .gift-line {
    font-size: 20px;
  }

  .policy {
    width: min(100% - 28px, 820px);
    padding-top: 36px;
  }

  .policy h1 {
    font-size: 36px;
  }
}
