/*
* Demo Request Split Block
* Product request-a-demo landing page (BrightHire Inbound handoff): logo + Sign in header, pitch and
* customer logos on the left, frosted demo-form card on the right; form card first on mobile.
* Loaded after demo-request-hero-block.css, which supplies the DM Sans face, the hidden site
* header/footer and the HubSpot form styling; the rules below only change what this design does differently.
*/

.bh-split {
    --bh-split-bg: #282B60;
    --bh-split-bg2: #4E2BCD;
    --bh-split-line: rgba(248, 249, 251, .2);
    --bh-pill-bg: rgba(248, 249, 251, .06);
    --bh-pill-border: rgba(248, 249, 251, .35);
    --bh-button-text: var(--bh-navy);
    min-height: max(980px, 100vh);
    padding: 0 0 80px;
    background: linear-gradient(120deg, var(--bh-split-bg) 0%, var(--bh-split-bg) 35%, var(--bh-split-bg2) 100%);
    color: var(--bh-off-white);
}

/* Header: logo left, Sign in right */
.bh-split__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1304px; /* 1240px content + padding, as in the design */
    margin: 0 auto;
    padding: 28px 32px;
}
.bh-split .bh-split__logo img {
    width: 200px; /* same as the Request a Demo page */
    height: auto;
}
.bh-split .bh-split__sign-in {
    font-family: var(--bh-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bh-off-white);
    text-decoration: none;
}
.bh-split .bh-split__sign-in:hover {
    color: var(--bh-teal);
}
.bh-split .bh-split__sign-in:focus-visible {
    outline: 2px solid var(--bh-teal);
    outline-offset: 4px;
    border-radius: 4px;
}

.bh-split__main {
    max-width: 1304px;
    margin: 0 auto;
    padding: 48px 32px 0;
}
.bh-split__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 64px;
    align-items: start;
}

/* Left column */
.bh-split__side {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding-top: 24px;
}
.bh-split__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.bh-split .bh-split__eyebrow {
    margin: 0;
    font-family: var(--bh-font);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--bh-teal);
}
.bh-split .bh-split__title {
    margin: 0;
    font-family: var(--bh-font);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--bh-off-white);
}
.bh-split .bh-split__title span {
    color: var(--bh-teal);
}
.bh-split .bh-split__checklist {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.bh-split .bh-split__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 0;
    font-family: var(--bh-font);
    font-size: 18px;
    line-height: 1.5;
    color: var(--bh-off-white);
}
.bh-split .bh-split__checklist li::before,
.bh-split .bh-split__logos li::before {
    display: none;
}
.bh-split__check-icon {
    flex: none;
    margin-top: 2px;
    color: var(--bh-teal);
}

/* Customer logos: white, 24px high, wrapping rows */
.bh-split__trusted {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid var(--bh-split-line);
}
.bh-split .bh-split__trusted-title {
    margin: 0;
    font-family: var(--bh-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bh-off-white);
}
.bh-split .bh-split__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* Narrows a little below 1440 so the 16 logos stay in three full rows on laptop widths */
    gap: 20px clamp(24px, 2.2vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.bh-split .bh-split__logos li {
    display: flex;
    margin: 0;
    padding: 0;
}
.bh-split .bh-split__logos img {
    display: block;
    width: auto;
    max-width: none;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Form card */
.bh-split__card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 40px;
    background: rgba(248, 249, 251, .05);
    border: 1px solid rgba(248, 249, 251, .18);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}
.bh-split__card-intro {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}
.bh-split .bh-split__card-title {
    margin: 0;
    font-family: var(--bh-font);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.005em;
    color: var(--bh-off-white);
}
.bh-split .bh-split__card-desc {
    margin: 0;
    font-family: var(--bh-font);
    font-size: 16px;
    line-height: 1.5;
    color: rgba(248, 249, 251, .88);
}
/* "30-minute live demo." sits on its own bold line */
.bh-split .bh-split__card-desc strong,
.bh-split .bh-split__card-desc b {
    display: block;
    font-weight: 700;
    color: var(--bh-off-white);
}
.bh-split .bh-split__note {
    margin: -8px 0 0;
    font-family: var(--bh-font);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    color: #B8BED1;
}
.bh-split .bh-split__note a {
    color: #B8BED1;
    text-decoration: underline;
}
.bh-split .bh-split__note a:hover {
    color: var(--bh-off-white);
}

/* HubSpot form: 14px between fields, 22px above the button */
.bh-split .bh-demo__form .hs-form fieldset .hs-form-field,
.bh-split .bh-demo__form .hs-form fieldset.form-columns-2 .hs-form-field {
    max-width: none;
    margin: 0 0 14px;
}
.bh-split .bh-demo__form .hs-form fieldset.form-columns-2 {
    column-gap: 14px;
}
.bh-split .bh-demo__form .hs-form .hs_submit {
    margin-top: 8px;
}
.bh-split .bh-demo__form .hs-form input.hs-input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.bh-split .bh-demo__form .hs-form select.hs-input {
    padding: 0 22px;
    /* !important only to beat the theme's .hs-firstname/.hs-lastname "joined pair" corners */
    border-radius: 999px !important;
    color: var(--bh-off-white);
}
.bh-split .bh-demo__form .hs-form select.hs-input {
    padding-right: 44px;
}
.bh-split .bh-demo__form .hs-form .hs-input::placeholder {
    color: rgba(248, 249, 251, .75);
}
.bh-split .bh-demo__form .hs-form input.hs-input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.bh-split .bh-demo__form .hs-form select.hs-input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.bh-split .bh-demo__form .hs-form textarea.hs-input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus {
    border-color: var(--bh-teal);
    box-shadow: none;
    /* !important only to beat the theme's global input { outline: none !important } */
    outline: 3px solid rgba(40, 231, 197, .6) !important;
    outline-offset: 1px;
}
/* The design's chevron: 16px icon, 22px from the right */
.bh-split .bh-demo__form .hs-form .hs-fieldtype-select .input::after {
    top: 18px;
    right: 22px;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 0;
    border-radius: 0;
    transform: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23F8F9FB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
.bh-split .bh-demo__form .hs-form .hs_submit input.hs-button,
.bh-split .bh-demo__form .hs-form input[type="submit"] {
    border-radius: 999px;
    font-weight: 700;
    text-transform: none;
    color: var(--bh-navy);
    transition: filter .15s ease;
}
.bh-split .bh-demo__form .hs-form .hs_submit input.hs-button:hover,
.bh-split .bh-demo__form .hs-form input[type="submit"]:hover {
    background: var(--bh-teal);
    color: var(--bh-navy);
    filter: brightness(.92);
}

/* One column from 900px: form card first, then the pitch, then the logos */
@media (max-width: 900px) {
    .bh-split__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .bh-split__side {
        display: contents;
    }
    .bh-split__card {
        order: -1;
    }
    .bh-split__content {
        padding-top: 8px;
    }
    .bh-split__trusted {
        margin-top: 8px;
        padding-top: 28px;
    }
    .bh-split .bh-split__title {
        font-size: 36px;
        line-height: 1.15;
    }
}

@media (max-width: 600px) {
    .bh-split {
        min-height: 100vh;
    }
    .bh-split__header {
        padding: 20px;
    }
    .bh-split__main {
        padding: 8px 20px 0;
    }
    .bh-split__content {
        gap: 24px;
    }
    .bh-split__card {
        padding: 28px 20px;
    }
    .bh-split .bh-split__card-title {
        font-size: 24px;
        line-height: 1.25;
    }
    .bh-split .bh-split__checklist li {
        font-size: 16px;
    }
}

/*
 * Layout "Centered" (Application Review demo page, 2026-10-22 handoff): headline centred above a 640px
 * form card, the client's "Rising fine grain" wave pattern (2026-10-28), and a gradient that goes from dark at the top to the
 * brand purple and then blends smoothly into white for the logo strip below. Designed at 1440px and 390px.
 * Client feedback 2026-10-23: lines edge to edge; no muddy band (the old navy-at-the-bottom gradient faded to
 * grey under a white overlay) - now dark top -> purple -> lavender -> white, like sui.io/intro-to-sui.
 */
.bh-split--centered {
    --bh-pill-bg: rgba(248, 249, 251, .1);
    --bh-pill-border: rgba(248, 249, 251, .3);
    --bh-split-field: 60px;
    --bh-split-fade: 240px; /* 2026-10-28: tighter band under the card (was 320 / 280) */
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 0 0 200px;
    /* White veil over the bottom only (eased stops, so no visible edge), on a dark-to-purple base */
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .03) 18%, rgba(255, 255, 255, .1) 34%, rgba(255, 255, 255, .24) 50%, rgba(255, 255, 255, .44) 65%, rgba(255, 255, 255, .68) 79%, rgba(255, 255, 255, .88) 91%, #fff 100%) left bottom / 100% var(--bh-split-fade) no-repeat,
        linear-gradient(180deg, #13153A 0%, #1C1E4E 18%, #2A2A7A 40%, #3F2CB0 62%, #4E2BCD 82%, #5A3AD2 100%);
}
.bh-split--centered .bh-pattern-x,
.bh-split--centered .bh-pattern-y {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
/* Client's masks (staging-integration.css): faint on the left, full from 80% across; fades out towards the bottom */
.bh-split--centered .bh-pattern-x {
    z-index: 0;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .10) 0%, rgba(0, 0, 0, .28) 26%, rgba(0, 0, 0, .62) 48%, #000 80%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, .10) 0%, rgba(0, 0, 0, .28) 26%, rgba(0, 0, 0, .62) 48%, #000 80%);
}
.bh-split--centered .bh-pattern-y {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .65) 0%, #000 20%, #000 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .65) 0%, #000 20%, #000 68%, transparent 100%);
}
.bh-split--centered .bh-pattern-y img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.bh-split--centered .bh-split__header,
.bh-split--centered .bh-split__main {
    position: relative;
    z-index: 1;
}
.bh-split--centered .bh-split__main {
    padding-top: 40px;
}
.bh-split__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    text-align: center;
}
.bh-split--centered .bh-split__title {
    max-width: 900px;
    /* 64px at 1440, 36px at 390 */
    font-size: clamp(36px, calc(25.6px + 2.6667vw), 64px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.bh-split--centered .bh-split__card {
    width: 100%;
    max-width: 640px;
    gap: 24px;
    padding: 44px;
    background: rgba(248, 249, 251, .12);
    border-color: rgba(248, 249, 251, .14);
    border-radius: 24px;
    text-align: left;
}
.bh-split--centered .bh-split__card-title {
    font-size: 26px;
    line-height: 1.25;
}

/* Form: 60px pills, 17px text, 20px above the button */
.bh-split--centered .bh-demo__form .hs-form input.hs-input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.bh-split--centered .bh-demo__form .hs-form select.hs-input {
    height: var(--bh-split-field);
    padding: 0 24px;
    font-size: 17px;
}
.bh-split--centered .bh-demo__form .hs-form select.hs-input {
    padding-right: 52px;
}
.bh-split--centered .bh-demo__form .hs-form .hs-input::placeholder {
    color: rgba(248, 249, 251, .8);
}
.bh-split--centered .bh-demo__form .hs-form .hs-fieldtype-select .input::after {
    top: calc((var(--bh-split-field) - 16px) / 2);
}
.bh-split--centered .bh-demo__form .hs-form .hs_submit {
    margin-top: 6px;
}
.bh-split--centered .bh-demo__form .hs-form .hs_submit input.hs-button,
.bh-split--centered .bh-demo__form .hs-form input[type="submit"] {
    height: var(--bh-split-field);
    font-size: 17px;
    line-height: var(--bh-split-field);
}

/* The two-column layout's tablet rules (form card first) don't apply here: headline stays above the card */
@media (max-width: 900px) {
    .bh-split--centered .bh-split__card {
        order: 0;
    }
    .bh-split--centered .bh-split__title {
        line-height: 1.1;
    }
}

@media (max-width: 600px) {
    .bh-split--centered {
        --bh-split-field: 56px;
        --bh-split-fade: 150px;
        padding-bottom: 120px;
    }

    .bh-split--centered .bh-split__main {
        padding-top: 16px;
    }
    .bh-split__center {
        gap: 32px;
    }
    .bh-split--centered .bh-split__title {
        line-height: 1.15;
    }
    .bh-split--centered .bh-split__card {
        padding: 28px 20px;
    }
    .bh-split--centered .bh-split__card-title {
        font-size: 22px;
    }
}
