/* 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 10% 10%, rgba(233, 30, 114, 0.22), transparent 28rem),
        radial-gradient(circle at 92% 4%, rgba(255, 46, 136, 0.16), transparent 26rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.18;
}

p {
    margin: 0;
}

button,
a,
select {
    cursor: pointer;
}

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

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

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