/* 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;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 85% 6%, var(--gold-soft), transparent 26rem),
        radial-gradient(circle at 10% 22%, rgba(163, 177, 138, 0.22), transparent 26rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.85;
    text-rendering: optimizeLegibility;
}

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

p {
    margin: 0;
}

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

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

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

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

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

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