/* Explain: Base reset, typography, and global website styling. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text-color);
    background: var(--background-color);
}

::selection {
    background: var(--primary-color);
    color: var(--white-color);
}

button,
a {
    cursor: pointer;
}

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

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

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

section {
    scroll-margin-top: 5.5rem;
}

summary {
    list-style: none;
}

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

details[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-chevron {
    transition: transform 300ms ease;
}

.prose-custom p {
    margin: 0 0 1.15rem;
    line-height: 1.8;
}

.prose-custom h2 {
    margin: 2.25rem 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink-color);
}

.prose-custom h3 {
    margin: 1.75rem 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-color);
}

.prose-custom ul {
    margin: 0 0 1.15rem;
    padding-left: 1.25rem;
    list-style: disc;
}

.prose-custom li {
    margin-bottom: 0.45rem;
    line-height: 1.75;
}

.prose-custom strong {
    color: var(--ink-color);
    font-weight: 700;
}

.prose-custom a {
    color: var(--primary-color);
    text-decoration: underline;
}