/* CLOUD BOX — Box v2 S02 / Sticky Why. Intrinsic page flow; only Number + Title is an absolute overlap. */
body.cloudbox-self-hosted-page .self-hosted-why {
    position: relative;
    min-height: 3728px;
    padding-block: 120px;
    overflow: clip;
    background: var(--self-hosted-bg-light);
    color: var(--self-hosted-ink);
}

body.cloudbox-self-hosted-page .self-hosted-why::before {
    content: '';
    position: absolute;
    inset-block: 0;
    left: 50%;
    width: min(calc(100% - (var(--box-gutter) * 2)), var(--box-container-max));
    transform: translateX(-50%);
    pointer-events: none;
    background-image: repeating-linear-gradient(
        to right,
        transparent 0 calc(16.6666667% - 1px),
        rgba(15, 91, 76, .05) calc(16.6666667% - 1px) 16.6666667%
    );
}

body.cloudbox-self-hosted-page .self-hosted-why__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 620fr) minmax(0, 640fr);
    column-gap: clamp(40px, 4.6875vw, 90px);
    align-items: start;
    min-height: 3488px;
}

body.cloudbox-self-hosted-page .self-hosted-why__intro {
    position: sticky;
    top: var(--box-sticky-top, 96px);
    align-self: start;
    min-width: 0;
    min-height: 362px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

body.cloudbox-self-hosted-page .self-hosted-why .self-hosted-eyebrow {
    width: 100%;
    color: var(--self-hosted-green);
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0;
}

body.cloudbox-self-hosted-page .self-hosted-why__title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 35px;
    font-weight: 600;
    line-height: 44px;
    color: var(--self-hosted-ink);
}

body.cloudbox-self-hosted-page .self-hosted-why__title-line--desktop {
    display: block;
    width: 100%;
}

body.cloudbox-self-hosted-page .self-hosted-why__title-line--compact {
    display: none;
}

body.cloudbox-self-hosted-page .self-hosted-why__lead {
    width: min(100%, 618px);
    color: var(--self-hosted-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

body.cloudbox-self-hosted-page .self-hosted-why__intro > .self-hosted-button {
    width: 296px;
    height: 64px;
    flex: 0 0 64px;
    font-size: 17px;
    line-height: 18px;
}

body.cloudbox-self-hosted-page .self-hosted-why__reasons {
    min-width: 0;
    min-height: 3488px;
    padding-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
}

body.cloudbox-self-hosted-page .self-hosted-reason {
    min-width: 0;
    width: 100%;
    padding-block: 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

body.cloudbox-self-hosted-page .self-hosted-reason__heading {
    position: relative;
    width: 100%;
    height: 132px;
    flex: 0 0 132px;
    overflow: clip;
}

body.cloudbox-self-hosted-page .self-hosted-reason:nth-child(5) .self-hosted-reason__heading {
    height: 142px;
    flex-basis: 142px;
}

body.cloudbox-self-hosted-page .self-hosted-reason__number {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    color: rgba(199, 217, 209, .62);
    font-size: 86px;
    font-weight: 400;
    line-height: 82px;
}

body.cloudbox-self-hosted-page .self-hosted-reason__heading h3 {
    position: absolute;
    top: 38px;
    left: 30px;
    width: calc(100% - 30px);
    color: var(--self-hosted-ink);
    font-size: 35px;
    font-weight: 500;
    line-height: 44px;
    white-space: pre-line;
}

body.cloudbox-self-hosted-page .self-hosted-reason > p {
    width: min(100%, 600px);
    color: var(--self-hosted-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

body.cloudbox-self-hosted-page .self-hosted-reason__image {
    position: relative;
    width: 100%;
    aspect-ratio: 640 / 350;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px dashed #c9d2cd;
    background: #f3f5f3;
}

body.cloudbox-self-hosted-page .self-hosted-reason__image-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

body.cloudbox-self-hosted-page .self-hosted-reason__image.is-empty::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 91, 76, .04), rgba(244, 180, 0, .04));
}

@media (max-width: 1023.98px) {
    body.cloudbox-self-hosted-page .self-hosted-why {
        min-height: 2754px;
        padding-block: 90px;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__grid {
        grid-template-columns: minmax(0, 340fr) minmax(0, 341fr);
        column-gap: 40px;
        min-height: 2574px;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__intro {
        min-height: 470px;
        padding-top: 40px;
    }

    body.cloudbox-self-hosted-page .self-hosted-why .self-hosted-eyebrow {
        font-size: 11px;
        line-height: 16px;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__eyebrow-default {
        display: none;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__eyebrow-tablet {
        display: inline;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__title {
        gap: 1px;
        font-size: 28px;
        line-height: 34px;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__title-line--desktop,
    body.cloudbox-self-hosted-page .self-hosted-why .self-hosted-copy-desktop {
        display: none;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__title-line--compact {
        display: block;
        width: 100%;
    }

    body.cloudbox-self-hosted-page .self-hosted-why .self-hosted-copy-compact {
        display: inline;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__lead {
        width: min(100%, 320px);
        font-size: 15px;
        line-height: 23px;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__intro > .self-hosted-button {
        width: 275px;
        height: 58px;
        flex-basis: 58px;
        font-size: 14px;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__reasons {
        min-height: 2574px;
        padding-top: 12px;
        gap: 32px;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason {
        padding-top: 26px;
        padding-bottom: 28px;
        gap: 14px;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason__heading {
        height: 106px;
        flex-basis: 106px;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason:nth-child(n+3) .self-hosted-reason__heading {
        height: 144px;
        flex-basis: 144px;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason__number {
        font-size: 64px;
        line-height: 60px;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason__heading h3 {
        top: 30px;
        left: 22px;
        width: calc(100% - 22px);
        font-size: 30px;
        line-height: 36px;
        white-space: normal;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason > p {
        width: min(100%, 325px);
        font-size: 15px;
        line-height: 23px;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason__image {
        aspect-ratio: 341 / 186;
    }
}

@media (max-width: 767.98px) {
    body.cloudbox-self-hosted-page .self-hosted-why {
        min-height: 2819px;
        padding-block: 72px;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__grid {
        display: flex;
        flex-direction: column;
        gap: 56px;
        min-height: 2675px;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__intro {
        position: static;
        width: 100%;
        min-height: 383px;
        padding-top: 0;
        align-items: center;
        gap: 18px;
        text-align: center;
    }

    body.cloudbox-self-hosted-page .self-hosted-why .self-hosted-eyebrow {
        font-size: 10.5px;
        line-height: 15px;
        text-align: center;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__eyebrow-default {
        display: inline;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__eyebrow-tablet {
        display: none;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__title {
        width: 100%;
        gap: 0;
        align-items: center;
        font-size: 30px;
        line-height: 36px;
        text-align: center;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__title-line--compact {
        text-align: center;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__lead {
        width: 100%;
        font-size: 14px;
        line-height: 22px;
        text-align: center;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__intro > .self-hosted-button {
        width: 100%;
        height: 60px;
        flex-basis: 60px;
        font-size: 14px;
    }

    body.cloudbox-self-hosted-page .self-hosted-why__reasons {
        width: 100%;
        min-height: 2236px;
        padding-top: 0;
        gap: 28px;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason {
        width: 100%;
        padding-top: 24px;
        padding-bottom: 26px;
        gap: 12px;
        align-items: center;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason__heading,
    body.cloudbox-self-hosted-page .self-hosted-reason:nth-child(n+3) .self-hosted-reason__heading {
        height: 95px;
        flex-basis: 95px;
        text-align: center;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason:nth-child(5) .self-hosted-reason__heading {
        height: 129px;
        flex-basis: 129px;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason__number {
        left: 50%;
        transform: translateX(-50%);
        font-size: 58px;
        line-height: 54px;
        text-align: center;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason__heading h3 {
        top: 27px;
        left: 50%;
        width: 100%;
        transform: translateX(-50%);
        font-size: 28px;
        line-height: 34px;
        text-align: center;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason > p {
        width: 100%;
        font-size: 14px;
        line-height: 22px;
        text-align: center;
    }

    body.cloudbox-self-hosted-page .self-hosted-reason__image {
        width: 100%;
        aspect-ratio: 335 / 183;
    }
}
