@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root { color-scheme: dark; --bg: #10121a; --text: #f1f0f6; --muted: #9294a4; --accent: #b8adff; --line: #343644; }
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { min-height: 100vh; min-height: 100dvh; margin: 0; padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); display: grid; place-items: center; color: var(--text); background: radial-gradient(ellipse at 50% 0, #292442 0, transparent 52%), var(--bg); font-family: "DM Sans", "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
.login-card { width: min(100%, 410px); padding: 34px; border: 1px solid #2f3040; border-radius: 16px; background: rgba(23,26,36,.94); box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 44px; color: inherit; text-decoration: none; }
.brand-logo { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.brand-name { font: 800 15px Manrope, sans-serif; letter-spacing: -.7px; }.brand-name span { color: #aaaab7; font-weight: 500; }
.eyebrow { margin: 0 0 10px; color: #b9b3df; font-size: 12px; font-weight: 600; }
h1 { margin: 0 0 8px; font: 700 clamp(25px, 7vw, 31px)/1.2 Manrope, "Segoe UI", sans-serif; letter-spacing: -1px; }
.intro { margin: 0 0 28px; color: var(--muted); font-size: 13px; line-height: 1.6; }
form { display: flex; flex-direction: column; }
label { margin: 0 0 7px; color: #d1cfdb; font-size: 12px; font-weight: 600; }
input { width: 100%; min-height: 48px; margin: 0 0 18px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; outline: none; color: var(--text); background: #12141c; font: inherit; font-size: 16px; }
input:focus { border-color: #8275cc; box-shadow: 0 0 0 3px rgba(170,160,255,.12); }
#loginError { min-height: 20px; margin: -5px 0 8px; color: #f28c94; font-size: 12px; line-height: 1.5; }
button { min-height: 48px; border: 0; border-radius: 8px; color: #171326; background: var(--accent); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; touch-action: manipulation; }
button:disabled { opacity: .65; cursor: wait; }
.secure-note { margin: 23px 0 0; color: #777987; font-size: 11px; text-align: center; }.secure-note span { margin-right: 5px; color: #8e83d0; font-size: 8px; }
@media (max-width: 480px) { .login-card { padding: 28px 22px; border-radius: 13px; }.brand { margin-bottom: 35px; }.brand-logo { width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
