.hero
{
    position: relative;
    min-height: 720px;
    padding: 8rem 2rem 7rem;
    overflow: hidden;
    background: #f7f8f6;
    border-bottom: 1px solid var(--border);
}

.hero::before
{
    position: absolute;

    top: 50%;
    left: calc(50% + 10%);

    width: 1050px;

    aspect-ratio: 3 / 2;

    content: "";

    background:
        linear-gradient(
            90deg,
            rgba(247,248,246,.10) 0%,
            rgba(247,248,246,0) 40%
        ),
        url("/images/mentaxonomyhero.png") center / contain no-repeat;

    opacity: .42;

    transform: translate(-50%, -50%);

    pointer-events: none;
}
.hero__inner
{
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero__eyebrow,
.component-card__label
{
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__title
{
    max-width: 850px;
    margin: 0 auto;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero__description
{
    max-width: 750px;
    margin: 2rem auto 0;
    color: var(--text);
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    line-height: 1.45;
}

.hero__summary
{
    max-width: 680px;
    margin: 1rem auto 0;
    color: var(--text-light);
    font-size: 1.05rem;
}

.hero__actions
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}



.components,
.architecture,
.origin
{
    padding: 7rem 0;
}



.tree-of-life__heading h2,
.origin h2
{
    margin-bottom: 1.25rem;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.tree-of-life__heading p:last-child,
.origin__inner > p
{
    color: var(--text-light);
    font-size: 1.12rem;
}

.components__grid
{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.component-card
{
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
}

.component-card__heading
{
    margin-bottom: 1.5rem;
}

.component-card__label
{
    margin-bottom: 0.5rem;
}

.component-card h3
{
    font-size: 2rem;
    line-height: 1.15;
}

.component-card > p
{
    color: var(--text-light);
}

.component-card ul
{
    margin: 1.75rem 0;
    padding-left: 1.25rem;
}

.component-card li
{
    margin-bottom: 0.65rem;
}

.component-card__providers
{
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.component-card__link
{
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: auto;
    padding-top: 2rem;
    font-weight: 700;
}



.architecture
{
    padding-top: 7rem;
    background: #ffffff;
}

.architecture-pipeline
{
    max-width: 900px;
    margin: 4rem auto 0;
}

.architecture-pipeline__application
{
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 2.5rem;

    color: var(--text);
    font-size: 1.35rem;
    font-weight: 700;

    background: #ffffff;
    border: 1px solid var(--text);
    border-radius: .5rem;
}

.architecture-pipeline__split
{
    position: relative;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;

    margin-top: 5rem;
}

.architecture-pipeline__split::before
{
    position: absolute;
    top: -3rem;
    left:23.83%;

    width: 52.53%;
    height: 1px;

    content: "";

    background: var(--architecture-line);
}

.architecture-pipeline__split::after
{
    position: absolute;
    top: -5rem;
    left: 50%;

    width: 1px;
    height: 2rem;

    content: "";

    background: var(--architecture-line);
}

.architecture-pipeline__branch
{
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.architecture-pipeline__branch::before
{
    position: absolute;
    top: -3rem;
    left: 50%;

    width: 1px;
    height: 3rem;

    content: "";

    background: var(--architecture-line);
}

.architecture-pipeline__label
{
    position: relative;
    z-index: 1;

    display: block;

    margin-top: 1rem;
    margin-bottom: .75rem;
    padding: 0 .75rem;

    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;

    background: #ffffff;
}

.architecture-pipeline__component
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 170px;
    padding: 2rem;

    text-align: center;

    background: #f7f8f6;
    border: 1px solid var(--border);
    border-radius: .6rem;
}

.architecture-pipeline__component strong
{
    margin-bottom: .5rem;

    color: var(--text);
    font-size: 1.5rem;
    line-height: 1.2;
}

.architecture-pipeline__component span
{
    color: var(--text-light);
    font-size: 1rem;
}

.origin
{
    color: #ffffff;
    background: #202722;
}

.origin__inner
{
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 5rem;
    align-items: start;
}

.origin .section-heading__eyebrow
{
    color: #9fc7aa;
}

.origin__inner > p
{
    color: rgba(255, 255, 255, 0.74);
}

.origin__description
{
    padding-top: 2rem;
}

.origin__description p
{
    margin: 0;

    max-width: 38rem;

    color: rgba(255,255,255,.76);

    font-size: 1.12rem;

    line-height: 1.75;
}



.origin__title
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
}

.origin__title h2
{
    margin: 0;
}

.origin__menta-logo
{
    height: 70px;
    width: auto;

    margin-left: 1.5rem;

    opacity: .9;
}

.origin a
{
    color: #52b874;
    font-weight: 600;
    text-decoration: none;

    transition: color .2s ease;
}

.origin a:hover
{
    color: #6bc98a;
        text-decoration: underline;

    text-underline-offset: .15em;
}
@media (max-width: 1100px)
{
    .hero::before
    {
        left: calc(50% + 190px);
        width: 820px;
        opacity: 0.64;
    }
}

@media (max-width: 800px)
{
        .origin__menta-logo
        {
            height: 46px;
        }

        .hero
        {
            min-height: auto;
            padding: 6rem 1.5rem 5rem;
        }

        .hero::before
        {
            top: 54%;
            left: 58%;
            width: 760px;
            opacity: 0.34;
            transform: translate(-50%, -50%);
            background:
                linear-gradient(
                    90deg,
                    rgba(247, 248, 246, 0.18) 0%,
                    rgba(247, 248, 246, 0.06) 35%,
                    rgba(247, 248, 246, 0) 70%
                ),
                url("/images/mentaxonomyhero.png") center / contain no-repeat;
        }
    .hero__title br
    {
        display: none;
    }

    .components,
    .architecture,
    .origin
    {
        padding: 5rem 0;
    }

    .components__grid,
    .architecture-diagram__components,
    .origin__inner
    {
        grid-template-columns: 1fr;
    }

    .tree-of-life
    {
        padding-top: 5rem;
    }

    .tree-of-life__image
    {
        margin-bottom: -2rem;
    }

    .architecture
    {
        padding-top: 7rem;
    }

    .architecture-diagram__connector
    {
        width: 1px;
        height: 3rem;
        border: 0;
        background: var(--border);
    }

    .architecture-diagram__connector::before
    {
        display: none;
    }


        .architecture-pipeline

    {

        margin-top: 3rem;

    }

    .architecture-pipeline__split

    {

        grid-template-columns: 1fr;

        gap: 2rem;

        margin-top: 3rem;

    }

    .architecture-pipeline__split::before,

    .architecture-pipeline__split::after,

    .architecture-pipeline__branch::before

    {

        display: none;

    }

    .architecture-pipeline__branch

    {

        align-items: stretch;

    }

    .architecture-pipeline__component

    {

        min-height: auto;

    }
    
    .origin__inner
    {
        gap: 1.5rem;
    }
}

@media (max-width: 520px)
{
    .hero__actions
    {
        flex-direction: column;
    }


    .component-card
    {
        padding: 1.75rem;
    }
}