*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--cream-bg);
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

fieldset {
    border: none;
    min-width: 0;
}

legend {
    padding: 0;
}

:focus-visible {
    outline: 2px solid var(--plum);
    outline-offset: 2px;
}

@media (min-width: 1024px) {
    body {
        font-size: 1rem;
        line-height: 1.7;
    }
}
