/*
 * Global reset (UI Uplift). Screen-agnostic and safe to load app-wide:
 * only box-sizing and form-control font inheritance. Screen-scoped normalization
 * (margins, button chrome, media, etc.) lives in each screen's own stylesheet.
 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

input,
button,
textarea,
select {
    font: inherit;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    :where(img, svg, video) {
        display: block;
        max-width: 100%;
    }

    button {
        padding: 0;
        border: none;
        background: none;
        color: inherit;
        text-align: inherit;
        cursor: pointer;

        &:focus:not(:focus-visible) {
            outline: none;
        }
    }

    :where(p, h1, h2, h3, h4, li) {
        overflow-wrap: break-word;
    }
}


