/* Single shared customer row between the comparison table and final CTA. */
.page-template-page-self-hosted .self-hosted-customer-logos {
    --home-bg: #11151c;
    padding: 72px 0 80px;
    overflow: hidden;
}
.page-template-page-self-hosted .self-hosted-customer-logos .homepage-trusted-logo-section {
    margin: 0;
    padding: 0;
    overflow: hidden;
}
@media (max-width: 768px) {
    .page-template-page-self-hosted .self-hosted-customer-logos { padding: 48px 0; }
}

/* Final CTA fixes stay scoped to the current Self-Hosted template. */
.page-template-page-self-hosted .start-building .action-button:not(.action-button2) {
    color: #fff !important;
}
.page-template-page-self-hosted .start-building .notes-wrapper { padding-bottom: 550px; }
.page-template-page-self-hosted .start-building img.cover {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50px;
    right: 0;
    pointer-events: none;
}
@media (max-width: 768px) {
    .page-template-page-self-hosted .start-building .box-left2,
    .page-template-page-self-hosted .start-building .content-container { align-items: center; }
    .page-template-page-self-hosted .start-building .content-container {
        width: 100% !important;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .page-template-page-self-hosted .start-building .action-button {
        width: fit-content !important;
        max-width: 100%;
        height: auto;
        min-height: 48px;
        white-space: nowrap;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    .page-template-page-self-hosted .partners-section-five.start-building .notes-wrapper {
        padding-bottom: calc(100vw * 2523 / 3840) !important;
    }
    .page-template-page-self-hosted .start-building img.cover {
        display: block;
        top: auto;
        bottom: 0;
    }
}

/* Homepage FAQ layout with the Self-Hosted charcoal palette. */
.page-template-page-self-hosted .self-hosted-faq {
    --home-text: #ededed;
    --home-text-secondary: #b4bac5;
    --home-brand: #007bff;
    --home-font-regular: 'SuisseIntl-Regular', Helvetica, Arial, sans-serif;
    --home-font-medium: 'SuisseIntl-Medium', Helvetica, Arial, sans-serif;
    --home-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --faq-card-bg: #181d25;
    --faq-card-border: 1px solid #343c48;
    padding: 0 24px 80px;
    scroll-margin-top: 120px;
}
.page-template-page-self-hosted .self-hosted-faq .home-faq {
    margin: 0;
    padding: 0;
    background: transparent;
}
.page-template-page-self-hosted .self-hosted-faq .home-section__inner { max-width: 1152px; margin: 0 auto; }
.page-template-page-self-hosted .self-hosted-faq .home-section__head { margin: 0 auto 48px; text-align: center; }
.page-template-page-self-hosted .self-hosted-faq h2 {
    margin: 0;
    color: #ededed;
    font: 48px/1.12 'SuisseIntl-SemiBold', Helvetica, Arial, sans-serif;
    letter-spacing: -1.2px;
}
.page-template-page-self-hosted .self-hosted-faq summary img { position: static; }
.page-template-page-self-hosted .self-hosted-faq summary:focus-visible { outline: 2px solid #007bff; }
@media (max-width: 768px) {
    .page-template-page-self-hosted .self-hosted-faq { padding-bottom: 48px; }
    .page-template-page-self-hosted .self-hosted-faq .home-section__head { margin-bottom: 32px; }
    .page-template-page-self-hosted .self-hosted-faq h2 { font-size: 32px; line-height: 38px; letter-spacing: -0.8px; }
}
