/* Explain: Base reset, typography, and accessibility defaults */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: var(--text-color);
    background:
        radial-gradient(circle at top left, rgba(244, 124, 107, 0.16), transparent 28rem),
        radial-gradient(circle at 85% 15%, rgba(94, 164, 109, 0.14), transparent 24rem),
        var(--background-color);
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
}

p,
li,
label,
input,
select,
textarea,
button,
a {
    font-family: var(--font-body);
}

img {
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 3px solid rgba(244, 124, 107, 0.65);
    outline-offset: 3px;
}

::selection {
    color: var(--cream-color);
    background: var(--primary-color);
}
