/* Critical above-the-fold styles for the homepage. */

:root {
    --home-burgundy: #6c0c0c;
    --home-navy: #171d58;
}

main.home-page {
    background:
        radial-gradient(circle at 10% 16%, rgba(255, 228, 214, .28) 0%, rgba(255, 228, 214, 0) 24%),
        radial-gradient(circle at 86% 14%, rgba(113, 132, 255, .08) 0%, rgba(113, 132, 255, 0) 28%),
        linear-gradient(180deg, #faf9fd 0%, #f6f5fb 30%, #fbfbff 100%);
}

.min-h-screen > main.home-page {
    flex-grow: 0;
}

main.home-page > div.bg-white {
    background: transparent !important;
}

.home-hero {
    background: #08112c;
}

.home-hero__stage {
    isolation: isolate;
    contain: paint;
}

.home-hero__slide {
    will-change: opacity;
}

.home-hero__slide--initial {
    will-change: auto;
    transition: none !important;
}

.home-hero__slide img {
    display: block;
}

.home-hero__overlay {
    pointer-events: none;
}

.home-hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-hero__dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: transparent !important;
}

.home-hero__dot::before {
    content: '';
    width: .78rem;
    height: .78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 6px 14px rgba(6, 10, 39, .16);
    transition: width .25s ease, background .25s ease, transform .25s ease;
}

.home-hero__dot:hover::before {
    background: rgba(255, 255, 255, .86);
}

.home-hero__dot--active::before {
    width: 1.8rem;
    background: #fff;
}

@media (max-width: 767px) {
    .home-hero {
        height: 470px !important;
    }

    .home-hero__arrow {
        width: 2.85rem;
        height: 2.85rem;
        box-shadow: 0 12px 24px rgba(17, 23, 61, .14);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .home-hero__overlay {
        background: linear-gradient(180deg, rgba(6, 10, 39, .08) 0%, rgba(6, 10, 39, .34) 100%) !important;
    }
}

@supports (content-visibility: auto) {
    main.home-page > div.bg-white > section:not(:first-of-type) {
        content-visibility: auto;
        contain-intrinsic-size: 1px 960px;
    }
}
