* { box-sizing: border-box; }
:root { font-family: Inter, Arial, sans-serif; color: #121039; background: #f6f5fc; font-synthesis: none; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #a48afc; outline-offset: 3px; }
.auth-layout { display: grid; grid-template-columns: minmax(430px, 42%) 1fr; min-height: 100vh; }
.auth-panel { padding: 42px clamp(36px, 6vw, 100px) 36px; display: flex; flex-direction: column; }
.auth-logo { font-size: 28px; font-weight: 800; letter-spacing: -.08em; width: fit-content; }
.auth-content { width: min(100%, 420px); margin: auto; padding: 55px 0; }
.eyebrow { margin: 0 0 15px; font-size: 10px; font-weight: 800; color: #7259bc; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(38px, 3.8vw, 54px); line-height: 1.02; letter-spacing: -.065em; }
.intro { margin: 13px 0 0; color: #6c6885; font-size: 16px; line-height: 1.5; }
.preview-note { margin: 28px 0 23px; padding: 12px 15px; border-radius: 12px; background: #ebe7fa; color: #51457e; font-size: 12px; line-height: 1.5; }
.auth-form { display: grid; gap: 9px; }
.auth-form label { margin-top: 8px; color: #353152; font-size: 12px; font-weight: 700; }
.field { display: flex; align-items: center; gap: 13px; min-height: 57px; padding: 0 16px; border: 1px solid #d4d1e4; border-radius: 14px; background: #fff9; }
.field:focus-within { border-color: #8152db; box-shadow: 0 0 0 3px #8656df1a; }
.field > img, .password-toggle img { width: 19px; height: 19px; opacity: .58; }
.field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: #161335; }
.field input::placeholder { color: #89859d; }
.password-toggle { border: 0; background: none; padding: 5px; cursor: pointer; display: grid; place-items: center; }
.submit, .social-options button { width: 100%; min-height: 55px; border-radius: 99px; font: inherit; font-size: 14px; font-weight: 700; }
.submit { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 19px; border: 0; color: white; background: linear-gradient(105deg, #7826e5, #4908bc); }
.submit img { width: 16px; filter: invert(1); }
button:disabled { cursor: not-allowed; }
.submit:disabled { opacity: .72; }
.divider { display: flex; align-items: center; gap: 18px; color: #8b859f; font-size: 13px; margin: 25px 0; }
.divider::before, .divider::after { content: ''; height: 1px; flex: 1; background: #dcd8e8; }
.social-options { display: grid; gap: 10px; }
.social-options button { border: 1px solid #d4d1e4; background: transparent; color: #716d83; }
.switch { margin: 28px 0 0; text-align: center; color: #77728e; font-size: 13px; line-height: 1.6; }
.switch a { color: #6416d3; font-weight: 700; margin-left: 5px; }
.back-home { display: block; text-align: center; margin-top: 20px; font-size: 12px; color: #77728e; }
.switch a:hover, .back-home:hover { text-decoration: underline; }
.auth-visual { position: relative; overflow: hidden; min-height: 100%; background: #1d195d url('assets/auth-visual.png') center / cover no-repeat; }
.auth-visual::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #100d3bbd); }
.visual-caption { position: absolute; z-index: 1; left: clamp(35px, 6vw, 90px); bottom: 7%; color: white; }
.visual-caption span { font-size: 10px; font-weight: 800; letter-spacing: .17em; color: #b8afff; }
.visual-caption p { margin: 13px 0 0; font-size: clamp(24px, 3.2vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.visual-caption em { font-family: Georgia, serif; font-weight: 400; }
@media (max-width: 850px) { .auth-layout { grid-template-columns: minmax(340px, 52%) 1fr; } .auth-panel { padding-inline: 35px; } }
@media (max-width: 600px) { .auth-layout { display: flex; flex-direction: column; } .auth-panel { min-height: 100vh; padding: 28px 24px 32px; } .auth-content { padding: 56px 0 25px; } .auth-logo { font-size: 25px; } .auth-visual { min-height: 320px; background-position: center 45%; } .visual-caption { left: 25px; bottom: 25px; } }
/* Account layout aligned with the supplied reference. */
:root { background: #f3f2fc; color: #100d3e; }
.auth-layout { grid-template-columns: minmax(430px, 40.2%) 1fr; }
.auth-panel { padding: 54px clamp(48px, 5.3vw, 90px) 36px; }
.auth-logo { font-size: 34px; letter-spacing: -.075em; }
.auth-content { width: min(100%, 456px); padding: 36px 0 0; }
h1 { font-size: clamp(40px, 3.2vw, 54px); letter-spacing: -.055em; }
.intro { margin-top: 10px; color: #6c6991; font-size: clamp(16px, 1.45vw, 23px); font-weight: 600; line-height: 1.3; }
.auth-form { margin-top: 52px; gap: 16px; }
.auth-form label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.field { min-height: 60px; border-color: #cdcae0; border-radius: 17px; background: transparent; gap: 22px; padding: 0 23px; }
.field > img, .password-toggle img { width: 24px; height: 24px; opacity: .58; }
.field input { font-size: 16px; }
.field input::placeholder { color: #6a688f; opacity: 1; }
.forgot { justify-self: end; color: #6c2bd1; font-size: 14px; font-weight: 700; opacity: .7; }
.submit { min-height: 60px; margin-top: 12px; font-size: 17px; font-weight: 600; background: linear-gradient(100deg,#6c1add,#4a00bf); }
.submit:disabled { opacity: .8; }
.divider { margin: 30px 0; gap: 22px; font-size: 18px; font-weight: 600; color: #777195; }
.social-options { gap: 14px; }
.social-options button { position: relative; min-height: 55px; font-size: 15px; color: #2c2941; border-color: #cfcbdf; }
.social-options button img { width: 22px; height: 22px; vertical-align: middle; margin-right: 20px; }
.switch { margin-top: 40px; font-size: 15px; }
.preview-note { margin: 22px 0 0; padding: 0; background: none; color: #77728e; font-size: 11px; line-height: 1.4; text-align: center; }
.auth-visual::after { content: none; }
@media (max-width: 850px) { .auth-layout { grid-template-columns: minmax(340px, 52%) 1fr; } .auth-panel { padding-inline: 35px; } }
@media (max-width: 600px) { .auth-layout { display: flex; } .auth-panel { padding: 28px 24px 32px; } .auth-content { padding: 50px 0 25px; } .auth-logo { font-size: 28px; } .auth-form { margin-top: 36px; } .intro { font-size: 17px; } .switch { margin-top: 30px; } }
.auth-form { grid-template-columns: minmax(0, 1fr); }
.field input { width: 0; }
@media (max-width: 600px) { .auth-visual { display: none; } }
/* Compact account screens for phone viewports. */
@media (max-width: 600px) {
  .auth-layout { min-height: 100svh; }
  .auth-panel { min-height: 100svh; padding: clamp(16px, 3vh, 28px) 21px; justify-content: center; align-items: center; }
  .auth-logo { align-self: center; font-size: 23px; }
  .auth-content { width: min(100%, 390px); flex: 0 0 auto; margin: 0; padding: 0; text-align: center; }
  .auth-content h1 { margin-top: clamp(16px, 3vh, 26px); font-size: clamp(31px, 8vw, 38px); line-height: 1.08; }
  .intro { margin-top: 6px; font-size: 15px; font-weight: 500; }
  .auth-form { margin-top: clamp(20px, 4vh, 34px); gap: clamp(8px, 1.3vh, 12px); }
  .field { min-height: clamp(44px, 6vh, 54px); border-radius: 15px; gap: 14px; padding: 0 16px; text-align: left; }
  .field > img, .password-toggle img { width: 20px; height: 20px; }
  .forgot { font-size: 12px; }
  .submit { min-height: clamp(44px, 6vh, 54px); margin-top: 2px; font-size: 15px; }
  .divider { margin: clamp(12px, 2.2vh, 20px) 0; font-size: 14px; }
  .social-options { gap: 9px; }
  .social-options button { min-height: clamp(44px, 6vh, 54px); font-size: 14px; }
  .social-options button img { width: 19px; height: 19px; margin-right: 14px; }
  .switch { margin-top: clamp(18px, 3vh, 28px); font-size: 13px; }
  .preview-note { margin-top: 12px; font-size: 11px; }
}
@media (max-width: 600px) and (max-height: 600px) {
  .auth-panel { padding-block: 8px; }
  .auth-content h1 { margin-top: 12px; }
  .auth-form { margin-top: 16px; }
  .switch { margin-top: 14px; }
}
/* Login refinements */
.account-page .field input::placeholder { font-size: 13px; }
.account-page .intro { font-size: 15px; font-weight: 500; }
.account-page .auth-logo { margin-left: 8px; }
.google-color { display: inline-block; vertical-align: middle; width: 20px; height: 20px; margin-right: 18px; background: conic-gradient(from -45deg, #ea4335 0deg 90deg, #4285f4 90deg 180deg, #34a853 180deg 255deg, #fbbc05 255deg 290deg, #ea4335 290deg); -webkit-mask: url('assets/auth-google.svg') center / contain no-repeat; mask: url('assets/auth-google.svg') center / contain no-repeat; }
.account-page .field { transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.account-page .password-toggle, .account-page a { transition: opacity .2s ease, transform .2s ease; }
.account-page .password-toggle:hover, .account-page a:hover { opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes login-appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes login-art { from { opacity: 0; } to { opacity: 1; } }
  .account-page .auth-logo, .account-page .auth-content > *, .account-page .auth-form > :not(label), .account-page .social-options > * { animation: login-appear .55s cubic-bezier(.2,.7,.2,1) both; }
  .account-page .auth-content > :nth-child(2) { animation-delay: .05s; }
  .account-page .auth-content > :nth-child(3) { animation-delay: .1s; }
  .account-page .auth-content > :nth-child(4) { animation-delay: .16s; }
  .account-page .auth-content > :nth-child(5) { animation-delay: .2s; }
  .account-page .auth-content > :nth-child(6) { animation-delay: .24s; }
  .account-page .auth-content > :nth-child(7) { animation-delay: .28s; }
  .account-page .auth-form > :nth-child(2) { animation-delay: .12s; }
  .account-page .auth-form > :nth-child(4) { animation-delay: .17s; }
  .account-page .auth-form > :nth-child(5) { animation-delay: .21s; }
  .account-page .auth-form > :nth-child(6) { animation-delay: .25s; }
  .account-page .social-options > :nth-child(2) { animation-delay: .08s; }
  .account-page .auth-visual { animation: login-art .9s ease both; }
}
@media (max-width: 600px) {
  .account-page .auth-logo { align-self: center; margin-left: 0; font-size: 20px; }
  .account-page .intro { font-size: 13px; }
  .account-page .google-color { width: 19px; height: 19px; margin-right: 14px; }
}

.account-page .field input { align-self: center; padding: 0; font-size: 13px; line-height: 20px; }

/* Share the landing page's neutral palette and type scale. */
:root { color: #08090a; background: #fff; }
.account-page .auth-logo { font-size: 20px; font-weight: 800; letter-spacing: -1.2px; line-height: 1; }
.account-page h1 { font-size: clamp(48px, 6.5vw, 62px); font-weight: 800; letter-spacing: -3.9px; line-height: .95; }
.account-page .intro { color: #37383c; font-size: 14px; font-weight: 400; line-height: 1.38; }
.account-page .field { background: #fff; border-color: #dcd8dc; }
.account-page .field:focus-within { border-color: #c746a0; box-shadow: 0 0 0 3px #c746a01a; }
.account-page .field input { color: #08090a; }
.account-page .field input::placeholder { color: #625d66; }
.account-page .submit { background: #08090a; color: #fff; }
.account-page .social-options button { border-color: #dcd8dc; color: #37383c; }
.account-page .divider, .account-page .switch, .account-page .preview-note { color: #625d66; }
.account-page .divider::before, .account-page .divider::after { background: #e9e5e9; }
.account-page .switch a, .account-page .forgot { color: #08090a; }
.account-page a:focus-visible, .account-page button:focus-visible, .account-page input:focus-visible { outline-color: #c746a0; }
@media (min-width: 1200px) { .account-page { zoom: 1.25; } }
@media (max-width: 600px) {
  .account-page .auth-logo { font-size: 20px; }
  .account-page h1 { font-size: clamp(38px, 10vw, 48px); letter-spacing: -.06em; }
  .account-page .intro { font-size: 14px; }
}
.auth-content { container-type: inline-size; }
.account-page .login-title { font-size: min(62px, 12cqi); white-space: nowrap; }
.account-page .register-title { font-size: min(62px, 10cqi); letter-spacing: -.055em; white-space: nowrap; }
