/*
  REVALYTICS — BASE RESET
  Box model, html, body, accessibility selection, focus ring.
*/

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--rev-page);
  color: var(--rev-text-body);
  font-family: var(--rev-font-sans);
  font-weight: 500;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

/* ─── Accessibility ──────────────────────────────────── */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--rev-blue);
  outline-offset: 2px;
}

::selection {
  background: var(--rev-blue);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
}
