:root {
  color-scheme: light;
  font-family: "IBM Plex Sans", "Avenir Next", system-ui, sans-serif;
  color: #1b2a3a;
  background: #f2f5f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body { min-width: 320px; min-height: 100vh; margin: 0; }

.login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 15% 12%, rgba(49, 95, 169, .10), transparent 35%),
    radial-gradient(ellipse at 88% 90%, rgba(25, 120, 111, .08), transparent 34%),
    #f2f5f8;
}

.login-card {
  width: min(100%, 430px);
  padding: 38px;
  border: 1px solid #dce3e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(24, 42, 65, .09);
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: #182a41;
  background: #c6d6e8;
  font-size: 21px;
  font-weight: 750;
}

.eyebrow {
  margin: 26px 0 8px;
  color: #315fa9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(23px, 5vw, 29px); font-weight: 660; letter-spacing: -.035em; line-height: 1.2; }
.intro { margin: 12px 0 25px; color: #627286; font-size: 13px; line-height: 1.55; }
form { display: grid; gap: 9px; }
label { margin-top: 5px; color: #48596d; font-size: 11px; font-weight: 650; }
input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #cbd5df;
  border-radius: 5px;
  color: #1b2a3a;
  background: #fff;
  font: inherit;
  font-size: 13px;
}
input:focus { outline: 3px solid rgba(49, 95, 169, .18); border-color: #315fa9; }
button {
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid #315fa9;
  border-radius: 5px;
  color: #fff;
  background: #315fa9;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
}
button:hover:not(:disabled) { border-color: #244b8a; background: #244b8a; }
button:focus-visible { outline: 3px solid #82a5d9; outline-offset: 2px; }
button:disabled { cursor: wait; opacity: .65; }
.login-error { margin: 5px 0 0; color: #a03e4b; font-size: 12px; line-height: 1.45; }
.access-note { margin: 21px 0 0; padding-top: 16px; border-top: 1px solid #edf0f3; color: #627286; font-size: 10px; line-height: 1.5; }

@media (max-width: 460px) {
  .login-shell { padding: 15px; }
  .login-card { padding: 28px 23px; }
}
