:root {
  color-scheme: light;
  --ink: #070e36;
  --blue: #0061ff;
  --muted: #60719a;
  --line: #dce7ff;
  --danger: #b52e44;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f7faff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100svh; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #0046c2; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid #1d66df; outline-offset: 5px; }
.artwork { position: absolute; inset: 0 0 auto; height: 100svh; z-index: 0; pointer-events: none; background: #f7faff url('./assets/auth-background-v4.webp') left top / 100% auto no-repeat; }
.header { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 1.64vw 4.8% 0 5.8%; }
.brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; flex-shrink: 0; color: #064ed8; }
.brand-mark { display: block; width: 4.8vw; height: 4.8vw; border-radius: 50%; background: url('./assets/brand-reference.png') -5.74vw -1.64vw / 100.16vw 62.65vw no-repeat; }
.brand-type { font-size: clamp(30px, 2.65vw, 44px); line-height: 1.05; letter-spacing: -.9px; font-weight: 500; }
.brand-tagline { display: block; margin-top: 5px; font-size: clamp(13px, 1.14vw, 19px); line-height: 1.15; letter-spacing: -.25px; color: #60719a; }
.header-nav { display: flex; gap: 8px; align-items: baseline; font-size: 17px; color: var(--muted); padding-bottom: 17px; }
.layout { position: relative; z-index: 1; display: grid; grid-template-columns: 60% 40%; min-height: calc(100svh - 6.44vw); }
.hero { padding: 2.35vw 0 0 11.5%; }
.hero h2 { margin: 0; font-size: clamp(38px, 3.65vw, 62px); line-height: 1.01; letter-spacing: -1.6px; color: #06132c; }
.hero p { margin: 12px 0 0; font-size: clamp(21px, 1.85vw, 31px); line-height: 1.12; letter-spacing: -.3px; color: #3d5988; }
.auth-panel { display: flex; justify-content: flex-end; align-items: flex-start; padding: clamp(32px, 6.5vh, 70px) 12.4% 24px 14.5%; }
.panel-content { width: 100%; max-width: 420px; animation: arrive .45s ease both; }
h1 { margin: 0; font-size: clamp(28px, 2.5vw, 40px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 700; }
h1:focus { outline: none; }
.subtitle { margin: 8px 0 20px; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.3; letter-spacing: -.35px; color: var(--muted); }
.field { margin-bottom: 16px; }
.field label { display: block; margin: 0 0 8px; font-size: 16px; line-height: 1.25; }
.input-wrap { position: relative; height: 48px; }
.field-icon { position: absolute; left: 16px; top: 50%; width: 21px; height: 21px; transform: translateY(-50%); color: #102d7b; pointer-events: none; }
.input-wrap input { width: 100%; height: 100%; border: 1.5px solid var(--line); border-radius: 13px; background: rgb(255 255 255 / 62%); padding: 0 52px 0 52px; color: #10245d; font-size: 16px; transition: border-color .18s, box-shadow .18s, background .18s; outline: none; }
.input-wrap input::placeholder { color: #60739a; opacity: 1; }
.input-wrap input:hover { border-color: #aac6ff; }
.input-wrap input:focus { border-color: #387eff; box-shadow: 0 0 0 4px rgb(0 97 255 / 9%); background: rgb(255 255 255 / 90%); }
.input-wrap input[aria-invalid='true'] { border-color: var(--danger); }
.password-toggle { position: absolute; right: 5px; top: 2px; display: grid; place-items: center; width: 44px; height: 44px; padding: 9px; border: 0; border-radius: 9px; color: #10328e; background: transparent; }
.password-toggle:hover { background: #edf3ff; }
.password-toggle svg { width: 25px; height: 25px; }
.eye-slash { display: none; }
.password-toggle[aria-pressed='true'] .eye-slash { display: block; }
.field-hint { margin: 7px 0 0; font-size: 12px; line-height: 1.4; color: #60739a; }
.field-error { color: var(--danger); font-size: 14px; line-height: 1.4; margin: 7px 0 0; }
.primary-button { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 13px 18px; border: 1px solid transparent; border-radius: 13px; background: var(--blue); color: white; font-weight: 500; font-size: 18px; line-height: 1.25; box-shadow: 0 7px 21px rgb(0 97 255 / 10%); transition: background .18s, box-shadow .18s, transform .18s; }
.primary-button svg { width: 25px; height: 25px; stroke-width: 2; }
.primary-button:hover { background: #0054e0; box-shadow: 0 8px 24px rgb(0 97 255 / 21%); transform: translateY(-1px); }
.primary-button:active { transform: translateY(0); }
.consent-section { margin: 16px 0 0; }
.consent-label { display: flex; align-items: flex-start; justify-content: center; gap: 9px; font-size: 12px; line-height: 1.5; color: #60739a; text-align: center; }
.consent-label input { margin: 4px 0 0; }
input[type='checkbox'] { flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.auth-switch { padding: 16px 0 0; border-top: 1px solid var(--line); margin: 18px 0 0; text-align: center; font-size: 14px; line-height: 1.5; color: #60739a; }
.auth-switch a { margin-left: 4px; text-decoration: none; white-space: nowrap; }
.auth-switch a:hover { text-decoration: underline; }
.panel-footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-footer a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.4; text-decoration: none; }
.panel-footer a:hover { text-decoration: underline; }
.panel-footer svg { width: 25px; height: 25px; flex-shrink: 0; }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: -5px 0 26px; font-size: 14px; }
.login-options a { text-decoration: none; }
.login-options a:hover { text-decoration: underline; }
.checkbox-label { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: #526a9a; }
.checkbox-label input { margin: 0; }
.form-notice { margin: 0 0 18px; padding: 13px 15px; border-radius: 10px; border: 1px solid #cbdcfc; font-size: 14px; line-height: 1.5; color: #315180; background: #eef5ff; }
.form-notice:focus { outline: none; }
body[data-view='login'] .subtitle { margin-bottom: 20px; }
body[data-view='login'] .auth-switch { margin-top: 18px; }
body[data-view='forgot'] .subtitle { max-width: 420px; font-size: 20px; line-height: 1.4; margin-bottom: 32px; }
body[data-view='forgot'] .auth-panel { padding-top: clamp(90px, 15vh, 170px); }
.skip-link { position: fixed; z-index: 10; left: 20px; top: -100px; padding: 12px 18px; background: white; border-radius: 8px; }
.skip-link:focus { top: 15px; }
.noscript { position: fixed; bottom: 0; width: 100%; padding: 20px; margin: 0; background: white; text-align: center; }
@keyframes arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1800px) {
  .auth-panel { padding-top: 15vh; }
  .panel-content { max-width: 520px; }
}
@media (max-width: 1250px) and (min-width: 761px) {
  .header { padding-left: 5%; padding-right: 4%; }
  .brand { gap: 10px; }
  .brand-mark { width: 60px; height: 60px; background-size: 1252px 783px; background-position: -72px -20.5px; }
  .brand-type { font-size: 34px; }
  .brand-tagline { font-size: 14px; }
  .header-nav { font-size: 14px; padding-bottom: 4px; }
  .layout { grid-template-columns: 56% 44%; min-height: calc(100svh - 86px); }
  .hero { padding-left: 9%; padding-top: 32px; }
  .hero h2 { font-size: 40px; }
  .hero p { font-size: 22px; }
  .auth-panel { padding: 32px 9% 24px 10%; }
  h1 { font-size: 34px; }
  .subtitle { font-size: 18px; margin-bottom: 20px; }
  .field { margin-bottom: 16px; }
  .field label { font-size: 16px; }
  .input-wrap { height: 48px; }
  .input-wrap input { font-size: 16px; padding-left: 51px; }
  .field-icon { left: 15px; width: 22px; }
  .password-toggle { top: 2px; right: 5px; }
  .primary-button { min-height: 52px; font-size: 17px; }
  .consent-label { font-size: 12px; }
  .auth-switch { font-size: 14px; padding-top: 20px; }
  .panel-footer { margin-top: 24px; padding-top: 16px; }
  .panel-footer a { font-size: 14px; gap: 8px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .artwork { height: 100svh; background-size: 100% auto; background-position: left bottom; }
  .artwork::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, #f7faff 0, #f7faff calc(100% - 62.55vw - 1px), rgb(247 250 255 / 0%) calc(100% - 62.55vw + 100px)); }
  .layout { display: grid; grid-template-columns: 52% 48%; min-height: calc(100svh - 86px); }
  .hero { padding: 28px 0 0 9%; }
  .hero h2 { font-size: 32px; }
  .hero p { font-size: 18px; }
  .auth-panel, body[data-view='forgot'] .auth-panel { padding: 28px 8% 24px 7%; background: linear-gradient(90deg, rgb(247 250 255 / 0%), rgb(247 250 255 / 90%) 14%, rgb(247 250 255 / 98%) 35%); }
  h1 { font-size: 30px; }
  .subtitle { font-size: 18px; }
}
@media (max-width: 760px) {
  body { background: #f8fbff; }
  .artwork { position: absolute; height: 280px; background-size: 780px auto; background-position: left 4px top -24px; }
  .header { padding: 19px 22px 0; align-items: center; }
  .brand { gap: 9px; }
  .brand-mark { width: 44px; height: 44px; background-size: 918px 574px; background-position: -52.7px -15px; }
  .brand-type { font-size: 29px; letter-spacing: -.7px; }
  .brand-tagline { font-size: 11px; margin-top: 4px; letter-spacing: -.2px; }
  .header-nav { padding: 0; font-size: 14px; }
  .header-nav span { display: none; }
  .header-nav a { border-bottom: 1px solid #a0bcf5; text-decoration: none; padding: 9px 0; }
  .layout { display: block; min-height: auto; }
  .hero { min-height: 190px; padding: 30px 22px 20px; background: linear-gradient(90deg, rgb(249 252 255 / 98%), rgb(249 252 255 / 88%) 38%, rgb(249 252 255 / 0%) 68%); }
  .hero h2 { max-width: 210px; font-size: 27px; line-height: 1.03; letter-spacing: -.9px; }
  .hero p { max-width: 170px; margin-top: 13px; font-size: 15px; line-height: 1.35; letter-spacing: -.2px; }
  .hero p br { display: none; }
  .auth-panel, body[data-view='forgot'] .auth-panel { position: relative; display: block; padding: 24px 24px 22px; background: linear-gradient(180deg, rgb(255 255 255 / 93%), #f8fbff 160px); border-radius: 25px 25px 0 0; box-shadow: 0 -10px 35px rgb(28 75 143 / 3%); }
  .panel-content { max-width: 460px; margin: 0 auto; }
  h1 { font-size: 28px; letter-spacing: -.85px; }
  .subtitle, body[data-view='login'] .subtitle { margin: 8px 0 20px; font-size: 16px; letter-spacing: -.3px; }
  .field { margin-bottom: 16px; }
  .field label { font-size: 14px; margin-bottom: 8px; }
  .input-wrap { height: 48px; }
  .input-wrap input { font-size: 16px; padding-left: 51px; border-radius: 11px; }
  .field-icon { left: 16px; width: 21px; height: 21px; }
  .password-toggle { right: 5px; top: 2px; }
  .field-hint, .field-error { font-size: 12px; }
  .primary-button { min-height: 52px; font-size: 17px; border-radius: 11px; }
  .consent-section { margin-top: 16px; }
  .consent-label { font-size: 12px; gap: 8px; }
  .desktop-break { display: none; }
  .auth-switch { padding-top: 16px; margin-top: 18px; font-size: 14px; }
  .panel-footer { margin-top: 24px; padding-top: 16px; }
  .panel-footer a { font-size: 14px; gap: 8px; }
  .panel-footer svg { width: 22px; height: 22px; }
  .login-options { font-size: 13px; gap: 8px; }

}
@media (min-width: 500px) and (max-width: 760px) {
  .artwork { background-size: 1020px auto; background-position: left -10px top -70px; }
  .hero { min-height: 315px; padding-top: 60px; padding-left: 6%; }
  .hero h2 { font-size: 40px; max-width: 320px; }
  .hero p { max-width: 240px; font-size: 19px; }
  .header { padding-left: 6%; padding-right: 6%; }
}
@media (max-width: 359px) {
  .header { padding-left: 16px; padding-right: 16px; }
  .brand-type { font-size: 25px; }
  .brand-tagline { font-size: 9px; }
  .brand-mark { width: 39px; height: 39px; background-size: 814px 509px; background-position: -46.7px -13.3px; }
  .header-nav { font-size: 12px; }
  .hero { padding-left: 18px; }
  .hero h2 { font-size: 26px; }
  .auth-panel, body[data-view='forgot'] .auth-panel { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: 28px; }
  .subtitle { font-size: 16px; }
  .login-options { font-size: 12px; }
}
@media (min-width: 761px) and (max-height: 800px) {
  .auth-panel, body[data-view='forgot'] .auth-panel { padding-top: 20px; padding-bottom: 18px; }
  .subtitle, body[data-view='login'] .subtitle { margin-bottom: 16px; }
  .field { margin-bottom: 14px; }
  .consent-section { margin-top: 14px; }
  .auth-switch, body[data-view='login'] .auth-switch { margin-top: 16px; }
  .panel-footer { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.primary-button:disabled { opacity: .7; cursor: wait; transform: none; }
.form-notice[data-tone='error'] { color: #9a263b; background: #fff3f5; border-color: #efc8d0; }
body[data-view='verify'] .subtitle { font-size: 18px; line-height: 1.45; }
