/*
 * Foundation Theme — Critical CSS
 * AI trading / invest fintech aesthetic (Fundektris / Crescivolta class).
 * Every block is a self-contained, production-ready section.
 */

/* =====================================================================
 * DESIGN TOKENS
 * ===================================================================== */
:root {
    /* Brand — overridable via Theme Settings (ACF → CSS vars in head) */
    --foundation-primary:   #0d9488;
    --foundation-secondary: #0f766e;
    --foundation-accent:    #f59e0b;
    --foundation-dark:      #0f172a;
    --foundation-light:     #f1f5f9;
    --foundation-surface:   #ffffff;
    --foundation-muted:     #64748b;
    --foundation-success:   #10b981;
    --foundation-danger:    #ef4444;
    --foundation-border:    rgba(15, 23, 42, 0.08);

    /* Surfaces */
    --foundation-soft:      #f0fdfa;
    --foundation-card:      #ffffff;
    --foundation-footer:    #020617;

    /* Shape */
    --foundation-radius-sm: 8px;
    --foundation-radius-md: 12px;
    --foundation-radius-lg: 16px;
    --foundation-radius-xl: 24px;
    --foundation-radius-2xl: 32px;
    --foundation-radius-pill: 999px;

    /* Elevation */
    --foundation-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.06);
    --foundation-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    --foundation-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    --foundation-shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.16);
    --foundation-shadow-glow: 0 8px 28px color-mix(in srgb, var(--foundation-primary) 35%, transparent);

    /* Layout */
    --foundation-container: 1200px;
    /* Free Gutenberg paragraphs / headings — same as .foundation-content .content-inner */
    --foundation-prose-max: 800px;
    /* Section vertical padding (inside each band — not a gap BETWEEN bands) */
    --foundation-section-gap: clamp(3rem, 5.5vw, 5rem);
    --foundation-section-pad-x: clamp(1.25rem, 4vw, 1.75rem);
    --foundation-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

    /* Type */
    --foundation-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    --foundation-tracking-tight: -0.03em;
    --foundation-tracking-display: -0.035em;

    /*
     * Fluid heading scale (bigger / more expressive, still mobile-safe).
     * min: phone · preferred: viewport · max: large desktop
     */
    --foundation-h1: clamp(2.55rem, 1.55rem + 4.2vw, 4.35rem);   /* ~41–70px */
    --foundation-h2: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);        /* ~32–52px */
    --foundation-h3: clamp(1.2rem, 1.05rem + 0.85vw, 1.55rem);     /* ~19–25px */
    --foundation-h1-lh: 1.05;
    --foundation-h2-lh: 1.12;
    --foundation-h3-lh: 1.28;
}

/* =====================================================================
 * RESET & BASE
 * ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    padding: 0;
    font-family: var(--foundation-font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--foundation-dark);
    background: var(--foundation-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--foundation-primary); transition: color var(--foundation-transition); }
a:hover { color: var(--foundation-secondary); }
button { font-family: inherit; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 8px 16px;
    background: var(--foundation-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--foundation-radius-sm);
}
.skip-link:focus { top: 8px; }

/* =====================================================================
 * LAYOUT UTILITIES
 * ===================================================================== */
.f-container {
    width: 100%;
    max-width: var(--foundation-container);
    margin-inline: auto;
    padding-inline: var(--foundation-section-pad-x);
}
.alignfull {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.muted { color: var(--foundation-muted); }

/* Section heading pattern */
.f-section-title {
    font-size: var(--foundation-h2);
    font-weight: 800;
    line-height: var(--foundation-h2-lh);
    letter-spacing: var(--foundation-tracking-tight);
    margin: 0 0 0.85rem;
    color: var(--foundation-dark);
    text-wrap: balance;
}
.f-section-sub {
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.2rem);
    color: var(--foundation-muted);
    line-height: 1.65;
    margin: 0 auto 2.75rem;
    max-width: 38rem;
}

/* =====================================================================
 * BUTTONS
 * ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.75rem;
    border: 2px solid transparent;
    border-radius: var(--foundation-radius-pill);
    font-weight: 650;
    font-size: 0.9375rem;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--foundation-transition), box-shadow var(--foundation-transition), background var(--foundation-transition), border-color var(--foundation-transition), color var(--foundation-transition), filter var(--foundation-transition);
    white-space: nowrap;
}
.btn:focus-visible {
    outline: 2px solid var(--foundation-primary);
    outline-offset: 3px;
}
.btn--lg {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
}
.btn--sm {
    padding: 0.5rem 1.15rem;
    font-size: 0.875rem;
}
.btn--primary {
    background: var(--foundation-primary);
    color: var(--foundation-on-primary, #fff);
    border-color: var(--foundation-primary);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--foundation-primary) 30%, transparent);
}
.btn--primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: var(--foundation-shadow-glow);
    color: var(--foundation-on-primary, #fff);
}
.btn--secondary {
    background: var(--foundation-secondary);
    color: var(--foundation-on-secondary, #fff);
    border-color: var(--foundation-secondary);
}
.btn--secondary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    color: var(--foundation-on-secondary, #fff);
}
/* Default outline = dark (safe on light sections). On dark bands use --light. */
.btn--outline {
    background: transparent;
    color: var(--foundation-dark);
    border-color: rgba(15, 23, 42, 0.2);
}
.btn--outline:hover {
    background: var(--foundation-soft);
    border-color: var(--foundation-primary);
    color: var(--foundation-primary);
    transform: translateY(-2px);
}
.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}
/* Dark sections: white outline + white primary text when needed */
.foundation-hero .btn--outline,
.foundation-hero-form .btn--outline,
.foundation-hero-stats .btn--outline,
.foundation-cta .btn--outline,
.foundation-countdown .btn--outline,
.foundation-stats.stats--dark .btn--outline,
.foundation-lead-form:has(.lead-form--dark) .btn--outline,
.f-site-footer .btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}
.foundation-hero .btn--outline:hover,
.foundation-hero-form .btn--outline:hover,
.foundation-hero-stats .btn--outline:hover,
.foundation-cta .btn--outline:hover,
.foundation-countdown .btn--outline:hover,
.foundation-stats.stats--dark .btn--outline:hover,
.foundation-lead-form:has(.lead-form--dark) .btn--outline:hover,
.f-site-footer .btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}
.btn--outline-dark {
    background: transparent;
    color: var(--foundation-dark);
    border-color: rgba(15, 23, 42, 0.18);
}
.btn--outline-dark:hover {
    border-color: var(--foundation-primary);
    color: var(--foundation-primary);
    background: var(--foundation-soft);
    transform: translateY(-2px);
}
.btn--ghost {
    background: color-mix(in srgb, var(--foundation-primary) 10%, transparent);
    color: var(--foundation-primary);
    border-color: transparent;
}
.btn--ghost:hover {
    background: color-mix(in srgb, var(--foundation-primary) 18%, transparent);
    transform: translateY(-1px);
    color: var(--foundation-secondary);
}

/* =====================================================================
 * SINGLE-PAGE HEADER (Theme Settings variants)
 * ===================================================================== */
.f-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--foundation-transition), border-color var(--foundation-transition), background var(--foundation-transition);
}
.f-site-header.is-scrolled {
    border-bottom-color: var(--foundation-border);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
    background: rgba(255, 255, 255, 0.97);
}
/*
 * Brand | Nav | CTA
 * Brand + CTA size to content; nav takes remaining space and MUST shrink
 * so long translated labels never blow out the bar.
 */
.f-site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem 0.85rem;
    min-height: 64px;
    max-width: 100%;
    padding-block: 0.65rem;
}
.f-site-header__inner > .f-brand {
    justify-self: start;
    grid-column: 1;
    min-width: 0;
    max-width: min(200px, 22vw);
}
.f-site-header__nav-desktop {
    justify-self: stretch;
    grid-column: 2;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.f-site-header__actions {
    justify-self: end;
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 0;
}
.f-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foundation-dark);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: var(--foundation-tracking-tight);
    min-width: 0;
    max-width: 100%;
}
.f-brand:hover { color: var(--foundation-primary); }
.f-brand__logo {
    display: block;
    max-height: 36px;
    max-width: min(140px, 100%);
    width: auto;
    height: auto;
    object-fit: contain;
}
.f-brand__name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.f-nav {
    max-width: 100%;
    min-width: 0;
}
.f-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap; /* never multi-line desktop bar */
    max-width: 100%;
    min-width: 0;
}
.f-nav__item {
    min-width: 0;
    flex: 0 1 auto;
    max-width: 100%;
}
.f-nav__link {
    display: block;
    text-decoration: none;
    color: var(--foundation-dark);
    font-size: clamp(0.75rem, 0.85vw + 0.55rem, 0.9375rem);
    font-weight: 550;
    opacity: 0.82;
    transition: color var(--foundation-transition), opacity var(--foundation-transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: clamp(4.5rem, 11vw, 11.5rem);
    line-height: 1.25;
}
.f-nav__link:hover {
    opacity: 1;
    color: var(--foundation-primary);
}
/* Compact header CTA so long nav gets more room */
.f-site-header__actions .f-cta.btn {
    max-width: 10.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-inline: 1.1rem;
}
.f-cta { white-space: nowrap; text-decoration: none; }
.f-cta--block { display: flex; width: 100%; margin-top: 0.75rem; justify-content: center; }
/* Transparent header CTA — light outline on dark hero (no primary green bleed) */
.f-site-header--transparent .f-cta.btn--outline,
.f-site-header--transparent .f-cta.btn--outline-light,
.f-cta--on-dark.btn--outline,
.f-cta--on-dark.btn--outline-light {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    background: transparent !important;
    box-shadow: none !important;
}
.f-site-header--transparent .f-cta.btn--outline:hover,
.f-site-header--transparent .f-cta.btn--outline-light:hover,
.f-cta--on-dark.btn--outline:hover,
.f-cta--on-dark.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: #fff !important;
    color: #fff !important;
}
/* After scroll: solid bar — CTA becomes solid primary for contrast */
.f-site-header--transparent.is-scrolled .f-cta.btn--outline-light,
.f-site-header--transparent.is-scrolled .f-cta.btn--outline {
    background: var(--foundation-primary) !important;
    border-color: var(--foundation-primary) !important;
    color: var(--foundation-on-primary, #fff) !important;
}
.f-site-header--transparent.is-scrolled .f-cta.btn--outline-light:hover,
.f-site-header--transparent.is-scrolled .f-cta.btn--outline:hover {
    filter: brightness(1.08);
    background: var(--foundation-primary) !important;
}
/* Always fixed — switching absolute↔fixed made the bar vanish at scrollY=0 */
.f-site-header--transparent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
}
.f-site-header--transparent.is-scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.f-site-header--transparent .f-brand,
.f-site-header--transparent .f-brand__name,
.f-site-header--transparent .f-nav__link {
    color: #fff;
}
.f-site-header--transparent .f-nav__link { opacity: 0.9; }
.f-site-header--transparent .f-nav__link:hover { color: #fff; opacity: 1; }
/* Transparent header overlays first section — room under the bar */
body:has(.f-site-header--transparent) .foundation-hero-form,
body:has(.f-site-header--transparent) .foundation-hero,
body:has(.f-site-header--transparent) .foundation-hero-stats,
body:has(.f-site-header--transparent) .foundation-hero-image {
    padding-top: 5.5rem;
}
.f-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--foundation-dark);
}
.f-site-header--transparent .f-nav-toggle { color: #fff; }
.f-nav-toggle__bar {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
}
.f-mobile-nav {
    display: none;
    padding: 0.75rem 1.25rem 1.25rem;
    border-top: 1px solid var(--foundation-border);
    background: #fff;
}
.f-mobile-nav .f-nav__list {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
}
.f-mobile-nav .f-nav__item {
    max-width: none;
    flex: none;
}
.f-mobile-nav .f-nav__link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--foundation-border);
    opacity: 1;
    max-width: none;
    white-space: normal; /* full labels in drawer */
    overflow: visible;
    text-overflow: unset;
    font-size: 1rem;
    line-height: 1.4;
}
.f-site-header--transparent .f-mobile-nav {
    background: #0f172a;
    border-top-color: rgba(255, 255, 255, 0.08);
}
.f-site-header--transparent .f-mobile-nav .f-nav__link {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
/*
 * Long nav labels (DE/IT/etc.): collapse desktop nav earlier.
 * Full text stays available in the mobile drawer.
 */
@media (max-width: 1100px) {
    .f-site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .f-site-header__nav-desktop { display: none; }
    .f-site-header__actions {
        grid-column: 2;
        justify-self: end;
    }
    .f-site-header__inner > .f-brand {
        max-width: min(220px, 55vw);
    }
    .f-nav-toggle { display: inline-flex; }
    .f-mobile-nav:not([hidden]) { display: block; }
    .f-site-header__actions .f-cta.btn {
        padding: 0.55rem 1.1rem;
        font-size: 0.875rem;
        max-width: 9rem;
    }
}
@media (min-width: 1101px) {
    .f-mobile-nav { display: none !important; }
    .f-nav-toggle { display: none !important; }
}
@media (max-width: 480px) {
    /* Very narrow: brand + menu only, CTA lives in drawer */
    .f-site-header__actions .f-cta:not(.f-cta--block) {
        display: none;
    }
    .f-site-header__inner > .f-brand {
        max-width: min(160px, 60vw);
    }
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* =====================================================================
 * SINGLE-PAGE FOOTER
 * ===================================================================== */
.f-site-footer {
    background: var(--foundation-footer, #020617);
    color: #cbd5e1;
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}
.f-site-footer a { color: #e2e8f0; text-decoration: none; }
.f-site-footer a:hover { color: #fff; }
.f-site-footer__inner {
    padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.f-site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem 1.5rem;
}
.f-site-footer .f-brand,
.f-site-footer .f-brand__name { color: #fff; }
.f-site-footer__tagline {
    margin: 0.75rem 0 1.15rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #94a3b8;
    max-width: 22rem;
}
.f-site-footer__heading {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}
.f-site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.f-site-footer__links a {
    font-size: 0.9rem;
    color: #94a3b8;
}
.f-site-footer__links a:hover { color: #fff; }
.f-site-footer__disclaimer {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #64748b;
}
.f-site-footer__disclaimer--center {
    text-align: center;
    max-width: 40rem;
    margin-inline: auto;
}
.f-site-footer__bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #64748b;
}
.f-site-footer__bottom p { margin: 0; }
.f-site-footer--minimal { background: #0f172a; text-align: center; }
.f-site-footer__minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.f-site-footer__mini-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.15rem;
}
.f-site-footer__mini-nav a {
    font-size: 0.9rem;
    color: #94a3b8;
}
.f-site-footer__copy {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}
.f-site-footer--bar { background: #020617; }
.f-site-footer--bar .f-site-footer__inner {
    padding-block: 1.15rem 1.35rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.f-site-footer__bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0 auto;
    padding: 0.15rem 0;
}
.f-site-footer__bar-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 0.55rem;
    margin: 0;
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #94a3b8;
    text-align: center;
}
.f-site-footer__bar-copy {
    color: #94a3b8;
}
.f-site-footer__bar-sep {
    color: #64748b;
    user-select: none;
}
.f-site-footer__bar-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 550;
}
.f-site-footer__bar-link:hover {
    color: #fff;
}
.f-site-footer__bar .f-site-footer__disclaimer {
    margin: 0 auto;
    max-width: min(40rem, 100%);
    text-align: center;
    width: 100%;
}
.f-site-footer__bar p {
    margin: 0;
    font-size: 0.875rem;
    color: #94a3b8;
    text-align: center;
}
@media (max-width: 900px) {
    .f-site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .f-site-footer__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
 * HERO — classic full-bleed
 * ===================================================================== */
.foundation-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(72vh, 720px);
    overflow: hidden;
    /* Always anchored to dark slate so white text never washes out on light brands */
    background: linear-gradient(
        145deg,
        #0f172a 0%,
        var(--foundation-brand-dark, #134e4a) 55%,
        var(--foundation-secondary, #0f766e) 100%
    );
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.hero-overlay { position: absolute; inset: 0; }
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: clamp(4rem, 9vw, 7.5rem) var(--foundation-section-pad-x);
    color: #fff;
}
.hero-content.text-left { text-align: left; margin-right: auto; margin-left: 0; width: 100%; max-width: var(--foundation-container); padding-left: max(var(--foundation-section-pad-x), calc((100% - var(--foundation-container)) / 2 + var(--foundation-section-pad-x))); }
.hero-content.text-center { text-align: center; margin: 0 auto; }
.hero-content.text-right { text-align: right; margin-left: auto; margin-right: 0; }
.hero-heading {
    font-size: clamp(2.35rem, 5.5vw, 3.85rem);
    font-weight: 800;
    line-height: 1.06;
    margin: 0 0 1.15rem;
    letter-spacing: var(--foundation-tracking-tight);
    text-wrap: balance;
}
.hero-subheading {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.65;
    opacity: 0.9;
    margin: 0 0 2.25rem;
    max-width: 36rem;
}
.hero-content.text-center .hero-subheading { margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero-content.text-center .hero-ctas { justify-content: center; }

/* =====================================================================
 * HERO + FORM  (Fundektris-style split)
 * ===================================================================== */
.foundation-hero-form {
    position: relative;
    overflow: hidden;
    min-height: min(78vh, 760px);
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        #0f172a 0%,
        var(--foundation-brand-dark, #115e59) 48%,
        var(--foundation-primary, #0d9488) 100%
    );
}
.hero-form-overlay { position: absolute; inset: 0; pointer-events: none; }
.hero-form-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 420px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: var(--foundation-container);
    margin: 0 auto;
    padding: clamp(3.5rem, 8vw, 6.5rem) var(--foundation-section-pad-x);
    color: #fff;
    width: 100%;
}
.hero-form-content.stacked {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 560px;
}
.hero-form-content.form-left {
    grid-template-columns: minmax(300px, 420px) 1fr;
}
.hero-form-content.form-left .hero-form-text { order: 2; }
.hero-form-content.form-left .hero-form-form { order: 1; }
.hero-form-heading {
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 1rem;
    letter-spacing: var(--foundation-tracking-tight);
    text-wrap: balance;
}
.hero-form-subheading {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 1.75rem;
    line-height: 1.65;
    max-width: 34rem;
}
.hero-form-content.stacked .hero-form-subheading { margin-inline: auto; }
.hero-form-badges {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.hero-form-content.stacked .hero-form-badges { justify-content: center; }
.hero-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.45rem 0.95rem;
    border-radius: var(--foundation-radius-pill);
    font-size: 0.8125rem;
    font-weight: 550;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-form-badge img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.hero-form-form {
    background: #fff;
    padding: clamp(1.75rem, 3vw, 2.35rem);
    border-radius: var(--foundation-radius-2xl);
    box-shadow: var(--foundation-shadow-xl);
    color: var(--foundation-dark);
}
/* Native leadform layout — gap so submit never sticks to phone */
.hero-form-form .leadform,
.lead-form-container .leadform {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
    position: relative;
}

/* Shared field look: name / email (padding OK here) */
.hero-form-form .leadform input[type="text"],
.hero-form-form .leadform input[type="email"],
.lead-form-container .leadform input[type="text"],
.lead-form-container .leadform input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.85rem 1rem;
    height: auto;
    min-height: 3rem;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--foundation-radius-md);
    font-size: 0.975rem;
    line-height: 1.4;
    font-family: inherit;
    color: var(--foundation-dark);
    background: var(--foundation-light);
    transition: border-color var(--foundation-transition), box-shadow var(--foundation-transition), background var(--foundation-transition);
}
.hero-form-form .leadform input[type="text"]:focus,
.hero-form-form .leadform input[type="email"]:focus,
.lead-form-container .leadform input[type="text"]:focus,
.lead-form-container .leadform input[type="email"]:focus {
    outline: none;
    border-color: var(--foundation-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--foundation-primary) 18%, transparent);
    background: #fff;
}

/* Phone / ITI: width + surface only — padding comes from intl-tel-input */
.hero-form-form .leadform .iti,
.lead-form-container .leadform .iti,
.leadform .iti.iti--allow-dropdown {
    width: 100% !important;
    display: block;
    margin: 0;
    position: relative;
}
.hero-form-form .leadform input[type="tel"],
.hero-form-form .leadform .iti input,
.hero-form-form .leadform .iti__tel-input,
.lead-form-container .leadform input[type="tel"],
.lead-form-container .leadform .iti input,
.lead-form-container .leadform .iti__tel-input {
    width: 100% !important;
    box-sizing: border-box;
    margin: 0;
    /* no padding — ITI sets padding for flag/dropdown */
    min-height: 3rem;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--foundation-radius-md);
    font-size: 0.975rem;
    line-height: 1.4;
    font-family: inherit;
    color: var(--foundation-dark);
    background: var(--foundation-light);
    transition: border-color var(--foundation-transition), box-shadow var(--foundation-transition), background var(--foundation-transition);
}
.hero-form-form .leadform input[type="tel"]:focus,
.hero-form-form .leadform .iti input:focus,
.hero-form-form .leadform .iti__tel-input:focus,
.lead-form-container .leadform input[type="tel"]:focus,
.lead-form-container .leadform .iti input:focus,
.lead-form-container .leadform .iti__tel-input:focus {
    outline: none;
    border-color: var(--foundation-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--foundation-primary) 18%, transparent);
    background: #fff;
}

/* Leadform submit — every container (hero-form, lead-form, form block) */
.hero-form-form .leadform button.submit,
.hero-form-form .leadform .submit,
.lead-form-container .leadform button.submit,
.lead-form-container .leadform .submit,
.form-container .leadform button.submit,
.form-container .leadform .submit,
.foundation-form .leadform button.submit,
.foundation-form .leadform .submit,
.leadform button.submit,
.leadform button[type="submit"],
.leadform .submit {
    width: 100%;
    margin-top: 0.35rem;
    background: var(--foundation-primary) !important;
    color: var(--foundation-on-primary, #fff) !important;
    border: none !important;
    padding: 0.95rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 650 !important;
    font-family: inherit;
    line-height: 1.3;
    border-radius: var(--foundation-radius-pill) !important;
    cursor: pointer;
    transition: filter var(--foundation-transition), transform var(--foundation-transition), box-shadow var(--foundation-transition);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--foundation-primary) 30%, transparent);
    appearance: none;
    -webkit-appearance: none;
}
.hero-form-form .leadform button.submit:hover,
.lead-form-container .leadform button.submit:hover,
.form-container .leadform button.submit:hover,
.foundation-form .leadform button.submit:hover,
.leadform button.submit:hover,
.leadform button[type="submit"]:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
/* Legacy form fields (non-leadform shortcodes) */
.hero-form-form > input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.hero-form-form > textarea,
.hero-form-form > select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--foundation-radius-md);
    font-size: 0.975rem;
    font-family: inherit;
    background: var(--foundation-light);
    margin-bottom: 0.85rem;
}

/* =====================================================================
 * HERO + STATS
 * ===================================================================== */
.foundation-hero-stats {
    padding: clamp(4rem, 9vw, 7.5rem) var(--foundation-section-pad-x);
    color: #fff;
    text-align: center;
    background: linear-gradient(
        145deg,
        #0f172a 0%,
        var(--foundation-brand-dark, #134e4a) 100%
    );
    position: relative;
}
.hero-stats-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.hero-stats-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-stats-text h1 {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 1.15rem;
    letter-spacing: var(--foundation-tracking-tight);
    text-align: center;
    max-width: 100%;
}
.hero-stats-text p,
.hero-stats-text .foundation-prose {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0 auto 2rem;
    line-height: 1.65;
    max-width: 34rem;
    text-align: center;
    width: 100%;
}
.hero-stats-text .btn {
    margin-inline: auto;
}
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-top: 2.75rem;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--foundation-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    text-align: center;
}
.hero-stat-item {
    text-align: center;
    min-width: 0;
}
.hero-stat-value {
    display: block;
    font-size: clamp(1.85rem, 3.5vw, 2.65rem);
    font-weight: 800;
    color: var(--foundation-accent);
    line-height: 1.1;
    letter-spacing: var(--foundation-tracking-tight);
}
.hero-stat-label {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8125rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* =====================================================================
 * HERO + IMAGE
 * ===================================================================== */
.foundation-hero-image {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: linear-gradient(180deg, #fff 0%, var(--foundation-soft) 100%);
}
.hero-image-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    max-width: var(--foundation-container);
    margin: 0 auto;
}
.hero-image-inner.img-left .hero-image-text { order: 2; }
.hero-image-inner.img-left .hero-image-img { order: 1; }
.hero-image-text h1 {
    font-size: clamp(2.15rem, 4.5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 1.15rem;
    letter-spacing: var(--foundation-tracking-tight);
    color: var(--foundation-dark);
    text-wrap: balance;
}
.hero-image-sub {
    font-size: 1.1rem;
    color: var(--foundation-muted);
    margin: 0 0 1.85rem;
    line-height: 1.65;
    max-width: 32rem;
}
.hero-image-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero-image-img {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
}
.hero-image-img::before {
    content: "";
    position: absolute;
    inset: 12% -6% -6% 12%;
    background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--foundation-primary) 28%, transparent), transparent 65%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.hero-image-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: var(--foundation-radius-xl);
    filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.15));
}
/* Animated chart mock (no labels) — default when hero has no image */
.hero-chart {
    position: relative;
    z-index: 1;
    aspect-ratio: 3 / 2;
    width: 100%;
    max-width: 100%;
    border-radius: var(--foundation-radius-2xl);
    background:
        radial-gradient(120% 80% at 80% 10%, color-mix(in srgb, var(--foundation-primary) 35%, transparent), transparent 55%),
        radial-gradient(90% 70% at 10% 90%, color-mix(in srgb, var(--foundation-secondary) 28%, transparent), transparent 50%),
        linear-gradient(155deg, #0b1220 0%, #0f172a 45%, #111827 100%);
    box-shadow:
        var(--foundation-shadow-xl),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    padding: clamp(0.75rem, 2vw, 1.25rem);
}
.hero-chart__glow {
    position: absolute;
    inset: auto 0 -30% 20%;
    height: 55%;
    background: radial-gradient(ellipse at center, color-mix(in srgb, var(--foundation-primary) 40%, transparent), transparent 70%);
    pointer-events: none;
    filter: blur(8px);
    max-width: 100%;
}
.hero-chart__svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}
.hero-chart__line {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: hero-chart-draw 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero-chart__line--soft {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: hero-chart-draw 2.8s 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0.85;
}
.hero-chart__area {
    opacity: 0;
    animation: hero-chart-fade 1.2s 0.9s ease forwards;
}
.hero-chart__dot {
    opacity: 0;
    animation: hero-chart-fade 0.4s 2.1s ease forwards;
}
.hero-chart__pulse {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation:
        hero-chart-fade 0.35s 2.1s ease forwards,
        hero-chart-pulse 2s 2.25s ease-out infinite;
}
@keyframes hero-chart-draw {
    to { stroke-dashoffset: 0; }
}
@keyframes hero-chart-fade {
    to { opacity: 1; }
}
@keyframes hero-chart-pulse {
    0%   { opacity: 0.5; transform: scale(1); }
    80%  { opacity: 0; transform: scale(3.2); }
    100% { opacity: 0; transform: scale(3.2); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-chart__line,
    .hero-chart__line--soft,
    .hero-chart__area,
    .hero-chart__dot,
    .hero-chart__pulse {
        animation: none !important;
        opacity: 1;
        stroke-dashoffset: 0;
    }
}

/* =====================================================================
 * FEATURES GRID
 * ===================================================================== */
.foundation-features {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-surface);
}
.features-inner { max-width: var(--foundation-container); margin: 0 auto; }
.features-heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 0.75rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.features-subheading {
    max-width: 36rem;
    margin: 0 auto 3rem;
    text-align: center !important;
    color: var(--foundation-muted);
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.features-subheading > p,
.features-subheading > *:not(ul):not(ol) {
    width: 100%;
    text-align: center;
}
.features-subheading ul,
.features-subheading ol {
    align-self: center;
    line-height: 1.65;
}
.features-grid {
    display: grid;
    gap: 1.35rem;
}
.features-grid.cols-1 { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
.features-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.features-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.features-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
/* Keep last incomplete row centered when needed (safety for odd leftovers). */
.features-grid[data-count="3"].cols-2,
.testimonials-grid[data-count="3"].cols-2,
.guarantees-grid[data-count="3"][style*="--gu-cols:2"],
.trust-badges-grid[data-count="3"][style*="--tb-cols:2"] {
    grid-template-columns: repeat(3, 1fr);
}
.feature-card {
    padding: 1.85rem 1.65rem;
    background: var(--foundation-card);
    border-radius: var(--foundation-radius-xl);
    border: 1px solid var(--foundation-border);
    box-shadow: var(--foundation-shadow-sm);
    transition: transform var(--foundation-transition), box-shadow var(--foundation-transition), border-color var(--foundation-transition);
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--foundation-primary), var(--foundation-secondary));
    opacity: 0;
    transition: opacity var(--foundation-transition);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--foundation-shadow-lg);
    border-color: color-mix(in srgb, var(--foundation-primary) 22%, transparent);
}
.feature-card:hover::after { opacity: 1; }
/* =====================================================================
 * HIDDEN SEO — in HTML for crawlers, invisible to visitors
 * ===================================================================== */
.foundation-hidden-seo:not(.foundation-hidden-seo--editor) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    /* Keep in document for parsers; do not use display:none */
}
.foundation-hidden-seo:not(.foundation-hidden-seo--editor) .foundation-hidden-seo__badge,
.foundation-hidden-seo:not(.foundation-hidden-seo--editor) .foundation-hidden-seo__hint,
.foundation-hidden-seo:not(.foundation-hidden-seo--editor) .foundation-hidden-seo__empty {
    display: none !important;
}

/* =====================================================================
 * ICON SYSTEM (library presets + custom uploads)
 * ===================================================================== */
.f-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--f-icon-size, 1.5rem);
    height: var(--f-icon-size, 1.5rem);
    color: var(--foundation-primary);
    flex-shrink: 0;
    line-height: 0;
}
.f-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.f-icon--img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.f-icon--fallback {
    font-weight: 800;
    font-size: 0.95em;
    color: var(--foundation-primary);
}

.feature-icon {
    margin-bottom: 1.1rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--foundation-radius-md);
    background: var(--foundation-soft);
    color: var(--foundation-primary);
    flex-shrink: 0;
}
.feature-icon .f-icon {
    --f-icon-size: 28px;
    color: var(--foundation-primary);
}
.feature-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}
.feature-icon--fallback span,
.f-icon--fallback {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--foundation-primary);
}
.trust-badge-item .f-icon {
    --f-icon-size: 40px;
    color: var(--foundation-primary);
}
.step-icon .f-icon {
    --f-icon-size: 32px;
    color: var(--foundation-primary);
}
.guarantee-card__icon {
    margin: 0.35rem 0 0.75rem;
    color: var(--foundation-primary);
}
.guarantee-card__icon .f-icon { --f-icon-size: 40px; }
.pain-card,
.solution-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.pain-card__icon,
.solution-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--foundation-radius-md);
    background: var(--foundation-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foundation-primary);
}
.pain-card__icon .f-icon,
.solution-card__icon .f-icon { --f-icon-size: 22px; }
.hero-form-badge .f-icon,
.lead-form-badge .f-icon {
    --f-icon-size: 16px;
    color: currentColor;
    opacity: 0.95;
}
.feature-title {
    margin: 0 0 0.55rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.feature-text {
    margin: 0;
    color: var(--foundation-muted);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Dark “Synthalora” features variant via block bg color support */
.foundation-features.has-dark-background,
.foundation-features.is-style-dark {
    background: #064e3b;
    color: #fff;
}
.foundation-features.has-dark-background .features-heading,
.foundation-features.is-style-dark .features-heading { color: #fff; }
.foundation-features.has-dark-background .features-subheading,
.foundation-features.is-style-dark .features-subheading { color: rgba(255,255,255,0.75); }
.foundation-features.has-dark-background .feature-card,
.foundation-features.is-style-dark .feature-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.foundation-features.has-dark-background .feature-text,
.foundation-features.is-style-dark .feature-text { color: rgba(255,255,255,0.72); }
.foundation-features.has-dark-background .feature-icon,
.foundation-features.is-style-dark .feature-icon {
    background: color-mix(in srgb, var(--foundation-primary) 35%, #1e1b4b);
}

/* =====================================================================
 * FEATURES WITH IMAGES
 * ===================================================================== */
.foundation-features-image {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-light);
}
.fi-inner { max-width: var(--foundation-container); margin: 0 auto; }
.fi-inner > h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: var(--foundation-tracking-tight);
    margin: 0 0 0.75rem;
}
.fi-sub {
    color: var(--foundation-muted);
    font-size: 1.1rem;
    margin: 0 auto 2.75rem;
    max-width: 36rem;
    line-height: 1.65;
    text-align: center !important;
}
.fi-grid {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: repeat(var(--fi-cols, 3), 1fr);
}
.fi-card {
    background: #fff;
    border-radius: var(--foundation-radius-xl);
    overflow: hidden;
    box-shadow: var(--foundation-shadow-sm);
    border: 1px solid var(--foundation-border);
    transition: transform var(--foundation-transition), box-shadow var(--foundation-transition);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.fi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--foundation-shadow-lg);
}
.fi-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--foundation-light);
    display: block;
    flex-shrink: 0;
}
.fi-card-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--foundation-light), var(--foundation-soft));
    flex-shrink: 0;
}
/* Body padding: image is edge-to-edge; text must not stick to card edges */
.fi-card h3 {
    margin: 0;
    padding: 1.25rem 1.35rem 0.45rem;
    font-size: 1.125rem;
    font-weight: 700;
}
.fi-card p,
.fi-card .foundation-prose {
    margin: 0;
    padding: 0 1.35rem 1.35rem;
    color: var(--foundation-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    text-align: left;
}
.fi-card .foundation-prose p {
    color: inherit;
}

/* =====================================================================
 * STATS BAR — cards (Fundektris) + dark strip
 * ===================================================================== */
.foundation-stats {
    padding: clamp(2.5rem, 5vw, 4rem) var(--foundation-section-pad-x);
    background: var(--foundation-light);
}
.foundation-stats.stats--dark {
    background: linear-gradient(
        135deg,
        #0f172a 0%,
        var(--foundation-brand-dark, #134e4a) 100%
    );
    color: #fff;
}
.foundation-stats .stats-heading {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    margin: 0 0 2rem;
    text-align: center;
}
.foundation-stats.stats--dark .stats-heading { color: #fff; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: var(--foundation-container);
    margin: 0 auto;
}
.stats-grid.cols-1 { grid-template-columns: 1fr; max-width: 280px; }
.stats-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
.stats-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
.stats-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.stats-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
.stat-item {
    text-align: center;
    background: #fff;
    border-radius: var(--foundation-radius-xl);
    padding: 1.65rem 1.15rem;
    box-shadow: var(--foundation-shadow-sm);
    border: 1px solid var(--foundation-border);
    transition: transform var(--foundation-transition), box-shadow var(--foundation-transition);
}
.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--foundation-shadow-md);
}
.foundation-stats.stats--dark .stat-item {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}
.stat-value-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    flex-wrap: wrap;
}
.stat-number {
    display: inline;
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--foundation-primary);
    letter-spacing: var(--foundation-tracking-tight);
    font-variant-numeric: tabular-nums;
}
.stat-suffix {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    color: var(--foundation-primary);
}
.foundation-stats.stats--dark .stat-number,
.foundation-stats.stats--dark .stat-suffix {
    color: var(--foundation-accent);
}
.stat-label {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.8125rem;
    color: var(--foundation-muted);
    font-weight: 550;
    line-height: 1.35;
}
.foundation-stats.stats--dark .stat-label {
    color: rgba(255, 255, 255, 0.65);
}

/* =====================================================================
 * CTA
 * ===================================================================== */
.foundation-cta {
    padding: clamp(3.5rem, 7vw, 5.5rem) var(--foundation-section-pad-x);
    color: #fff;
    text-align: center;
    /* Mix with slate so mid-tone brands never yield pale white-on-pale CTA bands */
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--foundation-secondary) 70%, #0f172a),
        color-mix(in srgb, var(--foundation-primary) 75%, #0f172a)
    );
    position: relative;
    overflow: hidden;
}
.foundation-cta.is-light {
    color: var(--foundation-dark);
    background: var(--foundation-soft, #f1f5f9);
}
.foundation-cta.is-light .cta-text { opacity: 0.85; }
.foundation-cta.is-light .btn--primary {
    background: var(--foundation-primary);
    color: var(--foundation-on-primary, #fff);
    border-color: var(--foundation-primary);
}
.foundation-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255,255,255,0.12), transparent 55%);
    pointer-events: none;
}
.cta-inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cta-heading {
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    font-weight: 800;
    margin: 0 0 0.85rem;
    letter-spacing: var(--foundation-tracking-tight);
    text-wrap: balance;
}
.cta-text {
    font-size: 1.1rem;
    opacity: 0.92;
    margin: 0 0 2rem;
    line-height: 1.65;
}
.foundation-cta:not(.is-light) .btn--primary {
    background: #fff;
    color: var(--foundation-primary);
    border-color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.foundation-cta:not(.is-light) .btn--primary:hover {
    filter: none;
    background: #f8fafc;
    color: var(--foundation-secondary);
}
.foundation-cta .btn--outline {
    border-color: rgba(255, 255, 255, 0.55);
}

/* =====================================================================
 * LEAD FORM
 * ===================================================================== */
.foundation-lead-form {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
}
.lead-form-inner { max-width: 560px; margin: 0 auto; }
.lead-form-header { margin-bottom: 2rem; text-align: center; }
.lead-form-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    margin: 0 0 0.65rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.lead-form-header p {
    color: var(--foundation-muted);
    font-size: 1.05rem;
    margin: 0;
}
.lead-form--card .lead-form-container {
    background: #fff;
    padding: clamp(1.75rem, 3vw, 2.35rem);
    border-radius: var(--foundation-radius-2xl);
    border: 1px solid var(--foundation-border);
    box-shadow: var(--foundation-shadow-md);
}
/* Dark lead-form always sits on a dark band (overrides empty/light inline bg). */
.foundation-lead-form:has(.lead-form--dark) {
    background: linear-gradient(
        145deg,
        #0f172a 0%,
        var(--foundation-brand-dark, #1e293b) 100%
    ) !important;
    color: #fff;
}
.lead-form--dark { color: #fff; }
.lead-form--dark .lead-form-header h2 { color: #fff; }
.lead-form--dark .lead-form-header p { color: rgba(255,255,255,0.75); }
.lead-form--dark .lead-form-container {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: clamp(1.75rem, 3vw, 2.35rem);
    border-radius: var(--foundation-radius-2xl);
    backdrop-filter: blur(12px);
}
.lead-form--dark .lead-form-badges { color: rgba(255, 255, 255, 0.7); }
.lead-form--dark .lead-form-container input[type="submit"],
.lead-form--dark .lead-form-container button[type="submit"] {
    color: var(--foundation-on-primary, #fff);
}
.lead-form-badges {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
    font-size: 0.8125rem;
    color: var(--foundation-muted);
}
.lead-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 550;
}
.lead-form-container input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.lead-form-container textarea,
.lead-form-container select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--foundation-radius-md);
    font-size: 0.975rem;
    font-family: inherit;
    background: var(--foundation-light);
    margin-bottom: 0.85rem;
    transition: border-color var(--foundation-transition), box-shadow var(--foundation-transition);
}
.lead-form-container input:focus,
.lead-form-container textarea:focus {
    outline: none;
    border-color: var(--foundation-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--foundation-primary) 18%, transparent);
    background: #fff;
}
.lead-form-container input[type="submit"],
.lead-form-container button[type="submit"] {
    width: 100%;
    background: var(--foundation-primary);
    color: var(--foundation-on-primary, #fff);
    border: none;
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
    font-weight: 650;
    border-radius: var(--foundation-radius-pill);
    cursor: pointer;
    transition: filter var(--foundation-transition), transform var(--foundation-transition);
}
.lead-form-container input[type="submit"]:hover,
.lead-form-container button[type="submit"]:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* =====================================================================
 * FAQ
 * ===================================================================== */
.foundation-faq {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-surface);
}
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 2.5rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
    border-bottom: 1px solid var(--foundation-border);
}
.faq-question {
    width: 100%;
    padding: 1.35rem 0;
    background: none;
    border: none;
    font-size: 1.0625rem;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    color: inherit;
    line-height: 1.4;
    transition: color var(--foundation-transition);
}
.faq-question:hover { color: var(--foundation-primary); }
.faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--foundation-soft);
    color: var(--foundation-primary);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s, background var(--foundation-transition), color var(--foundation-transition);
}
.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
    background: var(--foundation-primary);
    color: #fff;
}
.faq-answer {
    padding: 0 0 1.35rem;
    color: var(--foundation-muted);
    line-height: 1.7;
    font-size: 0.975rem;
}
.faq-answer[hidden] { display: none; }

/* =====================================================================
 * TESTIMONIALS
 * ===================================================================== */
.foundation-testimonials {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-light);
}
.testimonials-inner { max-width: var(--foundation-container); margin: 0 auto; }
.testimonials-heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 2.5rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.testimonials-grid {
    display: grid;
    gap: 1.35rem;
}
.testimonials-grid.cols-1 { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.testimonials-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.testimonials-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.testimonial-card {
    background: #fff;
    padding: 1.85rem 1.65rem;
    border-radius: var(--foundation-radius-xl);
    box-shadow: var(--foundation-shadow-sm);
    border: 1px solid var(--foundation-border);
    margin: 0;
    position: relative;
    transition: transform var(--foundation-transition), box-shadow var(--foundation-transition);
}
.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--foundation-shadow-md);
}
.testimonial-card::before {
    content: "\201C";
    font-size: 3.5rem;
    line-height: 1;
    color: var(--foundation-primary);
    opacity: 0.14;
    position: absolute;
    top: 1rem;
    left: 1.15rem;
    font-family: Georgia, serif;
}
.testimonial-text {
    margin: 0 0 1.15rem;
    font-style: normal;
    line-height: 1.65;
    position: relative;
    z-index: 1;
    color: #334155;
    font-size: 0.975rem;
}
.testimonial-rating {
    color: var(--foundation-accent);
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.testimonial-avatar {
    border-radius: 50%;
    object-fit: cover;
    width: 44px;
    height: 44px;
    border: 2px solid var(--foundation-soft);
    flex-shrink: 0;
}
.testimonial-avatar--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--foundation-primary), var(--foundation-secondary));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
}
.testimonial-author cite {
    font-style: normal;
    font-size: 0.9rem;
}
.testimonial-author cite strong {
    display: block;
    font-weight: 700;
}
.testimonial-role {
    display: block;
    font-size: 0.8125rem;
    color: var(--foundation-muted);
    margin-top: 0.1rem;
}

/* =====================================================================
 * TESTIMONIALS + VIDEO
 * ===================================================================== */
.foundation-testimonials-video {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-light);
}
.tv-inner { max-width: var(--foundation-container); margin: 0 auto; }
.tv-inner > h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    letter-spacing: var(--foundation-tracking-tight);
    margin: 0 0 0.5rem;
}
.tv-grid {
    display: grid;
    gap: 1.35rem;
    margin-top: 2.25rem;
    grid-template-columns: repeat(var(--tv-cols, 2), 1fr);
}
.tv-card {
    background: #fff;
    border-radius: var(--foundation-radius-xl);
    overflow: hidden;
    box-shadow: var(--foundation-shadow-sm);
    border: 1px solid var(--foundation-border);
}
.tv-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
    display: block;
}
.tv-card blockquote {
    padding: 1.35rem 1.5rem 1.5rem;
    margin: 0;
}
.tv-card blockquote > p {
    margin: 0 0 1rem;
    line-height: 1.6;
    color: #334155;
    font-size: 0.95rem;
}
.tv-card footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.tv-avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
}
.tv-card cite { font-style: normal; font-size: 0.875rem; }
.tv-card cite strong { display: block; }
.tv-card cite span { display: block; font-size: 0.8rem; color: var(--foundation-muted); }
.tv-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.65rem;
    font-size: 0.8125rem;
    font-weight: 650;
}
.tv-meta .invested { color: var(--foundation-muted); }
.tv-meta .profit { color: var(--foundation-success); }
.tv-rating { color: var(--foundation-accent); font-size: 0.9rem; margin-top: 0.25rem; }

/* =====================================================================
 * PARTNER LOGOS
 * ===================================================================== */
.foundation-partner-logos {
    padding: 2.75rem var(--foundation-section-pad-x);
    background: #fff;
    border-block: 1px solid var(--foundation-border);
}
.partner-logos-inner {
    max-width: var(--foundation-container);
    margin: 0 auto;
    text-align: center;
}
.partner-logos-inner h2 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--foundation-muted);
    margin: 0 0 1.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.partner-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem 2.75rem;
    flex-wrap: wrap;
}
.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}
.partner-logo-item img {
    max-height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.55;
    filter: grayscale(0.4);
    transition: opacity var(--foundation-transition), filter var(--foundation-transition);
}
.partner-logo-item:hover img {
    opacity: 0.95;
    filter: grayscale(0);
}
.partner-logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 750;
    color: var(--foundation-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.72;
    border: 1px solid var(--foundation-border);
    border-radius: var(--foundation-radius-pill);
    background: var(--foundation-light, #f1f5f9);
}

/* =====================================================================
 * STEPS
 * ===================================================================== */
.foundation-steps {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-surface);
}
.steps-inner { max-width: var(--foundation-container); margin: 0 auto; }
.steps-inner > h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 0.65rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.steps-subheading {
    text-align: center !important;
    color: var(--foundation-muted);
    font-size: 1.1rem;
    margin: 0 auto 2.75rem;
    max-width: 36rem;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.steps-subheading > p,
.steps-subheading > *:not(ul):not(ol) {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
}
.steps-subheading ul,
.steps-subheading ol {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    display: table;
    width: auto;
    max-width: 100%;
}
.steps-grid { display: grid; gap: 1.25rem; }
.steps-horizontal { grid-template-columns: repeat(var(--step-cols, 4), 1fr); }
.steps-vertical {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
}
.step-card {
    padding: 1.75rem 1.35rem;
    background: #fff;
    border-radius: var(--foundation-radius-xl);
    box-shadow: var(--foundation-shadow-sm);
    border: 1px solid var(--foundation-border);
    text-align: center;
    position: relative;
    transition: transform var(--foundation-transition), box-shadow var(--foundation-transition);
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--foundation-shadow-md);
}
.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--foundation-primary), var(--foundation-secondary));
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--foundation-primary) 35%, transparent);
}
.steps-vertical .step-card {
    text-align: left;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.steps-vertical .step-number {
    flex-shrink: 0;
    margin: 0;
}
.step-icon { margin-bottom: 0.85rem; }
.step-icon img { width: 40px; height: 40px; margin-inline: auto; }
.steps-vertical .step-icon img { margin-inline: 0; }
.step-title {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    font-weight: 700;
}
.step-text {
    margin: 0;
    color: var(--foundation-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =====================================================================
 * COMPARISON
 * ===================================================================== */
.foundation-comparison {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-surface);
}
.comparison-inner { max-width: 1000px; margin: 0 auto; }
.comparison-heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 2.25rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.comparison-table-wrap {
    overflow-x: auto;
    border-radius: var(--foundation-radius-xl);
    box-shadow: var(--foundation-shadow-sm);
    border: 1px solid var(--foundation-border);
}
.comparison-table {
    min-width: 0;
    width: 100%;
    overflow: hidden;
    background: #fff;
}
@media (min-width: 701px) {
    .comparison-table {
        min-width: min(100%, 600px);
    }
}
.comparison-row {
    display: flex;
    border-bottom: 1px solid var(--foundation-border);
}
.comparison-row:last-child { border-bottom: 0; }
.comparison-label {
    flex: 1;
    padding: 1rem 1.35rem;
    font-weight: 650;
    background: var(--foundation-light);
    border-right: 1px solid var(--foundation-border);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}
.comparison-cell {
    flex: 1;
    padding: 1rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.9rem;
}
.comparison-cell.is-highlighted {
    background: color-mix(in srgb, var(--foundation-primary) 6%, transparent);
    font-weight: 650;
    color: var(--foundation-primary);
}

/* =====================================================================
 * PAIN POINTS
 * ===================================================================== */
.foundation-pain-points {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-surface);
}
.pain-points-inner { max-width: var(--foundation-container); margin: 0 auto; }
.pain-points-inner > h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 2.25rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.pain-solution-grid { display: grid; gap: 1.35rem; }
.pain-solution-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.pain-col, .solution-col {
    padding: 1.85rem 1.65rem;
    border-radius: var(--foundation-radius-2xl);
}
.pain-col {
    background: #fef2f2;
    border: 1px solid #fecaca;
}
.solution-col {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.pain-heading {
    color: #dc2626;
    margin: 0 0 1.25rem;
    font-size: 1.15rem;
    font-weight: 750;
}
.solution-heading {
    color: #16a34a;
    margin: 0 0 1.25rem;
    font-size: 1.15rem;
    font-weight: 750;
}
.pain-card, .solution-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}
.pain-card:last-child, .solution-card:last-child { margin-bottom: 0; }
.pain-card strong, .solution-card strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.975rem;
}
.pain-card p, .solution-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--foundation-muted);
    line-height: 1.5;
}

/* =====================================================================
 * PRICING
 * ===================================================================== */
.foundation-pricing {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-light);
}
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-inner > h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 0.65rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.pricing-sub {
    text-align: center !important;
    color: var(--foundation-muted);
    font-size: 1.1rem;
    margin: 0 auto 2.75rem;
    max-width: 36rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pricing-sub > p,
.pricing-sub > *:not(ul):not(ol) {
    width: 100%;
    text-align: center;
}
.pricing-sub ul,
.pricing-sub ol {
    align-self: center;
    text-align: left;
    display: table;
    margin-left: auto;
    margin-right: auto;
}
.pricing-grid {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: repeat(var(--pr-cols, 3), 1fr);
    align-items: stretch;
}
.pricing-card {
    background: #fff;
    border: 1px solid var(--foundation-border);
    border-radius: var(--foundation-radius-2xl);
    padding: 2rem 1.65rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    transition: transform var(--foundation-transition), box-shadow var(--foundation-transition), border-color var(--foundation-transition);
}
.pricing-card .pricing-features {
    flex: 1 1 auto;
}
.pricing-card > .btn {
    margin-top: auto;
    align-self: center;
}
.pricing-card.is-highlighted {
    border-color: var(--foundation-primary);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--foundation-primary) 16%, transparent);
    transform: none; /* scale broke equal-height grid + overflow */
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #fff 0%, var(--foundation-soft) 100%);
    border-width: 2px;
}
.pricing-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.pricing-price { margin-bottom: 1.65rem; }
.price-amount {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: var(--foundation-tracking-tight);
    color: var(--foundation-dark);
}
.price-period { color: var(--foundation-muted); font-size: 0.9rem; }
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.65rem;
    text-align: left;
}
.pricing-features li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--foundation-border);
    font-size: 0.9rem;
    display: flex;
    gap: 0.5rem;
}
.pricing-features li::before {
    content: "✓";
    color: var(--foundation-success);
    font-weight: 700;
}
.pricing-features .not-included { color: #cbd5e1; text-decoration: line-through; }
.pricing-features .not-included::before { content: "✕"; color: #e2e8f0; }

/* =====================================================================
 * BLOG GRID
 * ===================================================================== */
.foundation-blog-grid {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-light);
}
.blog-grid-inner { max-width: var(--foundation-container); margin: 0 auto; }
.blog-grid-inner > h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 2.5rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.blog-grid-posts {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: repeat(var(--bg-cols, 3), 1fr);
}
.blog-grid-card {
    background: #fff;
    border-radius: var(--foundation-radius-xl);
    overflow: hidden;
    box-shadow: var(--foundation-shadow-sm);
    border: 1px solid var(--foundation-border);
    transition: transform var(--foundation-transition), box-shadow var(--foundation-transition);
}
.blog-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--foundation-shadow-lg);
}
.blog-grid-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
.blog-grid-card h3 {
    margin: 1.15rem 1.15rem 0.4rem;
    font-size: 1.05rem;
}
.blog-grid-card h3 a {
    text-decoration: none;
    color: inherit;
}
.blog-grid-card h3 a:hover { color: var(--foundation-primary); }
.blog-grid-card time {
    display: block;
    margin: 0 1.15rem 1.15rem;
    font-size: 0.8rem;
    color: var(--foundation-muted);
}

/* =====================================================================
 * GUARANTEES
 * ===================================================================== */
.foundation-guarantees {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-surface);
}
.guarantees-inner { max-width: 1100px; margin: 0 auto; }
.guarantees-inner > h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 0.65rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.guarantees-inner > p {
    text-align: center;
    color: var(--foundation-muted);
    margin: 0 auto 2.5rem;
    max-width: 36rem;
}
.guarantees-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(var(--gu-cols, 3), 1fr);
}
.guarantee-card {
    text-align: center;
    padding: 2.25rem 1.5rem;
    background: #fff;
    border-radius: var(--foundation-radius-2xl);
    box-shadow: var(--foundation-shadow-sm);
    border: 1px solid var(--foundation-border);
    transition: transform var(--foundation-transition), box-shadow var(--foundation-transition);
}
.guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--foundation-shadow-md);
}
.guarantee-pct {
    display: block;
    font-size: clamp(2.15rem, 4vw, 2.85rem);
    font-weight: 800;
    color: var(--foundation-primary);
    margin-bottom: 0.4rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.guarantee-card img {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    object-fit: contain;
}
.guarantee-card h3 {
    margin: 0.55rem 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
}
.guarantee-card p {
    margin: 0;
    color: var(--foundation-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* =====================================================================
 * TICKER / MARKETS
 * ===================================================================== */
.foundation-ticker {
    padding: 2.5rem var(--foundation-section-pad-x);
    background: #fff;
}
.ticker-inner { max-width: var(--foundation-container); margin: 0 auto; }
.ticker-inner > h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: var(--foundation-tracking-tight);
    margin: 0 0 1.35rem;
    text-align: center;
}
.ticker-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(var(--tk-cols, 4), 1fr);
}
.ticker-card {
    background: var(--foundation-light);
    padding: 1rem 1.15rem;
    border-radius: var(--foundation-radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--foundation-border);
    transition: border-color var(--foundation-transition), box-shadow var(--foundation-transition);
}
.ticker-card:hover {
    border-color: color-mix(in srgb, var(--foundation-primary) 30%, transparent);
    box-shadow: var(--foundation-shadow-sm);
}
.ticker-pair {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.ticker-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--foundation-dark);
}
.ticker-price {
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
    color: #334155;
}
.ticker-change {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: var(--foundation-radius-pill);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ticker-change.positive {
    color: var(--foundation-success);
    background: #ecfdf5;
}
.ticker-change.negative {
    color: var(--foundation-danger);
    background: #fef2f2;
}

/* =====================================================================
 * COUNTDOWN
 * ===================================================================== */
.foundation-countdown {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: linear-gradient(
        145deg,
        #0f172a 0%,
        var(--foundation-brand-dark, #134e4a) 100%
    );
    color: #fff;
}
.foundation-countdown .btn--primary {
    color: var(--foundation-on-primary, #fff);
}
.countdown-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.countdown-inner h2 {
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    font-weight: 800;
    margin: 0 0 0.85rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.countdown-inner > p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin: 0 0 1.5rem;
}
.countdown-pricing {
    margin: 1.25rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1rem;
}
.old-price {
    text-decoration: line-through;
    font-size: 1.2rem;
    opacity: 0.5;
}
.new-price {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--foundation-accent);
    letter-spacing: var(--foundation-tracking-tight);
}
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
}
.timer-block { text-align: center; }
.timer-value {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.7rem 0.85rem;
    border-radius: var(--foundation-radius-md);
    min-width: 72px;
    line-height: 1;
}
.timer-label {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 650;
}

/* =====================================================================
 * RATING BADGE
 * ===================================================================== */
.foundation-rating-badge {
    padding: 2.5rem var(--foundation-section-pad-x);
    background: var(--foundation-surface);
}
.foundation-rating-badge .rating-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem 1.75rem;
    background: #fff;
    border-radius: var(--foundation-radius-2xl);
    border: 1px solid var(--foundation-border);
    box-shadow: var(--foundation-shadow-sm);
}
.foundation-rating-badge h3 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.rating-display {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}
.text-center .rating-display { justify-content: center; }
.rating-number {
    font-size: clamp(2.75rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--foundation-dark);
}
.rating-stars {
    color: var(--foundation-accent);
    font-size: 1.35rem;
    letter-spacing: 0.08em;
}
.rating-count {
    color: var(--foundation-muted);
    font-size: 0.9rem;
    margin: 0.55rem 0 0;
}
.rating-tagline {
    max-width: 28rem;
    margin: 0.65rem auto 0;
    color: var(--foundation-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* =====================================================================
 * TRUST BADGES
 * ===================================================================== */
.foundation-trust-badges {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-surface);
}
.trust-badges-inner { max-width: 1000px; margin: 0 auto; }
.trust-badges-inner > h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 2.25rem;
    letter-spacing: var(--foundation-tracking-tight);
}
.trust-badges-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(var(--tb-cols, 3), 1fr);
}
.trust-badges--inline,
.trust-badges-grid.trust-badges--inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.trust-badge-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.35rem;
    background: #fff;
    border-radius: var(--foundation-radius-lg);
    border: 1px solid var(--foundation-border);
    box-shadow: var(--foundation-shadow-sm);
    transition: transform var(--foundation-transition), box-shadow var(--foundation-transition);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.trust-badge-item > * {
    min-width: 0;
}
.trust-badge-item > div:last-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}
.trust-badge-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--foundation-shadow-md);
}
.trust-badge-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.trust-badge-fallback {
    width: 40px;
    height: 40px;
    border-radius: var(--foundation-radius-md);
    background: var(--foundation-soft);
    color: var(--foundation-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}
.trust-badge-item strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.975rem;
}
.trust-badge-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--foundation-muted);
    line-height: 1.5;
}

/* =====================================================================
 * VIDEO EMBED
 * ===================================================================== */
.foundation-video-embed {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-surface, #fff);
}
.video-embed-inner {
    margin: 0 auto;
    text-align: center;
}
.video-embed-inner .f-section-title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 800;
}
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--foundation-radius-xl);
    overflow: hidden;
    box-shadow: var(--foundation-shadow-lg);
    background: #0f172a;
}
.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-container--html5 {
    background: #000;
}
.video-container--html5 .foundation-video-player,
.video-container video.foundation-video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
    background: #000;
}
.video-placeholder {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--foundation-radius-xl);
    background: linear-gradient(145deg, #0f172a 0%, var(--foundation-brand-dark, #1e293b) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #fff;
    overflow: hidden;
    box-shadow: var(--foundation-shadow-md);
}
.video-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}
.video-placeholder__play {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--foundation-primary) 90%, #fff);
    color: var(--foundation-on-primary, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.video-placeholder__hint {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}
/* =====================================================================
 * RICH CONTENT / FORM
 * ===================================================================== */
.foundation-content {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-surface, #fff);
}
.foundation-content .content-inner {
    max-width: var(--foundation-prose-max, 800px);
    margin: 0 auto;
}
.foundation-form {
    padding: var(--foundation-section-gap) var(--foundation-section-pad-x);
    background: var(--foundation-surface, #fff);
}
.form-inner { max-width: 560px; margin: 0 auto; }
.form-heading {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    margin: 0 0 0.65rem;
    text-align: center;
    letter-spacing: var(--foundation-tracking-tight);
}
.form-subheading {
    color: var(--foundation-muted);
    text-align: center;
    margin: 0 0 2rem;
}
.form-container {
    background: #fff;
    padding: clamp(1.75rem, 3vw, 2.35rem);
    border-radius: var(--foundation-radius-2xl);
    box-shadow: var(--foundation-shadow-md);
    border: 1px solid var(--foundation-border);
}
/* Form block uses same leadform markup as lead-form */
.form-container .leadform,
.foundation-form .leadform {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
}
.form-container .leadform input[type="text"],
.form-container .leadform input[type="email"],
.form-container .leadform input[type="tel"],
.foundation-form .leadform input[type="text"],
.foundation-form .leadform input[type="email"],
.foundation-form .leadform input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.85rem 1rem;
    min-height: 3rem;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--foundation-radius-md);
    font-size: 0.975rem;
    font-family: inherit;
    color: var(--foundation-dark);
    background: var(--foundation-light);
}
.form-container .leadform .iti,
.foundation-form .leadform .iti {
    width: 100% !important;
    display: block;
}
.form-subheading.foundation-prose,
.form-subheading {
    text-align: center !important;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* =====================================================================
 * SITE FOOTER
 * ===================================================================== */
.site-footer,
.f-site-footer,
footer.site-footer {
    background: var(--foundation-footer);
    color: #cbd5e1;
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}
.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color var(--foundation-transition), opacity var(--foundation-transition);
}
.site-footer a:hover {
    color: #fff;
    opacity: 1;
}
.site-footer h4,
.site-footer .wp-block-heading {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1rem;
}
.site-footer .wp-block-site-title a {
    color: #fff !important;
    font-weight: 800;
}
.site-footer .wp-block-separator {
    opacity: 0.15;
    margin: 2rem 0 1.25rem;
}

/* =====================================================================
 * LANDING PAGE / FULL-BLEED BLOCKS
 * ===================================================================== */
/* Footer stays flush under last section (no gap) */
.wp-site-blocks > footer,
.wp-site-blocks > .wp-block-template-part:last-child,
.wp-block-template-part:has(.f-site-footer),
.wp-block-template-part:has(.site-footer) {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

/* main sits right under sticky/absolute header — kill WP block gap (24px) */
.wp-site-blocks > main,
.wp-site-blocks > main.wp-block-group,
.wp-site-blocks > .landing-content,
main#wp--skip-link--target,
main.landing-content,
main.wp-block-group {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
}

.landing-content {
    display: block;
    /* Kill WP block gap / flow spacing between landing sections */
    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
}

/*
 * No white stripe between consecutive Foundation sections only.
 * (Do NOT zero margins on core WP paragraphs — they need their own rhythm.)
 */
.landing-content > section[class*="foundation-"],
.landing-content > .alignfull[class*="foundation-"],
.entry-content > .alignfull[class*="foundation-"],
.wp-block-post-content > .alignfull[class*="foundation-"],
.wp-block-post-content.is-layout-flow > .alignfull[class*="foundation-"],
.entry-content.is-layout-flow > .alignfull[class*="foundation-"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

section[class*="foundation-"],
.alignfull[class*="foundation-"] {
    margin: 0 !important;
    margin-block: 0 !important;
}

/* =====================================================================
 * CORE WP BLOCKS (paragraph / heading / list between Foundation sections)
 * Free Gutenberg blocks outside ACF sections would otherwise full-bleed.
 * Match .foundation-content (800px + section pad + prose voice).
 *
 * DOM variants:
 *   classic:  .landing-content > p.wp-block-paragraph
 *   FSE:      .landing-content > .wp-block-post-content > p.wp-block-paragraph
 * ===================================================================== */

/* Shared host for free-float content (classic + FSE) */
.landing-content > .wp-block-post-content,
.landing-content > .entry-content,
main.landing-content > .wp-block-post-content {
	/* Keep full-bleed for Foundation alignfull sections; constrain children below */
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

/* Width + horizontal rhythm — beat WP layout / block-library defaults */
.landing-content > :where(
	.wp-block-paragraph,
	p.wp-block-paragraph,
	p:not([class]),
	.wp-block-heading,
	h1.wp-block-heading,
	h2.wp-block-heading,
	h3.wp-block-heading,
	h4.wp-block-heading,
	.wp-block-list,
	ul.wp-block-list,
	ol.wp-block-list,
	.wp-block-quote,
	blockquote.wp-block-quote,
	.wp-block-image,
	.wp-block-separator,
	.wp-block-buttons,
	.wp-block-table,
	.wp-block-preformatted,
	.wp-block-code,
	.wp-block-verse,
	.wp-block-pullquote,
	.wp-block-group:not(.alignfull):not([class*="foundation-"])
),
.landing-content .wp-block-post-content > :where(
	.wp-block-paragraph,
	p.wp-block-paragraph,
	p:not([class]),
	.wp-block-heading,
	h1.wp-block-heading,
	h2.wp-block-heading,
	h3.wp-block-heading,
	h4.wp-block-heading,
	.wp-block-list,
	ul.wp-block-list,
	ol.wp-block-list,
	.wp-block-quote,
	blockquote.wp-block-quote,
	.wp-block-image,
	.wp-block-separator,
	.wp-block-buttons,
	.wp-block-table,
	.wp-block-preformatted,
	.wp-block-code,
	.wp-block-verse,
	.wp-block-pullquote,
	.wp-block-group:not(.alignfull):not([class*="foundation-"])
),
.entry-content > :where(
	.wp-block-paragraph,
	p.wp-block-paragraph,
	p:not([class]),
	.wp-block-heading,
	.wp-block-list,
	.wp-block-quote,
	.wp-block-image,
	.wp-block-buttons,
	.wp-block-group:not(.alignfull):not([class*="foundation-"])
),
.wp-block-post-content > :where(
	.wp-block-paragraph,
	p.wp-block-paragraph,
	p:not([class]),
	.wp-block-heading,
	.wp-block-list,
	.wp-block-quote,
	.wp-block-image,
	.wp-block-buttons,
	.wp-block-group:not(.alignfull):not([class*="foundation-"])
) {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: min(var(--foundation-prose-max), 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--foundation-section-pad-x) !important;
	padding-right: var(--foundation-section-pad-x) !important;
}

/* Never constrain full-bleed Foundation sections (they own their pad-x) */
.landing-content > [class*="foundation-"],
.landing-content .wp-block-post-content > [class*="foundation-"],
.landing-content .wp-block-post-content > .alignfull,
.entry-content > .alignfull,
.wp-block-post-content > .alignfull {
	max-width: none !important;
	width: 100% !important;
}

/*
 * Free-float body text (standalone Gutenberg paragraphs).
 * EVERY free p must look identical: same size, color, width, rhythm —
 * whether it sits alone, after another p, after a heading/list, or
 * between Foundation sections. Beat WP layout gap + browser defaults.
 */
.landing-content > .wp-block-paragraph,
.landing-content > p.wp-block-paragraph,
.landing-content > p:not([class]),
.landing-content .wp-block-post-content > .wp-block-paragraph,
.landing-content .wp-block-post-content > p.wp-block-paragraph,
.landing-content .wp-block-post-content > p:not([class]),
.landing-content .entry-content > .wp-block-paragraph,
.landing-content .entry-content > p.wp-block-paragraph,
.landing-content .entry-content > p:not([class]),
.entry-content > .wp-block-paragraph,
.entry-content > p.wp-block-paragraph,
.entry-content > p:not([class]),
.wp-block-post-content > .wp-block-paragraph,
.wp-block-post-content > p.wp-block-paragraph,
.wp-block-post-content > p:not([class]) {
	box-sizing: border-box !important;
	display: block !important;
	width: 100% !important;
	max-width: min(var(--foundation-prose-max), 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	/* Default stack gap — same for every free p (overridden only at section edges) */
	margin-top: 0 !important;
	margin-bottom: 1em !important;
	padding-left: var(--foundation-section-pad-x) !important;
	padding-right: var(--foundation-section-pad-x) !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	font-family: var(--foundation-font) !important;
	font-size: 1.0625rem !important; /* same as .foundation-prose / free lists */
	line-height: 1.7 !important;
	font-weight: 400 !important;
	color: var(--foundation-dark) !important;
	text-align: left !important;
	letter-spacing: normal !important;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* Editor alignment utilities still respected */
.landing-content .wp-block-post-content > .wp-block-paragraph.has-text-align-center,
.entry-content > .wp-block-paragraph.has-text-align-center,
.wp-block-post-content > .wp-block-paragraph.has-text-align-center {
	text-align: center !important;
}
.landing-content .wp-block-post-content > .wp-block-paragraph.has-text-align-right,
.entry-content > .wp-block-paragraph.has-text-align-right,
.wp-block-post-content > .wp-block-paragraph.has-text-align-right {
	text-align: right !important;
}

/* Drop-cap / odd font-size utilities from editor → keep free body uniform */
.landing-content .wp-block-post-content > .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter,
.wp-block-post-content > .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
	font-size: inherit !important;
	float: none !important;
	line-height: inherit !important;
	margin: 0 !important;
	padding: 0 !important;
}

/*
 * Core headings between sections.
 * Match foundation-content / .f-section-title voice — not browser default,
 * and not oversized hero scale. Beat theme.json element `h2` rules.
 */
.landing-content > .wp-block-heading,
.landing-content > :is(h1, h2, h3, h4).wp-block-heading,
.landing-content > :is(h1, h2, h3, h4):not([class*="foundation-"]),
.landing-content .wp-block-post-content > .wp-block-heading,
.landing-content .wp-block-post-content > :is(h1, h2, h3, h4).wp-block-heading,
.landing-content .entry-content > .wp-block-heading,
.landing-content .entry-content > :is(h1, h2, h3, h4).wp-block-heading,
.entry-content > .wp-block-heading,
.entry-content > :is(h1, h2, h3, h4).wp-block-heading,
.wp-block-post-content > .wp-block-heading,
.wp-block-post-content > :is(h1, h2, h3, h4).wp-block-heading {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: min(var(--foundation-prose-max), 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	/* Vertical rhythm comes from free-float stack rules above */
	margin-top: 0 !important;
	margin-bottom: 0.55em !important;
	padding-left: var(--foundation-section-pad-x) !important;
	padding-right: var(--foundation-section-pad-x) !important;
	font-family: var(--foundation-font) !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: var(--foundation-tracking-tight) !important;
	color: var(--foundation-dark) !important;
	text-align: left !important;
	text-wrap: balance;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: manual;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* Content-scale sizes (same family as .f-section-title / prose, constrained band) */
.landing-content > h1.wp-block-heading,
.landing-content > h1:not([class*="foundation-"]),
.landing-content .wp-block-post-content > h1.wp-block-heading,
.landing-content .entry-content > h1.wp-block-heading,
.entry-content > h1.wp-block-heading,
.wp-block-post-content > h1.wp-block-heading {
	font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem) !important;
	line-height: 1.12 !important;
}
.landing-content > h2.wp-block-heading,
.landing-content > h2:not([class*="foundation-"]),
.landing-content .wp-block-post-content > h2.wp-block-heading,
.landing-content .entry-content > h2.wp-block-heading,
.entry-content > h2.wp-block-heading,
.wp-block-post-content > h2.wp-block-heading {
	/* Like foundation-content section titles inside 800px — not full hero H2 */
	font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem) !important;
	line-height: 1.18 !important;
}
.landing-content > h3.wp-block-heading,
.landing-content > h3:not([class*="foundation-"]),
.landing-content .wp-block-post-content > h3.wp-block-heading,
.landing-content .entry-content > h3.wp-block-heading,
.entry-content > h3.wp-block-heading,
.wp-block-post-content > h3.wp-block-heading {
	font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem) !important;
	line-height: 1.28 !important;
	font-weight: 700 !important;
}
.landing-content > h4.wp-block-heading,
.landing-content .wp-block-post-content > h4.wp-block-heading,
.entry-content > h4.wp-block-heading,
.wp-block-post-content > h4.wp-block-heading {
	font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem) !important;
	line-height: 1.35 !important;
	font-weight: 700 !important;
}

/*
 * Free Gutenberg lists — match .foundation-prose ul/ol (discs, spacing, type).
 * WP block-library / layout often leaves them looking like plain text.
 */
.landing-content > .wp-block-list,
.landing-content > ul.wp-block-list,
.landing-content > ol.wp-block-list,
.landing-content > ul:not([class*="foundation-"]):not(.menu):not(.nav),
.landing-content > ol:not([class*="foundation-"]),
.landing-content .wp-block-post-content > .wp-block-list,
.landing-content .wp-block-post-content > ul.wp-block-list,
.landing-content .wp-block-post-content > ol.wp-block-list,
.landing-content .wp-block-post-content > ul:not([class*="foundation-"]):not(.menu),
.landing-content .wp-block-post-content > ol:not([class*="foundation-"]),
.landing-content .entry-content > .wp-block-list,
.landing-content .entry-content > ul.wp-block-list,
.landing-content .entry-content > ol.wp-block-list,
.entry-content > .wp-block-list,
.entry-content > ul.wp-block-list,
.entry-content > ol.wp-block-list,
.wp-block-post-content > .wp-block-list,
.wp-block-post-content > ul.wp-block-list,
.wp-block-post-content > ol.wp-block-list {
	box-sizing: border-box !important;
	display: block !important;
	width: 100% !important;
	max-width: min(var(--foundation-prose-max), 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	/* Vertical rhythm from free-float stack rules; keep modest defaults */
	margin-top: 0 !important;
	margin-bottom: 1em !important;
	/* pad-x for container + room for disc markers */
	padding-left: calc(var(--foundation-section-pad-x) + 1.35em) !important;
	padding-right: var(--foundation-section-pad-x) !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	font-family: var(--foundation-font) !important;
	font-size: 1.0625rem !important;
	line-height: 1.7 !important;
	font-weight: 400 !important;
	color: var(--foundation-dark) !important;
	text-align: left !important;
	list-style-position: outside !important;
	overflow-wrap: break-word;
}

.landing-content > ul.wp-block-list,
.landing-content > ul:not([class*="foundation-"]):not(.menu):not(.nav),
.landing-content .wp-block-post-content > ul.wp-block-list,
.landing-content .wp-block-post-content > ul:not([class*="foundation-"]):not(.menu),
.landing-content .entry-content > ul.wp-block-list,
.entry-content > ul.wp-block-list,
.wp-block-post-content > ul.wp-block-list {
	list-style-type: disc !important;
}

.landing-content > ol.wp-block-list,
.landing-content > ol:not([class*="foundation-"]),
.landing-content .wp-block-post-content > ol.wp-block-list,
.landing-content .wp-block-post-content > ol:not([class*="foundation-"]),
.landing-content .entry-content > ol.wp-block-list,
.entry-content > ol.wp-block-list,
.wp-block-post-content > ol.wp-block-list {
	list-style-type: decimal !important;
}

.landing-content > .wp-block-list > li,
.landing-content > ul.wp-block-list > li,
.landing-content > ol.wp-block-list > li,
.landing-content .wp-block-post-content > .wp-block-list > li,
.landing-content .wp-block-post-content > ul.wp-block-list > li,
.landing-content .wp-block-post-content > ol.wp-block-list > li,
.landing-content .entry-content > .wp-block-list > li,
.entry-content > .wp-block-list > li,
.wp-block-post-content > .wp-block-list > li,
.wp-block-post-content > ul.wp-block-list > li,
.wp-block-post-content > ol.wp-block-list > li {
	display: list-item !important;
	margin: 0.45em 0 !important;
	padding-left: 0.35em !important;
	font-size: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
	text-align: left !important;
	overflow-wrap: break-word;
}

/* Collapse empty list rows the block editor sometimes leaves between items */
.landing-content .wp-block-post-content > .wp-block-list > li:empty,
.landing-content .entry-content > .wp-block-list > li:empty,
.wp-block-post-content > .wp-block-list > li:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
}

/*
 * Free-float stack rhythm — MUST come after p/h2/ul base styles so margins win.
 * Consecutive free blocks share one gap; larger air only at Foundation edges.
 */
.landing-content > :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading,
	.wp-block-list, ul.wp-block-list, ol.wp-block-list,
	.wp-block-quote, blockquote.wp-block-quote
) + :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading,
	.wp-block-list, ul.wp-block-list, ol.wp-block-list,
	.wp-block-quote, blockquote.wp-block-quote
),
.landing-content .wp-block-post-content > :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading,
	.wp-block-list, ul.wp-block-list, ol.wp-block-list,
	.wp-block-quote, blockquote.wp-block-quote
) + :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading,
	.wp-block-list, ul.wp-block-list, ol.wp-block-list,
	.wp-block-quote, blockquote.wp-block-quote
),
.landing-content .entry-content > :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading,
	.wp-block-list, ul.wp-block-list, ol.wp-block-list
) + :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading,
	.wp-block-list, ul.wp-block-list, ol.wp-block-list
),
.entry-content > :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, .wp-block-list, ul.wp-block-list
) + :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, .wp-block-list, ul.wp-block-list
),
.wp-block-post-content > :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, .wp-block-list, ul.wp-block-list
) + :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, .wp-block-list, ul.wp-block-list
) {
	margin-top: 0.85em !important;
}

.landing-content .wp-block-post-content > :is(.wp-block-paragraph, p.wp-block-paragraph, p:not([class])) + :is(.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading),
.entry-content > :is(.wp-block-paragraph, p.wp-block-paragraph) + :is(.wp-block-heading, h2.wp-block-heading),
.wp-block-post-content > :is(.wp-block-paragraph, p.wp-block-paragraph) + :is(.wp-block-heading, h2.wp-block-heading) {
	margin-top: 1.35em !important;
}

.landing-content .wp-block-post-content > .wp-block-heading + :is(.wp-block-list, ul.wp-block-list, ol.wp-block-list),
.entry-content > .wp-block-heading + :is(.wp-block-list, ul.wp-block-list),
.wp-block-post-content > .wp-block-heading + :is(.wp-block-list, ul.wp-block-list) {
	margin-top: 0.4em !important;
}

.landing-content > section[class*="foundation-"] + :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, .wp-block-list, ul.wp-block-list, .wp-block-quote
),
.landing-content > .alignfull[class*="foundation-"] + :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, .wp-block-list, ul.wp-block-list
),
.landing-content .wp-block-post-content > section[class*="foundation-"] + :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading,
	.wp-block-list, ul.wp-block-list, ol.wp-block-list, .wp-block-quote
),
.landing-content .wp-block-post-content > .alignfull[class*="foundation-"] + :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, .wp-block-list, ul.wp-block-list
),
.entry-content > section[class*="foundation-"] + :is(.wp-block-paragraph, .wp-block-heading, .wp-block-list),
.wp-block-post-content > section[class*="foundation-"] + :is(.wp-block-paragraph, .wp-block-heading, .wp-block-list) {
	margin-top: clamp(2rem, 4vw, 3.25rem) !important;
}

.landing-content > :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, .wp-block-list, ul.wp-block-list, .wp-block-quote
):has(+ section[class*="foundation-"]),
.landing-content > :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, .wp-block-list
):has(+ .alignfull[class*="foundation-"]),
.landing-content .wp-block-post-content > :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, h2.wp-block-heading, .wp-block-list, ul.wp-block-list, .wp-block-quote
):has(+ section[class*="foundation-"]),
.landing-content .wp-block-post-content > :is(
	.wp-block-paragraph, p.wp-block-paragraph, p:not([class]),
	.wp-block-heading, .wp-block-list, ul.wp-block-list
):has(+ .alignfull[class*="foundation-"]),
.entry-content > :is(.wp-block-paragraph, .wp-block-heading, .wp-block-list):has(+ section[class*="foundation-"]),
.wp-block-post-content > :is(.wp-block-paragraph, .wp-block-heading, .wp-block-list):has(+ section[class*="foundation-"]) {
	margin-bottom: clamp(2rem, 4vw, 3.25rem) !important;
}

.landing-content > :is(.wp-block-paragraph, p.wp-block-paragraph, p:not([class]), .wp-block-heading):first-child,
.landing-content .wp-block-post-content > :is(.wp-block-paragraph, p.wp-block-paragraph, p:not([class]), .wp-block-heading):first-child,
.entry-content > :is(.wp-block-paragraph, .wp-block-heading):first-child,
.wp-block-post-content > :is(.wp-block-paragraph, .wp-block-heading):first-child {
	margin-top: clamp(1.75rem, 3.5vw, 2.75rem) !important;
}

.landing-content > :is(.wp-block-paragraph, p.wp-block-paragraph, p:not([class]), .wp-block-list, ul.wp-block-list):last-child,
.landing-content .wp-block-post-content > :is(.wp-block-paragraph, p.wp-block-paragraph, p:not([class]), .wp-block-list, ul.wp-block-list):last-child,
.entry-content > :is(.wp-block-paragraph, .wp-block-list):last-child,
.wp-block-post-content > :is(.wp-block-paragraph, .wp-block-list):last-child {
	margin-bottom: clamp(2rem, 4vw, 3.25rem) !important;
}

/* Quote */
.landing-content > .wp-block-quote,
.landing-content > blockquote.wp-block-quote,
.landing-content .wp-block-post-content > .wp-block-quote,
.landing-content .wp-block-post-content > blockquote.wp-block-quote {
	margin-top: 1.25em !important;
	margin-bottom: 1.25em !important;
	padding: 0.75em 0 0.75em 1.15em !important;
	border-left: 3px solid var(--foundation-primary);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--foundation-muted);
}

/* Separator */
.landing-content > .wp-block-separator,
.landing-content .wp-block-post-content > .wp-block-separator {
	max-width: min(12rem, 40%) !important;
	margin-block: 1.75rem !important;
	border: 0;
	border-top: 1px solid var(--foundation-border);
	opacity: 0.9;
}

/* Links inside free paragraphs → theme primary (JS still routes to form) */
.landing-content > .wp-block-paragraph a,
.landing-content .wp-block-post-content > .wp-block-paragraph a,
.entry-content > .wp-block-paragraph a,
.wp-block-post-content > .wp-block-paragraph a {
	color: var(--foundation-primary);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	word-break: break-word;
}

/* Free group wrapper */
.landing-content > .wp-block-group:not(.alignfull):not([class*="foundation-"]),
.landing-content .wp-block-post-content > .wp-block-group:not(.alignfull):not([class*="foundation-"]) {
	box-sizing: border-box;
	width: 100%;
	max-width: min(var(--foundation-prose-max), 100%) !important;
	margin-inline: auto !important;
	padding: clamp(1.25rem, 2.5vw, 2rem) var(--foundation-section-pad-x) !important;
}
.landing-content > .wp-block-group:not(.alignfull) > .wp-block-paragraph,
.landing-content .wp-block-post-content > .wp-block-group:not(.alignfull) > .wp-block-paragraph {
	max-width: none !important;
	padding-inline: 0 !important;
	margin-bottom: 1em !important;
}

/* Mobile: comfortable side gutters, full readable width */
@media (max-width: 700px) {
	.landing-content > :where(.wp-block-paragraph, p.wp-block-paragraph, p:not([class]), .wp-block-heading, .wp-block-list, .wp-block-quote),
	.landing-content .wp-block-post-content > :where(.wp-block-paragraph, p.wp-block-paragraph, p:not([class]), .wp-block-heading, .wp-block-list, .wp-block-quote),
	.landing-content .entry-content > :where(.wp-block-paragraph, .wp-block-heading, .wp-block-list),
	.entry-content > :where(.wp-block-paragraph, p.wp-block-paragraph, .wp-block-heading, .wp-block-list),
	.wp-block-post-content > :where(.wp-block-heading, h2.wp-block-heading, .wp-block-list, ul.wp-block-list) {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
		max-width: 100% !important;
	}
	.landing-content > .wp-block-list,
	.landing-content > ul.wp-block-list,
	.landing-content > ol.wp-block-list,
	.landing-content .wp-block-post-content > .wp-block-list,
	.landing-content .wp-block-post-content > ul.wp-block-list,
	.landing-content .wp-block-post-content > ol.wp-block-list,
	.landing-content .entry-content > .wp-block-list,
	.entry-content > ul.wp-block-list,
	.wp-block-post-content > ul.wp-block-list,
	.wp-block-post-content > ol.wp-block-list {
		padding-left: calc(1rem + 1.35em) !important;
	}
	.landing-content .wp-block-post-content > h2.wp-block-heading,
	.entry-content > h2.wp-block-heading,
	.wp-block-post-content > h2.wp-block-heading {
		font-size: clamp(1.35rem, 1.15rem + 2.2vw, 1.75rem) !important;
	}
}

/* Sections that were transparent (body showed through as a white stripe) */
.foundation-form,
.foundation-content,
.foundation-rating-badge,
.foundation-partner-logos,
.foundation-ticker {
    background-color: var(--foundation-surface, #fff);
}

/* Prevent constrained post-content from clipping section grids */
.entry-content > .alignfull,
.wp-block-post-content > .alignfull,
.landing-content .alignfull {
    max-width: none;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* Avoid horizontal scroll from 100vw hacks */
.wp-site-blocks {
    overflow-x: clip;
}

/* WP layout classes that inject gap */
.is-layout-flow:has(> [class*="foundation-"]),
.is-layout-constrained:has(> [class*="foundation-"]),
.wp-block-group.is-layout-flow:has(> [class*="foundation-"]),
.wp-block-group-is-layout-flow:has(> [class*="foundation-"]) {
    gap: 0 !important;
    row-gap: 0 !important;
}
/* Section headings that use bare h2 in some templates */
.foundation-steps .steps-inner > h2,
.foundation-partner-logos .partner-logos-inner > h2,
.foundation-trust-badges .trust-badges-inner > h2,
.foundation-ticker .ticker-inner > h2,
.foundation-guarantees .guarantees-inner > h2,
.foundation-pricing .pricing-inner > h2,
.foundation-blog-grid .blog-grid-inner > h2,
.foundation-testimonials-video .tv-inner > h2,
.foundation-pain-points .pain-points-inner > h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: var(--foundation-tracking-tight);
    margin: 0 0 0.75rem;
    text-align: center;
}
.foundation-guarantees .guarantees-inner > p,
.foundation-pain-points .pain-points-inner > h2 {
    text-align: center;
}
/* Grid minmax safety — never overflow parent */
.features-grid,
.fi-grid,
.steps-grid,
.testimonials-grid,
.guarantees-grid,
.trust-badges-grid,
.ticker-grid,
.pricing-grid,
.blog-grid-posts,
.stats-grid,
.tv-grid,
.pain-list,
.solution-list {
    width: 100%;
    min-width: 0;
}
.feature-card,
.fi-card,
.step-card,
.testimonial-card,
.ticker-card,
.stat-item,
.pricing-card,
.guarantee-card,
.trust-badge-item,
.pain-card,
.solution-card,
.tv-card,
.faq-item,
.hero-form-text,
.hero-image-text,
.cta-inner,
.lead-form-header,
.countdown-inner,
.rating-badge-inner {
    min-width: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

/* Section titles / long headings — wrap without ugly mid-word hyphens */
.f-section-title,
.hero-heading,
.hero-form-heading,
.stats-heading,
.faq-heading,
.testimonials-heading,
.comparison-heading,
.pricing-heading,
.pricing-inner > h2,
.pain-points-inner > h2,
.features-heading,
.steps-heading,
.guarantees-heading {
    overflow-wrap: break-word;
    word-break: normal;
    max-width: 100%;
    hyphens: manual;
}

/* =====================================================================
 * UNIFIED HEADING SCALE (h1 / h2 / h3) — expressive + fluid
 * Placed after section rules so tokens win without hunting every block.
 * ===================================================================== */

/* H1 — heroes / page openers */
.hero-heading,
.hero-form-heading,
.hero-form-text h1,
.hero-stats-text h1,
.hero-image-text h1,
.foundation-hero h1,
.foundation-hero-form h1,
.foundation-hero-stats h1,
.foundation-hero-image h1 {
    font-size: var(--foundation-h1) !important;
    font-weight: 800;
    line-height: var(--foundation-h1-lh);
    letter-spacing: var(--foundation-tracking-display);
    text-wrap: balance;
    margin-top: 0;
}

/* H2 — section titles across all blocks */
.f-section-title,
.features-heading,
.fi-inner > h2,
.steps-inner > h2,
.steps-heading,
.pricing-heading,
.pricing-inner > h2,
.pain-points-inner > h2,
.comparison-heading,
.testimonials-heading,
.tv-inner > h2,
.faq-heading,
.form-heading,
.lead-form-header h2,
.guarantees-inner > h2,
.guarantees-heading,
.trust-badges-inner > h2,
.blog-grid-inner > h2,
.partner-logos-inner h2,
.ticker-inner > h2,
.countdown-inner h2,
.stats-heading,
.video-embed-inner .f-section-title,
.foundation-cta h2,
.foundation-content .content-inner > h2,
.foundation-steps .steps-inner > h2,
.foundation-partner-logos .partner-logos-inner > h2,
.foundation-trust-badges .trust-badges-inner > h2,
.foundation-ticker .ticker-inner > h2,
.foundation-guarantees .guarantees-inner > h2,
.foundation-pricing .pricing-inner > h2,
.foundation-blog-grid .blog-grid-inner > h2,
.foundation-testimonials-video .tv-inner > h2,
.foundation-pain-points .pain-points-inner > h2 {
    font-size: var(--foundation-h2) !important;
    font-weight: 800;
    line-height: var(--foundation-h2-lh);
    letter-spacing: var(--foundation-tracking-tight);
    text-wrap: balance;
}

/* H3 — card / plan / step titles (expressive but secondary to H2) */
.feature-card h3,
.feature-title,
.fi-card h3,
.step-title,
.step-card h3,
.pricing-card h3,
.guarantee-card h3,
.tv-card h3,
.testimonial-card h3,
.pain-card strong,
.solution-card strong,
.trust-badge-item strong,
.foundation-features h3,
.foundation-features-image h3,
.foundation-steps h3,
.foundation-pricing h3,
.foundation-guarantees h3 {
    font-size: var(--foundation-h3);
    font-weight: 700;
    line-height: var(--foundation-h3-lh);
    letter-spacing: -0.02em;
}

/* User-inserted headings inside cards: same unified size as prose (2.2em) */

/* Sticky header clearance for in-page anchors & section screenshots */
.alignfull[class*="foundation-"],
[id="features"],
[id="steps"],
[id="reviews"],
[id="faq"],
[id="signup"],
[id="pricing"] {
    scroll-margin-top: 5.5rem;
}

/* =====================================================================
 * RICH TEXT (textarea / WYSIWYG: h2, ul, ol, p, a, …)
 * ===================================================================== */
.foundation-prose {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: inherit;
    /* Do NOT set text-align here — it overrides .text-center / section leads */
}
.foundation-prose > *:first-child { margin-top: 0; }
.foundation-prose > *:last-child { margin-bottom: 0; }

.foundation-prose p {
    margin: 0 0 0.85em;
    font-size: inherit;
    line-height: inherit;
}
.foundation-prose p:last-child { margin-bottom: 0; }

/*
 * User-inserted headings in ACF HTML (h1–h6) → one clear size.
 * 2.2em relative to prose base so it stays proportional in cards & leads.
 */
.foundation-prose h1,
.foundation-prose h2,
.foundation-prose h3,
.foundation-prose h4,
.foundation-prose h5,
.foundation-prose h6,
.foundation-prose--sm h1,
.foundation-prose--sm h2,
.foundation-prose--sm h3,
.foundation-prose--sm h4,
.foundation-prose--sm h5,
.foundation-prose--sm h6,
.foundation-prose--lead h1,
.foundation-prose--lead h2,
.foundation-prose--lead h3 {
    margin: 0.85em 0 0.4em;
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: var(--foundation-tracking-tight, -0.02em);
    color: inherit;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
    max-width: 100%;
}
.foundation-prose h1:first-child,
.foundation-prose h2:first-child,
.foundation-prose h3:first-child,
.foundation-prose h4:first-child,
.foundation-prose--sm h1:first-child,
.foundation-prose--sm h2:first-child,
.foundation-prose--sm h3:first-child { margin-top: 0; }

/*
 * Lists inside centered parents: keep markers with text.
 * Use a left-aligned block that is centered as a unit (not text-align on li).
 */
.foundation-prose ul,
.foundation-prose ol {
    margin: 0.65em 0 1em;
    padding-left: 1.4em;
    text-align: left;
    list-style-position: outside;
    max-width: 36rem;
}
.text-center .foundation-prose ul,
.text-center .foundation-prose ol,
.foundation-prose.text-center ul,
.foundation-prose.text-center ol,
.hero-content.text-center .foundation-prose ul,
.hero-content.text-center .foundation-prose ol,
.features-subheading ul,
.features-subheading ol,
.steps-subheading ul,
.steps-subheading ol,
.fi-sub ul,
.fi-sub ol,
.pricing-inner .pricing-sub ul,
.pricing-inner .pricing-sub ol {
    margin-left: auto;
    margin-right: auto;
    display: table; /* shrink-wrap + center under text-align:center parents */
    width: auto;
    max-width: min(36rem, 100%);
    text-align: left;
    list-style-position: outside;
}

.foundation-prose li {
    margin: 0.35em 0;
    padding-left: 0.25em;
    text-align: left;
}
.foundation-prose ul { list-style-type: disc; }
.foundation-prose ol { list-style-type: decimal; }
.foundation-prose li > ul,
.foundation-prose li > ol {
    margin-top: 0.35em;
    margin-bottom: 0.35em;
    display: block; /* nested lists not table */
    margin-left: 0;
    margin-right: 0;
}

.foundation-prose a {
    color: var(--foundation-primary, #0d9488);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    overflow-wrap: anywhere; /* long URLs only */
}
.foundation-prose a:hover { opacity: 0.9; }

.foundation-prose strong,
.foundation-prose b { font-weight: 700; }
.foundation-prose em,
.foundation-prose i { font-style: italic; }

.foundation-prose blockquote {
    margin: 1em 0;
    padding: 0.65em 0 0.65em 1em;
    border-left: 3px solid var(--foundation-primary, #0d9488);
    opacity: 0.95;
    text-align: left;
}
.foundation-prose hr {
    margin: 1.25em 0;
    border: 0;
    border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.foundation-prose table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 0.95em;
    display: block;
    overflow-x: auto;
}
.foundation-prose th,
.foundation-prose td {
    border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    padding: 0.5em 0.65em;
    text-align: left;
    vertical-align: top;
}
.foundation-prose img {
    max-width: 100%;
    height: auto;
}

/* Long unbroken tokens (URLs, German compounds) — only break when needed */
.foundation-prose,
.feature-text,
.feature-card,
.pricing-card,
.pain-card,
.solution-card,
.testimonial-card,
.step-card {
    overflow-wrap: break-word;
    word-break: normal;
}
.feature-card a,
.pricing-card a,
.foundation-prose a {
    overflow-wrap: anywhere;
}

/* Lead / subheading density inside heroes & sections */
.foundation-prose--lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.6;
    opacity: 0.92;
}
.foundation-prose--lead p { font-size: inherit; }
.foundation-prose--lead h2 { font-size: 1.2em; }
.foundation-prose--lead h3 { font-size: 1.1em; }

/*
 * Section intro alignment (one rule for all blocks)
 * Headings + lead prose: center. Lists under lead: centered as a unit, text left.
 * Card bodies: always left.
 */
.features-heading,
.steps-inner > h2,
.fi-inner > h2,
.pricing-heading,
.pricing-inner > h2,
.pain-points-inner > h2,
.comparison-heading,
.testimonials-heading,
.guarantees-inner > h2,
.trust-badges-inner > h2,
.form-heading,
.countdown-inner h2,
.faq-heading,
.lead-form-header h2,
.foundation-cta h2,
.foundation-content .content-inner > h2,
.stats-heading,
.blog-grid-inner > h2 {
    text-align: center;
}

.foundation-prose.text-center,
.foundation-prose--lead.text-center,
.features-subheading,
.steps-subheading,
.fi-sub,
.pricing-sub,
.form-subheading,
.hero-subheading,
.hero-form-subheading,
.hero-image-sub,
.hero-stats-text .foundation-prose,
.lead-form-header .foundation-prose,
.countdown-inner .foundation-prose,
.cta-text.foundation-prose {
    text-align: center !important;
}

/* Card / answer bodies: left (except steps cards — those stay centered) */
.feature-card .foundation-prose,
.feature-text,
.fi-card .foundation-prose,
.fi-card h3,
.pricing-card,
.pricing-card .foundation-prose,
.pain-card .foundation-prose,
.solution-card .foundation-prose,
.testimonial-card .foundation-prose,
.testimonial-text,
.tv-card .foundation-prose,
.faq-answer-body,
.guarantee-card .foundation-prose,
.trust-badge-item .foundation-prose,
.foundation-content-body {
    text-align: left !important;
}
/* Steps: number + title + body all centered as a unit */
.step-card,
.step-card .step-title,
.step-card .foundation-prose,
.step-card .step-text {
    text-align: center !important;
}
.step-card .foundation-prose ul,
.step-card .foundation-prose ol {
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Compact card body text — nested h2 is a card subhead, not a page title */
.foundation-prose--sm {
    font-size: 0.95rem;
    line-height: 1.55;
}
.foundation-prose--sm h1,
.foundation-prose--sm h2 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.4em;
    letter-spacing: -0.01em;
}
.foundation-prose--sm h3,
.foundation-prose--sm h4 {
    font-size: 0.98rem;
    font-weight: 650;
    margin: 0.65em 0 0.35em;
}
.foundation-prose--sm ul,
.foundation-prose--sm ol {
    margin: 0.5em 0 0.75em;
    max-width: 100%;
    display: block;
    margin-left: 0;
    margin-right: 0;
}
.foundation-prose--sm li { margin: 0.25em 0; }

/* On dark bands (hero, CTA dark, footer-adjacent) */
.foundation-prose--on-dark a {
    color: #fff;
    text-decoration: underline;
}
.is-dark .foundation-prose a,
[class*="--dark"] .foundation-prose a,
.foundation-cta.is-dark .foundation-prose a,
.hero-form-text .foundation-prose a {
    color: inherit;
    text-decoration: underline;
    opacity: 0.95;
}
.blog-grid-thumb--empty {
    display: block;
    height: 160px;
    background: linear-gradient(135deg, var(--foundation-light), var(--foundation-soft));
}
.blog-grid-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* =====================================================================
 * RESPONSIVE
 * ===================================================================== */

/* Grid children must shrink; prevent page-wide horizontal scroll */
.features-grid > *,
.fi-grid > *,
.steps-grid > *,
.guarantees-grid > *,
.trust-badges-grid > *,
.pricing-grid > *,
.testimonials-grid > *,
.tv-grid > *,
.stats-grid > *,
.ticker-grid > *,
.blog-grid-posts > *,
.pain-solution-grid > *,
.comparison-row > * {
    min-width: 0;
    max-width: 100%;
}

html, body {
    overflow-x: clip;
    max-width: 100%;
}

/* ----- Tablet / small laptop: max 2 columns (never squeeze 3× ~100px cards) ----- */
@media (max-width: 1024px) {
    .hero-form-content:not(.stacked) {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    .hero-form-content.form-left {
        grid-template-columns: 1fr;
    }
    .hero-form-content.form-left .hero-form-text,
    .hero-form-content.form-left .hero-form-form {
        order: unset;
    }
    .hero-form-form {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .hero-image-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-image-inner.img-left .hero-image-text,
    .hero-image-inner.img-left .hero-image-img {
        order: unset;
    }
    .hero-image-img { max-width: 480px; margin: 0 auto; width: 100%; }
    .pain-solution-grid.cols-2 { grid-template-columns: 1fr; }
    .pricing-card.is-highlighted { transform: none; }

    /* Force ≤2 cols — beat any data-count / cols-N / CSS var rules */
    .features-grid,
    .features-grid.cols-1,
    .features-grid.cols-2,
    .features-grid.cols-3,
    .features-grid.cols-4,
    .features-grid[data-count],
    .fi-grid,
    .fi-grid[data-count],
    .testimonials-grid,
    .testimonials-grid.cols-2,
    .testimonials-grid.cols-3,
    .testimonials-grid[data-count],
    .steps-grid,
    .steps-horizontal,
    .steps-horizontal[data-count],
    .guarantees-grid,
    .guarantees-grid[data-count],
    .trust-badges-grid,
    .trust-badges-grid[data-count],
    .pricing-grid,
    .pricing-grid.cols-2,
    .pricing-grid.cols-3,
    .pricing-grid.cols-4,
    .pricing-grid[data-count],
    .tv-grid,
    .tv-grid.cols-2,
    .tv-grid.cols-3,
    .tv-grid[data-count],
    .blog-grid-posts,
    .blog-grid-posts[data-count],
    .ticker-grid,
    .stats-grid.cols-4,
    .stats-grid.cols-5,
    .stats-grid.cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* Single-item grids stay one column */
    .features-grid.cols-1,
    .features-grid[data-count="1"],
    .testimonials-grid.cols-1,
    .pricing-grid[data-count="1"] {
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: 420px;
        margin-inline: auto;
    }

    .stats-grid.cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* ----- Phone: single column stack (≤700px — leave 701–1024 as 2-col tablet) ----- */
@media (max-width: 700px) {
    .features-grid,
    .features-grid.cols-1,
    .features-grid.cols-2,
    .features-grid.cols-3,
    .features-grid.cols-4,
    .features-grid[data-count],
    .fi-grid,
    .fi-grid[data-count],
    .testimonials-grid,
    .testimonials-grid.cols-1,
    .testimonials-grid.cols-2,
    .testimonials-grid.cols-3,
    .testimonials-grid[data-count],
    .steps-grid,
    .steps-horizontal,
    .steps-horizontal[data-count],
    .guarantees-grid,
    .guarantees-grid[data-count],
    .trust-badges-grid,
    .trust-badges-grid[data-count],
    .pricing-grid,
    .pricing-grid.cols-2,
    .pricing-grid.cols-3,
    .pricing-grid.cols-4,
    .pricing-grid[data-count],
    .tv-grid,
    .tv-grid.cols-2,
    .tv-grid.cols-3,
    .tv-grid[data-count],
    .blog-grid-posts,
    .blog-grid-posts[data-count],
    .ticker-grid,
    .stats-grid,
    .stats-grid.cols-2,
    .stats-grid.cols-3,
    .stats-grid.cols-4,
    .stats-grid.cols-5,
    .stats-grid.cols-6,
    .pain-solution-grid,
    .pain-solution-grid.cols-2 {
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: none;
        margin-inline: 0;
    }

    .hero-stats-row {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        padding: 1.35rem 1.25rem;
    }
    .hero-ctas,
    .hero-image-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-ctas .btn,
    .hero-image-ctas .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
    .countdown-timer {
        gap: 0.4rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .timer-value {
        min-width: 52px;
        font-size: 1.25rem;
        padding: 0.45rem 0.5rem;
    }

    /* Comparison: stack each row as a card (no 600px min-width horizontal scroll) */
    .comparison-table {
        min-width: 0 !important;
        width: 100%;
    }
    .comparison-row {
        flex-direction: column;
        border-bottom: 1px solid var(--foundation-border);
    }
    .comparison-label {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--foundation-border);
        font-weight: 700;
        padding: 0.85rem 1rem;
    }
    .comparison-cell {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
        border-top: 1px solid color-mix(in srgb, var(--foundation-border) 60%, transparent);
    }
    .comparison-cell.is-highlighted {
        border-left: 3px solid var(--foundation-primary);
    }

    /* Section padding on phones */
    .alignfull[class*="foundation-"] {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Buttons / CTAs don't force overflow */
    .btn {
        white-space: normal;
        max-width: 100%;
    }

    /* Header: keep brand + CTA usable */
    .f-site-header__inner {
        gap: 0.5rem;
        min-height: 56px;
    }
    .f-brand__name {
        max-width: 40vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Pricing cards full width */
    .pricing-card,
    .feature-card,
    .step-card,
    .testimonial-card,
    .guarantee-card,
    .trust-badge-item {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .stats-grid,
    .stats-grid.cols-2,
    .stats-grid.cols-3,
    .stats-grid.cols-4 {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    /* Fluid clamp already floors sizes — only refine rhythm on tiny screens */
    .hero-heading,
    .hero-form-heading,
    .hero-stats-text h1,
    .hero-image-text h1 {
        line-height: 1.08;
    }
    .f-section-title,
    .features-heading,
    .pricing-heading,
    .comparison-heading,
    .steps-inner > h2,
    .fi-inner > h2 {
        line-height: 1.14;
    }
    .foundation-prose--lead {
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
