/*
 * Homepage-only reference details: graphite surfaces and quiet mist-blue
 * accents. Keep the established composition and all footage untouched.
 */
body.homepage {
    --home-graphite: #222526;
    --home-mist: #ccdcef;
}

body.homepage #sparo-site-header {
    background-color: rgba(34, 37, 38, .88);
    border-bottom: 0;
}

body.homepage #sparo-site-header .sparo-header-contact {
    border-color: rgba(204, 220, 239, .42) !important;
}

body.homepage #sparo-site-header .sparo-header-contact:hover {
    background: rgba(204, 220, 239, .12) !important;
    border-color: rgba(204, 220, 239, .72) !important;
}

body.homepage #sparo-site-header .sparo-header-demo {
    background: #2878ff !important;
    border-color: #2878ff !important;
    color: #ffffff !important;
}

body.homepage #sparo-site-header .sparo-header-demo:hover {
    background: #2169de !important;
    border-color: #2169de !important;
    color: #ffffff !important;
}

/* The CTA also appears in the mobile menu, outside the header element. */
body.homepage #sparo-header-mobile-menu .sparo-header-demo {
    background: #2878ff !important;
    border-color: #2878ff !important;
    color: #ffffff !important;
}

body.homepage #sparo-header-mobile-menu .sparo-header-demo:hover {
    background: #2169de !important;
    border-color: #2169de !important;
    color: #ffffff !important;
}

body.homepage .hero-section .hero-video-overlay {
    opacity: .96;
    background:
        linear-gradient(180deg, rgba(18, 22, 23, .56) 0%, rgba(18, 22, 23, .72) 58%, rgba(18, 22, 23, .91) 100%);
}

body.homepage .hero-section .hero-headline > span {
    color: var(--home-mist) !important;
}

body.homepage .hero-cta-wrap .signup-btn {
    background: var(--home-mist) !important;
    border-color: var(--home-mist) !important;
    color: var(--home-graphite) !important;
}

body.homepage .hero-cta-wrap .signup-btn:hover {
    background: #d9e5f3 !important;
    border-color: #d9e5f3 !important;
    color: var(--home-graphite) !important;
}

body.homepage .section-label {
    color: #b9cde4;
}

body.homepage #demo-section .home-session {
    --hs-surface: rgba(34, 37, 38, .58);
    --hs-blue: #ccdcef;
}

/* Quiet the demo-card edges without changing their geometry or layout. */
body.homepage #demo-section .home-session__metric {
    border-color: transparent !important;
    background: linear-gradient(145deg, rgba(48, 52, 54, .76), rgba(27, 30, 32, .94)) !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
}

body.homepage #demo-section .home-session__metric.is-active,
body.homepage #demo-section .home-session__metric:hover {
    border-color: transparent !important;
    background: linear-gradient(145deg, rgba(54, 59, 61, .82), rgba(31, 34, 36, .97)) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
}

body.homepage #demo-section .home-session__coach {
    border-color: transparent !important;
    background: linear-gradient(145deg, rgba(43, 49, 52, .82), rgba(27, 30, 32, .96)) !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
}

body.homepage #demo-section .home-session__coach.is-active,
body.homepage #demo-section .home-session__coach:hover {
    border-color: transparent !important;
    background: linear-gradient(145deg, rgba(49, 55, 58, .86), rgba(31, 34, 36, .98)) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
}

body.homepage .home-partner-banner__link:hover,
body.homepage .home-partner-banner__link:focus-visible {
    color: var(--home-mist);
}

@media (prefers-reduced-motion: reduce) {
    body.homepage #sparo-site-header .sparo-header-contact,
    body.homepage #sparo-site-header .sparo-header-demo,
    body.homepage .hero-cta-wrap .signup-btn {
        transition: none !important;
    }
}
