.hedera-scroll-foundation-scroll-space {
    position: relative;
    width: 100%;
    height: 440vh;
}

.hedera-scroll-foundation {
    position: sticky;
    top: 0;

    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #ffffff;
}

.hedera-scroll-foundation__stage {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #ffffff;
}

.hedera-scroll-foundation__black-fill {
    position: absolute;
    inset: 0;
    background: #000000;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.hedera-scroll-foundation__cap {
    position: absolute;
    left: 50%;
    width: 110vw;
    height: 80vh;
    background: #000000;
    z-index: 2;
    will-change: transform;
}

.hedera-scroll-foundation__cap--top {
    top: -1px;
    border-radius: 0 0 100% 100%;
}

.hedera-scroll-foundation__cap--bottom {
    bottom: -1px;
    border-radius: 100% 100% 0 0;
}

.hedera-scroll-foundation__prelude {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    width: min(900px, calc(100% - 64px));
    transform: translate(-50%, -50%);
    text-align: center;
    color: #000000;
    pointer-events: none;
    will-change: transform, opacity;
}

.hedera-scroll-foundation__prelude p {
    margin: 0;
    font-size: var(--hedera-font-md);
    line-height: normal;
    font-weight: unset;
}

.hedera-scroll-foundation__prelude span {
    display: inline-block;
    margin-top: 24px;
    font-size: var(--hedera-font-sm);
    line-height: normal;
    opacity: 0.65;
}

.hedera-scroll-foundation__content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 64px;
    text-align: center;
    color: white;
    pointer-events: none;
}

.hedera-scroll-foundation__headline {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    margin: 0;
    font-size: var(--hedera-font-xxl);
    line-height: normal;
    font-weight: unset;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    color: white;
}

.hedera-scroll-foundation__body {
    position: absolute;
    top: 50%;
    left: 50%;
    
    width: 100%;
    margin: 0;
    font-size: var(--hedera-font-sm);
    line-height: normal;
    font-weight: unset;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.hedera-scroll-foundation__body p {
    margin: 0 0 18px;
    color: white;
}

.hedera-scroll-foundation__body p:last-child {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .hedera-scroll-foundation__headline {
        width: 170%;
    }
    .hedera-scroll-foundation__content {
        padding: 0 24px;
    }

    .hedera-scroll-foundation__body {
        max-width: 90%;
    }

    .hedera-scroll-foundation__cap {
        width: 160vw;
        height: 56vh;
    }
}

@media (max-width: 48em) {
    .hedera-scroll-foundation-scroll-space {
        height: 440svh;
    }

    .hedera-scroll-foundation,
    .hedera-scroll-foundation__stage {
        height: var(--hedera-mobile-vh, 100svh);
        min-height: var(--hedera-mobile-vh, 100svh);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hedera-scroll-foundation-scroll-space {
        height: auto;
    }

    .hedera-scroll-foundation {
        position: relative;
        top: auto;
    }

    .hedera-scroll-foundation__stage {
        background: #000000;
    }

    .hedera-scroll-foundation__black-fill {
        opacity: 1;
        visibility: visible;
    }

    .hedera-scroll-foundation__cap,
    .hedera-scroll-foundation__prelude
    {
        display: none;
    }

    .hedera-scroll-foundation__headline,
    .hedera-scroll-foundation__body {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}