body { min-height: 100vh; background: #fff; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.05fr) minmax(460px, .95fr); }
.login-story { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 44px clamp(40px, 6vw, 92px); color: #fff; background: #31145d; }
.login-story::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -120px; border-radius: 44% 56% 65% 35%; background: #6c39c7; transform: rotate(-16deg); opacity: .9; }
.login-story::after { content: ""; position: absolute; width: 400px; height: 400px; left: -190px; bottom: -210px; border-radius: 50%; background: var(--orange); }
.login-story > * { position: relative; z-index: 1; }
.brand.light .brand-mark { color: var(--purple-dark); background: var(--lime); }
.brand.light .brand-word span { color: var(--lime); }
.story-copy { max-width: 640px; margin: auto 0; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 820; letter-spacing: .17em; color: var(--lime); }
.eyebrow.purple { margin-bottom: 12px; color: var(--purple); }
.story-copy h1 { max-width: 620px; margin: 0 0 26px; font-size: clamp(44px, 5vw, 76px); line-height: .99; letter-spacing: -.065em; }
.story-copy > p:last-child { max-width: 570px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.story-proof { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255,255,255,.7); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(201,238,101,.12); }
.login-panel { display: grid; place-items: center; padding: 42px; background: #fff; }
.login-form { width: min(100%, 420px); display: grid; gap: 22px; }
.login-form h2 { margin: 0; font-size: 38px; letter-spacing: -.045em; }
.form-intro { margin: 10px 0 0; color: var(--muted); }
.label-row { display: flex; align-items: center; justify-content: space-between; }
.password-actions { display: flex; align-items: center; gap: 14px; }
.password-actions .text-link, .auth-back { color: var(--purple); font-size: 12px; font-weight: 750; text-decoration: none; }
.password-actions .text-link:hover, .auth-back:hover { text-decoration: underline; }
.text-button { padding: 0; border: 0; color: var(--purple); background: transparent; font-size: 12px; font-weight: 750; }
.submit-button { width: 100%; margin-top: 4px; }
.form-error { padding: 12px 14px; border-radius: 10px; color: #8f241c; background: #fff0ee; font-size: 13px; line-height: 1.5; }
.form-success { padding: 17px 18px; border: 1px solid #d9e9c8; border-radius: 12px; color: #26421c; background: #f3faec; font-size: 14px; line-height: 1.65; }
.auth-back { display: inline-flex; align-items: center; gap: 7px; width: fit-content; }
.password-guidance { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.reset-complete { width: min(100%, 420px); display: grid; gap: 18px; }
.reset-complete h2 { margin: 0; font-size: 38px; letter-spacing: -.045em; }
.reset-complete p { margin: 0; color: var(--muted); line-height: 1.65; }
.support-copy { margin: 0; text-align: center; color: var(--muted); font-size: 12px; }
.mobile-brand { display: none; }

@media (max-width: 850px) {
  .login-shell { display: block; }
  .login-story { display: none; }
  .login-panel { min-height: 100vh; padding: 28px 20px; align-content: center; gap: 56px; }
  .mobile-brand { display: block; width: min(100%, 420px); }
  .login-form h2 { font-size: 34px; }
}
