:root {
    --ink: #102951;
    --blue: #0656bf;
    --muted: #435a76;
    --rule: #c7d8e9;
    font: 16px/1.5 "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #fbfdff;
    color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
button, input { font: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #b45528; outline-offset: 3px; }
.wrap { width: min(1190px, 91%); margin-inline: auto; }
.mast { border-bottom: 1px solid var(--rule); background: #fff; }
.mast-inner, .foot, .password-label, .languages { display: flex; align-items: center; justify-content: space-between; }
.mast-inner { min-height: 76px; }
.wordmark { display: block; width: 174px; height: auto; }
.languages { padding: 3px; background: #edf4fc; border: 1px solid var(--rule); border-radius: 8px; }
.languages a { padding: 5px 10px; color: var(--muted); font: bold .78rem/1.45 monospace; border-radius: 5px; }
.languages [aria-current] { background: var(--ink); color: white; }
.spread { flex: 1; display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr); align-content: center; padding-block: clamp(24px, 5vh, 65px); }
.cover, .access { border: 1px solid var(--rule); }
.cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 22px 0 0 22px; background: linear-gradient(160deg,#f3faff 3%,#e7f3ff 49%,#cfe7ff); }
.cover-copy { position: relative; z-index: 1; padding: clamp(32px, 4.8vw, 72px) clamp(28px, 4vw, 60px) 0; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 .72rem/1.5 "Courier New", monospace; letter-spacing: .13em; text-transform: uppercase; color: #2c5488; }
.kicker span { font: 1.6rem/1 Georgia, serif; color: var(--blue); }
.cover-title, h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
.cover-title { margin: 23px 0 16px; font-size: clamp(3.4rem, 5.7vw, 5.5rem); line-height: 1.02; }
.cover-title em { display: block; color: #075abb; }
.cover-note, .intro { color: var(--muted); margin: 0; }
.cover-note { max-width: 33ch; font-size: 1.05rem; }
.login-cover { background: linear-gradient(155deg, #f3faff, #e3f1ff); }
.login-cover .cover-copy { padding-bottom: 32px; }
.auth-scene { display: block; flex: none; width: 100%; margin-top: 8px; }
.auth-scene img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.access { border-left: 0; border-radius: 0 22px 22px 0; background: white; display: grid; align-items: center; padding: clamp(30px, 4vw, 62px); }
.access-inner { width: 100%; max-width: 375px; margin: auto; }
h1 { margin: 0; font-size: clamp(2.65rem, 3.5vw, 3.65rem); line-height: 1.1; }
.intro { margin-top: 8px; }
form { margin-top: 28px; }
label { display: block; font-size: .9rem; font-weight: 650; }
input:not([type=hidden]) { display: block; width: 100%; height: 48px; padding: 10px 13px; color: var(--ink); background: #fbfdff; border: 1px solid #9eb2c9; border-radius: 7px; }
input:focus { border-color: var(--blue); outline: 3px solid #c4ddff; outline-offset: 1px; }
#email, .password-wrap { margin-top: 6px; }
.password-label { gap: 10px; margin-top: 19px; flex-wrap: wrap; }
.password-label a, .demo { font-size: .84rem; font-weight: 600; }
.password-wrap { position: relative; }
#password { padding-right: 82px; }
#show-password { position: absolute; right: 5px; top: 5px; bottom: 5px; padding: 0 8px; background: transparent; border: 0; color: var(--blue); font-size: .8rem; font-weight: 650; cursor: pointer; }
.submit, .google { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 8px; font-weight: 650; }
.submit { position: relative; margin-top: 22px; border: 1px solid #183d97; background: var(--blue); color: white; box-shadow: 0 3px 0 #15347c; cursor: pointer; }
.submit span { position: absolute; right: 16px; font-size: 1.2rem; }
.submit:hover { background: #054da9; }
.submit:active { transform: translateY(2px); box-shadow: 0 1px 0 #15347c; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 17px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.google { background: white; color: var(--ink); border: 1px solid #a9bfd5; font-size: .93rem; }
.google:hover { text-decoration: none; background: #f1f7ff; }
.demo { display: table; margin: 20px auto 0; }
.foot { gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-block: 17px 20px; }
.foot a { color: var(--muted); font-size: .82rem; }
.foot div { display: flex; gap: 22px; }
.notice { margin: 14px 0 0; padding: 9px 12px; border-left: 3px solid; border-radius: 4px; font-size: .9rem; }
.error { background: #fff2f0; color: #892f22; }
.success { background: #e8f6ef; color: #1c6549; }
.launch { flex: 1; display: grid; align-items: center; padding-block: clamp(20px, 5vh, 58px); }
.launch-panel { overflow: hidden; border: 1px solid var(--rule); border-radius: 22px; background: linear-gradient(170deg, #f4faff 12%, #daecff 80%); }
.launch-copy { padding: clamp(30px, 5vw, 68px) 6% 0; }
.launch h1 { font-size: clamp(2.55rem, 7.6vw, 6.6rem); margin-block: 14px; }
.launch h1 i { color: var(--blue); }
.launch .intro { max-width: 52ch; font-size: clamp(1rem, 1.4vw, 1.17rem); }
.launch-atlas { display: block; width: 100%; height: clamp(128px, 19vw, 260px); margin-top: 18px; object-fit: cover; object-position: center bottom; }
.launch-access { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding: 22px 6%; border-top: 1px solid var(--rule); background: #fff; }
.launch-access p { margin: 0; font-size: 1.1rem; }
.launch-access .submit { width: auto; padding: 9px 20px; margin: 0; }
.launch-access .submit span { position: static; }
.recovery-art { min-height: clamp(425px, 40vw, 550px); }
.recovery-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recovery .kicker { margin-bottom: 12px; }
.recovery .access { padding-block: clamp(28px, 4vw, 56px); }
.recovery-field + .recovery-field { margin-top: 17px; }
.recovery-field input { margin-top: 6px; }
.recovery-field #password { padding-right: 13px; }
.recovery-hint { margin: 6px 0 0; font-size: .84rem; color: var(--muted); }
@media (max-width: 760px) {
    .mast-inner { min-height: 62px; }
    .wordmark { width: 150px; }
    .spread { grid-template-columns: minmax(0, 1fr); max-width: 520px; padding-block: 20px; }
    .cover { border-radius: 15px 15px 0 0; height: 85px; justify-content: end; }
    .cover-copy { display: none; }
    .recovery-art { height: clamp(130px, 38vw, 180px); min-height: 0; }
    .login-cover { height: auto; }
    .auth-scene { margin: 0; }
    .access { border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 15px 15px; padding: 25px clamp(18px, 6vw, 40px); }
    h1 { font-size: 2.5rem; }
    form { margin-top: 19px; }
    .foot div { gap: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
    .access-inner { animation: arrive .35s ease-out both; }
    @keyframes arrive { from { opacity: .65; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}
