:root {
    --green-primary: rgb(148, 207, 150);
    --green-button: #85c988;
    --green-bg: rgb(229, 245, 229);
    --green-border: #b8deba;
    --text-dark: #1e3320;
    --text-muted: #4a6b4e;
    --text-light: #6a8b6e;
}

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

body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--green-bg);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    padding: 0.9rem 2rem;
    border-bottom: 1px solid var(--green-border);
    background-color: white;
}

.top-bar a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.top-bar a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

main {
    flex: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.lang-switch {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.lang-switch a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--green-border);
    border-radius: 6px;
    background-color: white;
}

.lang-switch a:hover {
    background-color: var(--green-bg);
    color: var(--text-dark);
}

section {
    margin-bottom: 3.5rem;
}

section h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

section .updated {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.8rem 0 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--green-border);
}

p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

ul {
    margin: 0.4rem 0 0.8rem 1.4rem;
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-muted);
}

li {
    margin-bottom: 0.35rem;
}

code {
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--text-dark);
}

a {
    color: #3a7d40;
}

a:hover {
    color: var(--text-dark);
}

hr {
    border: none;
    border-top: 2px solid var(--green-border);
    margin: 3rem 0;
}

footer {
    padding: 1rem 1rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-light);
    border-top: 1px solid var(--green-border);
    background-color: white;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}
