body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f7fbf8;
    color: #102b1c;
}

:root {
    --topbar-offset: 44px;
}

.site-header {
    width: 100%;
    position: sticky;
    top: calc(var(--topbar-offset) * -1);
    z-index: 40;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.5rem 1.5rem;
    background: #78c02d;
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.topbar__left,
.topbar__right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar__item,
.topbar__social {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 180ms ease, background 180ms ease;
}

.topbar__item {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.topbar__item:hover,
.topbar__social:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.18);
}

.topbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    line-height: 0;
    font-size: 0;
}

.topbar__icon i {
    font-size: 12px;
    line-height: 1;
}

.topbar__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0;
}

.topbar__social i {
    font-size: 14px;
    line-height: 1;
}

.topbar__social:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.28);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #ffffff;
    color: #1e1e1e;
    position: sticky;
    top: 0;
    z-index: 20;
    border-top: 2px solid #78c02d;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.navbar__brand a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.navbar__logo {
    width: 66px;
    height: 66px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.25rem;
}

.navbar__brand-title {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.navbar__brand-subtitle {
    display: block;
    font-size: 0.82rem;
    color: rgba(30, 30, 30, 0.72);
    margin-top: 0.12rem;
}

.navbar__links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar__links a {
    color: rgba(30, 30, 30, 0.9);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    position: relative;
    transition: color 180ms ease;
}

.navbar__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #78c02d;
    transition: width 220ms ease;
}

.navbar__links a:hover {
    color: #78c02d;
}

.navbar__links a:hover::after {
    width: 100%;
}

.navbar__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    background: #78c02d;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 10px 20px rgba(120, 192, 45, 0.22);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.navbar__cta:hover {
    background: #5c9f21;
    box-shadow: 0 14px 28px rgba(120, 192, 45, 0.28);
}

@media (max-width: 940px) {
    :root {
        --topbar-offset: 82px;
    }

    .topbar,
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .topbar {
        padding: 0.65rem 1.5rem;
        gap: 0.75rem;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .topbar__left,
    .topbar__right,
    .navbar__brand,
    .navbar__links,
    .navbar__cta {
        width: 100%;
    }

    .navbar__links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin: 0.75rem 0 0;
    }

    .navbar__cta {
        margin-top: 1rem;
    }
}

@media (max-width: 620px) {
    :root {
        --topbar-offset: 116px;
    }

    .topbar__left,
    .topbar__right {
        justify-content: center;
        gap: 0.75rem;
    }

    .navbar__brand {
        justify-content: center;
    }
}
