:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17212b;
  background: #f4f6f8;
}

* { box-sizing: border-box; }

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

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.login-panel {
  width: min(100%, 460px);
  padding: 40px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(20, 32, 44, .11);
}

.brand-logo { display: block; width: auto; max-width: 184px; height: 48px; object-fit: contain; }

h1 { margin: 32px 0 10px; font-size: clamp(1.55rem, 4vw, 1.9rem); line-height: 1.2; letter-spacing: -.025em; }

.login-intro { margin: 0 0 30px; max-width: 38ch; color: #465360; line-height: 1.55; }

label { display: block; margin: 20px 0 8px; font-weight: 600; font-size: .91rem; }

input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #697685;
  border-radius: 8px;
  background: #fff;
  color: #17212b;
  font: inherit;
}

input:focus-visible, button:focus-visible { outline: 3px solid #914000; outline-offset: 3px; }

button {
  width: 100%;
  min-height: 48px;
  margin-top: 28px;
  border: 0;
  border-radius: 8px;
  background: #ff5000;
  color: #17212b;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

button:hover { background: #cc3f00; color: #fff; }
button:active { background: #cc3f00; color: #fff; }

.login-error {
  margin: 22px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff1ee;
  color: #8a261c;
  line-height: 1.45;
}

.login-note { margin: 24px 0 0; color: #566575; font-size: .86rem; }

@media (max-width: 520px) {
  .login-shell { padding: 16px; }
  .login-panel { padding: 32px 24px; }
}
