:root {
    --cm-blue: #0046ad;
    --cm-blue-dark: #002f78;
    --cm-navy: #002b67;
    --cm-yellow: #ffdf00;
    --cm-text: #07254a;
    --cm-muted: #718096;
    --cm-border: #e7edf4;
    --cm-bg: #f6f8fb;
    --cm-white: #ffffff;

    --cm-radius: 8px;
    --cm-radius-lg: 12px;

    --cm-shadow:
        0 5px 18px rgba(20, 43, 77, 0.08);
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    color: var(--cm-text);
    background: #fff;
}


.membership-page {
    width: 100%;
    overflow: hidden;
}


.membership-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ======================================================
   BUTTONS
====================================================== */

.membership-btn,
.membership-plan-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


.membership-btn:hover,
.membership-plan-button:hover {
    transform: translateY(-2px);
}


.membership-btn {
    min-height: 42px;
    padding: 0 24px;
    font-size: 14px;
}


.membership-btn--yellow {
    background: var(--cm-yellow);
    color: #06172b;
}


.membership-btn--white {
    background: #fff;
    color: var(--cm-text);
}


.membership-btn--blue {
    background: var(--cm-blue);
    color: #fff;
    width: 290px;
    justify-content: left;
}


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

.membership-hero {
    position: relative;
    background: url('../img/hero-bg.jpg');
    overflow: hidden;
}


.membership-hero::before,
.membership-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}


.membership-hero::before {
    width: 220px;
    height: 220px;
    top: -120px;
    right: 14%;
    border-radius: 50%;
    border: 40px solid rgba(255, 215, 0, 0.8);
    transform: rotate(20deg);
}


.membership-hero::after {
    width: 280px;
    height: 100px;
    left: 45%;
    bottom: -60px;
    border-radius: 50%;
    border: 25px solid rgba(255, 207, 0, 0.35);
    transform: rotate(-20deg);
}


.membership-hero__inner {
    min-height: 390px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    padding-top: 45px;
    position: relative;
    z-index: 1;
}


.membership-hero__content {
    color: #fff;
    max-width: 590px;
}


.membership-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 20px;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    background: rgba(255,255,255,1);
    border-radius: 32px;
    color: #0069CC;
}


.membership-hero h1 {
    margin: 0;
    font-size: clamp(38px, 4vw, 60px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #fff !important;
}


.membership-hero p {
    max-width: 530px;
    margin: 18px 0 26px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,1);
}


.membership-hero__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}


.membership-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
}


.membership-hero__visual img {
    display: block;
    width: auto;
    height: 415px;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}


/* ======================================================
   GENERIC SECTION
====================================================== */

.membership-section {
    padding: 60px 0;
}


.membership-heading {
    text-align: center;
    max-width: 730px;
    margin: 0 auto 34px;
}


.membership-pill {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid #98c2ef;
    color: var(--cm-blue);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}


.membership-heading h2,
.membership-how h2,
.membership-physical-card h2 {
    margin: 12px 0 7px;
    font-size: clamp(23px, 2.5vw, 32px);
    line-height: 1.15;
    font-weight: 700 !important;
}


.membership-heading p,
.membership-how__heading p,
.membership-physical-card__content > p {
    color: #64748B;
    margin: 0;
    line-height: 1.6;
    font-size: 17px;
}


/* ======================================================
   PLANS
====================================================== */

.membership-plans {
    background: #F9FAFB;
}


.membership-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}


.membership-plan-card {
    display: flex;
    flex-direction: column;
    min-height: 365px;
    padding: 25px 20px 18px;
    background: #fff;
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
}


.membership-plan-card--featured {
    border: 2px solid var(--cm-yellow);
}


.membership-plan-card__header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
}


.membership-plan-card__header h3 {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 800 !important;
}


.membership-plan-card__header span:not(.membership-plan-icon) {
    display: block;
    color: #64748B;
    font-size: 14px;
    font-weight: 500;
}

.membership-silver-tier h3 {
    color: #1E293B !important;
}

.membership-gold-tier h3 {
    color: #B28000 !important;
}

.membership-platinum-tier h3 {
    color: #002C6C !important;
}


.membership-plan-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    border-radius: 50%;
    font-size: 9px;
}

.membership-plan-icon img {
    width: 40px;
    height: auto;
}

.membership-plan-card ul {
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
}


.membership-plan-card li {
    position: relative;
    padding-left: 17px;
    margin: 0 0 9px;
    font-size: 13px;
    color: #536378;
    line-height: 1.35;
}


.membership-plan-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--cm-blue);
}


.membership-plan-card--featured li::before {
    color: #d8ae00;
}


.membership-plan-button {
    width: 100%;
    min-height: 39px;
    padding: 0 15px;
    margin-top: auto;
    font-size: 15px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.membership-plan-card form {
    margin-top: auto;
}


.membership-plan-button--blue {
    background: #0757a9;
    color: #fff;
}


.membership-plan-button--yellow {
    background: var(--cm-yellow);
    color: #172130;
}


.membership-plan-button--navy {
    background: var(--cm-navy);
    color: #fff;
}


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

.membership-how {
    padding: 28px 30px 30px;
    background: #f7f9fb;
    border: 1px solid #eef2f5;
    border-radius: var(--cm-radius-lg);
}


.membership-how__heading {
    margin-bottom: 25px;
}


.membership-how__heading h2 {
    font-size: 27px;
}


.membership-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}


.membership-step {
    min-height: 110px;
    display: flex;
    gap: 13px;
    padding: 18px;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 7px;
}


.membership-step__number {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cm-yellow);
    color: #1E293B;
    font-size: 15px;
    font-weight: 800;
}


.membership-step h3 {
    margin: 2px 0 7px;
    font-size: 18px;
    font-weight: 800 !important;
    color: #1E293B !important;
}


.membership-step p {
    margin: 0;
    color: #64748B;
    font-size: 14px;
    line-height: 1.5;
}


/* ======================================================
   PHYSICAL CARD
====================================================== */

.membership-card-section {
    background: #F9FAFB;
}


.membership-physical-card {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 20px;
    align-items: center;
    padding: 38px 35px;
    border-radius: var(--cm-radius-lg);
    border: 1px solid var(--cm-border);
    box-shadow: var(--cm-shadow);
}


.membership-physical-card__content {
    max-width: 610px;
}


.membership-physical-card__content h2 {
    font-size: 27px;
}


.membership-card-note {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin: 17px 0 17px;
    padding: 8px 11px;
    background: #F3F5F9;
    border-radius: 5px;
    color: #1E2432;
    font-size: 12px;
}

.membership-card-note img {
    width: 22px;
    height: auto;
}


.membership-card-note span {
    color: #f1c600;
}


.membership-physical-card__content small {
    display: block;
    margin-top: 8px;
    color: #5A657A;
    font-size: 12px;
    text-decoration: underline;
}

.membership-physical-card__content small a {
    color: #5A657A;
}


.membership-card-preview {
    width: 100%;
    aspect-ratio: 1.65 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    color: #fff;
}


.membership-card-preview__top,
.membership-card-preview__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.membership-card-preview__top > span:first-child {
    font-size: 12px;
    font-weight: 800;
}


.membership-card-preview__chip {
    display: block;
    width: 23px;
    height: 18px;
    border-radius: 2px;
    background: var(--cm-yellow);
}


.membership-card-preview__bottom small {
    display: block;
    font-size: 7px;
    opacity: 0.7;
}


.membership-card-preview__bottom strong {
    display: block;
    margin-top: 3px;
    font-size: 11px;
}


.membership-card-preview__bottom > span {
    color: var(--cm-yellow);
    font-size: 8px;
    font-weight: 700;
}


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

.membership-faq-section {
    background: #fff;
}

.membership-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    align-items: start;
}

.membership-faq {
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #f0f3f7;
    border-radius: 7px;
    margin-bottom: 1.5rem;
}

.membership-faq__question {
    width: 100%;
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 15px 17px;

    border: 0;
    outline: none;
    background: transparent;

    cursor: pointer;
    text-align: left;

    color: #1E293B;
    font-size: 15px;
    font-weight: 700;
}

.membership-faq__question:focus {
    outline: 0;
}

.membership-faq__plus {
    flex: 0 0 auto;

    font-size: 20px;
    font-weight: 400;
    color: #1E293B;

    transition: transform 0.2s ease;
}

.membership-faq__answer {
    display: none;

    padding: 0 17px 17px;

    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
}

.membership-faq.is-open .membership-faq__answer {
    display: block;
}

.membership-faq.is-open .membership-faq__plus {
    transform: rotate(45deg);
}

.landing-bottom-section {
    padding: 40px 0 60px;
    background: #f7f8f9;
}

.landing-bottom-section * {
    box-sizing: border-box;
}

.landing-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    gap: 48px;
    align-items: stretch;
}


/* =========================================================
   MFAMILY APP CARD
========================================================= */

.mfamily-app-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d9dfe3;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.04);
}


/* =========================================================
   MFAMILY MAIN AREA
========================================================= */

.mfamily-app-main {
    flex: 1;
    min-width: 0;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(120px, 30%);

    gap: clamp(15px, 2vw, 35px);
    align-items: center;

    padding: clamp(32px, 3vw, 58px);
}


/* =========================================================
   MFAMILY TEXT
========================================================= */

.mfamily-app-content {
    min-width: 0;
}

.mfamily-app-content h2 {
    margin: 0 0 5px;

    font-size: clamp(26px, 2vw, 34px);
    line-height: 1.2;
    font-weight: 600 !important;

    color: #0069CC !important;
}

.mfamily-app-content > p {
    margin: 0 0 42px;
    font-size: clamp(17px, 1.3vw, 21px);
    line-height: 1.4;
    color: #000;
}


/* =========================================================
   DOWNLOAD AREA
========================================================= */

.mfamily-downloads {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 26px;
}

.mfamily-download-row {
    width: 100%;
    min-width: 0;

    display: grid;

    grid-template-columns:
        minmax(125px, 230px)
        clamp(45px, 4vw, 65px);

    gap: clamp(15px, 3vw, 60px);

    align-items: center;
}

.mfamily-download-row a {
    display: block;
    min-width: 0;
}


/* =========================================================
   STORE BADGES
========================================================= */

.store-badge {
    display: block;

    width: 100%;
    max-width: 230px;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   QR CODES
========================================================= */

.store-qr {
    display: block;

    width: 100%;
    max-width: 65px;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   PHONE
========================================================= */

.mfamily-phone {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 7rem;
}

.mfamily-phone img {
    display: block;

    width: 100%;
    max-width: 210px;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   MFAMILY FOOTER
========================================================= */

.mfamily-app-footer {
    padding: 36px 55px 40px;
    background: #F8FAFC;
    border-top: 1px solid #d9dfe3;
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mfamily-app-footer strong {
    font-size: clamp(22px, 1.7vw, 28px);
    line-height: 1.25;
    font-weight: 700 !important;
    color: #000;
}

.mfamily-app-footer span {
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.4;

    color: #000;
}


/* =========================================================
   RIGHT COLUMN
========================================================= */

.landing-promos {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}


/* =========================================================
   BIRTHDAY PROMO
========================================================= */

.birthday-promo {
    display: block;

    width: 100%;

    overflow: hidden;
    border-radius: 18px;
}

.birthday-promo img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 2.72 / 1;

    object-fit: cover;
}


/* =========================================================
   MOKA MOCHA
========================================================= */

.moka-card-img {
    width: 100%;

    overflow: hidden;
    border-radius: 20px;
}

.moka-card-img a {
    display: block;
    width: 100%;
}

.moka-card-img img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 3.15 / 1;

    object-fit: cover;
}


/* =========================================================
   LARGE LAPTOP
   Fixes QR / phone overlap
========================================================= */

@media (max-width: 1500px) {

    .landing-bottom-grid {
        gap: 32px;
    }

    .mfamily-app-main {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(120px, 28%);

        gap: 20px;

        padding: 42px 36px;
    }

    .mfamily-app-content > p {
        margin-bottom: 34px;
    }

    .mfamily-downloads {
        gap: 22px;
    }

    .mfamily-download-row {
        grid-template-columns:
            minmax(135px, 190px)
            55px;

        gap: 25px;
    }

    .store-badge {
        max-width: 190px;
    }

    .store-qr {
        max-width: 55px;
    }

    .mfamily-phone img {
        max-width: 175px;
    }

    .mfamily-app-footer {
        padding: 30px 36px 34px;
    }

    .landing-promos {
        gap: 32px;
    }
}


/* =========================================================
   INTERMEDIATE DESKTOP
   Breakpoint for overlap
========================================================= */

@media (max-width: 1350px) and (min-width: 1101px) {

    .landing-bottom-grid {
        gap: 25px;
    }

    .mfamily-app-main {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(100px, 145px);

        gap: 12px;

        padding: 34px 28px;
    }

    .mfamily-app-content h2 {
        font-size: 27px;
    }

    .mfamily-app-content > p {
        font-size: 17px;
        margin-bottom: 28px;
    }

    .mfamily-downloads {
        gap: 18px;
    }

    .mfamily-download-row {
        grid-template-columns:
            minmax(120px, 165px)
            48px;

        gap: 15px;
    }

    .store-badge {
        max-width: 165px;
    }

    .store-qr {
        width: 48px;
        max-width: 48px;
    }

    .mfamily-phone img {
        max-width: 140px;
    }

    .mfamily-app-footer {
        padding: 26px 28px 30px;
    }

    .mfamily-app-footer strong {
        font-size: 22px;
    }

    .mfamily-app-footer span {
        font-size: 16px;
    }
}


/* =========================================================
   TABLET / SMALL LAPTOP
   Switch entire layout to one column
========================================================= */

@media (max-width: 1100px) {

    .landing-bottom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mfamily-app-main {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(180px, 220px);

        gap: 40px;

        padding: 45px;
    }

    .mfamily-download-row {
        grid-template-columns:
            minmax(170px, 230px)
            65px;

        gap: 45px;
    }

    .store-badge {
        max-width: 230px;
    }

    .store-qr {
        max-width: 65px;
    }

    .mfamily-phone img {
        max-width: 220px;
    }

    .mfamily-app-footer {
        padding: 32px 45px 36px;
    }

    .landing-promos {
        gap: 30px;
    }
}


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

@media (max-width: 768px) {

    .landing-bottom-section {
        padding: 16px 0;
    }

    .landing-bottom-grid {
        gap: 20px;
    }

    .mfamily-app-card {
        border-radius: 16px;
    }

    .mfamily-app-main {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(120px, 160px);

        gap: 20px;

        padding: 30px 24px;
    }

    .mfamily-app-content h2 {
        font-size: 27px;
    }

    .mfamily-app-content > p {
        font-size: 17px;
        margin-bottom: 28px;
    }

    .mfamily-downloads {
        gap: 18px;
    }

    .mfamily-download-row {
        grid-template-columns:
            minmax(125px, 180px)
            50px;

        gap: 18px;
    }

    .store-badge {
        max-width: 180px;
    }

    .store-qr {
        width: 50px;
        max-width: 50px;
    }

    .mfamily-phone img {
        max-width: 150px;
    }

    .mfamily-app-footer {
        padding: 25px 24px;
    }

    .mfamily-app-footer strong {
        font-size: 22px;
    }

    .mfamily-app-footer span {
        font-size: 16px;
    }

    .landing-promos {
        gap: 20px;
    }

    .birthday-promo,
    .moka-card-img {
        border-radius: 14px;
    }
}


/* =========================================================
   MOBILE
========================================================= */
@media (min-width: 576px) {
    .mfamily-click {
        display: none;
    }
}

@media (max-width: 575px) {

    .landing-bottom-section {
        padding: 12px 0;
    }

    .landing-bottom-grid {
        gap: 18px;
    }


    /* Stack Mfamily content */

    .mfamily-app-main {
        display: flex;
        flex-direction: column;

        padding: 28px 20px 30px;
    }

    .mfamily-app-content {
        width: 100%;
        text-align: center;
    }

    .mfamily-app-content h2 {
        font-size: 26px;
    }

    .mfamily-app-content > p {
        font-size: 16px;

        margin-bottom: 28px;
    }

    .mfamily-downloads {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .mfamily-download-row {
        display: block;
        width: auto;
    }

    .mfamily-download-row a {
        display: block;
    }

    .store-badge {
        display: block;
        width: 190px;
        height: auto;
        margin: 0 auto;
    }

    .store-qr {
        display: none;
    }

    .mfamily-click {
        font-weight: 700;
    }


    .mfamily-phone {
        width: 100%;
        margin-bottom: 10px;
        margin-top: 1rem;
    }

    img.store-qr {display: none;}

    .mfamily-phone img {
        width: auto;

        max-width: 145px;
        max-height: 220px;
    }


    /* Download rows */

    .mfamily-downloads {
        width: 100%;
        max-width: 330px;

        margin: 0 auto;

        gap: 18px;
    }

    .mfamily-download-row {
        width: 100%;

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

        gap: 20px;
    }

    .mfamily-download-row a {
        display: flex;
        justify-content: flex-start;
    }

    .store-badge {
        width: 100%;
        max-width: 190px;
    }

    .store-qr {
        width: 48px;
        max-width: 48px;
    }


    /* Footer */

    .mfamily-app-footer {
        padding: 24px 20px;

        text-align: center;
    }

    .mfamily-app-footer strong {
        font-size: 21px;
    }

    .mfamily-app-footer span {
        font-size: 15px;
    }


    /* Promo images */

    .birthday-promo img,
    .moka-card-img img {
        width: 100%;
        height: auto;

        aspect-ratio: auto;

        object-fit: contain;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .mfamily-app-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mfamily-app-content h2 {
        font-size: 23px;
    }

    .mfamily-app-content > p {
        font-size: 15px;
    }

    .mfamily-downloads {
        max-width: 280px;
    }

    .mfamily-download-row {
        grid-template-columns:
            minmax(0, 1fr)
            42px;

        gap: 14px;
    }

    .store-badge {
        max-width: 170px;
    }

    .store-qr {
        width: 42px;
        max-width: 42px;
    }

    .mfamily-phone img {
        max-width: 130px;
    }
}


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

@media (max-width: 991px) {

    .membership-container {
        width: min(100% - 32px, 900px);
    }


    .membership-hero__inner {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding-top: 35px;
        padding-bottom: 35px;
    }


    .membership-hero h1 {
        font-size: 43px;
    }


    .membership-plan-grid {
        gap: 12px;
    }


    .membership-plan-card {
        padding-left: 16px;
        padding-right: 16px;
    }


    .membership-physical-card {
        grid-template-columns: 1fr 360px;
        gap: 30px;
    }

}


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

@media (max-width: 767px) {

    .membership-container {
        width: calc(100% - 28px);
    }


    .membership-section {
        padding: 42px 0;
    }


    /* HERO */

    .membership-hero__content {
        width: 100%;
    }


    .membership-hero h1 {
        font-size: 40px;
    }


    .membership-hero p {
        font-size: 13px;
    }


    .membership-hero__visual {
        width: 100%;
    }


    .membership-hero__visual img {
        width: 100%;
        height: auto;
        max-height: 330px;
    }


    .membership-hero__actions {
        width: 100%;
    }


    .membership-hero__actions .membership-btn {
        flex: 1;
    }


    /* PLANS */

    .membership-plan-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }


    .membership-plan-card {
        min-height: auto;
    }


    /* HOW */

    .membership-how {
        padding: 22px 18px;
    }


    .membership-step-grid {
        grid-template-columns: 1fr;
    }


    /* CARD */

    .membership-physical-card {
        grid-template-columns: 1fr;
        padding: 25px 20px;
    }


    .membership-card-preview {
        width: 100%;
        margin: 0 auto;
        flex-direction: row;
        justify-content: center;
    }

    .membership-card-preview img, .membership-physical-card__content {
        width: 100%;
    }


    /* FAQ */

    .membership-faq-grid {
        grid-template-columns: 1fr;
    }

}


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

@media (max-width: 480px) {

    .membership-container {
        width: calc(100% - 24px);
    }


    .membership-hero h1 {
        font-size: 34px;
    }


    .membership-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }


    .membership-btn {
        width: 100%;
    }


    .membership-heading h2,
    .membership-how__heading h2,
    .membership-physical-card__content h2 {
        font-size: 23px;
    }


    .membership-how {
        padding: 20px 15px;
    }


    .membership-physical-card {
        padding: 22px 16px;
    }

}

.address-memb-btn {
    margin: auto;
    text-align: center;
    margin-top: 3rem;
}

.cm-membership-mips {
    width: 100%;
    display: flex;
    justify-content: center;
}

.cm-membership-mips > * {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.cm-membership-mips iframe {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}