:root { color-scheme: dark; --ink: #eef3ff; --muted: #a9b6d0; --accent: #a5b4fc; --line: #ffffff1f; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 24px; font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; color: var(--ink); background: radial-gradient(ellipse at 15% 0%, #384072 0, transparent 55%), radial-gradient(ellipse at 95% 95%, #16464b 0, transparent 50%), #0c1223; }
main { width: min(100%, 430px); padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: #131c30e8; box-shadow: 0 32px 100px #0005; animation: appear .35s ease-out; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.03em; }
.mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, #a5b4fc, #67e8d0); color: #15233d; font-size: 20px; }
.eyebrow { margin-top: 38px; color: #8fe0d1; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
h1 { font-size: 30px; letter-spacing: -.04em; margin: 12px 0; }
p { color: var(--muted); font-size: 14px; line-height: 1.7; }
form { margin-top: 28px; }
label { font-size: 13px; }
input[type=password] { width: 100%; margin: 10px 0 20px; padding: 14px 16px; color: var(--ink); background: #0b1426; border: 1px solid #354360; border-radius: 12px; font: inherit; }
input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.remember { display: flex; align-items: center; gap: 10px; color: var(--muted); }
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--accent); }
button { width: 100%; margin-top: 26px; padding: 14px; border: 0; border-radius: 12px; background: linear-gradient(110deg, #a5b4fc, #c4b5fd); color: #172039; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s, filter .15s; }
button:hover { filter: brightness(1.07); transform: translateY(-1px); }
button:disabled { opacity: .6; cursor: wait; }
#login-message { color: #ffb8c1; min-height: 22px; margin: 12px 0 0; font-size: 13px; }
.footnote { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 0; font-size: 12px; }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) { main { padding: 28px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
