:root { --ink: #08130f; --paper: #f1f0e8; --acid: #b9f227; --muted: #69716b; --line: rgba(8,19,15,.16); }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: Manrope, sans-serif; display: grid; grid-template-columns: minmax(320px, .85fr) 1.15fr; }
.auth-side { padding: 48px clamp(28px, 5vw, 75px); background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; }
.brand { color: inherit; text-decoration: none; font-size: 19px; font-weight: 800; letter-spacing: -.05em; }
.brand span { font-weight: 400; }
.auth-side h1 { font-size: clamp(52px, 6vw, 84px); letter-spacing: -.07em; line-height: .93; margin: 0; }
.auth-side h1 em { color: var(--acid); font-family: Georgia, serif; font-weight: 400; }
.auth-side p { color: #929b95; font-size: 13px; line-height: 1.7; max-width: 430px; }
.auth-main { display: grid; place-items: center; padding: 40px; }
.auth-card { width: min(440px, 100%); }
.auth-label { color: var(--muted); font: 500 10px DM Mono, monospace; letter-spacing: .13em; }
.auth-card h2 { font-size: 42px; letter-spacing: -.05em; margin: 12px 0 8px; }
.auth-card > p { color: var(--muted); margin: 0 0 35px; font-size: 14px; }
.auth-card label { display: block; font: 500 10px DM Mono, monospace; letter-spacing: .1em; margin: 22px 0 8px; }
.auth-card input { width: 100%; height: 58px; border: 1px solid var(--line); background: rgba(255,255,255,.38); padding: 0 17px; font: 15px Manrope, sans-serif; outline: none; }
.auth-card input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--acid); }
.auth-card button { width: 100%; height: 60px; margin-top: 28px; border: 0; background: var(--ink); color: white; font: 700 12px Manrope, sans-serif; letter-spacing: .08em; cursor: pointer; }
.auth-card button:hover { color: var(--acid); }
.auth-card button:disabled { opacity: .6; cursor: wait; }
.switch { text-align: center; margin-top: 25px; font-size: 13px; }
.switch a { color: var(--ink); font-weight: 700; }
.auth-error { border-left: 3px solid #bd3e35; background: rgba(189,62,53,.08); padding: 12px 15px; color: #8d211b; font-size: 13px; margin-top: 20px; }
@media (max-width: 760px) { body { grid-template-columns: 1fr; } .auth-side { min-height: 220px; padding: 28px; } .auth-side h1 { font-size: 43px; margin: 45px 0 10px; } .auth-main { padding: 60px 24px; } }
