/* Explain: Base reset and global typography styles for the site. */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(76, 154, 95, 0.12), transparent 28rem),
        radial-gradient(circle at 88% 8%, rgba(76, 154, 95, 0.08), transparent 26rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button,
a,
select {
    cursor: pointer;
}

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

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

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}