
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-top: 0;
}

p {
    margin-top: 0;
}

.container {
    width: min(
        calc(100% - 2.5rem),
        var(--container-width)
    );
    margin-inline: auto;
}

.section {
    padding-block: var(--space-2xl);
}

.section-heading {
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
}

.section-heading p {
    color: var(--color-text-muted);
}

.section-label {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.section-actions {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1rem;
    background: white;
    color: black;
}

.skip-link:focus {
    top: 1rem;
}

:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
}
