/*
* Home AI Hero Block
* 2026 homepage hero (design v20): deep purple gradient, headline, "Schedule demo" button (or a HubSpot form)
* and the hiring stage graphic - an HTML scene drawn at the design's 720 x 440 and scaled to the column by
* home-ai-hero-block.js. Phones get the stages top to bottom (.bhh-hero__vp). Builds on home-blocks-shared.css.
*/

.bhh-hero {
    /*
     * Slide up under the fixed site header (body has padding-top: 71px) and start the content below it.
     * home-ai-hero-block.js sets --bhh-header-h to the header's real height (it changes with the
     * announcement bar, its wrapping and the template); the values here are the fallbacks.
     */
    margin-top: -71px;
    padding-top: var(--bhh-header-h, 88px);
    overflow: hidden;
    background: linear-gradient(140deg, #0B0233 0%, #330074 100%);
    color: #FFFFFF;
}
.top-bar-show .bhh-hero {
    padding-top: var(--bhh-header-h, 143px);
}
/*
 * Line pattern at 18%: 170% of the hero up to the design's 1440 frame (2448px), then kept at that size so
 * wide screens show the same line spacing as the design (and never narrower than the hero).
 */
.bhh-hero .bhh-hero__pattern {
    width: max(min(170%, 2448px), 100%);
    opacity: 0.18;
}

/* 1440 design: 48 / 72 / 88 padding below the nav, text and graphic columns 1 : 1.18 */
.bhh-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px clamp(24px, 5vw, 72px) 88px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 24px;
}
.bhh-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 600px;
    min-width: 0;
}

/* Announcement pill (optional) */
.bhh-hero .bhh-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 6px 14px 6px 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 14px;
    line-height: 1.4;
    color: #FFFFFF;
    transition: background-color 0.2s ease;
}
.bhh-hero a.bhh-hero__badge:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
}
.bhh-hero a.bhh-hero__badge:focus-visible {
    outline: 2px solid var(--bhh-teal);
    outline-offset: 3px;
}
.bhh-hero .bhh-hero__badge-label {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--bhh-teal);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #161616;
}

/* Haffer 600, 56 / 1.08 at 1440 (38 at the smallest desktop) */
.bhh-hero .bhh-hero__title {
    margin: 0;
    font-family: var(--bhh-font-head);
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}
.bhh-hero .bhh-hero__title span {
    color: var(--bhh-teal);
}
.bhh-hero .bhh-hero__desc {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.6;
    color: #D4D7E3;
}
/* "Schedule demo": 52 tall, 10px corners, soft drop shadow */
.bhh-hero .bhh-hero__btn {
    min-height: 52px;
    margin-top: 32px;
    padding: 0 28px;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(22, 22, 22, 0.18);
    white-space: nowrap;
}

/* HubSpot email + submit, shown as one white pill: 500 wide, 6px inset, 48px controls */
.bhh-hero .bhh-hero__form {
    width: 100%;
    max-width: 500px;
    margin-top: 32px;
}
/* wpautop turns the newlines of the form embed code into <br> / empty <p> */
.bhh-hero .bhh-hero__form > br,
.bhh-hero .bhh-hero__form > p:empty {
    display: none;
}
.bhh-hero .bhh-hero__form form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 12px 32px rgba(22, 22, 22, 0.18);
    transition: box-shadow 0.2s ease;
}
.bhh-hero .bhh-hero__form form:focus-within {
    box-shadow: 0 12px 32px rgba(22, 22, 22, 0.18), 0 0 0 3px rgba(0, 254, 231, 0.4);
}
.bhh-hero .bhh-hero__form form .hs_email {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.bhh-hero .bhh-hero__form form .hs-form-field > label,
.bhh-hero .bhh-hero__form form .hs_error_rollup,
.bhh-hero .bhh-hero__form form legend {
    display: none;
}
/* the theme gives HubSpot's field wrapper a rounded shadow */
.bhh-hero .bhh-hero__form form .hs-form-field .input {
    margin: 0;
    padding: 0;
    border-radius: 8px;
    box-shadow: none;
}
.bhh-hero .bhh-hero__form form input[type="email"] {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    font-family: var(--bhh-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 48px;
    color: #161616;
}
.bhh-hero .bhh-hero__form form input[type="email"]::placeholder {
    color: #7D88AB;
    opacity: 1;
}
.bhh-hero .bhh-hero__form form .hs_submit,
.bhh-hero .bhh-hero__form form .hs_submit .actions {
    flex: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.bhh-hero .bhh-hero__form form input[type="submit"].hs-button {
    display: inline-block;
    height: 48px;
    /* the theme gives HubSpot buttons a 12px top margin, which pushed it off centre in the pill */
    margin: 0 !important;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    background: var(--bhh-purple);
    font-family: var(--bhh-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: 0;
    /* the theme's HubSpot styles set capitals */
    text-transform: none;
    white-space: nowrap;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.bhh-hero .bhh-hero__form form input[type="submit"].hs-button:hover,
.bhh-hero .bhh-hero__form form input[type="submit"].hs-button:focus-visible {
    background: var(--bhh-purple-dark);
}
.bhh-hero .bhh-hero__form form ul.hs-error-msgs {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 18px;
    color: #FFB4AB;
}
.bhh-hero .bhh-hero__form form ul.hs-error-msgs label {
    display: block;
    margin: 0;
}

/* ---------- Stage graphic (desktop / tablet) ---------- */
.bhh-hero__diagram {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    aspect-ratio: 720 / 440;
}
/* soft purple glow behind the panel */
.bhh-hero__diagram::before {
    content: "";
    position: absolute;
    inset: 8% 1% 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(92, 66, 208, 0.16), transparent 70%);
}
/* the design's 720 x 440 scene (its content sits 75px higher than the design frame's coordinates) */
.bhh-hero__scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 720px;
    height: 440px;
    transform: scale(var(--bhh-hero-scale, 0.9));
    transform-origin: top left;
    font-family: var(--bhh-font);
}
.bhh-hero__scene > * {
    position: absolute;
    display: block;
}
.bhh-hero__glass {
    left: 84px;
    top: 73px;
    width: 552px;
    height: 280px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    background: linear-gradient(125.56deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
    box-shadow: 0 24px 60px rgba(3, 4, 30, 0.2);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
.bhh-hero__line {
    left: 44px;
    top: 186px;
    width: 632px;
    height: 2px;
    background: linear-gradient(90deg, rgba(40, 231, 197, 0), #28E7C5 10%, #7FD8FF 90%, rgba(127, 216, 255, 0));
    box-shadow: 0 0 10px rgba(40, 231, 197, 0.45);
}
/* each stage ring flashes as a pulse passes it (delays set per stage) */
.bhh-hero__halo {
    top: 139px;
    width: 96px;
    height: 96px;
    margin-left: -48px;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px rgba(95, 233, 255, 0.5), 0 0 22px 3px rgba(95, 233, 255, 0.24);
    opacity: 0;
    transform: scale(0.86);
    animation: bhh-hero-halo 2.4s cubic-bezier(0.33, 1, 0.68, 1) infinite;
    pointer-events: none;
}
/* three pulses with short trails, one every 2.4s */
.bhh-hero__tail,
.bhh-hero__dot {
    opacity: 0;
    animation: bhh-hero-run 7.2s linear infinite;
    pointer-events: none;
}
.bhh-hero__tail {
    left: -26px;
    top: 186px;
    z-index: 1;
    width: 72px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(127, 216, 255, 0), rgba(185, 240, 255, 0.9));
}
.bhh-hero__dot {
    left: 40px;
    top: 183px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 8px rgba(127, 216, 255, 0.45);
}
/* particles drifting into the first stage (paths in the bhh-hero-q* keyframes, in scene coordinates) */
.bhh-hero__parts {
    top: -75px;
    width: 0;
    height: 0;
}
.bhh-hero__parts i {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 3px currentColor;
    color: #F8F9FB;
    opacity: 0;
    filter: blur(0.5px) opacity(0.6);
    animation-duration: 7.6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
/* glass sweep across the panel */
.bhh-hero__sweep {
    left: 84px;
    top: 73px;
    z-index: 1;
    width: 552px;
    height: 280px;
    overflow: hidden;
    border-radius: 30px;
    pointer-events: none;
}
.bhh-hero__sweep i {
    position: absolute;
    left: 0;
    top: 0;
    width: 160px;
    height: 280px;
    background: linear-gradient(90deg, rgba(95, 233, 255, 0), rgba(95, 233, 255, 0.07) 45%, rgba(95, 233, 255, 0.16) 72%, rgba(95, 233, 255, 0.05) 92%, rgba(95, 233, 255, 0));
    filter: blur(8px);
    opacity: 0.45;
    animation: bhh-hero-sweep 4.2s linear infinite;
}
/* a stage: positioned on its centre line */
.bhh-hero__stage {
    /* the circles sit above the line, the pulses and the sweep */
    z-index: 3;
    top: 0;
    width: 0;
    height: 0;
}
.bhh-hero__stage > * {
    position: absolute;
}
.bhh-hero__ring {
    left: -54px;
    top: 133px;
    width: 108px;
    height: 108px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0.38;
}
/* inactive stages are solid lavender-grey; each lights up white with a teal ring in turn */
.bhh-hero__disc {
    left: -38px;
    top: 149px;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(40, 231, 197, 0.65), 0 6px 20px rgba(8, 21, 40, 0.18);
    animation: bhh-hero-stage 0.55s ease-out var(--bhh-d, 0s) both;
}
.bhh-hero__shield {
    left: 18px;
    top: 143px;
    z-index: 6;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(40, 231, 197, 0.5);
    border-radius: 50%;
    background: #101F38;
}
.bhh-hero__name {
    left: -70px;
    top: 243px;
    width: 140px;
    font-size: 15px;
    font-weight: 600;
    line-height: 19px;
    text-align: center;
    white-space: nowrap;
    color: #F8F9FB;
}
/* Fraud detection pill, centred under the panel */
.bhh-hero__pillwrap {
    left: 120px;
    top: 330px;
    z-index: 5;
    width: 480px;
    display: flex !important;
    justify-content: center;
}
.bhh-hero .bhh-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 46px;
    box-sizing: border-box;
    padding: 0 18px 0 16px;
    border: 1px solid rgba(40, 231, 197, 0.5);
    border-radius: 23px;
    background: #0E1638;
    white-space: nowrap;
}
.bhh-hero .bhh-hero__pill svg {
    flex: none;
    display: block;
}
.bhh-hero__pill-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #F8F9FB;
}
.bhh-hero__pill-sep {
    width: 1px;
    height: 18px;
    background: rgba(248, 249, 251, 0.22);
}
/* status: "Monitoring", cycling to the alert for a moment every 15s */
.bhh-hero__status {
    display: grid;
    min-width: 82px;
}
.bhh-hero__status > span {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    line-height: 14px;
}
.bhh-hero__status b {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.bhh-hero__status-on {
    font-weight: 500;
    color: #AFB8C6;
    animation: bhh-hero-monitor 15s ease-in-out infinite;
}
.bhh-hero__status-on b {
    background: #28E7C5;
    animation: bhh-hero-blink 2.4s ease-in-out infinite;
}
.bhh-hero__status-alert {
    font-weight: 600;
    color: #FF7A8A;
    opacity: 0;
    animation: bhh-hero-flag 15s ease-in-out infinite;
}
.bhh-hero__status-alert b {
    background: #FF7A8A;
}
/* off screen (set by the script) */
.bhh-hero.is-paused .bhh-hero__diagram *,
.bhh-hero.is-paused .bhh-hero__vp * {
    animation-play-state: paused !important;
}

/* ---------- Stage graphic, vertical (phones) ---------- */
.bhh-hero__vp {
    display: none;
    position: relative;
    padding: 36px 0 8px;
}
/* glowing teal-to-blue line through the stage discs (18px panel padding + half a 52px disc) */
.bhh-hero__vp-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45px;
    z-index: 1;
    width: 2px;
    margin-left: -1px;
    background: linear-gradient(180deg, rgba(40, 231, 197, 0), #28E7C5 9%, #7FD8FF 88%, rgba(127, 216, 255, 0));
    box-shadow: 0 0 10px rgba(40, 231, 197, 0.45);
    pointer-events: none;
}
/* pulses with trails moving down (~88px/s; duration and delays set by the script) */
.bhh-hero__vp-dot {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 1;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 12px 3px rgba(127, 216, 255, 0.75);
    opacity: 0;
    animation: bhh-hero-down 6s linear infinite;
}
.bhh-hero__vp-dot:nth-child(2) {
    animation-delay: -2s;
}
.bhh-hero__vp-dot:nth-child(3) {
    animation-delay: -4s;
}
.bhh-hero__vp-dot::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 2px;
    height: 64px;
    margin-left: -1px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(127, 216, 255, 0), rgba(185, 240, 255, 0.9));
}
/* particles drifting into the top of the line */
.bhh-hero__vp-pt {
    position: absolute;
    left: 50%;
    top: 0;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: #F8F9FB;
    box-shadow: 0 0 3px #F8F9FB;
    opacity: 0;
    filter: blur(0.5px);
    animation: bhh-hero-in 4.2s ease-in infinite;
}
.bhh-hero__vp-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 18px 40px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
    box-shadow: 0 20px 40px rgba(3, 4, 30, 0.16);
}
.bhh-hero__vp-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}
.bhh-hero__vp-disc {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    border: 1.5px solid rgba(40, 231, 197, 0.6);
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.05), 0 0 0 8px rgba(255, 255, 255, 0.09), 0 4px 16px rgba(8, 21, 40, 0.18);
    animation: bhh-hero-vp-stage 0.55s ease-out var(--bhh-d, 0s) both;
}
.bhh-hero__vp-disc .bhh-picon {
    transform: scale(0.82);
}
.bhh-hero__vp-badge {
    position: absolute;
    right: -9px;
    top: -9px;
    z-index: 3;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    border: 1px solid rgba(40, 231, 197, 0.5);
    border-radius: 50%;
    background: #101F38;
}
.bhh-hero__vp-halo {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px rgba(95, 233, 255, 0.5), 0 0 22px 3px rgba(95, 233, 255, 0.24);
    opacity: 0;
    transform: scale(0.86);
    animation: bhh-hero-halo 2s cubic-bezier(0.33, 1, 0.68, 1) infinite;
    pointer-events: none;
}
.bhh-hero__vp-lbl {
    font-size: 16px;
    font-weight: 600;
    color: #F8F9FB;
    animation: bhh-hero-vp-label 0.55s ease-out var(--bhh-d, 0s) both;
}
.bhh-hero__vp-sweep {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}
.bhh-hero__vp-sweep i {
    position: absolute;
    left: 0;
    right: 0;
    top: -40%;
    height: 40%;
    background: linear-gradient(180deg, rgba(95, 233, 255, 0), rgba(95, 233, 255, 0.07) 45%, rgba(95, 233, 255, 0.16) 72%, rgba(95, 233, 255, 0));
    filter: blur(8px);
    opacity: 0.45;
    animation: bhh-hero-sweep-down 4.2s linear infinite;
}
.bhh-hero .bhh-hero__vp-pill {
    position: absolute;
    left: 50%;
    bottom: -15px;
    z-index: 3;
    gap: 8px;
    height: 30px;
    padding: 0 16px;
    border-color: rgba(40, 231, 197, 0.45);
    border-radius: 15px;
    transform: translateX(-50%);
}
.bhh-hero__vp-pill .bhh-hero__pill-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: #E6FFFD;
}
.bhh-hero__vp-pill .bhh-hero__pill-sep {
    height: 14px;
    margin: 0 2px;
    background: rgba(255, 255, 255, 0.18);
}
.bhh-hero__vp-pill .bhh-hero__status {
    min-width: 78px;
}

@keyframes bhh-hero-stage {
    from { background: #6F6699; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); filter: saturate(0.3) brightness(0.92); }
    to { background: #FFFFFF; box-shadow: 0 0 0 2px rgba(40, 231, 197, 0.65), 0 6px 20px rgba(8, 21, 40, 0.18); filter: none; }
}
@keyframes bhh-hero-vp-stage {
    from { background: #6F6699; border-color: rgba(255, 255, 255, 0.16); filter: saturate(0.3) brightness(0.92); }
    to { background: #FFFFFF; border-color: rgba(40, 231, 197, 0.6); filter: none; }
}
@keyframes bhh-hero-vp-label {
    from { opacity: 0.4; }
    to { opacity: 1; }
}
@keyframes bhh-hero-halo {
    0% { opacity: 0; transform: scale(0.86); }
    12% { opacity: 0.75; transform: scale(0.97); }
    55%, 100% { opacity: 0; transform: scale(1.16); }
}
@keyframes bhh-hero-run {
    0% { transform: translateX(0); opacity: 0; }
    8% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translateX(632px); opacity: 0; }
}
@keyframes bhh-hero-down {
    0% { transform: translateY(0); opacity: 0; }
    8% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translateY(var(--bhh-end, 400px)); opacity: 0; }
}
@keyframes bhh-hero-in {
    0% { transform: translate(var(--bhh-px), var(--bhh-py)); opacity: 0; background: #F8F9FB; }
    15% { opacity: 0.6; }
    80% { opacity: 0.6; background: #5FE9FF; }
    100% { transform: translate(0, var(--bhh-pe, 50px)); opacity: 0; background: #5FE9FF; }
}
@keyframes bhh-hero-sweep {
    0% { transform: translateX(-160px); opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { transform: translateX(552px); opacity: 0; }
}
@keyframes bhh-hero-sweep-down {
    from { top: -40%; }
    to { top: 110%; }
}
@keyframes bhh-hero-monitor {
    0%, 62%, 86%, 100% { opacity: 1; }
    66%, 82% { opacity: 0; }
}
@keyframes bhh-hero-flag {
    0%, 62%, 86%, 100% { opacity: 0; }
    66%, 82% { opacity: 1; }
}
@keyframes bhh-hero-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
@keyframes bhh-hero-q0{0.00%{transform:translate(-21px,248.3px);opacity:0;color:#f8f9fb}10.96%{transform:translate(47px,246.3px);opacity:.80;color:#f8f9fb}17.57%{transform:translate(85.4px,260.4px);opacity:.80;color:#f8f9fb}26.11%{transform:translate(138px,254.4px);opacity:.80;color:#5fe9ff}31.10%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}31.20%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q1{0.00%{transform:translate(-24.8px,155.2px);opacity:0;color:#f8f9fb}6.54%{transform:translate(15.7px,157.5px);opacity:.81;color:#f8f9fb}23.76%{transform:translate(104.5px,216.6px);opacity:.81;color:#f8f9fb}33.15%{transform:translate(138px,264.3px);opacity:.81;color:#5fe9ff}38.00%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}38.10%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q2{0.00%{transform:translate(-34.6px,305.4px);opacity:0;color:#f8f9fb}7.30%{transform:translate(10.6px,307.1px);opacity:.68;color:#f8f9fb}18.13%{transform:translate(63px,265.1px);opacity:.68;color:#f8f9fb}30.33%{transform:translate(138px,255.8px);opacity:.68;color:#5fe9ff}35.27%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}35.37%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q3{0.00%{transform:translate(-33.4px,296.8px);opacity:0;color:#f8f9fb}8.73%{transform:translate(19.3px,284.5px);opacity:.95;color:#f8f9fb}16.91%{transform:translate(60.2px,254.5px);opacity:.95;color:#f8f9fb}29.58%{transform:translate(138px,265.7px);opacity:.95;color:#5fe9ff}34.46%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}34.56%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q4{0.00%{transform:translate(-15.9px,384.1px);opacity:0;color:#f8f9fb}6.75%{transform:translate(22.6px,367.9px);opacity:.67;color:#f8f9fb}20.87%{transform:translate(74.5px,297.3px);opacity:.67;color:#f8f9fb}32.13%{transform:translate(138px,268.4px);opacity:.67;color:#5fe9ff}37.08%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}37.18%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q5{0.00%{transform:translate(-39.4px,113.4px);opacity:0;color:#f8f9fb}12.70%{transform:translate(37.4px,96.2px);opacity:.78;color:#f8f9fb}27.94%{transform:translate(106.4px,160.8px);opacity:.78;color:#f8f9fb}44.58%{transform:translate(138px,259px);opacity:.78;color:#5fe9ff}49.44%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}49.54%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q6{0.00%{transform:translate(-17.1px,159.5px);opacity:0;color:#f8f9fb}6.79%{transform:translate(23.5px,148.1px);opacity:.59;color:#f8f9fb}17.80%{transform:translate(60.8px,205.3px);opacity:.59;color:#f8f9fb}34.27%{transform:translate(138px,272.1px);opacity:.59;color:#5fe9ff}39.38%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}39.48%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q7{0.00%{transform:translate(-12.9px,111px);opacity:0;color:#f8f9fb}4.87%{transform:translate(17.1px,114.5px);opacity:.70;color:#f8f9fb}18.48%{transform:translate(82.4px,167.9px);opacity:.70;color:#f8f9fb}36.88%{transform:translate(138px,267.6px);opacity:.70;color:#5fe9ff}41.80%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}41.90%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q8{0.00%{transform:translate(-6.3px,228.2px);opacity:0;color:#f8f9fb}4.40%{transform:translate(10px,250.1px);opacity:.71;color:#f8f9fb}20.33%{transform:translate(108.7px,250.7px);opacity:.71;color:#f8f9fb}26.36%{transform:translate(138px,273.9px);opacity:.71;color:#5fe9ff}31.57%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}31.67%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q9{0.00%{transform:translate(-18.2px,389px);opacity:0;color:#f8f9fb}7.03%{transform:translate(14px,418.4px);opacity:.70;color:#f8f9fb}26.61%{transform:translate(70.7px,311px);opacity:.70;color:#f8f9fb}39.45%{transform:translate(138px,268.5px);opacity:.70;color:#5fe9ff}44.40%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}44.50%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q10{0.00%{transform:translate(-32.9px,116px);opacity:0;color:#f8f9fb}11.98%{transform:translate(35.5px,86.9px);opacity:.78;color:#f8f9fb}30.94%{transform:translate(78.4px,196.3px);opacity:.78;color:#f8f9fb}44.21%{transform:translate(138px,253.1px);opacity:.78;color:#5fe9ff}49.26%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}49.36%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q11{0.00%{transform:translate(-33.8px,393.3px);opacity:0;color:#f8f9fb}8.97%{transform:translate(16.2px,417.8px);opacity:.93;color:#f8f9fb}30.76%{transform:translate(100.9px,312.6px);opacity:.93;color:#f8f9fb}41.87%{transform:translate(138px,254.6px);opacity:.93;color:#5fe9ff}46.86%{transform:translate(168px,262px);opacity:0;color:#5fe9ff}46.96%,100%{transform:translate(168px,262px);opacity:0}}
@keyframes bhh-hero-q12{0.00%{transform:translate(-19.5px,398.8px);opacity:0;color:#f8f9fb}8.40%{transform:translate(26.9px,375px);opacity:.76;color:#f8f9fb}14.68%{transform:translate(61.9px,358.1px);opacity:.76;color:#f8f9fb}35.25%{transform:translate(138px,255.7px);opacity:.76;color:#5fe9ff}40.20%{transform:translate(168px,262px);opacity:.95;color:#5fe9ff}47.16%{transform:translate(210.7px,268.5px);opacity:.95;color:#5fe9ff}54.42%{transform:translate(253.3px,254.2px);opacity:.95;color:#5fe9ff}61.41%{transform:translate(296px,262px);opacity:0;color:#5fe9ff}61.51%,100%{transform:translate(296px,262px);opacity:0}}
@keyframes bhh-hero-q13{0.00%{transform:translate(-6.8px,415.2px);opacity:0;color:#f8f9fb}3.53%{transform:translate(15.1px,414px);opacity:.71;color:#f8f9fb}20.22%{transform:translate(92.7px,345.6px);opacity:.71;color:#f8f9fb}37.02%{transform:translate(138px,251.8px);opacity:.71;color:#5fe9ff}42.13%{transform:translate(168px,262px);opacity:.95;color:#5fe9ff}49.17%{transform:translate(210.7px,252.8px);opacity:.95;color:#5fe9ff}56.95%{transform:translate(253.3px,275.3px);opacity:.95;color:#5fe9ff}64.15%{transform:translate(296px,262px);opacity:0;color:#5fe9ff}64.25%,100%{transform:translate(296px,262px);opacity:0}}
@keyframes bhh-hero-q14{0.00%{transform:translate(-38.4px,177.2px);opacity:0;color:#f8f9fb}9.63%{transform:translate(21.3px,179px);opacity:.61;color:#f8f9fb}23.96%{transform:translate(108.7px,195.1px);opacity:.61;color:#f8f9fb}34.48%{transform:translate(138px,253.3px);opacity:.61;color:#5fe9ff}39.51%{transform:translate(168px,262px);opacity:.95;color:#5fe9ff}46.40%{transform:translate(210.7px,260.4px);opacity:.95;color:#5fe9ff}53.31%{transform:translate(253.3px,256.6px);opacity:.95;color:#5fe9ff}60.25%{transform:translate(296px,262px);opacity:0;color:#5fe9ff}60.35%,100%{transform:translate(296px,262px);opacity:0}}
@keyframes bhh-hero-q15{0.00%{transform:translate(-39.4px,102.3px);opacity:0;color:#f8f9fb}13.97%{transform:translate(46.4px,114.3px);opacity:.58;color:#f8f9fb}25.76%{transform:translate(108.1px,153.4px);opacity:.58;color:#f8f9fb}44.43%{transform:translate(138px,265.3px);opacity:.58;color:#5fe9ff}49.30%{transform:translate(168px,262px);opacity:.95;color:#5fe9ff}56.18%{transform:translate(210.7px,261.4px);opacity:.95;color:#5fe9ff}63.18%{transform:translate(253.3px,269.4px);opacity:.95;color:#5fe9ff}70.16%{transform:translate(296px,262px);opacity:0;color:#5fe9ff}70.26%,100%{transform:translate(296px,262px);opacity:0}}
@keyframes bhh-hero-q16{0.00%{transform:translate(-27.5px,248.6px);opacity:0;color:#f8f9fb}7.61%{transform:translate(11.8px,274.8px);opacity:.90;color:#f8f9fb}22.89%{transform:translate(96.9px,233.1px);opacity:.90;color:#f8f9fb}32.16%{transform:translate(138px,273.1px);opacity:.90;color:#5fe9ff}37.32%{transform:translate(168px,262px);opacity:.95;color:#5fe9ff}44.25%{transform:translate(210.7px,256.9px);opacity:.95;color:#5fe9ff}51.25%{transform:translate(253.3px,248.7px);opacity:.95;color:#5fe9ff}58.46%{transform:translate(296px,262px);opacity:0;color:#5fe9ff}58.56%,100%{transform:translate(296px,262px);opacity:0}}
@keyframes bhh-hero-q17{0.00%{transform:translate(-13.1px,236px);opacity:0;color:#f8f9fb}9.33%{transform:translate(44.5px,240.4px);opacity:.71;color:#f8f9fb}16.86%{transform:translate(91.2px,241.9px);opacity:.71;color:#f8f9fb}25.20%{transform:translate(138px,264px);opacity:.71;color:#5fe9ff}30.05%{transform:translate(168px,262px);opacity:.95;color:#5fe9ff}36.96%{transform:translate(210.7px,265.5px);opacity:.95;color:#5fe9ff}44.36%{transform:translate(253.3px,248.6px);opacity:.95;color:#5fe9ff}51.57%{transform:translate(296px,262px);opacity:.95;color:#5fe9ff}58.49%{transform:translate(338.7px,266.5px);opacity:.95;color:#5fe9ff}65.61%{transform:translate(381.3px,277.8px);opacity:.95;color:#5fe9ff}72.95%{transform:translate(424px,262px);opacity:0;color:#5fe9ff}73.05%,100%{transform:translate(424px,262px);opacity:0}}
@keyframes bhh-hero-q18{0.00%{transform:translate(-20.2px,347.3px);opacity:0;color:#f8f9fb}8.39%{transform:translate(27.6px,367.6px);opacity:.81;color:#f8f9fb}18.11%{transform:translate(64.2px,319.6px);opacity:.81;color:#f8f9fb}34.40%{transform:translate(138px,250.7px);opacity:.81;color:#5fe9ff}39.57%{transform:translate(168px,262px);opacity:.95;color:#5fe9ff}46.47%{transform:translate(210.7px,265.2px);opacity:.95;color:#5fe9ff}53.38%{transform:translate(253.3px,261.4px);opacity:.95;color:#5fe9ff}60.26%{transform:translate(296px,262px);opacity:.95;color:#5fe9ff}67.28%{transform:translate(338.7px,253.4px);opacity:.95;color:#5fe9ff}74.58%{transform:translate(381.3px,268.3px);opacity:.95;color:#5fe9ff}81.53%{transform:translate(424px,262px);opacity:0;color:#5fe9ff}81.63%,100%{transform:translate(424px,262px);opacity:0}}
@keyframes bhh-hero-q19{0.00%{transform:translate(-9.5px,260.2px);opacity:0;color:#f8f9fb}6.03%{transform:translate(24.7px,238.8px);opacity:.70;color:#f8f9fb}16.47%{transform:translate(90.6px,262.2px);opacity:.70;color:#f8f9fb}23.60%{transform:translate(138px,268.1px);opacity:.70;color:#5fe9ff}28.17%{transform:translate(168px,262px);opacity:.95;color:#5fe9ff}34.59%{transform:translate(210.7px,257px);opacity:.95;color:#5fe9ff}41.55%{transform:translate(253.3px,275.8px);opacity:.95;color:#5fe9ff}48.24%{transform:translate(296px,262px);opacity:.95;color:#5fe9ff}54.61%{transform:translate(338.7px,261.9px);opacity:.95;color:#5fe9ff}61.10%{transform:translate(381.3px,253.7px);opacity:.95;color:#5fe9ff}67.59%{transform:translate(424px,262px);opacity:.95;color:#5fe9ff}73.98%{transform:translate(466.7px,259px);opacity:.95;color:#5fe9ff}80.39%{transform:translate(509.3px,254px);opacity:.95;color:#5fe9ff}86.87%{transform:translate(552px,262px);opacity:.95;color:#5fe9ff}92.00%{transform:translate(557.4px,228.1px);opacity:0;color:#5fe9ff}92.10%,100%{transform:translate(557.4px,228.1px);opacity:0}}
@keyframes bhh-hero-q20{0.00%{transform:translate(-29.2px,294.1px);opacity:0;color:#f8f9fb}6.39%{transform:translate(15.4px,293.9px);opacity:.84;color:#f8f9fb}18.76%{transform:translate(101.9px,299px);opacity:.84;color:#f8f9fb}25.66%{transform:translate(138px,267.1px);opacity:.84;color:#5fe9ff}30.01%{transform:translate(168px,262px);opacity:.95;color:#5fe9ff}36.44%{transform:translate(210.7px,276.4px);opacity:.95;color:#5fe9ff}43.28%{transform:translate(253.3px,254.9px);opacity:.95;color:#5fe9ff}49.46%{transform:translate(296px,262px);opacity:.95;color:#5fe9ff}55.75%{transform:translate(338.7px,251.4px);opacity:.95;color:#5fe9ff}61.98%{transform:translate(381.3px,260.4px);opacity:.95;color:#5fe9ff}68.09%{transform:translate(424px,262px);opacity:.95;color:#5fe9ff}74.27%{transform:translate(466.7px,254.8px);opacity:.95;color:#5fe9ff}80.38%{transform:translate(509.3px,252.9px);opacity:.95;color:#5fe9ff}86.62%{transform:translate(552px,262px);opacity:.95;color:#5fe9ff}92.00%{transform:translate(548.6px,224.5px);opacity:0;color:#5fe9ff}92.10%,100%{transform:translate(548.6px,224.5px);opacity:0}}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .bhh-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 48px;
    }
    .bhh-hero__content {
        max-width: 650px;
    }
    .bhh-hero__diagram {
        justify-self: center;
        max-width: 720px;
    }
}
/* Mobile design: 390 wide, 20px gutters, vertical stages */
@media (max-width: 767px) {
    .bhh-hero {
        padding-top: var(--bhh-header-h, 64px);
    }
    .top-bar-show .bhh-hero {
        padding-top: var(--bhh-header-h, 139px);
    }
    .bhh-hero .bhh-hero__pattern {
        width: 420%;
        bottom: -60px;
    }
    .bhh-hero__inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 20px 20px 56px;
    }
    .bhh-hero__content {
        max-width: none;
        align-items: stretch;
    }
    .bhh-hero .bhh-hero__badge {
        align-self: flex-start;
        gap: 8px;
        margin-bottom: 18px;
        padding: 5px 12px 5px 5px;
        font-size: 12.5px;
    }
    .bhh-hero .bhh-hero__badge-label {
        padding: 4px 8px;
        font-size: 10px;
    }
    .bhh-hero .bhh-hero__title {
        font-size: 38px;
        text-wrap: balance;
    }
    .bhh-hero .bhh-hero__desc {
        margin-top: 18px;
        font-size: 16px;
    }
    .bhh-hero .bhh-hero__btn {
        width: 100%;
        min-height: 50px;
        margin-top: 18px;
        box-shadow: none;
    }
    .bhh-hero .bhh-hero__form {
        max-width: none;
        margin-top: 18px;
    }
    .bhh-hero .bhh-hero__form form {
        flex-direction: column;
        align-items: stretch;
    }
    .bhh-hero .bhh-hero__form form input[type="email"] {
        height: 46px;
        padding: 0 12px;
    }
    /* the submit wrappers are flex rows (for centring on desktop): stretch them so the button is full width */
    .bhh-hero .bhh-hero__form form .hs_submit .actions {
        flex: 1;
    }
    .bhh-hero .bhh-hero__form form input[type="submit"].hs-button {
        width: 100%;
        height: 46px;
        line-height: 46px;
    }
    .bhh-hero .bhh-hero__form form ul.hs-error-msgs {
        position: static;
        padding: 0 12px 4px;
    }
    .bhh-hero__diagram {
        display: none;
    }
    .bhh-hero__vp {
        display: block;
    }
}

/* ---------- Uploaded graphic image (Diagram tab), in place of the drawn stages ---------- */
.bhh-hero .bhh-hero__diagram--image {
    aspect-ratio: auto;
}
.bhh-hero .bhh-hero__diagram--image::before {
    content: none;
}
.bhh-hero .bhh-hero__diagram--image picture,
.bhh-hero .bhh-hero__image {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 767px) {
    .bhh-hero .bhh-hero__diagram--image {
        display: block;
        width: 100%;
        margin: 6px 0 0;
    }
}

/* Reduced motion: every stage lit, no pulses, particles, sweep or status change */
@media (prefers-reduced-motion: reduce) {
    .bhh-hero__halo,
    .bhh-hero__tail,
    .bhh-hero__dot,
    .bhh-hero__parts,
    .bhh-hero__sweep,
    .bhh-hero__status-alert,
    .bhh-hero__vp-dot,
    .bhh-hero__vp-pt,
    .bhh-hero__vp-halo,
    .bhh-hero__vp-sweep {
        display: none !important;
    }
    .bhh-hero__status-on {
        animation: none !important;
        opacity: 1;
    }
}
