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

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

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(157, 193, 131, 0.26), transparent 32rem),
        radial-gradient(circle at 88% 8%, rgba(232, 222, 204, 0.7), transparent 28rem),
        linear-gradient(180deg, var(--background-color) 0%, #f6f1e7 52%, var(--background-color) 100%);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.65;
}

body.side-menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
.brand-wordmark {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
}

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

:focus-visible {
    outline: 3px solid rgba(13, 59, 57, 0.42);
    outline-offset: 4px;
}

img {
    max-width: 100%;
}
