/* ============================================================
   ACS RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden; /* fallback; clip below avoids breaking position:sticky */
}

body {
  background-color: var(--color-page);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

/* Clip horizontal overflow at html/body; keep main overflow visible so sticky + stacking stay predictable */
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }

  main {
    overflow-x: visible;
  }
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: var(--leading-tight);
}
