* {
    margin: 0;
}

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

/* 1.6 is written out, not taken from a token: this file has to work before any
   tokens exist. Override it in style.css, which loads after. */
body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
svg,
video {
    max-width: 100%;
    height: auto;
}

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

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

ul[role="list"],
ol[role="list"] {
    list-style: none;
    padding: 0;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

button {
    cursor: pointer;
}

textarea {
    resize: vertical;
}

/* Stops a linked-to section landing under a fixed header. The clamp is written
   out rather than taken from a token, for the same reason as the line height
   above. Raise it in style.css if the header ends up taller than 80px. */
:target {
    scroll-margin-block-start: clamp(4rem, 3.6522rem + 1.7391vw, 5rem);
}