@layer reset { *, *::before, *::after { box-sizing: border-box; } * { margin: 0; padding: 0; } :root { interpolate-size: allow-keywords; } body { line-height: 1.5; } :where(img, picture, video, canvas, svg) { display: block; max-inline-size: 100%; } :where(input, button, textarea, select) { font: inherit; letter-spacing: inherit; word-spacing: inherit; color: currentColor; } :where(p, h1, h2, h3, h4, h5, h6) { overflow-wrap: break-word; } &:where(h1, h2, h3, h4, h5, h6) { line-height: 1.25; text-wrap: balance; letter-spacing: -0.05ch; } }