:root{font-family:Montserrat,system-ui,-apple-system,sans-serif;color:#3d3952;background:#f8f7fc;font-synthesis:none;line-height:1.5}
*{box-sizing:border-box}
body{margin:0}
.login-shell{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 0%,#eeeaff,transparent 58%)}
.card{width:min(100%,440px);padding:clamp(24px,6vw,40px);background:#fff;border:1px solid #ebe8f4;border-radius:16px;box-shadow:0 16px 50px #32276b13;overflow-wrap:anywhere}
.brand{display:flex;align-items:center;gap:12px;color:#5545c7;font-weight:750;font-size:1.15rem;letter-spacing:-.025em;margin-bottom:32px}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#7367f0;color:white;font-size:1.3rem;box-shadow:0 4px 11px #7367f052}
h1{font-size:clamp(1.5rem,5vw,1.85rem);line-height:1.2;letter-spacing:-.03em;margin:0 0 8px;color:#302c45}
.intro{margin:0 0 26px;color:#625d76;font-size:.92rem}
label{display:block;font-size:.86rem;font-weight:650;margin-bottom:6px}
input:not([type=hidden]){width:100%;min-height:45px;border:1px solid #c9c4d8;border-radius:7px;padding:10px 12px;margin-bottom:17px;font:inherit;color:inherit;background:white}
button{font:inherit;cursor:pointer}
.primary{width:100%;min-height:45px;border:0;border-radius:7px;padding:10px 14px;background:#5e50d4;color:white;font-weight:650;margin-top:7px}
.primary:hover{background:#5142bf}
:focus-visible{outline:3px solid #897aef;outline-offset:3px}
.message{padding:9px 12px;background:#f1edff;color:#49379f;border-radius:7px;font-size:.88rem}
.error{background:#fff0f1;color:#9e2037}
nav{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}
a{color:#5545c7}
