/* reset.css - modern base reset for 2025 projects */

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

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

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

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

/* 5. Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
  font-family: system-ui, sans-serif;
}

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

/* 7. Inherit fonts for form elements */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Create a root stacking context */
#root,
#__next {
  isolation: isolate;
}
