/*
    reset.css
    Modern, minimal CSS reset. Removes browser inconsistencies without
    stripping away useful semantics. Loaded first, before any project
    styles, so every later file can rely on this baseline.
*/

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

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

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
    margin: 0;
}

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

body {
    min-height: 100vh;
    line-height: 1.5;
}

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

img,
svg {
    height: auto;
}

figure {
    margin: 0;
}

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

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

button {
    background: none;
    border: none;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Respect reduced-motion preference at the reset level so it applies
   even before any component-level animation rules are considered. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
