@charset "UTF-8";

:root {
    color-scheme: light;
    --ink: #183a3b;
    --muted: #667b7a;
    --teal: #28666a;
    --teal-dark: #17484d;
    --line: #dce7e3;
    --paper: #fbfcfa;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
    margin: 0;
    background: #edf2ef;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.login-shell {
    display: grid;
    grid-template-columns: minmax(360px, 0.93fr) minmax(520px, 1.07fr);
    min-height: 100vh;
    padding: 18px;
    gap: 18px;
}

.login-landscape {
    position: relative;
    display: flex;
    min-height: calc(100vh - 36px);
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(28px, 4.3vw, 64px);
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(ellipse at 77% 34%, rgba(170, 216, 206, .26), transparent 35%),
        linear-gradient(145deg, #153f46 0%, #1b555b 49%, #214d51 100%);
    isolation: isolate;
}

.login-landscape::before,
.login-landscape::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.login-landscape::before {
    inset: 0;
    opacity: .17;
    background-image: radial-gradient(rgba(255,255,255,.56) .65px, transparent .65px);
    background-size: 13px 13px;
    mask-image: linear-gradient(130deg, #000, transparent 65%);
}

.login-landscape::after {
    right: -10%;
    bottom: 2%;
    width: 70%;
    height: 42%;
    border: 1px solid rgba(231, 245, 237, .24);
    border-radius: 50%;
    transform: rotate(-18deg);
}

.brand {
    z-index: 2;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 13px;
    color: #fff;
    text-decoration: none;
}

.brand img, .mobile-brand img {
    display: block;
    border: 2px solid rgba(255,255,255,.76);
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
}

.brand span, .mobile-brand span { display: grid; gap: 3px; }
.brand strong, .mobile-brand span { font-size: 9px; letter-spacing: .17em; }
.brand b, .mobile-brand strong { font-size: 18px; letter-spacing: .01em; }

.landscape-copy {
    z-index: 2;
    max-width: 560px;
    margin: auto 0;
    padding: 72px 0 94px;
}

.eyebrow {
    margin: 0 0 16px;
    color: #82c9bd;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .22em;
}

.landscape-copy h1 {
    margin: 0;
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 620;
    letter-spacing: -.045em;
    line-height: 1.06;
}

.landscape-copy h1 span { color: #9bd4c8; }
.landscape-description { max-width: 380px; margin: 26px 0 0; color: rgba(244,250,247,.8); font-size: 15px; line-height: 1.75; }
.landscape-foot { z-index: 2; margin: 0; color: rgba(239,249,245,.58); font-size: 9px; font-weight: 650; letter-spacing: .17em; }

.mountain { position: absolute; z-index: 1; right: -6%; bottom: -2%; width: 84%; pointer-events: none; }
.mountain-back {
    height: 34%;
    opacity: .31;
    background: #8bb6ae;
    clip-path: polygon(0 100%, 17% 47%, 28% 69%, 47% 8%, 58% 42%, 71% 18%, 100% 100%);
}
.mountain-front {
    right: -10%;
    bottom: -4%;
    height: 26%;
    opacity: .48;
    background: #112f36;
    clip-path: polygon(0 100%, 19% 56%, 31% 75%, 52% 20%, 66% 66%, 81% 38%, 100% 100%);
}

.login-panel {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(26px, 5vw, 76px);
    border: 1px solid #e2eae5;
    border-radius: 22px;
    background: var(--paper);
    box-shadow: 0 12px 44px rgba(29, 62, 55, .055);
}

.login-card { width: min(100%, 430px); }
.login-card .eyebrow { margin-bottom: 11px; color: #6b9f97; }
.login-card h2 { margin: 0; color: #193d3e; font-size: clamp(30px, 3vw, 39px); font-weight: 650; letter-spacing: -.045em; }
.login-intro { margin: 12px 0 30px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.mobile-brand { display: none; }

.field-group { margin: 0 0 19px; }
.field-group label { display: block; margin-bottom: 8px; color: #345454; font-size: 12px; font-weight: 700; }
.field-group input {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid #d6e2dd;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: #173536;
    font: inherit;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field-group input::placeholder { color: #91a29e; }
.field-group input:focus { border-color: #4e928a; box-shadow: 0 0 0 3px rgba(78,146,138,.14); }
.password-field { position: relative; }
.password-field input { padding-right: 82px; }
.password-toggle { position: absolute; top: 0; right: 0; height: 50px; padding: 0 14px; border: 0; background: transparent; color: #34716f; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.password-toggle:hover { color: #17484d; }
.password-toggle:focus-visible, .submit-button:focus-visible, a:focus-visible { outline: 3px solid #77b8ae; outline-offset: 3px; }

.captcha-wrap { display: flex; min-height: 82px; justify-content: center; margin: 23px 0 18px; overflow: hidden; }
.login-alert { display: flex; gap: 11px; align-items: flex-start; margin: 0 0 20px; padding: 13px 14px; border: 1px solid #f1cebd; border-radius: 9px; background: #fff4ed; color: #813d25; }
.login-alert p { margin: 1px 0 0; font-size: 13px; line-height: 1.5; }
.alert-mark { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border-radius: 50%; background: #f2dfd4; font-size: 12px; font-weight: 800; }

.submit-button {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px 0 19px;
    border: 0;
    border-radius: 9px;
    background: var(--teal);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}
.submit-button:hover { transform: translateY(-1px); background: var(--teal-dark); }
.submit-button span:last-child { font-size: 21px; font-weight: 450; }
.login-note { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: #7a8e89; font-size: 11px; line-height: 1.5; }
.login-note span { color: #52847d; font-size: 14px; }
.back-link { display: inline-block; margin-top: 25px; color: #37716d; font-size: 12px; font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

.login-footer { width: min(100%, 430px); margin-top: 42px; padding-top: 19px; border-top: 1px solid var(--line); color: #82918d; font-size: 11px; }
.login-footer nav { display: flex; flex-wrap: wrap; gap: 9px 17px; margin-top: 10px; }
.login-footer a { color: #527c77; text-decoration: none; }
.login-footer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .login-shell { grid-template-columns: minmax(280px, .8fr) minmax(400px, 1.2fr); padding: 12px; gap: 12px; }
    .login-landscape { min-height: calc(100vh - 24px); padding: 32px; }
    .login-panel { padding: 40px 28px; }
    .landscape-copy h1 { font-size: clamp(34px, 4.4vw, 48px); }
}

@media (max-width: 680px) {
    body { background: var(--paper); }
    .login-shell { display: block; min-height: 100vh; padding: 0; }
    .login-landscape { display: none; }
    .login-panel { min-height: 100vh; justify-content: flex-start; padding: 25px 23px 22px; border: 0; border-radius: 0; box-shadow: none; }
    .login-card { width: min(100%, 420px); margin: auto; }
    .mobile-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 35px; color: #285e61; font-size: 9px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; }
    .mobile-brand img { border-color: #e2d798; }
    .mobile-brand strong { font-size: 15px; letter-spacing: 0; }
    .login-card .eyebrow { font-size: 9px; }
    .login-intro { margin-bottom: 25px; }
    .login-footer { width: min(100%, 420px); margin-top: 25px; }
}

@media (max-width: 360px) {
    .login-panel { padding-right: 15px; padding-left: 15px; }
    .captcha-wrap { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
