
.home-hero {
    background: var(--primary-blue);
    color: var(--white);
    position: relative;
    padding: 36px 0 40px;
}

.home-hero__inner {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr minmax(0, 612px) 1fr;
    min-height: 481px;
}

.home-hero__content {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.home-hero h1 {
    font-family: var(--font-title);
    font-size: clamp(42px, 5vw, 60px);
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin: 0;
    text-wrap: balance;
}

.home-hero__figure {
    position: relative;
}

.home-hero__figure--mobile {
    display: none;
}

.home-hero__figure img {
    display: block;
    margin-inline: auto;
    max-height: 300px;
    object-fit: contain;
}

.home-hero__figure--left {
    background: var(--line-white1) no-repeat 0 100%;
}

.home-hero__figure--right {
    background: var(--line-white2) no-repeat -50px -50px;
    background-position: -85px -70px;
}

.lesson-cta-card--accent .pill-button {
    background: var(--white);
    color: var(--primary-red);
}

@media (max-width: 1100px) {
    .home-hero__inner {
        grid-template-columns: 240px minmax(0, 1fr) 240px;
        min-height: 430px;
    }

    .lesson-cta-card .pill-button {
        grid-column: 1/-1;
        width: fit-content;
    }
}

@media (max-width: 760px) {
    .home-hero {
        padding: 40px 0 60px;
    }

    .home-hero__inner {
        gap: 12px;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-hero__content {
        gap: 20px;
        order: 1;
    }

    .home-hero__figure {
        max-width: 360px;
        width: 100%;
    }

    .home-hero__figure--mobile {
        display: block;
        justify-self: stretch;
        order: -1;
        margin: 0 auto;
        background: var(--line-white1) no-repeat 0 100%;
    }

    .home-hero__figure--left {
        display: none;
    }

    .home-hero__figure--right {
        display: none;
    }

    .home-hero__figure--extra {
        display: none;
    }

    .home-hero__figure--mobile img {
        margin-inline: unset;
        max-height: none;
        transform: none;
        width: min(268px, 74vw);
    }

    .home-hero h1 {
        font-size: 44px;
        line-height: 1.2;
        text-align: center;
    }

    .home-hero .pill-button {
        min-width: 136px;
        width: auto;
    }

    .lesson-cta-card .pill-button {
        width: 100%;
    }
}
