* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: TildaSans, Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    outline-offset: 5px;
}

button,
input,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 3px solid #6046a3;
}

p,
h1,
h2,
h3,
figure,
blockquote {
    margin: 0;
}

p + p {
    margin-top: 1em;
}

h1,
h2,
h3 {
    font-weight: 400;
    line-height: 1.12;
    text-wrap: pretty;
}

[hidden] {
    display: none !important;
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 86px;
    }

    body {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
