body {
  color: #212529;
}

.hero-section {
  min-height: calc(100vh - 65px);
  background: #fff;
}

.hero-section h1 {
  max-width: 720px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.benefit-list li,
.checklist li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.benefit-list li::before,
.checklist li::before {
  position: absolute;
  left: 0;
  color: #198754;
  content: "\2713";
  font-weight: 700;
}

.product-mockup {
  max-height: 650px;
  object-fit: contain;
}

.info-section {
  min-height: 100vh;
}

.section-heading {
  max-width: 780px;
}

.card {
  border-radius: 0.5rem;
}

.checklist {
  padding-left: 0;
  list-style: none;
}

.offer-card-heading {
  min-height: 4.5rem;
}

.checkout-progress {
  height: 4px;
  overflow: hidden;
  background: #dee2e6;
}

.checkout-progress span {
  display: block;
  width: 50%;
  height: 100%;
  background: #0d6efd;
  transition: width 180ms ease;
}

.checkout-progress span.is-complete {
  width: 100%;
}

.checkout-modal-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  border-bottom: 0;
}

.checkout-modal-header .btn-close {
  flex: 0 0 auto;
  margin: 0;
}

.checkout-modal-header #editDetailsButton {
  white-space: nowrap;
}

.checkout-modal-dialog {
  --bs-modal-width: 1280px;
}

@media (min-width: 992px) {
  .checkout-modal-dialog {
    max-width: min(92vw, 1280px);
  }
}

.checkout-copy {
  max-width: 560px;
}

.buyer-step-layout {
  display: grid;
  grid-template-columns: minmax(28rem, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas:
    "heading media"
    "form media";
  gap: 1.5rem 2rem;
  align-items: start;
}

.buyer-step-layout .checkout-copy {
  grid-area: heading;
}

.buyer-step-mockup {
  grid-area: media;
  display: block;
  width: 110%;
  max-width: none;
  height: auto;
  margin: 0;
  justify-self: center;
}

.buyer-details-form {
  grid-area: form;
}

.implementation-offer {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
}

.upsell-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(26rem, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.upsell-mockup-slot {
  width: 100%;
  aspect-ratio: 5 / 4;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
}

.upsell-mockup-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.upsell-content {
  padding-left: 2.5rem;
  border-left: 1px solid #dee2e6;
}

.implementation-offer .checklist li {
  font-weight: 600;
}

.upsell-checklist li {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.upsell-decision {
  padding: 1.25rem;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
}

.upsell-price {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.upsell-price-amount {
  color: #212529;
  font-size: 2rem;
  line-height: 1;
  white-space: nowrap;
}

.upsell-price-amount span {
  color: #6c757d;
  font-size: 0.9rem;
}

.upsell-primary-action {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  font-size: 1.05rem;
}

.upsell-skip-action {
  font-size: 0.92rem;
}

.form-control:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 15%);
}

.results-note {
  max-width: 1100px;
}

.legal-page {
  min-height: 100vh;
  background: #f8f9fa;
}

.legal-header {
  padding: 1rem 0;
  background: #fff;
  border-bottom: 1px solid #dee2e6;
}

.legal-content {
  max-width: 800px;
  margin: 3rem auto;
  padding: 3rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
}

.legal-content h1 {
  margin-bottom: 1rem;
  font-weight: 700;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.legal-content p,
.legal-content li {
  color: #495057;
  line-height: 1.7;
}

.legal-date {
  color: #6c757d;
  font-size: 0.875rem;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .product-mockup {
    max-height: 520px;
  }

  .info-section {
    min-height: auto;
  }

  .offer-card-heading {
    min-height: 0;
  }

  .buyer-step-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "media"
      "form";
    gap: 1rem;
  }

  .buyer-step-mockup {
    width: min(100%, 28rem);
    margin: 0 auto;
    justify-self: center;
  }

}

@media (max-width: 767.98px) {
  .buyer-step-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "media"
      "form";
    gap: 1rem;
  }

  .buyer-step-mockup {
    width: min(100%, 20rem);
    margin: 0 auto;
  }

  .upsell-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .upsell-mockup-slot {
    width: min(100%, 24rem);
    margin: 0 auto;
  }

  .upsell-content {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 2.4rem;
  }

  .product-mockup {
    max-height: 380px;
  }

  .legal-content {
    margin: 1.5rem auto;
    padding: 1.5rem;
  }

  .checkout-modal-header {
    min-height: 3rem;
  }

  .buyer-step-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "media"
      "form";
    gap: 1rem;
  }

  .buyer-step-layout h3 {
    font-size: 1.75rem;
  }

  .buyer-step-mockup {
    width: min(100%, 18rem);
  }

  .upsell-mockup-slot {
    width: min(100%, 18rem);
    margin: 0 auto;
  }

  .upsell-content h3 {
    font-size: 1.75rem;
  }

  .upsell-decision {
    padding: 1rem;
  }

  .upsell-price {
    align-items: center;
  }

  .upsell-price-amount {
    font-size: 1.75rem;
  }
}
