* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: 1.5;
}

h1,
h2,
p {
    margin: 0;
}

h2 {
    font-size: var(--font-size-heading);
    font-weight: 600;
    line-height: 1.38;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-control);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.visually-hidden,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 12px;
    background: var(--color-white);
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: var(--radius-button);
    padding: 15px 30px;
    color: var(--color-white);
    background: var(--color-brand);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
}

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

    :root {
        --duration-slide: 0ms;
    }
}
