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

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(110, 111, 222, 0.18), transparent 38%),
    #101012;
}

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

.login-card {
  width: min(100%, 420px);
  padding: clamp(28px, 8vw, 44px);
  border: 1px solid #303034;
  border-radius: 28px;
  background: rgba(31, 31, 34, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 15px;
  background: #6e6fde;
  box-shadow: 0 10px 30px rgba(110, 111, 222, 0.32);
  font-size: 22px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 9px;
  color: #9291ef;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

h1 {
  margin: 0;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.intro {
  margin: 14px 0 28px;
  color: #aaa9af;
  line-height: 1.55;
}

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

label {
  color: #d8d7db;
  font-size: 14px;
  font-weight: 680;
}

input,
button {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font: inherit;
}

input {
  border: 1px solid #45454b;
  outline: none;
  background: #161618;
  color: #fff;
  padding: 0 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus {
  border-color: #8b8cec;
  box-shadow: 0 0 0 4px rgba(110, 111, 222, 0.15);
}

button {
  margin-top: 4px;
  border: 0;
  background: #6e6fde;
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  transition: filter 160ms ease, transform 160ms ease;
}

button:hover {
  filter: brightness(1.08);
}

button:active {
  transform: translateY(1px);
}

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

.status {
  min-height: 22px;
  margin: 14px 0 -8px;
  color: #ff8998;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 480px) {
  .login-shell {
    align-items: end;
    padding: 12px;
  }

  .login-card {
    border-radius: 26px;
  }
}
