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

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

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(196, 154, 69, 0.08), transparent 26rem),
        radial-gradient(circle at 88% 8%, rgba(26, 54, 38, 0.08), transparent 24rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

@media (max-width: 639px) {
    body {
        font-size: 18px;
        line-height: 1.75;
    }
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
        letter-spacing: -0.01em;
    }
}

button,
a,
select {
    cursor: pointer;
}

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

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