/*
 * SedaSend App Download Section
 * Layout-only adjustments scoped to .sedasend-app-download.
 */
.sedasend-app-download {
    --app-orange: #e25541;
    --app-orange-dark: #cb4938;
    --app-black: #171717;
    --app-white: #fff;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    padding: 72px 24px;
    background: var(--app-white);
    scroll-margin-top: 90px;
}

.sedasend-app-download *,
.sedasend-app-download *::before,
.sedasend-app-download *::after {
    box-sizing: border-box;
}

/* Desktop reference layout: vertically balanced phone and content columns. */
.sedasend-app-download__inner {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
    align-items: center;
    width: min(1080px, 100%);
    min-height: 570px;
    margin: 0 auto;
    gap: 84px;
}

.sedasend-app-download__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.sedasend-app-download__visual img {
    display: block;
    width: auto;
    height: 560px;
    max-width: 100%;
    object-fit: contain;
}

.sedasend-app-download__content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

/* Existing optional copy is hidden to match the supplied design. */
.sedasend-app-download__eyebrow,
.sedasend-app-download__content > p:last-of-type {
    display: none;
}

.sedasend-app-download__content h2 {
    margin: 0;
    color: var(--app-black);
    font-size: clamp(46px, 4.3vw, 62px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.sedasend-app-download__content h3 {
    margin: 14px 0 0;
    color: var(--app-black);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 700;
    line-height: 1.3;
}

/* Equal-size store buttons aligned on one row. */
.sedasend-app-download__stores {
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin-top: 32px;
}

.sedasend-app-download__stores a {
    display: flex;
    align-items: center;
    width: 180px;
    min-height: 58px;
    gap: 11px;
    padding: 9px 16px;
    border-radius: 10px;
    background: var(--app-black);
    color: var(--app-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    transition: background-color 180ms ease;
}

.sedasend-app-download__stores a:hover,
.sedasend-app-download__stores a:focus-visible {
    background: #303030;
    color: var(--app-white);
}

.sedasend-app-download__stores img {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.sedasend-app-download__stores span {
    display: flex;
    flex-direction: column;
}

.sedasend-app-download__stores small {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
}

/* Reference-style orange pill CTA directly below store buttons. */
.sedasend-app-download__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 188px;
    min-height: 50px;
    margin-top: 24px;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--app-orange);
    color: var(--app-white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 180ms ease;
}

.sedasend-app-download__cta:hover,
.sedasend-app-download__cta:focus-visible {
    background: var(--app-orange-dark);
    color: var(--app-white);
}

.sedasend-app-download a:focus-visible {
    outline: 2px solid var(--app-orange);
    outline-offset: 3px;
}

/* Tablet keeps two columns while scaling the reference proportions down. */
@media (max-width: 900px) {
    .sedasend-app-download {
        padding: 58px 24px;
    }

    .sedasend-app-download__inner {
        grid-template-columns: minmax(220px, 0.8fr) minmax(330px, 1.2fr);
        min-height: 480px;
        gap: 42px;
    }

    .sedasend-app-download__visual img {
        height: 450px;
    }

    .sedasend-app-download__content h2 {
        font-size: clamp(40px, 6vw, 52px);
    }

    .sedasend-app-download__content h3 {
        font-size: 20px;
    }

    .sedasend-app-download__stores a {
        width: 158px;
        padding-inline: 12px;
    }
}

/* Mobile stacks the phone above centered content and full-width actions. */
@media (max-width: 680px) {
    .sedasend-app-download {
        padding: 48px 18px 56px;
    }

    .sedasend-app-download__inner {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 34px;
    }

    .sedasend-app-download__visual img {
        width: auto;
        height: min(440px, 112vw);
    }

    .sedasend-app-download__content {
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .sedasend-app-download__content h2 {
        font-size: clamp(38px, 12vw, 50px);
    }

    .sedasend-app-download__content h3 {
        margin-top: 12px;
        font-size: 19px;
    }

    .sedasend-app-download__stores {
        display: grid;
        width: min(380px, 100%);
        margin-top: 26px;
        gap: 10px;
    }

    .sedasend-app-download__stores a,
    .sedasend-app-download__cta {
        width: 100%;
    }

    .sedasend-app-download__stores a {
        justify-content: center;
    }

    .sedasend-app-download__cta {
        max-width: 380px;
        margin-top: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sedasend-app-download a {
        transition: none;
    }
}
