.home-page {
    overflow: clip;
}

.home-hero {
    position: relative;
    display: grid;
    min-height: clamp(42rem, 82vh, 58rem);
    isolation: isolate;
    color: var(--fudi-color-on-ink);
}

.home-hero__image,
.home-hero__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__image {
    object-fit: cover;
}

.home-hero__overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(11, 11, 11, 0.99) 0%, rgba(11, 11, 11, 0.0) 70%, rgba(11, 11, 11, 0.65) 100%);
}

.home-hero__content {
    display: flex;
    align-items: center;
    padding-block: clamp(6rem, 12vw, 10rem);
}

.home-hero__copy {
    width: min(100%, 45rem);
}

.home-eyebrow {
    margin: 0 0 var(--fudi-space-4);
    color: var(--fudi-color-brand-deep);
    font-size: var(--fudi-text-sm);
    font-weight: 850;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.home-hero .home-eyebrow,
.home-process .home-eyebrow {
    color: var(--fudi-color-accent);
}

.home-hero h1 {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.75rem);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 0.97;
}

.home-hero__lede {
    max-width: 39rem;
    margin: var(--fudi-space-6) 0 0;
    color: #e5e9e7;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--fudi-space-5);
    margin-top: var(--fudi-space-6);
}

.home-actions button {
    border: 0;
    cursor: pointer;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: var(--fudi-space-2);
    color: var(--fudi-color-brand-deep);
    font-weight: 800;
    text-decoration: none;
}

.home-text-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.home-text-link--light {
    color: var(--fudi-color-on-ink);
}

.home-section-heading .home-text-link,
.home-benefit__copy .home-text-link,
.home-process>.site-container>.home-text-link {
    margin-top: var(--fudi-space-5);
}

.home-community {
    min-height: clamp(38rem, 67vw, 53rem);
    background: var(--fudi-color-ink);
    color: var(--fudi-color-on-ink);
}

.home-community__stage {
    position: relative;
    display: grid;
    min-height: inherit;
    place-items: center;
    padding-block: clamp(8rem, 15vw, 12rem);
}

.home-community h2 {
    position: relative;
    z-index: 2;
    width: min(100% - 10rem, 66rem);
    margin: 0;
    color: #c9d5d1;
    font-size: clamp(1.8rem, 3.5vw, 3.25rem);
    font-weight: 760;
    letter-spacing: -0.035em;
    line-height: 1.32;
    text-align: center;
}

.home-community__avatars {
    position: absolute;
    inset: 0;
}

.home-community__avatar {
    position: absolute;
    width: clamp(3.25rem, 5.4vw, 5rem);
    height: clamp(3.25rem, 5.4vw, 5rem);
    aspect-ratio: 1;
    border: 0.25rem solid #35413e;
    border-radius: 50%;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.3);
    object-fit: cover;
    animation: home-avatar-float 9s ease-in-out infinite alternate;
}

.home-community__avatar--1 {
    top: 12%;
    left: 5%;
}

.home-community__avatar--2 {
    top: 9%;
    left: 28%;
    animation-delay: -1s;
}

.home-community__avatar--3 {
    top: 16%;
    right: 19%;
    animation-delay: -5s;
}

.home-community__avatar--4 {
    top: 11%;
    right: 3%;
    animation-delay: -3s;
}

.home-community__avatar--5 {
    top: 24%;
    left: 5%;
    animation-delay: -4s;
}

.home-community__avatar--6 {
    top: 48%;
    left: 2%;
    animation-delay: -7s;
}

.home-community__avatar--7 {
    top: 24%;
    right: 2%;
    animation-delay: -2s;
}

.home-community__avatar--8 {
    top: 49%;
    right: 0;
    animation-delay: -6s;
}

.home-community__avatar--9 {
    bottom: 11%;
    left: 9%;
    animation-delay: -8s;
}

.home-community__avatar--10 {
    bottom: 8%;
    left: 33%;
    animation-delay: -3s;
}

.home-community__avatar--11 {
    bottom: 10%;
    right: 25%;
    animation-delay: -5s;
}

.home-community__avatar--12 {
    bottom: 8%;
    right: 4%;
    animation-delay: -1s;
}

@keyframes home-avatar-float {
    from {
        transform: translate3d(0, -0.35rem, 0);
    }

    to {
        transform: translate3d(0, 0.65rem, 0);
    }
}

.home-benefits {
    padding-block: clamp(5rem, 9vw, 9rem);
    background: var(--fudi-color-page);
}

.home-section-heading {
    width: min(100%, 48rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.home-section-heading h2 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    letter-spacing: -0.05em;
    line-height: 1.02;
}

.home-section-heading>p:last-child {
    max-width: 39rem;
    margin: var(--fudi-space-5) 0 0;
    color: var(--fudi-color-text-muted);
    font-size: var(--fudi-text-lg);
}

.home-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fudi-space-5);
    margin-top: var(--fudi-space-5);
}

.home-benefit {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--fudi-color-border);
    border-radius: var(--fudi-radius-lg);
    background: var(--fudi-color-surface);
    box-shadow: 0 1rem 3rem rgba(16, 24, 22, 0.06);
}

.home-benefit--large {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    min-height: 39rem;
}

.home-benefit--wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.home-benefit__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.home-benefit__number,
.home-process__steps>li>span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding-inline: var(--fudi-space-3);
    border-radius: var(--fudi-radius-pill);
    background: var(--fudi-color-accent);
    color: var(--fudi-color-ink);
    font-family: var(--fudi-font-mono);
    font-size: var(--fudi-text-sm);
    font-weight: 800;
}

.home-benefit h3 {
    max-width: 18ch;
    margin: var(--fudi-space-5) 0 0;
    font-size: clamp(1.8rem, 3.3vw, 3rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.home-benefit p {
    max-width: 35rem;
    margin: var(--fudi-space-4) 0 0;
    color: var(--fudi-color-text-muted);
    font-size: var(--fudi-text-lg);
}

.home-benefit__media {
    min-height: 22rem;
    background: var(--fudi-color-surface-muted);
}

.home-benefit__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-benefit__media--portrait {
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--fudi-color-brand-deep);
}

.home-benefit__media--portrait img {
    max-width: 20rem;
    margin-inline: auto;
    border: 0.55rem solid var(--fudi-color-ink);
    border-radius: 2.25rem;
    box-shadow: var(--fudi-shadow-overlay);
    object-fit: cover;
}

.home-benefit__carousel {
    position: relative;
    display: grid;
    place-items: center;
}

.home-benefit__phone {
    display: grid;
    width: min(100%, 20rem);
    aspect-ratio: 1179 / 2556;
    overflow: hidden;
    border: 0.55rem solid var(--fudi-color-ink);
    border-radius: 2.25rem;
    background: var(--fudi-color-surface);
    box-shadow: var(--fudi-shadow-overlay);
}

.home-benefit__carousel .home-benefit__carousel-image {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    max-width: none;
    border: 0;
    border-radius: 1.65rem;
    box-shadow: none;
    object-fit: cover;
    animation: home-benefit-crossfade 8s infinite ease-in-out;
}

.home-benefit__carousel .home-benefit__carousel-image--second {
    opacity: 0;
    animation-delay: -4s;
}

@keyframes home-benefit-crossfade {
    0%,
    40% {
        opacity: 1;
    }

    50%,
    90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.home-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fudi-space-5);
    margin-top: var(--fudi-space-6);
    padding: var(--fudi-space-6);
    border-top: 1px solid var(--fudi-color-border);
    border-bottom: 1px solid var(--fudi-color-border);
}

.home-inline-cta p {
    margin: 0;
    font-size: var(--fudi-text-xl);
    font-weight: 750;
}

.home-inline-cta button {
    flex: 0 0 auto;
    border: 0;
    cursor: pointer;
}

.home-process {
    padding-bottom: clamp(5rem, 9vw, 9rem);
    background: var(--fudi-color-ink-raised);
    color: var(--fudi-color-on-ink);
}

.home-process__image-wrap {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 12 / 5;
    max-height: 36rem;
}

.home-process__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-section-heading--process {
    margin-top: clamp(4rem, 7vw, 7rem);
}

.home-section-heading--process>p:last-child {
    color: var(--fudi-color-on-ink-muted);
}

.home-process__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fudi-space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-process__steps li {
    padding: var(--fudi-space-6) 0;
    border-top: 1px solid var(--fudi-color-ink-border);
}

.home-process__steps h3 {
    margin: var(--fudi-space-5) 0 0;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.2;
}

.home-process__steps p {
    margin: var(--fudi-space-3) 0 0;
    color: var(--fudi-color-on-ink-muted);
}

.home-final-cta {
    position: relative;
    display: grid;
    min-height: clamp(32rem, 52vw, 46rem);
    isolation: isolate;
    color: var(--fudi-color-on-ink);
}

.home-final-cta>img,
.home-final-cta__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-final-cta>img {
    object-fit: cover;
}

.home-final-cta__overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 77, 64, 0.96), rgba(0, 77, 64, 0.58));
}

.home-final-cta__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: var(--fudi-space-8);
}

.home-final-cta h2 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 5rem);
    letter-spacing: -0.05em;
    line-height: 1.02;
}

@media (max-width: 64rem) {
    .home-community h2 {
        width: min(100% - 5rem, 54rem);
    }

    .home-community__avatar--6,
    .home-community__avatar--8 {
        display: none;
    }

    .home-benefit--large,
    .home-benefit--wide {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 48rem) {
    .home-hero {
        min-height: 44rem;
    }

    .home-hero__overlay {
        background: linear-gradient(180deg, rgba(11, 11, 11, 0.65), rgba(11, 11, 11, 0.97) 68%);
    }

    .home-hero__content {
        align-items: flex-end;
        padding-bottom: 5rem;
    }

    .home-community {
        min-height: 36rem;
    }

    .home-community__stage {
        padding-block: 9rem;
    }

    .home-community h2 {
        width: 100%;
        font-size: clamp(1.65rem, 6.7vw, 2.3rem);
    }

    .home-community__avatar {
        width: clamp(3rem, 14vw, 4rem);
        height: clamp(3rem, 14vw, 4rem);
    }

    .home-community__avatar--2 {
        top: 7%;
        left: 43%;
    }

    .home-community__avatar--4 {
        top: 11%;
        right: 4%;
    }

    .home-community__avatar--6 {
        display: block;
        top: 8%;
        left: 4%;
    }

    .home-community__avatar--7 {
        display: block;
        top: auto;
        right: 4%;
        bottom: 8%;
    }

    .home-community__avatar--9 {
        bottom: 7%;
        left: 4%;
    }

    .home-community__avatar--10 {
        bottom: 4%;
        left: 42%;
    }

    .home-community__avatar--1,
    .home-community__avatar--3,
    .home-community__avatar--5,
    .home-community__avatar--8,
    .home-community__avatar--11,
    .home-community__avatar--12 {
        display: none;
    }

    .home-benefit--large,
    .home-benefit--wide,
    .home-benefits__grid,
    .home-process__steps {
        grid-template-columns: 1fr;
    }

    .home-benefit--wide {
        grid-column: auto;
    }

    .home-benefit--large .home-benefit__media,
    .home-benefit--wide .home-benefit__media {
        order: -1;
    }

    .home-inline-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-process__image-wrap {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 30rem) {
    .home-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-actions .site-button,
    .home-actions .home-text-link {
        width: 100%;
        justify-content: center;
    }

    .home-benefit__copy,
    .home-benefit__media--portrait {
        padding: var(--fudi-space-5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-community__avatar {
        animation: none;
    }

    .home-benefit__carousel-image {
        animation: none !important;
    }

    .home-benefit__carousel-image--second {
        display: none;
    }
}
