:root {
  color-scheme: light;
  --navy: #0a1f44;
  --ink: #0a1530;
  --muted: #626d81;
  --gold: #f5c451;
  --border: #dce2ec;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; font-size: 14px; line-height: 1.5; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #6c98d9; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* One order summary, one payment form. */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.summary { background: var(--navy); color: #fff; padding: 44px 64px; display: flex; justify-content: flex-end; }
.summary-inner { width: 100%; max-width: 430px; }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { background: #fff; border-radius: 50%; padding: 2px; }
.brand>span { font-size: 25px; font-weight: 850; letter-spacing: -1px; }
.brand>span>span { color: var(--gold); }
.back { font-size: 12px; color: #b9c8df; text-decoration: none; padding: 10px 0; }
.back:hover { color: #fff; }
h1 { margin: 0 0 12px; font-size: 27px; font-weight: 650; line-height: 1.2; letter-spacing: -.6px; }
.price { display: flex; align-items: baseline; gap: 12px; }
.price strong { font-size: 52px; line-height: 1.15; font-weight: 650; letter-spacing: -2px; }
.price>span { font-size: 13px; color: #c5d2e6; }
.checkout-sale { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 11px; }
.checkout-sale strong { text-transform: uppercase; color: var(--gold); letter-spacing: .08em; font-size: 10px; }
.checkout-sale time { color: #c5d2e6; font-variant-numeric: tabular-nums; }
.membership-details { margin-top: 28px; }
.membership-details>summary { cursor: pointer; color: #c5d2e6; font-size: 12px; min-height: 24px; }
.benefits { list-style: none; padding: 0; display: grid; gap: 10px; margin: 16px 0 0; color: #d2def0; font-size: 13px; line-height: 1.6; }
.benefits li { display: flex; gap: 10px; }
.benefits li::before { content: '✓'; color: var(--gold); }

.payment { padding: 50px 64px; }
.payment-inner { width: 100%; max-width: 410px; }
h2 { margin: 0 0 28px; font-size: 24px; line-height: 1.25; letter-spacing: -.5px; }
.field { margin-bottom: 20px; }
.field label, .section-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
input, select { width: 100%; min-width: 0; border: 1px solid #cdd4df; border-radius: 6px; min-height: 46px; padding: 11px 12px; background: #fff; color: #172b49; outline: none; }
input::placeholder { color: #8a91a1; opacity: 1; }
input:focus, select:focus { border-color: #2c5994; box-shadow: 0 0 0 3px #0a316114; }
input[aria-invalid=true] { border-color: #b33535; background: #fffafa; }
.section-label { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.card-brands { display: flex; gap: 4px; }
.card-brands b { border: 1px solid var(--border); border-radius: 3px; font-size: 8px; padding: 1px 4px; color: #26477c; letter-spacing: -.3px; }
.card-brands b:nth-child(2) { color: #bd6035; }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.card-fields { margin-bottom: 22px; }
.card-fields .field { margin: 0; position: relative; }
.card-fields input { border-radius: 0; }
.card-number input { border-radius: 6px 6px 0 0; padding-right: 60px; }
.card-number>span { position: absolute; right: 12px; top: 16px; font-size: 9px; font-weight: 750; color: #4e6280; }
.card-bottom { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.card-bottom input { margin-top: -1px; }
.card-bottom .field:first-child input { border-bottom-left-radius: 6px; }
.card-bottom .field:last-child input { border-bottom-right-radius: 6px; border-left-color: transparent; }
.card-bottom .field:last-child input:focus { border-left-color: #2c5994; }
.error { display: block; color: #b33535; font-size: 11px; margin: 5px 0; line-height: 1.4; }
.error:empty { display: none; }
.billing { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.billing .field { margin-bottom: 0; }
.terms { font-size: 12px; line-height: 1.7; color: #c5d2e6; margin: 16px 0 0; max-width: 390px; }
.pay-button { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; border: 1px solid #e5b23f; border-radius: 6px; background: var(--gold); min-height: 50px; color: #14233d; font-size: 15px; font-weight: 700; box-shadow: 0 2px 3px #ad842326; }
.pay-button:hover { background: #f9cd67; }
.pay-button:disabled { opacity: .65; cursor: wait; }
.checkout-trust { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0; }
.checkout-trust>strong { font-size: 12px; font-weight: 650; color: #334967; }
.trust-avatars { display: flex; flex: none; }
.trust-avatars img { display: block; width: 32px; height: 32px; object-fit: cover; border: 2px solid #fff; border-radius: 50%; margin-left: -9px; background: #edf2fa; }
.trust-avatars img:first-child { margin-left: 0; object-fit: contain; }
.checkout-legal { font-size: 11px; line-height: 1.8; text-align: center; color: #626d81; margin: 0; }
.checkout-legal a, .checkout-help a { color: #214e82; text-underline-offset: 3px; }

/* Keep the full member quotes; reserve their shared height during rotation. */
.checkout-reviews { margin-top: 28px; padding-top: 20px; border-top: 1px solid #ffffff26; color: #edf2fa; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #b9c8df; font-size: 10px; }
.review-top>span { text-transform: uppercase; letter-spacing: .07em; }
.review-top button { border: 0; padding: 5px 0 5px 10px; background: none; color: inherit; text-decoration: underline; font-size: 11px; min-height: 32px; }
#review-slides { display: grid; margin-top: 16px; }
.review-slide { grid-area: 1/1; display: flex; flex-direction: column; margin: 0; visibility: hidden; pointer-events: none; }
.review-slide[data-active] { visibility: visible; pointer-events: auto; }
.review-slide blockquote { margin: 0 0 22px; font-size: 13px; line-height: 1.8; color: inherit; }
.review-slide figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review-slide figcaption img { width: 42px; height: 46px; flex: none; object-fit: cover; border-radius: 7px; background: #edf2fa; }
.review-slide figcaption img.review-group-photo { object-fit: contain; }
.review-slide figcaption strong { display: block; font-size: 12px; }
.review-location { display: block; color: #b9c8df; font-size: 10px; margin-top: 2px; }
.review-verified { display: block; color: #cdeedb; font-size: 10px; margin-top: 3px; }
.review-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.review-bottom>span { font-size: 10px; color: #a7bad5; }
.review-controls { display: flex; }
.review-controls button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; background: none; padding: 0; }
.review-controls button::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #a7bad5; }
.review-controls button[aria-pressed=true]::after { width: 18px; border-radius: 3px; background: var(--gold); }

/* Purchase confirmation shares the same typography and controls. */
.success-body { background: #f1f5fb; min-height: 100vh; }
.success-card { max-width: 540px; margin: 70px auto; padding: 44px; background: #fff; border: 1px solid #e0e6f0; border-radius: 16px; box-shadow: 0 16px 60px #071d4509; text-align: center; }
.success-card .brand { color: var(--navy); margin-bottom: 32px; }
.success-card .brand>span>span { color: #99721d; }
.success-check { display: grid; place-content: center; width: 64px; height: 64px; background: #e7f4ec; color: #26744b; border-radius: 50%; font-size: 30px; margin: 0 auto 24px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: #99721d; margin: 0 0 14px; }
.success-card h1 { font-size: 29px; }
.success-card>p { color: var(--muted); font-size: 14px; }
.receipt { margin: 28px 0; text-align: left; background: #f8fafd; border-radius: 8px; padding: 6px 20px; }
.receipt p { display: flex; justify-content: space-between; gap: 15px; font-size: 12px; }
.receipt strong { text-align: right; }
.checkout-help { font-size: 12px; text-align: center; color: #59687e; margin: 20px 0 0; }

@media(max-width:960px) {
  .summary, .payment { padding: 36px; }
  .brand-row { gap: 12px; }
  .brand>span { font-size: 23px; }
}
@media(max-width:680px) {
  .checkout { display: block; }
  .summary, .payment { padding: 22px 24px; }
  .summary-inner, .payment-inner { max-width: 430px; margin: auto; }
  .brand-row { margin-bottom: 24px; }
  .brand>span { font-size: 24px; }
  .checkout-sale { margin-bottom: 16px; }
  h1 { font-size: 25px; margin-bottom: 10px; }
  .price strong { font-size: 44px; }
  .membership-details { margin-top: 20px; }
  .payment { padding-top: 26px; }
  #payment-title { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .payment .checkout-reviews { color: var(--ink); border-color: var(--border); margin-top: 26px; }
  .payment .review-top, .payment .review-location, .payment .review-bottom>span { color: var(--muted); }
  .payment .review-verified { color: #276748; }
  .payment .review-controls button[aria-pressed=true]::after { background: var(--navy); }
  .success-card { margin: 30px 16px; padding: 30px 24px; }
}
