/* A pearl-white, tapered highlight for the landing page's main actions. */
.wm-landing .wm-cta:has(> .wl-cta-orbit) {
    position: relative;
    --wl-cta-orbit-radius: 17.5px;
}
.wm-landing .wm-cta--compact:has(> .wl-cta-orbit) { --wl-cta-orbit-radius: 13.5px; }
.wl-cta-orbit { display: none; }

@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    .wm-landing .wm-cta > .wl-cta-orbit {
        display: block;
        position: absolute;
        inset: -.5px;
        width: calc(100% + 1px);
        height: calc(100% + 1px);
        overflow: visible;
        pointer-events: none;
        fill: none;
        filter: drop-shadow(0 0 1.2px #e6d8ff66);
        animation: wl-cta-orbit-light 5s ease-in-out infinite;
    }
    .wm-landing .wl-cta-orbit rect {
        rx: var(--wl-cta-orbit-radius);
        stroke-linecap: round;
        animation: wl-cta-orbit-travel 5s cubic-bezier(.35, 0, .65, 1) infinite;
    }
    .wm-landing .wm-cta:is(:disabled, [aria-disabled="true"]) > .wl-cta-orbit { display: none; }
}

/* One two-second lap, followed by three seconds of rest. */
@keyframes wl-cta-orbit-travel {
    0% { stroke-dashoffset: 0; }
    40%, 100% { stroke-dashoffset: 100; }
}
@keyframes wl-cta-orbit-light {
    0%, 40%, 100% { opacity: 0; }
    6%, 32% { opacity: .96; }
}

@media (max-width: 639px) {
    .wm-landing .wm-cta:has(> .wl-cta-orbit) { --wl-cta-orbit-radius: 15.5px; }
    .wm-landing .wm-cta--compact:has(> .wl-cta-orbit) { --wl-cta-orbit-radius: 13.5px; }
}
@media (max-width: 767px) {
    .wm-landing .wm-membership-plan-action > .wm-cta:has(> .wl-cta-orbit) { --wl-cta-orbit-radius: 11.5px; }
}
