/* Overrides for the static export of the marketing site (see scripts/website/export.ts). */

/* Framer animated in-page anchor scrolling with its runtime. Pages with Smooth Scroll get it from Lenis instead
   (site.js), which a smooth scroll-behavior would smooth a second time. */
html:not([data-site-smooth-scroll]) {
  scroll-behavior: smooth;
}

[data-site-t],
[data-site-href] {
  cursor: pointer;
}

/* Layers with an appear animation start at its first frame and site.js plays it; if site.js doesn't run, they
   show anyway */
[data-site-appear]:not([data-site-appeared]) {
  animation: site-appear-fallback 0s 2s forwards;
}

@keyframes site-appear-fallback {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
