.app-hero {
    overflow: hidden;
    background: linear-gradient(120deg, #fff 0 64%, #f4f4f4 64% 100%);
}

.app-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
}

.app-download {
    display: grid;
    gap: 7px;
    margin-top: 30px;
}

.app-download > strong {
    font-size: 18px;
}

.app-download > span {
    color: #666;
}

.app-store-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 9px;
}

.app-store-link {
    display: inline-flex;
    align-items: center;
    transition: transform .2s ease, opacity .2s ease;
}

.app-store-link:hover {
    transform: translateY(-2px);
    opacity: .88;
}

.app-store-link img {
    display: block;
    width: auto;
}

.app-store-google img {
    width: 190px;
}

.app-store-apple img {
    width: 171px;
}

.app-showcase {
    position: relative;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(180px, .72fr);
    align-items: center;
    min-height: 610px;
    padding: 46px 30px 0 38px;
    overflow: hidden;
    border-radius: 34px;
    background: radial-gradient(circle at 20% 18%, #343434 0, #151515 34%, #090909 75%);
    box-shadow: 0 32px 80px #0002;
}

.app-showcase::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    left: -170px;
    bottom: -180px;
    border-radius: 50%;
    background: #ed1c24;
    filter: blur(4px);
    opacity: .9;
}

.app-showcase-logo {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 20px;
    border-radius: 22px;
    background: #fff;
}

.app-phone {
    position: relative;
    z-index: 2;
    align-self: end;
    padding: 11px 8px 0;
    border: 4px solid #292929;
    border-bottom: 0;
    border-radius: 32px 32px 0 0;
    background: #050505;
    box-shadow: 0 20px 50px #0008;
}

.app-phone::before {
    content: '';
    position: absolute;
    z-index: 3;
    top: 3px;
    left: 50%;
    width: 58px;
    height: 5px;
    border-radius: 999px;
    background: #333;
    transform: translateX(-50%);
}

.app-phone img {
    display: block;
    width: 100%;
    border-radius: 22px 22px 0 0;
}

.app-screens-section {
    padding: 96px 0 105px;
    background: #0b0b0b;
    color: #fff;
}

.app-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    gap: 50px;
    align-items: end;
    margin-bottom: 48px;
}

.app-section-heading h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
}

.app-section-heading > p {
    margin: 0;
    color: #aaa;
    font-size: 18px;
    line-height: 1.7;
}

.app-screens {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.app-screens figure {
    margin: 0;
}

.app-screen-frame {
    padding: 10px;
    border: 1px solid #333;
    border-radius: 30px;
    background: #181818;
    box-shadow: 0 22px 45px #0007;
}

.app-screen-frame img {
    display: block;
    width: 100%;
    border-radius: 21px;
}

.app-screens figcaption {
    padding: 16px 4px 0;
    color: #ddd;
    font-weight: 750;
    text-align: center;
}

.app-details .resource-columns article {
    min-height: 100%;
}

.app-models {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.app-models span {
    padding: 9px 13px;
    border: 1px solid #383838;
    border-radius: 999px;
    color: #eee;
    font-size: 14px;
    font-weight: 700;
}

.resource-video-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
    margin-top: 22px;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.resource-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 980px) {
    .app-hero {
        background: #fff;
    }

    .app-hero-grid {
        grid-template-columns: 1fr;
    }

    .app-showcase {
        max-width: 720px;
    }

    .app-screens {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
    }
}

@media (max-width: 760px) {
    .app-showcase {
        grid-template-columns: 1fr .8fr;
        min-height: 430px;
        padding: 30px 18px 0 22px;
        border-radius: 26px;
    }

    .app-showcase-logo {
        padding: 13px;
        border-radius: 16px;
    }

    .app-store-links {
        align-items: flex-start;
    }

    .app-store-google img {
        width: 168px;
    }

    .app-store-apple img {
        width: 151px;
    }

    .app-screens-section {
        padding: 68px 0 74px;
    }

    .app-section-heading {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 34px;
    }

    .app-screens {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .app-screen-frame {
        padding: 6px;
        border-radius: 22px;
    }

    .app-screen-frame img {
        border-radius: 16px;
    }

    .app-screens figcaption {
        font-size: 13px;
    }
}

@media (max-width: 430px) {
    .app-showcase {
        grid-template-columns: .9fr 1fr;
        min-height: 360px;
    }
}
