/* Homepage layouts; shared branding lives in style.css. */
.home-hero {
    padding: 76px 0 72px;
}

.home-hero__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-mint-deep);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
}

.eyebrow > span {
    width: 22px;
    height: 1px;
    background: currentColor;
}

.home-hero h1 {
    margin: 25px 0 25px;
    font-size: clamp(40px, 4.3vw, 60px);
    font-weight: 650;
    line-height: 1.28;
    letter-spacing: -.045em;
}

.home-hero h1 span {
    color: var(--color-mint-deep);
}

.home-hero__intro {
    color: var(--color-text-mid);
    font-size: 16px;
    line-height: 1.95;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-height: 50px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background .18s ease, transform .18s ease;
}

.button--primary {
    background: var(--color-text);
    color: #fff;
}

.button--primary:hover {
    background: var(--color-mint-deep);
    transform: translateY(-2px);
}

.button--text {
    gap: 15px;
    padding-left: 0;
    padding-right: 0;
}

.button--text:hover {
    color: var(--color-mint-deep);
}

.home-hero__note {
    display: flex;
    gap: 15px;
    margin-top: 43px;
    font-size: 12px;
    color: var(--color-text-soft);
}

.home-hero__note > span {
    color: var(--color-mint-deep);
    font-variant-numeric: tabular-nums;
    letter-spacing: .08em;
}

.solution-map {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: 28px;
    border: 1px solid #284e40;
    border-radius: 8px;
    color: #f7f8f4;
    background-color: #163c32;
    background-image: radial-gradient(#a5bead25 .7px, transparent .7px);
    background-size: 16px 16px;
    box-shadow: 0 20px 45px -30px #163c3260;
}

.solution-map__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #bacab9;
    font-size: 10px;
    letter-spacing: .15em;
}

.solution-map__top > span:last-child {
    color: var(--color-gold);
    font-size: 22px;
    line-height: 1;
}

.solution-map__title {
    margin: 20px 0 29px;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: .02em;
}

.solution-map__providers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    position: relative;
    z-index: 1;
}

.solution-map__providers > span {
    padding: 10px 2px;
    border: 1px solid #537160;
    border-radius: 4px;
    background: #234939;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.solution-map__connector {
    display: flex;
    justify-content: space-between;
    height: 44px;
    margin: 0 12.5%;
    border-bottom: 1px solid #799479;
}

.solution-map__connector span {
    width: 1px;
    height: 44px;
    background: #799479;
}

.solution-map__hub {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 20px;
    padding: 20px 19px;
    border: 1px solid #f7f8f4;
    border-radius: 5px;
    color: #163c32;
    background: #f4f5ed;
    position: relative;
    z-index: 1;
}

.solution-map__hub::before {
    content: "";
    width: 1px;
    height: 21px;
    position: absolute;
    top: -22px;
    left: 50%;
    background: #799479;
}

.solution-map__mark {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    width: 43px;
    height: 43px;
    justify-content: center;
    border: 1px solid #dce3d9;
    border-radius: 4px;
    font-size: 17px;
    letter-spacing: -.08em;
    font-weight: 700;
}

.solution-map__mark > span {
    color: #8c743d;
    font-size: 14px;
    align-self: start;
    margin-top: 6px;
}

.solution-map__hub strong {
    display: block;
    font-size: 18px;
    letter-spacing: .06em;
    font-weight: 600;
}

.solution-map__hub div > span {
    display: block;
    margin-top: 2px;
    color: #53665e;
    font-size: 11px;
}

.solution-map__hub-arrow {
    margin-left: auto;
    font-size: 23px;
    color: #287a5b;
}

.solution-map__branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 38px;
}

.solution-map__branches > span {
    width: 1px;
    height: 38px;
    background: #799479;
    justify-self: center;
}

.solution-map__outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
    z-index: 1;
}

.solution-map__outcomes > span {
    text-align: center;
    padding: 10px 0;
    border: 1px solid #66846c;
    border-radius: 4px;
    background: #234939;
    color: #e0e8d9;
    font-size: 12px;
}

.solution-map__landscape {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 110px;
    bottom: -8px;
    left: 0;
    stroke: #d6b66b;
    stroke-width: .7px;
    opacity: .3;
}

.solution-map figcaption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 38px;
    font-size: 10px;
    color: #bacab9;
    letter-spacing: .06em;
}

.home-services {
    padding: 64px 0 68px;
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.home-section-heading h2 {
    margin-top: 12px;
    font-size: 31px;
    line-height: 1.4;
    letter-spacing: -.025em;
    font-weight: 600;
}

.home-section-heading > p {
    font-size: 14px;
    color: var(--color-text-mid);
    line-height: 1.8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 27px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: #fafbf8;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #9aae9e;
    box-shadow: 0 12px 25px -22px #163c3260;
}

.service-card--featured {
    background: #eaf0e5;
    border-color: #bdceba;
}

.service-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.service-card__number {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .07em;
    color: #607361;
    white-space: nowrap;
}

.service-status {
    font-size: 11px;
    color: #286342;
    white-space: nowrap;
}

.service-status::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 6px 2px 0;
    border-radius: 50%;
    background: currentColor;
}

.service-status--pilot {
    color: #6d705c;
}

.service-card__icon {
    width: 49px;
    height: 49px;
    margin: 34px 0 24px;
    stroke: #427052;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    margin-bottom: 17px;
    font-size: clamp(22px, 2vw, 27px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -.025em;
}

.service-card__desc {
    font-size: 14px;
    color: var(--color-text-mid);
    line-height: 1.9;
    margin-bottom: 20px;
}

.service-card__detail {
    margin-top: auto;
    padding-bottom: 25px;
    color: #62705f;
    font-size: 12px;
    line-height: 1.9;
}

.service-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid #d4dfce;
}

.service-card__bottom strong {
    font-size: 25px;
    line-height: 1.4;
    font-weight: 550;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.service-card__bottom p > span {
    display: block;
    font-size: 11px;
    color: #596956;
    margin-top: 4px;
}

.service-card__bottom a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid #c2cebc;
    border-radius: 50%;
    font-size: 20px;
    transition: background .18s ease, color .18s ease;
}

.service-card__bottom a:hover {
    background: #163c32;
    color: #fff;
}

.service-card--featured .service-card__bottom a {
    border-color: #163c32;
    color: #fff;
    background: #163c32;
}

.service-card--featured .service-card__bottom a:hover {
    background: #287a5b;
}

.home-facts {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.home-facts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr 1fr;
    align-items: center;
    gap: 32px;
}

.home-facts__grid > div {
    padding-right: 24px;
    border-right: 1px solid #d2ddce;
}

.home-facts__value {
    font-size: 31px;
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.home-facts__value > span {
    margin-left: 5px;
    font-size: 15px;
    letter-spacing: 0;
}

.home-facts__grid > div > p:last-child {
    margin-top: 6px;
    font-size: 12px;
    color: var(--color-text-mid);
}

.home-facts__grid > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.home-facts__grid > a:hover {
    color: var(--color-mint-deep);
}

.home-contact {
    padding: 63px 0;
    color: #f7f8f4;
    background: #163c32;
}

.home-contact__layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 40px;
}

.home-contact .eyebrow {
    color: #d6b66b;
    font-size: 12px;
    letter-spacing: .08em;
}

.home-contact h2 {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -.025em;
    margin: 18px 0 15px;
}

.home-contact__layout > div > p:last-child {
    color: #c1cfc1;
    font-size: 14px;
}

.home-contact__actions {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 23px;
}

.button--light {
    background: #f1f3e9;
    color: #163c32;
}

.button--light:hover {
    background: #dce7d4;
    transform: translateY(-2px);
}

.home-contact__secondary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    color: #d4dfce;
    font-size: 13px;
}

.home-contact__secondary:hover {
    color: #fff;
}

.home-contact a:focus-visible {
    outline-color: #d6b66b;
}

@media (max-width: 1100px) {
    .home-hero__layout {
        gap: 36px;
    }

    .home-hero h1 {
        font-size: 45px;
    }

    .solution-map {
        padding: 23px;
    }

    .service-card {
        padding: 23px;
    }

    .service-card__top {
        align-items: start;
        flex-direction: column;
    }

    .home-facts__grid {
        gap: 20px;
    }

}

@media (max-width: 800px) {

    .home-hero {
        padding: 44px 0 48px;
    }

    .home-hero__layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .home-hero h1 {
        font-size: clamp(38px, 6.8vw, 52px);
        margin-top: 22px;
    }

    .home-hero__note {
        margin-top: 26px;
    }

    .solution-map {
        width: 100%;
        max-width: 550px;
        justify-self: center;
        padding: 28px;
    }

    .home-services {
        padding: 44px 0;
    }

    .home-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 27px;
    }

    .home-section-heading h2 {
        font-size: 28px;
    }

    .home-section-heading > p br {
        display: none;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 27px;
    }

    .service-card__top {
        flex-direction: row;
        align-items: center;
    }

    .service-card__icon {
        margin: 26px 0 18px;
        width: 43px;
        height: 43px;
    }

    .service-card h3 {
        font-size: 25px;
    }

    .service-card__desc {
        margin-bottom: 15px;
    }

    .service-card__detail {
        padding-bottom: 20px;
    }

    .service-card__bottom {
        padding-top: 18px;
    }

    .home-facts__grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px 18px;
    }

    .home-facts__grid > div {
        padding-right: 0;
        border: 0;
    }

    .home-facts__value {
        font-size: 29px;
    }

    .home-facts__grid > a {
        align-self: end;
        min-height: 44px;
    }

    .home-contact {
        padding: 43px 0;
    }

    .home-contact__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-contact h2 {
        font-size: 29px;
    }

    .home-contact__actions {
        justify-self: start;
    }

}

@media (max-width: 400px) {

    .home-hero h1 {
        font-size: 36px;
    }

    .home-hero__actions {
        gap: 16px;
    }

    .button {
        gap: 18px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .button--text {
        padding-left: 0;
        padding-right: 0;
    }

    .home-hero__intro {
        font-size: 15px;
    }

    .desktop-break {
        display: none;
    }

    .home-hero__note {
        font-size: 11px;
        gap: 10px;
    }

    .solution-map {
        padding: 21px 17px;
    }

    .solution-map__title {
        font-size: 19px;
    }

    .solution-map__providers {
        gap: 5px;
    }

    .solution-map__providers > span {
        font-size: 10px;
    }

    .solution-map__hub {
        padding: 17px 12px;
        gap: 10px;
    }

    .solution-map__hub div > span {
        font-size: 10px;
    }

    .solution-map__outcomes {
        gap: 8px;
    }

    .service-card {
        padding: 23px;
    }

    .home-section-heading h2 {
        font-size: 25px;
    }

}
