:root{
--navy:#132a46; --navy-light:#1c3a5e; --navy-pale:#e9eff6; --navy-pale-2:#dbe5f0;
--orange:#ef7e1a; --orange-light:#ff9a45; --orange-pale:#fef1e2;
--ink:#0a1626; --muted:#5c6b80; --paper:#ffffff; --paper-2:#f6f8fb;
--surface:#ffffff; --heading:#132a46; --body-text:#2b3646; --header-bg:rgba(255,255,255,0.96);
--line:#e2e8f0; --line-strong:#cbd6e3;
--display:"Playfair Display","Times New Roman",serif; --body:"Noto Sans",-apple-system,sans-serif;
--shadow-sm:0 2px 10px rgba(0,38,77,0.06); --shadow-md:0 12px 34px rgba(0,38,77,0.10); --shadow-lg:0 24px 60px rgba(0,38,77,0.16);
--pattern-dot:rgba(0,38,77,0.09); --pattern-line:rgba(0,38,77,0.05);
--blob-1:rgba(239,126,26,0.16); --blob-2:rgba(0,64,128,0.14);
}
html[data-theme="dark"]{
--navy:#132a46; --navy-light:#1c3a5e; --navy-pale:#152238; --navy-pale-2:#1c2e48;
--orange:#ff8f45; --orange-light:#ffb37a; --orange-pale:rgba(255,143,69,0.14);
--ink:#eef1f7; --muted:#93a0b8; --paper:#080c14; --paper-2:#0e1420;
--surface:#0e1420; --heading:#eef1f7; --body-text:#ccd4e2; --header-bg:rgba(8,12,20,0.88);
--line:rgba(255,255,255,0.09); --line-strong:rgba(255,255,255,0.18);
--shadow-sm:0 2px 10px rgba(0,0,0,0.35); --shadow-md:0 14px 36px rgba(0,0,0,0.45); --shadow-lg:0 26px 64px rgba(0,0,0,0.55);
--pattern-dot:rgba(255,255,255,0.08); --pattern-line:rgba(255,255,255,0.045);
--blob-1:rgba(255,143,69,0.22); --blob-2:rgba(58,120,200,0.22);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{background:var(--paper);color:var(--body-text);font-family:var(--body);-webkit-font-smoothing:antialiased;transition:background-color .3s ease,color .3s ease;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
::selection{background:var(--orange);color:#fff;}
:focus-visible{outline:2px solid var(--orange);outline-offset:3px;}

/* ===== TOP BAR ===== */
.topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 40px;background:var(--header-bg);border-bottom:1px solid var(--line);}
.tb-back{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--muted);}
.tb-back:hover{color:var(--orange);}
.tb-back svg{width:15px;height:15px;stroke:currentColor;}
.tb-right{display:flex;align-items:center;gap:14px;}
.theme-toggle{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--surface);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;flex-shrink:0;}
.theme-toggle:hover{border-color:var(--orange);}
.theme-toggle svg{width:17px;height:17px;stroke:var(--heading);}
.theme-toggle .icon-moon{display:none;}
html[data-theme="dark"] .theme-toggle .icon-sun{display:none;}
html[data-theme="dark"] .theme-toggle .icon-moon{display:block;}
.app-grid-pill{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:var(--heading);background:var(--paper-2);border:1px solid var(--line);padding:8px 14px;border-radius:999px;}
.app-grid-pill svg{width:14px;height:14px;stroke:var(--muted);}
@media (max-width:900px){.app-grid-pill{display:none;}}

/* ===== LAYOUT ===== */
.split{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - 73px);}
@media (max-width:980px){.split{grid-template-columns:1fr;}}

/* ---- LEFT: FORM ---- */
.form-side{display:flex;align-items:center;justify-content:center;padding:60px 40px;}
.form-wrap{width:100%;max-width:400px;}
.app-badge{display:inline-flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;border-radius:999px;background:var(--paper-2);border:1px solid var(--line);margin-bottom:32px;}
.app-badge .ic{width:30px;height:30px;border-radius:50%;background:var(--orange);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.app-badge .ic svg{width:15px;height:15px;stroke:#fff;}
.app-badge span{font-size:12.5px;font-weight:700;color:var(--heading);}
.app-badge span b{color:var(--orange);font-weight:800;}

.form-wrap h1{font-family:var(--display);font-weight:700;font-size:clamp(28px,3.4vw,36px);color:var(--heading);line-height:1.15;letter-spacing:-0.01em;}
.form-wrap .lede{font-size:14.5px;color:var(--muted);margin-top:10px;margin-bottom:24px;line-height:1.6;}

.form-alert{display:flex;align-items:center;padding:14px 16px;border-radius:11px;font-size:13.5px;font-weight:600;line-height:1.5;margin-top:18px;margin-bottom:18px;}
.form-alert.success{background:rgba(34,197,94,0.1);color:#15803d;border:1px solid rgba(34,197,94,0.3);}
.form-alert.error,.form-alert.warning,.form-alert.danger{background:rgba(224,69,58,0.1);color:#e0453a;border:1px solid rgba(224,69,58,0.3);}
.form-alert.info,.form-alert.debug{background:rgba(37,99,235,0.1);color:#2563eb;border:1px solid rgba(37,99,235,0.3);}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:700;font-size:14px;padding:13px 22px;border-radius:12px;border:1.5px solid transparent;transition:all .2s ease;cursor:pointer;width:100%;font-family:var(--body);}
.btn.solid{background:var(--orange);color:#fff;box-shadow:0 8px 22px rgba(239,126,26,0.28);}
.btn.solid:hover{background:#d96e0f;transform:translateY(-1px);}
.btn.sso{background:var(--navy);color:#fff;margin-top:26px;}
.btn.sso:hover{background:var(--navy-light);transform:translateY(-1px);}
.btn.sso svg{width:17px;height:17px;}

.divider{display:flex;align-items:center;gap:14px;margin:26px 0;}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:var(--line);}
.divider span{font-size:11.5px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:0.06em;}

.field{margin-bottom:18px;}
.field-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media (max-width:460px){.field-grid-2{grid-template-columns:1fr;gap:0;}}
.field-error{color:#e0453a;font-size:12px;font-weight:600;margin-top:6px;}
.field label{display:block;font-size:12.5px;font-weight:700;color:var(--heading);margin-bottom:7px;}
.field .input-wrap{position:relative;display:flex;align-items:center;}
.field svg.f-icon{position:absolute;left:14px;width:16px;height:16px;stroke:var(--muted);pointer-events:none;}
.field input{width:100%;padding:12px 14px 12px 40px;border-radius:11px;border:1.5px solid var(--line-strong);background:var(--surface);color:var(--heading);font-size:14px;font-family:var(--body);transition:border-color .2s ease;}
.field input.no-icon{padding-left:14px;}
.field input:focus{outline:none;border-color:var(--orange);}
.field input::placeholder{color:var(--muted);}
.field .toggle-pw{position:absolute;right:12px;background:none;border:none;cursor:pointer;padding:4px;}
.field .toggle-pw svg{width:16px;height:16px;stroke:var(--muted);}

.row-between{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;font-size:13px;}
.remember{display:flex;align-items:center;gap:8px;color:var(--muted);font-weight:600;}
.remember input{width:16px;height:16px;accent-color:var(--orange);}
.forgot{color:var(--orange);font-weight:700;}
.forgot:hover{text-decoration:underline;}

.signup-note{text-align:center;margin-top:24px;font-size:13.5px;color:var(--muted);}
.signup-note a{color:var(--orange);font-weight:700;}
.signup-note a:hover{text-decoration:underline;}

/* OTP INPUT BOXES */
.otp-row{display:flex;gap:10px;margin-bottom:8px;}
.otp-box{width:48px;height:56px;border-radius:12px;border:1.5px solid var(--line-strong);background:var(--surface);color:var(--heading);font-family:var(--display);font-size:22px;font-weight:700;text-align:center;transition:border-color .2s ease, box-shadow .2s ease;}
.otp-box:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 4px var(--orange-pale);}
.otp-box.filled{border-color:var(--navy-light);}
.otp-error{display:none;align-items:center;gap:6px;font-size:12.5px;color:#e0453a;font-weight:600;margin-top:8px;}
.otp-error.show{display:flex;}
.otp-error svg{width:14px;height:14px;stroke:#e0453a;flex-shrink:0;}
@media (max-width:400px){.otp-box{width:42px;height:52px;font-size:19px;}.otp-row{gap:8px;}}

.also-access{margin-top:44px;padding-top:28px;border-top:1px solid var(--line);}
.also-access .aa-lbl{font-size:11px;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;}
.aa-pills{display:flex;flex-wrap:wrap;gap:8px;}
.aa-pill{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--heading);background:var(--paper-2);border:1px solid var(--line);padding:7px 12px;border-radius:999px;transition:all .18s ease;}
.aa-pill:hover{border-color:var(--orange);color:var(--orange);}
.aa-pill svg{width:12px;height:12px;stroke:currentColor;}

@media (max-width:640px){
.also-access{position:relative;}
.also-access .aa-lbl{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;margin-bottom:0;padding:13px 18px;border-radius:14px;border:1px solid var(--navy);background:var(--navy);font-size:12px;font-weight:700;letter-spacing:0.04em;text-transform:none;color:#fff;}
.also-access .aa-lbl::after{content:"";width:7px;height:7px;border:none;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);transition:transform .2s ease;flex-shrink:0;}
.also-access.open .aa-lbl::after{transform:rotate(-135deg);}
.aa-pills{position:absolute;top:calc(100% + 4px);left:0;right:0;flex-direction:column;flex-wrap:nowrap;gap:2px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px rgba(0,10,25,0.18);padding:8px;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s ease, transform .2s ease, visibility .2s ease;z-index:5;max-height:60vh;overflow-y:auto;}
.also-access.open .aa-pills{opacity:1;visibility:visible;transform:translateY(0);}
.aa-pills .aa-pill{background:none;border:none;border-radius:10px;padding:10px 14px;width:100%;}
.aa-pills .aa-pill:hover{background:var(--paper-2);border-color:transparent;}
}

/* ---- RIGHT: INFO PANEL ---- */
.info-side{
position:relative; overflow:hidden; isolation:isolate;
background-color:var(--paper-2);
background-image:
    radial-gradient(circle, var(--pattern-dot) 1.6px, transparent 1.6px),
    linear-gradient(115deg, var(--pattern-line) 1px, transparent 1px);
background-size:24px 24px, 48px 48px;
display:flex; flex-direction:column; justify-content:center;
padding:64px 56px;
}
.info-side::before,.info-side::after{content:"";position:absolute;border-radius:50%;filter:blur(6px);pointer-events:none;z-index:0;}
.info-side::before{top:-140px;right:-120px;width:420px;height:420px;background:radial-gradient(circle,var(--blob-1),transparent 70%);}
.info-side::after{bottom:-160px;left:-110px;width:380px;height:380px;background:radial-gradient(circle,var(--blob-2),transparent 70%);}
.info-side > *{position:relative;z-index:1;}
@media (max-width:980px){.info-side{padding:52px 40px;}}

.info-eyebrow{font-size:12px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--orange);display:flex;align-items:center;gap:9px;margin-bottom:14px;}
.info-eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--orange);}
.info-side h2{font-family:var(--display);font-weight:700;font-size:clamp(26px,3vw,34px);color:var(--heading);line-height:1.2;max-width:16ch;margin-bottom:12px;}
.info-side .info-lede{font-size:14.5px;color:var(--muted);max-width:44ch;line-height:1.65;margin-bottom:38px;}

.info-cards{display:flex;flex-direction:column;gap:16px;}
.info-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px 24px;box-shadow:var(--shadow-sm);}
.info-card .ic-head{display:flex;align-items:center;gap:11px;margin-bottom:14px;}
.info-card .ic-ic{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.info-card.before .ic-ic{background:var(--orange-pale);}
.info-card.before .ic-ic svg{stroke:var(--orange);}
.info-card.after .ic-ic{background:var(--navy-pale);}
.info-card.after .ic-ic svg{stroke:var(--navy);}
html[data-theme="dark"] .info-card.after .ic-ic svg{stroke:var(--orange-light);}
.info-card .ic-ic svg{width:17px;height:17px;}
.info-card h3{font-family:var(--display);font-weight:700;font-size:16.5px;color:var(--heading);}
.info-card ul{list-style:none;}
.info-card li{position:relative;padding-left:20px;font-size:13.5px;line-height:1.6;color:var(--muted);margin-bottom:9px;}
.info-card li:last-child{margin-bottom:0;}
.info-card li::before{content:"";position:absolute;left:2px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--orange);}
.info-card.after li::before{background:var(--navy);}
html[data-theme="dark"] .info-card.after li::before{background:var(--orange-light);}

.help-strip{display:flex;align-items:center;gap:12px;margin-top:22px;padding:16px 18px;border-radius:14px;background:rgba(239,126,26,0.08);border:1px dashed var(--orange);}
.help-strip svg{width:20px;height:20px;stroke:var(--orange);flex-shrink:0;}
.help-strip p{font-size:12.5px;color:var(--heading);line-height:1.5;}
.help-strip a{color:var(--orange);font-weight:700;}
.help-strip a:hover{text-decoration:underline;}

[data-reveal]{opacity:0;transform:translateY(16px);transition:opacity .6s ease, transform .6s ease;}
[data-reveal].is-visible{opacity:1;transform:translateY(0);}
