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

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    word-break: keep-all;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a,
select {
    cursor: pointer;
}

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

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

::selection {
    background: var(--button-color);
    color: var(--text-color);
}

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