:root {
  color-scheme: light;
  font: 16px/1.5 "Segoe UI", Arial, sans-serif;
  --page: #f9fafc; --ink: #101725; --muted: #586477; --accent: #e9092c;
  --line: #e2e6ee; --card: #ffffffed; --card-shadow: 0 26px 80px #20304c12;
  --soft: #fff0f2; --mask: #b5bdcb;
}
:root[data-login-theme="black"] {
  color-scheme: dark;
  --page: #080a0e; --ink: #f8f9fb; --muted: #b4bdcc; --accent: #ff304c;
  --line: #ffffff1c; --card: #0e1016eb; --card-shadow: 0 28px 90px #0009, 0 0 65px #f01d3b0a;
  --soft: #ed23400c; --mask: #586173;
}
* { box-sizing: border-box; }
body { isolation: isolate; margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: var(--ink); background: var(--page); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.mask-mark { fill: currentColor; stroke: none; mix-blend-mode: multiply; }
.wordmark { display: block; width: 210px; height: auto; stroke: none; mix-blend-mode: multiply; }
[data-login-theme="black"] .mask-mark, [data-login-theme="black"] .wordmark { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
h1, h2, p { margin: 0; }
.login-scenery { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 53% 5%, #dde4f43b, transparent 57%); }
.background-mask { position: absolute; width: min(58vw, 900px); height: 122%; left: 30%; top: -5%; color: var(--mask); opacity: .045; transform: rotate(-12deg); }
.ambient-glow { position: absolute; width: 35vw; height: 35vw; border-radius: 50%; right: -15%; top: 30%; background: #ffffff; filter: blur(100px); opacity: .6; }
.contour { position: absolute; width: 72vw; height: 72vw; border: 1px solid #f22c4540; border-radius: 60px; transform: rotate(44deg); }
.contour-one { top: -73%; right: -10%; }
.contour-two { bottom: -115%; left: -25%; border-color: #ccd5e075; }
.landscape { display: none; }
.login-header, .login-layout, .login-footer { width: min(1500px, 100%); margin-inline: auto; }
.login-header { padding: 34px 64px 12px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 15px; }
.brand-symbol { width: 47px; height: 69px; }
.brand-type { font-size: 26px; font-weight: 850; letter-spacing: -.8px; line-height: 1.1; white-space: nowrap; }
.brand-caption { display: block; font-size: 10px; font-weight: 500; letter-spacing: 7px; margin-top: 9px; padding-left: 3px; }
.theme-toggle { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: #dfe4ed40; }
.theme-toggle button { padding: 8px 20px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; color: var(--muted); background: transparent; font-size: 14px; }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle button[aria-pressed="true"] { background: var(--card); border-color: var(--accent); color: var(--ink); box-shadow: 0 3px 12px #14213a0b; }
.theme-toggle button[aria-pressed="true"] svg { color: var(--accent); }
.login-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: center; padding: 38px 64px 52px; }
.login-intro { padding-block: 22px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 650; letter-spacing: 3px; color: var(--muted); }
.eyebrow>span { display: inline-block; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
h1 { font-size: clamp(36px, 3.15vw, 52px); font-weight: 780; letter-spacing: -2px; line-height: 1.12; margin: 24px 0; }
h1>span { color: var(--accent); }
h1 em { font-style: normal; }
.intro-copy { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); line-height: 1.65; max-width: 570px; }
.benefits { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 23px; }
.benefits li { display: flex; align-items: center; gap: 20px; min-width: 0; }
.benefit-icon { display: grid; place-items: center; width: 51px; height: 51px; border-radius: 13px; background: var(--soft); color: var(--accent); flex-shrink: 0; }
.benefit-icon svg { width: 27px; height: 27px; }
.benefits h2 { font-size: 16px; font-weight: 700; letter-spacing: -.3px; margin-bottom: 4px; }
.benefits p { font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 350px; }
.login-card { min-width: 0; max-width: 560px; width: 100%; justify-self: end; padding: clamp(28px, 3vw, 48px); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--card-shadow); backdrop-filter: blur(18px); }
.card-brand { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 3px 0 10px; }
.card-brand .mask-mark { width: 48px; height: 71px; }
.card-brand .brand-type { font-size: clamp(22px, 2vw, 29px); }
.card-divider { height: 1px; background: var(--line); margin: 22px 0 27px; }
.login-card .eyebrow { font-size: 9px; letter-spacing: 2.5px; margin-bottom: 12px; }
.login-card h2 { font-size: clamp(28px, 2.6vw, 37px); font-weight: 750; line-height: 1.2; letter-spacing: -1.2px; margin-bottom: 12px; }
.card-copy { color: var(--muted); font-size: 16px; line-height: 1.6; }
.secure-access { display: flex; align-items: flex-start; gap: 13px; border: 1px solid var(--line); border-radius: 11px; padding: 18px; margin-top: 26px; background: #a0aec008; }
.access-icon { padding-top: 2px; color: var(--accent); }
.access-icon svg { width: 21px; height: 21px; }
.secure-access strong { font-size: 14px; font-weight: 650; }
.secure-access p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 5px; }
.login-action { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; padding: 16px 22px; margin-top: 24px; border: 1px solid #ff3c56; border-radius: 9px; background: linear-gradient(110deg, #e9082a, #f02e4a); color: #fff; font-size: 15px; font-weight: 650; box-shadow: 0 9px 25px #ea17351a; transition: box-shadow .2s, background .2s; }
.login-action:hover { background: #d70728; box-shadow: 0 9px 28px #ea173530; }
.login-action svg { width: 20px; height: 20px; }
.access-caption { display: flex; justify-content: center; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; margin-top: 13px; }
.access-caption svg { width: 15px; height: 15px; }
.card-footer { display: flex; align-items: center; justify-content: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 27px; padding-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.card-footer svg { width: 21px; height: 21px; }
.card-footer strong { font-weight: 550; color: var(--ink); }
.login-notice { font-size: 13px; line-height: 1.6; background: var(--soft); border: 1px solid var(--line); padding: 12px 14px; margin-top: 18px; border-radius: 9px; overflow-wrap: anywhere; }
.login-notice.error { border-color: var(--accent); }
.login-footer { display: flex; align-items: center; gap: 15px; padding: 20px 64px; color: var(--muted); font-size: 11px; letter-spacing: .5px; border-top: 1px solid var(--line); }
.login-footer strong { font-size: 10px; font-weight: 650; letter-spacing: 2px; color: var(--ink); }
[data-login-theme="black"] .login-scenery { background: radial-gradient(ellipse at 48% 5%, #3d414c6b, transparent 50%), radial-gradient(ellipse at 70% 95%, #6e0b1c4d, transparent 45%); }
[data-login-theme="black"] .background-mask { opacity: .15; filter: grayscale(1) invert(1) drop-shadow(3px 0 1px #ff244052) drop-shadow(13px 1px 26px #ff1b352b); }
[data-login-theme="black"] .ambient-glow { background: #ce0b2d; opacity: .15; right: 30%; top: 44%; }
[data-login-theme="black"] .contour-one { border-color: #ff254057; box-shadow: 1px 0 20px #f91c3021; }
[data-login-theme="black"] .contour-two { border-color: #ff25401a; }
[data-login-theme="black"] .login-card { border-color: #f3324b45; }
[data-login-theme="black"] .theme-toggle { background: #090b11a6; }
[data-login-theme="black"] .benefit-icon { background: #0a0c12a6; border: 1px solid #ff304c5e; }
[data-login-theme="black"] .landscape { display: block; position: absolute; bottom: -1px; left: 0; right: 0; height: 17%; background: linear-gradient(165deg, #191b23 10%, #05070b 35%, #280810 51%, #06080c 65%); clip-path: polygon(0 0, 9% 30%, 19% 45%, 29% 70%, 48% 86%, 63% 75%, 75% 93%, 89% 57%, 100% 20%, 100% 100%, 0 100%); opacity: .7; }
@media (min-width: 1400px) { [data-login-theme="black"] .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 45px; } [data-login-theme="black"] .benefits li { display: block; } [data-login-theme="black"] .benefit-icon { margin-bottom: 15px; } }
@media (max-width: 1100px) { .login-header { padding: 25px 36px 10px; } .login-layout { padding: 30px 36px 40px; gap: 38px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .login-footer { padding-inline: 36px; } h1 { letter-spacing: -1.5px; } .benefits { gap: 20px; } .benefits li { gap: 14px; } .benefits p { font-size: 13px; } .card-brand { gap: 9px; } .card-brand .mask-mark { width: 39px; height: 58px; } .login-card { padding: 28px; } }
@media (max-width: 800px) { .login-header { padding: 22px 24px; } .login-layout { grid-template-columns: minmax(0, 1fr); padding: 18px 24px 40px; gap: 30px; } .login-intro { text-align: center; padding-block: 10px; max-width: 570px; justify-self: center; } .login-intro .eyebrow { justify-content: center; } h1 { font-size: 40px; margin: 17px 0; } .intro-copy { font-size: 16px; } .benefits { display: none; } .login-card { justify-self: center; max-width: 500px; padding: 32px; } .background-mask { left: 10%; width: 100vw; opacity: .08; } .brand-symbol { width: 32px; height: 47px; } .brand-type { font-size: 20px; } .brand-caption { font-size: 8px; letter-spacing: 5px; margin-top: 6px; } .theme-toggle button { padding: 8px 12px; font-size: 12px; gap: 6px; } .theme-toggle svg { width: 17px; height: 17px; } .login-footer { justify-content: center; padding: 20px 24px; flex-wrap: wrap; gap: 8px; } }
@media (max-width: 430px) { .login-header { padding: 18px 18px 8px; gap: 10px; flex-wrap: wrap; } .brand { gap: 9px; } .brand-type { font-size: 18px; } .brand-symbol { width: 27px; height: 40px; } .theme-toggle { padding: 3px; gap: 2px; } .theme-toggle button { padding: 7px 9px; gap: 5px; } .theme-toggle svg { width: 15px; height: 15px; } .login-layout { padding: 20px 18px 30px; gap: 23px; } h1 { font-size: 33px; letter-spacing: -1px; } .eyebrow { font-size: 9px; letter-spacing: 2px; } .intro-copy { font-size: 14px; } .login-card { padding: 25px 22px; border-radius: 16px; } .card-brand .brand-type { font-size: 23px; } .login-card h2 { font-size: 29px; } .card-copy { font-size: 14px; } .secure-access { padding: 15px; } .login-action { font-size: 14px; padding: 15px 16px; } .login-footer { font-size: 10px; gap: 5px 9px; } .login-footer>span:last-child { flex-basis: 100%; text-align: center; } .footer-dash { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (forced-colors: active) { .login-action, .theme-toggle button[aria-pressed="true"] { border: 2px solid ButtonText; } .login-scenery { display: none; } }

@media (max-width: 1100px) { .card-brand .wordmark { width: 180px; } }
@media (max-width: 800px) { .brand .wordmark { width: 160px; } }
@media (max-width: 430px) { .brand .wordmark { width: 126px; } .card-brand .wordmark { width: 175px; } }
