main .block.hero-animation {
    background: none !important;
    max-width: 1440px;
    margin: 0 auto;
}

main .block.hero-animation .wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: var(--page-width-lg);
    text-align: center;
}

main .block.hero-animation .video-background {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: none;
}

main .block.hero-animation .video-poster {
    display: block;
    width: 100%;
}

main .block.hero-animation .video-poster img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    pointer-events: none;
}

main .block.hero-animation video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

main .block.hero-animation .title {
    font-size: 88px;
    line-height: 94px;
    margin-bottom: var(--spacing-100);
    color: var(--color-neutral-white);
}

main .block.hero-animation .button-container {
    margin-top: var(--spacing-700);
}

main .block.hero-animation .subtitle-container {
    display: inline-flex;
    justify-content: center;
    align-items: baseline;
    gap: 0 0.2em;
    color: var(--color-neutral-white);
}

main .block.hero-animation .scrolling-words-container {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: baseline;
    height: 1.2em;
    transition: width 0.35s ease;
}

main .block.hero-animation .scrolling-word-spacer {
    visibility: hidden;
    padding: 0 0.04em 0 0.08em;
}

main .block.hero-animation .scrolling-word {
    position: absolute;
    left: 50%;
    top: 0;
    color: var(--color-secondary-500);
    padding: 0 0.04em 0 0.08em;
    white-space: nowrap;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

main .block.hero-animation .scrolling-word.current {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

main .block.hero-animation .scrolling-word.current.exit {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
}

main .block.hero-animation .scrolling-word.next {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
}

main .block.hero-animation .scrolling-word.next.enter {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 940px) {
    main .block.hero-animation .title {
        font-size: 72px;
        line-height: 70px;
    }

    main .block.hero-animation .subtitle-container {
        font-size: 44px;
        line-height: 44px;
    }
}

@media (max-width: 768px) {
    main .block.hero-animation {
        overflow: hidden;
    }

    main .block.hero-animation .wrapper {
        padding: 0;
        max-width: 312px;
    }

    main .block.hero-animation .title {
        font-size: 64px;
        line-height: 64px;
        margin-bottom: var(--spacing-200);
    }

    main .block.hero-animation .subtitle-container {
        font-size: 44px;
        line-height: 44px;
        flex-wrap: wrap;
    }

    main .block.hero-animation .subtitle-container .subtitle-text:last-child {
        flex-basis: 100%;
    }

    main .block.hero-animation .video-background {
        width: 105%;
    }

    main .block.hero-animation .video-poster img,
    main .block.hero-animation video {
        max-width: 470px;
    }
}

@media (min-width: 392px) and (max-width: 768px) {
    main .block.hero-animation .video-background {
        width: 108%;
    }
}