/*
  Simple, modern CSS reset.
  - box-sizing: border-box
  - remove default margins
  - set sane defaults for media, forms, and typography
*/

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

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

/* 3. Set core body defaults */
html, body { height: 100%; }
html:focus-within { scroll-behavior: smooth; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

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

/* 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. Better lists */
ul[role='list'], ol[role='list'] { list-style: none; }

/* 8. Isolate app root for stacking contexts */
#root, #__next { isolation: isolate; }
