:root{color-scheme:dark;--bg:#070709;--surface:#0e0f12;--text:#f1f1f4;--muted:#9898a2;--accent:#c6c2cf;--line:rgba(255,255,255,.085);--line-soft:rgba(255,255,255,.055)}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{margin:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;overflow-x:hidden;background:radial-gradient(760px 520px at 18% 42%,rgba(124,116,145,.075),transparent 68%),radial-gradient(580px 380px at 84% 30%,rgba(88,84,101,.04),transparent 72%),var(--bg);color:var(--text);font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased;position:relative;isolation:isolate}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(rgba(255,255,255,.016) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px);background-size:58px 58px;-webkit-mask-image:radial-gradient(ellipse at 26% 30%,#000,transparent 76%);mask-image:radial-gradient(ellipse at 26% 30%,#000,transparent 76%)}
body::after{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,rgba(255,255,255,.008),transparent 22%,transparent 78%,rgba(0,0,0,.16))}
h1,h2,p{margin:0}h1,h2{font-family:Arial,Helvetica,sans-serif;font-style:normal}
a{color:inherit;text-decoration:none}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:5px}
svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.wrap{width:min(1100px,calc(100% - 64px));margin-inline:auto}
.site-header{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line-soft)}
.brand{display:flex;align-items:center;gap:11px}.brand img{object-fit:contain}.brand span{font-size:20px;font-weight:650;line-height:1.1;letter-spacing:-.015em}
.back-link{display:inline-flex;align-items:center;gap:8px;color:#a6a6af;font-size:12px;transition:color .18s ease}.back-link svg{width:14px;height:14px}
.back-link:hover,.explore-link:hover span,.label-row a:hover,.register-link a:hover,.site-footer a:hover{color:#fff}
.login-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,430px);gap:88px;align-items:center;flex:1;padding:50px 24px 58px}
.portal-intro{padding-bottom:8px}
.eyebrow{margin-bottom:17px;color:#a2a2ac;font-size:12px;font-weight:500}
h1{max-width:570px;font-size:clamp(46px,4.6vw,60px);font-weight:700;letter-spacing:-.015em;line-height:1.12}
h1 span{color:#c7c3d0;background:linear-gradient(105deg,#eceaf0,#aaa5b5);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.intro-copy{max-width:470px;margin-top:21px;color:#9696a1;font-size:15px;line-height:1.72}
.portal-benefits{display:flex;flex-wrap:wrap;gap:20px 26px;max-width:390px;margin-top:32px;padding-top:22px;border-top:1px solid var(--line)}
.portal-benefits span{display:flex;align-items:center;gap:9px;color:#b4b4be;font-size:12px}.portal-benefits svg{width:15px;height:15px;color:#b5b0bf}
.explore-link{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;margin-top:40px;color:#7f8089;font-size:11px}
.explore-link span{display:flex;align-items:center;gap:8px;color:#bdbdc6;font-size:12px;transition:color .18s ease}.explore-link svg{width:13px;height:13px}
.login-card{position:relative;padding:36px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,rgba(255,255,255,.018),transparent 48%),rgba(14,15,18,.92);box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 22px 58px rgba(0,0,0,.22)}
.login-card::before{content:'';position:absolute;height:1px;top:-1px;left:38px;right:38px;background:linear-gradient(90deg,transparent,rgba(211,207,219,.25),transparent);pointer-events:none}
.form-heading .eyebrow{margin-bottom:7px;color:#9b9ba5;font-size:11px}
.form-heading h2{font-size:29px;font-weight:700;letter-spacing:-.015em;line-height:1.2}
.form-heading>p:last-child{margin-top:8px;color:#90909a;font-size:13px}
form{margin-top:28px}.field+.field{margin-top:18px}
label{display:block;margin-bottom:8px;color:#c4c4cc;font-size:12px;font-weight:500}
input{display:block;width:100%;min-width:0;height:50px;padding:0 14px;border:1px solid rgba(255,255,255,.105);border-radius:8px;outline:none;background:rgba(6,7,9,.64);color:#f1f1f4;font-size:13px;box-shadow:inset 0 1px 0 rgba(255,255,255,.012);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
input::placeholder{color:#70717a;opacity:1}input:hover{border-color:rgba(255,255,255,.17)}input:focus{border-color:rgba(198,193,209,.5);background:#0a0b0d;box-shadow:0 0 0 3px rgba(192,186,204,.07)}
input:-webkit-autofill{-webkit-text-fill-color:#f1f1f4;box-shadow:0 0 0 1000px #111216 inset;caret-color:#f1f1f4}input:-webkit-autofill:focus{box-shadow:0 0 0 1000px #111216 inset,0 0 0 3px rgba(192,186,204,.07)}
.label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.label-row a{color:#9999a3;font-size:11px;transition:color .18s ease}
.password-field{position:relative}.password-field input{padding-right:48px}
.password-toggle{position:absolute;right:4px;top:3px;width:42px;height:44px;padding:0;border:0;display:grid;place-items:center;background:transparent;color:#81828b;cursor:pointer}.password-toggle:hover{color:#d8d8df}.password-toggle svg{width:17px;height:17px}.password-toggle .eye-closed{display:none}.password-toggle[aria-pressed="true"] .eye-open{display:none}.password-toggle[aria-pressed="true"] .eye-closed{display:block}
.sign-in-button{width:100%;min-height:49px;margin-top:24px;padding:12px 15px;border:1px solid rgba(255,255,255,.72);border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(180deg,#e9e8ec,#d5d3da);color:#17171b;font-size:13px;font-weight:650;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.65);transition:transform .16s ease,background .18s ease,box-shadow .18s ease}
.sign-in-button svg{width:16px;height:16px}.sign-in-button:hover{transform:translateY(-1px);background:linear-gradient(180deg,#f4f3f5,#dfdde3);box-shadow:0 8px 22px rgba(0,0,0,.18)}.sign-in-button:active{transform:translateY(0)}.sign-in-button:disabled{opacity:.65;cursor:wait;transform:none}
#result{--status-color:#9697a0;--status-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='M10 6v4.5M10 13.5h.01'/%3E%3C/svg%3E");display:none;width:100%;margin:14px 0 0;padding:0;border:0;background:none;color:#bcbcc5;font-size:12px;font-weight:400;line-height:1.6;text-align:left;overflow-wrap:anywhere}
#result:not(:empty){display:flex;align-items:flex-start;gap:9px}#result::before{content:"";flex:0 0 15px;width:15px;height:15px;margin-top:2px;background:var(--status-color);-webkit-mask:var(--status-icon) center/contain no-repeat;mask:var(--status-icon) center/contain no-repeat}#result.error{--status-color:#c88f97}#result.success{--status-color:#8fb29e;--status-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='m6.5 10 2.3 2.3 4.7-4.7'/%3E%3C/svg%3E")}
.register-link{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:5px;row-gap:5px;margin-top:23px;padding-top:22px;border-top:1px solid var(--line-soft);color:#85858f;font-size:11px}.register-link a{display:inline-flex;align-items:center;gap:3px;color:#c8c8d0;font-weight:500;transition:color .18s ease}.register-link svg{width:12px;height:12px}
.secure-note{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:18px;color:#6f7079;font-size:10px}.secure-note svg{width:12px;height:12px}
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-top:1px solid var(--line-soft);color:#73747d;font-size:11px}.site-footer nav{display:flex;flex-wrap:wrap;gap:24px}.site-footer a{display:inline-flex;align-items:center;gap:5px;color:#9999a2;transition:color .18s ease}.site-footer svg{width:12px;height:12px}
.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;z-index:10;padding:11px 13px;border:1px solid var(--line);background:#17181b}
@media(min-width:741px) and (max-height:800px){.site-header{min-height:78px}.login-layout{padding-top:24px;padding-bottom:24px}.login-card{padding-top:29px;padding-bottom:29px}.form-heading .eyebrow{margin-bottom:6px}.secure-note{margin-top:15px}}
@media(max-width:1000px){.login-layout{gap:48px;padding-inline:0;grid-template-columns:minmax(0,1fr) minmax(320px,400px)}.login-card{padding:30px}h1{font-size:47px}.portal-benefits{flex-direction:column;gap:13px}.intro-copy{font-size:15px}}
@media(max-width:740px){.wrap{width:calc(100% - 40px)}.site-header{min-height:76px;gap:16px}.brand{gap:7px}.brand img{width:42px;height:42px}.brand span{font-size:18px}.back-link{font-size:11px;gap:6px}.back-link svg{width:13px}.login-layout{display:block;width:min(430px,calc(100% - 40px));padding:30px 0 40px}.portal-intro{padding:0 3px 26px}.portal-intro .eyebrow{margin-bottom:8px;font-size:11px}h1{font-size:32px;line-height:1.12}h1 br{display:none}h1 span::before{content:' '}.intro-copy{margin-top:10px;font-size:12px}.intro-copy br{display:none}.portal-benefits,.explore-link{display:none}.login-card{padding:27px 24px;border-radius:13px}.form-heading .eyebrow{display:none}.form-heading h2{font-size:27px}.form-heading>p:last-child{font-size:12px}input{font-size:16px}input::placeholder{font-size:12px}form{margin-top:25px}.register-link{font-size:11px}.site-footer{font-size:10px;padding:20px 0;gap:14px;flex-wrap:wrap}.site-footer nav{gap:15px}}
@media(max-width:360px){.brand span{font-size:17px}.back-link{max-width:84px;line-height:1.3}.login-card{padding:24px 18px}.label-row a{font-size:10px}h1{font-size:29px}.site-footer{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
