:root {
    --color-primary: #069a43;
    --color-primary-dark: #057a37;
    --color-primary-soft: #e7f5ec;
    --color-on-primary: #033025;
    --color-forest: #073c2b;
    --color-forest-deep: #033a29;
    --color-background: #fdfdfd;
    --color-surface: #ffffff;
    --color-text: #171717;
    --color-muted: #66736c;
    --color-border: #dce5df;
    --color-warm: #e7e7e7;
    --color-warm-deep: #5f6863;
    --font-sans: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --container: 80rem;
    --container-narrow: 70rem;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-space: clamp(4.5rem, 9vw, 8rem);
    --radius-sm: 0.65rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --shadow-soft: 0 18px 50px rgba(4, 55, 39, 0.08);
    --shadow-float: 0 24px 70px rgba(3, 42, 30, 0.16);
    --transition: 180ms ease;
    color-scheme: light;
}

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

html {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-background);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
}

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

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

a {
    color: #05783f;
}

.foundation {
    width: min(100% - 2rem, 44rem);
    margin: 12vh auto 3rem;
}

.foundation .brand {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.foundation h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.08;
}

.foundation .status,
.foundation .alert {
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    background: #f2fbf6;
}

.foundation .alert {
    color: #8a1c1c;
    background: #fff3f3;
    border-color: #efcaca;
}

.foundation nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

:focus-visible {
    outline: 3px solid rgba(6, 154, 67, 0.35);
    outline-offset: 3px;
}
