/* =====================================================
   BASE
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.7;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

.narrow {
    max-width: 820px;
}

h1,
h2,
h3,
h4 {
    color: inherit;
    font-weight: 700;
}

h1 {
    margin: 18px 0;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.02;
}

h2 {
    margin: 12px 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.06;
}

h3 {
    font-size: 28px;
    line-height: 1.18;
}

p {
    font-size: 18px;
}

.lead {
    max-width: 760px;
    font-size: 22px;
}

.eyebrow {
    display: inline-block;
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-primary,
.btn-dark {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.btn-primary:hover,
.btn-dark:hover {
    background: var(--color-secondary);
}

.btn-secondary-light {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.full-btn {
    width: 100%;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
