/**
 * Founders First - Modern CSS Reset
 */

/* 1. Use a more intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. Prevent font size inflation and set default smooth scroll */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

/* 3. Set core body defaults */
body {
  min-height: 100vh;
  line-height: var(--line-height-normal, 1.5);
  font-family: var(--font-primary, sans-serif);
  color: var(--color-gray-800, #1E293B);
  background-color: var(--color-white, #FFFFFF);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 4. Balance text wrapping on headings */
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-weight: var(--font-weight-bold, 700);
  line-height: var(--line-height-tight, 1.25);
}

/* 5. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 6. Remove built-in form typography styles */
input, button, textarea, select {
  font: inherit;
}

/* 7. Avoid text overflow in textareas */
textarea {
  resize: vertical;
}

/* 8. Create a stacking context for anchor tags without default underline */
a {
  color: inherit;
  text-decoration: none;
}

/* 9. Remove list styles on ul, ol elements with a list role */
ul, ol {
  list-style: none;
}

/* 10. Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
