.landing-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f1f8f2;
    color: #123d24;
}

.landing-nav {
    z-index: 2;
    display: flex;
    flex: 0 0 64px;
    align-items: center;
    min-height: 64px;
    height: 64px;
    padding: 6px clamp(16px, 4vw, 52px);
    background: linear-gradient(100deg, #075126, #128341);
    box-shadow: 0 2px 10px rgba(5, 65, 30, .2);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.landing-brand img.brand-lockup {
    display: block;
    width: auto;
    max-width: 280px;
    height: 56px !important;
}

.landing-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
}

.landing-action {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.landing-action:hover,
.landing-action:focus-visible {
    background: #fff;
    color: #0b672f;
}

.register-action {
    border-color: #b7efc7;
    background: #b7efc7;
    color: #0b5428;
}

.register-action:hover,
.register-action:focus-visible {
    border-color: #fff;
    background: #fff;
}

.landing-main {
    position: relative;
    isolation: isolate;
    display: flex;
    flex: 1 0 auto;
    min-height: calc(100svh - 104px);
    overflow: hidden;
    background: #245c3b url("campus-landing.png") center 70% / cover no-repeat;
}

.landing-main::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .58) 48%, rgba(255, 255, 255, .46));
    content: "";
}

.landing-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
    align-items: center;
    gap: clamp(32px, 6vw, 92px);
    width: min(1440px, 100%);
    height: 100%;
    margin: 0 auto;
    padding: 24px clamp(24px, 5vw, 72px);
    position: relative;
    z-index: 1;
}

.welcome-panel {
    max-width: 720px;
}

.welcome-kicker {
    margin: 0 0 10px;
    color: #148342;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.welcome-panel h1 {
    margin: 0 0 12px;
    color: #083e22;
    font-size: clamp(36px, 4.2vw, 60px);
    font-weight: 800;
    letter-spacing: -1.7px;
    line-height: .84;
}

.welcome-panel h1 span {
    display: inline-block;
    color: #12934b;
    font-size: .75em;
    letter-spacing: -.4px;
    line-height: .9;
}

.welcome-panel h1 .title-line {
    color: #083e22;
    font-size: 1em;
    letter-spacing: inherit;
    white-space: nowrap;
}

.welcome-copy {
    max-width: 560px;
    margin: 0;
    color: #164a2c;
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    line-height: 1.55;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 620px);
    gap: 6px;
    margin-top: 24px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 17px;
    background: rgba(250, 253, 250, .18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .13);
    backdrop-filter: blur(0);
}

.welcome-feature {
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 8px 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
}

.welcome-feature > span {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: #e4f6e9;
    color: #138341;
    font-size: 25px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(12, 107, 48, .12);
}

.welcome-feature > span svg {
    width: 21px;
    height: 21px;
}

.welcome-feature strong,
.welcome-feature small {
    display: block;
    font-family: "Times New Roman", Times, serif;
}

.welcome-feature strong {
    color: #173d25;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.welcome-feature small {
    margin-top: 3px;
    color: #3f5e49;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.login-card {
    width: 100%;
    padding: 30px 26px 26px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 19px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 18px 48px rgba(5, 34, 20, .28);
    overflow: hidden;
}

.login-card::after {
    display: none;
}

.login-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.login-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    background: #e8f6ec;
    color: #128341;
    font-size: 23px;
}

.login-icon svg {
    width: 25px;
    height: 25px;
}

.login-heading h2 {
    margin: 0 0 2px;
    color: #173d25;
    font-size: 23px;
}

.login-heading p {
    margin: 0;
    color: #728477;
    font-size: 13px;
}

.secure-label {
    display: inline-block;
    margin: 0 0 7px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #edf8ef;
    color: #128341;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.login-message {
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
}

.login-message.err {
    background: #fff1f0;
    color: #a52b24;
}

.login-message.ok {
    background: #eaf8ed;
    color: #176b3a;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-form > label {
    margin-top: 3px;
    color: #355342;
    font-size: 11px;
    font-weight: 700;
}

.login-form > .captcha-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-top: 5px;
}

.captcha-label small {
    color: #728477;
    font-size: 9px;
    font-weight: 500;
}

.login-form > input,
.password-field input,
.captcha-fields input {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #d6e5da;
    border-radius: 8px;
    background: #fbfdfb;
    color: #173d25;
    font: inherit;
    font-size: 11px;
}

.login-form input:focus {
    outline: 2px solid rgba(22, 163, 74, .2);
    border-color: #16a34a;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 54px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
    padding: 4px;
    border: 0;
    background: transparent;
    color: #128341;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

.captcha-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.captcha-question {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    overflow: hidden;
    border: 1px solid #82c99a;
    border-radius: 10px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .86) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 78%, rgba(20, 131, 65, .12) 0 2px, transparent 3px),
        repeating-linear-gradient(135deg, transparent 0 11px, rgba(20, 131, 65, .045) 11px 12px),
        linear-gradient(135deg, #f6fff8, #d9f2e0);
    color: #0c6532;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 3px 9px rgba(16, 95, 44, .1);
}

.captcha-question::before {
    position: absolute;
    z-index: -1;
    top: -25px;
    right: -9px;
    width: 76px;
    height: 76px;
    border: 1px dashed rgba(18, 131, 65, .28);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .18), 0 0 0 17px rgba(18, 131, 65, .06);
    content: "";
}

.captcha-math-icon {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 8px;
    background: linear-gradient(145deg, #2aa45a, #087237);
    color: #fff;
    font-size: 17px;
    box-shadow: 0 3px 8px rgba(7, 91, 40, .22);
}

.captcha-equation {
    position: relative;
    z-index: 1;
    font-size: 20px;
    letter-spacing: 1.2px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

.sign-in-button {
    min-height: 45px;
    margin-top: 5px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(100deg, #128341, #0d6933);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.sign-in-button:hover {
    background: linear-gradient(100deg, #0d6933, #095329);
}

.create-account-button {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    border: 1px solid #128341;
    border-radius: 8px;
    color: #0d7338;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.create-account-button:hover,
.create-account-button:focus-visible {
    background: #edf8ef;
    color: #095329;
}

.demo-accounts {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e5eee7;
    color: #65796c;
    font-size: 11px;
    line-height: 1.45;
}

.demo-accounts strong {
    display: block;
    margin-bottom: 3px;
    color: #31523c;
    font-size: 11px;
}

.demo-accounts strong span {
    color: #7a8b7f;
    font-weight: 500;
}

.demo-accounts p {
    margin: 0 0 3px;
}

.demo-accounts code {
    color: #0c6d35;
    font-family: Consolas, monospace;
    font-weight: 700;
}

.landing-body > .footer {
    flex: 0 0 auto;
    margin: 0;
    padding: 9px 12px 11px;
    background: #f1f8f2;
    color: #637a6a;
    font-size: 13px;
}

.landing-body .foot-logo {
    gap: 5px;
    margin-bottom: 1px;
}

.landing-body .foot-logo img {
    width: 23px;
    height: 25px;
}

.landing-body .foot-logo b {
    font-size: 14px;
}

@media (max-width: 900px) and (min-width: 761px) {
    .landing-content {
        grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
        gap: 22px;
        padding-inline: 20px;
    }

    .welcome-panel h1 {
        font-size: clamp(34px, 4.4vw, 42px);
    }

    .welcome-copy {
        font-size: 14px;
    }
}

@media (max-width: 760px) {
    .landing-main {
        background-position: center 100%;
        background-size: auto 112%;
    }

    .landing-nav {
        flex-basis: 56px;
        min-height: 56px;
        height: 56px;
        padding-inline: 14px;
    }

    .landing-brand img.brand-lockup {
        max-width: 220px;
        height: 50px !important;
    }

    .landing-action {
        min-height: 31px;
        padding-inline: 11px;
        font-size: 11px;
    }

    .landing-content {
        grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
        gap: 16px;
        padding: 14px 16px;
    }

    .welcome-panel h1 {
        font-size: clamp(22px, 4.1vw, 30px);
    }

    .welcome-copy {
        font-size: 14px;
    }

    .welcome-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        margin-top: 68px;
        padding: 4px;
    }

    .welcome-feature {
        padding: 6px 3px;
    }

    .welcome-feature > span {
        width: 30px;
        height: 30px;
    }

    .welcome-feature > span svg {
        width: 17px;
        height: 17px;
    }

    .login-card {
        padding: 17px 15px 15px;
    }
}

@media (max-width: 560px) {
    .landing-content {
        grid-template-columns: minmax(0, 1fr);
        align-content: center;
        gap: 12px;
        padding: 10px 14px;
    }

    .landing-brand img.brand-lockup {
        max-width: 165px;
        height: 38px !important;
    }

    .landing-actions {
        gap: 5px;
    }

    .landing-action {
        min-height: 29px;
        padding-inline: 8px;
        font-size: 10px;
    }

    .welcome-panel {
        text-align: center;
    }

    .welcome-kicker {
        margin-bottom: 5px;
        font-size: 9px;
    }

    .welcome-panel h1 {
        margin-bottom: 5px;
        font-size: clamp(21px, 5.5vw, 29px);
        letter-spacing: -.5px;
    }

    .welcome-copy {
        max-width: 360px;
        margin: 0 auto;
        font-size: 12px;
        line-height: 1.35;
    }

    .welcome-features {
        display: none;
    }

    .login-card {
        width: min(100%, 380px);
        justify-self: center;
        padding: 13px 15px 10px;
    }

    .login-heading {
        margin-bottom: 5px;
    }

    .login-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .login-heading h2 {
        font-size: 16px;
    }

    .login-heading p {
        font-size: 10px;
    }

    .login-form > input,
    .password-field input,
    .captcha-fields input,
    .captcha-question {
        height: 36px;
        min-height: 36px;
    }

    .sign-in-button {
        min-height: 34px;
    }
}

@media (max-height: 650px) {
    .landing-nav {
        flex-basis: 48px;
        min-height: 48px;
        height: 48px;
    }

    .landing-brand img.brand-lockup {
        height: 32px !important;
    }

    .landing-content {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .welcome-kicker {
        margin-bottom: 5px;
    }

    .welcome-panel h1 {
        margin-bottom: 7px;
        font-size: clamp(27px, 3vw, 36px);
    }

    .welcome-features {
        margin-top: 12px;
    }

    .login-card {
        padding-top: 12px;
        padding-bottom: 9px;
    }

    .login-heading {
        margin-bottom: 4px;
    }

    .login-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .secure-label {
        margin-bottom: 4px;
        padding-block: 3px;
    }

    .login-form {
        gap: 3px;
    }

    .login-form > input,
    .password-field input,
    .captcha-fields input,
    .captcha-question {
        height: 32px;
        min-height: 32px;
    }

    .sign-in-button {
        min-height: 34px;
        margin-top: 3px;
    }

    .demo-accounts {
        margin-top: 7px;
        padding-top: 5px;
    }
}

@media (max-width: 560px) and (max-height: 740px) {
    .landing-content {
        gap: 7px;
    }

    .welcome-copy {
        display: none;
    }
}

@media (max-width: 760px) {
    .landing-body {
        min-height: 100svh;
    }

    .landing-main {
        flex: 1 0 auto;
        min-height: calc(100svh - 104px);
        overflow: visible;
        background-position: center center;
        background-size: cover;
    }

    .landing-content {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        justify-items: center;
        gap: clamp(18px, 4vh, 30px);
        width: 100%;
        height: auto;
        min-height: 0;
        padding: clamp(24px, 6vh, 48px) clamp(16px, 5vw, 32px) 36px;
    }

    .welcome-panel {
        width: min(100%, 560px);
        max-width: 560px;
        text-align: center;
    }

    .welcome-panel h1 {
        margin-bottom: 12px;
        font-size: clamp(30px, 6vw, 44px);
        letter-spacing: -1px;
        line-height: 1.05;
    }

    .welcome-panel h1 .title-line {
        white-space: normal;
    }

    .welcome-panel h1 span {
        line-height: 1.1;
    }

    .welcome-copy {
        max-width: 520px;
        margin: 0 auto;
        font-size: clamp(15px, 2.4vw, 18px);
        line-height: 1.45;
    }

    .welcome-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 520px);
        margin: 18px auto 0;
        gap: 8px;
        padding: 8px;
        border-radius: 14px;
        background: rgba(250, 253, 250, .78);
        backdrop-filter: blur(8px);
    }

    .welcome-feature {
        grid-template-columns: 38px minmax(0, 1fr);
        justify-items: start;
        gap: 8px;
        padding: 8px;
        text-align: left;
    }

    .welcome-feature > span {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .welcome-feature > span svg {
        width: 19px;
        height: 19px;
    }

    .welcome-feature strong,
    .welcome-feature small {
        display: block;
        line-height: 1.3;
    }

    .login-card {
        justify-self: center;
        align-self: start;
        width: min(100%, 480px);
        max-width: 480px;
        padding: 22px clamp(18px, 4vw, 28px) 20px;
    }

    .login-heading h2 {
        font-size: 21px;
    }

    .login-heading p {
        font-size: 13px;
    }

    .login-form > input,
    .password-field input,
    .captcha-fields input,
    .captcha-question {
        min-height: 44px;
        height: auto;
        font-size: 14px;
    }

    .sign-in-button,
    .create-account-button {
        min-height: 44px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .landing-nav {
        padding-inline: 10px;
    }

    .landing-brand img.brand-lockup {
        max-width: 145px;
    }

    .landing-action {
        min-height: 36px;
        padding-inline: 9px;
        font-size: 11px;
    }

    .landing-content {
        gap: 18px;
        padding: 22px 12px 28px;
    }

    .welcome-panel h1 {
        font-size: clamp(27px, 8vw, 34px);
    }

    .welcome-features {
        gap: 4px;
        padding: 6px;
    }

    .welcome-feature {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 6px;
        padding: 6px 4px;
    }

    .welcome-feature > span {
        width: 30px;
        height: 30px;
    }

    .welcome-feature strong {
        font-size: 11px;
    }

    .welcome-feature small {
        font-size: 10px;
    }

    .login-card {
        padding: 18px 15px 16px;
    }
}
