/* Modern CSS reset 2025 */
/* Date: 18 August 2025 */

/* 1. Use a more intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
  padding: 0;
}

/* 3. Set core body defaults */
html,
body {
  height: 100%;
  line-height: 1.5; /* Accessible line-height */
  -webkit-font-smoothing: antialiased; /* Improve font rendering */
  -moz-osx-font-smoothing: grayscale;
}

/* 4. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 5. Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* 6. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 7. Remove list styles */
ul,
ol {
  list-style: none;
}

/* 8. Accessible focus outlines */
:focus:not(:focus-visible) {
  outline: none;
}

/* 9. Table defaults */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Optional: Root stacking context for apps that need it */
/* #root,
#__next {
  isolation: isolate;
} */
