/* Shared motion layer. Loaded after the page's own CSS. */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.glow { z-index: -2; }

/* soft spotlight that follows the pointer */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 30%), rgba(124, 196, 255, 0.06), transparent 70%);
}

/* parallax: text leans slightly away from the pointer */
h1 { transform: translate3d(calc(var(--px, 0) * -3px), calc(var(--py, 0) * -2px), 0); will-change: transform; }


/* the gradient line breathes */
h1 em { background-size: 220% 100%; animation: shine 16s ease-in-out infinite alternate; }
@keyframes shine { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* scroll reveal (classes added by fx.js only, so no-JS shows everything) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

.points li, .spec div { transition: border-color 0.25s ease, background 0.25s ease; }
.points li:hover { border-top-color: rgba(124, 196, 255, 0.4); background: linear-gradient(90deg, rgba(124, 196, 255, 0.05), transparent); }

@media (prefers-reduced-motion: reduce) {
  h1 { transform: none; }
  h1 em { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
