body.login-body {
  display: block;
  place-items: unset;
  background: var(--surface);
  min-height: 100vh;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(380px, 44%) 1fr;
  min-height: 100vh;
}

.login-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 48px 56px;
  color: #eef3ff;
  background: linear-gradient(160deg, #0b1535 0%, #14246b 48%, #2d57d6 100%);
}

.login-hero::before,
.login-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.login-hero::before {
  width: 440px;
  height: 440px;
  top: -140px;
  right: -140px;
  background: radial-gradient(circle, rgb(99 143 255 / 45%), transparent 70%);
}

.login-hero::after {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -100px;
  background: radial-gradient(circle, rgb(59 211 171 / 25%), transparent 70%);
}

.login-hero > * {
  position: relative;
  z-index: 1;
}

.login-hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.login-hero-top .login-brand {
  font-size: 18px;
}

.login-hero-top .login-brand-divider {
  width: 1px;
  height: 16px;
  background: rgb(255 255 255 / 30%);
}

.login-hero-top .login-brand-sub {
  font-size: 13px;
  font-weight: 600;
  color: rgb(238 243 255 / 75%);
}

.login-hero-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 18%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.login-hero-mid h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.login-hero-mid p {
  margin: 0;
  max-width: 360px;
  color: rgb(238 243 255 / 80%);
  font-size: 15px;
  line-height: 1.6;
}

.login-hero-bottom {
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.login-hero-bottom .login-hero-eyebrow {
  margin: 0 0 8px;
  color: rgb(238 243 255 / 60%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.login-hero-bottom .login-hero-tagline {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 48px 32px;
}

.login-card {
  width: min(380px, 100%);
}

.login-card .eyebrow {
  margin: 0;
}

.login-card h1 {
  margin: 10px 0 10px;
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.2;
}

.login-card .login-sub {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.login-submit {
  width: 100%;
  margin-top: 6px;
}

.login-footnote {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 860px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-hero {
    min-height: 260px;
    padding: 36px 28px;
  }

  .login-hero-mid h1 {
    font-size: 26px;
  }

  .login-panel {
    padding: 40px 24px 56px;
  }
}
