/* ===== Modern CSS Reset (2026) ===== */

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

/* Remove default margin */
* {
  margin: 0;
}

/* Body defaults */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* Form elements inherit fonts */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove built-in form typography styles */
button {
  background: none;
  border: none;
  cursor: pointer;
}

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

/* Remove list styles */
ul,
ol {
  list-style: none;
  padding: 0px;
}

/* Anchor defaults */
a {
  text-decoration: none;
  color: inherit;
}

/* Table */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Root stacking context */
#root,
#__next {
  isolation: isolate;
}