:root {
    color-scheme: light;
    --navy: #102e3a;
    --teal: #167b76;
    --mint: #49d6c0;
    --ink: #142d3b;
    --muted: #64757c;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #f8faf8;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #168d91; outline-offset: 4px; }
.login-page { min-height: 100dvh; display: grid; grid-template-columns: 55% 45%; }
.identity { background: var(--navy); color: #f4faf8; padding: 44px 60px 28px; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 38px; font-weight: 600; letter-spacing: -1.6px; width: fit-content; z-index: 1; }
.brand img { flex: 0 0 auto; }
.identity-content { position: relative; z-index: 1; margin: auto 0; padding: 60px 0 76px; }
.eyebrow { font-size: 11px; letter-spacing: 2.2px; font-weight: 600; margin: 0 0 26px; }
.identity .eyebrow { color: #9abfbd; display: flex; align-items: center; gap: 11px; }
.identity .eyebrow span { width: 24px; height: 2px; background: var(--mint); }
h1 { font-size: clamp(44px, 4.6vw, 76px); font-weight: 500; letter-spacing: -3px; line-height: 1.08; margin: 0; }
h1 em { color: var(--mint); font-style: normal; }
.intro { color: #b2c7ca; font-size: 16px; line-height: 1.75; margin: 28px 0 34px; }
.services { display: flex; flex-wrap: wrap; gap: 10px; }
.services span { display: inline-flex; align-items: center; gap: 8px; color: #d4e7e4; border: 1px solid #ffffff26; padding: 10px 12px; border-radius: 4px; font-size: 11px; white-space: nowrap; }
.services svg { width: 17px; height: 17px; fill: none; stroke: #63d0bf; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-pattern { position: absolute; right: -170px; top: 10%; width: 440px; height: 720px; transform: rotate(25deg); pointer-events: none; opacity: .4; }
.brand-pattern span { position: absolute; inset: 0; border: 1px solid #72c5bf36; border-radius: 200px; }
.brand-pattern span:nth-child(2) { inset: 38px; }
.brand-pattern span:nth-child(3) { inset: 76px; }
.identity-footer, .entry-footer { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; line-height: 1.5; position: relative; z-index: 1; }
.identity-footer { color: #91adaf; }
.entry { display: flex; flex-direction: column; padding: 42px 48px 28px; background: #f8faf8; }
.entry-top { text-align: right; font-size: 11px; color: var(--muted); display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.secure-dot { display: inline-block; width: 6px; height: 6px; background: #168d91; border-radius: 50%; }
.form-wrap { width: min(100%, 365px); margin: auto; padding: 56px 0 44px; }
.welcome-mark { width: 56px; height: 56px; background: #e8f3ef; border-radius: 12px; display: grid; place-items: center; margin-bottom: 28px; }
.form-eyebrow { color: var(--teal); font-size: 10px; letter-spacing: 1.8px; margin-bottom: 12px; }
h2 { font-size: clamp(30px, 2.8vw, 40px); font-weight: 600; letter-spacing: -1.5px; line-height: 1.2; margin: 0 0 12px; }
.subtitle { font-size: 13px; color: var(--muted); margin: 0 0 32px; line-height: 1.6; }
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.field input { width: 100%; min-width: 0; height: 48px; border: 1px solid #d4dedb; border-radius: 6px; background: #fff; color: var(--ink); padding: 0 14px; font-size: 13px; }
.field input::placeholder { color: #8a999d; }
.field input:focus { border-color: var(--teal); }
.password-field { position: relative; }
.password-field input { padding-right: 50px; }
.reveal { border: 0; background: transparent; position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; color: #71888b; display: grid; place-items: center; border-radius: 4px; }
.reveal svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.help-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 25px; font-size: 11px; }
.stay { display: flex; align-items: center; gap: 8px; color: #52686c; cursor: pointer; }
.stay input { accent-color: var(--teal); width: 15px; height: 15px; margin: 0; }
.help-row button, .back { border: 0; background: transparent; color: var(--teal); font-size: 11px; padding: 4px 0; }
.submit { width: 100%; min-height: 48px; border: 0; border-radius: 6px; background: var(--teal); color: #fff; padding: 13px 17px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.submit:hover { background: #126963; }
.submit > span:last-child:not(:first-child) { font-size: 20px; font-weight: 400; line-height: 1; }
.access-note { border-top: 1px solid #e0e8e4; margin: 30px 0 0; padding-top: 23px; color: #61767a; text-align: center; font-size: 11px; line-height: 1.8; }
.access-note span { color: #90a0a1; }
.entry-footer { color: #879897; }
.entry-footer > span:first-child { font-weight: 600; color: #647e7c; }
.message { color: #9d3538; font-size: 12px; line-height: 1.6; margin: 12px 0; }
.message:empty { display: none; }
.hint { font-size: 11px; color: var(--muted); line-height: 1.6; }
.back { margin-top: 18px; }
@media (min-width: 1500px) { .identity { padding-left: 8vw; padding-right: 5vw; } }
@media (max-width: 1050px) {
    .identity { padding: 32px; }
    .entry { padding: 32px; }
    .identity-footer { flex-direction: column; gap: 4px; }
    h1 { letter-spacing: -2px; }
}
@media (max-width: 760px) {
    .login-page { display: block; }
    .identity { padding: 22px 24px; min-height: 0; }
    .brand { font-size: 30px; gap: 10px; }
    .brand img { width: 34px; height: 34px; }
    .identity-content, .identity-footer { display: none; }
    .brand-pattern { top: -300px; right: -80px; height: 500px; width: 260px; }
    .entry { padding: 24px; min-height: calc(100dvh - 78px); }
    .entry-top { font-size: 10px; }
    .form-wrap { padding: 36px 0; }
    .welcome-mark { display: none; }
    .entry-footer { font-size: 9px; }
}
@media (max-width: 360px) { .entry { padding: 20px; } .help-row { gap: 6px; font-size: 10px; } }
