:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0d1720;
  color: #f4f7f8;
}

* { box-sizing: border-box; }

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

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

.login-card {
  width: min(100%, 420px);
  padding: 42px;
  border: 1px solid #293943;
  border-radius: 18px;
  background: #13212b;
  box-shadow: 0 24px 70px rgb(0 0 0 / 28%);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 11px;
  background: #f4f7f8;
  color: #0d1720;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.eyebrow {
  margin: 0 0 8px;
  color: #67c7a5;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.intro {
  margin: 14px 0 28px;
  color: #a9b7bf;
  font-size: 15px;
  line-height: 1.55;
}

form { display: grid; gap: 10px; }

label {
  margin-top: 8px;
  color: #dce4e7;
  font-size: 13px;
  font-weight: 650;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #344751;
  border-radius: 9px;
  outline: none;
  background: #0e1a22;
  color: #f4f7f8;
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input:focus-visible {
  border-color: #67c7a5;
  box-shadow: 0 0 0 3px rgb(103 199 165 / 18%);
}

button {
  min-height: 50px;
  margin-top: 14px;
  border: 0;
  border-radius: 9px;
  background: #67c7a5;
  color: #0a1713;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

button:hover { background: #7bd5b5; }
button:active { transform: translateY(1px); }
button:focus-visible { outline: 3px solid rgb(103 199 165 / 35%); outline-offset: 3px; }

.login-error {
  padding: 11px 13px;
  border: 1px solid #7a4349;
  border-radius: 8px;
  background: #341e23;
  color: #ffc7cc;
  font-size: 13px;
}

.security-note {
  margin: 26px 0 0;
  color: #758791;
  font-size: 12px;
  text-align: center;
}

.security-note span { color: #67c7a5; }

@media (max-width: 520px) {
  .login-shell { padding: 14px; }
  .login-card { padding: 30px 24px; }
}
