/* Explain: Base reset and typography defaults */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-color);
    background: var(--background-color);
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark-color);
}

p {
    margin: 0;
}

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

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

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

button {
    font-family: inherit;
}

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

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 16px;
}

.section {
    padding-block: 60px;
}

.section--tint {
    background: var(--surface-color);
}

@media (min-width: 768px) {
    .section {
        padding-block: 78px;
    }
}

.section-head {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 6px 15px;
    border-radius: 999px;
}

.section-title {
    margin-top: 14px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
}

.section-text {
    margin-top: 12px;
    color: var(--text-muted);
}

.section-foot {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}