html {
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    color: var(--color-text);
    background: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-heading);
    text-wrap: balance;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

p {
    color: var(--color-text-secondary);
}

strong {
    font-weight: var(--font-weight-semibold);
}

main {
    display: block;
}

.container {
    width: min(
        calc(100% - (var(--gutter) * 2)),
        var(--container)
    );
    margin-inline: auto;
}

.container--wide {
    width: min(
        calc(100% - (var(--gutter) * 2)),
        var(--container-wide)
    );
    margin-inline: auto;
}

.container--narrow {
    width: min(
        calc(100% - (var(--gutter) * 2)),
        var(--container-narrow)
    );
    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: var(--section-space);
}

.section--white {
    background: var(--color-white);
}

.section--ivory {
    background: var(--color-ivory);
}

.section--dark {
    color: var(--color-white);
    background: var(--color-primary);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.72);
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

.text-white {
    color: var(--color-white);
}

.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;
}