/* modern-reset.css – 2026 replacement for normalize.css */

/* Box model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margins */
body,
h1, h2, h3, h4, h5, h6,
p,
ul, ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Lists without indentation */
ul[role='list'],
ol[role='list'] {
  padding: 0;
}

/* Responsive media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Form element consistency */
button,
input,
select,
textarea {
  font: inherit;
  margin: 0;
}

/* Prevent iOS font zoom after rotate */
html {
  -webkit-text-size-adjust: 100%;
}

/* Improve default line-height */
body {
  line-height: 1.5;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}