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

body {
  max-width: 100%;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

:focus-visible {
  outline: 2px solid #c8a86d;
  outline-offset: 3px;
}

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

::selection {
  background: #c8a86d;
  color: #171613;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
