/* Not part of the base/layout/status/wizard split loaded on the main
   page - this is the pre-login screen's own stylesheet, loaded only by
   app/views/login.php alongside base.css (for resets, buttons, .script).
   Two-column layout with the Pip mascot, adapted from the login screen in
   templates/style/reference/pure-tech-help-mockup.html. */

.login {
    min-height: 100vh;
    background: var(--pure-pink);
    color: var(--pure-plum);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    overflow: hidden;
    position: relative;
}

.login-copy {
    padding: var(--pad);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    min-height: 100vh;
}

.login-copy .logo {
    display: block;
}

.login-copy .logo svg {
    width: 130px;
    height: auto;
    display: block;
    color: var(--pure-plum);
}

.login h1 {
    font-size: clamp(58px, 8.6vw, 132px);
    line-height: .94;
}

.login h1 .script {
    font-size: 1.3em; /* Fave Script Pro runs small next to Formiga */
}

.login-lede {
    font-size: clamp(18px, 1.6vw, 21px);
    max-width: 30ch;
    margin: 28px 0 34px;
    color: var(--pure-plum);
}

.login small {
    font-size: 15px;
    max-width: 40ch;
    display: block;
}

.login-copy .dev-banner {
    margin-top: 16px;
    border-radius: 12px;
    display: inline-block;
}

.login-art {
    position: relative;
}

.login-art img {
    position: absolute;
    bottom: 0;
    right: clamp(16px, 5vw, 60px);
    height: min(64vh, 460px);
    width: auto;
}

@media (max-width: 900px) {
    .login {
        grid-template-columns: 1fr;
    }

    .login-copy {
        min-height: auto;
        padding-bottom: 0;
    }

    .login-art {
        height: 260px;
    }

    .login-art img {
        height: 260px;
        right: 20px;
    }
}
