@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black: #0e0f0c;
    --green: #9fe870;
    --green-dark: #163300;
    --green-light: #e2f6d5;
    --green-pastel: #cdffad;
    --gray: #868685;
    --gray-dark: #454745;
    --surface: #f8faf6;
    --white: #ffffff;
    --border: rgba(14,15,12,0.12);
    --shadow-ring: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    --font-display: 'Inter', Helvetica, Arial, sans-serif;
    --font-body: 'Inter', Helvetica, Arial, sans-serif;
    --radius-pill: 9999px;
    --radius-card: 30px;
    --radius-card-sm: 16px;
    --radius-section: 40px;
}

html { scroll-behavior: smooth; font-feature-settings: "calt" 1; }

body {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.44;
    letter-spacing: 0.18px;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dark); text-decoration: underline; transition: opacity .15s; }
a:hover { opacity: .7; }

img { max-width: 100%; height: auto; display: block; }

address { font-style: normal; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section--alt { background: var(--surface); }

h1, h2, h3, h4 { font-family: var(--font-display); font-feature-settings: "calt" 1; color: var(--black); }

h1 { font-size: clamp(52px, 7vw, 96px); font-weight: 900; line-height: 0.88; letter-spacing: -1px; }
h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 0.88; }
h3 { font-size: clamp(22px, 3vw, 40px); font-weight: 900; line-height: 0.92; }
h4 { font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.396px; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: var(--green-light);
    border-radius: var(--radius-pill);
    padding: 4px 14px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.108px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-pill);
    transition: transform .15s ease, box-shadow .15s ease;
    font-feature-settings: "calt" 1;
}
.btn:hover { transform: scale(1.05); opacity: 1; }
.btn:active { transform: scale(0.95); }

.btn--green {
    background: var(--green);
    color: var(--green-dark);
    padding: 14px 28px;
}
.btn--subtle {
    background: rgba(22,51,0,0.08);
    color: var(--black);
    padding: 14px 24px;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--black);
    flex-shrink: 0;
}
.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: var(--green-dark);
    font-weight: 900;
    font-size: 13px;
}
.logo-text { font-weight: 700; font-size: 18px; letter-spacing: -0.3px; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    display: block;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--black);
    border-radius: var(--radius-pill);
    transition: background .15s;
}
.nav-link:hover, .nav-link--active { background: rgba(211,242,192,0.4); color: var(--black); opacity: 1; }
.nav-cta {
    display: block;
    padding: 9px 20px;
    background: var(--green);
    color: var(--green-dark);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: transform .15s;
    margin-left: 8px;
}
.nav-cta:hover { transform: scale(1.05); opacity: 1; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .2s, opacity .2s; }

.hero {
    padding: 96px 0 80px;
    background: var(--white);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-kicker { margin-bottom: 24px; }
.hero h1 { margin-bottom: 24px; }
.hero-lead {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.44;
    color: var(--gray-dark);
    margin-bottom: 40px;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img {
    border-radius: var(--radius-section);
    overflow: hidden;
    box-shadow: var(--shadow-ring);
    aspect-ratio: 4/3;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: var(--radius-section);
    overflow: hidden;
    margin: 40px 0 0;
}
.stat-item {
    background: var(--white);
    padding: 28px 32px;
    text-align: center;
}
.stat-num { font-size: 48px; font-weight: 900; line-height: 1; color: var(--green-dark); }
.stat-label { font-size: 14px; font-weight: 600; color: var(--gray); margin-top: 6px; }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.article-card {
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-ring);
    transition: transform .2s;
    text-decoration: none;
    color: var(--black);
    display: flex;
    flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); opacity: 1; }
.article-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-card-tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-dark);
    margin-bottom: 10px;
}
.article-card-title { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.article-card-excerpt { font-size: 15px; color: var(--gray-dark); line-height: 1.5; flex: 1; }
.article-card-meta { margin-top: 16px; font-size: 13px; color: var(--gray); font-weight: 600; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.feature-card {
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    padding: 32px;
    background: var(--white);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
}
.feature-card h4 { margin-bottom: 10px; }
.feature-card p { color: var(--gray-dark); font-size: 16px; }

.contact-section { background: var(--black); color: var(--white); padding: 80px 0; }
.contact-section h2 { color: var(--white); margin-bottom: 16px; }
.contact-section p { color: rgba(255,255,255,0.65); margin-bottom: 40px; max-width: 480px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); }
.form-input {
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-size: 16px;
    font-family: var(--font-body);
    transition: border-color .15s;
    outline: none;
}
.form-input:focus { border-color: var(--green); }
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(159,232,112,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.contact-info-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.contact-info-value { font-size: 16px; font-weight: 600; color: var(--white); }
.contact-info-value a { color: var(--green); text-decoration: none; }

.article-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.article-hero h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 20px; }
.article-meta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--gray); font-weight: 600; margin-bottom: 20px; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-lead { font-size: 20px; font-weight: 600; color: var(--gray-dark); line-height: 1.5; max-width: 760px; }

.article-body {
    max-width: 760px;
    padding: 56px 0;
}
.article-body h2 { font-size: clamp(28px, 3.5vw, 48px); margin: 48px 0 20px; }
.article-body h3 { font-size: clamp(22px, 2.5vw, 36px); margin: 36px 0 16px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--green-dark); }
.article-body figure { margin: 32px 0; border-radius: var(--radius-card-sm); overflow: hidden; box-shadow: var(--shadow-ring); }
.article-body figcaption { font-size: 13px; color: var(--gray); padding: 10px 16px; background: var(--surface); }

.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; border-radius: var(--radius-section); overflow: hidden; box-shadow: var(--shadow-ring); }
.data-table th { background: var(--green-light); color: var(--green-dark); font-weight: 700; padding: 14px 18px; text-align: left; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 15px; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--surface); }

.article-sidebar { position: sticky; top: 80px; padding: 56px 0; }
.toc-card { border-radius: var(--radius-card); border: 1px solid var(--border); padding: 24px; margin-bottom: 24px; }
.toc-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.toc-card ol { padding-left: 20px; }
.toc-card li { margin-bottom: 8px; font-size: 14px; }
.toc-card a { color: var(--green-dark); font-weight: 600; }
.related-card { border-radius: var(--radius-card); border: 1px solid var(--border); padding: 24px; }
.related-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.related-card ul { list-style: none; padding: 0; }
.related-card li { border-bottom: 1px solid var(--border); padding: 10px 0; font-size: 14px; }
.related-card li:last-child { border-bottom: none; }
.related-card a { color: var(--green-dark); font-weight: 600; text-decoration: none; }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(40px, 5vw, 72px); }
.page-body { max-width: 800px; padding: 56px 0 80px; }
.page-body h2 { font-size: 32px; font-weight: 900; margin: 40px 0 16px; }
.page-body h3 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; }
.page-body p { margin-bottom: 18px; }
.page-body ul { padding-left: 22px; margin-bottom: 18px; }
.page-body li { margin-bottom: 8px; }
.page-body a { color: var(--green-dark); }

.site-footer { background: var(--black); color: rgba(255,255,255,0.75); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); margin-bottom: 14px; }
.footer-logo .logo-mark { background: var(--green); color: var(--green-dark); }
.footer-logo .logo-text { font-weight: 700; font-size: 18px; }
.footer-tagline { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.5); }
.footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 15px; font-weight: 500; }
.footer-col a:hover { color: var(--green); opacity: 1; }
.footer-col address p { margin-bottom: 6px; font-size: 14px; }
.footer-col address a { color: var(--green); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; }
.footer-disclaimer { margin-top: 8px; }

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% - 48px);
    max-width: 680px;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.cookie-banner.is-visible { display: block; }
.cookie-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-inner p { font-size: 14px; color: rgba(255,255,255,0.8); flex: 1; }
.cookie-inner a { color: var(--green); }
.cookie-actions { display: flex; gap: 10px; }

.highlight-box {
    background: var(--green-light);
    border-left: 4px solid var(--green);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 16px;
    color: var(--green-dark);
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-img { display: none; }
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; padding-top: 0; }
    .stats-bar { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    h1 { font-size: clamp(40px, 10vw, 60px); }
    h2 { font-size: clamp(30px, 8vw, 48px); }
    .section { padding: 56px 0; }
    .articles-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .nav-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 4px;
    }
    .nav-menu.is-open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-cta { margin-left: 0; margin-top: 8px; }
}
