/* Checkout from mockups/version_2/checkout: the login card (login.css) with terms and autopay. */
a.login-brand { color: inherit; text-decoration: none; }
a.login-back { color: #999; text-decoration: none; }
a.login-back:hover { color: #fff; }

/* The term from the landing comes checked; the other terms stay one tap away. */
.checkout-plans { display: grid; gap: 8px; min-width: 0; margin: 28px 0 0; padding: 0; border: 0; }
.checkout-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.checkout-plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 20px; border-radius: 20px; background: #1b1b1b; color: #9a9a9a; box-shadow: inset 0 0 0 1.5px transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.checkout-plan:hover { background: #222; color: #ddd; }
.checkout-plan:has(:checked) { background: #232323; color: #fff; box-shadow: inset 0 0 0 1.5px #f5f5f5; }
.checkout-plan:has(:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.checkout-plan:has(:disabled) { cursor: default; }
.checkout-plan-input { position: absolute; opacity: 0; pointer-events: none; }
.checkout-plan-name { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.checkout-save { padding: .2em .55em; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.checkout-plan-price { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.checkout-plan-price small { margin-left: .15em; color: var(--muted); font-size: 14px; font-weight: 550; }

.checkout-note { margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* the subscription tab's checkbox (subscription.css), placed after the terms */
.checkout-save-card { margin: 24px 0 0; }
.checkout-next { margin-top: 8px; padding-left: 30px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.checkout-heading { margin: 28px 0 12px; color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }

.checkout-fineprint { margin-top: 16px; text-align: center; }
.checkout-state { display: grid; justify-items: start; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.checkout-skeleton { display: grid; gap: 12px; margin-top: 28px; }

@media (max-width: 540px) {
  .checkout-plan { min-height: 56px; padding: 0 16px; border-radius: 18px; }
  .checkout-plan-name, .checkout-plan-price { font-size: 16px; }
  .checkout-next { font-size: 13px; }
}
