:root {
    font-family: Rubik, Arial, sans-serif;
    font-synthesis: none;
    color: #15185c;
    background: #fff;
    --navy: #15185c;
    --gold: #8d7c54;
    --muted: #676979;
    --line: #d4d5df;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}
[hidden] { display: none !important; }

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 10;
    padding: 14px;
    background: #fff;
    color: var(--navy);
}
.skip-link:focus { top: 12px; }

.login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100svh;
}
.login-side {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100svh;
    padding: 46px 64px 32px;
}
.brand-header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 19px;
    min-height: 44px;
}
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: 165px; height: auto; }
.product-name {
    padding-left: 19px;
    border-left: 1px solid #dedee6;
    font-size: 10px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: .15em;
    color: #70718a;
}

.login-panel {
    width: 100%;
    max-width: 386px;
    margin: auto;
    padding: 44px 0;
    min-width: 0;
}
.login-panel:focus { outline: none; }
.panel-eyebrow {
    margin: 0 0 16px;
    color: #806f48;
    font-size: 11px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: .13em;
}
.login-panel h1 {
    margin: 0 0 14px;
    font-size: 36px;
    line-height: 1.22;
    letter-spacing: -1px;
    font-weight: 500;
}
.login-panel h1 span { display: block; }
.panel-description {
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}
.field + .field { margin-top: 23px; }
label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
}
input {
    display: block;
    width: 100%;
    height: 53px;
    min-width: 0;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
    color: #292b47;
    font-size: 14px;
    transition: border-color .15s;
}
input::placeholder { color: #737585; opacity: 1; }
input:hover { border-color: #9496ab; }
input:focus { border-color: var(--navy); }
.password-field { position: relative; }
.password-field input { padding-right: 54px; }
.password-toggle {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #6d6f85;
    cursor: pointer;
}
.password-toggle svg { width: 20px; height: 20px; }
.password-toggle:hover, .password-toggle[aria-pressed=true] { background: #f1f1f6; }
.login-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 54px;
    margin-top: 30px;
    padding: 14px 19px;
    border: 1px solid var(--navy);
    border-radius: 3px;
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .15s;
}
.login-button svg { flex-shrink: 0; width: 19px; height: 19px; }
.login-button:hover:not(:disabled) { background: #252977; }
.login-button:disabled { cursor: not-allowed; background: #636580; border-color: #636580; }
.login-notice {
    margin: 18px 0 0;
    padding: 13px 15px;
    border-left: 3px solid var(--gold);
    background: #f5f4f0;
    color: var(--navy);
    font-size: 13px;
    line-height: 22px;
    overflow-wrap: anywhere;
}
.login-notice:focus { outline: 2px solid var(--gold); outline-offset: 3px; }
.no-script { font-size: 13px; line-height: 22px; }
.account-help {
    margin: 20px 0 0;
    color: #737583;
    font-size: 11px;
    line-height: 1.8;
}
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
    min-height: 44px;
    color: #6f7084;
    font-size: 10px;
    line-height: 1.6;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 11px;
    text-decoration: none;
}
.back-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.back-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.login-art {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100svh;
    color: #fff;
    background-color: #080e27;
    background-image: linear-gradient(180deg, #080e2705 28%, #080e27c9 100%), url('../assets/datahub-hero.webp');
    background-size: cover;
    background-position: 67% center;
}
.art-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px 20px;
    padding: 49px 48px;
    font-size: 10px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: .13em;
}
.art-header p { margin: 0; }
.art-environment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e4dfd1;
    font-size: 9px;
    white-space: nowrap;
}
.art-environment span { color: #b9a77a; font-size: 7px; }
.intro { margin: auto 60px 60px; }
.intro-rule { width: 30px; height: 2px; margin-bottom: 25px; background: #b9a77a; }
.intro h2 {
    margin: 0 0 20px;
    font-size: clamp(36px, 3.4vw, 56px);
    line-height: 1.18;
    font-weight: 500;
    letter-spacing: -1.3px;
}
.intro p {
    max-width: 330px;
    margin: 0;
    color: #d2d3df;
    font-size: 14px;
    line-height: 1.8;
}
.art-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 60px 34px;
    color: #c6c6d5;
    font-size: 10px;
    line-height: 18px;
}

@media (max-width: 1100px) {
    .login-side { padding-inline: 40px; }
    .art-header { padding-inline: 32px; }
    .intro { margin-inline: 40px; }
    .art-footer { padding-inline: 40px; }
}
@media (max-width: 800px) {
    .login-layout { grid-template-columns: minmax(0, 1fr); }
    .login-art { display: none; }
    .login-side { width: 100%; max-width: 560px; margin-inline: auto; padding: 32px 28px 26px; }
    .brand-header { gap: 14px; }
    .brand img { width: 145px; }
    .product-name { padding-left: 14px; font-size: 9px; letter-spacing: .1em; }
    .login-panel { padding-block: 32px; }
    .login-panel h1 { font-size: 31px; line-height: 1.3; letter-spacing: -.8px; }
    .panel-eyebrow { font-size: 10px; }
    .panel-description { margin-bottom: 29px; font-size: 13px; }
    input { height: 52px; font-size: 16px; }
    .site-footer { font-size: 10px; }
}
@media (max-width: 480px) {
    .login-side { padding: 32px 24px 22px; }
    .back-link { font-size: 10px; }
}
@media (max-height: 640px) and (min-width: 801px) {
    .login-panel { padding-block: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}

.login-button{transition:background-color 140ms ease,opacity 140ms ease,transform 140ms ease}
.login-button:active:not(:disabled){transform:translateY(1px)}
.login-button svg{transition:transform 140ms ease}
.login-button:hover:not(:disabled) svg{transform:translateX(3px)}
#login-form[aria-busy="true"] .login-button svg{opacity:.45}
@media(prefers-reduced-motion:reduce){.login-button,.login-button svg{transition:none}.login-button:active:not(:disabled),.login-button:hover:not(:disabled) svg{transform:none}}
