/* Animation adapted from https://eterconnect.com/ and used as the shared decorative page background. */
.brand-animation {
            color-scheme: dark;
            --bg-deep: #04050b;
            --bg-mid: #070a18;
            --glow-blue: rgba(70, 120, 255, 0.34);
            --glow-cyan: rgba(0, 224, 255, 0.22);
            --glow-violet: rgba(142, 70, 255, 0.30);
            --glow-magenta: rgba(255, 54, 190, 0.16);
        }

        .brand-animation {
            position: fixed;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            width: 100%;
            height: 100dvh;
            container-type: size;
            min-height: 0;
            isolation: isolate;
            overflow: hidden;
            background:
                radial-gradient(circle at 50% 50%, rgba(14, 22, 49, 0.78) 0%, rgba(7, 10, 24, 0.56) 32%, rgba(4, 5, 11, 0.96) 78%),
                linear-gradient(135deg, #04050b 0%, #080b18 46%, #050611 100%);
        }

        .brand-mesh {
            position: absolute;
            inset: -25%;
            z-index: -5;
            filter: blur(28px) saturate(135%);
            opacity: 0.94;
            transform: translateZ(0);
        }

        .brand-mesh::before,
        .brand-mesh::after {
            content: "";
            position: absolute;
            inset: 0;
            background-repeat: no-repeat;
            will-change: transform;
        }

        .brand-mesh::before {
            background:
                radial-gradient(circle at 22% 30%, var(--glow-blue) 0%, transparent 26%),
                radial-gradient(circle at 78% 27%, var(--glow-violet) 0%, transparent 25%),
                radial-gradient(circle at 72% 76%, var(--glow-cyan) 0%, transparent 27%),
                radial-gradient(circle at 30% 76%, var(--glow-magenta) 0%, transparent 24%);
            animation: meshDriftA 18s ease-in-out infinite alternate;
        }

        .brand-mesh::after {
            background:
                radial-gradient(circle at 54% 15%, rgba(0, 192, 255, 0.22) 0%, transparent 22%),
                radial-gradient(circle at 87% 55%, rgba(117, 55, 255, 0.24) 0%, transparent 24%),
                radial-gradient(circle at 44% 88%, rgba(20, 101, 255, 0.28) 0%, transparent 26%);
            animation: meshDriftB 23s ease-in-out infinite alternate-reverse;
        }

        .brand-aurora {
            position: absolute;
            inset: -30%;
            z-index: -4;
            background:
                conic-gradient(
                    from 180deg at 50% 50%,
                    rgba(0, 140, 255, 0.00) 0deg,
                    rgba(0, 140, 255, 0.11) 42deg,
                    rgba(119, 49, 255, 0.09) 92deg,
                    rgba(255, 35, 191, 0.06) 138deg,
                    rgba(0, 228, 255, 0.10) 215deg,
                    rgba(0, 140, 255, 0.00) 360deg
                );
            filter: blur(55px);
            opacity: 0.86;
            animation: auroraRotate 34s linear infinite;
        }

        .brand-vignette {
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
            background:
                radial-gradient(circle at center, transparent 0%, transparent 35%, rgba(3, 4, 9, 0.20) 62%, rgba(3, 4, 9, 0.74) 100%),
                linear-gradient(to bottom, rgba(2, 3, 8, 0.18), transparent 18%, transparent 82%, rgba(2, 3, 8, 0.28));
        }

        .brand-noise {
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            opacity: 0.055;
            mix-blend-mode: soft-light;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
        }

        #brand-network {
            position: absolute;
            inset: 0;
            z-index: -1;
            width: 100%;
            height: 100%;
            opacity: 0.82;
        }

        .brand-pulse-field {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 0;
            width: min(56cqw, 760px);
            aspect-ratio: 1;
            transform: translate(-50%, -50%);
            pointer-events: none;
        }

        .brand-pulse-field::before,
        .brand-pulse-field::after {
            content: "";
            position: absolute;
            inset: 13%;
            border-radius: 50%;
            border: 1px solid rgba(136, 184, 255, 0.11);
            box-shadow:
                0 0 40px rgba(72, 113, 255, 0.08),
                inset 0 0 40px rgba(108, 72, 255, 0.05);
            animation: breatheRing 7s ease-in-out infinite;
        }

        .brand-pulse-field::after {
            inset: 27%;
            border-color: rgba(108, 230, 255, 0.10);
            animation-delay: -3.5s;
        }

        

        

        

        

        .brand-orb {
            position: absolute;
            z-index: 0;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.8);
            box-shadow:
                0 0 8px rgba(255, 255, 255, 0.9),
                0 0 18px rgba(70, 154, 255, 0.8),
                0 0 34px rgba(80, 79, 255, 0.45);
            opacity: 0;
            pointer-events: none;
            animation: orbTravel var(--duration) linear infinite;
            animation-delay: var(--delay);
        }

        .brand-orb-1 { --x1: 8cqw; --y1: 22cqh; --x2: 92cqw; --y2: 68cqh; --duration: 10s; --delay: -1s; width: 3px; height: 3px; }
        .brand-orb-2 { --x1: 90cqw; --y1: 17cqh; --x2: 14cqw; --y2: 76cqh; --duration: 14s; --delay: -7s; width: 4px; height: 4px; }
        .brand-orb-3 { --x1: 20cqw; --y1: 88cqh; --x2: 76cqw; --y2: 9cqh; --duration: 12s; --delay: -4s; width: 2px; height: 2px; }
        .brand-orb-4 { --x1: 3cqw; --y1: 58cqh; --x2: 96cqw; --y2: 38cqh; --duration: 16s; --delay: -10s; width: 3px; height: 3px; }

        @keyframes meshDriftA {
            0% { transform: translate3d(-4%, -2%, 0) scale(1.00) rotate(-3deg); }
            45% { transform: translate3d(5%, 4%, 0) scale(1.08) rotate(4deg); }
            100% { transform: translate3d(-1%, 7%, 0) scale(1.13) rotate(-1deg); }
        }

        @keyframes meshDriftB {
            0% { transform: translate3d(5%, -5%, 0) scale(1.10) rotate(2deg); }
            55% { transform: translate3d(-5%, 4%, 0) scale(1.00) rotate(-4deg); }
            100% { transform: translate3d(3%, 6%, 0) scale(1.15) rotate(5deg); }
        }

        @keyframes auroraRotate {
            from { transform: rotate(0deg) scale(1.05); }
            to { transform: rotate(360deg) scale(1.05); }
        }

        @keyframes breatheRing {
            0%, 100% { transform: scale(0.88); opacity: 0.18; }
            50% { transform: scale(1.08); opacity: 0.66; }
        }

        

        

        @keyframes orbTravel {
            0% { left: var(--x1); top: var(--y1); opacity: 0; transform: scale(0.7); }
            8% { opacity: 0.8; }
            50% { opacity: 0.34; transform: scale(1.2); }
            92% { opacity: 0.76; }
            100% { left: var(--x2); top: var(--y2); opacity: 0; transform: scale(0.7); }
        }

        @media (max-width: 700px) {
            

            .brand-pulse-field {
                width: min(92cqw, 620px);
            }

            .brand-mesh {
                inset: -40%;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .brand-animation *,
            .brand-animation *::before,
            .brand-animation *::after {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
            }
        }
    
.brand-animation-toggle { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 9px 15px; color: #e1e9f5; background: rgba(7,10,24,.7); font: inherit; font-size: 12px; cursor: pointer; }
.brand-animation-toggle:focus-visible { outline: 2px solid #71ddbd; outline-offset: 4px; }
.brand-animation.is-paused *, .brand-animation.is-paused *::before, .brand-animation.is-paused *::after { animation-play-state: paused !important; }


body { isolation: isolate; }
.background-control { margin-top: 18px; }
