.checkout-page .site-header { height: 82px; }
.checkout-page .site-header nav a:last-child { display: flex; }

.checkout-page .checkout-layout {
  grid-template-areas: "intro order" "help order";
  grid-template-rows: auto 1fr;
  column-gap: 64px;
  row-gap: 30px;
  padding-block: 44px 64px;
}
.checkout-page .checkout-intro { grid-area: intro; position: static; min-width: 0; }
.checkout-page .checkout-intro h1 {
  font-size: clamp(36px, 3.5vw, 48px);
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 13ch;
}
.checkout-page .checkout-intro .lead { font-size: 17px; max-width: 37ch; margin: 0; }
.checkout-page .checkout-order { grid-area: order; min-width: 0; }
.checkout-page .order-title span { font-size: 13px; }
.checkout-page #price { margin: 14px 0 8px; font-size: 25px; }
.checkout-page .order-promise {
  font-size: 14px;
  line-height: 1.6;
  padding-bottom: 20px;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
}
.checkout-page #status { font-size: 14px; margin-bottom: 12px; }
.checkout-page .payment-alternative {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  margin: -4px 0 12px;
  text-decoration-color: #a8b4c9;
}
.checkout-page #receipt-retry { margin: 4px 0 16px; }
.checkout-page #paypal-option { scroll-margin-top: 24px; margin-top: 24px; }
.checkout-page #paypal-option > summary { font-size: 16px; }
.checkout-page #paypal-option .small,
.checkout-page #paypal-option label,
.checkout-page .payment-feedback { font-size: 14px; }
.checkout-page #paypal-option .field p { margin-top: 8px; }
.checkout-page .contact-form { margin-block: 12px 26px; }
.checkout-page .contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checkout-page .contact-form legend { font-size: 20px; font-weight: 600; padding: 0; margin-bottom: 20px; }
.checkout-page .contact-form input { font-size: 16px; width: 100%; min-width: 0; }
.checkout-page .contact-form .small { font-size: 13px; line-height: 1.6; margin-top: 8px; }
.checkout-page .contact-form .contact-notice { margin-top: 20px; }
.checkout-page .contact-status { font-size: 13px; line-height: 1.6; margin: 12px 0 0; min-height: 21px; }
.checkout-page .contact-form [data-state="saved"] { color: #315b4d; }
.checkout-page #contact-retry { margin-top: 12px; }
.checkout-page .payment-heading { font-size: 20px; margin-bottom: 16px; }
.checkout-page #payment-panel { border-top: 1px solid var(--line); padding-top: 24px; }
.checkout-page #stripe-checkout > .small { font-size: 14px; margin-bottom: 0; }
.checkout-page .payment-feedback { margin: 18px 0 0; overflow-wrap: anywhere; }
.checkout-page .payment-feedback:empty { display: none; }
.checkout-page .resume-offer { padding: 13px 15px; margin: 16px 0; background: var(--soft); color: var(--ink); border-radius: 8px; font-size: 14px; line-height: 1.6; }
.checkout-page [data-state="error"] { color: #8e3434; }
.checkout-page .checkout-details { margin-top: 12px; }
.checkout-page .checkout-disclosure { border-bottom: 1px solid var(--line); }
.checkout-page .checkout-disclosure summary { font-size: 14px; padding-block: 18px; }
.checkout-page .checkout-disclosure summary::after { top: 24px; }
.checkout-page .checkout-disclosure > div { padding-bottom: 18px; }
.checkout-page .checkout-disclosure p { font-size: 14px; margin: 0 0 12px; }
.checkout-page .checkout-disclosure p:last-child { margin-bottom: 0; }
.checkout-page .checkout-rights { margin: 22px 0 0; font-size: 13px; line-height: 1.7; }
.checkout-page .checkout-help { grid-area: help; min-width: 0; padding-top: 26px; border-top: 1px solid var(--line); }
.checkout-page .checkout-help h2 { font-size: 28px; margin-bottom: 22px; }
.checkout-page .order-includes { margin: 0 0 28px; }
.checkout-page .order-includes li { font-size: 14px; line-height: 1.7; gap: 12px; margin-bottom: 16px; }
.checkout-page .order-includes svg { margin-top: 4px; }
.checkout-page .checkout-support h3 { font-size: 16px; margin-bottom: 8px; }
.checkout-page .checkout-support p { font-size: 14px; overflow-wrap: anywhere; margin-bottom: 16px; }
.checkout-page .checkout-support .small { font-size: 13px; max-width: 36ch; }

@media (max-width: 1050px) {
  .checkout-page .checkout-layout { column-gap: 36px; }
}
@media (max-width: 950px) {
  .checkout-page .checkout-layout {
    grid-template-areas: "intro" "order" "help";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    max-width: 760px;
    gap: 26px;
    padding-block: 30px 48px;
  }
  .checkout-page .checkout-intro h1 { max-width: 21ch; font-size: 38px; margin-bottom: 14px; }
  .checkout-page .checkout-intro .lead { max-width: 49ch; }
  .checkout-page .checkout-help .order-includes { display: block; }
}
@media (max-width: 760px) {
  .checkout-page .site-header { height: 72px; }
  .checkout-page .site-header nav a { font-size: 13px; }
  .checkout-page .checkout-layout { gap: 22px; padding-block: 26px 38px; }
  .checkout-page .checkout-intro h1 { max-width: 20ch; font-size: 32px; line-height: 1.14; margin: 0 0 12px; }
  .checkout-page .checkout-intro .lead { font-size: 16px; line-height: 1.6; }
  .checkout-page .checkout-order { padding: 24px 18px; }
  .checkout-page .order-title { flex-wrap: wrap; gap: 4px 12px; }
  .checkout-page .order-title h2 { font-size: 26px; }
  .checkout-page .order-title span { font-size: 12px; }
  .checkout-page #price { font-size: 23px; }
  .checkout-page .order-promise { padding-bottom: 16px; margin-bottom: 16px; }
  .checkout-page .checkout-rights { font-size: 13px; }
  .checkout-page .checkout-help { padding-top: 26px; }
}
