:root {
    --bg: #f3efe6;
    --surface: #fffdf8;
    --dark: #222e2a;
    --green: #5f7849;
    --leaf: #76b334;
    --accent: #c89d63;
    --brown: #3b2619;
    --text: #27312c;
    --muted: #69726c;
    --line: rgba(34, 46, 42, 0.13);
    --radius: 24px;
    --font-heading: Georgia, "Times New Roman", serif;
    --font-body: "Segoe UI", Arial, sans-serif;
}

html {
    scroll-padding-top: 110px;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
}

body.navigation-is-open {
    overflow: hidden;
}

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

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.screen-reader-text,
.skip-link {
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    position: absolute;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    width: auto;
    height: auto;
    padding: 12px 18px;
    top: 10px;
    left: 10px;
    z-index: 1000;
    clip: auto;
    border-radius: 10px;
    color: var(--dark);
    background: #fff;
}

main {
    display: block;
}

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

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