/* Homepage. Designer layout, about 65% of the page on a wide screen. */

body:has(.mm-home) {
    background: #f4fbfc;
}

.mm-home {
    --page: min(100% - 1rem, 72rem);
    color: #09142d;
    font-family: "DM Sans", Arial, Helvetica, sans-serif;
}

.mm-home header,
.mm-home header nav[aria-label="Mobile"] {
    background: #fff;
    border-bottom-color: rgba(8, 19, 45, 0.08);
}

.mm-home footer {
    background: #fff;
    border-top-color: rgba(8, 19, 45, 0.08);
}

.mm-home .mm-shell,
.mm-page,
.hero .wrap,
.closing .wrap {
    width: var(--page);
    min-width: 0;
    max-width: none;
    margin-inline: auto;
    box-sizing: border-box;
}

.mm-page {
    --gutter: 1.25rem;
    margin: 1.25rem auto 0;
    overflow: hidden;
    border-radius: 28px;
    background: #f7fcfd;
    container-type: inline-size;
}

.hero,
.closing {
    width: 100%;
}

@media (min-width: 1280px) {
    .mm-home {
        --page: min(100% - 2rem, 65vw);
    }
}

.mm-page .wrap {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--gutter);
    box-sizing: border-box;
}

.soft-panel,
.entry-grid,
.faq-list {
    margin-inline: calc(var(--gutter) * -1);
}

.mm-page h1,
.mm-page h2,
.mm-page h3,
.mm-page p,
.hero h1,
.hero h2,
.hero p,
.closing h2,
.closing p {
    margin-top: 0;
}

.mm-page h1,
.mm-page h2,
.mm-page h3,
.hero h1,
.closing h2 {
    font-family: "DM Sans", Arial, Helvetica, sans-serif;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.mm-page h1,
.hero h1 {
    font-size: clamp(2.4rem, 4.4vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.mm-page h2,
.closing h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.mm-page h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.eyebrow,
.subhead {
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: #c9f4e4;
    color: #075c45;
    font-size: 0.72rem;
}

.subhead {
    margin-bottom: 1rem;
    color: #d7efe4;
    font-size: 0.72rem;
}

.muted {
    color: #35465b;
    font-size: 1.05rem;
    line-height: 1.5;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    margin: 0.35rem 0.55rem 0 0;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
}

.btn-green {
    background: linear-gradient(110deg, #7dffac, #00df7b);
    color: #04261c;
    box-shadow: 0 10px 24px rgba(0, 180, 100, 0.25);
}

.btn-green:hover {
    background: linear-gradient(110deg, #9dffc0, #1ae88a);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-white {
    border: 1.5px solid #00b96b;
    background: #fff;
    color: #075c45;
}

.btn-white:hover {
    background: #f3fff8;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 3.2rem 0 5.4rem;
    background:
        radial-gradient(ellipse at 78% 0%, #008f8b 0%, transparent 42%),
        radial-gradient(ellipse at 42% 8%, #006a96 0%, transparent 42%),
        linear-gradient(112deg, #061b39, #003a50 73%, #001b37);
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 4.6rem;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'><path fill='none' stroke='%23b9e7f2' stroke-width='3' d='M0 78C150 74 230 36 370 28C510 20 560 52 710 68C870 86 970 74 1090 40C1145 24 1172 14 1200 8'/><path fill='%23f4fbfc' d='M0 78C150 74 230 36 370 28C510 20 560 52 710 68C870 86 970 74 1090 40C1145 24 1172 14 1200 8V100H0Z'/></svg>") center / 100% 100% no-repeat;
    pointer-events: none;
}

.hero h1 span {
    color: #39f58f;
}

.hero p {
    max-width: 38rem;
    font-size: 1.12rem;
    line-height: 1.45;
}

.hero-main {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: center;
}

.hero-art {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-art img {
    display: block;
    flex: none;
    width: min(118%, 44rem);
    max-width: none;
    height: auto;
    mask-image: linear-gradient(to right, transparent, #000 24%);
    pointer-events: none;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

.hero-features {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 2.2rem;
}

.hero-feature {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding-right: 0.6rem;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
}

.hero-feature:last-child {
    border-right: 0;
}

.hero-feature .symbol {
    color: #45f59b;
    font-size: 2.5rem;
    line-height: 1;
}

.symbol {
    flex: none;
}

.symbol img {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    max-width: none;
    object-fit: contain;
}

.hero-feature strong,
.step strong {
    display: block;
}

.hero-feature small,
.step small {
    display: block;
    color: #d5e7df;
    font-size: 0.86rem;
}

.section {
    padding: 3.4rem 0;
}

.section.tight {
    padding-top: 0.4rem;
}

.platform-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.4rem;
    align-items: center;
}

.photo-card {
    overflow: hidden;
    border-radius: 3rem;
    background: #f7fcfd;
}

.photo-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 367 / 278;
    object-fit: cover;
}

.closing-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.check-list {
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0.7rem 0;
    font-size: 1.05rem;
}

.check-list li::before {
    content: "✓";
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    flex: none;
    place-items: center;
    border-radius: 50%;
    background: #00bb6b;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
}

.soft-panel {
    margin-bottom: 1.4rem;
    padding: 1.6rem 1.5rem 1.4rem;
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at 92% 0%, #b4f4de, transparent 36%),
        linear-gradient(120deg, #e8f9f4, #f6fbfb);
}

.industries {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
}

.industry {
    display: flex;
    min-height: 8.2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem;
    border-radius: 1.15rem;
    background: #fff;
    color: #09142d;
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.industry:hover {
    box-shadow: 0 10px 24px rgba(8, 50, 40, 0.08);
}

.industry .symbol {
    color: #087c71;
    font-size: 1.8rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 1.4rem;
}

.step {
    position: relative;
    display: flex;
    min-height: 6.2rem;
    gap: 0.8rem;
    align-items: center;
    padding: 1.15rem 1rem 1rem;
    border-radius: 1.1rem;
    background: #fff;
}

.step .number {
    position: absolute;
    top: -0.85rem;
    left: 1.1rem;
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border-radius: 50%;
    background: #00b966;
    color: #fff;
    font-weight: 800;
}

.step .symbol {
    color: #00aa65;
    font-size: 1.8rem;
}

.step small {
    color: #40516a;
}

.entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.entry {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 46, 75, 0.08);
}

.entry.dark {
    background: linear-gradient(120deg, #041a3b, #003957);
    color: #fff;
}

.entry .symbol {
    color: #00c96b;
    font-size: 1.8rem;
}

.entry p {
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
    line-height: 1.45;
}

.faq-list details {
    border-bottom: 1px solid #d6e0e7;
    background: #fff;
    padding: 0 1.1rem;
}

.faq-list details:first-of-type {
    border-radius: 1rem 1rem 0 0;
}

.faq-list details:last-of-type {
    border-bottom: 0;
    border-radius: 0 0 1rem 1rem;
}

.faq-list summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    color: #087c71;
    font-size: 1.4rem;
    font-weight: 500;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    margin: 0;
    padding: 0 1.5rem 1rem 0;
    color: #3d4d61;
    line-height: 1.5;
}

.closing {
    position: relative;
    width: 100%;
    min-height: 16rem;
    overflow: hidden;
    margin: 1.5rem 0 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 78% 50%, #127c79, transparent 34%),
        linear-gradient(100deg, #061a36, #00475c);
    color: #fff;
}

.closing .wrap {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 15rem;
    align-items: center;
    padding: 2rem 0;
}

.closing-copy {
    position: relative;
    z-index: 1;
    max-width: 58%;
}

.closing p {
    max-width: 34rem;
    line-height: 1.45;
}

.closing-photo {
    position: absolute;
    top: 0;
    right: calc((100% - var(--page)) / 2);
    height: 100%;
    width: auto;
    aspect-ratio: 1626 / 465;
    object-fit: cover;
    object-position: right center;
    mask-image: linear-gradient(to right, transparent, #000 28%);
    pointer-events: none;
}

@media (max-width: 1100px) {
    .mm-home {
        --page: min(100% - 1rem, 100%);
    }

    .mm-page {
        margin-top: 0.5rem;
        border-radius: 0;
    }
}

@container (max-width: 760px) {
    .hero-main,
    .platform-grid,
    .entry-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .hero-features,
    .industries {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-feature:nth-child(2) {
        border-right: 0;
    }

    .closing-copy {
        max-width: 62%;
    }
}

@media (max-width: 760px) {
    .hero-main {
        grid-template-columns: 1fr;
    }

    .hero-art {
        justify-content: center;
    }

    .hero-art img {
        width: min(100%, 32rem);
        mask-image: none;
    }
}

@media (max-width: 680px) {
    .mm-page {
        --gutter: 0.75rem;
    }

    .hero {
        padding-top: 2rem;
        padding-bottom: 4.4rem;
    }

    .hero::after {
        height: 3.4rem;
    }

    .hero-features,
    .industries {
        grid-template-columns: 1fr 1fr;
    }

    .hero-feature {
        border-right: 0;
    }

    .closing .wrap {
        min-height: 0;
        padding: 1.4rem 0;
    }

    .closing-copy {
        max-width: 100%;
    }

    .closing {
        display: flex;
        flex-direction: column;
    }

    .closing .wrap {
        order: 1;
    }

    .closing-photo {
        position: relative;
        order: 2;
        top: auto;
        right: auto;
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        margin-top: 0.75rem;
        mask-image: none;
        opacity: 1;
        object-fit: contain;
    }
}
