/* 1. Reset box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin and padding */
body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

/* 3. Remove list styles */
ul[role='list'],
ol[role='list'],
ul,
ol {
  list-style: none;
  padding: 0;
}

/* 4. Reset anchor styles */
a {
  text-decoration: none;
  color: inherit;
}

/* 5. Remove image border, ensure responsiveness */
img,
picture {
  max-width: 100%;
  display: block;
}

/* 6. Remove form element styles (basic) */
input,
button,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

/* 7. Set core body styles */
body {
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  background-color: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 8. Allow responsive layouts to use % and vw units safely */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
