/* ============================================================
   reset.css — Modern CSS reset (Josh Comeau style, adapted)
   Load AFTER theme.css so :focus-visible can use --ring.
   ============================================================ */

*, *::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;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select { font: inherit; }

button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
}

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

#root, #__next { isolation: isolate; }

:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) { outline: none; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }
