/* 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: 104px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(115% 75% at 84% 2%, color-mix(in srgb, var(--primary-hover) 13%, transparent), transparent 62%),
        radial-gradient(85% 65% at 6% 28%, color-mix(in srgb, var(--secondary-color) 30%, transparent), transparent 66%),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
a,
select,
summary,
input[type="submit"] {
    cursor: pointer;
}

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

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

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

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