.auth-body {
    min-height: 100vh;
    background: #f5f6f3;
}

.auth-page {
    display: grid;
    grid-template-columns: minmax(320px, .95fr) minmax(420px, 1.05fr);
    min-height: 100vh;
}

.auth-intro {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 42px clamp(32px, 6vw, 88px);
    background: radial-gradient(ellipse at 15% 85%, #285740 0, transparent 42%), linear-gradient(145deg, #102c22, #173b2d 72%, #1d4534);
    color: #f5f8f5;
}

.auth-brand,
.auth-mobile-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    color: #fff;
    font: 600 17px/1.15 ui-sans-serif, system-ui;
    letter-spacing: -.02em;
    text-decoration: none;
}

.auth-brand small,
.auth-mobile-brand small {
    display: block;
    margin-top: 5px;
    color: #b5c7bc;
    font: 600 9px/1.2 ui-sans-serif, system-ui;
    letter-spacing: .19em;
}

.auth-brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #91a99a;
    border-radius: 13px;
    color: #e9f0eb;
    font: 24px/1 Georgia, serif;
}

.auth-intro-copy {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 70px 0;
}

.auth-eyebrow {
    display: block;
    color: #bad0c1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
}

.auth-intro h1 {
    margin: 20px 0 16px;
    color: #fff;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.auth-intro-copy > p {
    max-width: 390px;
    color: #c4d2c9;
    font-size: 16px;
    line-height: 1.7;
}

.auth-assurances {
    display: grid;
    gap: 13px;
    margin-top: 38px;
    color: #e1ebe4;
    font-size: 13px;
}

.auth-assurances span {
    display: flex;
    align-items: center;
    gap: 11px;
}

.auth-assurances i {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    background: #315844;
    color: #d7e7dc;
    font-style: normal;
}

.auth-footer {
    position: relative;
    z-index: 1;
    color: #a9bdb0;
    font-size: 12px;
}

.auth-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid #ffffff12;
    border-radius: 50%;
    pointer-events: none;
}

.auth-orbit-one {
    top: 18%;
    right: -300px;
    width: 480px;
    height: 480px;
}

.auth-orbit-two {
    top: 10%;
    right: -370px;
    width: 620px;
    height: 620px;
}

.auth-content {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
}

.auth-card {
    width: min(100%, 430px);
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #e4e9e5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 65px #17352612;
}

.auth-eyebrow-light {
    color: #39704f;
}

.auth-card h2 {
    margin: 13px 0 5px;
    color: #173729;
    font: 600 30px/1.2 Georgia, serif;
    letter-spacing: -.035em;
}

.auth-subtitle {
    margin: 0 0 30px;
    color: #758078;
    font-size: 14px;
}

.auth-form {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.auth-form > label:not(.auth-remember) {
    margin: 11px 0 0;
    color: #34473b;
    font-size: 13px;
    font-weight: 650;
}

.auth-form > input {
    width: 100%;
    min-height: 48px;
    border-color: #dce4de;
    border-radius: 9px;
    background: #fbfcfb;
    padding: 11px 13px;
}

.auth-form > input:focus {
    outline: 3px solid #2c704322;
    border-color: #39704f;
}

.auth-form > input[aria-invalid="true"] {
    border-color: #bd4d48;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 14px 0 17px;
    color: #58675e;
    font-size: 13px;
}

.auth-remember input {
    width: 16px;
    height: 16px;
    accent-color: #1a5539;
}

.auth-form button {
    width: 100%;
    min-height: 49px;
    justify-content: space-between;
    padding: 0 17px;
    border-radius: 9px;
    background: #174b34;
    font-size: 14px;
}

.auth-form button span {
    font-size: 20px;
    font-weight: 400;
    transition: transform .15s;
}

.auth-form button:hover span {
    transform: translateX(3px);
}

.auth-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 18px;
    padding: 12px 13px;
    border: 1px solid #f0cbc8;
    border-radius: 9px;
    background: #fff7f6;
    color: #982f2b;
}

.auth-error > span {
    display: grid;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    place-items: center;
    border-radius: 50%;
    background: #f8dedb;
    font-size: 12px;
    font-weight: 700;
}

.auth-error p {
    margin: 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.45;
}

.auth-invite-note {
    margin: 24px 0 0;
    color: #758078;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
}

.auth-lock-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 23px;
    color: #78867d;
    font-size: 11px;
}

.auth-lock-note span {
    color: #568065;
}

.auth-content-footer {
    margin-top: 24px;
    color: #8b968f;
    font-size: 11px;
}

.auth-mobile-brand {
    display: none;
}

@media (max-width: 820px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-intro {
        display: none;
    }

    .auth-intro-copy,
    .auth-footer,
    .auth-orbit {
        display: none;
    }

    .auth-mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 30px;
        color: #1d3e2e;
        font-size: 15px;
    }

    .auth-mobile-brand .auth-brand-mark {
        width: 36px;
        height: 36px;
        border-color: #cddbd1;
        color: #225238;
    }

    .auth-mobile-brand small {
        color: #6a8071;
        font-size: 8px;
    }

    .auth-content {
        min-height: auto;
        padding: 25px 20px 32px;
    }

    .auth-card {
        padding: 30px 26px;
    }

    .auth-eyebrow-light {
        display: none;
    }

    .auth-content-footer {
        margin-top: 18px;
    }
}

@media (max-width: 420px) {
    .auth-intro {
        padding: 18px 20px;
    }

    .auth-card {
        padding: 26px 21px;
        border-radius: 15px;
    }

    .auth-card h2 {
        font-size: 27px;
    }

    .auth-content {
        padding: 20px 14px 28px;
    }
}
