/* Demo MM Delivery marketing page (clients/demo only) */

.mm-del-hero {
    position: relative;
    overflow: hidden;
    padding: 3.25rem 0 3.5rem;
    border-bottom: 1px solid color-mix(in srgb, var(--primary-color) 22%, transparent);
}

.mm-del-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 110% 80% at 15% 0%,
            color-mix(in srgb, var(--primary-color) 16%, #fff) 0%,
            transparent 55%
        ),
        linear-gradient(
            165deg,
            color-mix(in srgb, var(--secondary-color, var(--yellow)) 10%, #fffefb) 0%,
            #faf6f2 100%
        );
}

.mm-del-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(42px);
    pointer-events: none;
}

.mm-del-hero-orb--a {
    width: min(48vw, 26rem);
    height: min(48vw, 26rem);
    top: -20%;
    right: -8%;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--primary-color) 55%, transparent),
        transparent 70%
    );
    opacity: 0.7;
    animation: mm-del-orb-a 20s ease-in-out infinite;
}

.mm-del-hero-orb--b {
    width: min(40vw, 22rem);
    height: min(40vw, 22rem);
    bottom: -25%;
    left: -6%;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--secondary-color, var(--yellow)) 50%, transparent),
        transparent 70%
    );
    opacity: 0.55;
    animation: mm-del-orb-b 24s ease-in-out infinite;
}

@keyframes mm-del-orb-a {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-6%, 8%, 0);
    }
}

@keyframes mm-del-orb-b {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(8%, -6%, 0);
    }
}

.mm-del-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    text-align: center;
    margin: 0 auto;
}

.mm-del-hero-logo {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 1rem;
    display: block;
    margin: 0 auto 0.85rem;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--primary-color) 22%, transparent);
}

.mm-del-hero-brand {
    margin: 0 0 0.55rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.mm-del-hero-inner h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.85rem, 4.5vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #1a1a1a;
}

.mm-del-hero-lead {
    margin: 0 auto 1.5rem;
    max-width: 36rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: rgba(26, 26, 26, 0.78);
}

.mm-del-hero-lead strong {
    color: #111;
}

.mm-del-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

/* Reuse homepage button look if mm_home.css is not loaded on this page */
.mm-del-hero .mm-home-btn,
.mm-del-close .mm-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.72rem 1.35rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease;
}

a.mm-del-hero .mm-home-btn--primary,
.mm-del-hero a.mm-home-btn--primary,
.mm-del-close a.mm-home-btn--primary,
.mm-del-hero a.mm-home-btn--primary:hover,
.mm-del-close a.mm-home-btn--primary:hover {
    color: #141210;
    text-decoration: none;
}

.mm-del-hero .mm-home-btn--primary,
.mm-del-close .mm-home-btn--primary {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color, var(--primary-color)) 100%
    );
    color: #141210;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.18);
}

.mm-del-hero .mm-home-btn--primary:hover,
.mm-del-close .mm-home-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.mm-del-hero .mm-home-btn--ghost,
.mm-del-close .mm-home-btn--ghost {
    background: rgba(255, 255, 255, 0.85);
    color: #2a2420;
    border: 1px solid color-mix(in srgb, var(--primary-color) 35%, rgba(0, 0, 0, 0.12));
}

.mm-del-hero a.mm-home-btn--ghost,
.mm-del-close a.mm-home-btn--ghost,
.mm-del-hero a.mm-home-btn--ghost:hover,
.mm-del-close a.mm-home-btn--ghost:hover {
    text-decoration: none;
    color: #2a2420;
}

.mm-del-hero .mm-home-btn--ghost:hover,
.mm-del-close .mm-home-btn--ghost:hover {
    background: #ffffff;
    border-color: color-mix(in srgb, var(--primary-color) 55%, transparent);
}

.mm-del-section-head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.mm-del-section-head h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

.mm-del-section-head p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(26, 26, 26, 0.72);
}

.mm-del-shot {
    padding: 3rem 0 2.75rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.mm-del-shot-frame {
    margin: 0 auto;
    max-width: 52rem;
}

.mm-del-shot-frame--phone {
    max-width: 22rem;
}

.mm-del-phone {
    margin: 0 auto;
    padding: 0.55rem;
    border-radius: 1.65rem;
    background: linear-gradient(160deg, #2a2420 0%, #141210 100%);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mm-del-shot-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 18%, transparent);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.mm-del-shot-frame--phone .mm-del-shot-img {
    border: 0;
    border-radius: 1.2rem;
    box-shadow: none;
    aspect-ratio: 616 / 1024;
    object-fit: cover;
    object-position: top center;
}

.mm-del-shot-frame figcaption {
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.92rem;
    color: rgba(42, 36, 32, 0.58);
}

.mm-del-how {
    padding: 3rem 0;
    background: linear-gradient(
        180deg,
        #f7f4f0 0%,
        color-mix(in srgb, var(--primary-color) 5%, #faf6f2) 100%
    );
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.mm-del-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 800px) {
    .mm-del-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.mm-del-step {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.15rem 1.1rem 1.2rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.mm-del-step-num {
    width: 2.15rem;
    height: 2.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #141210;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color, var(--primary-color)) 100%
    );
}

.mm-del-step h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
}

.mm-del-step p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(26, 26, 26, 0.72);
}

.mm-del-step strong {
    color: #1a1a1a;
}

.mm-del-features {
    padding: 3rem 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.mm-del-feature-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 52rem;
    display: grid;
    gap: 1.15rem;
}

@media (min-width: 720px) {
    .mm-del-feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1.75rem;
    }
}

.mm-del-feature-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.mm-del-feature-list i {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary-color) 14%, transparent);
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-top: 0.1rem;
}

.mm-del-feature-list strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.mm-del-feature-list span {
    display: block;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(26, 26, 26, 0.72);
}

.mm-del-close {
    padding: 3rem 0 3.75rem;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--secondary-color, var(--primary-color)) 8%, #faf6f2) 0%,
        #f5f1ed 100%
    );
}

.mm-del-close-inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 22%, transparent);
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.mm-del-close-inner h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    color: #1a1a1a;
}

.mm-del-close-inner > p {
    margin: 0 0 1.35rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(26, 26, 26, 0.78);
}

@media (prefers-reduced-motion: reduce) {
    .mm-del-hero-orb--a,
    .mm-del-hero-orb--b {
        animation: none;
    }
}
