:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; --ink:#191815; --muted:#706c64; --paper:#f5f1e8; --panel:#fffdf8; --line:#d8d0c3; --accent:#e15a2a; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--paper); background-image: linear-gradient(rgba(216,208,195,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(216,208,195,.18) 1px,transparent 1px); background-size: 30px 30px; }
.login-shell { min-height: 100vh; padding: 28px; display: grid; place-items: center; }
.login-card { width: min(100%, 460px); padding: 36px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 70px rgba(45,35,20,.12); }
header { margin-bottom: 48px; display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--paper); background: var(--ink); border-radius: 50%; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
header strong, header small { display: block; }
header strong { font: 600 21px Georgia, serif; }
header small { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { margin: 0 0 10px; color: #a43715; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
h1 { margin: 0; font: 500 clamp(40px, 9vw, 58px)/.95 Georgia, serif; letter-spacing: -.045em; }
.intro { margin: 18px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.login-error { padding: 10px 12px; color: #8b2c16; background: #f9dfd5; border-radius: 6px; font-size: 12px; }
form { display: grid; gap: 16px; }
label { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
input { width: 100%; height: 48px; margin-top: 7px; padding: 0 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; outline: none; font: 15px system-ui, sans-serif; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225,90,42,.12); }
button { height: 48px; margin-top: 4px; color: #fff; background: var(--accent); border: 0; border-radius: 7px; cursor: pointer; font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
button:hover { background: #c9471d; }
footer { margin-top: 24px; color: var(--muted); font-size: 11px; text-align: center; }
footer span { width: 7px; height: 7px; display: inline-block; margin-right: 6px; background: #2a7a57; border-radius: 50%; }
@media (max-width:520px) { .login-shell { padding: 14px; } .login-card { padding: 28px 22px; } }
