/* RESET */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height, 100px) + 20px);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    font-weight: var(--weight-normal);
    line-height: 1.7;
    color: var(--color-dark);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

body, button, input, textarea, select { font-family: var(--font-main); }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    color: var(--color-corporate);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    letter-spacing: -.035em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
h3 { font-size: var(--font-size-xl); }

p { margin: 0 0 1.25rem; }
a { color: inherit; text-decoration: none; }

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button { font: inherit; }
ul, ol { padding-left: 1.25rem; }

input, textarea, select { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

::selection {
    color: var(--color-white);
    background: var(--color-accent);
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}