.login-page {
  min-height: 100vh;
  margin: 0;
  background: hsl(220 33% 98%);
}
.login-shell {
  min-height: 100vh;
  background: hsl(220 33% 98%);
}
.login-brand {
  position: relative;
  display: none;
  min-height: 100vh;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 4rem;
  background:
    radial-gradient(circle at 12% 16%, hsla(315 78% 57% / 0.2), transparent 34%),
    radial-gradient(circle at 86% 78%, hsla(245 88% 64% / 0.2), transparent 38%),
    linear-gradient(145deg, hsl(228 38% 10%), hsl(232 42% 7%));
}
.login-brand::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsla(0 0% 100% / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, hsla(0 0% 100% / 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: '';
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}
.login-brand-logo,
.login-brand-copy,
.login-trust {
  position: relative;
  z-index: 1;
}
.login-brand-logo,
.login-mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.login-brand-logo .text-text-primary {
  color: hsl(210 40% 98%);
}
.login-brand-logo .text-text-muted {
  color: hsl(215 20% 67%);
}
.login-brand-copy {
  max-width: 34rem;
}
.login-eyebrow {
  color: hsl(262 84% 67%);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.login-brand-copy h1 {
  margin-top: 1.25rem;
  color: hsl(210 40% 98%);
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.login-brand-copy p {
  max-width: 32rem;
  margin-top: 1.5rem;
  color: hsl(215 26% 78%);
  font-size: 1.125rem;
  line-height: 1.7;
}
.login-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  color: hsl(215 20% 67%);
  font-size: 0.75rem;
}
.login-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.login-trust i {
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: hsl(142 71% 50%);
  box-shadow: 0 0 12px hsl(142 71% 50%);
}
.login-stage {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: hsl(220 33% 98%);
  color: hsl(222 34% 12%);
}
.login-form {
  width: 100%;
  max-width: 23.5rem;
}
.login-mobile-logo {
  margin-bottom: 3rem;
  color: hsl(222 34% 12%);
}
.login-mobile-logo .text-meta {
  color: hsl(218 12% 45%);
}
.login-form-eyebrow {
  display: block;
  color: hsl(262 70% 50%);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.login-form-title {
  margin: 0.65rem 0 0;
  color: hsl(222 34% 12%);
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.login-form-intro {
  margin: 0.75rem 0 0;
  color: hsl(218 12% 42%);
  font-size: 0.925rem;
  line-height: 1.55;
}
.login-error {
  margin-top: 1.5rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid hsl(0 72% 78%);
  border-radius: 0.625rem;
  background: hsl(0 75% 97%);
  color: hsl(0 65% 40%);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.login-fields {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 2rem;
}
.login-fields label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.login-fields label > span {
  color: hsl(222 25% 20%);
  font-size: 0.8125rem;
  font-weight: 650;
}
.login-fields input {
  width: 100%;
  height: 3rem;
  box-sizing: border-box;
  padding: 0 0.875rem;
  border: 1px solid hsl(218 20% 82%);
  border-radius: 0.625rem;
  outline: none;
  background: hsl(0 0% 100%);
  color: hsl(222 34% 12%);
  font: inherit;
  box-shadow: 0 1px 2px hsla(222 34% 12% / 0.04);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}
.login-fields input:hover {
  border-color: hsl(218 18% 68%);
}
.login-fields input:focus {
  border-color: hsl(262 70% 55%);
  box-shadow: 0 0 0 3px hsla(262 70% 55% / 0.15);
}
.login-fields button {
  height: 3rem;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, hsl(322 81% 60%), hsl(262 84% 60%) 55%, hsl(239 84% 58%));
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px hsla(262 70% 45% / 0.2);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}
.login-fields button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px hsla(262 70% 45% / 0.27);
}
.login-fields button:focus-visible {
  outline: 3px solid hsla(262 70% 55% / 0.25);
  outline-offset: 2px;
}
.login-help {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
}
.login-help a {
  color: hsl(218 12% 42%);
  text-decoration: none;
}
.login-help a:hover {
  color: hsl(262 70% 45%);
  text-decoration: underline;
}
.login-security-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(218 20% 86%);
  color: hsl(218 12% 46%);
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
}
@media (min-width: 1024px) {
  .login-shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .login-brand {
    display: flex;
  }
  .login-mobile-logo {
    display: none;
  }
}
