.fdc-mobile-app {
    --fdc-app-ink: #092737;
    --fdc-app-muted: #385566;
    --fdc-app-accent: #65e1d4;
    --fdc-app-border: #cfdee3;
    background: #f2f7f8;
    color: var(--fdc-app-ink);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.fdc-mobile-app__wrap {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.fdc-mobile-app__hero {
    overflow: hidden;
    background: radial-gradient(ellipse at 86% 30%, #12647a, transparent 57%),
        linear-gradient(120deg, #061927 0%, #0a3048 100%);
    color: #fff;
}

.fdc-mobile-app__hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    padding-block: clamp(44px, 6vw, 88px);
}

.fdc-mobile-app h1,
.fdc-mobile-app h2,
.fdc-mobile-app h3 {
    margin: 0;
    color: inherit;
    font-family: Outfit, "Plus Jakarta Sans", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.fdc-mobile-app__hero h1 {
    font-size: clamp(42px, 5.1vw, 72px);
    line-height: 0.99;
}

.fdc-mobile-app__hero h1 span {
    display: block;
    color: var(--fdc-app-accent);
}

.fdc-mobile-app__lead {
    max-width: 46ch;
    margin: 24px 0 30px;
    color: #e0f1f5;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.65;
}

.fdc-mobile-app__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 19px;
    border-radius: 8px;
    background: var(--fdc-app-accent);
    color: #062736;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.fdc-mobile-app__button:hover,
.fdc-mobile-app__button:focus {
    background: #b6f4eb;
    color: #062736;
    text-decoration: none;
}

.fdc-mobile-app a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.fdc-mobile-app__hero a:focus-visible,
.fdc-mobile-app__install a:focus-visible {
    outline-color: #e4fffa;
}

.fdc-mobile-app__availability {
    margin: 12px 0 0;
    color: #b8d7e0;
    font-size: 13px;
}

.fdc-mobile-app__visual {
    display: grid;
    grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(10px, 2vw, 22px);
    width: min(100%, 500px);
    justify-self: end;
}

.fdc-mobile-app__visual img,
.fdc-mobile-app__gallery img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #5b8295;
    border-radius: 12px;
}

.fdc-mobile-app__visual img {
    box-shadow: 0 20px 46px #00101775;
}

.fdc-mobile-app__visual img + img {
    margin-top: 40px;
}

.fdc-mobile-app__section {
    padding-block: clamp(38px, 5vw, 72px);
}

.fdc-mobile-app__section h2,
.fdc-mobile-app__install h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.fdc-mobile-app__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.fdc-mobile-app__feature {
    padding: 22px;
    border: 1px solid var(--fdc-app-border);
    border-top: 3px solid #208998;
    border-radius: 12px;
    background: #fff;
}

.fdc-mobile-app__feature h3 {
    font-size: 24px;
    line-height: 1.15;
}

.fdc-mobile-app__feature p {
    margin: 10px 0 0;
    color: var(--fdc-app-muted);
    font-size: 15px;
    line-height: 1.6;
}

.fdc-mobile-app__screens {
    border-block: 1px solid var(--fdc-app-border);
    background: #e5f0f3;
}

.fdc-mobile-app__gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 13px;
    margin-top: 20px;
}

.fdc-mobile-app__gallery a {
    display: block;
    border-radius: 12px;
}

.fdc-mobile-app__gallery a:hover img {
    border-color: #128090;
}

.fdc-mobile-app__install {
    background: #0b2f43;
    color: #fff;
}

.fdc-mobile-app__install-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 36px;
}

.fdc-mobile-app__install p {
    margin: 10px 0 0;
    color: #d6ebf0;
    line-height: 1.6;
}

@media (max-width: 950px) {
    .fdc-mobile-app__gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 740px) {
    .fdc-mobile-app__wrap {
        width: calc(100% - 36px);
    }

    .fdc-mobile-app__hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .fdc-mobile-app__hero h1 {
        font-size: clamp(39px, 9.5vw, 61px);
    }

    .fdc-mobile-app__visual {
        width: min(100%, 440px);
        justify-self: start;
    }

    .fdc-mobile-app__visual img + img {
        margin-top: 18px;
    }

    .fdc-mobile-app__features {
        grid-template-columns: minmax(0, 1fr);
    }

    .fdc-mobile-app__gallery {
        grid-template-columns: none;
        grid-auto-columns: minmax(140px, 44%);
        grid-auto-flow: column;
        overflow-x: auto;
        padding: 4px 4px 10px;
        scroll-snap-type: x proximity;
    }

    .fdc-mobile-app__gallery a {
        scroll-snap-align: start;
    }
}
