.osb-hero {
    position: relative;
    width: 100%;
    padding: var(--osb-hero-pad-top-d, 21rem) 21rem var(--osb-hero-pad-bottom-d, 0rem);
    background: #fff;
}

.osb-hero__shell {
    position: relative;
    min-height: 1008rem;
    overflow: hidden;
    border-radius: 30rem;
    isolation: isolate;
    contain: paint;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    background-color: var(--osb-hero-bg-color, #f5f8fc);
    background-image: var(--osb-hero-bg-desktop, none);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.osb-hero__content {
    position: absolute;
    z-index: 5;
    top: 230rem;
    left: 145rem;
    width: 893rem;
}

.osb-hero__title {
    width: 692rem;
    margin: 0;
    color: #333;
    font-family: var(--os-font-main, "Tilda Sans", "Mulish", Arial, sans-serif);
    font-size: 64rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0;
}

.osb-hero__title b,
.osb-hero__title strong {
    font-weight: 800;
}

.osb-hero__subtitle {
    width: 588rem;
    margin-top: 20rem;
    color: #555;
    font-size: 24rem;
    line-height: 1.4;
    font-weight: 500;
}

.osb-hero__subtitle b,
.osb-hero__subtitle strong {
    font-weight: 800;
}

.osb-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 31rem;
    min-width: 448rem;
    min-height: 89rem;
    margin-top: 40rem;
    padding: 20rem 52rem;
    overflow: hidden;
    border: 0;
    border-bottom: 4rem solid #dbad68;
    border-radius: 15rem;
    background: linear-gradient(180deg, #ffd79a 0%, #ffbc57 100%);
    color: #222;
    font-size: 24rem;
    line-height: 23rem;
    font-weight: 700;
    letter-spacing: .48rem;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.osb-hero__button:hover,
.osb-hero__button:focus-visible {
    transform: translateY(-2rem);
    box-shadow: 0 12rem 24rem rgba(163, 109, 28, .18);
}

.osb-hero__button img {
    width: 21rem;
    height: 20rem;
    flex: 0 0 auto;
}

.osb-hero__person {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 801rem;
    display: block;
    width: 878rem;
    height: 853rem;
    pointer-events: none;
}

.osb-hero__person img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.osb-hero__metric {
    position: absolute;
    z-index: 6;
    top: 495rem;
    left: 1379rem;
    width: 246rem;
    padding: 30rem;
    border-radius: 15rem;
    background: #fff;
    color: #333;
}

.osb-hero__metric-value {
    font-size: 37rem;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.osb-hero__metric-value sup {
    font-size: .65em;
    line-height: 0;
}

.osb-hero__metric-text {
    margin-top: 10rem;
    font-size: 20rem;
    line-height: 1.2;
}

.osb-hero__triggers {
    position: absolute;
    z-index: 7;
    left: 145rem;
    top: 738rem;
    display: grid;
    grid-template-columns: repeat(var(--osb-hero-trigger-count, 3), minmax(0, 1fr));
    gap: 20rem;
    width: 1107rem;
}

.osb-hero__triggers--count-3 {
    grid-template-columns: minmax(0, 1fr) 330rem minmax(0, 1fr);
}

.osb-hero__trigger {
    display: flex;
    align-items: center;
    gap: 20rem;
    min-width: 0;
    min-height: 110rem;
    padding: 20rem;
    border-radius: 15rem;
    background: rgba(255,255,255,.96);
}

.osb-hero__trigger-icon {
    width: 70rem;
    height: 70rem;
    flex: 0 0 70rem;
    overflow: hidden;
    border-radius: 5rem;
}

.osb-hero__trigger-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.osb-hero__trigger-text {
    min-width: 0;
    color: #333;
    font-size: 20rem;
    line-height: 25rem;
    font-weight: 400;
}

.osb-hero__trigger-text b,
.osb-hero__trigger-text strong {
    font-weight: 700;
}


/* Compact mode: the hero is sized only by its in-flow content.
 * Backgrounds and the person image are decorative and never set the section height. */
.osb-hero--compact .osb-hero__shell {
    display: block;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

.osb-hero--compact .osb-hero__content,
.osb-hero--compact.osb-hero--has-person .osb-hero__content {
    position: relative;
    z-index: 5;
    top: auto;
    left: auto;
    width: 893rem;
    max-width: calc(100% - 290rem);
    margin-left: 145rem;
    padding: 100rem 0 80rem;
}

.osb-hero--compact.osb-hero--has-person .osb-hero__content {
    width: 760rem;
    max-width: calc(100% - 860rem);
}

.osb-hero--compact .osb-hero__person,
.osb-hero--compact.osb-hero--has-person .osb-hero__person {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 45rem;
    bottom: 0;
    left: auto;
    width: min(720rem, 44%);
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.osb-hero--compact .osb-hero__person img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
}

.osb-hero--compact .osb-hero__metric {
    position: relative;
    z-index: 6;
    top: auto;
    left: auto;
    width: max-content;
    max-width: calc(100% - 290rem);
    margin: 0 0 30rem 145rem;
}

.osb-hero--compact .osb-hero__triggers {
    position: relative;
    z-index: 7;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 290rem);
    margin: 0 145rem 60rem;
}

@media (max-width: 767px) {
    .osb-hero {
        padding: var(--osb-hero-pad-top-m, 10rem) 10rem var(--osb-hero-pad-bottom-m, 0rem);
    }

    .osb-hero__shell {
        min-height: 924rem;
        border-radius: 24rem;
        background-image: var(--osb-hero-bg-mobile, var(--osb-hero-bg-desktop, none));
    }

    .osb-hero__shell::before {
        content: "";
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 650rem;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.84) 47%, rgba(255,255,255,.52) 72%, rgba(255,255,255,0) 100%);
    }

    .osb-hero__content {
        top: 102rem;
        left: 10rem;
        width: 350rem;
    }

    .osb-hero__title {
        width: 350rem;
        font-size: 34rem;
        line-height: 1.08;
    }

    .osb-hero__subtitle {
        width: 330rem;
        margin-top: 14rem;
        font-size: 18rem;
        line-height: 1.35;
    }

    .osb-hero__button {
        width: 330rem;
        min-width: 0;
        min-height: 62rem;
        margin-top: 40rem;
        padding: 12rem 20rem;
        gap: 15rem;
        border-bottom-width: 0;
        border-radius: 14rem;
        font-size: 17rem;
        line-height: 1;
        letter-spacing: 0;
    }

    .osb-hero__button img {
        width: 21rem;
        height: 20rem;
    }

    .osb-hero__person {
        left: 90rem;
        bottom: 88rem;
        width: 285rem;
        height: 430rem;
    }

    .osb-hero__person img {
        object-fit: contain;
        object-position: center bottom;
    }

    .osb-hero__metric {
        top: 457rem;
        left: 10rem;
        width: 150rem;
        min-height: 82rem;
        padding: 12rem 14rem;
        border-radius: 14rem;
        background: rgba(255,255,255,.94);
        box-shadow: 0 12rem 24rem rgba(0,0,0,.08);
    }

    .osb-hero__metric-value {
        font-size: 24rem;
        line-height: 1.25;
    }

    .osb-hero__metric-text {
        width: 120rem;
        margin-top: 4rem;
        color: #545454;
        font-size: 12rem;
        line-height: 1.25;
    }

    .osb-hero__triggers {
        left: 10rem;
        top: 653rem;
        bottom: auto;
        grid-template-columns: 1fr;
        gap: 8rem;
        width: 350rem;
    }

    .osb-hero__triggers--count-3 {
        grid-template-columns: 1fr;
    }

    .osb-hero__trigger {
        justify-self: center;
        width: 280rem;
        min-height: 66rem;
        gap: 12rem;
        padding: 10rem 12rem;
        border-radius: 14rem;
        background: rgba(255,255,255,.94);
    }

    .osb-hero__trigger-icon {
        width: 46rem;
        height: 46rem;
        flex-basis: 46rem;
        border-radius: 8rem;
    }

    .osb-hero__trigger-text {
        font-size: 15rem;
        line-height: 1.25;
    }
}

@media (max-width: 767px) {
    .osb-hero--compact .osb-hero__shell {
        display: block;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        aspect-ratio: auto !important;
    }

    .osb-hero--compact .osb-hero__shell::before {
        height: 100%;
    }

    .osb-hero--compact .osb-hero__content,
    .osb-hero--compact.osb-hero--has-person .osb-hero__content {
        position: relative;
        z-index: 5;
        top: auto;
        left: auto;
        width: 350rem;
        max-width: calc(100% - 20rem);
        margin-left: 10rem;
        padding: 56rem 0 48rem;
    }

    .osb-hero--compact.osb-hero--has-person .osb-hero__content {
        width: 230rem;
        max-width: 66%;
    }

    .osb-hero--compact .osb-hero__person,
    .osb-hero--compact.osb-hero--has-person .osb-hero__person {
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 46%;
        height: 100%;
        max-height: none;
        margin: 0;
        padding: 0;
    }

    .osb-hero--compact .osb-hero__person img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        object-position: right bottom;
    }

    .osb-hero--compact .osb-hero__metric {
        position: relative;
        top: auto;
        left: auto;
        width: 150rem;
        max-width: none;
        margin: 0 0 16rem 10rem;
        transform: none;
    }

    .osb-hero--compact .osb-hero__triggers {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 350rem;
        margin: 0 10rem 40rem;
    }
}
