/* Explain: Base styles, typography, and background gradients. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color: var(--text-color);
    scroll-padding-top: 112px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(214, 176, 124, 0.3), transparent 26rem),
        radial-gradient(circle at 88% 8%, rgba(140, 90, 40, 0.14), transparent 24rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
}

button,
a,
select {
    cursor: pointer;
}

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

::selection {
    background: var(--accent-color);
    color: #FFFCF4;
}

/* Corps de texte plus affirmé sur les autres sections ; les titres et les petits libellés gardent leur graisse. */
main p:not(.section-kicker):not(.uppercase),
main li,
footer p:not(.uppercase),
footer .grid a {
    font-weight: 600;
}