/* =========================================================
   INSTAGRAM PHOTO DOWNLOAD PAGE
========================================================= */

.ipd1-page {
    --ipd-text: #171727;
    --ipd-muted: #6d7081;

    --ipd-purple: #7558f4;
    --ipd-blue: #527cf5;
    --ipd-pink: #e94c9c;

    --ipd-border:
        rgba(27, 27, 46, 0.08);

    --ipd-gradient:
        linear-gradient(
            105deg,
            #7359f4 0%,
            #a34fdc 48%,
            #eb509b 100%
        );

    background: #ffffff;

    color: var(--ipd-text);

    overflow-x: hidden;
}


.ipd1-page *,
.ipd1-page *::before,
.ipd1-page *::after {
    box-sizing: border-box;
}


.ipd1-container {
    width:
        min(
            1280px,
            calc(100% - 70px)
        );

    margin-inline: auto;
}


.ipd1-page section {
    text-align: center;
}


.ipd1-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    color: #7258ed;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.ipd1-section-head {
    width: 100%;

    max-width: 820px;

    margin:
        0
        auto
        40px;

    text-align: center;
}


.ipd1-section-head h2 {
    margin: 0;

    font-size:
        clamp(
            31px,
            4vw,
            44px
        );

    line-height: 1.1;

    letter-spacing: -0.045em;
}


.ipd1-section-head p {
    max-width: 700px;

    margin:
        15px
        auto
        0;

    color: var(--ipd-muted);

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   HERO
========================================================= */

.ipd1-hero {
    position: relative;

    overflow: hidden;

    padding:
        105px
        0
        72px;

    background:
        linear-gradient(
            180deg,
            #fbfaff 0%,
            #ffffff 100%
        );
}


.ipd1-hero__glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    pointer-events: none;
}


.ipd1-hero__glow--left {
    top: -290px;
    left: -240px;

    background:
        radial-gradient(
            circle,
            rgba(232, 76, 158, 0.15),
            transparent 70%
        );
}


.ipd1-hero__glow--right {
    top: -285px;
    right: -230px;

    background:
        radial-gradient(
            circle,
            rgba(76, 120, 245, 0.15),
            transparent 70%
        );
}


.ipd1-hero__container {
    position: relative;

    max-width: 1140px;
}


.ipd1-hero__badge {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    min-height: 38px;

    padding:
        8px
        16px;

    border:
        1px solid rgba(115, 88, 239, 0.11);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.92);

    color: #7057e9;

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 10px 30px rgba(56, 52, 104, 0.05);
}


.ipd1-hero__title {
    width: 100%;

    max-width: 1080px;

    margin:
        24px
        auto
        0;

    padding:
        0
        15px;

    font-size:
        clamp(
            48px,
            4.5vw,
            65px
        );

    line-height: 1.1;

    letter-spacing: -0.05em;

    text-align: center;
}


.ipd1-hero__title span {
    display: inline;

    background: var(--ipd-gradient);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.ipd1-hero__description {
    max-width: 760px;

    margin:
        19px
        auto
        0;

    color: var(--ipd-muted);

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   TOOL
========================================================= */

.ipd1-tool {
    width:
        min(
            960px,
            100%
        );

    margin:
        32px
        auto
        0;
}


.ipd1-tool__input-wrap {
    display: flex;
    align-items: center;

    min-height: 74px;

    padding: 8px;

    border:
        1px solid rgba(30, 31, 49, 0.08);

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 18px 55px rgba(60, 54, 112, 0.09);
}


.ipd1-tool__link-icon {
    flex: 0 0 52px;

    display: grid;
    place-items: center;

    color: #9293a2;

    font-size: 17px;
}


.ipd1-tool__input {
    flex: 1;

    min-width: 0;

    height: 56px;

    padding:
        0
        16px
        0
        0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #1c1d2c;

    font: inherit;

    font-size: 15.5px;
}


.ipd1-tool__input::placeholder {
    color: #a1a2b0;
}


.ipd1-tool__paste {
    min-width: 150px;
    height: 56px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        0
        24px;

    border: 0;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #7258f3,
            #527af5
        );

    color: #ffffff;

    font: inherit;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 12px 26px rgba(88, 89, 232, 0.23);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}


.ipd1-tool__paste:hover {
    transform: translateY(-1px);

    box-shadow:
        0 15px 31px rgba(88, 89, 232, 0.28);
}


.ipd1-tool__message {
    min-height: 20px;

    margin-top: 8px;

    color: #777989;

    font-size: 12.5px;
}


.ipd1-result[hidden] {
    display: none;
}


/* =========================================================
   TRUST
========================================================= */

.ipd1-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap:
        10px
        28px;

    margin-top: 16px;
}


.ipd1-trust__item {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #666879;

    font-size: 13px;
    font-weight: 700;
}


.ipd1-trust__item i {
    color: #7158ed;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.ipd1-how {
    padding:
        76px
        0
        82px;
}


.ipd1-how__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        50px
        minmax(0, 1fr)
        50px
        minmax(0, 1fr);

    align-items: center;

    max-width: 1180px;

    margin-inline: auto;
}


.ipd1-how__step {
    min-height: 230px;

    padding:
        28px
        25px;

    border:
        1px solid var(--ipd-border);

    border-radius: 21px;

    background: #ffffff;

    box-shadow:
        0 15px 38px rgba(51, 48, 88, 0.04);

    text-align: center;
}


.ipd1-how__number {
    display: block;

    margin-bottom: 14px;

    color: #9b9cad;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.09em;
}


.ipd1-how__icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin:
        0
        auto
        17px;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #f1ecff,
            #eef4ff
        );

    color: #7158ed;

    font-size: 18px;
}


.ipd1-how__step h3 {
    margin: 0;

    font-size: 18px;
    line-height: 1.3;
}


.ipd1-how__step p {
    max-width: 280px;

    margin:
        10px
        auto
        0;

    color: var(--ipd-muted);

    font-size: 13.5px;
    line-height: 1.7;
}


.ipd1-how__arrow {
    color: #a49adb;

    font-size: 13px;
}


/* =========================================================
   CONTENT
========================================================= */

.ipd1-content {
    padding:
        78px
        0
        82px;

    background:
        linear-gradient(
            180deg,
            #faf9ff 0%,
            #f8f9ff 100%
        );
}


.ipd1-content__article {
    width: 100%;

    max-width: 920px;

    margin-inline: auto;

    text-align: center;
}


.ipd1-content__article h2 {
    max-width: 850px;

    margin:
        0
        auto
        24px;

    font-size:
        clamp(
            31px,
            4vw,
            43px
        );

    line-height: 1.12;

    letter-spacing: -0.045em;
}


.ipd1-content__article h3 {
    max-width: 760px;

    margin:
        29px
        auto
        11px;

    font-size: 21px;
    line-height: 1.3;
}


.ipd1-content__article p {
    max-width: 880px;

    margin:
        0
        auto
        15px;

    color: #656879;

    font-size: 15px;
    line-height: 1.85;

    text-align: center;
}


/* =========================================================
   REQUIREMENTS
========================================================= */

.ipd1-requirements {
    width: 100%;

    max-width: 850px;

    margin:
        44px
        auto
        0;

    padding:
        29px
        30px;

    border:
        1px solid rgba(113, 87, 235, 0.10);

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 15px 45px rgba(53, 49, 95, 0.05);

    text-align: center;
}


.ipd1-requirements__icon {
    width: 49px;
    height: 49px;

    display: grid;
    place-items: center;

    margin:
        0
        auto
        15px;

    border-radius: 15px;

    background: #f1edff;

    color: #7158eb;
}


.ipd1-requirements h3 {
    margin: 0;

    font-size: 20px;
}


.ipd1-requirements__description {
    margin:
        7px
        auto
        0;

    color: var(--ipd-muted);

    font-size: 13.5px;
}


.ipd1-requirements__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 24px;
}


.ipd1-requirements__grid > div {
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding:
        10px
        15px;

    border-radius: 13px;

    background: #faf9ff;

    color: #58596a;

    font-size: 13px;
    font-weight: 700;

    text-align: center;
}


.ipd1-requirements__grid i {
    color: #7157ec;
}


/* =========================================================
   BENEFITS
========================================================= */

.ipd1-benefits {
    padding:
        78px
        0
        86px;
}


.ipd1-benefits__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    max-width: 1180px;

    margin-inline: auto;
}


.ipd1-benefit {
    min-height: 200px;

    padding:
        27px
        24px;

    border:
        1px solid var(--ipd-border);

    border-radius: 19px;

    background: #ffffff;

    text-align: center;
}


.ipd1-benefit__icon {
    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    margin:
        0
        auto
        16px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #f2edff,
            #eef4ff
        );

    color: #7158ed;
}


.ipd1-benefit h3 {
    margin: 0;

    font-size: 16px;
}


.ipd1-benefit p {
    max-width: 280px;

    margin:
        9px
        auto
        0;

    color: var(--ipd-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   SUPPORTED PHOTOS
========================================================= */

.ipd1-supported {
    padding:
        12px
        0
        86px;
}


.ipd1-supported__box {
    max-width: 1060px;

    margin-inline: auto;

    padding:
        45px
        48px;

    border:
        1px solid rgba(111, 85, 222, 0.08);

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            #f7f3ff 0%,
            #f5f8ff 53%,
            #fff6fa 100%
        );

    text-align: center;
}


.ipd1-supported__box h2 {
    max-width: 760px;

    margin:
        0
        auto;

    font-size:
        clamp(
            30px,
            4vw,
            40px
        );

    line-height: 1.12;

    letter-spacing: -0.04em;
}


.ipd1-supported__description {
    max-width: 760px;

    margin:
        16px
        auto
        0;

    color: var(--ipd-muted);

    font-size: 14.5px;
    line-height: 1.75;
}


.ipd1-supported__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 11px;

    max-width: 820px;

    margin:
        30px
        auto
        0;
}


.ipd1-supported__grid > div {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding:
        12px
        15px;

    border:
        1px solid rgba(30, 31, 48, 0.06);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.78);

    color: #515364;

    font-size: 13px;
    font-weight: 700;

    text-align: center;
}


.ipd1-supported__grid i {
    color: #7157ec;
}


.ipd1-supported__note {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    gap: 8px;

    max-width: 800px;

    margin:
        17px
        auto
        0;

    color: #858697;

    font-size: 12px;
    line-height: 1.65;

    text-align: center;
}


/* =========================================================
   FAQ
========================================================= */

.ipd1-faq {
    padding:
        78px
        0
        98px;

    background:
        linear-gradient(
            180deg,
            #fafaff,
            #ffffff
        );
}


.ipd1-faq__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        12px
        18px;

    max-width: 1120px;

    margin-inline: auto;
}


.ipd1-faq__item {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    min-height: 130px;

    padding:
        22px
        22px;

    border:
        1px solid var(--ipd-border);

    border-radius: 16px;

    background: #ffffff;

    text-align: left;
}


.ipd1-faq__line {
    flex: 0 0 auto;

    width: 4px;
    height: 38px;

    margin-top: 2px;

    border-radius: 99px;

    background:
        linear-gradient(
            180deg,
            #7558ef,
            #e74c9b
        );
}


.ipd1-faq__item h3 {
    margin: 0;

    color: #202130;

    font-size: 14.5px;
    line-height: 1.45;
}


.ipd1-faq__item p {
    margin:
        7px
        0
        0;

    color: var(--ipd-muted);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1440px) {

    .ipd1-container {
        width:
            min(
                1360px,
                calc(100% - 100px)
            );
    }


    .ipd1-hero__container {
        max-width: 1220px;
    }


    .ipd1-hero__title {
        max-width: 1120px;

        font-size: 66px;
    }


    .ipd1-tool {
        width: 1000px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .ipd1-container {
        width:
            min(
                100% - 40px,
                1280px
            );
    }


    .ipd1-how__grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .ipd1-how__arrow {
        display: none;
    }


    .ipd1-benefits__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .ipd1-container {
        width:
            min(
                100% - 28px,
                1280px
            );
    }


    .ipd1-hero {
        padding:
            68px
            0
            60px;
    }


    .ipd1-hero__title {
        padding: 0;

        font-size: 39px;
        line-height: 1.12;
    }


    .ipd1-hero__description {
        font-size: 14.5px;
    }


    .ipd1-tool__input-wrap {
        display: grid;

        grid-template-columns:
            40px
            minmax(0, 1fr);

        padding: 8px;
    }


    .ipd1-tool__link-icon {
        flex: none;

        width: 40px;
    }


    .ipd1-tool__paste {
        grid-column:
            1 /
            -1;

        width: 100%;

        margin-top: 5px;
    }


    .ipd1-how,
    .ipd1-content,
    .ipd1-benefits,
    .ipd1-faq {
        padding:
            66px
            0;
    }


    .ipd1-content__article h2 {
        font-size: 31px;
    }


    .ipd1-content__article p {
        font-size: 14px;
    }


    .ipd1-requirements {
        padding:
            24px
            20px;
    }


    .ipd1-requirements__grid {
        grid-template-columns: 1fr;
    }


    .ipd1-benefits__grid {
        grid-template-columns: 1fr;
    }


    .ipd1-benefit {
        min-height: 0;
    }


    .ipd1-supported {
        padding:
            0
            0
            68px;
    }


    .ipd1-supported__box {
        padding:
            31px
            21px;
    }


    .ipd1-supported__grid {
        grid-template-columns: 1fr;
    }


    .ipd1-supported__grid > div {
        justify-content: flex-start;

        text-align: left;
    }


    .ipd1-supported__note {
        justify-content: flex-start;

        text-align: left;
    }


    .ipd1-faq__grid {
        grid-template-columns: 1fr;
    }

}