/* Explain: Base CSS reset, typography, and accessibility defaults for the website. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% -10%, rgba(111, 211, 199, 0.22), transparent 34rem),
        radial-gradient(circle at 100% 0%, rgba(242, 166, 90, 0.16), transparent 30rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

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

button,
a,
summary,
label[for] {
    cursor: pointer;
}

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

:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    border-radius: 6px;
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}