@keyframes reveal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes reveal-rise {
    from { transform: translateY(var(--reveal-rise)); }
    to   { transform: none; }
}
@keyframes reveal-blur {
    from { filter: blur(var(--reveal-blur)); }
    to   { filter: none; }
}
@supports (animation-timeline: view()) {
    @media screen and (prefers-reduced-motion: no-preference) {
        :root {
            --reveal-blur: 8px;
            --reveal-rise: var(--space-5);
            --reveal-span: 26vh;
            --reveal-clear: 0.6;
            --reveal-step: 3vh;
        }
        @media (max-width: 767px) {
            :root {
                --reveal-span: 22vh;
                --reveal-rise: var(--space-4);
                --reveal-blur: 6px;
                --reveal-clear: 0.5;
                --reveal-step: 1vh;
            }
        }
        .stories__item,
        .ai-base,
        .ai__bridge,
        .ai__item,
        .ai__all,
        .bx-ax,
        .library__item,
        .subpage__slot,
        .subpage__lead,
        .subpage__point,
        .hub__grid > li,
        .ins-card:not(.gl-about__card *, .ins-slider__track *),
        .ins-ba__row,
        .ins-tbl-wrap,
        .ins-next-step,
        .gl-def,
        .gl-rel,
        .gl-about__card,
        .fp-cards > li,
        .sol-block__fig,
        .sol-sum__item,
        .security__group,
        .soon__box,
        .mi-card,
        .hub__group-head,
        .editor__lead,
        .modules__lead,
        .portfolio__lead,
        .library__lead,
        .security__item,
        .security__app-card,
        .awards__row,
        .bo-own__i,
        .ai-open__lead,
        .akm__card,
        .sg-serp__row,
        .bx-tbl:not(.ail-type *),
        .so-own,
        .sol-steps,
        .sol-row,
        .upk-scope__row,
        .upk-note,
        .nx__band,
        .tp-fact,
        .tp-row,
        .pricing-faq__item,
        .pricing-table__group,
        .dm-more__group,
        .ix-addon__panel,
        .ix-jobs__group,
        .ix-card:not(.sf *),
        .ssl-why__card,
        .hc-close__row,
        .tp-scope__row,
        .tp-strip__item,
        .tp-voice__fig,
        .ai-sec > .container > .sec-head,
        .ai-all__grp,
        .ai-all__hub,
        .dm-list:not(.dm-find__list) > .dm-row,
        .svc-next__list,
        .infra-shape > .pricing-stack:not(.ix-jobs),
        .infra-ops > .pricing-stack,
        .ai-out {
            --reveal-lag: calc(var(--reveal-order, 0) * var(--reveal-step));
            --reveal-from: min(var(--reveal-lag), 50%);
            --reveal-to: min(calc(var(--reveal-span) + var(--reveal-lag)), 100%);
            --reveal-sharp: min(calc(var(--reveal-span) * var(--reveal-clear) + var(--reveal-lag)), 100%);
            animation: reveal-fade var(--ease-out-quad) both,
                       reveal-rise var(--ease-out-expo) both;
            animation-timeline: view(), view();
            animation-range: entry var(--reveal-from) entry var(--reveal-to),
                             entry var(--reveal-from) entry var(--reveal-to);
        }
        .stories__item,
        .ai-base,
        .ai__bridge,
        .ai__item,
        .ai__all,
        .bx-ax,
        .library__item,
        .subpage__slot,
        .subpage__lead,
        .subpage__point,
        .ins-card:not(.gl-about__card *, .ins-slider__track *),
        .ins-ba__row,
        .ins-tbl-wrap,
        .ins-next-step,
        .gl-def,
        .gl-rel,
        .gl-about__card,
        .fp-cards > li,
        .sol-block__fig,
        .sol-sum__item,
        .security__group,
        .soon__box,
        .mi-card,
        .editor__lead,
        .modules__lead,
        .portfolio__lead,
        .library__lead,
        .security__item,
        .security__app-card,
        .awards__row,
        .bo-own__i,
        .ai-open__lead,
        .akm__card,
        .sg-serp__row,
        .bx-tbl:not(.ail-type *),
        .so-own,
        .sol-steps,
        .sol-row,
        .upk-scope__row,
        .upk-note,
        .nx__band,
        .tp-fact,
        .tp-row,
        .pricing-faq__item,
        .pricing-table__group,
        .dm-more__group,
        .ix-addon__panel,
        .ix-jobs__group,
        .ix-card:not(.sf *),
        .ssl-why__card,
        .hc-close__row,
        .tp-scope__row,
        .tp-strip__item,
        .tp-voice__fig,
        .ai-sec > .container > .sec-head,
        .ai-all__grp,
        .ai-all__hub,
        .dm-list:not(.dm-find__list) > .dm-row,
        .svc-next__list,
        .infra-shape > .pricing-stack:not(.ix-jobs),
        .infra-ops > .pricing-stack,
        .ai-out {
            animation: reveal-fade var(--ease-out-quad) both,
                       reveal-blur var(--ease-out-quad) both,
                       reveal-rise var(--ease-out-expo) both;
            animation-timeline: view(), view(), view();
            animation-range: entry var(--reveal-from) entry var(--reveal-to),
                             entry var(--reveal-from) entry var(--reveal-sharp),
                             entry var(--reveal-from) entry var(--reveal-to);
        }
        @media (max-width: 767px) {
            .hub__grid > li {
                animation: reveal-fade var(--ease-out-quad) both,
                           reveal-blur var(--ease-out-quad) both,
                           reveal-rise var(--ease-out-expo) both;
                animation-timeline: view(), view(), view();
                animation-range: entry var(--reveal-from) entry var(--reveal-to),
                                 entry var(--reveal-from) entry var(--reveal-sharp),
                                 entry var(--reveal-from) entry var(--reveal-to);
            }
        }
        .library__rail {
            view-timeline-name: --reveal-rail;
        }
        .library__item {
            animation-timeline: --reveal-rail, --reveal-rail, --reveal-rail;
        }
        .library__item:nth-child(n + 6) {
            animation: reveal-fade var(--ease-out-quad) both,
                       reveal-rise var(--ease-out-expo) both;
            animation-timeline: --reveal-rail, --reveal-rail;
            animation-range: entry var(--reveal-from) entry var(--reveal-to);
        }
        @media (min-width: 1281px) {
            .stories__item:nth-child(3n + 2) { --reveal-order: 1; }
            .stories__item:nth-child(3n)     { --reveal-order: 2; }
        }
        @media (min-width: 992px) and (max-width: 1280px) {
            .stories__item:nth-child(2n) { --reveal-order: 1; }
        }
        @media (min-width: 768px) {
            .ai__item:nth-child(2n) { --reveal-order: 1; }
        }
        .library__item:nth-child(2)     { --reveal-order: 1; }
        .library__item:nth-child(3)     { --reveal-order: 2; }
        .library__item:nth-child(n + 4) { --reveal-order: 3; }
        @media (min-width: 768px) {
            .subpage__point:nth-child(2n) { --reveal-order: 1; }
            .ins-hgrid > li:nth-child(3n + 2) .ins-card { --reveal-order: 1; }
            .ins-hgrid > li:nth-child(3n)     .ins-card { --reveal-order: 2; }
            .ins-grid  > li:nth-child(2n)     .ins-card { --reveal-order: 1; }
        }
        @media (min-width: 652px) and (max-width: 1231px) {
            .hub__grid > li:nth-child(2n) { --reveal-order: 1; }
        }
        @media (min-width: 1232px) {
            .hub__grid > li:nth-child(3n + 2) { --reveal-order: 1; }
            .hub__grid > li:nth-child(3n)     { --reveal-order: 2; }
        }
        @media (min-width: 992px) {
            .fp-cards > li:nth-child(2n) { --reveal-order: 1; }
            .ai-all__grp--brand,
            .ai-all__hub { --reveal-order: 1; }
            .ai-all__grp--shop { --reveal-order: 2; }
        }
        @media (max-width: 767px) {
            .subpage__point:nth-child(2),
            .ins-ba__row:nth-child(2),
            .sol-sum__item:nth-child(2)     { --reveal-order: 1; }
            .subpage__point:nth-child(3),
            .ins-ba__row:nth-child(3),
            .sol-sum__item:nth-child(3)     { --reveal-order: 2; }
            .subpage__point:nth-child(4),
            .ins-ba__row:nth-child(4),
            .sol-sum__item:nth-child(4)     { --reveal-order: 3; }
            .subpage__point:nth-child(n + 5),
            .ins-ba__row:nth-child(n + 5),
            .sol-sum__item:nth-child(n + 5) { --reveal-order: 4; }
        }
        .module {
            animation: reveal-blur var(--ease-out-quad) both;
            animation-timeline: view();
            animation-range: cover var(--in-a, 4%) cover var(--in-b, 34%);
        }
        .editor__point {
            view-timeline-name: --reveal-point;
        }
        .editor__point > * {
            animation: reveal-blur var(--ease-out-quad) both;
            animation-timeline: --reveal-point;
            animation-range: cover var(--in-a, 6%) cover var(--in-b, 34%);
        }
        .ilist__item:not(.editor__point, .upk-fact, .subpage__point),
        .ind-scr__facts > li {
            --in-a: calc(6% + var(--ilist-i, 0) * 2%);
            --in-b: calc(34% + var(--ilist-i, 0) * 2%);
            --reveal-rise: var(--space-5);
            view-timeline-name: --reveal-ilist;
            animation: reveal-fade var(--ease-out-quad) both,
                       reveal-rise var(--ease-out-expo) both;
            animation-timeline: view(), view();
            animation-range: cover var(--in-a) cover var(--in-b),
                             cover var(--in-a) cover var(--in-b);
        }
        :is(.ilist__item:not(.editor__point, .upk-fact, .subpage__point), .ind-scr__facts > li) > * {
            animation: reveal-blur var(--ease-out-quad) both;
            animation-timeline: --reveal-ilist;
            animation-range: cover var(--in-a) cover var(--in-b);
        }
        :is(.ilist__item, .ind-scr__facts > li):nth-child(2)      { --ilist-i: 1; }
        :is(.ilist__item, .ind-scr__facts > li):nth-child(3)      { --ilist-i: 2; }
        :is(.ilist__item, .ind-scr__facts > li):nth-child(4)      { --ilist-i: 3; }
        :is(.ilist__item, .ind-scr__facts > li):nth-child(5)      { --ilist-i: 4; }
        :is(.ilist__item, .ind-scr__facts > li):nth-child(6)      { --ilist-i: 5; }
        :is(.ilist__item, .ind-scr__facts > li):nth-child(7)      { --ilist-i: 6; }
        :is(.ilist__item, .ind-scr__facts > li):nth-child(8)      { --ilist-i: 7; }
        :is(.ilist__item, .ind-scr__facts > li):nth-child(n + 9)  { --ilist-i: 8; }
        @media (max-width: 767px) {
            .ilist__item:not(.editor__point, .upk-fact, .subpage__point),
            .ind-scr__facts > li {
                --in-a: 0%;
                --in-b: 26%;
            }
        }
        .ais-rise:not(.ail-out__txt, .ail-kg) {
            animation: ais-rise linear both,
                       reveal-blur var(--ease-out-quad) both;
            animation-timeline: view(), view();
            animation-range: entry calc(2% + var(--i, 0) * 5%) entry calc(58% + var(--i, 0) * 5%),
                             entry calc(2% + var(--i, 0) * 5%) entry calc(36% + var(--i, 0) * 5%);
        }
        .stories__item:focus-within,
        .ai-base:focus-within,
        .ai__item:focus-within,
        .library__item:focus-within,
        .module:focus-within,
        .editor__point:focus-within > *,
        .subpage__slot:focus-within,
        .subpage__lead:focus-within,
        .subpage__point:focus-within,
        .ilist__item:not(.editor__point, .upk-fact, .subpage__point):focus-within,
        .ilist__item:not(.editor__point, .upk-fact, .subpage__point):focus-within > *,
        .ind-scr__facts > li:focus-within,
        .ind-scr__facts > li:focus-within > *,
        .hub__grid > li:focus-within,
        .ins-card:focus-within,
        .ins-ba__row:focus-within,
        .ins-tbl-wrap:focus-within,
        .ins-next-step:focus-within,
        .gl-def:focus-within,
        .gl-rel:focus-within,
        .gl-about__card:focus-within,
        .fp-cards > li:focus-within,
        .sol-block__fig:focus-within,
        .sol-sum__item:focus-within,
        .security__group:focus-within,
        .soon__box:focus-within,
        .mi-card:focus-within,
        .ai__bridge:focus-within,
        .ai__all:focus-within,
        .bx-ax:focus-within,
        .hub__group-head:focus-within,
        .editor__lead:focus-within,
        .modules__lead:focus-within,
        .portfolio__lead:focus-within,
        .library__lead:focus-within,
        .security__item:focus-within,
        .security__app-card:focus-within,
        .awards__row:focus-within,
        .bo-own__i:focus-within,
        .ai-open__lead:focus-within,
        .akm__card:focus-within,
        .sg-serp__row:focus-within,
        .bx-tbl:not(.ail-type *):focus-within,
        .so-own:focus-within,
        .sol-steps:focus-within,
        .sol-row:focus-within,
        .upk-scope__row:focus-within,
        .upk-note:focus-within,
        .nx__band:focus-within,
        .tp-fact:focus-within,
        .tp-row:focus-within,
        .pricing-faq__item:focus-within,
        .pricing-table__group:focus-within,
        .dm-more__group:focus-within,
        .ix-addon__panel:focus-within,
        .ix-jobs__group:focus-within,
        .ix-card:not(.sf *):focus-within,
        .ssl-why__card:focus-within,
        .hc-close__row:focus-within,
        .tp-scope__row:focus-within,
        .tp-strip__item:focus-within,
        .tp-voice__fig:focus-within,
        .ai-sec > .container > .sec-head:focus-within,
        .ai-all__grp:focus-within,
        .ai-all__hub:focus-within,
        .dm-list:not(.dm-find__list) > .dm-row:focus-within,
        .svc-next__list:focus-within,
        .infra-shape > .pricing-stack:not(.ix-jobs):focus-within,
        .infra-ops > .pricing-stack:focus-within,
        .ai-out:focus-within,
        .ais-rise:not(.ail-out__txt, .ail-kg):focus-within {
            animation: none;
        }
    }
}

@media screen and (prefers-reduced-motion: no-preference) and (min-width: 768px) {
    :root {
        --rv-on: 1;
        --rv-blur: 8px;
    }
    .rv-js .rv-item:not(.rv-in) {
        filter: blur(var(--rv-blur));
    }
}
