/* Shared by the HTML launch screen, React sign-in and native splash generator. */
:root {
    --auth-background-light: #08695c;
    --auth-background-dark: #096381;
    --auth-background-color: var(--auth-background-light);
    --auth-background-blend: multiply;
    --auth-brand-top: clamp(4rem, 12svh, 8rem);
}
@media (prefers-color-scheme: dark) {
    :root {
        --auth-background-color: var(--auth-background-dark);
    }
}
body:has([data-sign-in], [data-launch]) {
    background-color: var(--auth-background-color);
    background-image: url('/branding/sign-in/produce-background.jpg');
    background-position: center 60%;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: var(--auth-background-blend);
}
[data-brand-screen] {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-block-size: 100svh;
    padding: max(var(--auth-brand-top), env(safe-area-inset-top))
        max(1.25rem, env(safe-area-inset-right))
        max(2rem, env(safe-area-inset-bottom))
        max(1.25rem, env(safe-area-inset-left));
    color: #fff;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
[data-auth-brand] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block-end: auto;
    text-shadow: 0 2px 12px rgb(0 0 0 / 25%);
}
[data-auth-brand] img {
    display: block;
    inline-size: 8.75rem;
    block-size: 10rem;
    object-fit: contain;
}
[data-auth-brand] h1 {
    margin: 1.25rem 0 0.5rem;
    font-size: clamp(2rem, 5vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    font-weight: 650;
}
[data-auth-brand] p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}
@media (max-height: 450px) {
    :root {
        --auth-brand-top: 1.5rem;
    }
    [data-auth-brand] img {
        inline-size: 4.375rem;
        block-size: 5rem;
    }
    [data-auth-brand] h1 {
        font-size: 1.75rem;
        margin: 0.75rem 0 0.25rem;
    }
    [data-auth-brand] p {
        font-size: 0.875rem;
        line-height: 20px;
    }
}
body:has([data-launch]) {
    margin: 0;
}
.launch-recovery {
    font-size: 0.875rem;
    line-height: 1.5;
    animation: launch-recovery 0s 12s both;
}
.launch-recovery a {
    color: inherit;
    text-underline-offset: 0.2em;
}
@keyframes launch-recovery {
    from {
        visibility: hidden;
    }
    to {
        visibility: visible;
    }
}
@media (prefers-reduced-motion: reduce) {
    .launch-recovery {
        animation: none;
    }
}
