/* base.css — reset + foundations */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: var(--font-body, system-ui, sans-serif);
  color: var(--color-text);
  background: var(--color-bg);
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
h1, h2, h3, h4, h5, h6 { line-height: 1.1; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
#root, #__next { isolation: isolate; }
:focus-visible { outline: 2px solid var(--color-accent, #ff0033); outline-offset: 3px; }
::selection { background: var(--color-accent, #ff0033); color: #fff; }
