/* Section 02 typography, colors, and dimensions from the Adobe XD spec. */
@font-face {
    font-family: 'Product Action Roboto';
    src: url('../fonts/roboto-v18-latin-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Product Action Roboto';
    src: url('../fonts/roboto-v18-latin-700.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --product-action-height: 1352px;
}

/* Fullscreen can change the viewport beyond the active Muse media query. */
.breakpoint.muse-video-fullscreen-active {
    display: block;
}

.product-action {
    position: relative;
    z-index: 240;
    box-sizing: border-box;
    padding-bottom: 12px;
    color: #323232;
    font-family: 'Product Action Roboto', '__Roboto_5', Roboto, sans-serif;
}

.product-action-heading {
    display: flex;
    align-items: baseline;
    padding-left: 84px;
}

.product-action-number {
    position: relative;
    flex: 0 0 95px;
    min-width: 0;
    white-space: nowrap;
    color: rgba(219, 27, 35, 0.2);
    font-size: 100px;
    font-weight: 400;
    line-height: 132px;
}

.product-action-number::after {
    content: '';
    position: absolute;
    left: 3px;
    bottom: 17px;
    width: 51px;
    height: 2px;
    background: #db1b23;
}

.product-action-heading h2 {
    position: relative;
    top: 8px;
    margin: 0;
    color: #222;
    font-size: 45px;
    font-weight: 700;
    line-height: 59px;
}

.product-action-description {
    margin: 34px 0 0 179px;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
}

.product-action-video {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    margin-top: 93px;
    border-radius: 10px;
    overflow: hidden;
}

.product-action-video-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.product-action-video img,
.product-action-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.product-action-video img {
    object-fit: cover;
}

.product-action-video-trigger::before {
    width: 140px;
    height: 140px;
    border-width: 6px;
}

.product-action-video-trigger::after {
    margin-left: 6px;
    border-top-width: 25px;
    border-bottom-width: 25px;
    border-left-width: 39px;
}

a.product-action-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    width: 250px;
    height: 60px;
    margin: 88px auto 0;
    border: 3px solid #db1b23;
    border-radius: 10px;
    color: #db1b23;
    background: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 29px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

a.product-action-more:hover {
    color: #fff;
    background: #db1b23;
}

.product-action-more:focus-visible {
    outline: 2px solid #db1b23;
    outline-offset: 4px;
}

/* Muse's desktop group overlaps its children using fixed top margins. */
@media (min-width: 1001px) {
    #linksquare-action {
        width: min(1180px, calc(100vw - 64px));
        height: var(--product-action-height);
        padding-bottom: 260px;
        margin-top: 1466px;
        margin-right: -10000px;
        left: calc((1920px - min(1180px, calc(100vw - 64px))) / 2);
    }

    #u42803-bw {
        margin-top: calc(1466px + var(--product-action-height));
    }

    #u3048-bw {
        margin-top: calc(1991px + var(--product-action-height));
    }

    #u102591 {
        margin-top: calc(2692px + var(--product-action-height));
    }

    #u102596 {
        margin-top: calc(3332px + var(--product-action-height));
    }
}

/* Tablet and mobile sections follow the normal vertical flow. */
@media (max-width: 1000px) {
    #linksquare-action {
        width: 640px;
        margin-left: 180px;
        margin-top: 30px;
        /* The next Muse group contributes 30px; match the mobile 137px gap. */
        padding-bottom: 107px;
    }

    .product-action-heading {
        padding-left: 0;
    }

    .product-action-heading h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .product-action-description {
        margin: 24px 24px 0 95px;
    }

    .product-action-video {
        margin-top: 48px;
    }

    a.product-action-more {
        margin-top: 48px;
    }
}

@media (max-width: 640px) {
    .product-action {
        --product-action-mobile-bottom-space: 137px;
    }

    #linksquare-action {
        width: min(320px, calc(100vw - 40px));
        margin-left: calc(160px + (320px - min(320px, calc(100vw - 40px))) / 2);
        margin-top: 70px;
        /* The next Muse group already contributes a 56px top margin. */
        padding-bottom: calc(var(--product-action-mobile-bottom-space) - 56px);
    }

    #lsswirsdk-action {
        max-width: 320px;
        padding-bottom: var(--product-action-mobile-bottom-space);
    }

    .product-action-heading {
        flex-direction: column;
        align-items: flex-start;
        margin-left: -3px;
    }

    .product-action-number {
        flex: none;
        line-height: 120px;
    }

    .product-action-heading h2 {
        top: 0;
        font-size: 34px;
        line-height: 45px;
    }

    .product-action-title-suffix {
        display: block;
    }

    .product-action-description {
        margin: 42px 0 0 -3px;
    }

    .product-action-video {
        margin-top: 41px;
    }

    .product-action-video-trigger::before {
        width: 38px;
        height: 38px;
        border-width: 2px;
        background: rgba(0, 0, 0, 0.5);
    }

    .product-action-video-trigger::after {
        margin-left: 2px;
        border-top-width: 7px;
        border-bottom-width: 7px;
        border-left-width: 11px;
    }

    a.product-action-more {
        margin-top: 50px;
    }
}
