:root {
  --cursor-accent: #f8ca1c;
  --cursor-dot-size: 8px;
  --cursor-outline-size: 38px;
}

.lead-guard-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor [data-hero-nextgen],
  body.has-custom-cursor [data-hero-nextgen] * {
    cursor: none !important;
  }

  .cursor-dot,
  .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0);
    will-change: transform, opacity, border-color, background-color;
  }

  .cursor-dot {
    width: var(--cursor-dot-size);
    height: var(--cursor-dot-size);
    margin-top: calc(var(--cursor-dot-size) * -0.5);
    margin-left: calc(var(--cursor-dot-size) * -0.5);
    border-radius: 50%;
    background: var(--cursor-accent);
    box-shadow: 0 0 18px rgba(248, 202, 28, 0.45);
  }

  .cursor-outline {
    width: var(--cursor-outline-size);
    height: var(--cursor-outline-size);
    margin-top: calc(var(--cursor-outline-size) * -0.5);
    margin-left: calc(var(--cursor-outline-size) * -0.5);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
      opacity 0.2s ease,
      border-color 0.22s ease,
      background-color 0.22s ease;
  }

  body.is-cursor-hover .cursor-outline {
    border-color: rgba(248, 202, 28, 0.88);
    background: rgba(248, 202, 28, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-outline {
    transition: none !important;
    animation: none !important;
  }
}
