:root { color-scheme:dark; --bg:#11151c; --surface:#1a202a; --line:#364151; --text:#eef2f8; --muted:#aebacb; --accent:#b8cfff; --ink:#18263e; --danger:#ffb3c0; --success:#add8c3; font-family:"Segoe UI Variable Text","Segoe UI",system-ui,sans-serif; background:var(--bg); color:var(--text); font-synthesis:none; }
* { box-sizing:border-box; scrollbar-color:#52617a #11151c; scrollbar-width:thin; }
[hidden] { display:none!important; }
body { margin:0; min-width:320px; background:var(--bg); }
::selection { background:#405c85; color:#fff; }
button,input { font:inherit; }
button { cursor:pointer; touch-action:manipulation; }
button:disabled { opacity:.6; cursor:wait; }
button:focus-visible,input:focus-visible,a:focus-visible,label:has(input:focus-visible) { outline:2px solid #bfd4ff; outline-offset:4px; }
svg { width:22px; height:22px; fill:currentColor; }
h1,h2,p { margin:0; }
.sr-only { position:absolute; width:1px; height:1px; clip:rect(0,0,0,0); overflow:hidden; white-space:nowrap; }
.site-header { display:flex; align-items:center; width:min(1120px,calc(100% - 64px)); height:88px; margin:auto; border-bottom:1px solid #2c3441; padding-top:env(safe-area-inset-top); }
.brand { text-decoration:none; color:var(--text); }
.brand > span { display:flex; align-items:baseline; gap:18px; }
.brand strong { font-size:26px; font-weight:600; letter-spacing:-1px; }
.brand small { color:var(--muted); font-size:12px; }
.flow-shell { width:min(1120px,calc(100% - 64px)); margin:56px auto 0; padding-bottom:32px; }
.flow-card { display:grid; grid-template-columns:340px minmax(0,1fr); gap:24px 72px; align-items:start; }
.flow-head { grid-column:1; grid-row:1/span 2; padding:6px 36px 28px 0; border-right:1px solid #2c3441; min-height:490px; display:flex; flex-direction:column; }
.coin-mark,.eyebrow,.section-index { display:none; }
h1 { font-size:30px; line-height:1.25; font-weight:500; letter-spacing:-.7px; overflow-wrap:anywhere; text-wrap:balance; }
#orderLead { color:var(--muted); font-size:14px; line-height:1.7; margin-top:18px; }
.order-sculpture { width:100%; max-width:290px; height:auto; aspect-ratio:1; object-fit:contain; margin:10px auto 0; border-radius:12px; }
.coin-summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 0 0; margin-top:auto; border-top:1px solid var(--line); }
.coin-summary span { font-size:13px; color:var(--muted); }
.coin-summary strong { font-size:32px; font-weight:500; letter-spacing:-1px; font-variant-numeric:tabular-nums; }
.progress { grid-column:2; display:flex; gap:22px; list-style:none; padding:0 0 24px; margin:0; border-bottom:1px solid var(--line); }
.progress li { display:flex; align-items:center; gap:9px; color:#a2aec0; }
.progress span { display:grid; place-items:center; width:27px; height:27px; border-radius:50%; border:1px solid #536076; font-size:12px; }
.progress small { font-size:12px; }
.progress .active { color:var(--text); }
.progress .active span { background:var(--accent); color:var(--ink); border-color:var(--accent); }
.progress .done span { border-color:#6a9a83; color:var(--success); }
.screen { grid-column:2; grid-row:2; min-width:0; padding-top:6px; }
.screen-heading { margin-bottom:28px; }
h2 { font-size:27px; font-weight:500; letter-spacing:-.6px; line-height:1.25; text-wrap:balance; }
.screen-heading > p:last-child,.success-screen > p:last-child,.error-screen > p:last-child { color:var(--muted); font-size:14px; line-height:1.6; margin-top:12px; max-width:60ch; }
.method-grid { display:grid; gap:10px; }
.method-card { display:grid; grid-template-columns:40px minmax(0,1fr) 20px; align-items:center; gap:16px; min-height:88px; padding:18px; border:1px solid #3a4658; border-radius:12px; background:#1a202a; color:var(--text); text-align:left; transition:background 160ms,border-color 160ms; }
.method-card:hover { background:#222d3d; border-color:#819abd; }
.method-card:active { background:#2d3d55; }
.method-icon { display:grid; place-items:center; color:#bdcde3; }
.method-card strong { display:block; font-size:15px; font-weight:550; }
.method-card small { display:block; margin-top:6px; color:var(--muted); font-size:12px; line-height:1.4; }
.arrow { width:17px; height:17px; color:#b6c6dd; }
.back-button,.text-button { display:inline-flex; align-items:center; gap:7px; padding:0; border:0; background:none; color:#c1d3ee; font-size:13px; }
.back-button { margin-bottom:22px; }
.back-button svg { width:16px; height:16px; }
.text-button { margin-top:24px; text-decoration:underline; text-underline-offset:5px; }
.segmented { display:flex; gap:6px; margin:0 0 24px; border:1px solid #3a4658; background:#161c25; padding:5px; border-radius:9px; }
.segmented label { flex:1; cursor:pointer; }
.segmented input { position:absolute; opacity:0; width:1px; height:1px; }
.segmented span { display:grid; place-items:center; min-height:38px; padding:6px 10px; text-align:center; color:var(--muted); font-size:12px; border-radius:5px; }
.segmented input:checked + span { background:#33425a; color:#f0f5ff; }
.field { margin-bottom:18px; }
.field label,.code-form > label { display:block; font-size:13px; color:#d5dfed; margin-bottom:9px; }
input { width:100%; min-height:48px; padding:12px 14px; border:1px solid #566479; border-radius:8px; background:#141a23; color:var(--text); font-size:16px; caret-color:var(--accent); }
input::placeholder { color:#a4b0c2; }
input:focus { border-color:var(--accent); }
.password-wrap { position:relative; }
.password-wrap input { padding-right:50px; }
.password-wrap button { position:absolute; top:5px; right:5px; width:40px; height:38px; display:grid; place-items:center; border:0; background:none; color:var(--muted); }
.primary-button { width:100%; min-height:48px; border:1px solid var(--accent); border-radius:8px; padding:12px 18px; background:var(--accent); color:var(--ink); font-size:14px; font-weight:600; transition:background 160ms,transform 120ms; }
.primary-button:hover { background:#d4e2ff; }
.primary-button:active { transform:scale(.99); }
.inline-error { margin:10px 0 16px; font-size:13px; line-height:1.5; color:var(--danger); }
.code-form { padding-top:16px; }
.code-form p { color:var(--muted); font-size:13px; line-height:1.6; margin:0 0 14px; }
.code-form input { font-size:24px; letter-spacing:8px; text-align:center; margin-bottom:16px; }
.code-form.invalid input { border-color:var(--danger); }
.code-form .inline-error { color:var(--danger); }
.loader { width:32px; height:32px; margin:34px auto; border:2px solid #3d495c; border-top-color:var(--accent); border-radius:50%; animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.qr-box { display:grid; justify-items:center; gap:18px; }
.qr-box img { width:200px; height:200px; border:12px solid #fff; border-radius:12px; background:#fff; }
.qr-box p { color:var(--muted); max-width:360px; text-align:center; font-size:13px; line-height:1.6; }
.code-receipt { padding:20px; border:1px solid #486e5b; border-radius:10px; background:#1d3029; display:flex; gap:14px; align-items:flex-start; }
.receipt-icon { color:var(--success); }
.code-receipt strong { font-weight:550; font-size:15px; }
.code-receipt p { color:#b3d0c1; font-size:13px; line-height:1.6; margin-top:8px; }
.state-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; margin:12px 0 24px; }
.state-icon.success { background:#233b30; color:var(--success); }
.state-icon.danger { background:#3a2630; color:var(--danger); }
.page-note { margin-top:28px; padding-top:20px; border-top:1px solid #2c3441; color:#a1adbd; font-size:12px; line-height:1.6; }
@media(max-width:1000px) { .flow-card { grid-template-columns:280px minmax(0,1fr); column-gap:36px; } .flow-head { padding-right:24px; } .progress { gap:12px; } }
@media(max-width:700px) {
 .site-header { width:calc(100% - 40px); height:68px; }
 .brand strong { font-size:24px; }
 .flow-shell { width:calc(100% - 40px); margin-top:28px; padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
 .flow-card { display:flex; flex-direction:column; gap:0; }
 .flow-head { width:100%; padding:0 0 24px; min-height:0; border:0; }
 h1 { font-size:26px; }
 #orderLead { margin-top:10px; font-size:13px; }
 .order-sculpture { display:none; }
 .coin-summary { padding:16px 0 0; margin-top:18px; }
 .coin-summary strong { font-size:27px; }
 .progress { width:100%; padding-bottom:20px; gap:16px; }
 .progress li { flex:1; gap:7px; }
 .progress small { font-size:10px; }
 .progress span { width:24px; height:24px; }
 .screen { width:100%; padding-top:24px; }
 h2 { font-size:25px; }
 .screen-heading { margin-bottom:22px; }
 .method-card { min-height:84px; padding:14px; gap:10px; grid-template-columns:32px 1fr 18px; }
 .method-card strong { font-size:14px; }
 .segmented { flex-wrap:wrap; }
 .page-note { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }
