/* Explain: Base reset, typography, and shared section styling. */
/*
 * Explain: Base reset, typography defaults and shared section utilities.
 */

* {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.65;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

body.drawer-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.025em;
}

p {
    margin: 0;
}

ul, dl, dt, dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

button {
    font-family: inherit;
}

[id] {
    scroll-margin-top: 5.5rem;
}

.display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.is-hidden {
    display: none !important;
}

.section-pad {
    padding-block: clamp(3.25rem, 7vw, 5.5rem);
}

.section-head {
    max-width: 42rem;
    margin-bottom: 2.5rem;
}

.section-head--split {
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7a92;
}

.section-kicker--light {
    color: rgba(255, 255, 255, 0.62);
}

.section-title {
    margin-top: 0.6rem;
    font-size: clamp(1.6rem, 4vw, 2.35rem);
}

.section-lead {
    margin-top: 0.9rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.section-lead--light {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 640px) {
    .section-head--split {
        align-items: flex-start;
    }
}