:root {
    --bg: #060b08;
    --panel: #0d1510;
    --panel-soft: #101a13;
    --panel-deep: #080f0b;

    --line: #223029;
    --line-bright: #304338;

    --text: #f3f7f4;
    --muted: #8d9a91;
    --muted-2: #657269;

    --green: #70ff75;
    --green-soft: #8aff88;
    --green-dark: #071208;

    --danger-bg: #281719;
    --danger-line: #65393d;
    --danger-text: #ffc1c4;

    --radius-lg: 22px;
    --radius-md: 13px;
    --radius-sm: 10px;
}


* {
    box-sizing: border-box;
}


html {
    min-height: 100%;
}


body {
    min-height: 100vh;
    margin: 0;

    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(64, 255, 101, .09),
            transparent 31rem
        ),
        radial-gradient(
            circle at 20% 0%,
            rgba(56, 188, 91, .055),
            transparent 28rem
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


button,
input {
    font: inherit;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


a {
    color: inherit;
}


.login-page {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    padding:
        26px
        clamp(18px, 4vw, 60px)
        24px;
}


/* ================================================================
   TOPBAR
================================================================ */

.login-topbar {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}


.login-brand {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;
}


.login-brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--green);
    color: var(--green-dark);

    box-shadow:
        0 0 30px
        rgba(112, 255, 117, .12);

    font-size: 16px;
    font-weight: 900;
}


.login-brand-copy {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.login-brand-copy strong {
    color: #f4f8f5;

    font-size: 15px;
    font-weight: 800;

    letter-spacing: -.01em;
}


.login-brand-copy small {
    color: #66746a;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .16em;

    text-transform: uppercase;
}


.language-switcher {
    display: inline-flex;
    align-items: center;

    padding: 4px;

    border:
        1px solid
        var(--line);

    border-radius: 11px;

    background:
        rgba(
            13,
            21,
            16,
            .92
        );
}


.language-switcher a {
    min-width: 44px;

    padding: 8px 10px;

    border-radius: 8px;

    color: #76837a;

    text-align: center;
    text-decoration: none;

    font-size: 12px;
    font-weight: 850;

    transition:
        background .15s ease,
        color .15s ease;
}


.language-switcher a.active {
    background: var(--green);
    color: var(--green-dark);
}


/* ================================================================
   MAIN
================================================================ */

.login-shell {
    width: 100%;
    max-width: 1080px;

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, .98fr)
        minmax(340px, .82fr);

    gap: 22px;

    align-items: stretch;
}


/* ================================================================
   LOGIN CARD
================================================================ */

.login-card {
    padding:
        clamp(28px, 5vw, 48px);

    border:
        1px solid
        var(--line);

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            160deg,
            rgba(17, 27, 20, .98),
            rgba(10, 17, 13, .98)
        );

    box-shadow:
        0 28px 80px
        rgba(0, 0, 0, .28);
}


.login-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 7px 10px;

    border:
        1px solid
        rgba(112, 255, 117, .18);

    border-radius: 999px;

    background:
        rgba(112, 255, 117, .07);

    color: #91f895;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.eyebrow-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px
        rgba(112, 255, 117, .72);
}


.login-card h1 {
    margin:
        22px
        0
        10px;

    font-size:
        clamp(
            32px,
            5vw,
            46px
        );

    line-height: 1.05;

    letter-spacing: -.045em;
}


.login-intro {
    max-width: 560px;

    margin:
        0
        0
        31px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.65;
}


/* ================================================================
   ERROR
================================================================ */

.login-error {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-bottom: 22px;

    padding: 14px 15px;

    border:
        1px solid
        var(--danger-line);

    border-radius: 11px;

    background:
        var(--danger-bg);

    color:
        var(--danger-text);

    font-size: 13px;
    line-height: 1.5;
}


.login-error-icon {
    width: 21px;
    height: 21px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(255, 130, 137, .13);

    font-weight: 900;
}


/* ================================================================
   FORM
================================================================ */

.login-form {
    width: 100%;
}


.form-field {
    margin-top: 19px;
}


.form-field:first-of-type {
    margin-top: 0;
}


.form-field label {
    display: block;

    margin-bottom: 8px;

    color: #dae2dc;

    font-size: 12px;
    font-weight: 800;
}


.input-shell {
    min-height: 52px;

    display: flex;
    align-items: center;

    border:
        1px solid
        #2c3a31;

    border-radius: 11px;

    background: var(--panel-deep);

    overflow: hidden;

    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}


.input-shell:focus-within {
    border-color:
        rgba(112, 255, 117, .8);

    background: #09110c;

    box-shadow:
        0 0 0 3px
        rgba(112, 255, 117, .08);
}


.input-icon {
    width: 48px;

    flex: 0 0 48px;

    display: grid;
    place-items: center;

    color: #647269;

    font-size: 14px;
    font-weight: 900;
}


.lock-icon {
    font-size: 8px;
}


.input-shell input {
    width: 100%;
    min-width: 0;
    height: 50px;

    padding:
        0
        13px
        0
        0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #f4f7f5;

    font-size: 14px;
}


.input-shell input::placeholder {
    color: #526057;
}


.password-shell input {
    padding-right: 5px;
}


.password-toggle {
    width: 48px;
    height: 50px;

    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border: 0;

    background: transparent;

    color: #738078;

    cursor: pointer;
}


.password-toggle:hover {
    color: var(--green);
}


.eye-icon {
    position: relative;

    width: 18px;
    height: 12px;

    display: block;

    border:
        1.5px solid
        currentColor;

    border-radius:
        60% 60% 60% 60% /
        70% 70% 70% 70%;

    transform: rotate(0deg);
}


.eye-icon::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: currentColor;

    transform:
        translate(
            -50%,
            -50%
        );
}


.password-toggle.is-visible
.eye-icon::before {
    content: "";

    position: absolute;

    width: 23px;
    height: 1.5px;

    top: 50%;
    left: 50%;

    background: currentColor;

    transform:
        translate(
            -50%,
            -50%
        )
        rotate(-38deg);
}


/* ================================================================
   SUBMIT
================================================================ */

.login-submit {
    width: 100%;
    min-height: 53px;

    margin-top: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    border: 0;
    border-radius: 11px;

    background: var(--green);
    color: var(--green-dark);

    cursor: pointer;

    font-size: 14px;
    font-weight: 900;

    box-shadow:
        0 16px 38px
        rgba(68, 238, 89, .09);

    transition:
        transform .14s ease,
        filter .14s ease;
}


.login-submit:hover {
    filter: brightness(1.04);

    transform:
        translateY(-1px);
}


.login-submit:active {
    transform:
        translateY(0);
}


.submit-arrow {
    font-size: 17px;

    transition:
        transform .14s ease;
}


.login-submit:hover
.submit-arrow {
    transform:
        translateX(3px);
}


/* ================================================================
   RECOVER
================================================================ */

.recover-row {
    margin-top: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 5px;

    color: #707d74;

    font-size: 12px;
}


.recover-row a {
    color: #cdd6cf;

    font-weight: 800;

    text-decoration: none;
}


.recover-row a:hover {
    color: var(--green);
}


/* ================================================================
   SECURITY
================================================================ */

.security-strip {
    margin-top: 31px;

    padding-top: 22px;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    border-top:
        1px solid
        #202b24;
}


.security-icon {
    width: 29px;
    height: 29px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background:
        rgba(112, 255, 117, .08);

    color: var(--green);

    font-size: 12px;
    font-weight: 900;
}


.security-strip strong {
    display: block;

    margin-bottom: 4px;

    color: #b9c3bc;

    font-size: 11px;
}


.security-strip p {
    margin: 0;

    color: #647168;

    font-size: 10px;
    line-height: 1.55;
}


/* ================================================================
   SUBSCRIBER CARD
================================================================ */

.subscriber-card {
    position: relative;

    min-height: 100%;

    overflow: hidden;

    border:
        1px solid
        #27402f;

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            155deg,
            #101d14,
            #0a120d 62%,
            #08100b
        );

    box-shadow:
        0 28px 80px
        rgba(0, 0, 0, .23);
}


.subscriber-glow {
    position: absolute;

    width: 360px;
    height: 360px;

    top: -160px;
    right: -160px;

    border-radius: 50%;

    background:
        rgba(70, 255, 103, .15);

    filter: blur(42px);

    pointer-events: none;
}


.subscriber-content {
    position: relative;
    z-index: 1;

    height: 100%;

    padding:
        clamp(
            28px,
            5vw,
            45px
        );

    display: flex;
    flex-direction: column;
}


.subscriber-label {
    color: var(--green);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.subscriber-card h2 {
    max-width: 370px;

    margin:
        18px
        0
        13px;

    font-size:
        clamp(
            27px,
            4vw,
            38px
        );

    line-height: 1.08;

    letter-spacing: -.04em;
}


.subscriber-description {
    margin: 0;

    color: #9aa69e;

    font-size: 14px;
    line-height: 1.7;
}


/* ================================================================
   CAMPAIGN
================================================================ */

.campaign-card {
    margin-top: 30px;

    padding: 21px;

    border:
        1px solid
        rgba(112, 255, 117, .2);

    border-radius: 15px;

    background:
        rgba(112, 255, 117, .055);
}


.campaign-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 13px;
}


.campaign-badge {
    display: inline-flex;

    padding:
        6px
        9px;

    border-radius: 999px;

    background:
        rgba(112, 255, 117, .12);

    color: #9cff9d;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .09em;
}


.campaign-spark {
    color: var(--green);

    font-size: 17px;
}


.campaign-title {
    color: #fff;

    font-size: 21px;
    font-weight: 900;

    letter-spacing: -.02em;
}


.campaign-card p {
    margin:
        9px
        0
        0;

    color: #8f9b93;

    font-size: 12px;
    line-height: 1.65;
}


/* ================================================================
   PLANS BUTTON
================================================================ */

.plans-button {
    width: 100%;
    min-height: 50px;

    margin-top: 18px;

    padding:
        0
        18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border:
        1px solid
        rgba(112, 255, 117, .35);

    border-radius: 11px;

    background:
        rgba(112, 255, 117, .06);

    color: #b5ffb8;

    text-decoration: none;

    font-size: 13px;
    font-weight: 900;

    transition:
        background .14s ease,
        border-color .14s ease,
        transform .14s ease;
}


.plans-button:hover {
    background:
        rgba(112, 255, 117, .1);

    border-color:
        rgba(112, 255, 117, .65);

    transform:
        translateY(-1px);
}


.subscriber-divider {
    margin-top: auto;

    padding-top: 30px;

    border-bottom:
        1px solid
        #203027;
}


.subscriber-footnote {
    margin:
        18px
        0
        0;

    color: #627168;

    font-size: 11px;
    line-height: 1.5;
}


/* ================================================================
   FOOTER
================================================================ */

.login-footer {
    width: 100%;
    max-width: 1080px;

    margin:
        42px
        auto
        0;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    color: #46534a;

    font-size: 10px;
}


.login-footer a {
    color: #5f6d63;

    text-decoration: none;
}


.login-footer a:hover {
    color: var(--green);
}


/* ================================================================
   RESPONSIVE
================================================================ */

@media (max-width: 820px) {

    .login-page {
        padding:
            20px
            14px
            25px;
    }


    .login-topbar {
        margin-bottom: 28px;
    }


    .login-shell {
        grid-template-columns: 1fr;

        max-width: 620px;
    }


    .subscriber-card {
        min-height: auto;
    }


    .subscriber-divider {
        margin-top: 28px;
    }
}


@media (max-width: 520px) {

    .login-brand-copy small {
        display: none;
    }


    .login-brand-mark {
        width: 38px;
        height: 38px;
    }


    .login-card,
    .subscriber-content {
        padding: 24px;
    }


    .login-card h1 {
        font-size: 32px;
    }


    .subscriber-card h2 {
        font-size: 28px;
    }


    .language-switcher a {
        min-width: 40px;
        padding:
            7px
            8px;
    }


    .login-footer {
        flex-direction: column;

        align-items: center;

        text-align: center;
    }
}