/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-hover);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    line-height: var(--lh-heading);
    color: var(--color-primary);
    font-weight: 700;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

p {
    margin-bottom: var(--space-sm);
}

p:last-child {
    margin-bottom: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--narrow {
    max-width: var(--container-narrow);
}

/* Section */
.section {
    padding: var(--space-xl) 0;
}

.section--alt {
    background: var(--color-surface);
}

.section--dark {
    background: var(--color-primary);
    color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
    color: var(--color-white);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section__header h2 {
    margin-bottom: var(--space-xs);
}

.section__subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.section--dark .section__subtitle {
    color: var(--color-text-muted);
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-light);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}