/* MailMilo modern landing page */
.mailmilo-landing {
    --mm-navy: #102653;
    --mm-blue: #1677ee;
    --mm-green: #18b978;
    --mm-text: #263653;
    --mm-muted: #60708b;
    --mm-border: #e7edf5;
    background: #fff;
    color: var(--mm-text);
    overflow: hidden;
}

.mailmilo-landing *,
.mailmilo-landing *::before,
.mailmilo-landing *::after {
    box-sizing: border-box;
}

.mailmilo-landing img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

.mm-section {
    position: relative;
    padding: 96px 0;
}

.mm-hero {
    padding: 72px 0 96px;
    background:
        radial-gradient(circle at 90% 10%, rgba(100, 225, 196, .22), transparent 34%),
        linear-gradient(135deg, #f8fcff 0%, #eef8ff 52%, #f5fff9 100%);
}

.mm-hero-grid,
.mm-feature-grid,
.mm-final-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
}

.mm-hero-copy {
    position: relative;
    z-index: 1;
}

.mm-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--mm-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.4;
}

.mm-copy h1,
.mm-copy h2 {
    margin: 0;
    color: var(--mm-navy);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -.045em;
}

.mm-copy h1 {
    max-width: 650px;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.04;
}

.mm-copy h1 span {
    display: block;
    background: linear-gradient(90deg, var(--mm-blue), var(--mm-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mm-copy h2 {
    max-width: 560px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
}

.mm-lead,
.mm-copy p {
    max-width: 570px;
    margin: 26px 0 0;
    color: var(--mm-muted);
    font-size: 17px;
    line-height: 1.75;
}

.mm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.mm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    padding: 14px 25px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.mm-button:hover {
    transform: translateY(-2px);
}

.mm-button-primary {
    background: var(--mm-green);
    color: #fff !important;
    box-shadow: 0 12px 25px rgba(24, 185, 120, .22);
}

.mm-button-secondary {
    background: #fff;
    border-color: #cbd9eb;
    color: var(--mm-blue) !important;
}

.mm-button-white {
    background: #fff;
    color: var(--mm-blue) !important;
}

.mm-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 25px;
    margin-top: 27px;
    color: #536782;
    font-size: 13px;
    font-weight: 600;
}

.mm-trust span::first-letter {
    color: var(--mm-green);
}

.mm-visual {
    position: relative;
    min-width: 0;
}

.mm-hero-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(37, 80, 125, .16);
}

.mm-feature-section {
    border-top: 1px solid rgba(220, 230, 241, .75);
}

.mm-feature-light {
    background: #fff;
}

.mm-feature-green {
    background: linear-gradient(135deg, #f3fff9 0%, #effaff 100%);
}

.mm-feature-blue {
    background: linear-gradient(135deg, #f6f9ff 0%, #eef7ff 100%);
}

.mm-feature-reverse .mm-copy {
    order: 2;
}

.mm-feature-reverse .mm-visual {
    order: 1;
}

.mm-card-visual {
    padding: 14px;
    border: 1px solid var(--mm-border);
    border-radius: 24px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 20px 60px rgba(37, 80, 125, .10);
}

.mm-card-visual img {
    width: 100%;
    border-radius: 14px;
}

.mm-check-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.mm-check-list li {
    position: relative;
    padding-left: 30px;
    color: #465b78;
    font-size: 15px;
    line-height: 1.55;
}

.mm-check-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    background: #dff8ec;
    color: #0b9c60;
    font-size: 12px;
    font-weight: 800;
}

.mm-final-cta {
    padding: 0;
    background: linear-gradient(135deg, #102653 0%, #1552a1 58%, #168b91 100%);
    color: #fff;
}

.mm-final-grid {
    min-height: 480px;
    gap: 48px;
}

.mm-final-cta .mm-copy h2,
.mm-final-cta .mm-copy p {
    color: #fff;
}

.mm-final-cta .mm-copy p {
    opacity: .85;
}

.mm-final-cta .mm-eyebrow {
    color: #78edc0;
}

.mm-final-image {
    align-self: stretch;
    display: flex;
    align-items: end;
    justify-content: end;
}

.mm-final-image img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    object-position: bottom right;
}

@media only screen and (max-width: 991px) {
    .mm-section {
        padding: 70px 0;
    }

    .mm-hero {
        padding: 55px 0 70px;
    }

    .mm-hero-grid,
    .mm-feature-grid,
    .mm-final-grid {
        gap: 40px;
    }

    .mm-copy h1 {
        font-size: clamp(40px, 6vw, 58px);
    }

    .mm-copy h2 {
        font-size: clamp(32px, 5vw, 46px);
    }
}

@media only screen and (max-width: 767px) {
    .mm-container {
        width: min(100% - 30px, 560px);
    }

    .mm-section {
        padding: 55px 0;
    }

    .mm-hero {
        padding: 42px 0 55px;
    }

    .mm-hero-grid,
    .mm-feature-grid,
    .mm-final-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mm-feature-reverse .mm-copy,
    .mm-feature-reverse .mm-visual {
        order: initial;
    }

    .mm-copy h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .mm-copy h2 {
        font-size: clamp(32px, 9vw, 44px);
    }

    .mm-lead,
    .mm-copy p {
        font-size: 16px;
    }

    .mm-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mm-button {
        width: 100%;
    }

    .mm-trust {
        display: grid;
        gap: 10px;
    }

    .mm-final-grid {
        min-height: 0;
    }

    .mm-final-image {
        max-height: 260px;
        justify-content: center;
    }
}
