/* =========================================================
   GROUPS - MOBILE APP SECTION
   Loaded after groups.css and shared.css, so --gp-gold and
   the .gp-app-cta base styles are already in place. This
   file only adds the section shell and the dark-band
   colours the shared CTA inherits from its host.

   Mirrors .gp-inc-container-mod (the dark "What's included"
   band) on purpose: the app is another thing the group takes
   with them, so it reads as part of the product rather than
   an ad bolted onto the page.
   ========================================================= */

.gp-app-container-mod {
    background-color: var(--blue-90);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gp-app-content-mod {
    padding: 72px 5%;
    flex-direction: row;
    align-items: center;
    gap: 56px;
}

.gp-app-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.gp-app-headline {
    max-width: 16ch;
}

.gp-app-sub {
    max-width: 52ch;
}

/* BENEFITS ------------------------------------------------ */

.gp-app-benefits {
    list-style: none;
    margin: 32px 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
}

.gp-app-benefit {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
}

.gp-app-benefit-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gp-gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-app-benefit-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--gp-gold);
    fill: none;
}

.gp-app-benefit-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gp-app-benefit-text strong {
    font-family: "Urbanist", var(--main-font), sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--light-00);
    line-height: 1.3;
}

.gp-app-benefit-text span {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
}

/* STORE CTA ON THE DARK BAND ------------------------------ */
/* Badge artwork carries its own stroke; only text is recoloured. */

.gp-app-container-mod .gp-app-cta-note,
.gp-app-container-mod .gp-app-qr-label,
.gp-app-container-mod .gp-app-qr-code {
    color: rgba(255, 255, 255, 0.55);
}

.gp-app-container-mod .gp-app-badge:focus-visible,
.gp-app-container-mod .gp-app-qr-code:focus-visible {
    outline-color: var(--gp-gold);
}

/* CTAS ----------------------------------------------------- */
/* Replaces the old QR-code pair: a primary coral action that jumps to the
   inquiry form. */

.gp-app-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 4px;
}

/* PHONE MOCK ---------------------------------------------- */
/* Real Venture Ashore app screenshot (approved marketing asset),
   not a schematic. Served as webp; width/height attributes on the
   <img> plus the aspect-ratio below reserve the box up front, so
   there is no layout shift while the asset loads. */

.gp-app-shot {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.gp-app-phone-shot {
    display: block;
    width: 280px;
    height: auto;
    aspect-ratio: 580 / 1081;
    filter: drop-shadow(0 26px 55px rgba(0, 0, 0, 0.35));
}

/* RESPONSIVE ---------------------------------------------- */
/* --md (720px). Below it the phone goes first: it sets the
   scene in one glance. Badges take over from the QR pair,
   which shared.css already handles. */

@media screen and (max-width: 964px) {
    .gp-app-content-mod {
        gap: 40px;
    }

    .gp-app-phone-shot {
        width: 244px;
    }
}

@media screen and (max-width: 720px) {
    .gp-app-content-mod {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        padding: 56px 5%;
    }

    .gp-app-shot {
        order: -1;
        align-self: center;
    }

    .gp-app-phone-shot {
        width: 224px;
    }

    .gp-app-headline,
    .gp-app-sub {
        max-width: none;
    }

    .gp-app-benefits {
        margin: 28px 0 24px;
        gap: 18px;
    }

    .gp-app-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .gp-app-ctas .main-button {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 560px) {
    .gp-app-benefits {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media screen and (max-width: 540px) {
    .gp-app-benefit-icon {
        width: 32px;
        height: 32px;
    }
}
