*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

:not(dialog) {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100svh;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
label,
select,
textarea {
    line-height: 1.1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

textarea:not([rows]) {
    min-height: 10em;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
    padding-inline-start: 0;
}

a:not([class]) {
    text-decoration: none;
    color: currentColor;
}

:target {
    scroll-margin-block: 5ex;
}

#root,
#__next {
    isolation: isolate;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}