/* Explain: Base reset and typography defaults for the studio site */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 88% 10%, rgba(163, 177, 138, 0.2), transparent 26rem),
        radial-gradient(circle at 6% 4%, rgba(88, 129, 87, 0.12), transparent 24rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

button,
a,
select,
summary {
    cursor: pointer;
}

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

input,
textarea,
select,
button {
    font-family: inherit;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

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