html:has(body.is-welcoming),.is-welcoming{overflow:hidden;scrollbar-gutter:auto}
.agreement-reader:focus{outline:none}
.agreement-reader:focus-visible{outline:1px solid #7bc697;outline-offset:-1px}
.welcome-screen{position:fixed;inset:0;z-index:1000;isolation:isolate;overflow:hidden;background:#09110e;color:#ecf5ef;padding: max(1.2rem,env(safe-area-inset-top)) max(1.1rem,env(safe-area-inset-right)) max(1.1rem,env(safe-area-inset-bottom)) max(1.1rem,env(safe-area-inset-left));display:grid;place-items:center}
.welcome-screen::before,.welcome-screen::after{content:"";position:absolute;z-index:-1;width:85vmin;height:85vmin;border-radius:50%;pointer-events:none;filter:blur(45px);background:radial-gradient(circle,#40d28b26,transparent 68%);animation:welcome-drift 9s ease-in-out infinite alternate}
.welcome-screen::before{left:-30vmin;top:0}.welcome-screen::after{right:-35vmin;bottom:-10vmin;animation-delay:-4s;background:radial-gradient(circle,#8adb7030,transparent 70%)}
.welcome-splash{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%;gap:1.1rem}
.welcome-wordmark{font-size:clamp(2rem,9.2vw,3.7rem);font-weight:800;letter-spacing:-.075em;line-height:1.2;color:#effff4;text-shadow:0 0 36px #60e99e22}.welcome-wordmark span{color:#9ce9b9}
.welcome-emblem{display:grid;place-items:center;width:3.8rem;height:3.8rem;margin-bottom:.4rem;border:1px solid #9ce9b936;border-radius:1.2rem;background:#a3e9bd0b;color:#9ce9b9}.welcome-emblem svg{width:2rem;height:2rem;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.welcome-track{width:9rem;height:4px;border-radius:10px;background:#b7f4ce12;overflow:hidden;margin:.7rem 0}.welcome-track i{display:block;width:100%;height:100%;background:#a2eabb;border-radius:inherit;transform:scaleX(0);transform-origin:left;animation:welcome-load 2.6s cubic-bezier(.2,.65,.25,1) forwards;transition:transform .25s ease-out}
.welcome-splash p{font-size:.72rem;color:#8aa293;max-width:18rem;line-height:1.7}.welcome-caption{position:absolute;bottom:max(2rem,env(safe-area-inset-bottom));font-size:.6rem;letter-spacing:.18em;color:#698473;text-transform:uppercase}
.welcome-retry{border:1px solid #537560;background:#173322;color:#c0f4d2;border-radius:.8rem;padding:.7rem 1rem}.has-error .welcome-track i{animation:none}
.welcome-agreement{width:min(100%,29rem);height:100%;max-height:54rem;min-height:0;display:flex;flex-direction:column;gap:1rem;padding:.4rem 0}
.welcome-brand{font-size:1.15rem;font-weight:800;letter-spacing:-.05em;color:#f0faf3}.welcome-brand span{color:#a2eabb}.agreement-heading{display:flex;align-items:flex-start;gap:.8rem;margin:.4rem 0 0}.agreement-heading>span{display:grid;place-items:center;width:2.6rem;height:2.6rem;flex:none;border:1px solid #8ce4ad30;background:#9ee9b50c;border-radius:.85rem;color:#a2eabb}.agreement-heading svg{width:1.2rem;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.agreement-heading h1{font-size:clamp(1.25rem,5vw,1.65rem);line-height:1.2;letter-spacing:-.04em;font-weight:750}.agreement-heading p{color:#8fa597;font-size:.68rem;line-height:1.6;margin-top:.45rem}
.agreement-meter{display:flex;align-items:center;gap:.8rem}.agreement-meter progress{appearance:none;flex:1;min-width:0;width:100%;height:3px;border:0;border-radius:8px;overflow:hidden;background:#b7f4ce12}.agreement-meter progress::-webkit-progress-bar{background:#b7f4ce12}.agreement-meter progress::-webkit-progress-value{background:#9ce9b9;border-radius:8px}.agreement-meter progress::-moz-progress-bar{background:#9ce9b9}.agreement-meter span{width:2.2rem;text-align:right;font-size:.65rem;color:#8fa597;font-variant-numeric:tabular-nums}
.agreement-reader{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#41664e transparent;padding:1.2rem;border:1px solid #93c9a51f;border-radius:1.15rem;background:#101d17b3;outline-offset:-3px}.agreement-reader h2{font-size:.9rem;letter-spacing:-.025em;line-height:1.5;color:#e8f7ed;margin:1.6rem 0 .9rem}.agreement-reader h2:first-child{margin-top:0}.agreement-reader p{font-size:.77rem;line-height:1.85;color:#a9bdb0;margin:0 0 .9rem;overflow-wrap:anywhere}.agreement-reader p:last-child{margin-bottom:0}
.agreement-footer{flex:none}.agreement-accept{width:100%;min-height:3.3rem;padding:.8rem;border:1px solid #c3f9d7;border-radius:.9rem;background:#a2eabb;color:#102719;font-size:.85rem;font-weight:750;box-shadow:0 5px 25px #73ce9220}.agreement-accept:disabled{background:#1b3024;border-color:#395441;color:#7e9a88;opacity:1;box-shadow:none}.agreement-note{text-align:center;color:#718c7b;font-size:.58rem;line-height:1.6;margin:.7rem 0 0}.agreement-error{color:#f2ae9c;font-size:.7rem;text-align:center;margin:.4rem 0}.agreement-error:empty{display:none}
@keyframes welcome-load{0%{transform:scaleX(.02)}45%{transform:scaleX(.55)}100%{transform:scaleX(.9)}}
.welcome-screen.is-ready .welcome-track i{animation:none;transform:scaleX(1)}
@keyframes welcome-drift{to{transform:translate(8vmin,12vmin) scale(1.15)}}
@media(prefers-reduced-motion:reduce){.welcome-screen::before,.welcome-screen::after{animation:none}.welcome-track i{animation:none;transform:scaleX(.9);opacity:.7}}
@media(max-height:540px){.welcome-agreement{gap:.5rem}.agreement-heading{margin:0}.welcome-brand{font-size:.95rem}.agreement-note{margin-top:.35rem}}

/* Branded launch screen; network errors and the agreement retain the same controls. */
.welcome-screen{background:radial-gradient(ellipse at 50% 43%,#1d422c52,transparent 52%),linear-gradient(155deg,#0a1911,#08120d 60%,#0c1c14)}
.welcome-screen::before{width:110vmin;height:110vmin;left:-40vmin;top:-25vmin;filter:blur(55px);background:radial-gradient(circle,#69d59414,transparent 68%)}
.welcome-screen::after{width:100vmin;height:100vmin;right:-45vmin;bottom:-35vmin;filter:blur(55px);background:radial-gradient(circle,#9cbf6512,transparent 70%)}
.welcome-splash{position:relative;max-width:36rem;gap:0;padding:2rem 0 3rem;animation:welcome-intro .7s cubic-bezier(.18,.7,.3,1) both}
.welcome-eyebrow{font-size:.55rem;letter-spacing:.24em;color:#7fa58d;font-weight:650;margin-bottom:2.4rem}
.welcome-logo-stage{position:relative;display:grid;place-items:center;width:11.6rem;height:11.6rem;margin-bottom:1.6rem}
.welcome-logo-stage::before{content:"";position:absolute;inset:1rem;border-radius:50%;background:radial-gradient(circle,#8ee8ac1d,transparent 70%);filter:blur(14px)}
.welcome-orbit{position:absolute;border:1px solid #80bd9426;border-radius:50%;pointer-events:none}
.welcome-orbit-outer{inset:0;animation:welcome-orbit 18s linear infinite}.welcome-orbit-inner{inset:1.2rem;border-color:#90c9a019;animation:welcome-orbit 14s linear infinite reverse}
.welcome-orbit::before{content:"";position:absolute;left:calc(50% - 3px);top:-3px;width:6px;height:6px;border-radius:50%;background:#b9ebc9;box-shadow:0 0 12px #9ae5b65c}
.welcome-orbit-inner::before{width:4px;height:4px;top:-2px;left:calc(50% - 2px);background:#6fab82;box-shadow:none}
.welcome-logo-tile{position:relative;display:grid;place-items:center;width:6.5rem;height:6.5rem;border:1px solid #8fb69b4d;border-radius:1.9rem;background:linear-gradient(145deg,#385b3f7a,#192f218c 62%,#102619);box-shadow:0 18px 48px #00000040,inset 0 1px 0 #e0ffe322;transform:rotate(-8deg);animation:welcome-logo-breathe 5s ease-in-out infinite}
.welcome-logo-tile svg{width:3.7rem;height:3.7rem;transform:rotate(8deg);filter:drop-shadow(0 3px 10px #a0f4bc1a)}
.welcome-wordmark{font-size:clamp(2.05rem,9vw,3.1rem);letter-spacing:-.065em;font-weight:750;line-height:1.2;color:#eaf7ed;text-shadow:none}.welcome-wordmark span{color:#a9dfbb}
.welcome-tagline{font-size:.75rem;letter-spacing:.01em;color:#8fae99;margin-top:.65rem;line-height:1.7}
.welcome-connection{display:grid;justify-items:center;gap:.75rem;margin-top:2.3rem;width:100%}
.welcome-track{width:10.5rem;height:2px;margin:0;background:#749c7e20;border-radius:2rem}
.welcome-track i{width:38%;height:100%;transform:none;background:linear-gradient(90deg,transparent,#b9eac9,transparent);animation:welcome-signal 1.8s ease-in-out infinite;transform-origin:center}
.welcome-splash #welcome-status{margin:0;min-height:1.7em;max-width:22rem;color:#71937d;font-size:.65rem;line-height:1.7;padding-inline:.5rem}
.welcome-screen.is-ready .welcome-track i{width:100%;animation:none;transform:none;background:#a9dfbb}
.welcome-screen.is-ready .welcome-logo-tile{box-shadow:0 0 35px #a1e8b51c,inset 0 1px 0 #e0ffe333}
.welcome-retry{font-size:.73rem;font-weight:650;margin-top:1rem;padding:.8rem 1.2rem;min-height:2.7rem;cursor:pointer}
.welcome-retry:focus-visible{outline:2px solid #b9ebc9;outline-offset:3px}
.has-error .welcome-track i{width:100%;animation:none;opacity:.35;transform:none}.has-error .welcome-orbit,.has-error .welcome-logo-tile{animation-play-state:paused}
.welcome-caption{position:fixed;left:1rem;right:1rem;bottom:max(1.7rem,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:.85rem;font-size:.49rem;letter-spacing:.2em;color:#557963;line-height:1.6}
.welcome-currency-pill{display:inline-flex;align-items:center;gap:.65rem;border:1px solid #6e9c7a2b;border-radius:2rem;padding:.4rem .85rem;background:#a0c8aa04;font-size:.61rem;color:#8bad97;font-weight:650;letter-spacing:.05em}.welcome-currency-pill>span{font-size:.8rem;color:#597e65}
@keyframes welcome-intro{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes welcome-orbit{to{transform:rotate(360deg)}}
@keyframes welcome-logo-breathe{0%,100%{transform:rotate(-8deg) translateY(0)}50%{transform:rotate(-5deg) translateY(-4px)}}
@keyframes welcome-signal{0%{transform:translateX(-110%)}100%{transform:translateX(370%)}}
@media(min-width:960px){.welcome-logo-stage{width:13rem;height:13rem}.welcome-logo-tile{width:7.3rem;height:7.3rem;border-radius:2.2rem}.welcome-logo-tile svg{width:4.1rem;height:4.1rem}.welcome-eyebrow{margin-bottom:2.7rem;font-size:.6rem}.welcome-tagline{font-size:.82rem}}
@media(max-height:650px){.welcome-splash{padding:1rem 0 4rem}.welcome-eyebrow{margin-bottom:1rem}.welcome-logo-stage{width:8.5rem;height:8.5rem;margin-bottom:1rem}.welcome-logo-tile{width:5rem;height:5rem;border-radius:1.5rem}.welcome-logo-tile svg{width:3rem;height:3rem}.welcome-connection{margin-top:1.25rem}.welcome-caption{bottom:.8rem;gap:.4rem}}
@media(max-height:420px){.welcome-logo-stage{width:5.5rem;height:5.5rem;margin-bottom:.5rem}.welcome-logo-tile{width:3.4rem;height:3.4rem;border-radius:1rem}.welcome-logo-tile svg{width:2.2rem;height:2.2rem}.welcome-eyebrow{margin-bottom:.6rem}.welcome-wordmark{font-size:1.65rem}.welcome-tagline{font-size:.6rem;margin-top:.25rem}.welcome-connection{margin-top:.8rem}.welcome-caption{display:none}.welcome-splash{padding:.5rem 0}}
@media(prefers-reduced-motion:reduce){.welcome-splash,.welcome-orbit,.welcome-logo-tile,.welcome-track i{animation:none}.welcome-track i{width:100%;transform:none;opacity:.65}}

/* Keep the footer in normal flow: animated ancestors contain fixed children on iOS. */
.welcome-splash>.welcome-caption{position:static;inset:auto;flex:none;width:100%;margin-top:clamp(1.4rem,4vh,2.5rem)}
.welcome-splash>.welcome-connection{flex:none}
.welcome-track{position:relative;flex:none;isolation:isolate;overflow:hidden}
@media(max-height:650px){.welcome-splash>.welcome-caption{margin-top:1.1rem}.welcome-splash{padding-bottom:1rem}}
@media(max-height:420px){.welcome-splash>.welcome-caption{display:none}}
