:root {
    --primary: #0d7328;
    --primary-dark: #09561d;
    --primary-light: #e9f5ec;

    --text: #1e293b;
    --muted: #64748b;

    --background: #f8faf9;
    --card: #ffffff;

    --shadow:
        0 8px 24px rgba(0, 0, 0, 0.08);

    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        Segoe UI,
        Roboto,
        Arial,
        sans-serif;

    line-height: 1.7;

    color: var(--text);
    background: var(--background);
}

.container {
    width: min(1100px, 92%);
    margin: auto;
}

.hero {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            #14963a
        );

    color: white;
    text-align: center;
    padding: 1rem 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.logo {
    width: 140px;
    height: auto;
    flex-shrink: 0;
}

h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
}

.subtitle {
    margin-top: 1rem;
    opacity: 0.95;
    font-size: 1.15rem;
}

.topnav {
    background: white;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topnav .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding: 1rem;
}

.topnav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
}

.topnav a:hover {
    color: var(--primary-dark);
}

.card {
    background: var(--card);
    margin: 2rem auto;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

h2 {
    color: var(--primary);
    margin-top: 0;
    font-size: 2rem;
}

h3 {
    color: var(--primary-dark);
    margin-top: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));
}

.grid article {
    background: var(--primary-light);
    padding: 1.25rem;
    border-radius: 12px;
}

.downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-block;
    text-decoration: none;

    background: var(--primary);
    color: white;

    padding: 0.9rem 1.3rem;
    border-radius: 10px;

    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: #2c8e45;
}

#contact-mail {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

#contact-mail:hover {
    text-decoration: underline;
}

.small {
    color: var(--muted);
    font-size: 0.9rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
}