/* The Buy page: the edition and order summary on the left (ours), Paddle's
   payment form on the right, inside the page. The form itself is Paddle's
   (its inline checkout); its colours are set in Paddle, under Checkout ›
   Branded inline checkout, to match this page. */

.co [hidden] { display: none !important; }   /* (the summary's rows and the waiting note come and go) */
.co { max-width: 1080px; margin: 0 auto; padding: 64px 0 0; }
.co h1 { font-size: clamp(34px, 4.4vw, 48px); }
.co .lead { margin-top: 10px; font-size: 18px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 452px; gap: 28px; margin-top: 36px; align-items: start; }
.co-step { display: flex; align-items: center; gap: 10px; margin: 0 0 12px 2px; padding: 0; font: 650 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.co-step b { width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; letter-spacing: 0; color: #8fb0ff; background: rgba(91, 140, 255, .16); }

/* The edition: two radio cards. */
.co-choice { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.co-pick { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 20px; border-radius: 16px;
           background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.co-pick input { position: absolute; opacity: 0; pointer-events: none; }
.co-pick:hover { box-shadow: inset 0 0 0 1px var(--line-hi); }
.co-pick:has(input:checked) { background: radial-gradient(ellipse 420px 220px at 0% 0%, rgba(91, 140, 255, .16), transparent 75%), var(--panel);
                              box-shadow: inset 0 0 0 1.5px rgba(91, 140, 255, .6), 0 0 50px rgba(91, 140, 255, .08); }
.co-pick:has(input:focus-visible) { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.co-radio { width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #4a5063; }
.co-pick:has(input:checked) .co-radio { box-shadow: inset 0 0 0 6px #5b8cff; background: #fff; }
.co-head, .co-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.co-name { display: flex; align-items: center; gap: 9px; font: 700 18px/1.25 var(--display); letter-spacing: -.012em; }
.co-name .tag { font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); padding: 5px 7px; border-radius: 6px; background: rgba(91, 140, 255, .14); }
.co-for { margin-top: 3px; font-size: 14.5px; color: var(--subtle); line-height: 1.45; }
.co-price { font: 750 26px/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.co-after { font-size: 12.5px; color: var(--dim); white-space: nowrap; }

/* The order summary: Paddle's own numbers once its form has loaded. */
.co-sum { margin-top: 26px; padding: 22px 24px 20px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.co-line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 15px; color: var(--subtle); }
.co-line b { color: var(--text); font-weight: 600; }
.co-code { font: 650 11.5px/1 var(--mono); color: #ffc56a; padding: 4px 7px; border-radius: 6px; background: rgba(245, 165, 36, .12); box-shadow: inset 0 0 0 1px rgba(245, 165, 36, .35); margin-left: 8px; vertical-align: 1px; }
.co-minus { color: #ffc56a; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.co-total span { font-size: 15px; color: var(--subtle); }
.co-total b { font: 760 34px/1 var(--display); letter-spacing: -.035em; }
.co-sum .note { margin-top: 10px; font-size: 13px; color: var(--dim); }
.co-promise { list-style: none; margin: 22px 0 0; padding: 0 4px; display: grid; gap: 12px; }
.co-promise li { display: flex; gap: 12px; font-size: 14.5px; color: var(--subtle); line-height: 1.45; }
.co-promise svg { flex: none; margin-top: 2px; }
.co-promise b { color: var(--text); font-weight: 600; }

/* Paddle's form, in our card. */
.co-pay { min-height: 200px; padding: 14px 10px 8px; border-radius: 20px; background: #11131a;
          box-shadow: inset 0 0 0 1px var(--line-hi), 0 30px 80px rgba(0, 0, 0, .45); }
.co-wait { padding: 40px 14px; text-align: center; color: var(--subtle); font-size: 15px; }
.co-wait .btn { margin-top: 16px; }
.co-guarantee { justify-content: center; margin: 14px 4px 0; text-align: center; }
.co-guarantee a { color: var(--subtle); white-space: nowrap; }
.co-mor { margin: 14px 4px 0; font-size: 12px; line-height: 1.5; color: #5d6274; }
.co-mor a { color: #7b8194; }

@media (max-width: 760px) {
  .co { padding-top: 34px; }
  .co-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 24px; }
  .co-pick { padding: 15px 16px; gap: 12px; }
  .co-price { font-size: 22px; }
  .co-sub { display: block; }
  .co-after { display: block; margin-top: 6px; }
  .co-name .tag { display: none; }
  .co-sum { margin-top: 16px; padding: 16px 18px; }
  .co-total b { font-size: 28px; }
  .co-pay { padding: 10px 6px 6px; }
}
