/**
 * Modern CSS reset, plus this project's cascade-layer order declaration.
 * See dfusionfw/docs/css-conventions.md for the rules every other layer
 * (including page-specific stylesheets) must follow.
 */
@layer reset, tokens, base, layout, components, utilities;

@layer reset {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    * {
        margin: 0;
    }

    html {
        -webkit-text-size-adjust: 100%;
    }

    body {
        -webkit-font-smoothing: antialiased;
        line-height: 1.5;
    }

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

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

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