/* Reset & Base Normalization */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 10px;
    font-family: var(--font-primary);
    background-color: #fafbfa;
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.045em;
    color: inherit;
}

h1 {
    font-size: clamp(46px, 5.5vw, 82px);
}

h2 {
    font-size: clamp(34px, 3.2vw, 48px);
}

h3 {
    font-size: 25px;
}

p {
    margin: 0 0 16px;
    line-height: 1.6;
    font-size: 14px;
    color: var(--muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

button, a, input, select, textarea {
    touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

figure {
    margin: 0;
}

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

[hidden] {
    display: none !important;
}
