/* The hero's demo. Its window fades out by itself, so nothing frames it here. */
.landing-stage {
    max-width: calc(1280px + var(--landing-pad) * 2);
    margin: auto;
    padding: 0 clamp(8px, 1.4vw, 16px);
}

.landing-stage__inner {
    padding: 26px clamp(0px, 2vw, 40px) 0;
    border-radius: 32px;
    overflow: hidden;
}

.landing-stage__demo {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.landing-stage__frame {
    display: none;
    width: 100%;
    aspect-ratio: 1180 / 708;
    border: 0;
    background: transparent;
}

.landing-stage__poster {
    display: block;
    width: 100%;
    height: auto;
}

.js-enabled .landing-stage__frame {
    display: block;
}

.js-enabled .landing-stage__poster {
    display: none;
}

/* Keeps the later demos out of the first paint, before the tabs script has hidden them. */
.js-enabled .landing-stage__inner:not([data-ready]) .landing-stage__panel--later {
    display: none;
}

@media (max-width: 900px) {
    .landing-stage__inner {
        border-radius: 24px;
    }
}

@media (max-width: 720px) {
    .landing-stage__frame {
        aspect-ratio: 390 / 680;
    }
}
