* { box-sizing: border-box; }
:root { color-scheme: light; font-family: "Segoe UI", Arial, sans-serif; color: #151922; background: #f7f5f5; }
body { margin: 0; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.auth-shell { display: grid; grid-template-columns: 52.5% 47.5%; min-height: 100vh; min-height: 100svh; }
.auth-story { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 46px 10% 46px; background: linear-gradient(140deg, #4b0d18, #681321 58%, #831c2e); color: #fff; }
.auth-story::before, .auth-story::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border: 1px solid #ffffff15; border-radius: 50%; }
.auth-story::before { width: 560px; height: 560px; right: -210px; top: -250px; }
.auth-story::after { width: 360px; height: 360px; right: -170px; top: 52%; }
.auth-brand { flex: none; }
.auth-brand a { display: inline-flex; width: 251px; max-width: 100%; min-height: 84px; align-items: center; justify-content: center; padding: 24px 32px; background: #faf8f8; border-radius: 8px; }
.auth-brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.story-content { margin: 72px 0 56px; }
.story-eyebrow, .auth-eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 800; line-height: 1.6; letter-spacing: 0; }
.story-eyebrow { color: #d7bfc4; }
.story-content h2 { margin: 0 0 28px; font-size: 56px; line-height: 1.12; font-weight: 750; overflow-wrap: anywhere; }
.story-description { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.85; color: #eddae0; }
.story-benefits { padding: 0; margin: 34px 0 0; list-style: none; counter-reset: benefit; display: grid; gap: 12px; }
.story-benefits li { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; }
.story-benefits li::before { counter-increment: benefit; content: counter(benefit, decimal-leading-zero); display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid #ffffff35; border-radius: 50%; font-size: 11px; font-weight: 400; }
.story-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid #ffffff26; color: #cda8b1; font-size: 12px; }
.auth-content { display: flex; flex-direction: column; align-items: center; padding: 100px 48px 32px; background: #f7f5f5; }
.auth-form-wrap { width: 100%; max-width: 480px; }
.auth-eyebrow { color: #aa2139; margin-bottom: 12px; }
h1 { margin: 0 0 14px; color: #111820; font-size: 40px; line-height: 1.25; font-weight: 750; overflow-wrap: anywhere; }
.auth-intro { margin: 0 0 30px; color: #78818e; font-size: 15px; line-height: 1.8; }
form { margin: 0; }
form p, .auth-field { margin: 0 0 22px; }
label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: #242831; }
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d4d2d7; border-radius: 8px; background: #fff; color: #242831; box-shadow: 0 2px 3px #18233304; font: inherit; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #959ba5; opacity: 1; }
input:hover { border-color: #a9a5af; }
input:focus, select:focus, textarea:focus { border-color: #aa2139; outline: 0; box-shadow: 0 0 0 3px #aa21391a; }
a { color: #aa2139; text-underline-offset: 4px; }
a:hover { color: #78182a; text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #bd5367; outline-offset: 4px; }
button[type="submit"] { width: 100%; min-height: 50px; padding: 12px 18px; border: 0; border-radius: 8px; background: #af213b; color: #fff; box-shadow: 0 10px 24px #74152724; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s; }
button[type="submit"]:hover { background: #941b32; }
button[type="submit"]:active { background: #78182a; }
button:disabled { opacity: .55; cursor: not-allowed; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 18px; }
.auth-links a { padding: 4px 0; font-size: 14px; font-weight: 600; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-help { border: 1px solid #e3dfe3; border-radius: 8px; background: #ffffff9c; padding: 20px; margin-top: 24px; }
.auth-help h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.auth-help h2 span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: #af213b; font-family: Georgia, serif; font-weight: 700; }
.auth-help p { margin: 0 0 16px; color: #78818e; font-size: 13px; }
.auth-help > a { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #e3dfe3; padding-top: 14px; font-size: 14px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.auth-footer { margin-top: auto; padding-top: 60px; color: #959ba5; font-size: 12px; text-align: center; }
.helptext, form ul:not(.errorlist) { display: block; margin-top: 7px; color: #78818e; font-size: 13px; }
form ul { padding-left: 20px; }
.errorlist { margin: 0 0 14px; padding: 10px 14px 10px 30px; border-left: 3px solid #b9413d; background: #fff2f1; color: #9a2925; font-size: 14px; }
input[aria-invalid="true"] { border-color: #b9413d; }
.g-recaptcha { max-width: 100%; margin: 16px 0 20px; }
@media (max-width: 1200px) {
  .auth-story { padding: 40px 9%; }
  .story-content h2 { font-size: 44px; }
  .story-description { font-size: 16px; }
  .auth-content { padding: 72px 32px 28px; }
  h1 { font-size: 32px; }
}
@media (max-width: 800px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-story { padding: 32px 24px; }
  .auth-brand a { width: 220px; min-height: 72px; padding: 22px 28px; }
  .story-content { margin: 36px 0; }
  .story-content h2 { font-size: 36px; }
  .auth-content { padding: 40px 24px 24px; }
  .auth-footer { padding-top: 40px; }
}
@media (max-width: 360px) {
  .auth-story { padding: 28px 16px; }
  .story-content h2 { font-size: 30px; }
  .auth-content { padding: 32px 8px 24px; }
  h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
