.mobile-app {
    --ma-brand: #0451bd;
    --ma-text-muted: #5c5559;
    --ma-icon-green: #4caf50;
    --ma-icon-pink: #e81f76;
    --ma-icon-cyan: #0fa2ec;
    --ma-icon-purple: #8c0fec;

    position: relative;
    margin: 48px 0 72px;
    padding: 50px 0;
    overflow: hidden;
}

.mobile-app .container {
    position: relative;
    z-index: 2;
}

.mobile-app__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.mobile-app__bg-shapes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
}

.mobile-app__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.mobile-app__eyebrow {
    margin: 0 0 21px;
    color: var(--ma-brand);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 24px;
}

.mobile-app__title {
    margin: 0 0 24px;
    font-size: 51px;
    font-weight: 800;
    line-height: 1.07;
}

.mobile-app__title-line {
    color: #000;
}

.mobile-app__title-line--brand {
    color: var(--ma-brand);
    font-weight: 700;
}

.mobile-app__intro {
    max-width: 608px;
    margin-bottom: 36px;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.28;
}

.mobile-app__intro h2 {
    margin: 0 0 16px;
    color: #000;
    font-size: 51px;
    font-weight: 700;
    line-height: 1.1;
}

.mobile-app__intro p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.mobile-app__features {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 638px;
}

.mobile-app__feature {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-app__feature-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-app__feature-icon--green {
    background: var(--ma-icon-green);
}

.mobile-app__feature-icon--pink {
    background: var(--ma-icon-pink);
}

.mobile-app__feature-icon--cyan {
    background: var(--ma-icon-cyan);
}

.mobile-app__feature-icon--purple {
    background: var(--ma-icon-purple);
}

.mobile-app__feature-icon-img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.mobile-app__feature-title {
    margin: 0;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.33;
}

.mobile-app__feature-desc {
    margin: 0;
    color: var(--ma-text-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.mobile-app__download-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 576px;
    padding: 8px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 3px 4px 50px rgba(15, 162, 236, 0.16);
}

.mobile-app__qr-wrap {
    flex: 0 0 142px;
}

.mobile-app__qr {
    display: block;
    width: 142px;
    height: 142px;
    object-fit: contain;
}

.mobile-app__download-divider {
    flex: 0 0 1px;
    align-self: stretch;
    width: 1px;
    background: #e6e8ee;
}

.mobile-app__download-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.mobile-app__download-title {
    margin: 0;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.24;
}

.mobile-app__download-subtitle {
    margin: 0 0 14px;
    color: var(--ma-text-muted);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.24;
}

.mobile-app__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mobile-app__store {
    display: inline-block;
    line-height: 0;
}

.mobile-app__store-badge {
    display: block;
    width: auto;
    height: 41px;
    border-radius: 12px;
}

.mobile-app__visual {
    position: relative;
}

.mobile-app__kv-picture {
    display: block;
    width: 100%;
    max-width: 1047px;
    margin: 0 auto;
}

.mobile-app__kv {
    display: block;
    width: 100%;
    max-width: 1047px;
    height: auto;
    margin: 0 auto;
    animation: cm-mobile-app-kv-float 4.5s ease-in-out infinite;
    will-change: transform;
}

@keyframes cm-mobile-app-kv-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.mobile-app__brand-mark {
    position: absolute;
    right: 138px;
    bottom: 44px;
    z-index: 2;
    width: 210px;
    pointer-events: none;
}

.mobile-app__brand-mark img {
    display: block;
    width: 100%;
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-app__kv {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .mobile-app__grid {
        grid-template-columns: 1fr;
    }

    .mobile-app__visual {
        max-width: 640px;
        margin: 0 auto;
    }

    .mobile-app__brand-mark {
        position: static;
        margin: 32px auto 0;
        width: min(280px, 70%);
        right: auto;
        bottom: auto;
    }
}

@media (max-width: 767px) {
    .mobile-app {
        padding: 50px 0 0;
    }

    .mobile-app__title-line.mobile-app__title-line--brand {
        display: block;
    }

    .mobile-app__download {
        width: 100%;
    }

    .mobile-app__download-card {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: none;
    }

    .mobile-app__qr-wrap {
        flex: 0 0 auto;
    }

    .mobile-app__qr {
        width: 96px;
        height: 96px;
    }

    .mobile-app__download-divider {
        flex: 0 0 1px;
        width: 1px;
        height: auto;
        align-self: stretch;
        min-height: 72px;
    }

    .mobile-app__download-copy {
        flex: 1 1 auto;
        min-width: 0;
    }

    .mobile-app__download-title,
    .mobile-app__download-subtitle {
        font-size: 16px;
        line-height: 1.3;
    }

    .mobile-app__download-subtitle {
        margin-bottom: 10px;
    }

    .mobile-app__stores {
        gap: 8px;
    }

    .mobile-app__store-badge {
        height: 36px;
    }
}

@media (max-width: 399px) {
    .mobile-app__download-card {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .mobile-app__download-divider {
        display: none;
    }

    .mobile-app__download-copy {
        flex: 1 1 100%;
    }

    .mobile-app__stores {
        justify-content: center;
    }
}

body.has-mobile-app-template-part .mobile-app--template-part {
    margin-bottom: 0;
}

body.has-mobile-app-template-part footer {
    margin-top: 0;
    z-index: 2;
}
