.hero-showcase__screen {
    position: relative;
}

.hero-showcase__screen > img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-showcase__screen > .hero-showcase__frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-showcase__hover-area {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Match the silhouette of the two devices in the transparent image. */
    clip-path: polygon(1% 88%, 15.5% 79%, 18% 9%, 19.5% 6.8%, 86% 3.3%, 89% 5%, 89.5% 35.5%, 96% 35.5%, 98.5% 39%, 98.5% 95%, 96% 98%, 81% 98%, 78% 94%, 73% 97%, 1% 91%);
}

@media (min-width: 1001px) {
    .agency-hero__devices[data-hero-showcase] {
        left: 48%;
        width: min(100%, 940px);
    }
}

/* Leave the space next to the phone clear when the note cannot fit. */
.agency-hero__visual-note {
    display: none;
}

@media (min-width: 1880px) {
    .agency-hero__visual-note {
        display: block;
        right: -4.5%;
    }
}
