.mobile-app-page {
    overflow-wrap: anywhere;
    container-type: inline-size;
}

.mobile-app-intro {
    margin-bottom: 1.75rem;
    line-height: 1.65;
}

.mobile-app-intro p {
    margin: 0;
    font-size: 1.0625rem;
}

.mobile-app-intro .mobile-app-intro-lead {
    margin-bottom: .75rem;
    font-size: 1.25rem;
    line-height: 1.5;
}

.mobile-app-hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    background: radial-gradient(ellipse at 85% 50%, #246fe3, transparent 65%), #0847aa;
    border-radius: 1rem;
    /* Anchors scroll the page, not the decorative background. */
    overflow: clip;
}

.mobile-app-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 42rem;
    height: 42rem;
    right: -12rem;
    top: -10rem;
    border: 1px solid rgba(190, 220, 255, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(190, 220, 255, .04), 0 0 0 10rem rgba(190, 220, 255, .03);
    pointer-events: none;
}

.mobile-app-carousel-toolbar {
    position: absolute;
    z-index: 2;
    top: 1.25rem;
    left: clamp(1.5rem, 4cqi, 3rem);
    right: clamp(1.5rem, 4cqi, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-app-platform {
    color: #c7ddff;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .08em;
}

.mobile-app-carousel-controls {
    display: flex;
    gap: .5rem;
}

.mobile-app-carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.mobile-app-carousel-arrow:hover {
    color: #c7ddff;
    transform: translateY(-2px);
}

.mobile-app-carousel-arrow:focus-visible,
.mobile-app-copy a:focus-visible {
    outline: 3px solid #c7ddff;
    outline-offset: 4px;
}

/* Compatibility with the bundled Font Awesome 5 Pro Duotone font. */
.mobile-app-carousel-arrow .fa-duotone.fa-solid {
    position: relative;
    display: inline-block;
    font-family: 'Font Awesome 5 Duotone';
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.mobile-app-carousel-arrow .fa-duotone::before {
    position: absolute;
}

.mobile-app-carousel-arrow .fa-duotone::after {
    opacity: .4;
}

.mobile-app-carousel-arrow .fa-circle-chevron-left::before {
    content: "\f137";
}

.mobile-app-carousel-arrow .fa-circle-chevron-left::after {
    content: "\10f137";
}

.mobile-app-carousel-arrow .fa-circle-chevron-right::before {
    content: "\f138";
}

.mobile-app-carousel-arrow .fa-circle-chevron-right::after {
    content: "\10f138";
}

.mobile-app-carousel-slides {
    display: grid;
}

.mobile-app-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
    min-width: 0;
    padding: 4.75rem clamp(1.5rem, 4cqi, 3rem) 2rem;
    scroll-margin-top: 9rem;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.mobile-app-slide.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mobile-app-copy {
    min-width: 0;
    line-height: 1.6;
    color: #e4efff;
}

.mobile-app-lead {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2rem, 4.5cqi, 3.5rem) !important;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.mobile-app-lead span {
    display: block;
    color: #c7ddff;
}

.mobile-app-copy > p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.mobile-app-copy .app-downloads {
    margin: 0;
}

.mobile-app-copy .mobile-app-download {
    padding: .875rem 1.125rem;
    color: #fff;
    background: #000;
    border: 1px solid #8d8d8d;
    border-radius: .5rem;
    font-weight: 400;
    white-space: normal;
}

.mobile-app-copy .mobile-app-download,
.mobile-app-copy .app-download-badge {
    transition: transform .2s ease, box-shadow .2s ease;
}

.mobile-app-copy .mobile-app-download:hover,
.mobile-app-copy .app-download-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1.5rem rgba(0, 20, 60, .2);
}

.mobile-app-copy .mobile-app-download:hover {
    color: #fff;
    background: #171717;
}

.mobile-app-copy .mobile-app-requirements {
    margin: 1rem 0 0;
    color: #c7ddff;
    font-size: .875rem;
}

.mobile-app-devices,
.mobile-app-android-devices {
    position: relative;
    --device-height: clamp(17rem, 34cqi, 23rem);
    --device-ratio: 1.06;
    width: min(100%, calc(var(--device-height) / var(--device-ratio)));
    height: var(--device-height);
    min-width: 0;
    margin: 0 auto;
    transform: translateY(10px);
    transition: transform .45s ease;
}

.mobile-app-android-devices {
    --device-ratio: 1.27;
}

.is-active .mobile-app-devices,
.is-active .mobile-app-android-devices {
    transform: translateY(0);
}

.mobile-app-devices img,
.mobile-app-android-devices img {
    position: absolute;
    display: block;
    height: auto;
    filter: drop-shadow(0 .75rem 1rem rgba(0, 20, 60, .3));
}

.mobile-app-ipad,
.mobile-app-android-tablet {
    top: 0;
    left: 0;
    width: 78%;
}

.mobile-app-iphone,
.mobile-app-android-phone {
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 40%;
}

.mobile-app-details {
    padding: 1.75rem 0 0;
    line-height: 1.65;
}

.mobile-app-common-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(30, 60, 90, .14);
}

.mobile-app-details h2 {
    margin: 1.75rem 0 .75rem;
    font-size: 1.375rem !important;
}

.mobile-app-common-details h2,
.mobile-app-details > h2:first-child {
    margin-top: 0;
}

.mobile-app-common-details p {
    margin-bottom: .5rem;
}

.mobile-app-details ul {
    padding-left: 1.25rem;
}

.mobile-app-details li + li {
    margin-top: .5rem;
}

.mobile-app-details > :last-child {
    margin-bottom: 0;
}

@container (max-width: 640px) {
    .mobile-app-slide {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .mobile-app-lead {
        font-size: 2.25rem !important;
    }

    .mobile-app-devices,
    .mobile-app-android-devices {
        --device-height: 18rem;
    }

    .mobile-app-common-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-app-slide,
    .mobile-app-devices,
    .mobile-app-android-devices,
    .mobile-app-carousel-arrow,
    .mobile-app-copy .mobile-app-download,
    .mobile-app-copy .app-download-badge {
        transition: none;
        transform: none;
    }
}
