.home-intro {
    display: none;
}

.home-intro-pending {
    overflow: hidden;
}

.home-intro-pending .home-intro {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(0, 174, 239, .10), transparent 34%),
        linear-gradient(155deg, #ffffff 0%, #f6fbff 58%, #edf8ff 100%);
    opacity: 1;
    transition: opacity .24s ease, visibility .24s ease;
}

.home-intro-pending .home-intro.is-leaving {
    visibility: hidden;
    opacity: 0;
}

.home-intro__glow {
    position: absolute;
    width: min(72vw, 680px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(0, 174, 239, .10);
    box-shadow:
        0 0 0 44px rgba(0, 174, 239, .035),
        0 0 0 92px rgba(0, 174, 239, .018);
    transform: scale(.72);
    opacity: 0;
}

.home-intro__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    text-align: center;
}

.home-intro__logo-wrap {
    position: relative;
    display: grid;
    width: 148px;
    height: 148px;
    place-items: center;
    margin-bottom: 24px;
    transform: translateY(12px) scale(.86);
    opacity: 0;
}

.home-intro__ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 174, 239, .24);
    border-radius: 50%;
}

.home-intro__ring::after {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00aeef;
    box-shadow: 0 0 18px rgba(0, 174, 239, .55);
    content: "";
    transform: translateX(-50%);
}

.home-intro__logo {
    display: block;
    width: 107px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(7, 86, 174, .12));
}

.home-intro__title,
.home-intro__subtitle {
    opacity: 0;
    transform: translateY(8px);
}

.home-intro__title {
    margin: 0;
    color: #0d2f57;
    font-size: clamp(19px, 3vw, 27px);
    font-weight: 800;
    line-height: 1.8;
}

.home-intro__subtitle {
    margin: 3px 0 0;
    color: #5f748c;
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 500;
}

.home-intro__line {
    display: block;
    width: 0;
    height: 2px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #00aeef, transparent);
}

.home-intro-pending .home-intro__glow {
    animation: home-intro-glow .8s ease-out .04s both;
}

.home-intro-pending .home-intro__logo-wrap {
    animation: home-intro-logo .48s cubic-bezier(.2, .8, .2, 1) .05s both;
}

.home-intro-pending .home-intro__ring {
    animation: home-intro-ring .82s cubic-bezier(.2, .8, .2, 1) .08s both;
}

.home-intro-pending .home-intro__title {
    animation: home-intro-copy .35s ease-out .32s both;
}

.home-intro-pending .home-intro__subtitle {
    animation: home-intro-copy .35s ease-out .42s both;
}

.home-intro-pending .home-intro__line {
    animation: home-intro-line .42s ease-out .48s both;
}

@keyframes home-intro-glow {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes home-intro-logo {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes home-intro-ring {
    from {
        transform: rotate(-80deg) scale(.72);
    }

    to {
        transform: rotate(0) scale(1);
    }
}

@keyframes home-intro-copy {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes home-intro-line {
    to {
        width: 132px;
    }
}

@media (max-width: 520px) {
    .home-intro__glow {
        width: 88vw;
    }

    .home-intro__logo-wrap {
        width: 128px;
        height: 128px;
        margin-bottom: 18px;
    }

    .home-intro__logo {
        width: 92px;
        height: 96px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-intro-pending .home-intro {
        display: none;
    }
}
