/* =========================================================
   mo-bio home
   ========================================================= */

.mobio-home {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
    padding: 64px 0 80px;
}


/* Home hero
-------------------------------------------------- */

body:has(.mobio-home) .molecular-intro {
    box-sizing: border-box;

    width: min(1160px, calc(100% - 48px));
    max-width: 1160px;

    margin-left: auto;
    margin-right: auto;
}

/* Introduction
-------------------------------------------------- */

.mobio-home__intro {
    max-width: 780px;
    margin-bottom: 56px;
}

.mobio-home__intro p {
    margin: 0 0 18px;

    color: #526158;

    font-size: 1rem;
    line-height: 1.75;
}

.mobio-home__intro p:last-child {
    margin-bottom: 0;
}

.mobio-home__intro .mobio-home__lead {
    color: #27342d;

    font-size: 1.18rem;
    line-height: 1.65;
}

.mobio-home__lead strong {
    color: #397c55;
    font-weight: 700;
}


/* Tools
-------------------------------------------------- */

.mobio-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;

    margin-bottom: 64px;
}

.mobio-tool {
    display: flex;
    flex-direction: column;

    min-height: 280px;
    padding: 30px 32px;

    background: #fff;
    border: 1px solid #dfe7e1;
    border-radius: 8px;

    box-shadow: 0 8px 24px rgba(28, 52, 38, 0.045);
}

.mobio-tool__header {
    display: flex;
    align-items: baseline;
    gap: 14px;

    margin-bottom: 20px;
}

.mobio-tool__number {
    color: #8b9a91;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.mobio-tool h2 {
    margin: 0;

    color: #20382a;

    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
}

.mobio-tool p {
    margin: 0 0 18px;

    color: #526158;

    font-size: 0.96rem;
    line-height: 1.7;
}

.mobio-tool .mobio-tool__sources {
    margin-top: auto;
    margin-bottom: 22px;

    color: #718078;

    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.mobio-tool__link {
    align-self: flex-start;

    color: #397c55;

    font-size: 0.92rem;
    font-weight: 700;

    text-decoration: none;

    transition: color 120ms ease;
}

.mobio-tool__link:hover {
    color: #245c3b;
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* MTAX
-------------------------------------------------- */

.mobio-mtax {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 42px;

    margin-bottom: 64px;
    padding: 40px 42px;

    background: #f3f7f4;
    border: 1px solid #dce7df;
    border-radius: 8px;
}

.mobio-mtax__label {
    align-self: start;

    color: #397c55;

    font-size: 2rem;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.03em;
}

.mobio-mtax__content {
    max-width: 700px;
}

.mobio-mtax h2 {
    margin: 0 0 18px;

    color: #20382a;

    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
}

.mobio-mtax p {
    margin: 0 0 16px;

    color: #526158;

    font-size: 0.96rem;
    line-height: 1.7;
}

.mobio-mtax p:last-child {
    margin-bottom: 0;
}

.mobio-mtax strong {
    color: #397c55;
}


/* Principle
-------------------------------------------------- */

.mobio-principle {
    max-width: 800px;
    padding-top: 8px;
}

.mobio-principle__eyebrow {
    margin: 0 0 12px;

    color: #397c55;

    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.4;
    text-transform: uppercase;
}

.mobio-principle h2 {
    max-width: 680px;
    margin: 0 0 18px;

    color: #20382a;

    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.mobio-principle > p:last-child {
    max-width: 720px;
    margin: 0;

    color: #526158;

    font-size: 1rem;
    line-height: 1.75;
}


/* Responsive
-------------------------------------------------- */

@media (max-width: 760px) {

    .mobio-home,
    body:has(.mobio-home) .molecular-intro {
        width: min(100% - 32px, 1160px);
    }

    .mobio-home {
        padding: 46px 0 60px;
    }

    .mobio-home__intro {
        margin-bottom: 40px;
    }

    .mobio-tools {
        grid-template-columns: 1fr;
        gap: 18px;

        margin-bottom: 46px;
    }

    .mobio-tool {
        min-height: 0;
        padding: 26px;
    }

    .mobio-mtax {
        grid-template-columns: 1fr;
        gap: 20px;

        margin-bottom: 48px;
        padding: 30px 26px;
    }

    .mobio-mtax__label {
        font-size: 1.65rem;
    }
}

@media (max-width: 480px) {

    .mobio-home,
    body:has(.mobio-home) .molecular-intro {
        width: min(100% - 24px, 1160px);
    }

    .mobio-home {
        padding-top: 36px;
    }

    .mobio-home__lead {
        font-size: 1.08rem;
    }

    .mobio-tool {
        padding: 22px;
    }

    .mobio-mtax {
        padding: 24px 22px;
    }
}