/* Animated routing background — used in hero and solution sections.
 * The SVG is self-contained (animations inside the file), loaded as <img>.
 * Disabled on mobile and reduced-motion.
 */

.routing-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    isolation: isolate;
}

.routing-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 0% 0%,
        rgba(115, 196, 75, 0.10) 0%,
        transparent 60%),
        linear-gradient(180deg,
        transparent 0%,
        var(--color-surface) 90%);
    pointer-events: none;
    z-index: 1;
}

.routing-bg__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
}

/* Hide animated background on small screens to save perf. */
@media (max-width: 767px) {
    .routing-bg__img { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .routing-bg__img { display: none; }
}
