.payments {
  text-align: center;
  background: #f7f9fc;
}

.payments .lead {
  max-width: 760px;
}

.payment-alert {
  max-width: 930px;
  margin: 40px auto 0;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  text-align: left;
  color: #51301f;
  background: #fff5ec;
  border: 1px solid #f0c8a8;
}

.payment-alert > span {
  padding: 8px 11px;
  color: #fff;
  background: #a54b2b;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.payment-alert p {
  margin: 0;
  line-height: 1.6;
}

.payment-alert a {
  font-weight: 800;
}

.payment-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.payment-card {
  min-width: 0;
  padding: clamp(30px, 4vw, 48px);
  background: #fff;
  border-top: 5px solid #187dee;
  box-shadow: 0 18px 50px rgba(25, 38, 66, 0.1);
}

.payment-card-finance {
  border-top-color: #363966;
}

.payment-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.payment-kicker {
  color: #187dee;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.payment-card-finance .payment-kicker {
  color: #363966;
}

.provider-badge {
  padding: 7px 10px;
  color: #fff;
  background: #187dee;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.provider-badge-dark {
  background: #363966;
}

.payment-card h3 {
  margin: 25px 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.payment-card > p:not(.provider-note) {
  color: #626b78;
  line-height: 1.65;
}

.paypal-form {
  margin-top: 30px;
}

.paypal-form label {
  margin-bottom: 9px;
  display: block;
  color: #363966;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.paypal-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: #181c2d;
  background: #fff;
  border: 1px solid #cbd2dc;
  border-radius: 0;
  font: inherit;
  font-size: 0.9rem;
}

.payment-button {
  width: 100%;
  margin-top: 14px;
  cursor: pointer;
  justify-content: space-between;
  font-family: inherit;
}

.finance-options {
  margin-top: 30px;
  border-top: 1px solid #e1e4e8;
}

.finance-option {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e1e4e8;
  text-decoration: none;
}

.finance-option span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.finance-option small {
  margin-bottom: 5px;
  color: #626b78;
}

.finance-option strong {
  font-size: 1.15rem;
}

.finance-option b {
  color: #187dee;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-align: right;
  text-transform: uppercase;
}

.finance-option:hover b,
.finance-option:focus-visible b {
  color: #363966;
}

.provider-note {
  margin: 22px 0 0;
  color: #626b78;
  font-size: 0.76rem;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .payment-alert {
    display: block;
  }

  .payment-alert > span {
    margin-bottom: 14px;
    display: inline-block;
  }

  .payment-card {
    padding: 28px 22px;
  }

  .finance-option {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .finance-option b {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
