* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172b4d; background: #f6f9ff; }
body { margin: 0; font-size: 14px; line-height: 1.6; background: radial-gradient(ellipse at 8% 35%, #e5efff 0, transparent 55%), #f6f9ff; }
a { color: #2459c5; text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 12px; background: white; z-index: 2; }
.skip-link:focus { top: 10px; }
.auth-shell { max-width: 1360px; min-height: 100svh; margin: auto; padding: 32px 64px 24px; display: flex; flex-direction: column; }
.auth-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; color: #18305b; font-size: 23px; letter-spacing: -.8px; font-weight: 750; }
.auth-brand:hover { text-decoration: none; }
.brand-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #2563eb; color: white; font-size: 29px; font-weight: 400; }
.header-switch { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.header-switch > span { color: #61718a; }
.header-switch a { border: 1px solid #d4dff0; padding: 9px 16px; border-radius: 9px; background: #fff; }
.auth-layout { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding: 64px 0; }
.auth-story { max-width: 560px; }
.eyebrow { font-size: 10px; letter-spacing: 1.8px; font-weight: 750; color: #3866b9; margin: 0 0 18px; }
.auth-story .eyebrow { display: flex; align-items: center; gap: 9px; }
.auth-story .eyebrow > span { width: 7px; height: 7px; background: #3c7af0; border-radius: 50%; box-shadow: 0 0 0 4px #e0eaff; }
h1 { font-size: clamp(42px, 4.5vw, 64px); line-height: 1.08; font-weight: 750; letter-spacing: -2.8px; margin: 0 0 22px; }
h1 > span { color: #2563eb; }
.story-description { color: #5b6d89; font-size: 16px; max-width: 410px; margin: 0 0 34px; }
.plan-preview { background: #fff; padding: 24px; border: 1px solid #dce6f5; border-radius: 18px; box-shadow: 0 16px 45px -20px #4a70af50; transform: rotate(-1.5deg); }
.preview-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.goal-icon { display: grid; place-items: center; flex: 0 0 39px; height: 39px; color: #2563eb; background: #ecf3ff; border-radius: 11px; font-size: 29px; }
.preview-kicker { font-size: 8px; letter-spacing: 1.3px; font-weight: 700; color: #6b7d98; }
.preview-heading h2 { margin: 1px 0 0; font-size: 13px; letter-spacing: -.2px; }
.preview-badge { margin-left: auto; white-space: nowrap; font-size: 9px; color: #46669e; border: 1px solid #e0e8f5; border-radius: 20px; padding: 4px 9px; }
.goal-progress { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 650; }
.goal-progress > span:last-child { color: #6c7d98; font-size: 10px; font-weight: 400; }
.progress-track { height: 5px; border-radius: 6px; background: #edf2fa; margin: 10px 0 17px; overflow: hidden; }
.progress-track > span { display: block; width: 66.666%; height: 100%; background: #3f7bf1; border-radius: inherit; }
.preview-task { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 11px; }
.task-check { flex: 0 0 17px; height: 17px; border: 1.5px solid #b5c7e5; border-radius: 5px; display: grid; place-items: center; font-size: 10px; }
.complete { color: #7b8ba4; }
.complete > .task-check { color: #3e6ed0; background: #eaf1ff; border-color: #eaf1ff; }
.complete > span:nth-child(2) { text-decoration: line-through; }
.today-badge { margin-left: auto; font-size: 9px; background: #edf3ff; padding: 2px 9px; border-radius: 5px; color: #3667c7; }
.preview-footer { padding-top: 14px; margin-top: 10px; border-top: 1px solid #edf1f8; font-size: 10px; color: #667da3; display: flex; align-items: center; gap: 8px; }
.spark { font-size: 20px; color: #3571e7; }
.story-benefits { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: 10px; color: #5b6d89; }
.story-benefits b { color: #3470d7; margin-right: 5px; }
.account-card { width: 100%; max-width: 480px; justify-self: end; background: #fff; border: 1px solid #e1e8f3; border-radius: 22px; padding: 36px; box-shadow: 0 14px 50px -24px #355b9538; }
.account-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #edf3ff; color: #2563eb; font-size: 26px; margin-bottom: 22px; }
.account-card .eyebrow { font-size: 9px; margin-bottom: 9px; }
.account-card h2 { font-size: 28px; letter-spacing: -.9px; line-height: 1.2; margin: 0 0 12px; }
.account-description { color: #677791; font-size: 13px; margin: 0 0 25px; }
.account-form p { margin: 0 0 17px; }
.account-form label { display: block; font-size: 12px; color: #344865; font-weight: 650; margin-bottom: 7px; }
.account-form input:not([type=hidden]) { appearance: none; width: 100%; min-height: 46px; border: 1px solid #d3ddeb; border-radius: 8px; background: #fbfcff; color: #172b4d; padding: 11px 13px; font: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.account-form input:focus { border-color: #3a75ec; box-shadow: 0 0 0 3px #2563eb16; outline: 2px solid transparent; }
.account-form input[aria-invalid=true] { border-color: #c1364d; }
.account-form .helptext { display: block; font-size: 11px; color: #65748b; margin-top: 7px; }
.helptext ul { margin: 5px 0 0; padding-left: 17px; }
.form-options { display: flex; justify-content: flex-end; font-size: 11px; margin: -2px 0 22px; }
.account-form button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 47px; border: 1px solid #2563eb; border-radius: 9px; padding: 12px 16px; background: #2563eb; color: #fff; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; box-shadow: 0 5px 12px #2563eb20; }
.account-form button:hover { background: #1e50c4; border-color: #1e50c4; }
.account-form button > span { font-size: 18px; line-height: 1; }
.account-switch { border-top: 1px solid #edf1f7; margin: 25px 0 0; padding-top: 22px; text-align: center; color: #6a7a92; font-size: 11px; }
.account-switch a { white-space: nowrap; }
.errorlist { list-style: none; margin: 0 0 12px; padding: 10px 12px; border: 1px solid #f1c8cf; background: #fff3f5; color: #9e2439; border-radius: 8px; font-size: 12px; }
.account-notice { padding: 12px; margin-bottom: 20px; background: #edf3ff; border: 1px solid #c9dafb; border-radius: 8px; font-size: 13px; }
.auth-footer { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: #6b7c96; padding-top: 20px; border-top: 1px solid #dfe7f3; }
@media (min-width: 1400px) { .auth-layout { padding: 80px 0; } }
@media (max-width: 1000px) { .auth-shell { padding: 28px 32px 22px; } .auth-layout { gap: 36px; } .account-card { padding: 28px; } .preview-badge { display: none; } .plan-preview { padding: 20px; } }
@media (max-width: 760px) { .auth-shell { padding: 22px 24px; } .auth-header { gap: 14px; } .auth-brand { font-size: 20px; } .header-switch > span { display: none; } .header-switch a { padding: 7px 12px; font-size: 12px; } .auth-layout { grid-template-columns: 1fr; gap: 32px; padding: 42px 0; } .auth-story { text-align: center; max-width: 520px; justify-self: center; } .auth-story .eyebrow { justify-content: center; } h1 { font-size: 44px; letter-spacing: -1.8px; } h1 br:last-child { display: none; } .story-description { margin: 0 auto; font-size: 14px; } .plan-preview, .story-benefits { display: none; } .account-card { justify-self: center; } .auth-footer { text-align: center; justify-content: center; flex-wrap: wrap; gap: 5px 20px; } }
@media (max-width: 380px) { .auth-shell { padding: 18px 16px; } .auth-brand { font-size: 18px; } .brand-icon { width: 30px; height: 30px; font-size: 24px; border-radius: 9px; } .account-card { padding: 24px; } h1 { font-size: 38px; } .header-switch a { font-size: 11px; padding: 6px 9px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
