/* Order form (#order): an on-page section without JS, an overlay with JS.
   Same tokens as the boards. Phone first: on small screens the overlay is a full-height sheet. */
.order{padding-bottom:104px}
.order-card{max-width:620px;margin:0 auto;border-radius:var(--r-hero);background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-lg);padding:32px;box-sizing:border-box;position:relative}
.order-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.order-steps{display:flex;gap:8px;font-size:13px;color:var(--quiet);font-weight:500}
.order-steps span{display:inline-flex;align-items:center;gap:6px}
.order-steps span::before{content:attr(data-step-ind);width:22px;height:22px;border-radius:50%;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;font-size:12px}
.order-steps span.on{color:var(--forest)}
.order-steps span.on::before{background:var(--forest);border-color:var(--forest);color:var(--paper)}
.order-close{display:none;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--paper);font:inherit;font-size:22px;line-height:1;color:var(--forest);cursor:pointer}
.order h2{font-size:30px;margin:18px 0 6px}
.order .sub{margin:0;color:var(--muted);font-size:15px;line-height:1.5}
.field{display:block;margin-top:16px}
.field span{display:block;font-size:14px;font-weight:500;margin-bottom:6px}
.field input{box-sizing:border-box;width:100%;min-height:52px;padding:0 16px;border-radius:14px;border:1px solid rgba(26,29,34,.22);background:#fff;font:inherit;font-size:17px;color:var(--forest)}
.field input:focus{outline:2px solid var(--forest);outline-offset:1px;border-color:var(--forest)}
.bump{display:flex;gap:14px;align-items:flex-start;margin-top:20px;padding:16px 18px;border-radius:16px;border:1.5px dashed var(--gold);background:hsla(38,40%,92%,.6);cursor:pointer}
.bump input{flex:0 0 22px;width:22px;height:22px;margin:2px 0 0;accent-color:var(--forest)}
.bump input:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.bump strong{display:block;font-weight:600;font-size:16px}
.bump p{margin:4px 0 0;font-size:14px;line-height:1.5;color:var(--muted)}
.summary{margin-top:20px;border-top:1px solid var(--line);font-size:15px}
.summary div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.summary div[hidden]{display:none}
.summary .tot{font-weight:600;font-size:17px;border-bottom:0}
.order .btn{width:100%;margin-top:18px;border:0;cursor:pointer;font-family:inherit}
.order .btn:focus-visible{outline:2px solid var(--gold-ink);outline-offset:3px}
.order .btn[disabled]{opacity:.6;cursor:progress}
.terms{margin:12px 0 0;text-align:center;font-size:14px;color:var(--muted)}
.fine{margin:14px 0 0;text-align:center;font-size:12px;color:var(--quiet);line-height:1.5}
.err{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:#fbeaea;color:#7a1f1f;font-size:14px}
.backlink{background:none;border:0;padding:8px 0;font:inherit;font-size:14px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.stripe-mount{margin-top:14px;min-height:340px}
.pay-placeholder{border:1.5px dashed var(--line);border-radius:16px;padding:28px;text-align:center;color:var(--muted);font-size:15px;line-height:1.5}
.pay-placeholder p{margin:0 0 6px}

/* overlay mode (JS) */
.order.is-overlay{position:fixed;inset:0;z-index:50;margin:0;padding:24px;max-width:none;background:rgba(13,14,17,.55);overflow-y:auto;display:flex;align-items:flex-start;justify-content:center;-webkit-overflow-scrolling:touch}
.order.is-overlay .order-intro{display:none}
.order.is-overlay .order-card{margin:24px auto}
.order.is-overlay .order-close{display:inline-flex;align-items:center;justify-content:center}
html.order-open{overflow:hidden}
@media (max-width:640px){
.order-card{padding:22px 18px;border-radius:22px}
.order.is-overlay{padding:0;align-items:stretch;background:var(--paper)}
.order.is-overlay .order-card{margin:0;min-height:100%;border-radius:0;border:0;box-shadow:none;width:100%}
.order h2{font-size:26px}
}
@media (prefers-reduced-motion:no-preference){
.order.is-overlay .order-card{animation:rise .35s var(--ease) both}
}

/* site footer */
.legal{margin:18px auto 0;text-align:center;font-size:13px;color:var(--muted)}
.legal a{color:var(--muted);margin:0 8px}
.bump .bump-list{margin-top:8px;color:var(--forest);line-height:1.6}
.bump .bump-proof{display:inline-block;margin-top:10px;padding:3px 10px;border-radius:999px;background:var(--forest);color:var(--paper);font-size:13px;font-weight:500}
