/* v 260602.0125 UTC */

.home-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(20px, 4vw, 32px);

    background:
        radial-gradient(circle at 50% 35%, rgba(69, 101, 185, 0.35), transparent 42%),
        #020817;

    color: #fff;
    overflow: hidden;
}

.home-stage {
    width: min(86vw, 900px);
    margin: 0 auto;

    container-type: inline-size;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.home-eyebrow {
    margin: 0 0 clamp(10px, 1.2cqw, 18px);

    font-size: clamp(1rem, 4.1cqw, 1.7rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0.86;
}

.home-wordmark {
    display: block;

    width: 100%;
    max-width: 900px;
    height: auto;

    margin: 0 auto clamp(20px, 2.2vw, 28px);

    filter:
        drop-shadow(0 0 28px rgba(0,0,0,0.48))
        drop-shadow(0 14px 40px rgba(0,0,0,0.32));
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 16px);

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}

.home-card {
    display: grid;
    place-items: center;

    min-height: 120px;
    padding: 22px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.08);
    color: #fff;

    font: 600 1.1rem/1.2 system-ui, sans-serif;
    text-decoration: none;

    backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.home-card:hover,
.home-card:focus-visible {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.42);
}

/* Narrow phones */

@media (max-width: 419px) {
    .home-stage {
        width: min(88vw, 360px);
    }

    .home-grid {
        grid-template-columns: 1fr;
    }

    .home-card {
        min-height: 86px;
    }
}

/* Larger phones */

@media (min-width: 420px) and (max-width: 619px) {
    .home-stage {
        width: min(88vw, 560px);
    }

    .home-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-card {
        min-height: 92px;
    }
}

/* Tablet and above */

@media (min-width: 620px) {
    .home-stage {
        width: min(86vw, 900px);
    }

    .home-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.home-transition-wash {
    position: fixed;
    inset: 0;
    z-index: 300;

    background: #020817;
    opacity: 0;
    pointer-events: none;
}

.home-transition-wash.is-active {
    opacity: 1;
    animation: homeWashOut 900ms ease forwards;
}

@keyframes homeWashOut {
    to {
        opacity: 0;
    }
}