/* Home Page Styles */
/* The navy tint keeps the white heading and button readable over the
   brightest part of the photo. */
:where(body) {
    --home-tint: color-mix(in srgb, var(--color-brand-navy) var(--brand-tint-strength), transparent);
    background:
        linear-gradient(var(--home-tint), var(--home-tint)),
        url('/images/brand-background.webp') center / cover no-repeat var(--color-brand-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 2rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

:where(p) {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.auto-login-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.auto-login-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

.auto-login-group-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin: 0.5rem 0 0;
}

.auto-login-group a {
    min-width: 200px;
}

/* On the navy background the default navy button would disappear, so invert
   it to a white button with navy text for a readable, high-contrast CTA. */
.login-options .theme-button {
    --button-background-color: var(--color-primary-white);
    --button-foreground-color: var(--color-brand-navy);
}

.login-options .theme-button:hover {
    --button-background-color: rgba(255, 255, 255, 0.88);
}

/* A navy focus ring would vanish against the navy background — use white. */
.login-options .theme-button:focus-visible {
    outline-color: var(--color-primary-white);
}
