/*
 * Homepage (index.html) — aligns top bands with /pages + /quizzes palette.
 * Requires: quiz-app-tokens.css, body.homepage-brand (with .quiz-app for header shell).
 *
 * Bands: dark green (header + hero incl. video) → light yellow (testimonials).
 */

/* Strategy canvas node chrome (same as /strategy-canvas) — for homepage intake diagram mini-nodes */
@import url("./ui-foundation.css");
@import url("./css/strategy-canvas/01-shell-and-viewport.css");
@import url("./css/strategy-canvas/02-canvas-nodes-and-types.css");

/* Semantic <header> wraps nav + hero + media; no layout box so sticky bar still scrolls with page like before */
.homepage-header {
    display: contents;
}

body.homepage-brand {
    background-color: #f9f1ea;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.homepage-brand::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

/* Hide vertical scrollbar on homepage while keeping scroll (wheel / trackpad) */
html:has(body.homepage-brand) {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html:has(body.homepage-brand)::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

/* No bottom rule on homepage nav (quiz-app shell adds border + hairline shadow) */
body.homepage-brand .header {
    border-bottom: none;
    box-shadow: none;
}

/* Sticky nav — no drop shadow on scroll */
body.homepage-brand .header.header--scrolled {
    box-shadow: none;
    border-bottom: none;
}

/* Header logo: use homepage4 default (17px) — same as /quizzes, /pages */

/* —— Hero (dark green, same family as header) —— */
body.homepage-brand .hero {
    background: var(--buro-brand-dark-green);
    padding-top: 32px;
    padding-bottom: 56px;
}

body.homepage-brand .hero-title {
    color: #f3fcf6;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    font-size: 55px;
    line-height: 1.1;
}

body.homepage-brand .hero-subtitle {
    color: rgba(243, 252, 246, 0.78);
}

body.homepage-brand .announcement-content {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

body.homepage-brand .announcement-content:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

body.homepage-brand .news-tag {
    background: var(--buro-brand-main-green);
    color: var(--buro-brand-dark-green);
}

body.homepage-brand .announcement-text {
    color: rgba(243, 252, 246, 0.92);
}

body.homepage-brand .arrow-icon {
    color: var(--buro-brand-accent);
}

body.homepage-brand .hero-cta {
    background: var(--buro-brand-main-green);
    color: var(--buro-brand-dark-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

body.homepage-brand .hero-cta:hover {
    background: #6bc584;
    color: var(--buro-brand-dark-green);
}

body.homepage-brand .hero-cta-secondary {
    background: transparent;
    color: var(--buro-brand-accent);
    border: 1px solid rgba(254, 243, 164, 0.55);
    box-shadow: none;
}

body.homepage-brand .hero-cta-secondary:hover {
    background: var(--buro-brand-accent);
    color: var(--buro-brand-dark-green);
    border-color: var(--buro-brand-accent);
}

/* Logo marquee fade — match hero background */
body.homepage-brand .logos-container::before {
    background: linear-gradient(to right, var(--buro-brand-dark-green) 0%, transparent 100%);
}

body.homepage-brand .logos-container::after {
    background: linear-gradient(to left, var(--buro-brand-dark-green) 0%, transparent 100%);
}

body.homepage-brand .logo-item {
    opacity: 0.85;
}

body.homepage-brand .logo-item img {
    filter: grayscale(100%) brightness(1.85);
}

body.homepage-brand .logo-item:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Video block — inside .hero, same dark green band */
body.homepage-brand .hero .header-image {
    background: transparent;
    padding: 0 24px 48px;
    margin-top: 40px;
}

body.homepage-brand .hero .header-image .image-container {
    width: 80%;
    max-width: 960px; /* match canvas preview block below */
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
    border: 5px solid #0c3336;
}

@media (max-width: 768px) {
    /* Tighter sticky bar + hero type scale (overrides desktop 55px title) */
    body.homepage-brand .header {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.homepage-brand .header .header-container {
        height: 56px;
    }

    body.homepage-brand .logo-img {
        height: 15px;
    }

    body.homepage-brand .hero {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    body.homepage-brand .hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    body.homepage-brand .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    body.homepage-brand .announcement-content {
        margin-bottom: 14px;
    }

    /* Larger demo gif on small screens */
    body.homepage-brand .hero .header-image {
        margin-top: 28px;
        padding: 0 12px 28px;
    }

    body.homepage-brand .hero .header-image .image-container {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    body.homepage-brand .hero-title {
        font-size: 28px;
        line-height: 1.18;
    }
}

/* Mini canvas — above “From our resources”, same width as hero video */
body.homepage-brand .homepage-canvas-preview-section {
    padding: 64px 24px 48px;
    background: #f9f1ea;
}

body.homepage-brand .homepage-canvas-preview-container {
    width: 80%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

body.homepage-brand .homepage-canvas-preview-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    color: var(--buro-brand-dark-green, #072b2e);
    margin: 0 0 28px;
    letter-spacing: -0.02em;
}

/* Product demo section: copy only (canvas lives above Resources) */
body.homepage-brand .demo-content-wrapper.homepage-demo-copy-only {
    display: block;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

body.homepage-brand .demo-content-wrapper.homepage-demo-copy-only .demo-content-column {
    max-width: none;
}

/* Logos — under Trusted by founders, aligned with testimonials width */
body.homepage-brand .features-section .client-logos-inline {
    margin-top: 40px;
    margin-bottom: 0;
    padding: 0;
}

body.homepage-brand .features-section .logos-container {
    width: 80%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

body.homepage-brand .features-section .logos-container::before {
    background: linear-gradient(to right, #f6f8fb 0%, transparent 100%);
}

body.homepage-brand .features-section .logos-container::after {
    background: linear-gradient(to left, #f6f8fb 0%, transparent 100%);
}

/* —— Testimonials: canvas dot bg (same as .homepage-marketing-shift / .homepage-pipeline-story) —— */
body.homepage-brand .features-section {
    background-color: #f6f8fb;
    background-image: radial-gradient(circle at center, #dce3ee 1px, transparent 1.5px);
    background-size: 32px 32px;
    padding-top: 64px;
    padding-bottom: 56px;
    padding-left: clamp(20px, 6vw, 48px);
    padding-right: clamp(20px, 6vw, 48px);
    overflow-x: hidden;
}

/* Same uppercase label as .homepage-pitch-trusted-logos__title above the logo marquee */
body.homepage-brand .features-section .homepage-pitch-trusted-logos__title {
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    margin-bottom: 36px;
}

body.homepage-brand .features-section .testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(90, 183, 116, 0.22);
}

body.homepage-brand .features-section .testimonial-card:hover {
    border-color: rgba(90, 183, 116, 0.4);
    box-shadow: none;
}

body.homepage-brand .features-section .testimonial-quote {
    font-style: normal;
}

/* —— Testimonials carousel: track translateX slides the strip; equal slide widths keep text stable —— */
body.homepage-brand .features-section .testimonials-carousel {
    --tc-slide-w: min(420px, 86vw);
    --tc-slide-gap: 12px;
    position: relative;
    max-width: min(960px, 100%);
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.homepage-brand .features-section .testimonials-carousel::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

body.homepage-brand .features-section .testimonials-carousel * {
    -webkit-user-select: none;
    user-select: none;
}

body.homepage-brand .features-section .testimonials-carousel-row {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    min-width: 0;
}

body.homepage-brand .features-section .testimonials-carousel-viewport {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 12px 4px 8px;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    touch-action: manipulation;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Soft edges — keep fades narrow so prev/next peeks (esp. loop clones) stay visible */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 3%,
        #000 97%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 3%,
        #000 97%,
        transparent
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

body.homepage-brand .features-section .testimonials-carousel-viewport::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

body.homepage-brand .features-section .testimonials-carousel-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: var(--tc-slide-gap);
    width: max-content;
    max-width: none;
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s cubic-bezier(0.34, 1.02, 0.32, 1);
    transform-style: preserve-3d;
    flex: 1 1 auto;
    min-height: 0;
}

body.homepage-brand .features-section .testimonials-carousel-track.testimonials-carousel-track--no-transition {
    transition: none !important;
}

/* During infinite-loop snap (clone position → real slide), suppress all motion/opacity
   transitions so the active swap doesn’t flash one frame */
body.homepage-brand .features-section .testimonials-carousel.testimonials-carousel--instant-snap .testimonials-carousel-track,
body.homepage-brand .features-section .testimonials-carousel.testimonials-carousel--instant-snap .testimonials-carousel-slide {
    transition: none !important;
}

body.homepage-brand .features-section .testimonials-carousel-slide {
    flex: 0 0 var(--tc-slide-w);
    width: var(--tc-slide-w);
    min-width: var(--tc-slide-w);
    max-width: var(--tc-slide-w);
    box-sizing: border-box;
    padding: 0 8px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateZ(-120px) scale(0.82) rotateY(0deg);
    transform-origin: center center;
    transition:
        opacity 0.45s ease,
        transform 0.5s cubic-bezier(0.34, 1.02, 0.32, 1),
        filter 0.45s ease;
    z-index: 0;
    position: relative;
}

body.homepage-brand .features-section .testimonials-carousel-slide.is-prev,
body.homepage-brand .features-section .testimonials-carousel-slide.is-next {
    opacity: 0.94;
    pointer-events: auto;
    cursor: pointer;
    transition:
        opacity 0.45s ease,
        transform 0.5s cubic-bezier(0.34, 1.02, 0.32, 1),
        filter 0.45s ease;
    z-index: 1;
    filter: brightness(0.97);
}

body.homepage-brand .features-section .testimonials-carousel-slide.is-prev {
    transform: translateZ(-70px) scale(0.88) rotateY(24deg);
}

body.homepage-brand .features-section .testimonials-carousel-slide.is-next {
    transform: translateZ(-70px) scale(0.88) rotateY(-24deg);
}

/* Loop clones (first peeking right of last, last peeking left of first): more face-on so the cycle reads */
body.homepage-brand .features-section .testimonials-carousel-slide--clone.is-prev {
    transform: translateZ(-52px) scale(0.9) rotateY(16deg);
    opacity: 0.96;
}

body.homepage-brand .features-section .testimonials-carousel-slide--clone.is-next {
    transform: translateZ(-52px) scale(0.9) rotateY(-16deg);
    opacity: 0.96;
}

body.homepage-brand .features-section .testimonials-carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateZ(0) scale(1) rotateY(0deg);
    transition:
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.34, 1.02, 0.32, 1),
        filter 0.4s ease;
    z-index: 3;
    filter: none;
}

body.homepage-brand .features-section .testimonials-carousel-slide.is-prev,
body.homepage-brand .features-section .testimonials-carousel-slide.is-next,
body.homepage-brand .features-section .testimonials-carousel-slide.is-active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

/* Off-DOM height measure — no transition, no 3D */
body.homepage-brand .features-section .testimonials-carousel-measure-wrap {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    flex: none !important;
    max-width: none !important;
}

@media (prefers-reduced-motion: reduce) {
    body.homepage-brand .features-section .testimonials-carousel-track {
        transition: none;
    }

    body.homepage-brand .features-section .testimonials-carousel-slide,
    body.homepage-brand .features-section .testimonials-carousel-slide.is-prev,
    body.homepage-brand .features-section .testimonials-carousel-slide.is-next,
    body.homepage-brand .features-section .testimonials-carousel-slide.is-active {
        transition: opacity 0.2s ease;
    }

    body.homepage-brand .features-section .testimonials-carousel-slide.is-prev {
        transform: translateZ(0) scale(0.88) rotateY(0deg);
    }

    body.homepage-brand .features-section .testimonials-carousel-slide.is-next {
        transform: translateZ(0) scale(0.88) rotateY(0deg);
    }

    body.homepage-brand .features-section .testimonials-carousel-slide--clone.is-prev,
    body.homepage-brand .features-section .testimonials-carousel-slide--clone.is-next {
        transform: translateZ(0) scale(0.88) rotateY(0deg);
        opacity: 0.94;
    }
}

/* Cards keep natural height; viewport min-height (JS) fits tallest — slides centered in track */
body.homepage-brand .features-section .testimonials-carousel-slide .testimonial-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 20px;
    border-radius: 14px;
    box-shadow: none;
    transition: border-color 0.25s ease;
}

body.homepage-brand .features-section .testimonials-carousel-slide.is-active .testimonial-card {
    box-shadow: none;
}

body.homepage-brand .features-section .testimonials-carousel-slide .testimonial-card:hover {
    transform: none;
}

body.homepage-brand .features-section .testimonials-carousel-slide .testimonial-header {
    margin-bottom: 12px;
}

body.homepage-brand .features-section .testimonials-carousel-slide .testimonial-name {
    font-size: 16px;
}

body.homepage-brand .features-section .testimonials-carousel-slide .testimonial-title {
    font-size: 13px;
}

body.homepage-brand .features-section .testimonials-carousel-slide .testimonial-quote {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 0;
    font-style: normal;
    flex: 0 1 auto;
}

body.homepage-brand .features-section .testimonials-carousel-slide:not(.is-active) .testimonial-quote {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.homepage-brand .features-section .testimonials-carousel-btn {
    flex-shrink: 0;
    align-self: center;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7, 43, 46, 0.18);
    border-radius: 50%;
    background: #fff;
    color: var(--buro-brand-dark-green, #072b2e);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    box-shadow: none;
}

body.homepage-brand .features-section .testimonials-carousel-btn:hover {
    background: var(--buro-brand-main-green, #5ab774);
    border-color: rgba(7, 43, 46, 0.12);
    transform: scale(1.05);
}

body.homepage-brand .features-section .testimonials-carousel-btn:focus-visible {
    outline: 2px solid var(--buro-brand-main-green, #5ab774);
    outline-offset: 2px;
}

body.homepage-brand .features-section .testimonials-carousel-btn:active {
    transform: scale(0.98);
}

body.homepage-brand .features-section .testimonials-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

body.homepage-brand .features-section .testimonials-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(7, 43, 46, 0.22);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

body.homepage-brand .features-section .testimonials-carousel-dot:hover {
    background: rgba(7, 43, 46, 0.4);
}

body.homepage-brand .features-section .testimonials-carousel-dot.is-active {
    background: var(--buro-brand-main-green, #5ab774);
    transform: scale(1.15);
}

body.homepage-brand .features-section .testimonials-carousel-dot:focus-visible {
    outline: 2px solid var(--buro-brand-dark-green, #072b2e);
    outline-offset: 2px;
}

body.homepage-brand .features-section .testimonials-carousel-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    /* Flat carousel: 3D rotation widens layout and paired with fixed height felt cramped */
    body.homepage-brand .features-section .testimonials-carousel-viewport {
        perspective: none;
        padding: 6px 2px 4px;
    }

    body.homepage-brand .features-section .testimonials-carousel-track {
        align-items: flex-start;
    }

    body.homepage-brand .features-section .testimonials-carousel-slide {
        transform: translateZ(0) scale(0.88) rotateY(0deg);
    }

    body.homepage-brand .features-section .testimonials-carousel-slide.is-prev {
        transform: translateZ(0) scale(0.92) rotateY(0deg);
    }

    body.homepage-brand .features-section .testimonials-carousel-slide.is-next {
        transform: translateZ(0) scale(0.92) rotateY(0deg);
    }

    body.homepage-brand .features-section .testimonials-carousel-slide--clone.is-prev,
    body.homepage-brand .features-section .testimonials-carousel-slide--clone.is-next {
        transform: translateZ(0) scale(0.92) rotateY(0deg);
    }

    body.homepage-brand .features-section .testimonials-carousel-slide.is-active {
        transform: translateZ(0) scale(1) rotateY(0deg);
    }
}

@media (max-width: 640px) {
    body.homepage-brand .features-section .testimonials-carousel-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    body.homepage-brand .features-section .testimonials-carousel-viewport {
        order: 1;
        width: 100%;
        flex: 1 1 100%;
    }

    body.homepage-brand .features-section .testimonials-carousel-btn--prev {
        order: 2;
    }

    body.homepage-brand .features-section .testimonials-carousel-btn--next {
        order: 3;
    }
}

/* Autonomous GTM engine tour */
body.homepage-brand .features-showcase.engine-tour {
    background: #f9f1ea;
    padding: 88px 24px 54px;
}

body.homepage-brand .engine-tour-container {
    max-width: 1180px;
}

body.homepage-brand .engine-tour-copy {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

body.homepage-brand .engine-tour-eyebrow,
body.homepage-brand .homepage-section-label {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(90, 183, 116, 0.12);
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

body.homepage-brand .features-showcase.engine-tour .features-showcase-title,
body.homepage-brand .homepage-section-title {
    color: var(--buro-brand-dark-green, #072b2e);
}

body.homepage-brand .features-showcase.engine-tour .features-showcase-subtitle,
body.homepage-brand .homepage-section-description {
    color: rgba(7, 43, 46, 0.72);
}

body.homepage-brand .engine-tour-shell {
    border-radius: 28px;
    border: 1px solid rgba(7, 43, 46, 0.10);
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(7, 43, 46, 0.08);
    overflow: hidden;
}

body.homepage-brand .engine-tour-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
    border-bottom: 1px solid rgba(7, 43, 46, 0.08);
    background: #fffdfa;
}

body.homepage-brand .engine-tour-tab {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(7, 43, 46, 0.10);
    border-radius: 999px;
    background: #ffffff;
    color: rgba(7, 43, 46, 0.72);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.homepage-brand .engine-tour-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(7, 43, 46, 0.18);
    color: var(--buro-brand-dark-green, #072b2e);
}

body.homepage-brand .engine-tour-tab.is-active {
    background: var(--buro-brand-dark-green, #072b2e);
    border-color: var(--buro-brand-dark-green, #072b2e);
    color: #f3fcf6;
}

body.homepage-brand .engine-tour-tab:focus-visible {
    outline: 2px solid rgba(7, 43, 46, 0.35);
    outline-offset: 2px;
}

body.homepage-brand .engine-tour-panel[hidden] {
    display: none !important;
}

body.homepage-brand .engine-tour-stage {
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    padding: 28px;
}

body.homepage-brand .engine-tour-stage-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.homepage-brand .engine-tour-panel-eyebrow {
    margin: 0 0 16px;
    color: rgba(7, 43, 46, 0.52);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

body.homepage-brand .engine-tour-panel-title {
    margin: 0 0 16px;
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

body.homepage-brand .engine-tour-panel-description {
    margin: 0;
    color: rgba(7, 43, 46, 0.74);
    font-size: 17px;
    line-height: 1.65;
}

body.homepage-brand .engine-tour-panel-points {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

body.homepage-brand .engine-tour-panel-points span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 14px;
    line-height: 1.5;
}

body.homepage-brand .engine-tour-panel-points span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--buro-brand-main-green, #5ab774);
    flex: 0 0 auto;
}

body.homepage-brand .engine-tour-stage-visual {
    min-width: 0;
}

body.homepage-brand .engine-visual-card {
    height: 100%;
    min-height: 430px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(7, 43, 46, 0.08);
    background: #fbfaf8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.homepage-brand .engine-visual-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

body.homepage-brand .engine-visual-window-title {
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.homepage-brand .engine-visual-window-meta {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(90, 183, 116, 0.12);
    color: rgba(7, 43, 46, 0.68);
    font-size: 12px;
    font-weight: 600;
}

body.homepage-brand .engine-agent-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 270px;
    gap: 16px;
    height: calc(100% - 44px);
}

body.homepage-brand .engine-agent-graph,
body.homepage-brand .engine-agent-log,
body.homepage-brand .engine-canvas-board,
body.homepage-brand .engine-capture-panel {
    border-radius: 20px;
    border: 1px solid rgba(7, 43, 46, 0.08);
    background: #ffffff;
}

body.homepage-brand .engine-agent-graph {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

body.homepage-brand .engine-agent-graph::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(7, 43, 46, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 43, 46, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
}

body.homepage-brand .engine-agent-bubble {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(7, 43, 46, 0.10);
    background: #ffffff;
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(7, 43, 46, 0.06);
}

body.homepage-brand .engine-agent-bubble--primary {
    background: var(--buro-brand-dark-green, #072b2e);
    color: #f3fcf6;
    border-color: var(--buro-brand-dark-green, #072b2e);
}

body.homepage-brand .engine-agent-bubble:nth-child(1) {
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

body.homepage-brand .engine-agent-bubble:nth-child(2) {
    top: 170px;
    left: 36px;
}

body.homepage-brand .engine-agent-bubble:nth-child(3) {
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
}

body.homepage-brand .engine-agent-bubble:nth-child(4) {
    top: 170px;
    right: 36px;
}

body.homepage-brand .engine-agent-line {
    position: absolute;
    z-index: 0;
    height: 2px;
    background: rgba(90, 183, 116, 0.8);
    transform-origin: left center;
}

body.homepage-brand .engine-agent-line--a {
    top: 118px;
    left: 50%;
    width: 126px;
    transform: rotate(145deg);
}

body.homepage-brand .engine-agent-line--b {
    top: 118px;
    left: 50%;
    width: 70px;
    transform: translateX(-50%) rotate(90deg);
}

body.homepage-brand .engine-agent-line--c {
    top: 118px;
    left: 50%;
    width: 126px;
    transform: rotate(35deg);
}

body.homepage-brand .engine-agent-log {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 16px;
}

body.homepage-brand .engine-agent-log-item {
    padding: 14px 15px;
    border-radius: 16px;
    background: #f7f5f1;
    color: rgba(7, 43, 46, 0.72);
    font-size: 14px;
    line-height: 1.55;
}

body.homepage-brand .engine-agent-log-item--highlight {
    background: rgba(90, 183, 116, 0.12);
    color: var(--buro-brand-dark-green, #072b2e);
    font-weight: 600;
}

body.homepage-brand .engine-canvas-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

body.homepage-brand .engine-canvas-column {
    display: grid;
    gap: 12px;
}

body.homepage-brand .engine-canvas-chip {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid rgba(7, 43, 46, 0.10);
    background: #ffffff;
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(7, 43, 46, 0.04);
}

body.homepage-brand .engine-canvas-chip--primary {
    background: var(--buro-brand-dark-green, #072b2e);
    border-color: var(--buro-brand-dark-green, #072b2e);
    color: #f3fcf6;
}

body.homepage-brand .engine-canvas-chip--accent {
    background: rgba(254, 243, 164, 0.34);
}

body.homepage-brand .engine-canvas-track {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 6px;
}

body.homepage-brand .engine-canvas-track span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    background: #f4f1ec;
    color: rgba(7, 43, 46, 0.68);
    font-size: 13px;
    font-weight: 600;
}

body.homepage-brand .engine-visual-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: calc(100% - 8px);
}

body.homepage-brand .engine-capture-panel {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

body.homepage-brand .engine-capture-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

body.homepage-brand .engine-capture-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(90, 183, 116, 0.14);
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 12px;
    font-weight: 700;
}

body.homepage-brand .engine-capture-badge--soft {
    background: #f4f1ec;
    color: rgba(7, 43, 46, 0.62);
}

body.homepage-brand .engine-capture-page,
body.homepage-brand .engine-capture-quiz {
    flex: 1;
    padding: 18px;
    border-radius: 18px;
    background: #f8f5ef;
}

body.homepage-brand .engine-capture-page strong,
body.homepage-brand .engine-capture-quiz strong {
    display: block;
    margin-bottom: 12px;
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 24px;
    line-height: 1.15;
}

body.homepage-brand .engine-capture-page p {
    margin: 0 0 16px;
    color: rgba(7, 43, 46, 0.68);
    font-size: 15px;
    line-height: 1.6;
}

body.homepage-brand .engine-capture-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.homepage-brand .engine-capture-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ffffff;
    color: rgba(7, 43, 46, 0.72);
    font-size: 12px;
    font-weight: 600;
}

body.homepage-brand .engine-capture-stats {
    display: grid;
    gap: 12px;
}

body.homepage-brand .engine-capture-stats div {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
}

body.homepage-brand .engine-capture-stats strong {
    font-size: 24px;
    margin-bottom: 0;
}

body.homepage-brand .engine-capture-stats span {
    color: rgba(7, 43, 46, 0.60);
    font-size: 12px;
    font-weight: 600;
}

body.homepage-brand .homepage-problem,
body.homepage-brand .homepage-moat {
    padding: 34px 24px 72px;
    background: #f9f1ea;
}

body.homepage-brand .homepage-problem-container,
body.homepage-brand .homepage-moat-container {
    max-width: 1180px;
    margin: 0 auto;
}

body.homepage-brand .homepage-problem-copy,
body.homepage-brand .homepage-moat-copy {
    max-width: 780px;
    margin-bottom: 26px;
}

body.homepage-brand .homepage-section-title {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

body.homepage-brand .homepage-section-description {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
}

body.homepage-brand .homepage-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.homepage-brand .homepage-problem-card,
body.homepage-brand .homepage-moat-card {
    border-radius: 24px;
    border: 1px solid rgba(7, 43, 46, 0.08);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(7, 43, 46, 0.06);
}

body.homepage-brand .homepage-problem-card {
    padding: 26px;
}

body.homepage-brand .homepage-problem-card h3 {
    margin: 0 0 12px;
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 24px;
    line-height: 1.15;
}

body.homepage-brand .homepage-problem-card p {
    margin: 0;
    color: rgba(7, 43, 46, 0.68);
    font-size: 15px;
    line-height: 1.65;
}

body.homepage-brand .homepage-moat-card {
    padding: 28px;
}

body.homepage-brand .homepage-moat-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: center;
}

body.homepage-brand .homepage-moat-step {
    min-height: 180px;
    padding: 22px;
    border-radius: 20px;
    background: #f8f5ef;
    border: 1px solid rgba(7, 43, 46, 0.06);
}

body.homepage-brand .homepage-moat-step-label {
    display: inline-flex;
    margin-bottom: 16px;
    color: rgba(7, 43, 46, 0.48);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

body.homepage-brand .homepage-moat-step strong {
    display: block;
    margin-bottom: 10px;
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 22px;
    line-height: 1.15;
}

body.homepage-brand .homepage-moat-step p {
    margin: 0;
    color: rgba(7, 43, 46, 0.66);
    font-size: 14px;
    line-height: 1.6;
}

body.homepage-brand .homepage-moat-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(7, 43, 46, 0.34);
    font-size: 28px;
    font-weight: 600;
}

body.homepage-brand .homepage-moat-automation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(7, 43, 46, 0.08);
}

body.homepage-brand .homepage-moat-automation span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(90, 183, 116, 0.12);
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 1040px) {
    body.homepage-brand .engine-tour-stage {
        grid-template-columns: 1fr;
    }

    body.homepage-brand .engine-agent-workspace,
    body.homepage-brand .engine-visual-split,
    body.homepage-brand .homepage-problem-grid {
        grid-template-columns: 1fr;
    }

    body.homepage-brand .homepage-moat-flow {
        grid-template-columns: 1fr;
    }

    body.homepage-brand .homepage-moat-arrow {
        transform: rotate(90deg);
        min-height: 34px;
    }
}

@media (max-width: 720px) {
    body.homepage-brand .features-showcase.engine-tour {
        padding: 72px 20px 42px;
    }

    body.homepage-brand .homepage-problem,
    body.homepage-brand .homepage-moat {
        padding: 24px 20px 56px;
    }

    body.homepage-brand .engine-tour-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.homepage-brand .engine-tour-stage {
        padding: 20px;
    }

    body.homepage-brand .engine-visual-card {
        min-height: 0;
    }

    body.homepage-brand .engine-canvas-board {
        grid-template-columns: 1fr;
    }

    body.homepage-brand .engine-canvas-track {
        grid-template-columns: 1fr;
    }

    body.homepage-brand .engine-agent-bubble:nth-child(2) {
        left: 18px;
    }

    body.homepage-brand .engine-agent-bubble:nth-child(4) {
        right: 18px;
    }
}

/* —— Newsletter modal (subscribe) — brand palette —— */
body.homepage-brand .newsletter-modal-overlay {
    background: var(--buro-delete-overlay, rgba(7, 43, 46, 0.62));
}

body.homepage-brand .newsletter-modal {
    background: var(--buro-brand-green-light);
    border: 1px solid rgba(90, 183, 116, 0.35);
    box-shadow: 0 24px 48px rgba(7, 43, 46, 0.22);
}

body.homepage-brand .newsletter-modal-title {
    color: var(--buro-brand-dark-green);
}

body.homepage-brand .newsletter-modal-close {
    color: rgba(7, 43, 46, 0.5);
}

body.homepage-brand .newsletter-modal-close:hover {
    background: rgba(90, 183, 116, 0.2);
    color: var(--buro-brand-dark-green);
}

body.homepage-brand .newsletter-modal-description {
    color: rgba(7, 43, 46, 0.72);
}

body.homepage-brand .newsletter-input {
    background: #fff;
    border-color: rgba(90, 183, 116, 0.4);
    color: var(--buro-brand-dark-green);
}

body.homepage-brand .newsletter-input::placeholder {
    color: rgba(7, 43, 46, 0.42);
}

body.homepage-brand .newsletter-input:focus {
    border-color: var(--buro-brand-main-green);
    box-shadow: 0 0 0 3px rgba(90, 183, 116, 0.28);
}

body.homepage-brand .newsletter-input:valid {
    border-color: var(--buro-brand-main-green);
}

body.homepage-brand .newsletter-modal .phone-input-group {
    border-color: rgba(90, 183, 116, 0.4);
}

body.homepage-brand .newsletter-modal .phone-input-group:focus-within {
    border-color: var(--buro-brand-main-green);
    box-shadow: 0 0 0 3px rgba(90, 183, 116, 0.28);
}

body.homepage-brand .newsletter-modal .phone-input-group .form-input-field {
    background: #fff;
    color: var(--buro-brand-dark-green);
}

body.homepage-brand .newsletter-modal .phone-input-group .custom-dropdown-button {
    background: #fff !important;
    color: var(--buro-brand-dark-green);
}

body.homepage-brand .newsletter-modal .phone-input-group .phone-number-input::placeholder {
    color: rgba(7, 43, 46, 0.42);
}

body.homepage-brand .newsletter-submit-btn {
    background: var(--buro-brand-main-green);
    color: var(--buro-brand-dark-green);
}

body.homepage-brand .newsletter-submit-btn:hover:not(:disabled) {
    background: #6bc584;
    color: var(--buro-brand-dark-green);
    box-shadow: 0 4px 20px rgba(7, 43, 46, 0.18);
}

body.homepage-brand .newsletter-submit-btn:disabled {
    opacity: 0.75;
}

body.homepage-brand .newsletter-spinner {
    border-color: rgba(7, 43, 46, 0.2);
    border-top-color: var(--buro-brand-dark-green);
}

body.homepage-brand .newsletter-checkmark {
    background: var(--buro-brand-main-green);
}

body.homepage-brand .newsletter-checkmark svg {
    color: var(--buro-brand-dark-green);
}

body.homepage-brand .newsletter-success-title {
    color: var(--buro-brand-dark-green);
}

body.homepage-brand .newsletter-success-message {
    color: rgba(7, 43, 46, 0.72);
}

/* —— Footer: dark green (match hero / header) —— */
body.homepage-brand .footer {
    background: var(--buro-brand-dark-green);
}

body.homepage-brand .footer-container {
    max-width: 880px;
}

body.homepage-brand .footer-divider {
    background: rgba(255, 255, 255, 0.12);
}

/* —— Strategy demo block: 16:9 canvas preview + VSL CTA —— */
body.homepage-brand .demo-canvas-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

body.homepage-brand .demo-canvas-vsl-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    color: var(--buro-brand-dark-green, #072b2e);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(7, 43, 46, 0.12);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.homepage-brand .demo-canvas-vsl-cta:hover {
    background: var(--buro-brand-main-green, #5ab774);
    color: var(--buro-brand-dark-green, #072b2e);
    border-color: rgba(7, 43, 46, 0.2);
}

body.homepage-brand .demo-canvas-aspect {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
    background: #0c1f1e;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.homepage-brand .demo-canvas-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Narrative block: scrolling logos + founder “note” card — canvas dot bg matches .homepage-pipeline-story */
body.homepage-brand .homepage-marketing-shift {
    background-color: #f6f8fb;
    background-image: radial-gradient(circle at center, #dce3ee 1px, transparent 1.5px);
    background-size: 32px 32px;
    /* Tighter top so “Trusted by” sits nearer the section edge; bottom padding unchanged */
    padding: clamp(20px, 4vw, 40px) clamp(20px, 6vw, 48px) clamp(64px, 12vw, 96px);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.homepage-brand .homepage-marketing-shift-container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

body.homepage-brand .homepage-marketing-shift-logos {
    width: 100%;
    /* Extra space between logo strip and Note card */
    margin: 0 0 clamp(40px, 8vw, 80px);
}

/* Logos block shares .homepage-pitch-trusted-logos; trim vertical padding so the strip sits higher */
body.homepage-brand .homepage-marketing-shift-logos .homepage-pitch-trusted-logos {
    padding-top: clamp(4px, 1vw, 12px);
    padding-bottom: clamp(12px, 2vw, 22px);
}

/* Marquee edge fades: match section canvas fill (#f6f8fb), not the white pipeline panel */
body.homepage-brand .homepage-marketing-shift .homepage-pitch-trusted-logos .logos-container::before {
    background: linear-gradient(to right, #f6f8fb 0%, transparent 100%);
}

body.homepage-brand .homepage-marketing-shift .homepage-pitch-trusted-logos .logos-container::after {
    background: linear-gradient(to left, #f6f8fb 0%, transparent 100%);
}

body.homepage-brand .homepage-marketing-shift-note-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* In-flow canvas “note” node — same chrome as strategy-canvas .node-note + .node-type-header */
body.homepage-brand .homepage-marketing-shift-note.canvas-node {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 640px;
    min-width: 0 !important;
    cursor: default;
    pointer-events: auto;
    z-index: 1;
    transform: rotate(-3deg);
    transform-origin: center top;
}

body.homepage-brand .homepage-marketing-shift-note.canvas-node::before {
    display: none !important;
}

body.homepage-brand .homepage-marketing-shift-note .node-content {
    padding: 12px 18px 18px;
    gap: 0;
    overflow: visible;
}

@media (max-width: 768px) {
    /* Rotation extends past the viewport and triggers horizontal scroll on narrow screens */
    body.homepage-brand .homepage-marketing-shift {
        overflow-x: hidden;
    }

    body.homepage-brand .homepage-marketing-shift-note.canvas-node {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.homepage-brand .homepage-marketing-shift-note.canvas-node {
        transform: none;
    }
}

body.homepage-brand .homepage-marketing-shift-title {
    margin: 0 0 1.1rem;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--buro-brand-dark-green, #072b2e);
}

@media (max-width: 1024px) {
    body.homepage-brand .homepage-marketing-shift-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    body.homepage-brand .homepage-marketing-shift-title {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    body.homepage-brand .homepage-marketing-shift-title {
        font-size: 26px;
        line-height: 1.2;
    }
}

body.homepage-brand .homepage-marketing-shift-body {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #000000;
}

body.homepage-brand .homepage-marketing-shift-body p {
    margin: 0 0 0.95em;
}

body.homepage-brand .homepage-marketing-shift-body p:last-child {
    margin-bottom: 0;
}

body.homepage-brand .homepage-marketing-shift-list {
    margin: 0 0 0.95em;
    padding-left: 1.35em;
    list-style-type: disc;
}

body.homepage-brand .homepage-marketing-shift-list li {
    margin: 0 0 0.55em;
    padding-left: 0.15em;
}

body.homepage-brand .homepage-marketing-shift-list li:last-child {
    margin-bottom: 0;
}

body.homepage-brand .homepage-marketing-shift-signature {
    display: block;
    margin-top: 1.1rem;
    max-width: min(100%, 180px);
    height: auto;
    mix-blend-mode: multiply;
    opacity: 0.92;
}

/* Pipeline story: canvas dot background + single bordered panel (matches strategy-canvas.html #grid + --bg-canvas) */
body.homepage-brand .homepage-pipeline-story {
    /* --bg-canvas from frontend/css/strategy-canvas/01-shell-and-viewport.css */
    background-color: #f6f8fb;
    /* Dots: pattern id="grid" — 32×32, circle r=1 fill #DCE3EE */
    background-image: radial-gradient(circle at center, #dce3ee 1px, transparent 1.5px);
    background-size: 32px 32px;
    padding: 72px 24px 64px;
}

body.homepage-brand .homepage-pipeline-story-container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Single container: white card on canvas, hairline grid inside (matches --line-hair / canvas nodes) */
body.homepage-brand .homepage-pipeline-story-panel {
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.06),
        0 0 0 1px rgba(17, 24, 39, 0.02);
}

body.homepage-brand .homepage-pipeline-story-header {
    text-align: center;
    margin: 0 0 clamp(24px, 4vw, 36px);
    padding: 0 clamp(20px, 3vw, 32px) clamp(4px, 1vw, 8px);
    border-bottom: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.homepage-brand .homepage-pitch-tag {
    display: inline-block;
    align-self: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--buro-brand-accent, #fef3a4);
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Matches .features-title / .homepage-marketing-shift-title (homepage4.css + this file) */
body.homepage-brand .homepage-pipeline-story-title {
    margin: 0 auto 16px;
    max-width: 900px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--buro-brand-dark-green, #072b2e);
}

@media (max-width: 1024px) {
    body.homepage-brand .homepage-pipeline-story-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    body.homepage-brand .homepage-pipeline-story-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    body.homepage-brand .homepage-pipeline-story-title {
        font-size: 28px;
        line-height: 1.2;
    }
}

/* Forced line break reads well on desktop; on narrow widths let the browser wrap for even lines */
@media (max-width: 640px) {
    body.homepage-brand .homepage-pipeline-story-title br {
        display: none;
    }
}

body.homepage-brand .homepage-pipeline-story-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(7, 43, 46, 0.82);
    margin: 0 auto;
    max-width: 680px;
}

body.homepage-brand .homepage-pitch-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    margin: 0;
    border-top: 1px solid #e5eaf1;
}

body.homepage-brand .homepage-pipeline-story-panel > .homepage-pitch-row:first-of-type {
    border-top: none;
}

/* Optional row: company logos inside pipeline panel (also used on dotted bg in .homepage-marketing-shift-logos) */
body.homepage-brand .homepage-pitch-row--trusted-logos {
    display: block;
    border-top: 1px solid #e5eaf1;
}

body.homepage-brand .homepage-pitch-trusted-logos {
    padding: clamp(26px, 3.6vw, 38px) clamp(24px, 4vw, 44px) clamp(30px, 3.8vw, 42px);
    box-sizing: border-box;
    width: 100%;
}

body.homepage-brand .homepage-pitch-trusted-logos__title {
    margin: 0 0 24px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(7, 43, 46, 0.5);
}

body.homepage-brand .homepage-pitch-trusted-logos .client-logos-inline {
    margin: 0;
    padding: 0;
}

body.homepage-brand .homepage-pitch-trusted-logos .logos-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

body.homepage-brand .homepage-pitch-trusted-logos .logos-container::before {
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

body.homepage-brand .homepage-pitch-trusted-logos .logos-container::after {
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* Graytoned marquee: full desaturation + mid luminance (tweak brightness/contrast to taste) */
body.homepage-brand .homepage-pitch-trusted-logos .logo-item {
    opacity: 1;
}

body.homepage-brand .homepage-pitch-trusted-logos .logo-item img {
    filter: grayscale(100%) brightness(0.72) contrast(0.9);
    transition: filter 0.35s ease;
}

body.homepage-brand .homepage-pitch-trusted-logos .logo-item:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
}

@media (min-width: 821px) {
    body.homepage-brand .homepage-pitch-row > *:first-child {
        border-right: 1px solid #e5eaf1;
    }
}

/* Step pills: same palette as .homepage-pitch-infra-node (canvas ring nodes) */
body.homepage-brand .homepage-pitch-step {
    display: inline-block;
    width: fit-content;
    margin: 0 0 10px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.homepage-brand .homepage-pitch-step--channels {
    background: #e0f2fe;
    border-color: #bfdbfe;
    color: #0284c7;
}

body.homepage-brand .homepage-pitch-step--content {
    background: #f0fdf4;
    border-color: #86efac;
    color: #065f46;
}

body.homepage-brand .homepage-pitch-step--database {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #5b21b6;
}

body.homepage-brand .homepage-pitch-step--pipeline {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

body.homepage-brand .homepage-pitch-row__title {
    font-size: clamp(1.35rem, 2.6vw, 1.65rem);
    font-weight: 700;
    line-height: 1.22;
    color: var(--buro-brand-dark-green, #072b2e);
    margin: 0 0 14px;
}

body.homepage-brand .homepage-pitch-row__text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(7, 43, 46, 0.82);
    margin: 0 0 12px;
}

body.homepage-brand .homepage-pitch-row__text:last-child {
    margin-bottom: 0;
}

body.homepage-brand .homepage-pitch-row__text--muted {
    font-size: 0.9rem;
    color: rgba(7, 43, 46, 0.65);
    margin-top: 4px;
}

/* Pull-quote under pitch copy — editorial subline, no box */
body.homepage-brand .homepage-pitch-row__quote {
    margin: 20px 0 0;
    padding: 12px 0 0;
    max-width: 100%;
    box-sizing: border-box;
    border: none;
    background: transparent;
    font-size: 0.98rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.58;
    color: rgba(7, 43, 46, 0.68);
    letter-spacing: 0.01em;
    position: relative;
}

body.homepage-brand .homepage-pitch-row__quote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(11rem, 42%);
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(90, 183, 116, 0.4) 0%,
        rgba(90, 183, 116, 0) 100%
    );
}

body.homepage-brand .homepage-pitch-row__quote:last-child {
    margin-bottom: 0;
}

body.homepage-brand .homepage-pitch-inline-link {
    color: var(--buro-brand-dark-green, #072b2e);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.homepage-brand .homepage-pitch-inline-link:hover {
    color: var(--buro-brand-main-green, #5ab774);
}

body.homepage-brand .homepage-pitch-row__copy {
    padding: clamp(22px, 3.2vw, 32px) clamp(28px, 5vw, 52px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100%;
    align-self: stretch;
}

body.homepage-brand .homepage-pitch-row__visual {
    padding: clamp(32px, 4.2vw, 52px) clamp(20px, 3vw, 32px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    align-self: stretch;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

body.homepage-brand .homepage-pitch-svg {
    width: 100%;
    height: auto;
    max-height: min(360px, 52vw);
    display: block;
}

@media (max-width: 820px) {
    body.homepage-brand .homepage-pitch-row {
        grid-template-columns: 1fr;
    }

    body.homepage-brand .homepage-pitch-row > *:first-child {
        border-right: none;
    }

    body.homepage-brand .homepage-pitch-row__copy {
        border-bottom: 1px solid #e5eaf1;
    }

    body.homepage-brand .homepage-pitch-row--visual-first .homepage-pitch-row__copy {
        order: -1;
    }

    body.homepage-brand .homepage-pitch-svg {
        max-height: none;
    }
}

/* Pipeline story row 3 — LinkedIn post + list growth chart + cold/warm/hot pipeline */
body.homepage-brand .homepage-pitch-traction {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: Inter, system-ui, sans-serif;
}

body.homepage-brand .homepage-pitch-traction__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
}

@media (max-width: 420px) {
    body.homepage-brand .homepage-pitch-traction__top {
        grid-template-columns: 1fr;
    }
}

body.homepage-brand .homepage-pitch-li-post {
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    padding: 10px 10px 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

body.homepage-brand .homepage-pitch-li-post__head {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

body.homepage-brand .homepage-pitch-li-post__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

body.homepage-brand .homepage-pitch-li-post__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

body.homepage-brand .homepage-pitch-li-post__name {
    font-size: 10px;
    font-weight: 700;
    color: #191919;
    line-height: 1.25;
}

body.homepage-brand .homepage-pitch-li-post__time {
    font-size: 9px;
    color: #666666;
}

body.homepage-brand .homepage-pitch-li-post__body {
    margin: 0;
    font-size: 10px;
    line-height: 1.45;
    color: #191919;
}

body.homepage-brand .homepage-pitch-li-post__engagement {
    margin-top: 2px;
    padding-top: 6px;
    border-top: 1px solid #ebebeb;
}

body.homepage-brand .homepage-pitch-li-post__metrics-compact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 5px;
    font-size: 10px;
    line-height: 1.35;
    color: rgba(0, 0, 0, 0.58);
}

body.homepage-brand .homepage-pitch-li-post__metrics-cluster {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

body.homepage-brand .homepage-pitch-li-post__reaction-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    box-sizing: border-box;
}

body.homepage-brand .homepage-pitch-li-post__reaction-icon--like {
    background: #378fe9;
}

body.homepage-brand .homepage-pitch-li-post__reaction-icon svg {
    display: block;
}

body.homepage-brand .homepage-pitch-li-post__metric-val {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #191919;
}

body.homepage-brand .homepage-pitch-li-post__metrics-item {
    white-space: nowrap;
}

body.homepage-brand .homepage-pitch-li-post__metric-suffix {
    font-weight: 400;
    color: rgba(0, 0, 0, 0.52);
}

body.homepage-brand .homepage-pitch-li-post__metrics-sep {
    color: rgba(0, 0, 0, 0.28);
    font-weight: 400;
    user-select: none;
}

body.homepage-brand .homepage-pitch-list-growth {
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    padding: 8px 10px 6px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

body.homepage-brand .homepage-pitch-list-growth__eyebrow {
    margin: 0;
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
}

body.homepage-brand .homepage-pitch-list-growth__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

body.homepage-brand .homepage-pitch-list-growth__label {
    display: block;
    font-size: 9px;
    color: #94a3b8;
    margin-bottom: 2px;
}

body.homepage-brand .homepage-pitch-list-growth__value-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

body.homepage-brand .homepage-pitch-list-growth__value {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1;
}

body.homepage-brand .homepage-pitch-list-growth__chart {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 2px;
}

body.homepage-brand .homepage-pitch-list-growth__axis {
    display: flex;
    justify-content: space-between;
    gap: 2px;
    font-size: 7px;
    color: #94a3b8;
    padding: 0 0 0 18px;
    margin-top: -2px;
}

body.homepage-brand .homepage-pitch-pipeline-sort {
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    padding: 8px 10px 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

body.homepage-brand .homepage-pitch-pipeline-sort__title {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 700;
    color: #065f46;
    letter-spacing: 0.02em;
}

body.homepage-brand .homepage-pitch-pipeline-sort__sub {
    margin: 0 0 6px;
    font-size: 9px;
    color: #64748b;
}

body.homepage-brand .homepage-pitch-pipeline-sort__flow {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 4px;
    align-items: center;
}

@media (max-width: 380px) {
    body.homepage-brand .homepage-pitch-pipeline-sort__flow {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    body.homepage-brand .homepage-pitch-pipeline-sort__arrows {
        transform: rotate(90deg);
        margin: -4px auto;
    }
}

body.homepage-brand .homepage-pitch-pipeline-sort__inbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    min-width: 72px;
}

body.homepage-brand .homepage-pitch-pipeline-sort__inbox-label {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

body.homepage-brand .homepage-pitch-pipeline-sort__dots {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 56px;
}

body.homepage-brand .homepage-pitch-pipeline-sort__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    animation: homepage-pitch-sort-dot 2.4s ease-in-out infinite;
}

body.homepage-brand .homepage-pitch-pipeline-sort__dots span:nth-child(2) {
    animation-delay: 0.2s;
}

body.homepage-brand .homepage-pitch-pipeline-sort__dots span:nth-child(3) {
    animation-delay: 0.4s;
}

body.homepage-brand .homepage-pitch-pipeline-sort__dots span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes homepage-pitch-sort-dot {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.homepage-brand .homepage-pitch-pipeline-sort__dots span {
        animation: none;
        opacity: 0.85;
    }
}

body.homepage-brand .homepage-pitch-pipeline-sort__arrows {
    flex-shrink: 0;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

body.homepage-brand .homepage-pitch-pipeline-sort__arrows svg {
    width: 100%;
    height: auto;
    display: block;
}

body.homepage-brand .homepage-pitch-pipeline-sort__segments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    min-width: 0;
}

body.homepage-brand .homepage-pitch-pipeline-sort__segment {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 6px 6px 8px;
    border: 1px solid transparent;
    min-width: 0;
}

body.homepage-brand .homepage-pitch-pipeline-sort__segment--cold {
    background: #f0f9ff;
    border-color: #bae6fd;
}

body.homepage-brand .homepage-pitch-pipeline-sort__segment--warm {
    background: #fffbeb;
    border-color: #fcd34d;
}

body.homepage-brand .homepage-pitch-pipeline-sort__segment--hot {
    background: #fef2f2;
    border-color: #fca5a5;
}

body.homepage-brand .homepage-pitch-pipeline-sort__segment-title {
    display: block;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    color: #475569;
}

body.homepage-brand .homepage-pitch-pipeline-sort__segment--cold .homepage-pitch-pipeline-sort__segment-title {
    color: #0369a1;
}

body.homepage-brand .homepage-pitch-pipeline-sort__segment--warm .homepage-pitch-pipeline-sort__segment-title {
    color: #b45309;
}

body.homepage-brand .homepage-pitch-pipeline-sort__segment--hot .homepage-pitch-pipeline-sort__segment-title {
    color: #b91c1c;
}

body.homepage-brand .homepage-pitch-pipeline-sort__chips {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    flex: 0 0 auto;
    /* ~5 stacked chips (8px type + padding + gaps) — fixed so the pitch row doesn’t resize as leads move */
    height: 120px;
    min-height: 120px;
    max-height: 120px;
    overflow: hidden;
}

body.homepage-brand .homepage-pitch-pipeline-sort__chip {
    display: block;
    font-size: 8px;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #334155;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.35s ease;
}

body.homepage-brand .homepage-pitch-pipeline-sort__chip--enter {
    animation: homepage-pitch-pipeline-chip-in 0.42s ease forwards;
}

body.homepage-brand .homepage-pitch-pipeline-sort__chip--hop {
    animation: homepage-pitch-pipeline-chip-hop 0.48s ease;
}

body.homepage-brand .homepage-pitch-pipeline-sort__chip--exit {
    opacity: 0;
    transform: scale(0.94);
    pointer-events: none;
}

@keyframes homepage-pitch-pipeline-chip-in {
    from {
        opacity: 0;
        transform: translateY(5px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes homepage-pitch-pipeline-chip-hop {
    0%,
    100% {
        transform: scale(1);
        box-shadow: none;
    }

    35% {
        transform: scale(1.05);
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    }
}

/* Pipeline story row 2 — infrastructure loop (canvas-style nodes + geometrically consistent ring) */
body.homepage-brand .homepage-pitch-infra {
    position: relative;
    width: 100%;
    max-width: 400px;
    max-height: min(360px, 52vw);
    margin: 0 auto;
    aspect-ratio: 1;
    min-height: 260px;
    font-family: Inter, system-ui, sans-serif;
    color: #111827;
}

body.homepage-brand .homepage-pitch-infra__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
    transform-origin: center center;
    animation: homepage-pitch-infra-svg-wobble 10s ease-in-out infinite alternate;
}

@keyframes homepage-pitch-infra-svg-wobble {
    from {
        transform: rotate(-2.5deg);
    }

    to {
        transform: rotate(2.5deg);
    }
}

body.homepage-brand .homepage-pitch-infra__nodes {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Matches .canvas-node + .node-type-header (same rhythm as .homepage-pitch-ai-card) */
body.homepage-brand .homepage-pitch-infra-node {
    position: absolute;
    width: clamp(88px, 26vw, 108px);
    box-sizing: border-box;
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.06),
        0 0 0 1px rgba(17, 24, 39, 0.02);
    overflow: hidden;
    text-align: center;
    transform: translate(-50%, -50%);
}

body.homepage-brand .homepage-pitch-infra-node__header {
    padding: 6px 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(8px, 2.1vw, 10px);
    letter-spacing: 0.06em;
    line-height: 1.2;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
}

body.homepage-brand .homepage-pitch-infra-node__body {
    margin: 0;
    padding: 6px 8px 8px;
    font-size: clamp(8px, 2vw, 9px);
    line-height: 1.35;
    color: #6b7280;
}

body.homepage-brand .homepage-pitch-infra-node--channels {
    left: 50%;
    top: 10.5%;
    border: 1px solid #bfdbfe;
}

body.homepage-brand .homepage-pitch-infra-node--channels .homepage-pitch-infra-node__header {
    background: #e0f2fe;
    color: #0284c7;
}

body.homepage-brand .homepage-pitch-infra-node--content {
    left: 89.5%;
    top: 50%;
    border: 1px solid #86efac;
}

body.homepage-brand .homepage-pitch-infra-node--content .homepage-pitch-infra-node__header {
    background: #f0fdf4;
    color: #065f46;
}

body.homepage-brand .homepage-pitch-infra-node--database {
    left: 50%;
    top: 89.5%;
    border: 1px solid #c4b5fd;
}

body.homepage-brand .homepage-pitch-infra-node--database .homepage-pitch-infra-node__header {
    background: #ede9fe;
    color: #5b21b6;
}

body.homepage-brand .homepage-pitch-infra-node--pipeline {
    left: 10.5%;
    top: 50%;
    border: 1px solid #fed7aa;
}

body.homepage-brand .homepage-pitch-infra-node--pipeline .homepage-pitch-infra-node__header {
    background: #fff7ed;
    color: #9a3412;
}

body.homepage-brand .homepage-pitch-infra-node--distribution {
    left: 50%;
    top: 50%;
    width: clamp(108px, 30vw, 128px);
    border: 2px solid #5ab774;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.08),
        0 0 0 1px rgba(90, 183, 116, 0.12);
}

body.homepage-brand .homepage-pitch-infra-node--distribution .homepage-pitch-infra-node__header {
    background: #d1fae5;
    color: #065f46;
    border-bottom-color: rgba(5, 95, 70, 0.12);
}

body.homepage-brand .homepage-pitch-infra-node--distribution .homepage-pitch-infra-node__body {
    color: #065f46;
    font-weight: 600;
    padding-bottom: 6px;
}

body.homepage-brand .homepage-pitch-infra-node--distribution .homepage-pitch-infra-node__body-line {
    display: block;
    font-weight: 600;
    font-size: clamp(8px, 2vw, 9px);
    color: #065f46;
}

body.homepage-brand .homepage-pitch-infra-node--distribution .homepage-pitch-infra-node__body-muted {
    display: block;
    margin-top: 2px;
    font-weight: 400;
    font-size: clamp(7px, 1.85vw, 8px);
    color: #64748b;
}

@media (max-width: 820px) {
    body.homepage-brand .homepage-pitch-infra {
        max-height: none;
    }
}

@media (max-width: 380px) {
    body.homepage-brand .homepage-pitch-infra-node__header {
        padding: 5px 6px;
    }

    body.homepage-brand .homepage-pitch-infra-node__body {
        padding: 5px 6px 7px;
    }
}

/* Pipeline story row 1 — intake diagram (real .canvas-node markup + strategy-canvas CSS imports) */
body.homepage-brand .homepage-pitch-intake-diagram {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

body.homepage-brand .homepage-pitch-intake-lines--fork {
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0;
    margin-top: -2px;
}

body.homepage-brand .homepage-pitch-intake-fork-flow {
    stroke-dasharray: 5 9;
    animation: homepage-pitch-intake-fork-dash 18s linear infinite;
}

@keyframes homepage-pitch-intake-fork-dash {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -120;
    }
}

body.homepage-brand .homepage-pitch-intake-card {
    border-radius: 14px;
    border: 1px solid #e5eaf1;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 0 0 1px rgba(17, 24, 39, 0.02);
    overflow: hidden;
    text-align: center;
}

body.homepage-brand .homepage-pitch-intake-card__header {
    padding: 8px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1f2937;
    background: #f3f4f6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.homepage-brand .homepage-pitch-intake-pipeline {
    position: relative;
}

body.homepage-brand .homepage-pitch-intake-pipeline__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Same “live status” pattern as .homepage-pitch-ai-status-cycle (Step 4 AI agents) */
body.homepage-brand .homepage-pitch-intake-activity {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 12px 6px;
    font-size: 12px;
    line-height: 1.35;
    color: #6b7280;
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-line {
    justify-content: center;
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-cycle--intake {
    min-width: min(17.5rem, 86vw);
    min-height: 1.35em;
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-cycle--intake .homepage-pitch-ai-status-msg {
    animation: homepage-pitch-intake-msg 24s infinite;
    font-weight: 600;
    color: #111827;
    left: 50%;
    transform: translateX(-50%);
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-cycle--intake .homepage-pitch-ai-status-msg:nth-child(1) {
    animation-delay: 0s;
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-cycle--intake .homepage-pitch-ai-status-msg:nth-child(2) {
    animation-delay: 3s;
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-cycle--intake .homepage-pitch-ai-status-msg:nth-child(3) {
    animation-delay: 6s;
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-cycle--intake .homepage-pitch-ai-status-msg:nth-child(4) {
    animation-delay: 9s;
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-cycle--intake .homepage-pitch-ai-status-msg:nth-child(5) {
    animation-delay: 12s;
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-cycle--intake .homepage-pitch-ai-status-msg:nth-child(6) {
    animation-delay: 15s;
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-cycle--intake .homepage-pitch-ai-status-msg:nth-child(7) {
    animation-delay: 18s;
}

body.homepage-brand .homepage-pitch-intake-card .homepage-pitch-ai-status-cycle--intake .homepage-pitch-ai-status-msg:nth-child(8) {
    animation-delay: 21s;
}

@keyframes homepage-pitch-intake-msg {
    0% {
        opacity: 0;
    }

    2% {
        opacity: 1;
    }

    10% {
        opacity: 1;
    }

    12.5% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

body.homepage-brand .homepage-pitch-intake-card__body {
    margin: 0;
    padding: 4px 14px 12px;
    font-size: 11px;
    line-height: 1.45;
    color: #6b7280;
}

@media (prefers-reduced-motion: reduce) {
    body.homepage-brand .homepage-pitch-intake-fork-flow {
        animation: none;
        stroke-opacity: 0;
    }

    body.homepage-brand .homepage-pitch-intake-diagram .homepage-pitch-node-preview-grid .homepage-pitch-canvas-node-static {
        animation: none !important;
    }
}

body.homepage-brand .homepage-pitch-node-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    margin-top: 2px;
}

/* Homepage-only: canvas nodes are in-flow, not absolutely positioned on the board */
body.homepage-brand .homepage-pitch-intake-diagram .homepage-pitch-canvas-node-static.canvas-node {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0;
    max-width: none;
    cursor: default;
    pointer-events: none;
    z-index: 1;
}

body.homepage-brand .homepage-pitch-intake-diagram .homepage-pitch-canvas-node-static.canvas-node::before {
    display: none !important;
}

body.homepage-brand .homepage-pitch-intake-diagram .homepage-pitch-canvas-node-static .node-content {
    padding: 12px 14px 14px;
    gap: 6px;
}

body.homepage-brand .homepage-pitch-intake-diagram .homepage-pitch-canvas-node-static .node-title {
    font-size: 13px;
    line-height: 1.35;
}

body.homepage-brand .homepage-pitch-intake-diagram .homepage-pitch-canvas-node-static .node-description {
    font-size: 11px;
    line-height: 1.45;
}

body.homepage-brand .homepage-pitch-intake-diagram .homepage-pitch-node-preview-grid .homepage-pitch-canvas-node-static:nth-child(1) {
    animation: homepage-pitch-intake-node-glow 12s ease-in-out infinite;
}

body.homepage-brand .homepage-pitch-intake-diagram .homepage-pitch-node-preview-grid .homepage-pitch-canvas-node-static:nth-child(2) {
    animation: homepage-pitch-intake-node-glow 12s ease-in-out infinite;
    animation-delay: -4s;
}

body.homepage-brand .homepage-pitch-intake-diagram .homepage-pitch-node-preview-grid .homepage-pitch-canvas-node-static:nth-child(3) {
    animation: homepage-pitch-intake-node-glow 12s ease-in-out infinite;
    animation-delay: -8s;
}

@keyframes homepage-pitch-intake-node-glow {
    0%,
    20%,
    100% {
        box-shadow:
            0 1px 2px rgba(16, 24, 40, 0.06),
            0 0 0 1px rgba(17, 24, 39, 0.02);
        border-color: #e5eaf1;
    }

    10% {
        box-shadow:
            0 1px 2px rgba(16, 24, 40, 0.06),
            0 0 0 1px rgba(17, 24, 39, 0.02),
            0 0 0 3px rgba(90, 183, 116, 0.28);
        border-color: rgba(90, 183, 116, 0.45);
    }
}

@media (max-width: 420px) {
    body.homepage-brand .homepage-pitch-node-preview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.homepage-brand .homepage-pitch-intake-lines--fork {
        display: none;
    }
}

/* Row 4 — static replica of strategy-canvas .node-ai-agent (orchestrator + subagents) */
body.homepage-brand .homepage-pitch-ai-demo {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-family: Inter, system-ui, sans-serif;
    color: #111827;
    --hp-ai-border: #fdba74;
    --hp-ai-header-bg: #fff7ed;
    --hp-ai-header-text: #9a3412;
    --hp-ai-text-muted: #6b7280;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled {
    --hp-ai-border: #d1d5db;
    --hp-ai-header-bg: #e5e7eb;
    --hp-ai-header-text: #6b7280;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-card {
    background: #f3f4f6;
    box-shadow: none;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-card__header {
    border-bottom-color: #d1d5db;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-title {
    color: #6b7280;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-card--master .homepage-pitch-ai-role-badge,
body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-role-badge--sub {
    background: #e5e7eb !important;
    color: #6b7280 !important;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-activity {
    color: #9ca3af;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-actions {
    border-top-color: #e5e7eb;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-toggle {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #6b7280;
}

body.homepage-brand .homepage-pitch-ai-demo__master {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
}

body.homepage-brand .homepage-pitch-ai-card {
    background: #ffffff;
    border: 1px solid var(--hp-ai-border);
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.06),
        0 0 0 1px rgba(17, 24, 39, 0.02);
}

body.homepage-brand .homepage-pitch-ai-card--master {
    width: 100%;
    overflow: hidden;
}

body.homepage-brand .homepage-pitch-ai-card--sub {
    overflow: visible;
}

body.homepage-brand .homepage-pitch-ai-card__header {
    padding: 8px 18px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-align: center;
    border-bottom: 1px solid rgba(234, 88, 12, 0.18);
    background: var(--hp-ai-header-bg);
    color: var(--hp-ai-header-text);
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
}

body.homepage-brand .homepage-pitch-ai-card__body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

body.homepage-brand .homepage-pitch-ai-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.homepage-brand .homepage-pitch-ai-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

body.homepage-brand .homepage-pitch-ai-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}

body.homepage-brand .homepage-pitch-ai-activity {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--hp-ai-text-muted);
}

body.homepage-brand .homepage-pitch-ai-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

/* Match .node-ai-agent .ai-agent-role-badge on canvas */
body.homepage-brand .homepage-pitch-ai-card--master .homepage-pitch-ai-role-badge {
    background: rgba(234, 88, 12, 0.12);
    color: #c2410c;
}

body.homepage-brand .homepage-pitch-ai-role-badge--sub {
    background: rgba(234, 88, 12, 0.1);
    color: #9a3412;
}

body.homepage-brand .homepage-pitch-ai-status-line {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    flex-wrap: wrap;
}

body.homepage-brand .homepage-pitch-ai-status-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

body.homepage-brand .homepage-pitch-ai-status-frozen {
    display: none;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    line-height: 1.35;
    color: #6b7280;
    font-weight: 500;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-status-live {
    display: none !important;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-status-frozen {
    display: inline-flex !important;
}

body.homepage-brand .homepage-pitch-ai-status-dot--disabled {
    background: #9ca3af !important;
    box-shadow: 0 0 0 4px rgba(156, 163, 175, 0.2) !important;
    animation: none !important;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-status-msg,
body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-status-dot--pulse {
    animation: none !important;
}

body.homepage-brand .homepage-pitch-ai-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    flex-shrink: 0;
    background: #94a3b8;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
}

body.homepage-brand .homepage-pitch-ai-status-dot--idle {
    background: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
}

body.homepage-brand .homepage-pitch-ai-status-dot--running {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

body.homepage-brand .homepage-pitch-ai-status-dot--pulse {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
    animation: homepage-pitch-ai-dot-pulse 1.5s ease-in-out infinite;
}

@keyframes homepage-pitch-ai-dot-pulse {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
    }

    50% {
        opacity: 0.88;
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.22);
    }
}

body.homepage-brand .homepage-pitch-ai-status-cycle {
    position: relative;
    display: inline-block;
    min-width: min(12.5rem, 58vw);
    min-height: 1.35em;
    vertical-align: middle;
}

body.homepage-brand .homepage-pitch-ai-status-msg {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    opacity: 0;
    animation: homepage-pitch-ai-msg 9s infinite;
}

body.homepage-brand .homepage-pitch-ai-demo__master .homepage-pitch-ai-status-msg:nth-child(1) {
    animation-delay: 0s;
}

body.homepage-brand .homepage-pitch-ai-demo__master .homepage-pitch-ai-status-msg:nth-child(2) {
    animation-delay: 3s;
}

body.homepage-brand .homepage-pitch-ai-demo__master .homepage-pitch-ai-status-msg:nth-child(3) {
    animation-delay: 6s;
}

body.homepage-brand .homepage-pitch-ai-status-cycle--fast .homepage-pitch-ai-status-msg {
    animation-duration: 7s;
}

body.homepage-brand .homepage-pitch-ai-status-cycle--fast .homepage-pitch-ai-status-msg:nth-child(1) {
    animation-delay: 0s;
}

body.homepage-brand .homepage-pitch-ai-status-cycle--fast .homepage-pitch-ai-status-msg:nth-child(2) {
    animation-delay: 2.33s;
}

body.homepage-brand .homepage-pitch-ai-status-cycle--fast .homepage-pitch-ai-status-msg:nth-child(3) {
    animation-delay: 4.66s;
}

body.homepage-brand .homepage-pitch-ai-status-cycle--offset .homepage-pitch-ai-status-msg:nth-child(1) {
    animation-delay: 1s;
}

body.homepage-brand .homepage-pitch-ai-status-cycle--offset .homepage-pitch-ai-status-msg:nth-child(2) {
    animation-delay: 4s;
}

body.homepage-brand .homepage-pitch-ai-status-cycle--offset .homepage-pitch-ai-status-msg:nth-child(3) {
    animation-delay: 7s;
}

@keyframes homepage-pitch-ai-msg {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    28% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.homepage-brand .homepage-pitch-ai-status-msg {
        animation: none !important;
        opacity: 1 !important;
        position: static !important;
        transform: none !important;
    }

    body.homepage-brand .homepage-pitch-ai-status-msg:not(:first-of-type) {
        display: none !important;
    }

    body.homepage-brand .homepage-pitch-ai-status-dot--pulse {
        animation: none !important;
    }

    body.homepage-brand .homepage-pitch-infra__svg-spin {
        animation: none !important;
    }
}

body.homepage-brand .homepage-pitch-ai-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.homepage-brand .homepage-pitch-ai-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--hp-ai-text-muted);
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
}

body.homepage-brand button.homepage-pitch-ai-toggle {
    -webkit-appearance: none;
    appearance: none;
}

body.homepage-brand .homepage-pitch-ai-toggle:focus-visible {
    outline: 2px solid var(--buro-brand-main-green, #5ab774);
    outline-offset: 2px;
}

body.homepage-brand .homepage-pitch-ai-toggle--off .homepage-pitch-ai-toggle__track {
    background: #e5e7eb;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

body.homepage-brand .homepage-pitch-ai-toggle--off .homepage-pitch-ai-toggle__thumb {
    transform: translateX(0);
}

body.homepage-brand .homepage-pitch-ai-toggle__label {
    flex: 1;
    min-width: 0;
    text-align: left;
}

body.homepage-brand .homepage-pitch-ai-toggle__track {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 1px rgba(21, 128, 61, 0.35);
}

body.homepage-brand .homepage-pitch-ai-toggle__thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fcfcfd;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transform: translateX(16px);
}

body.homepage-brand .homepage-pitch-ai-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 12px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    color: var(--hp-ai-text-muted);
    font-size: 12px;
    font-weight: 500;
    box-sizing: border-box;
}

body.homepage-brand .homepage-pitch-ai-btn--board {
    background: rgba(249, 115, 22, 0.1) !important;
    color: #c2410c !important;
    border-color: rgba(251, 146, 60, 0.35) !important;
}

body.homepage-brand .homepage-pitch-ai-connector {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 6px auto 0;
    color: #94a3b8;
    overflow: visible;
}

body.homepage-brand .homepage-pitch-ai-demo--disabled .homepage-pitch-ai-connector {
    color: #d1d5db;
    opacity: 0.88;
}

body.homepage-brand .homepage-pitch-ai-connector__joint {
    opacity: 0.9;
}

body.homepage-brand .homepage-pitch-ai-demo__subs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4px;
    align-items: stretch;
}

body.homepage-brand .homepage-pitch-ai-card--sub {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

body.homepage-brand .homepage-pitch-ai-card__body--sub {
    padding-left: 16px;
    padding-right: 16px;
}

@media (max-width: 520px) {
    body.homepage-brand .homepage-pitch-ai-demo__subs {
        grid-template-columns: 1fr;
    }
}

/* Simplified homepage: platform pillars + booking (after Trusted by founders) */
body.homepage-brand .homepage-platform {
    background: #f9f1ea;
    padding: 72px 24px 56px;
}

body.homepage-brand .homepage-platform-container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

body.homepage-brand .homepage-platform-title {
    font-size: clamp(28px, 4.2vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-align: center;
    color: var(--buro-brand-dark-green, #072b2e);
    margin: 0 0 40px;
}

body.homepage-brand .homepage-platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

@media (max-width: 900px) {
    body.homepage-brand .homepage-platform-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

body.homepage-brand .homepage-platform-card {
    background: #ffffff;
    border: 1px solid rgba(7, 43, 46, 0.1);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(7, 43, 46, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.homepage-brand .homepage-platform-card:hover {
    border-color: rgba(90, 183, 116, 0.45);
    box-shadow: 0 12px 40px rgba(7, 43, 46, 0.08);
}

body.homepage-brand .homepage-platform-index {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(7, 43, 46, 0.45);
    margin-bottom: 12px;
}

body.homepage-brand .homepage-platform-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--buro-brand-dark-green, #072b2e);
    margin: 0 0 12px;
}

body.homepage-brand .homepage-platform-card-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(7, 43, 46, 0.82);
    margin: 0;
}

body.homepage-brand .homepage-booking {
    scroll-margin-top: 96px;
    background: var(--buro-brand-dark-green, #072b2e);
    padding: 64px 24px 88px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.homepage-brand .homepage-booking-container {
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

body.homepage-brand .homepage-booking-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 0 8px;
    padding: 0 clamp(16px, 3vw, 28px);
}

/* Same scale as .homepage-pipeline-story-title (“Turn your expertise…”) */
body.homepage-brand .homepage-booking-title {
    margin: 0 auto 16px;
    max-width: 900px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
    color: #f4fbf7;
}

@media (max-width: 1024px) {
    body.homepage-brand .homepage-booking-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    body.homepage-brand .homepage-booking-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    body.homepage-brand .homepage-booking-title {
        font-size: 28px;
        line-height: 1.2;
    }
}

body.homepage-brand .homepage-booking-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 auto 36px;
    max-width: 560px;
}

/* Growth review opt-in — dark section, tinted inputs (parity with newsletter phone row) */
body.homepage-brand .homepage-growth-optin-form {
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

body.homepage-brand .homepage-growth-optin-step-banner {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 18px 24px;
    text-align: center;
    /* Soft lift: light wash, not a heavy dark band */
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.homepage-brand .homepage-growth-optin-step-label {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
}

body.homepage-brand .homepage-growth-optin-form-inner {
    padding: 28px 28px 32px;
    box-sizing: border-box;
}

body.homepage-brand .homepage-growth-optin-step2-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
}

body.homepage-brand .homepage-growth-optin-back {
    flex: 0 0 auto;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

body.homepage-brand .homepage-growth-optin-back:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

body.homepage-brand .homepage-growth-optin-step2-actions .homepage-growth-optin-submit {
    width: auto;
    flex: 1 1 160px;
    min-width: 0;
    margin-top: 0;
}

body.homepage-brand .homepage-growth-optin-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.homepage-brand .homepage-growth-optin-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 4px 0 0;
}

body.homepage-brand .homepage-growth-optin-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.homepage-brand .homepage-growth-optin-input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

body.homepage-brand .homepage-growth-optin-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--buro-brand-main-green, #5ab774);
    box-shadow: 0 0 0 3px rgba(90, 183, 116, 0.28);
}

/* Phone row: same layout as newsletter modal (SearchableDropdown + national number) */
body.homepage-brand .homepage-booking .homepage-growth-optin-phone.phone-input-group {
    display: flex;
    gap: 0;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.07);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone.phone-input-group:focus-within {
    border-color: var(--buro-brand-main-green, #5ab774);
    box-shadow: 0 0 0 3px rgba(90, 183, 116, 0.35);
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone .custom-dropdown-wrapper {
    flex: 0 0 108px;
    min-width: 108px;
    max-width: 108px;
    display: flex;
    align-items: stretch;
    z-index: 2;
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone .custom-dropdown-button {
    flex: 1;
    padding: 14px 1.75rem 14px 8px;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 1rem;
    min-height: 52px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: flex-start;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone .custom-dropdown-button:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone .custom-dropdown-button:focus,
body.homepage-brand .homepage-booking .homepage-growth-optin-phone .custom-dropdown-wrapper.open .custom-dropdown-button {
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone .searchable-dropdown-search {
    padding: 0.75rem;
    font-size: 1rem;
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone .phone-number-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none !important;
    border-radius: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone .phone-country-select.form-input-field {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone .phone-number-input:focus {
    outline: none;
    box-shadow: none !important;
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone .form-input-field {
    padding: 14px 12px;
    font-size: 16px;
    font-family: inherit;
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
}

body.homepage-brand .homepage-booking .homepage-growth-optin-phone .phone-number-input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

body.homepage-brand .homepage-growth-optin-fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

body.homepage-brand .homepage-growth-optin-legend {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #ffffff;
    padding: 0;
    margin: 0 0 14px;
    line-height: 1.35;
}

body.homepage-brand .homepage-growth-optin-radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.homepage-brand .homepage-growth-optin-radio {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.homepage-brand .homepage-growth-optin-radio:hover {
    border-color: rgba(90, 183, 116, 0.55);
    background: rgba(255, 255, 255, 0.1);
}

/* Full-row selection: green ring on the option, not only the native radio */
body.homepage-brand .homepage-growth-optin-radio:has(input:checked) {
    border-color: var(--buro-brand-main-green, #5ab774);
    background: rgba(90, 183, 116, 0.14);
    box-shadow: 0 0 0 2px rgba(90, 183, 116, 0.55);
}

body.homepage-brand .homepage-growth-optin-radio:has(input:checked):hover {
    border-color: var(--buro-brand-main-green, #5ab774);
    background: rgba(90, 183, 116, 0.18);
    box-shadow: 0 0 0 2px rgba(90, 183, 116, 0.6);
}

body.homepage-brand .homepage-growth-optin-radio input {
    margin-top: 3px;
    accent-color: var(--buro-brand-main-green, #5ab774);
    flex-shrink: 0;
}

body.homepage-brand .homepage-growth-optin-submit {
    width: 100%;
    margin-top: 22px;
    padding: 15px 24px;
    border: none;
    border-radius: 999px;
    background: var(--buro-brand-main-green, #5ab774);
    color: var(--buro-brand-dark-green, #072b2e);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    min-height: 50px;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

body.homepage-brand .homepage-growth-optin-submit:hover:not(:disabled) {
    background: #6bc584;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

body.homepage-brand .homepage-growth-optin-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

body.homepage-brand .homepage-growth-optin-btn-text {
    transition: opacity 0.2s ease;
}

body.homepage-brand .homepage-growth-optin-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.homepage-brand .homepage-growth-optin-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(7, 43, 46, 0.2);
    border-top-color: var(--buro-brand-dark-green, #072b2e);
    border-radius: 50%;
    animation: homepage-growth-optin-spin 0.9s linear infinite;
}

@keyframes homepage-growth-optin-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 520px) {
    body.homepage-brand .homepage-growth-optin-step-banner {
        padding: 16px 18px;
    }

    body.homepage-brand .homepage-growth-optin-form-inner {
        padding: 22px 18px 26px;
    }

    body.homepage-brand .homepage-booking .homepage-growth-optin-phone .custom-dropdown-wrapper {
        flex-basis: 96px;
        min-width: 96px;
        max-width: 96px;
    }

    body.homepage-brand .homepage-growth-optin-step2-actions {
        flex-direction: column;
    }

    body.homepage-brand .homepage-growth-optin-step2-actions .homepage-growth-optin-back {
        width: 100%;
        text-align: center;
    }

    body.homepage-brand .homepage-growth-optin-step2-actions .homepage-growth-optin-submit {
        flex: 1 1 auto;
        width: 100%;
    }
}
