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

html {
    font-size: 100%;
    scroll-behavior: smooth;
    overflow-x: clip;
    font-synthesis: none;
}

body {
    margin: 0;
    min-width: 20rem;
    overflow-x: clip;
    font-family: var(--font-sans);
    font-size: var(--text-body);
    font-weight: 400;
    font-style: normal;
    font-synthesis: none;
    line-height: var(--leading-body);
    color: var(--color-text);
    background: var(--color-surface);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

img {
    height: auto;
}

a {
    color: var(--color-orange);
    text-decoration: none;
}

a:hover {
    color: var(--color-orange-deep);
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 3px;
}

h1,
h2,
h3,
p,
ul {
    margin: 0;
}

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

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.12;
    color: var(--color-ink);
}

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -4rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--color-orange);
    color: var(--color-surface);
    font-weight: 700;
}

.skip-link:focus {
    top: 0.75rem;
    color: var(--color-surface);
    outline-color: var(--color-surface);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
