:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #15130f;
  background: #faf9f7;
  color-scheme: light;
  --surface: #fff;
  --surface-2: #f5f4f1;
  --text: #15130f;
  --text-2: #4a4741;
  --muted: #6e685f;
  --line: #e8e6e1;
  --line-strong: #dedbd4;
  --brand: #3f5c7a;
  --ring: 0 0 0 3px rgba(63, 92, 122, .22);
  --shadow: 0 18px 48px rgba(20, 18, 15, .08);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: var(--surface-2); color: var(--text); }
main { width: min(100%, 500px); padding: 42px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
main > a:first-child { display: block; width: 215px; max-width: 100%; }
img { display: block; width: 100%; height: auto; }
.eyebrow { margin: 34px 0 0; color: var(--brand); font-size: 10px; letter-spacing: 1.8px; }
h1 { margin: 0 0 12px; font-size: 34px; line-height: 1.12; letter-spacing: -1px; font-weight: 700; }
.intro { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.7; }
form { display: grid; gap: 9px; }
.autofill-username { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
label { display: block; margin: 26px 0 9px; color: var(--text-2); font-size: 12px; font-weight: 700; }
input:not(.autofill-username) { width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
input:not(.autofill-username):hover { border-color: #c9c5bc; }
input:not(.autofill-username):focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
button { width: 100%; min-height: 44px; margin-top: 16px; padding: 11px 12px; border: 1px solid var(--text); border-radius: 7px; background: var(--text); color: #faf9f7; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .18s, border-color .18s, opacity .18s; }
button:hover { background: #2b2925; border-color: #2b2925; }
button span { float: right; }
button:disabled { opacity: .55; cursor: wait; }
.note { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.back { display: inline-flex; align-items: center; min-height: 36px; margin-top: 12px; color: var(--brand); font-size: 12px; text-decoration: none; }
.back:hover { text-decoration: underline; }
:focus-visible { outline: none; box-shadow: var(--ring); }
#access-error { color: #d84a3f; }
@media (max-width: 450px) { main { padding: 28px; border-radius: 12px; } h1 { font-size: 30px; } body { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
