@font-face {
    font-family: "Filson2";
    src: url("../fonts/FilsonProHeavy.otf") format("opentype");
    font-style: normal;
    font-weight: 600 900;
    font-display: swap;
}

@font-face {
    font-family: "Filson2";
    src: url("../fonts/FilsonProRegular.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Filson2";
    src: url("../fonts/FilsonProMedium.otf") format("opentype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: #000;
    color: #fff;
    font-family: "Filson2", sans-serif;
}

.auth-header {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 clamp(1.25rem, 4vw, 3.5rem);
    border-bottom: 1px solid var(--border);
    background: #000;
}

.academy-brand {
    display: inline-flex;
    align-items: center;
    gap: 1.15rem;
    color: #fff;
    line-height: 1;
}

.academy-brand:hover {
    color: #fff;
}

.academy-brand-name {
    display: inline-flex;
    align-items: baseline;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    font-weight: 600;
    letter-spacing: -0.07em;
}

.academy-brand-name strong {
    color: #12c875;
    font-weight: 600;
}

.academy-label {
    padding-left: 1.15rem;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    color: #aeb5b0;
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.auth-shell .auth-page {
    min-height: auto;
}

.auth-shell .auth-page h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: 1rem;
}

.auth-shell .auth-page h2 {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.auth-shell .auth-page h3 {
    font-size: 1.1rem;
}

.login-card {
    width: min(100%, 520px) !important;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    background: #090b0a;
    border-color: rgba(255, 255, 255, 0.12);
}

.login-intro {
    padding-bottom: 0.5rem;
}

.login-card input {
    min-height: 52px;
    border-radius: 999px;
    padding-inline: 1.15rem;
    background: #000;
}

.login-card .button {
    min-height: 52px;
    margin-top: 0.3rem;
    background: #12c875;
    border-color: #12c875;
}

.forgot-link {
    align-self: flex-start;
    font-size: 0.88rem;
}

.auth-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: #000;
    color: var(--muted);
    font-size: 0.8rem;
}

.auth-footer p {
    margin: 0;
}

@media (max-width: 520px) {
    .auth-footer {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
    }
}
