:root {
  color-scheme: dark;
  --navy-950: #05111b;
  --navy-900: #071824;
  --navy-800: #0d2635;
  --ink: #edf5f6;
  --muted: #9cb0b8;
  --cyan: #35d6ca;
  --cyan-bright: #6ce9df;
  --green: #83e68d;
  --danger: #ff9a91;
  --line: rgba(163, 207, 216, .16);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--navy-950); color: var(--ink); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan-bright); outline-offset: 3px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; transform: translateY(-180%); padding: 10px 15px; background: var(--cyan); color: #05191d; font-weight: 800; border-radius: 5px; }.skip-link:focus { transform: none; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(430px, 1.02fr) minmax(500px, .98fr); }
.context-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: clamp(32px, 5vw, 72px); border-right: 1px solid var(--line); background: linear-gradient(145deg, rgba(16,55,69,.48), rgba(5,17,27,.92)); }
.context-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 78%, rgba(53,214,202,.14), transparent 27rem), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, 52px 52px, 52px 52px; }
.context-panel::after { content: ""; position: absolute; width: 360px; height: 360px; right: -180px; top: calc(50% - 180px); border: 1px solid rgba(53,214,202,.10); border-radius: 50%; box-shadow: 0 0 0 70px rgba(53,214,202,.025), 0 0 0 140px rgba(53,214,202,.018); }
.brand, .context-copy, .security-note { position: relative; z-index: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; text-decoration: none; font-weight: 650; letter-spacing: -.02em; }.brand strong { color: var(--cyan-bright); }.brand img { filter: drop-shadow(0 0 14px rgba(53,214,202,.17)); }
.eyebrow { margin: 0 0 20px; color: var(--cyan-bright); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }.eyebrow span { display: inline-block; width: 25px; height: 1px; margin: 0 9px 3px 0; background: var(--cyan); }
h1 { max-width: 700px; margin: 0 0 25px; font-size: clamp(3rem, 5.2vw, 5.25rem); font-weight: 620; line-height: 1.02; letter-spacing: -.055em; }h1 em { color: var(--cyan-bright); font-family: Georgia, serif; font-weight: 400; }
.context-copy > p:last-child { max-width: 520px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.security-note { display: flex; gap: 14px; align-items: start; max-width: 420px; padding-top: 22px; border-top: 1px solid var(--line); }.security-note > span { color: var(--green); }.security-note p { margin: 0; color: #8199a3; font-size: .76rem; letter-spacing: .02em; }.security-note strong { color: #bcd0d5; text-transform: uppercase; letter-spacing: .09em; font-size: .67rem; }
.form-panel { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 70px 9%; background: #07151f; }
.form-wrap { width: min(100%, 450px); }
.back-link { display: inline-flex; gap: 10px; margin-bottom: clamp(70px, 10vh, 120px); color: #8098a1; text-decoration: none; font-size: .82rem; font-weight: 650; }.back-link:hover { color: white; }
.back-link--static { margin-top: 0; cursor: default; text-transform: uppercase; letter-spacing: .09em; font-size: .68rem; }.back-link--static:hover { color: #8098a1; }
.form-heading { margin-bottom: 35px; }.kicker { margin: 0 0 13px; color: var(--cyan); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }.form-heading h2 { margin: 0 0 9px; font-size: clamp(2rem, 3vw, 2.65rem); letter-spacing: -.04em; }.form-heading > p:last-child { color: var(--muted); margin: 0; font-size: .9rem; }
.session-check { display: flex; align-items: center; gap: 12px; min-height: 55px; color: var(--muted); font-size: .85rem; }.session-check[hidden] { display: none; }.spinner, .button-spinner { width: 18px; height: 18px; border: 2px solid rgba(108,233,223,.22); border-top-color: var(--cyan-bright); border-radius: 50%; animation: spin .75s linear infinite; }
.login-form { display: grid; gap: 22px; }.login-form[hidden] { display: none; }
.field { display: grid; gap: 8px; }.field label { font-size: .79rem; font-weight: 720; letter-spacing: .02em; }.field small { color: #69818b; font-size: .7rem; }
.field input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: #091d29; color: white; transition: border-color .2s, box-shadow .2s; }.field input:hover { border-color: rgba(163,207,216,.3); }.field input:focus { border-color: var(--cyan); outline: 0; box-shadow: 0 0 0 3px rgba(53,214,202,.12); }.field input[aria-invalid="true"] { border-color: var(--danger); }
.password-control { position: relative; }.password-control input { padding-right: 84px; }.password-toggle { position: absolute; right: 5px; top: 5px; height: 42px; padding: 0 10px; border: 0; background: transparent; color: var(--cyan-bright); font-size: .72rem; font-weight: 700; cursor: pointer; }
.status-message { padding: 13px 15px; border: 1px solid rgba(255,154,145,.28); border-left: 3px solid var(--danger); border-radius: 5px; background: rgba(255,100,90,.06); color: #ffc3bd; font-size: .82rem; }.status-message.blocked { border-color: rgba(255,194,111,.32); border-left-color: #ffc26f; background: rgba(255,194,111,.07); color: #ffdbab; }.status-message.success { border-color: rgba(131,230,141,.28); border-left-color: var(--green); background: rgba(131,230,141,.06); color: #b9efbf; }
.submit-button { display: flex; justify-content: space-between; align-items: center; min-height: 54px; margin-top: 6px; padding: 0 18px; border: 0; border-radius: 6px; background: var(--cyan); color: #052025; font-weight: 800; cursor: pointer; transition: background .2s, transform .2s; }.submit-button:hover:not(:disabled) { background: var(--cyan-bright); transform: translateY(-1px); }.submit-button:disabled { cursor: wait; opacity: .68; }.button-spinner { display: none; border-color: rgba(5,32,37,.2); border-top-color: #052025; }.submit-button.loading .button-spinner { display: block; }.submit-button.loading .arrow { display: none; }
.support-note { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: #687f89; font-size: .7rem; }
.form-footer { position: absolute; bottom: 28px; left: 9%; right: 9%; margin: 0; color: #526b75; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }.form-footer span { color: var(--green); font-size: .5rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 880px) { .login-layout { grid-template-columns: 1fr; }.context-panel { min-height: auto; padding: 28px 24px 55px; }.context-copy { margin-top: 95px; }.security-note { margin-top: 70px; }.form-panel { min-height: 750px; padding: 70px 24px 100px; }.back-link { margin-bottom: 70px; }.form-footer { left: 24px; right: 24px; } }
@media (max-width: 520px) { h1 { font-size: 2.8rem; }.context-copy { margin-top: 75px; }.security-note { margin-top: 55px; }.form-panel { place-items: start center; }.back-link { margin-bottom: 55px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
