.wrapper {
    position: relative;
}

.wrapper__bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wrapper__bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 364 / 393;
    background-image: url('./img/launch-bg-mask.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom center;
}

@media (min-width: 1025px) {
    .wrapper__bg {
        top: 0;
        left: 0;
        width: 100%;
    }

    .wrapper__bg::after {
        aspect-ratio: 1060 / 1919;
    }
}

.wrapper__bg img {
    position: absolute;
    top: -25vw;
    left: -50%;
    width: 200%;
}

@media (min-width: 1025px) {
    .wrapper__bg img {
        top: -25vw;
        bottom: 0;
        left: 0;
        width: 100%;
    }
}

.hero {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    padding: 16px 25px 0;
    position: relative;
    z-index: 2;
}

@media (min-width: 1025px) {
    .hero {
        padding-top: 32px;
    }
}

.title {
    color: #FFF;
    text-align: center;
    text-shadow: 0px 1px 17.4px rgba(29, 28, 29, 0.16);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.434px;
    margin: 0 0 16px;
}

@media (min-width: 1025px) {
    .title {
        font-size: 36px;
    }
}

.subtitle {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    font-family: Inter;
    color: var(--color-text-highlight);
    margin-top: 0;
    margin-bottom: 21px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--color-text-highlight);
    border-radius: 25px;
    padding: 8px 18px;
    display: inline-block;
}

@media (min-width: 1025px) {
    .subtitle {
        font-size: 16pt;
        letter-spacing: 1px;
        max-width: none;
    }
}

.delivery {
    margin-top: 25px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 16px;
}

@media (min-width: 1025px) {
    .delivery {
        padding: 0 32px;
        /* 100% - (2x the gap + 2x the padding) */
        max-width: calc(1921px - 140px - 64px);
    }
}

.delivery-viewer {
    grid-area: viewer;
    text-align: center;
    margin-left: 16px;
    margin-right: 16px;
}

@media (min-width: 1025px) {
    .delivery-viewer {
        margin-left: 0px;
        margin-right: 0px;
    }
}

.delivery-viewer iframe {
    border-radius: 12px;
}

.delivery-viewer img {
    width: 100%;
    height: auto;
}

.delivery-viewer__ctas {
    margin-top: 32px;
}

.delivery-viewer__ctas .cta {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}


.delivery-viewer__ctas .cta--alt {
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.delivery-cta--secondary a {
    color: #fff;
}

.delivery:not(.arrived) .delivery-viewer {
    display: none;
}

.delivery-viewer__part {
    display: none;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.delivery-viewer__part.active {
    display: block;
}

.delivery-viewer__ctas .cta+.cta {
    margin-top: 16px;
}

.delivery-part:not(.arrived) .delivery-part__password,
.delivery-part:not(.arrived) .delivery-part__final,
.delivery-part:not(.arrived) .delivery-viewer__ctas {
    display: none;
}

.delivery-part.arrived .delivery-part__coming-soon {
    display: none;
}

.delivery-part.part-3.arrived .delivery-viewer__ctas:not(.arrived) {
    display: none;
}

/* .part-3 .cta {
    visibility: hidden;
} */