:root {
    --green: #2e7d32;
    --green-light: #e8f5e9;
    --orange: #ef6c00;
    --text: #1b1b1b;
    --muted: #5f6368;
    --background: #ffffff;
    --card: #f6f8f5;
    --max-width: 760px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --green: #81c784;
        --green-light: #1e2b1f;
        --orange: #ffb74d;
        --text: #f1f1f1;
        --muted: #b0b3b8;
        --background: #121412;
        --card: #1c201c;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

header,
main,
footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--green);
    text-decoration: none;
}

nav a {
    color: var(--muted);
    margin-left: 16px;
    text-decoration: none;
}

nav a:hover,
nav a:focus {
    color: var(--green);
}

.hero {
    text-align: center;
    padding: 56px 0 32px;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.15;
    margin: 0 0 16px;
}

.hero p {
    color: var(--muted);
    font-size: 1.2rem;
    margin: 0 auto 28px;
    max-width: 560px;
}

.button {
    display: inline-block;
    background: var(--green);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
}

@media (prefers-color-scheme: dark) {
    .button {
        color: #0d1a0e;
    }
}

.button.secondary {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}

.badge {
    display: inline-block;
    background: var(--green-light);
    color: var(--green);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.card {
    background: var(--card);
    border-radius: 16px;
    padding: 20px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

h2 {
    margin-top: 48px;
}

.legal h2 {
    margin-top: 32px;
    font-size: 1.3rem;
}

.legal .updated {
    color: var(--muted);
}

.center {
    text-align: center;
}

footer {
    margin-top: 64px;
    padding-top: 24px;
    padding-bottom: 40px;
    border-top: 1px solid var(--card);
    color: var(--muted);
    font-size: 0.95rem;
}

footer a {
    color: var(--muted);
    margin-right: 16px;
}

a {
    color: var(--green);
}
