/*
 * reset.css
 * ─────────────────────────────────────────────────────────
 * LEARNER NOTE:
 * A minimal CSS reset removes inconsistent browser defaults
 * so your design looks the same in Chrome, Firefox, Safari.
 * box-sizing: border-box makes width/padding math predictable.
 * ─────────────────────────────────────────────────────────
 */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}
