/* Minimal footer only (templates/footer.html) */
.footer .cta {
    --lattice-cyan: oklch(75% 0.13 220);
    --lattice-violet: oklch(72% 0.11 296);
    --lattice-teal: oklch(78% 0.1 185);
    padding: 0;
    margin: 0;
    background: rgb(18, 23, 27) !important;
    background-image:
        radial-gradient(circle, oklch(32% 0.06 220 / 0.4) 0%, transparent 60%),
        radial-gradient(circle, oklch(30% 0.05 295 / 0.35) 0%, transparent 60%) !important;
    background-size: 900px 500px, 900px 500px !important;
    background-position: calc(100% + 320px) -220px, -320px calc(100% + 220px) !important;
    background-repeat: no-repeat, no-repeat !important;
    border-top: 1px solid rgba(188, 210, 236, 0.2);
}

.footer .footer-shell {
    width: 100%;
    position: relative;
    display: block;
    overflow: hidden;
    padding: 1.1rem 0 0.75rem;
}

.footer .footer-content-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
}

.footer .footer-lattice {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.62;
}

.footer .footer-lattice .hero-lattice-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer .footer-lattice .lattice-edges line {
    stroke: color-mix(in oklab, var(--lattice-cyan) 34%, #9ca3af 66%);
    stroke-opacity: 0.14;
    stroke-width: 1.1;
}

.footer .footer-lattice .lattice-nodes circle {
    fill: color-mix(in oklab, var(--lattice-cyan) 28%, #cbd5e1 72%);
    fill-opacity: 0.42;
}

.footer .footer-lattice .lattice-node-flashes circle {
    opacity: 0;
}

.footer .footer-minimal {
    width: 100%;
    margin: 0;
    padding: 0 1rem 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    color: #d4dbe6;
    position: relative;
    z-index: 2;
}

.footer .footer-cta-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 2.75rem auto 4.25rem;
    padding: 2rem 2.8rem 1.9rem;
    /* Fade radial center: near the left edge of the card */
    --footer-cta-fade-x: 6%;
    border-radius: 22px;
    border: 1px solid rgba(177, 192, 211, 0.4);
    background: #f4f6fa;
    overflow: hidden;
    box-shadow: 0 24px 52px -30px rgba(2, 6, 23, 0.56);
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
}

.footer .footer-cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
        ellipse 91% 131% at var(--footer-cta-fade-x) 58%,
        rgba(244, 246, 250, 0.99) 0%,
        rgba(244, 246, 250, 0.94) 14%,
        rgba(244, 246, 250, 0.82) 28%,
        rgba(244, 246, 250, 0.62) 44%,
        rgba(244, 246, 250, 0.38) 60%,
        rgba(244, 246, 250, 0.18) 76%,
        rgba(244, 246, 250, 0.06) 90%,
        rgba(244, 246, 250, 0) 100%
    );
}

.footer .footer-cta-panel .cta-content {
    max-width: 640px;
    margin: 0;
    position: relative;
    z-index: 2;
}

.footer .footer-cta-panel .cta-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 0 1.45rem;
    padding: 0.44rem 0.95rem;
    width: fit-content;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    line-height: 1.2;
    font-family: var(--hero-content-font);
    color: #6b7280;
    border: 1px solid rgba(15, 15, 18, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
}

.footer .footer-cta-panel .cta-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22a8ff;
    box-shadow: 0 0 0 1px rgba(34, 168, 255, 0.3), 0 0 16px rgba(34, 168, 255, 0.72);
    animation: heroStatusDot 1.9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.footer .footer-cta-panel .cta-content h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(28px, 3.9vw, 44px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.02em;
    text-align: left;
    color: #11171d;
    max-width: 54rem;
    display: block;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.footer #footer-cta-title .fhe-tech-hero__title-primary,
.footer #footer-cta-title .fhe-tech-hero__title-secondary {
    display: block;
}

.footer #footer-cta-title .fhe-tech-hero__title-primary {
    color: #11171d;
}

.footer #footer-cta-title .fhe-tech-hero__title-secondary {
    color: #737983;
}

.footer .footer-cta-panel .cta-buttons {
    justify-content: flex-start;
    margin-top: 0.3rem;
    position: relative;
    z-index: 2;
}

.footer .footer-cta-panel .cta-btn-primary {
    border-color: rgba(16, 24, 40, 0.18);
    background-color: #0b1220;
    color: #ffffff;
}

.footer .footer-cta-panel .cta-btn-primary:hover {
    background-color: #17233a;
}

.footer .footer-cta-panel .cta-btn-secondary {
    border: 1px solid rgba(15, 23, 42, 0.2);
    background: rgba(255, 255, 255, 0.74);
    color: #0f172a;
    box-shadow: none;
}

.footer .footer-cta-panel .cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.92);
    color: #020617;
}

.footer .footer-cta-panel .footer-lattice {
    opacity: 0.58;
    /* hero-lattice.css radial mask is for the platform hero; here it reads as a stray center fade */
    mask-image: none;
    -webkit-mask-image: none;
}

.footer .footer-cta-panel .footer-lattice::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse 104% 141% at var(--footer-cta-fade-x) 60%,
        rgba(244, 246, 250, 0.92) 0%,
        rgba(244, 246, 250, 0.78) 22%,
        rgba(244, 246, 250, 0.55) 40%,
        rgba(244, 246, 250, 0.32) 58%,
        rgba(244, 246, 250, 0.14) 76%,
        rgba(244, 246, 250, 0.05) 90%,
        rgba(244, 246, 250, 0) 100%
    );
}

.footer .footer-cta-panel .footer-lattice .lattice-edges line {
    stroke-opacity: 0.4;
}

.footer .footer-cta-panel .footer-lattice .lattice-nodes circle {
    fill-opacity: 0.62;
}

.footer .footer-copyright,
.footer .footer-legal {
    margin: 0;
    color: inherit;
    align-self: flex-end;
}

.footer .footer-brand {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .logo-link {
    display: inline-flex;
    align-items: center;
}

.footer .logo-img {
    height: 16px;
    width: auto;
    display: block;
}

.footer .footer-legal .footer-legal-sep {
    display: inline-block;
    margin-inline: 0.75rem;
    user-select: none;
}

.footer .footer-legal a {
    color: inherit;
    text-decoration: none;
}

.footer .footer-legal a:hover {
    text-decoration: underline;
}
