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

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

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 8%, rgba(234, 190, 166, 0.26), transparent 34rem),
        radial-gradient(circle at 88% 18%, rgba(132, 158, 130, 0.22), transparent 36rem),
        linear-gradient(180deg, var(--background-color) 0%, #f7f1e8 58%, var(--background-color) 100%);
    color: var(--text-color);
    font-family: var(--font-body);
}

body.menu-active,
body.overlay-active {
    overflow: hidden;
}

::selection {
    background: rgba(132, 158, 130, 0.28);
    color: var(--text-color);
}

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

p {
    line-height: 1.8;
}

:focus-visible {
    outline: 3px solid rgba(132, 158, 130, 0.46);
    outline-offset: 4px;
}

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

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