:root {
  color-scheme: dark;
  --cyan: #00e5ff;
  --background: #05080d;
  --panel: #0b121a;
  --border: #263746;
  --text: #f4f8fb;
  --muted: #8b9aa9;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login {
  width: min(100%, 390px);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 2px solid var(--cyan);
  border-radius: 14px;
  color: var(--cyan);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -2px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.description {
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #d5e0e8;
  font-size: 12px;
  font-weight: 700;
}

input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: var(--panel);
  color: white;
  font: inherit;
}

input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px #00e5ff18;
}

button {
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  border: 0;
  border-radius: 10px;
  background: var(--cyan);
  color: #001015;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

#message {
  min-height: 24px;
  margin: 12px 0 0;
  color: #ff9292;
  font-size: 13px;
}

footer {
  margin-top: 42px;
  color: #526170;
  font-size: 11px;
  letter-spacing: 0.04em;
}