/* Explain: Base reset, typography, and light-theme page behavior */
* {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(183, 110, 121, 0.05), transparent 28rem),
        radial-gradient(circle at 88% 4%, rgba(4, 99, 7, 0.08), transparent 26rem),
        var(--background-color);
    color: var(--text-color);
    letter-spacing: 0.01em;
}

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

h1,
h2,
h3,
.atelier-serif {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.045em;
}

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

img {
    max-width: 100%;
}

section {
    scroll-margin-top: 6rem;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 5.75rem;
    }
}
