.pmk-home .promotion--workspace {
    padding-top: clamp(1.75rem, 3.2vw, 3.1rem);
    background: linear-gradient(#fff 45%, #edf5fc 45%);
}

.pmk-home .promotion--workspace .promotion__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: clamp(1.35rem, 2.6vw, 2.4rem);
}

.promotion--workspace .pmk-home__pitch {
    justify-items: center;
    text-align: center;
}

.pmk-home .promotion--workspace .promotion__title {
    max-width: 19ch;
}

.promotion--workspace .pmk-home__intro {
    max-width: 56ch;
}

.promotion--workspace :is(.promotion__btns, .pmk-home__switcher) {
    justify-content: center;
}

.promotion--workspace .promotion__btns {
    justify-self: center;
}

.promotion--workspace .pmk-home__visual {
    width: min(100%, 990px);
}

.promotion--workspace .pmk-home__screen {
    box-shadow: 0 12px 28px #25476e1a;
}

.pmk-home .promotion--install {
    background: #eff5fa;
}

.pmk-home .promotion--install .promotion__inner {
    grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
    grid-template-areas: "screen pitch";
}

.promotion--install .pmk-home__pitch {
    grid-area: pitch;
}

.promotion--install .pmk-home__visual {
    grid-area: screen;
}

.pmk-home .promotion--install .promotion__title {
    max-width: 15ch;
    font-size: var(--site-type-section);
}

.promotion--install .pmk-home__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
    max-width: 26rem;
    margin: .15rem 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

.promotion--install .pmk-home__steps::before {
    position: absolute;
    inset: .3rem 0 auto;
    height: 1px;
    background: #a3bbd1;
    content: "";
}

.promotion--install .pmk-home__steps li {
    position: relative;
    font-size: var(--site-type-caption);
}

.promotion--install .pmk-home__steps li::before {
    display: block;
    width: .65rem;
    height: .65rem;
    margin-bottom: .55rem;
    border: 2px solid var(--pmk-blue);
    border-radius: 50%;
    background: #eff5fa;
    content: "";
}

.pmk-home:not(.pmk-home--scenarios) {
    --pmk-content-width: 1360px;
}

.pmk-home .promotion--scenarios {
    padding-block: clamp(2.1rem, 4.65vw, 4.5rem) clamp(2.8rem, 6vw, 5.2rem);
}

.pmk-home .promotion--scenarios .promotion__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.75rem, 3.9vw, 3.6rem);
}

.promotion--scenarios .pmk-home__pitch {
    grid-template-columns: var(--pmk-hero-copy-columns);
    grid-template-areas: "title intro" "title actions";
    gap: .85rem var(--pmk-hero-copy-gap);
    align-items: start;
}

.promotion--scenarios .pmk-home__headline {
    grid-area: title;
}

.pmk-home .promotion--scenarios .promotion__title {
    max-width: 18ch;
    line-height: 1.05;
    text-wrap: wrap;
}

@media (width > 680px) {
    .promotion--scenarios .pmk-home__headline {
        display: flex;
        flex-direction: column;
        align-self: stretch;
    }

    .pmk-home .promotion--scenarios .promotion__title {
        --pmk-intro-cap-inset: .48rem;
        margin-block-start: calc(var(--pmk-intro-cap-inset) - .34em);
    }

    .promotion--scenarios .pmk-home__rating {
        margin-block-start: auto;
        padding-block-start: .8rem;
        translate: 0 .34em;
    }

    .promotion--scenarios .promotion__btns {
        align-self: end;
    }

    @supports (text-box-trim: trim-start) and (text-box-edge: ex alphabetic) {
        .pmk-home .promotion--scenarios .promotion__title {
            margin-block-start: var(--pmk-intro-cap-inset);
            text-box-trim: trim-start;
            text-box-edge: ex alphabetic;
        }
    }

    @supports (text-box-trim: trim-end) and (text-box-edge: cap alphabetic) {
        .promotion--scenarios .pmk-home__rating {
            translate: none;
        }

        .pmk-home__rating > :is(strong, span) {
            text-box-trim: trim-end;
            text-box-edge: cap alphabetic;
        }
    }
}

.pmk-home__rating {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: .8rem 0 0;
    font-size: var(--site-type-lead);
    line-height: 1.4;
}

.pmk-home__rating strong {
    font-weight: 600;
}

.pmk-home__rating svg {
    flex: none;
}

.promotion--scenarios .pmk-home__intro {
    grid-area: intro;
    max-width: 34ch;
    line-height: 1.6;
    text-wrap: pretty;
}

.promotion--scenarios .promotion__btns {
    grid-area: actions;
    margin-block-start: .875rem;
}

.promotion--scenarios .pmk-home__preview {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) minmax(0, 4.1fr);
    gap: clamp(1.4rem, 3.6vw, 3.3rem);
}

.pmk-home__scroll-hint {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .promotion--scenarios .pmk-home__preview {
        animation: pmk-hero-enter 420ms cubic-bezier(.2, 0, 0, 1) 80ms both;
    }

    .promotion--scenarios .pmk-home__visual--scroll::after {
        content: "";
        display: block;
        block-size: var(--pmk-preview-travel);
    }

    .pmk-home__visual--scroll .pmk-home__preview {
        position: sticky;
        top: var(--pmk-preview-top);
    }

    .pmk-home__visual--scroll .pmk-home__screen {
        inline-size: min(100%, calc(var(--pmk-preview-height) * 1.6));
    }

    .pmk-home__visual--scroll .pmk-home__tab-rail {
        display: flex;
        flex-direction: column;
        gap: .85rem;
    }

    .pmk-home__visual--scroll .pmk-home__scroll-hint {
        display: flex;
        align-items: center;
        gap: .45rem;
        margin: auto 0 0;
        color: var(--pmk-muted);
        font-size: var(--site-type-caption);
        line-height: 1.4;
    }

    .pmk-home .pmk-home__scroll-hint img {
        flex: 0 0 16px;
        width: 16px;
        height: 16px;
        border-radius: 0;
    }

    @media (max-height: 800px) {
        .promotion--scenarios .pmk-home__visual--scroll .pmk-home__switcher a {
            min-height: 37px;
        }
    }

    @media (max-width: 1160px) {
        .promotion--scenarios .pmk-home__visual--scroll .pmk-home__switcher a {
            min-height: 28px;
            padding-block: .2rem;
        }
    }

    @media (width > 820px) {
        .promotion--scenarios .pmk-home__panel {
            grid-area: 1 / 2;
            min-inline-size: 0;
            align-self: start;
        }

        .promotion--scenarios .pmk-home__preview--animate-captions .pmk-home__panel {
            z-index: 1;
            opacity: 1;
            transition: opacity 230ms ease-out, display 230ms allow-discrete;
        }

        .promotion--scenarios .pmk-home__preview--animate-captions .pmk-home__panel[hidden] {
            pointer-events: none;
            opacity: .7;
            z-index: 0;
        }

        @starting-style {
            .promotion--scenarios .pmk-home__preview--animate-captions .pmk-home__panel:not([hidden]) {
                opacity: .15;
            }
        }
    }
}

.pmk-home .promotion--scenarios .pmk-home__screen {
    border: 0;
}

.pmk-home .promotion--scenarios .pmk-home__screen img {
    object-fit: cover;
}

.pmk-home__tab-description,
.pmk-home__screen-description {
    display: none;
    color: var(--pmk-hero-ink);
    font-size: var(--site-type-caption);
    font-weight: 400;
    line-height: 1.5;
    text-wrap: pretty;
}

.promotion--scenarios .pmk-home__switcher {
    align-content: start;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: .125rem;
    margin: 0;
}

.promotion--scenarios .pmk-home__switcher a {
    justify-content: flex-start;
    min-height: 40px;
    padding: .25rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: var(--site-type-body);
    line-height: 1.35;
    text-decoration: none;
}

.promotion--scenarios .pmk-home__switcher a:is(:hover, [aria-selected="true"]) {
    background: transparent;
    color: var(--pmk-blue);
}

.promotion--scenarios .pmk-home__switcher a[aria-selected="true"] .pmk-home__tab-label {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .28em;
}

@media (width > 820px) {
    .promotion--scenarios .pmk-home__switcher a {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        justify-content: stretch;
        padding-block: .5rem;
    }

    .pmk-home__tab-description {
        display: grid;
        grid-template-rows: 0fr;
        opacity: 0;
        transform: translateY(-4px);
    }

    .pmk-home__tab-description-clip {
        min-block-size: 0;
        overflow: hidden;
    }

    .pmk-home__tab-description-clip > span {
        display: block;
        padding-block: .4rem .35rem;
    }

    .promotion--scenarios .pmk-home__switcher a[aria-selected="true"] .pmk-home__tab-description {
        grid-template-rows: 1fr;
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .pmk-home__preview--animate-captions .pmk-home__tab-description {
        transition: grid-template-rows 150ms ease-out, opacity 150ms ease-out, transform 150ms ease-out;
    }

    .pmk-home__preview--animate-captions .pmk-home__screen-description {
        transition: opacity 150ms ease-out, transform 150ms ease-out;
    }

    @starting-style {
        .pmk-home__preview--animate-captions .pmk-home__screen-description {
            opacity: 0;
            transform: translateY(-4px);
        }
    }
}

@media (min-width: 992px) {
    .promotion--workspace .pmk-home__screen {
        aspect-ratio: 2.05;
    }

    .pmk-home .promotion--workspace #pmk-screen-route .pmk-home__screen img {
        object-fit: cover;
        object-position: center top;
    }
}

@media (max-width: 991px) {
    .pmk-home .promotion--install .promotion__inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "pitch" "screen";
    }
}

@media (max-width: 680px) {
    .promotion--scenarios .pmk-home__pitch {
        grid-template-areas: "title" "intro" "actions";
        gap: .85rem;
    }

    .pmk-home__rating {
        font-size: var(--site-type-body);
    }
}

@media (max-width: 820px) {
    .promotion--scenarios .pmk-home__preview {
        grid-template-columns: minmax(0, 1fr);
        gap: .85rem;
    }

    .promotion--scenarios .pmk-home__tab-rail {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .pmk-home__tab-scroll:not([hidden]) {
        display: grid;
        place-items: center;
        inline-size: 44px;
        block-size: 44px;
        margin: .2rem 0 0 .375rem;
        padding: 0;
        border: 0;
        border-radius: var(--pmk-hero-radius);
        background: #f3f8fc;
        color: var(--pmk-blue);
        cursor: pointer;
    }

    .pmk-home__tab-scroll::before {
        inline-size: 8px;
        block-size: 8px;
        border: solid currentColor;
        border-width: 2px 2px 0 0;
        transform: translateX(-2px) rotate(45deg);
        content: "";
    }

    .pmk-home__tab-scroll:not([aria-disabled="true"]):hover {
        background: #e8f2fb;
    }

    .pmk-home__tab-scroll[aria-disabled="true"] {
        background: #fff;
        color: #94a9bc;
        cursor: default;
    }

    .promotion--scenarios .pmk-home__switcher {
        flex-direction: row;
        gap: 1.4rem;
        overflow-x: auto;
        scrollbar-width: thin;
        padding-block: .2rem .35rem;
    }

    .promotion--scenarios .pmk-home__switcher a {
        flex: none;
        min-height: 44px;
        white-space: nowrap;
    }

    .pmk-home__screen-description {
        display: block;
        margin: 0 0 .625rem;
    }
}
