.payments-hero {
  background: var(--navy);
  color: white;
  padding-block: clamp(44px, 7vw, 96px);
}

.payments-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(30px, 7vw, 110px);
}

.payments-copy .eyebrow {
  color: var(--gold);
  margin-bottom: 22px;
}

.payments-copy h1 {
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.05;
  margin-bottom: 22px;
}

.payments-intro {
  max-width: 36ch;
  margin: 0;
  color: #c4cfd5;
  font-size: 20px;
  line-height: 1.65;
}

.payment-card {
  background: var(--paper);
  color: var(--ink);
  border-top: 3px solid var(--gold);
  padding: clamp(24px, 4vw, 48px);
}

.payment-card h2 {
  font-size: clamp(33px, 4vw, 48px);
  line-height: 1.12;
  margin-bottom: 17px;
}

.payment-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.payment-card [hidden] {
  display: none;
}

.payment-request {
  display: block;
  width: fit-content;
  margin-top: 15px;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.billing-help {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 32px;
  font-size: 17px;
}

.billing-help p {
  margin: 0;
}

.billing-help a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 700px) {
  .payments-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .payments-intro {
    font-size: 18px;
  }

  .payment-card .button {
    width: 100%;
  }
}

@media print {
  .payments-page main > .payments-hero:first-child {
    min-height: 0;
    display: block;
    padding-block: 18pt;
  }
}

.payments-arrow {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  flex-shrink: 0;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-0.05em) rotate(45deg);
}

.payment-card .billing-tab-note {
  font-size: 1rem;
  line-height: 1.6;
  margin: 20px 0 0;
}

.billing-home-link { margin-top: 24px; }

.subscription-chooser > summary {
  cursor: pointer;
  list-style: none;
}

.subscription-chooser > summary::-webkit-details-marker { display: none; }
.subscription-chooser > summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.subscription-options { display: grid; gap: 24px; margin-top: 24px; }
.subscription-option { padding-top: 20px; border-top: 1px solid #c5cacc; }
.subscription-option .button { display: flex; width: 100%; justify-content: center; text-align: center; }
.payment-card .subscription-option p { font-size: 1rem; line-height: 1.6; margin: 12px 0 0; }
