:root {
  color-scheme: dark;
  --page: #090c11;
  --surface: #111720;
  --line: rgba(255, 255, 255, .11);
  --text: #f2f5f8;
  --muted: #94a2b4;
  --accent: #e43f39;
  --accent-light: #ff6a62;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: radial-gradient(circle at 0 0, rgba(228,63,57,.16), transparent 31rem), radial-gradient(circle at 96% 100%, rgba(34,68,105,.13), transparent 29rem), var(--page); }
.login-shell { display: grid; min-height: 100vh; place-items: center; padding: 32px 20px; }
.login-card { width: min(100%, 448px); padding: clamp(30px, 6vw, 47px); border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(25,32,43,.96), rgba(12,16,23,.98)); box-shadow: 0 28px 65px rgba(0,0,0,.36); }
.brand-mark { display: grid; grid-template-columns: repeat(3, 6px); gap: 3px; align-content: center; width: 50px; height: 50px; margin-bottom: 30px; padding: 12px; border: 1px solid rgba(228,63,57,.55); border-radius: 13px; background: rgba(228,63,57,.08); }
.brand-mark span { height: 25px; border-radius: 3px; background: var(--accent); }
.brand-mark span:nth-child(2) { height: 16px; align-self: end; opacity: .78; }
.brand-mark span:nth-child(3) { height: 10px; align-self: end; opacity: .46; }
.eyebrow { margin: 0 0 9px; color: var(--accent-light); font-size: .69rem; font-weight: 760; letter-spacing: .15em; }
h1 { margin: 0; font-size: clamp(1.75rem, 5.7vw, 2.35rem); line-height: 1.07; letter-spacing: -.045em; }
.description { margin: 13px 0 31px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
form { display: grid; gap: 8px; }
label { margin-top: 7px; color: #d1d9e4; font-size: .8rem; font-weight: 650; }
input { width: 100%; height: 45px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: inherit; background: rgba(0,0,0,.18); outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
input:focus { border-color: var(--accent-light); box-shadow: 0 0 0 3px rgba(228,63,57,.16); }
button { height: 47px; margin-top: 12px; border: 0; border-radius: 8px; color: white; font: inherit; font-weight: 700; cursor: pointer; background: linear-gradient(110deg, #d93434, #ef554c); box-shadow: 0 8px 20px rgba(201,42,38,.2); transition: filter .18s ease, transform .18s ease; }
button:hover { filter: brightness(1.1); transform: translateY(-1px); }
button:disabled { cursor: wait; opacity: .7; transform: none; }
.form-error { min-height: 1.25em; margin: 4px 0 -3px; color: #ff8e88; font-size: .78rem; }
.footnote { margin: 29px 0 0; color: #718096; font-size: .72rem; text-align: center; }
