:root {
    --sa-max-width: 1440px;
    --space-3xl: 40px;
    --space-section: calc(var(--space-3xl) * 3);
}

/* override bootstrap colors */
h1,
h2,
h3,
h4 {
    color: var(--sa-text-primary);
}

p {
    color: var(--sa-text-secondary);
}

/* custom common variables & style */
.section.section-spacing-3xl {
    padding: var(--space-section) 0;
}


.section {
    max-width: var(--sa-max-width);
    padding: 32px var(--sa-space-l, 16px);
    margin-left: auto;
    margin-right: auto;
}

.text-eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--sa-text-tertiary);
}


/* section: media text */

.media-text-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 64px;
}

    .media-text-wrapper .text-item {
        display: flex;
        flex-direction: column;
        align-self: center;
        gap: 16px;
    }

    .media-text-wrapper .media-item img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

@media (max-width:767.98px) {

    .media-text-wrapper {
        grid-template-columns: 1fr;
    }

        .media-text-wrapper .media-item img {
            width: 100%;
        }
}

@media (min-width: 768px) and (max-width: 1439.98px) {
    .media-text-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

        .media-text-wrapper .media-item img {
            width: 100%;
        }
}

/* section text media */
.text-media-wrapper {
    display: grid;
    grid-template-columns: minmax(auto, 672px) 1fr;
    gap: 64px;
    padding: 0 var(--sa-space-l);
}

    .text-media-wrapper .text-item {
        flex: 1 0 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
        /*padding-left: 12px;*/
    }

        .text-media-wrapper .text-item .button-group {
            display: flex;
            gap: 16px;
            margin-top: 16px;
        }



    .text-media-wrapper .media-item {
        background: var(--sa-gradient-brand-subtle);
        border-radius: 24px;
        z-index: -1;
        padding: var(--sa-space-xl);
    }

        .text-media-wrapper .media-item img {
            width: 100%;
            height: auto;
            aspect-ratio: 696 / 446;
            object-fit: cover;
            display: block;
            border-radius: 16px;
        }

@media (max-width: 767.98px) {
    .text-media-wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

        .text-media-wrapper .media-item {
            width: 100%;
            padding: var(--sa-space-m);
            margin-left: auto;
            margin-right: auto;
        }

        .text-media-wrapper .text-item .button-group {
            flex-direction: column;
            align-items: flex-start;
        }

    .btn-sal-join-our-team {
        width: 132px;
        padding: 8px 0;
    }
}

@media (min-width: 768px) and (max-width: 1439.98px) {
    .text-media-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

        .text-media-wrapper .media-item {
            display: flex;
            align-items: stretch;
            margin-right: 12px;
        }

            .text-media-wrapper .media-item img {
                width: 100%;
                height: 100%;
                aspect-ratio: auto;
                object-fit: cover;
            }

        .text-media-wrapper .text-item .button-group {
            flex-wrap: nowrap;
        }

            .text-media-wrapper .text-item .button-group .btn-sal {
                white-space: nowrap;
            }
}


@media (max-width: 392.98px) {
    .text-media-wrapper .text-item .button-group .btn-sal {
        font-size: 14px;
        padding: 8px 12px;
    }

    .text-media-wrapper .text-item .button-group .btn-sal-join-our-team {
        width: 120px;
        padding: 8px 0;
    }
}

/* Begin Stat Grid Component Styles */

/* Component Root */
.stat-grid {
    /* Positioning */
    position: relative;
    /* Box model */
    width: 100%;
    /* Visual */
    background: linear-gradient(190.47deg, #e8e8ed 0%, #fcfcfc 46.66%);
}

/* Container */
.stat-grid-container {
    /* Box model */
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--space-section) 16px;
}

/* Header Section */
.stat-grid-header {
    /* Box model */
    margin-bottom: 32px;
}

.stat-grid-title {
    /* Box model */
    margin: 0;
    /* Typography */
    font-weight: 600;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0;
    /* Visual */
    color: var(--sa-text-primary);
}

/* Stat Blocks Container */
.stat-grid-blocks {
    /* Box model */
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    justify-content: flex-start;
}

/* Individual Stat Block */
.stat-grid-block {
    /* Box model */
    flex: 1 1 0;
    min-width: 264px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Stat Number */
.stat-number {
    /* Box model */
    margin: 0;
    padding-top: 32px;
    /* Typography */
    font-weight: 600;
    font-size: 64px;
    line-height: 72px;
    letter-spacing: 0;
    /* Visual */
    color: var(--sa-neu-800);
}

/* Description Text */
.stat-description {
    /* Box model */
    margin-top: 8px;
    padding-bottom: 16px;
    /* Typography */
    font-weight: 600;
    font-size: 28px;
    line-height: 24px;
    letter-spacing: 0;
    /* Visual */
    color: var(--sa-neu-800);
}

/* Responsive Design - Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .stat-grid-container {
        padding: 40px 16px;
    }

    .stat-grid-header {
        margin-bottom: 32px;
    }

    .stat-grid-title {
        font-size: 32px;
        line-height: 36px;
    }

    .stat-grid-blocks {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 32px;
    }

    .stat-grid-block {
        flex: 1 1 0;
        min-width: 200px;
    }

    .stat-number {
        padding-top: 0;
        font-size: 56px;
        line-height: 64px;
    }

    .stat-description {
        font-size: 16px;
        line-height: 24px;
        padding-bottom: 0;
    }
}

/* Responsive Design - Mobile (below 768px) */
@media (max-width: 767px) {
    .stat-grid-container {
        padding: 48px 16px;
    }

    .stat-grid-header {
        margin-bottom: 32px;
    }

    .stat-grid-blocks {
        gap: 32px;
    }

    .stat-grid-block {
        gap: 8px;
    }
}

/* End Stat Grid Component Styles */

/* Hero Section */
.bg-gradient-neu-left {
    background: linear-gradient(147deg, #E8E8ED 0%, #FCFCFC 46.78%, #FCFCFC 100%);
    padding-bottom: 0;
}

.bg-white-match {
    background-color: #FCFCFC;
    padding-top: 0;
}

.hero-text-media-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

    .hero-text-media-wrapper .text-item {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .hero-text-media-wrapper .hero-text {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .hero-text-media-wrapper h1 span {
        background: var(--sa-gradient-text-brand);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Image block */
    .hero-text-media-wrapper .media-item {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .hero-text-media-wrapper .hero-background-image {
        position: absolute;
        inset: 0;
        max-width: 360.854px;
        max-height: 318.605px;
    }

        .hero-text-media-wrapper .hero-background-image img {
            width: 100%;
            height: auto;
        }

    .hero-text-media-wrapper .hero-image {
        position: absolute;
        top: 15%;
        right: 0;
        width: 100%;
        max-width: 318.734px;
        max-height: 206.933px;
    }

        .hero-text-media-wrapper .hero-image img {
            width: 100%;
            height: auto;
            border-radius: 16px;
        }

/* Responsive */
@media (min-width: 768px) {
    .hero-text-media-wrapper .hero-background-image {
        max-width: 735.701px;
        max-height: 649.566px;
    }

    .hero-text-media-wrapper .hero-image {
        max-width: 649.83px;
        max-height: 421.892px;
    }
}

@media (min-width: 1024px) {
    .hero-text-media-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

        .hero-text-media-wrapper .hero-background-image {
            max-width: 475.807px;
            max-height: 420.1px;
        }

        .hero-text-media-wrapper .hero-image {
            max-width: 420.27px;
            max-height: 272.854px;
        }
}

@media (min-width: 1440px) {
    .hero-text-media-wrapper .hero-background-image {
        max-width: 683.723px;
        max-height: 603.673px;
    }

    .hero-text-media-wrapper .hero-image {
        max-width: 603.918px;
        max-height: 392.084px;
    }
}

/* CTA Component Styles - Based on Figma Design */

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    position: relative;
    width: 100%;
}

/* Split Background */
.cta-split-background {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: none;
    height: 100%;
}

.cta-split-top {
    background-color: var(--sa-background-primary);
    height: 50%;
    width: 100%;
}

.cta-split-bottom {
    background: var(--sa-background-inverse-primary);
    height: 50%;
    width: 100%;
}

.cta-section {
    display: flex;
    flex-direction: column;
    max-width: 1300px;
    width: 100%;
    padding: 0 16px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    margin: 0 auto;
}

.cta-container {
    background-color: var(--sa-background-brand-secondary-bold);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    padding: 80px 40px;
    border-radius: 12px;
    position: relative;
    box-sizing: border-box;
}

.cta-bg-ellipses {
    display: flex;
    width: 823px;
    height: 823px;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-15%, -40%);
    pointer-events: none;
}

    .cta-bg-ellipses img {
        display: block;
        max-width: none;
        width: 100%;
        height: 100%;
    }


.cta-content {
    flex-direction: column;
    max-width: 600px;
    position: relative;
    width: fit-content;
}

    .cta-content .btn-sal {
        font-size: 16px;
    }

.cta-heading {
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
    letter-spacing: 0;
    color: var(--sa-text-primary-inverse);
    margin: 0 0 20px 0;
    white-space: pre-wrap;
}

/* Responsive Styles */
@media (min-width: 767.98px) {
    .cta {
        padding: 40px 0;
    }

    .cta-heading {
        font-size: 48px;
        line-height: 40px;
    }

    .cta-button-group {
        min-width: 0;
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .cta-bg-ellipses {
        right: -265px;
        bottom: -330px;
    }
}

/*section: integrations */
.integrations-header {
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: var(--sa-space-l);
}
.integrations-wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
    background: #fcfcfc;
}

.integrations-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.integrations-logos-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, max-content));
    gap: 64px;
    justify-content: center;
}

.integrations-header h2 {
    max-width: 660px;
}

.integrations-header .text-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.integrations-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--sa-text-secondary);
}

.integrations-logos-wrapper img {
    width: 147.2px;
    height: auto;
}

@media (max-width: 1023.98px) {
    .integrations-header .text-item h2 {
        font-size: 48px;
    }

    .integrations-logos-wrapper img:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 767.98px) {
    .integrations-header .text-item h2 {
        font-size: 36px;
    }

    .integrations-logos-wrapper img {
        flex: 1;
        min-width: 120px;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    .integrations-logos-wrapper {
        display: flex;
        gap: 32px 64px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) {
    .integrations-logos-wrapper img {
        width: 136px;
    }
}

@media (min-width: 1024px) {
    .integrations-logos-wrapper img {
        width: 164.79px;
    }
}

@media (min-width: 1440px) {
    .integrations-logos-wrapper img {
        width: 200px;
    }
}

/*section end: integrations */


/* section: headshot grid */

.company-headshot-grid {
    position: relative;
    overflow: visible;
    padding: 40px 0;
    background: #f5f5f7;
}

.company-headshot-grid-bg {
    position: absolute;
    left: calc(50% - 560px);
    top: calc(50% - 565px);
    width: 1280px;
    height: 1280px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    border: 0;
    outline: 0;
    background: url("../../../Images/Shared/BgEllipsis/stroke-brand-default-blur.webp") no-repeat center center;
    background-size: contain;
    opacity: 0.68;
}

    .company-headshot-grid-bg img {
        display: none;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.company-headshot-grid-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.company-headshot-grid-header {
    max-width: 660px;
}

.company-headshot-grid-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1076px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

.company-headshot-grid-featured {
    display: grid;
    grid-template-columns: minmax(220px, 315px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 16px;
    border: 1px solid #e3e5eb;
    border-radius: 12px;
    background: #ffffff;
}

.company-headshot-grid-featured-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .company-headshot-grid-featured-image img,
    .company-headshot-card-image {
        display: block;
        width: 100%;
        max-width: 315px;
        aspect-ratio: 1 / 1;
        height: auto;
        border: 3px solid transparent;
        border-radius: 50%;
        background: linear-gradient(#fff, #fff) padding-box, var(--sa-gradient-brand-default) border-box;
        object-fit: cover;
        box-sizing: border-box;
    }

.company-headshot-grid-featured-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    padding: 32px 16px;
}

.company-headshot-grid-person {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .company-headshot-grid-person h3,
    .company-headshot-card-copy h4 {
        margin: 0;
        font-size: 28px;
        line-height: 32px;
        font-weight: 600;
        color: var(--sa-text-primary);
    }

.company-headshot-grid-role,
.company-headshot-card-copy p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--sa-text-secondary);
}

.company-headshot-grid-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    color: var(--sa-text-link);
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

    .company-headshot-grid-link:hover {
        color: var(--sa-text-link-hover);
    }

.company-headshot-grid-quote {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--sa-text-primary);
}

.company-headshot-grid-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.company-headshot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 260px;
    min-height: 265px;
    padding: 16px;
    border: 1px solid #e3e5eb;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
}

    .company-headshot-card.is-active {
        background: #ebecef;
        border-color: #d6d8e1;
    }

.company-headshot-card-image {
    max-width: 120px;
}

.company-headshot-card-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

@media (max-width: 1023.98px) {
    .company-headshot-grid-content {
        padding: 0;
    }

    .company-headshot-grid-featured {
        grid-template-columns: 1fr;
    }

    .company-headshot-grid-featured-copy {
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    .company-headshot-grid-bg {
        left: calc(50% - 280px);
        top: calc(50% - 360px);
        width: 980px;
        height: 980px;
        transform: translate(-50%, -50%);
        opacity: 0.6;
    }

    .company-headshot-grid-section {
        gap: 32px;
    }

    .company-headshot-grid-featured {
        gap: 20px;
    }

    .company-headshot-grid-person h3,
    .company-headshot-card-copy h4 {
        font-size: 20px;
        line-height: 28px;
    }

    .company-headshot-card {
        width: 100%;
        min-height: 0;
    }
}

/* section end: headshot grid */


/* section: feature grid */

.company-feature-grid {
    padding: 40px 0;
    background: #fcfcfc;
}

.company-feature-grid-section {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
    gap: 64px;
    align-items: start;
}

.company-feature-grid-heading {
    max-width: 660px;
}

.company-feature-grid-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(224px, 1fr));
    gap: 32px;
}

.company-feature-grid-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 16px;
    background: transparent;
}

.company-feature-grid-icon {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 64px;
    height: 64px;
    color: var(--sa-icon-link);
    font-size: 30px;
}

.company-feature-grid-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .company-feature-grid-copy h3 {
        margin: 0;
        font-size: 28px;
        line-height: 32px;
        font-weight: 600;
        color: var(--sa-text-primary);
    }

    .company-feature-grid-copy p,
    .company-feature-grid-copy address {
        margin: 0;
        font-size: 16px;
        line-height: 24px;
        color: var(--sa-text-secondary);
        font-style: normal;
    }

    .company-feature-grid-copy a {
        color: var(--sa-text-link);
    }

        .company-feature-grid-copy a:hover {
            color: var(--sa-text-link-hover);
        }

@media (max-width: 1023.98px) {
    .company-feature-grid-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767.98px) {
    .company-feature-grid-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .company-feature-grid-card {
        gap: 16px;
        padding-top: 0;
    }

    .company-feature-grid-copy h3 {
        font-size: 20px;
        line-height: 28px;
    }
}

/* section end: feature grid */
