/* Light aqua welcome page. Trading desk styles remain scoped to the member area. */
body[data-access="guest"],body[data-access="loading"]{background:#a1eee3;color:#073e48}
#authGate.aqua-landing{--landing-ink:#073e48;--landing-yellow:#ffda24;position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(350px,.85fr);grid-template-rows:auto auto;gap:28px clamp(40px,6vw,104px);align-items:start;width:100%;max-width:none;min-height:calc(100svh - 150px);margin:0;padding:24px max(36px,calc((100vw - 1440px)/2 + 40px)) 48px;box-sizing:border-box;color:var(--landing-ink);background:#70ddd0;color-scheme:light}
.landing-backdrop{position:absolute;inset:0;z-index:-2;overflow:hidden;pointer-events:none;background:#70ddd0}
.landing-backdrop img{display:block;width:100%;height:100%;object-fit:cover;object-position:58% center;animation:landing-background-drift 26s ease-in-out infinite alternate;transform-origin:60% 45%}
.landing-backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#b8f8eeef 0%,#b1f7eced 28%,#9cefe2b8 45%,#8ae5d630 62%,#70ddd033 100%)}
.landing-light-waves{position:absolute;inset:-20%;background:linear-gradient(118deg,transparent 34%,#fff3 35%,transparent 36%,transparent 53%,#eafff63d 54%,transparent 55%);animation:landing-light-drift 18s ease-in-out infinite alternate;opacity:.65}
.landing-header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0;padding:6px 24px 6px 12px;min-height:94px;border-radius:16px;background:#07151b;border:1px solid #164c51;box-shadow:0 8px 24px #005c5f12}
.landing-header>a{display:block;min-width:0;max-width:70%;line-height:0}.landing-header img{display:block;width:370px;max-width:100%;height:94px;object-fit:contain;object-position:left center}
.landing-motion-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:44px;padding:10px 13px;border:1px solid #88cfce;border-radius:9px;background:#0b3f49;color:#f4ffff;font-size:12px;font-weight:650;line-height:1.4}.landing-motion-toggle svg{width:18px;height:18px}.landing-motion-toggle:hover{background:#155461}.landing-motion-toggle:disabled{opacity:1;color:#c5e8e5;border-color:#547e83;cursor:default}
#authGate .auth-brand{position:relative;min-width:0;max-width:660px;align-self:center;padding:20px 0}.auth-brand .eyebrow{color:#0b515c!important;font-size:12px!important;letter-spacing:2px!important;margin:0 0 20px!important;font-weight:800}
#authGate .auth-brand h1{font-size:clamp(40px,4.25vw,65px);line-height:1.08;letter-spacing:-2.4px;font-weight:800;color:#002e3b;margin:0 0 28px;position:relative;padding-bottom:20px;max-width:640px}
#authGate .auth-brand h1::after{content:"";display:block;position:absolute;bottom:0;left:0;width:78%;max-width:440px;height:8px;border-radius:100% 35% 60% 20%;background:var(--landing-yellow);transform:rotate(-1deg)}
#authGate .auth-brand>p:not(.eyebrow){font-size:17px;line-height:1.7;color:#0a4b55;max-width:560px;margin:0 0 25px}
#authGate .auth-benefits{display:flex;flex-wrap:nowrap;gap:12px;margin:26px 0 16px;max-width:620px}
#authGate .auth-benefits>span{display:flex;flex:1;align-items:center;gap:10px;min-width:0;min-height:72px;margin:0;padding:12px 10px;background:#eafff9;border:1px solid #b5eee2;border-radius:12px;color:#103d49;font-size:12px;line-height:1.5;font-weight:650}
#authGate .auth-benefits svg{width:36px;height:36px;padding:9px;flex:0 0 36px;border-radius:50%;background:#087d88;color:#fff;stroke-width:2}
#authGate .auth-brand>small{display:block;max-width:580px;font-size:12px;line-height:1.75;color:#244e59}
#authGate .auth-broker{max-width:560px;margin-top:24px;border:1px solid #c6f4e9;border-radius:14px;padding:17px;background:#e9fff9}
#authGate .auth-broker>strong{display:block;color:#083f4a;font-size:14px;font-weight:750;line-height:1.5;margin:0 0 12px}
#authGate .auth-broker .broker-signup-link{display:flex;align-items:center;justify-content:center;min-height:54px;padding:15px 16px;background:var(--landing-yellow);border:1px solid #edc80e;border-radius:10px;box-shadow:none;color:#052f40;font-size:16px;font-weight:800;line-height:1.45;letter-spacing:0;opacity:1;text-decoration:none}
#authGate .auth-broker .broker-signup-link:hover{background:#ffe34a;color:#052f40}.auth-broker small[data-broker-pending]{color:#355a64!important}
#authGate .auth-card{position:relative;width:100%;max-width:520px;min-width:0;justify-self:end;align-self:start;margin:20px 0 0;padding:30px;border:1px solid #e3eeeb;border-radius:20px;background:#fff;color:#173c49;box-shadow:0 18px 52px #0a627b24}
#authGate .auth-tabs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;padding:4px;background:#eef2f5;border:1px solid #e6edf0;border-radius:12px}
#authGate .auth-tabs button{min-height:52px;background:#eef2f5;border:0;border-radius:9px;color:#153849;font-size:15px;font-weight:750;line-height:1.45;padding:10px 8px}
#authGate .auth-tabs button[aria-selected="true"]{background:var(--landing-yellow);color:#052f40;box-shadow:none}
#authGate .auth-status{min-height:0;margin:22px 0;color:#405668;font-size:13px;line-height:1.75}
#authGate .auth-card label{font-size:14px;font-weight:750;color:#123e4b;margin-top:20px;line-height:1.6}
#authGate .auth-card input{background:#f8fafb;color:#123844;border:1px solid #cbd8e0;border-radius:9px;min-height:52px;padding:13px 14px;font-size:16px;font-weight:450;line-height:1.5;opacity:1;box-shadow:none;margin-top:8px}
#authGate .auth-card input::placeholder{color:#687c90;opacity:1}.auth-card .landing-password-field{position:relative;margin-top:8px}#authGate .landing-password-field input{padding-right:52px;margin-top:0}#authGate .landing-password-field button{position:absolute;right:5px;top:5px;display:grid;place-items:center;width:42px;height:42px;min-height:42px;padding:0;border:0;border-radius:6px;background:#f8fafb;color:#506b7b}#authGate .landing-password-field svg{width:20px;height:20px}
#authGate .auth-card .primary-button{min-height:56px;width:100%;margin-top:26px;padding:15px 14px;border:1px solid #edc80e;border-radius:11px;background:var(--landing-yellow);color:#052f40;font-size:16px;font-weight:850;line-height:1.5;letter-spacing:.1px;box-shadow:none}
#authGate .auth-card .primary-button:hover{background:#ffe34a;filter:none}#authGate .auth-card .primary-button:disabled{opacity:1;background:#ede5b4;border-color:#d4c991;color:#5d613e}
#authGate .auth-card small,#authGate .auth-card .auth-privacy,#authGate .auth-card .auth-disclaimer{font-size:11px;line-height:1.8;color:#4f6572}
#authGate :is(button,a,input):focus-visible{outline:3px solid #075b6b;outline-offset:4px}#authGate .landing-motion-toggle:focus-visible{outline-color:#ffda24}#authGate .auth-card input:focus{border-color:#278a9b;box-shadow:0 0 0 3px #67d6c94d}
.landing-floating-cards{position:absolute;z-index:0;left:52%;bottom:62px;width:124px;height:164px;pointer-events:none;filter:drop-shadow(0 12px 13px #06535e3b)}
.landing-float-card{position:absolute;display:flex;align-items:center;justify-content:center;width:90px;height:132px;border-radius:11px;border:2px solid #d9eeee;color:#fff;background:#101a20;animation:landing-card-even 6s ease-in-out infinite;transform:rotate(-14deg);left:-30px;top:10px}.landing-float-card.odd{left:24px;top:18px;background:#e81742;border-color:#ffb2bf;animation-name:landing-card-odd;animation-delay:-2s}.landing-float-card b{position:absolute;top:10px;left:10px;font-size:28px;line-height:1}.landing-float-card>span{font-size:48px}.landing-float-card small{position:absolute;bottom:10px;right:10px;font-size:18px;font-weight:750;line-height:1}
#authGate[data-motion="paused"] :is(.landing-backdrop img,.landing-light-waves,.landing-float-card){animation-play-state:paused;will-change:auto}
#authGate[data-motion="running"] :is(.landing-backdrop img,.landing-light-waves,.landing-float-card){will-change:transform}
body[data-access="guest"] .risk-footer,body[data-access="loading"] .risk-footer{max-width:none;width:100%;margin:0;background:#e6fcf6;border-top:1px solid #b0e5de;padding:22px max(36px,calc((100vw - 1440px)/2 + 40px)) max(26px,env(safe-area-inset-bottom));color:#294d5b}
body[data-access="guest"] .risk-footer h2,body[data-access="loading"] .risk-footer h2{color:#0a4450;font-size:14px;line-height:1.6}
body[data-access="guest"] .risk-footer :is(p,strong,a),body[data-access="loading"] .risk-footer :is(p,strong,a){color:#294d5b}body[data-access="guest"] .risk-footer p,body[data-access="loading"] .risk-footer p{font-size:12px;line-height:1.8;max-width:1320px}body[data-access="guest"] .risk-footer a:focus-visible,body[data-access="loading"] .risk-footer a:focus-visible{outline-color:#075b6b}
@keyframes landing-background-drift{from{transform:scale(1.035) translateX(0)}to{transform:scale(1.075) translateX(-1%)}}@keyframes landing-light-drift{from{transform:translate(-2%,1%) rotate(-1deg)}to{transform:translate(3%,-2%) rotate(1deg)}}@keyframes landing-card-even{0%,100%{transform:translateY(0) rotate(-14deg)}50%{transform:translateY(-9px) rotate(-11deg)}}@keyframes landing-card-odd{0%,100%{transform:translateY(0) rotate(13deg)}50%{transform:translateY(-12px) rotate(10deg)}}
@media(max-width:1280px){#authGate.aqua-landing{grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:28px 40px;padding-inline:32px}.landing-floating-cards{display:none}#authGate .auth-brand h1{font-size:clamp(40px,4.6vw,58px)}#authGate .auth-benefits{gap:8px}#authGate .auth-benefits>span{gap:7px;padding:10px 8px;font-size:11px}#authGate .auth-card{padding:26px}#authGate .auth-brand>p:not(.eyebrow){font-size:16px}}
@media(max-width:1000px){#authGate.aqua-landing{grid-template-columns:minmax(0,1fr);gap:26px;padding:20px 30px 36px;min-height:auto}.landing-header{grid-column:1;max-width:100%;min-height:90px}#authGate .auth-brand{max-width:660px;width:100%;justify-self:center;align-self:start;padding:8px 0 0}#authGate .auth-card{max-width:660px;width:100%;justify-self:center;margin:0;padding:28px}#authGate .auth-brand h1{max-width:640px;font-size:clamp(38px,6vw,54px);letter-spacing:-1.7px}#authGate .auth-brand h1 br{display:none}#authGate .auth-brand>p:not(.eyebrow){max-width:620px}#authGate .auth-benefits{max-width:none}.landing-backdrop img{object-position:66% top}.landing-backdrop::after{background:linear-gradient(180deg,#9af1e3cc,#b8f8eeec 58%,#9ceddfee)}#authGate .auth-broker{max-width:none}body[data-access="guest"] .risk-footer,body[data-access="loading"] .risk-footer{padding-inline:30px}}
@media(max-width:600px){#authGate.aqua-landing{padding:14px max(16px,env(safe-area-inset-right)) 28px max(16px,env(safe-area-inset-left));gap:24px}.landing-header{border-radius:12px;gap:10px;padding:6px 12px;min-height:80px}.landing-header>a{max-width:calc(100% - 54px);flex:1}.landing-header img{width:260px;max-width:100%;height:72px}.landing-motion-toggle{width:42px;height:44px;min-height:44px;padding:9px}.landing-motion-toggle span{display:none}.landing-motion-toggle svg{width:22px;height:22px}#authGate .auth-brand{padding:0}.auth-brand .eyebrow{font-size:10px!important;letter-spacing:1.65px!important;margin-bottom:14px!important}#authGate .auth-brand h1{font-size:clamp(33px,8.7vw,44px);line-height:1.12;letter-spacing:-1.5px;margin-bottom:20px;padding-bottom:17px}#authGate .auth-brand h1::after{height:6px;width:75%}#authGate .auth-brand>p:not(.eyebrow){font-size:14px;line-height:1.8;margin-bottom:20px}#authGate .auth-benefits{gap:7px;margin:20px 0 14px}#authGate .auth-benefits>span{flex-direction:column;justify-content:center;gap:7px;text-align:center;min-height:90px;padding:10px 5px;font-size:11px;line-height:1.5;border-radius:10px}#authGate .auth-benefits svg{width:32px;height:32px;flex-basis:32px;padding:8px}#authGate .auth-brand>small{font-size:11px;line-height:1.8}#authGate .auth-broker{margin-top:20px;padding:15px 13px;border-radius:12px}#authGate .auth-broker>strong{font-size:13px;margin-bottom:11px}#authGate .auth-broker .broker-signup-link{font-size:14px;min-height:54px;padding:14px 10px}#authGate .auth-card{padding:22px 18px;border-radius:16px}#authGate .auth-tabs button{font-size:13px;min-height:50px}#authGate .auth-status{font-size:12px;line-height:1.8;margin:20px 0}#authGate .auth-card label{font-size:14px;margin-top:20px}#authGate .auth-card input{font-size:16px;min-height:52px}#authGate .auth-card .primary-button{font-size:14px;min-height:56px}body[data-access="guest"] .risk-footer,body[data-access="loading"] .risk-footer{padding:20px max(18px,env(safe-area-inset-right)) max(26px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}.landing-backdrop img{object-position:62% top}#authGate .auth-card .auth-privacy,#authGate .auth-card .auth-disclaimer{font-size:11px}}
@media(display-mode:standalone){#authGate.aqua-landing{padding-top:max(16px,env(safe-area-inset-top))}}
@media(prefers-reduced-motion:reduce){#authGate :is(.landing-backdrop img,.landing-light-waves,.landing-float-card){animation:none!important;will-change:auto!important}.landing-float-card.odd{transform:rotate(13deg)}}
body[data-access="member"] #authGate.aqua-landing{display:none}

/* Motion v2: cards occupy their own space; forms remain above the decorative layer. */
#authGate .landing-effects{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
#authGate .landing-header,#authGate .auth-brand,#authGate .auth-card{z-index:1}
#authGate .landing-header{position:relative}
#authGate .landing-motion-slot{position:relative;height:245px;width:100%;pointer-events:none}
#authGate .landing-motion-slot>small{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:11px;color:#164953;line-height:1.6}
#authGate[data-motion-engine="ready"] .landing-backdrop img{animation:none;transform-origin:center}
#authGate .pim-seq{z-index:1}
@media(max-width:1000px){#authGate .auth-brand{align-self:start}#authGate .landing-motion-slot{height:230px}}
@media(max-width:600px){#authGate .landing-motion-slot{height:225px}}
@media(display-mode:standalone){#authGate.aqua-landing{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));padding-bottom:max(28px,env(safe-area-inset-bottom))}}
/* Confirmed registration, before revealing the member area. */
.registration-success{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;overflow:auto;min-width:0;padding:max(24px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));background:#b9f5eb;color:#073e48;color-scheme:light;opacity:1;transition:opacity .22s ease}
.registration-success[data-phase="leaving"]{opacity:0;pointer-events:none}
.registration-success-card{width:100%;max-width:520px;padding:30px clamp(20px,5vw,40px);border:1px solid #b3e9df;border-radius:26px;background:#fff;text-align:center;box-shadow:0 24px 80px #0a627b20;animation:registration-success-enter .3s ease-out both}
.registration-success-card>img{display:block;max-width:100%;width:230px;height:auto;padding:8px 12px;background:#07151b;border-radius:12px;margin:0 auto 28px}
.registration-success-check{width:78px;height:78px;display:grid;place-items:center;margin:0 auto 24px;border-radius:50%;background:#dcfaeb;color:#09864e;box-shadow:0 0 0 8px #effcf5}
.registration-success-check svg{width:40px;height:40px;stroke-width:2.8}
.registration-success-card h2{font:750 clamp(24px,5.5vw,32px)/1.25 Inter,system-ui,sans-serif;color:#073e48;margin:0 0 16px;letter-spacing:-.5px;overflow-wrap:anywhere}
.registration-success-card h2:focus{outline:0}
.registration-success-card p{font:400 15px/1.7 Inter,system-ui,sans-serif;color:#42626a;margin:0}
.registration-success-progress{height:5px;max-width:180px;margin:24px auto 0;border-radius:10px;overflow:hidden;background:#e3f3ed}
.registration-success-progress span{display:block;height:100%;background:#13a16a;transform-origin:left;animation:registration-success-fill 1.4s ease-out both}
@keyframes registration-success-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes registration-success-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.registration-success{transition:none}.registration-success-card,.registration-success-progress span{animation:none}}
