html {
    /* Make sure our pages respect current user theme */
    color-scheme: light dark;
    /* Use a more-friendly scrolling behaviour */
    scroll-behavior: smooth;
}

/* Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
*:not(dialog) {
    margin: 0;
}

/* Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* Add accessible line-height */
    line-height: 1.5;
    /* Improve text rendering */
    -webkit-font-smoothing: antialiased;
    /* Make sure the default font is consistent */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Make sure the default color is consistent as well */
    color: #FFFFFF;
    /* Make sure the background retains the usual white color, in-case the user has dark-mode enabled on their device */
    background-color: #FFFFFF;
}

a {
    /* Remove the default link decorations, because, who ever uses them? */
    color: inherit;
    text-decoration: none;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* Improve line wrapping */
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/*
  1Create a root stacking context
*/
#root,
#__next {
    isolation: isolate;
}