/* =========================================================
   DockFlow global footer — authoritative runtime implementation
   v1.0.117
   ========================================================= */

/*
 * The live site previously used a database-stored Divi Theme Builder footer.
 * The plugin now renders the canonical footer from wp_footer, so theme-owned
 * footer surfaces are intentionally suppressed. This removes the stale
 * Platform / Solutions / Growth footer without requiring a Divi edit.
 */
.et-l--footer,
footer#main-footer,
#main-footer {
    display: none !important;
}

.df-site-footer-shortcode-marker {
    display: none !important;
}

.df-site-footer,
.df-site-footer * {
    box-sizing: border-box;
}

.df-site-footer {
    --df-footer-green: #2bb673;
    --df-footer-green-bright: #74fe94;
    --df-footer-green-soft: #8cf8aa;
    --df-footer-text: #f5f8f5;
    --df-footer-muted: #9ca59e;
    --df-footer-line: rgba(255, 255, 255, .09);
    --df-footer-content-max: 1400px;
    position: relative;
    z-index: 1;
    isolation: isolate;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: #050706;
    color: var(--df-footer-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.df-site-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    z-index: 1;
    width: min(720px, 72vw);
    height: 1px;
    transform: translateX(-50%);
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(43, 182, 115, .42), transparent);
}

.df-site-footer-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 10% -8%, rgba(43, 182, 115, .065), transparent 34%),
        linear-gradient(180deg, #080b09 0%, #050706 43%, #030403 100%);
}

.df-site-footer-inner {
    width: min(calc(100% - 64px), var(--df-footer-content-max));
    margin: 0 auto;
    padding: clamp(68px, 5vw, 86px) 0 30px;
}

.df-site-footer-main {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 2.18fr);
    gap: clamp(70px, 8vw, 132px);
    align-items: start;
}

.df-site-footer-brand {
    max-width: 390px;
}

.df-site-footer-logo {
    display: inline-flex;
    width: 180px;
    max-width: 100%;
    align-items: center;
    text-decoration: none;
}

.df-site-footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.df-site-footer-copy {
    max-width: 370px;
    margin: 24px 0 0;
    color: var(--df-footer-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.018em;
    line-height: 1.64;
}

.df-site-footer-brand-cta {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    margin-top: 23px;
    color: var(--df-footer-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.012em;
    line-height: 1;
    text-decoration: none;
    transition: color 160ms ease;
}

.df-site-footer-brand-cta svg,
.df-site-footer-link--arrow svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 170ms ease;
}

.df-site-footer-brand-cta:hover,
.df-site-footer-brand-cta:focus-visible {
    color: var(--df-footer-green-soft);
}

.df-site-footer-brand-cta:hover svg,
.df-site-footer-brand-cta:focus-visible svg,
.df-site-footer-link--arrow:hover svg,
.df-site-footer-link--arrow:focus-visible svg {
    transform: translateX(3px);
}

.df-site-footer-nav {
    display: grid;
    grid-template-columns: 1.08fr 1.16fr .78fr .74fr;
    gap: clamp(28px, 3vw, 48px);
    align-items: start;
}

.df-site-footer-column {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.df-site-footer-column-title {
    margin: 0 0 20px;
    color: rgba(245, 248, 245, .48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .145em;
    line-height: 1.2;
    text-transform: uppercase;
}

.df-site-footer-toggle {
    display: none;
}

.df-site-footer-panel,
.df-site-footer-panel-inner {
    min-width: 0;
}

.df-site-footer-menu {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.df-site-footer-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.df-site-footer-link {
    display: inline-flex;
    min-height: 20px;
    align-items: center;
    gap: 7px;
    color: #bac2bc;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.012em;
    line-height: 1.38;
    text-decoration: none;
    transition: color 160ms ease;
}

.df-site-footer-link:hover,
.df-site-footer-link:focus-visible {
    color: var(--df-footer-text);
}

.df-site-footer-link--accent {
    margin-top: 2px;
    color: rgba(140, 248, 170, .88);
    font-weight: 650;
}

.df-site-footer-link--accent:hover,
.df-site-footer-link--accent:focus-visible {
    color: var(--df-footer-green-bright);
}

.df-site-footer-bottom {
    display: flex;
    min-height: 53px;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-top: clamp(54px, 5.2vw, 76px);
    padding-top: 22px;
    border-top: 1px solid var(--df-footer-line);
}

.df-site-footer-bottom p {
    margin: 0;
    color: rgba(156, 165, 158, .7);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -.005em;
    line-height: 1.4;
}

.df-site-footer-utility {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}

.df-site-footer-utility a {
    color: rgba(156, 165, 158, .78);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: color 160ms ease;
}

.df-site-footer-utility a:hover,
.df-site-footer-utility a:focus-visible {
    color: var(--df-footer-text);
}

.df-site-footer a:focus-visible,
.df-site-footer button:focus-visible {
    outline: 2px solid var(--df-footer-green-bright);
    outline-offset: 4px;
}

@media (max-width: 1180px) {
    .df-site-footer-main {
        grid-template-columns: minmax(250px, .7fr) minmax(0, 1.7fr);
        gap: clamp(46px, 5vw, 72px);
    }

    .df-site-footer-nav {
        gap: 26px;
    }
}

@media (max-width: 1024px) {
    .df-site-footer-inner {
        width: min(calc(100% - 48px), var(--df-footer-content-max));
    }

    .df-site-footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .df-site-footer-brand {
        max-width: 520px;
    }

    .df-site-footer-copy {
        max-width: 470px;
    }
}

@media (max-width: 820px) {
    .df-site-footer-inner {
        padding: 58px 0 24px;
    }

    .df-site-footer-main {
        gap: 42px;
    }

    .df-site-footer-logo {
        width: 166px;
    }

    .df-site-footer-copy {
        margin-top: 20px;
        font-size: 13.5px;
        line-height: 1.62;
    }

    .df-site-footer-brand-cta {
        margin-top: 18px;
    }

    .df-site-footer-nav {
        display: block;
        border-top: 1px solid var(--df-footer-line);
    }

    .df-site-footer-column {
        border-bottom: 1px solid var(--df-footer-line);
    }

    .df-site-footer-column-title {
        display: flex;
        min-height: 48px;
        align-items: center;
        margin: 0;
        color: rgba(245, 248, 245, .58);
    }

    .df-site-footer.is-mobile-accordion .df-site-footer-column-title {
        display: none;
    }

    .df-site-footer-toggle {
        width: 100%;
        min-height: 58px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--df-footer-text);
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        font: inherit;
        text-align: left;
    }

    .df-site-footer-toggle span {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: -.01em;
    }

    .df-site-footer-toggle svg {
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
        fill: none;
        stroke: rgba(245, 248, 245, .58);
        stroke-width: 1.55;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 180ms ease, stroke 160ms ease;
    }

    .df-site-footer.is-mobile-accordion .df-site-footer-toggle {
        display: flex;
    }

    .df-site-footer.is-mobile-accordion .df-site-footer-panel {
        display: grid;
        grid-template-rows: 0fr;
        visibility: hidden;
        transition: grid-template-rows 210ms ease, visibility 210ms step-end;
    }

    .df-site-footer.is-mobile-accordion .df-site-footer-panel-inner {
        overflow: hidden;
    }

    .df-site-footer.is-mobile-accordion .df-site-footer-column.is-open .df-site-footer-panel {
        grid-template-rows: 1fr;
        visibility: visible;
        transition: grid-template-rows 210ms ease, visibility 0s step-start;
    }

    .df-site-footer.is-mobile-accordion .df-site-footer-column.is-open .df-site-footer-toggle svg {
        transform: rotate(180deg);
        stroke: var(--df-footer-green-soft);
    }

    .df-site-footer-menu {
        gap: 0;
        padding: 0 0 17px;
    }

    .df-site-footer-link {
        width: 100%;
        min-height: 39px;
        padding: 7px 0;
        font-size: 13px;
    }

    .df-site-footer-link--accent {
        margin-top: 1px;
    }

    .df-site-footer-bottom {
        display: grid;
        min-height: 0;
        gap: 13px;
        align-items: start;
        margin-top: 38px;
        padding-top: 20px;
    }

    .df-site-footer-utility {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .df-site-footer-inner {
        width: min(calc(100% - 32px), var(--df-footer-content-max));
    }
}

@media (max-width: 560px) {
    .df-site-footer-inner {
        width: calc(100% - 28px);
        padding-top: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .df-site-footer *,
    .df-site-footer *::before,
    .df-site-footer *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* DockFlow Guest Companion owns its own footer. Never render the public marketing footer inside it. */
body.dfb-guest-page .df-site-footer {
    display: none !important;
}
