:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18212a;
  background: #f7f8f9;
}

* { box-sizing: border-box; }
body {
  display: grid;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 1.25rem;
  place-items: center;
}
a { color: #075985; }
:focus-visible { outline: 3px solid rgba(20, 93, 160, 0.4); outline-offset: 3px; }
.login-card {
  width: min(100%, 430px);
  padding: clamp(1.5rem, 6vw, 2.5rem);
  border: 1px solid #e4e7ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(24, 33, 42, 0.08);
}
.brand { display: inline-flex; margin-bottom: 2rem; }
.brand img { display: block; width: min(220px, 70vw); height: 42px; object-fit: contain; object-position: left center; }
h1 { margin: 0 0 0.5rem; font-size: 1.7rem; line-height: 1.2; }
.intro { margin: 0 0 1.5rem; color: #56616b; }
form { display: grid; gap: 0.65rem; }
label { font-weight: 650; }
input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #aeb7bf;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
}
button {
  min-height: 44px;
  margin-top: 0.25rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid #18212a;
  border-radius: 8px;
  background: #18212a;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
button:hover { background: #2f3a44; }
button:disabled { opacity: 0.6; cursor: wait; }
button.secondary { border-color: #cdd3d8; background: #fff; color: #18212a; }
button.secondary:hover { background: #f2f4f5; }
button.text-button { min-height: 36px; border: 0; background: transparent; color: #075985; text-decoration: underline; }
.error {
  margin: 0 0 1rem;
  padding: 0.75rem;
  border: 1px solid #e7aaa4;
  border-radius: 8px;
  background: #fff0ee;
  color: #8d1b13;
}
.status {
  margin: 0 0 1rem;
  padding: 0.75rem;
  border: 1px solid #9fc5a8;
  border-radius: 8px;
  background: #eef8f0;
  color: #1d5a2c;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #e4e7ea; }
.legal-links a { min-height: 32px; display: inline-flex; align-items: center; }
[hidden] { display: none !important; }
