/* Modern Box Sizing Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base Body Styles */
body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Resets */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--spacing-4);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text-main);
}

p, ul, ol, figure, blockquote, dl, dd {
  margin: 0 0 var(--spacing-4);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

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

/* Remove default button styles */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
