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

html {
    min-width: 320px;
    background: var(--color-canvas);
    font-family: var(--font-body);
    color: var(--color-text);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--color-canvas);
    font-size: 0.9375rem;
    line-height: 1.5;
}

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

button,
summary {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--color-interactive);
}

a:hover {
    color: var(--color-interactive-hover);
}

svg {
    display: block;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--color-text);
    line-height: 1.2;
}

h1,
h2 {
    font-family: var(--font-display);
}

h1 {
    margin-bottom: 8px;
    font-size: clamp(1.625rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.018em;
}

h2 {
    margin-bottom: 8px;
    font-size: clamp(1.1875rem, 1.7vw, 1.3125rem);
    font-weight: 650;
    letter-spacing: -0.012em;
}

h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
}

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

[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
