:root {
  color-scheme: dark;
  --ink: #101213;
  --panel: #171a1d;
  --line: #30373d;
  --text: #edf0f2;
  --muted: #aab5bf;
  --signal: #d32f27;
  --signal-deep: #a41f1a;
  --focus: #f1c95b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 18% 14%, #283139 0%, var(--ink) 42%, #090a0b 100%);
}

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

.login-card {
  width: min(100%, 430px);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 93%, transparent);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .46);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
  border-radius: 13px;
  place-items: center;
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .06em;
  background: linear-gradient(145deg, #ee463b, var(--signal-deep));
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--focus);
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.intro { margin: 14px 0 30px; color: var(--muted); line-height: 1.55; }

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

label { margin-top: 8px; font-size: .85rem; font-weight: 650; }

input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  font: inherit;
  background: #0f1113;
}

input:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

button {
  min-height: 49px;
  margin-top: 16px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: #fff;
  font: inherit;
  font-weight: 750;
  background: linear-gradient(100deg, var(--signal-deep), var(--signal));
}

button:disabled { cursor: progress; opacity: .72; }
.error { margin: 8px 0 0; color: #ff9b94; line-height: 1.4; }
.status { margin: 20px 0 0; color: #b7e8c1; }
.privacy-note { margin: 28px 0 0; color: #7e8a94; font-size: .78rem; line-height: 1.45; }

@media (max-width: 440px) { .login-card { padding: 30px 23px; } }
