:root {
    color-scheme: light;
    --ink: #1b2b25;
    --muted: #68756c;
    --line: #e4e9e1;
    --paper: #f8f8f4;
    --white: #fff;
    --green: #b9dd73;
    --deep-green: #19372c;
    --body: "Nirmala UI", "Noto Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, input, select { color: inherit; }
::selection { color: var(--ink); background: #d7edaa; }
:focus-visible { outline: 3px solid #90b55b; outline-offset: 3px; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-150%); color: var(--white); background: var(--deep-green); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid rgba(30, 48, 39, .07); background: rgba(248, 248, 244, .96); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; padding: 0 3px 4px 0; border-radius: 11px; color: white; background: var(--deep-green); font: 800 24px/1 "Segoe UI", Arial, sans-serif; letter-spacing: -2px; }
.brand-mark span { color: var(--green); }
.brand-name { font: 800 17px/1 "Segoe UI", Arial, sans-serif; letter-spacing: -.8px; }
.brand-name span { color: #78827b; font-weight: 500; }
.translation-toggle { display: inline-flex; min-height: 36px; align-items: center; padding: 0 13px; border: 1px solid #dfe6dc; border-radius: 7px; color: #405b46; background: white; font-size: 13px; font-weight: 650; }
.translation-toggle:hover, .language-links a:hover { color: #709445; }

.site-footer { padding: 34px 0 18px; background: #edf0e9; }
.footer-inner { display: grid; grid-template-columns: minmax(210px, .7fr) 1.3fr; gap: 24px 48px; }
.footer-brand p { max-width: 300px; margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.language-links { display: flex; flex-wrap: wrap; align-content: center; gap: 10px 18px; }
.language-links a { color: #526057; font-size: 13px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 15px; border-top: 1px solid #d8ded5; color: #77827a; font-size: 11px; }
.footer-bottom a { color: #526858; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 12px; padding: 0 18px; border: 0; border-radius: 7px; color: white; background: var(--deep-green); font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.button:hover { background: #29483b; transform: translateY(-1px); }
.button span { font-size: 17px; line-height: 1; }
.not-found { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.not-found p { margin: 0 0 12px; color: var(--muted); }

@media (max-width: 650px) {
    .container { width: calc(100% - 36px); }
    .header-inner { min-height: 64px; }
    .brand-mark { width: 32px; height: 32px; }
    .brand-name { font-size: 16px; }
    .translation-toggle { min-height: 33px; padding: 0 10px; font-size: 11px; }
    .footer-inner { grid-template-columns: 1fr; gap: 20px; }
    .language-links { gap: 9px 15px; }
    .footer-bottom { grid-column: auto; flex-direction: column; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
