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

* { box-sizing: border-box; }

body {
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(229, 35, 57, .13), transparent 32rem),
    radial-gradient(circle at 90% 90%, rgba(255, 255, 255, .06), transparent 30rem),
    #0b0c0e;
}

main {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}

.login-card {
  width: min(100%, 430px);
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid #2a2d32;
  border-radius: 28px;
  background: rgba(19, 21, 24, .94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.brand { display: flex; align-items: center; gap: 13px; margin-bottom: 54px; }
.brand span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #e52339;
  color: white;
  font-weight: 900;
  letter-spacing: -.04em;
}
.brand strong { font-size: 19px; letter-spacing: .18em; }
.eyebrow { color: #ee5264; font-size: 12px; font-weight: 800; letter-spacing: .19em; }
h1 { margin: 10px 0 13px; font-size: clamp(34px, 8vw, 46px); line-height: 1.02; letter-spacing: -.045em; }
.intro { margin: 0 0 34px; color: #aeb3bc; font-size: 16px; line-height: 1.55; }
label { display: block; margin-bottom: 9px; color: #bfc3ca; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
input {
  width: 100%;
  min-height: 58px;
  padding: 0 17px;
  border: 1px solid #353941;
  border-radius: 14px;
  outline: 0;
  background: #0c0e10;
  color: white;
  font: inherit;
  font-size: 20px;
  letter-spacing: .08em;
}
input:focus { border-color: #e52339; box-shadow: 0 0 0 3px rgba(229, 35, 57, .16); }
button {
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  background: #e52339;
  color: white;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  cursor: pointer;
}
button:disabled { opacity: .62; cursor: wait; }
.message { min-height: 24px; margin: 18px 0 7px; color: #ff7786; font-size: 14px; line-height: 1.45; }
small { color: #707680; }

@media (max-width: 520px) {
  .login-card { padding: 28px 24px; border-radius: 22px; }
  .brand { margin-bottom: 42px; }
}
