/* Explain: Base reset and site-wide typography styles. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color: var(--text-color);
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 90% 6%, rgba(163, 177, 138, 0.24), transparent 26rem),
        radial-gradient(circle at 6% 12%, rgba(88, 129, 87, 0.13), transparent 24rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

button,
a,
select,
summary {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

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

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

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin: 0;
}

p {
    margin: 0;
}