*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open,
body.mobile-menu-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

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

button {
    border: 0;
}

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

h1,
h2,
h3,
p,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 650;
}

h3 {
    font-size: 1.15rem;
    font-weight: 650;
}

p {
    color: var(--color-muted);
}

.container {
    width: min(calc(100% - 36px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 108px 0;
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.section-soft {
    background: var(--color-soft);
}

.section-dark {
    color: var(--color-white);
    background:
        radial-gradient(circle at 80% 10%, rgba(216, 185, 138, 0.16), transparent 30%),
        linear-gradient(135deg, #17332d, #24483f);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 46px;
}

.section-heading.centered {
    text-align: center;
    margin-inline: auto;
}

.section-heading p {
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.eyebrow-light {
    color: var(--color-secondary);
}

.lead {
    font-size: 1.18rem;
}

.fine-print {
    font-size: 0.9rem;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 14px;
    left: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-180%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.legal-page {
    padding: calc(var(--header-height) + 80px) 0 100px;
    background: var(--color-soft);
}

.legal-container {
    max-width: 860px;
    padding: 52px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.legal-container h1 {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.legal-container section {
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
    margin-top: 28px;
}

.legal-updated {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--color-sand);
}
