/* Cart flow layout (rebuild 2026-11-02). Layout only: colours and type come from
   /assets/try-launch.css tokens (--orange, --blue, --ink, --muted, --line, --tint, --osoft, --card).
   No new colours, no new fonts. Pending component baseline review (brand-policy strict skeleton). */
.cart{padding-block:28px 56px}
.cart .narrow{max-width:680px;margin:0 auto;padding-inline:20px}
.cart h1{font-size:clamp(28px,6vw,40px);margin:0 0 12px}
.cart h1:focus{outline:none}
.cart h1:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
.cart h2{font-size:20px;margin:22px 0 10px}
.cart p{margin:0 0 12px}
.cart .lead{font-size:18px;color:var(--muted)}
.cart .note{font-size:15px;color:var(--muted)}
.cart-progress{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 18px;padding:0;list-style:none;font-size:14px;color:var(--muted)}
.cart-progress li{display:flex;align-items:center;gap:8px}
.cart-progress li::before{content:"";width:10px;height:10px;border-radius:50%;border:2px solid var(--blue)}
.cart-progress li[aria-current="step"]{color:var(--ink);font-weight:800}
.cart-progress li[aria-current="step"]::before{background:var(--orange);border-color:var(--orange)}
.cart-progress li.done::before{background:var(--blue)}
.cart-steps{margin:0 0 18px;padding:0;list-style:none;counter-reset:cart}
.cart-steps>li{position:relative;padding:0 0 14px 44px;counter-increment:cart;font-size:16px}
.cart-steps>li::before{content:counter(cart);position:absolute;left:0;top:0;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--orange);color:var(--ink);font-weight:800;font-size:15px}
.cart-steps p{margin:0 0 4px}
.cart-steps strong{display:block}
.cart-warning{border-left:3px solid var(--blue);background:var(--tint);border-radius:0 12px 12px 0;padding:12px 14px;font-size:16px;margin:0 0 18px}
.cart-action{display:flex;flex-direction:column;gap:10px;margin:8px 0 18px}
.cart-action .btn{width:100%;max-width:420px;min-height:52px;cursor:pointer;font:inherit;font-weight:800}
.cart-action .btn[disabled]{opacity:.7;cursor:progress}
.cart-secondary{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:0 0 14px}
.cart-secondary .btn{width:auto;min-height:48px;padding:12px 20px;font-size:17px}
.cart-link{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--ink);background:none;border:0;padding:0;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.cart-code{margin:6px 0 12px;padding:16px;border:2px solid var(--orange);border-radius:14px;background:var(--card);text-align:center}
.cart-code .label{display:block;font-size:14px;color:var(--muted);margin-bottom:4px}
.cart-code output{display:block;font-size:clamp(30px,9vw,42px);font-weight:800;letter-spacing:.14em;font-variant-numeric:tabular-nums;user-select:all;-webkit-user-select:all;overflow-wrap:anywhere}
.cart-code .expiry{display:block;font-size:15px;margin-top:4px}
.cart-status{min-height:1.6em;font-size:16px}
.cart-tick{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--osoft);vertical-align:middle;margin-right:10px}
.cart-tick::after{content:"";width:8px;height:15px;border:solid var(--orange);border-width:0 3px 3px 0;transform:translateY(-2px) rotate(45deg)}
.cart-switch{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}
.cart-switch .price{font-size:15px;color:var(--muted);margin:0}
.cart details{border-top:1px solid var(--line);margin-top:20px}
.cart summary{padding:14px 0;font-weight:800;min-height:44px;cursor:pointer}
.cart details p{font-size:15px}
.cart-region{min-height:420px}
.cart-inline{margin-top:12px}
.cart-inline p{margin:0 0 8px}
.cart-inline .btn{width:auto}
.cart-notice{border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:12px;background:var(--card);padding:14px 16px;margin:0 0 20px}
.cart-notice .cart-secondary{margin:8px 0 0}
@media (max-width:480px){
 .cart{padding-block:18px 40px}
 .cart h1{font-size:28px}
 .cart .lead{font-size:17px}
 .cart-steps>li{font-size:15px;padding-bottom:10px}
 .cart-warning{font-size:15px}
 .cart-action.sticky{position:sticky;bottom:0;z-index:2;background:var(--card);margin-inline:-20px;padding:10px 20px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}
 .cart-action .btn{max-width:none}
 .cart-region{min-height:0}
}
/* Plan buttons on /try are <button>s now (no prefetchable GET): inherit the brand font like the old links. */
button.btn{font:inherit;font-weight:800;cursor:pointer;line-height:inherit}
button.btn[disabled]{opacity:.7;cursor:progress}
/* QA round 1: the intro warning travels with the sticky primary, so it is read before the button on mobile. */
.cart-action.sticky .cart-warning{margin:0}
@media (max-width:480px){.cart-action.sticky .cart-warning{font-size:14px;line-height:1.4;padding:8px 10px}}
/* r4.3 merged code screen: "Copied" beside the code; blocked-tab line sits with its link in the secondary row. */
.cart-code .copied{display:block;min-height:1.5em;font-size:15px;font-weight:700;color:var(--muted)}
.cart-blocked{display:inline-flex;flex-wrap:wrap;gap:4px 8px;align-items:center;font-size:15px}
