.public-shell { min-height: 100dvh; display: grid; grid-template-columns: minmax(280px, .9fr) minmax(420px, 1.1fr); background: var(--core-bg); }
.public-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(28px, 5vw, 72px); background: #122344; color: #f7f9ff; }
.public-story::after { content: ""; position: absolute; width: 440px; height: 440px; right: -210px; bottom: -180px; border: 90px solid rgba(111, 157, 255, .10); border-radius: 50%; }
.public-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.public-brand .brand-mark { background: #fff; color: #1f55ca; }
.public-story-copy { position: relative; z-index: 1; max-width: 520px; }
.public-story-copy h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 62px); line-height: 1.02; letter-spacing: -.055em; }
.public-story-copy p { max-width: 440px; color: #c7d3e9; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.6; }
.public-trust { position: relative; z-index: 1; color: #9eb1d0; font-size: 13px; }
.public-main { min-width: 0; display: flex; flex-direction: column; }
.public-toolbar { min-height: 72px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 14px clamp(18px, 4vw, 48px); }
.public-toolbar select { width: auto; min-width: 74px; background: var(--core-surface); }
.auth-stage { flex: 1; display: grid; place-items: center; padding: 24px clamp(16px, 5vw, 70px) 54px; }
.auth-panel { width: min(500px, 100%); }
.auth-panel.auth-panel-wide { width: min(620px, 100%); }
.auth-heading { margin-bottom: 26px; }
.auth-heading h1 { margin: 0; font-size: clamp(30px, 5vw, 43px); letter-spacing: -.045em; line-height: 1.1; }
.auth-heading p { margin: 10px 0 0; color: var(--core-text-muted); font-size: 15px; line-height: 1.6; }
.auth-form { display: grid; gap: 15px; }
.auth-form .form-field label { margin: 0 0 7px; }
.auth-form .btn-primary { width: 100%; margin-top: 4px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; margin-top: 20px; color: var(--core-text-muted); font-size: 13px; }
.auth-links a { color: var(--core-blue); font-weight: 750; text-decoration: none; }
.auth-consent { display: grid; grid-template-columns: 20px 1fr; gap: 8px; color: var(--core-text-muted); font-size: 12px; line-height: 1.5; }
.auth-consent input { width: 18px; min-height: 18px; margin-top: 2px; }
.auth-consent label { margin: 0; font-weight: 500; }
.auth-notice { margin-bottom: 18px; }
.legal-card { width: min(720px, 100%); padding: clamp(20px, 4vw, 36px); border: 1px solid var(--core-border); border-radius: var(--core-radius-lg); background: var(--core-surface); box-shadow: var(--core-shadow); }

@media (max-width: 860px) {
  .public-shell { display: block; }
  .public-story { min-height: 180px; padding: 24px 20px; }
  .public-story-copy { margin-top: 38px; }
  .public-story-copy h1 { font-size: 31px; margin-bottom: 10px; }
  .public-story-copy p { margin: 0; font-size: 14px; }
  .public-trust { display: none; }
  .public-toolbar { min-height: 60px; padding: 10px 14px; }
  .auth-stage { place-items: start center; padding-top: 16px; }
}

@media (max-width: 430px) {
  .public-story { min-height: 150px; }
  .public-story-copy { margin-top: 24px; }
  .public-story-copy p { display: none; }
  .auth-stage { padding-inline: 14px; }
  .auth-heading { margin-bottom: 20px; }
}
