/* The public access journey shares the homepage's calm, editorial palette. */
.auth-shell {
  min-height: calc(100vh - 190px);
  padding: 72px 24px;
  color: #09234a;
  background: #fcfbf8;
}
.auth-shell .auth-card {
  width: min(460px, 100%);
  padding: 40px;
  border: 1px solid #dde4e6;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}
.auth-shell .auth-wide { width: min(620px, 100%); }
.auth-shell .eyebrow { color: #258561; }
.auth-shell .auth-card h1,
.auth-shell .auth-card h2 {
  margin: 0 0 14px;
  color: #09234a;
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.045em;
}
.auth-shell .auth-card > .muted {
  margin: 0 0 30px;
  color: #516581;
  font-size: .94rem;
  line-height: 1.65;
}
.auth-shell .form-stack { gap: 20px; }
.auth-shell .field { gap: 8px; }
.auth-shell .field label { color: #09234a; font-size: .86rem; font-weight: 600; }
.auth-shell .field input,
.auth-shell .field select,
.auth-shell .field textarea {
  min-height: 48px;
  padding: 12px 14px;
  border-color: #cdd7df;
  border-radius: 9px;
  background: #fff;
  color: #09234a;
  font: inherit;
  font-size: 1rem;
}
.auth-shell .field input:focus,
.auth-shell .field select:focus,
.auth-shell .field textarea:focus {
  border-color: #327baf;
  outline: 3px solid #dceffc;
  outline-offset: 1px;
}
.auth-shell .form-stack .button { min-height: 49px; margin-top: 0; }
.auth-shell .errorlist { color: #a2322b; font-size: .84rem; line-height: 1.5; }
.auth-shell .auth-links a,
.auth-shell .login-help a,
.auth-shell .recovery-details summary {
  color: #245978;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.auth-shell .auth-links a:hover,
.auth-shell .login-help a:hover { color: #09234a; }
.auth-shell .qr-wrap,
.auth-shell .org-choice,
.auth-shell .recovery-grid code { border-color: #dce5e9; background: #f5fafb; }
.auth-shell .secret-code { background: #e7f5ef; }
.auth-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
  padding: 76px 0 90px;
}
.auth-intro { width: 100%; }
.auth-intro h1 {
  margin: 17px 0 24px;
  color: #09234a;
  font-size: clamp(3.1rem, 5.5vw, 4.7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.06em;
}
.auth-intro-copy { max-width: 440px; margin: 0; color: #516581; font-size: 1.05rem; line-height: 1.65; }
.auth-illustration {
  display: block;
  width: min(430px, 100%);
  height: auto;
  max-height: 330px;
  object-fit: contain;
  object-position: left bottom;
  margin-top: 24px;
}
.auth-shell .login-card { width: 100%; padding: 40px 36px; }
.login-card .eyebrow { margin: 0 0 16px; }
.login-help { margin-top: -8px; text-align: right; font-size: .82rem; }
.auth-mfa-note { margin: 16px 0 0; color: #516581; text-align: center; font-size: .79rem; line-height: 1.6; }
.auth-invitation-note {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid #e4e9eb;
  color: #516581;
  font-size: .84rem;
  line-height: 1.65;
  text-align: center;
}
@media (max-width: 900px) {
  .auth-welcome { width: min(760px, calc(100% - 48px)); gap: 36px; }
  .auth-shell .login-card { padding: 32px 24px; }
  .auth-intro h1 { font-size: 3.25rem; }
}
@media (max-width: 700px) {
  .auth-shell { padding: 42px 20px; }
  .auth-shell .auth-card { padding: 30px 24px; }
  .auth-welcome {
    width: min(480px, calc(100% - 40px));
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 0 56px;
  }
  .auth-intro h1 { margin: 14px 0 18px; font-size: clamp(2.9rem, 12vw, 3.8rem); }
  .auth-intro-copy { font-size: .98rem; }
  .auth-illustration { display: none; }
  .auth-shell .login-card { padding: 30px 24px; }
}
