/* ==========================================================================
   FAE Base / Reset / Global Layout
   --------------------------------------------------------------------------
   Ported from Base44 source (src/index.css @layer base, outside the
   shadcn boilerplate reset which doesn't need porting — WP doesn't use
   the shadcn/Radix component library this was written for).
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fae-color-bg);
  color: var(--fae-color-white);
  font-family: var(--fae-font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Base44: outer wrapper div had overflow-hidden */
}

/* Base44: outer div had selection:bg-[#c6f135] selection:text-black */
::selection {
  background-color: var(--fae-color-lime);
  color: var(--fae-color-black);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}