:root {
    --black: #0e0f0c;
    --green: #9fe870;
    --green-dark: #163300;
    --green-mint: #e2f6d5;
    --green-hover: #cdffad;
    --gray: #868685;
    --gray-warm: #454745;
    --surface: #e8ebe6;
    --white: #ffffff;
    --radius-pill: 9999px;
    --radius-card: 30px;
    --radius-card-sm: 16px;
    --radius-section: 40px;
    --shadow-ring: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    font-feature-settings: "calt" 1;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.44;
    letter-spacing: -0.108px;
    color: var(--black);
    background: var(--white);
    font-feature-settings: "calt" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    line-height: 0.85;
    font-feature-settings: "calt" 1;
    color: var(--black);
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.1; }

p { font-weight: 400; line-height: 1.44; letter-spacing: 0.18px; }

.btn-primary {
    display: inline-block;
    background: var(--green);
    color: var(--green-dark);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
    font-feature-settings: "calt" 1;
}
.btn-primary:hover { transform: scale(1.05); background: var(--green-hover); }
.btn-primary:active { transform: scale(0.95); }

.btn-secondary {
    display: inline-block;
    background: rgba(22,51,0,0.08);
    color: var(--black);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease;
    font-feature-settings: "calt" 1;
}
.btn-secondary:hover { transform: scale(1.05); }
.btn-secondary:active { transform: scale(0.95); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: var(--shadow-ring);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--black);
    line-height: 1;
    flex-shrink: 0;
}
.logo span { color: var(--green-dark); }

.main-nav ul { display: flex; align-items: center; gap: 8px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.15s;
    display: block;
}
.main-nav > ul > li > a:hover { background: rgba(211,242,192,0.4); }

.has-dropdown .dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-ring);
    border-radius: var(--radius-card-sm);
    min-width: 220px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex; }
.has-dropdown .dropdown li a {
    display: block;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.15s;
}
.has-dropdown .dropdown li a:hover { background: var(--green-mint); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-card-sm);
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.hero {
    padding: 96px 0 80px;
    background: var(--white);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }
.hero-label {
    display: inline-block;
    background: var(--green-mint);
    color: var(--green-dark);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    width: fit-content;
}
.hero h1 { margin-bottom: 0; }
.hero-desc { font-size: 1.125rem; font-weight: 400; color: var(--gray-warm); max-width: 480px; }
.hero-image { border-radius: var(--radius-section); overflow: hidden; aspect-ratio: 4/3; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.125rem; color: var(--gray-warm); font-weight: 400; max-width: 600px; }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-ring);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card-image { aspect-ratio: 16/10; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-image img { transform: scale(1.04); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.card-tag {
    display: inline-block;
    background: var(--green-mint);
    color: var(--green-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    width: fit-content;
}
.card-title {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.23;
    letter-spacing: -0.39px;
}
.card-excerpt { font-size: 1rem; font-weight: 400; color: var(--gray-warm); line-height: 1.5; flex: 1; }
.card-meta { font-size: 0.875rem; font-weight: 400; color: var(--gray); margin-top: 8px; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-top: 4px;
}
.card-link:hover { text-decoration: underline; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-ring);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--green-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.feature-title { font-size: 1.375rem; font-weight: 600; line-height: 1.25; }
.feature-desc { font-size: 1rem; font-weight: 400; color: var(--gray-warm); line-height: 1.5; }

.article-hero {
    padding: 64px 0 40px;
    background: var(--white);
}
.article-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 16px; }
.article-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 0.875rem; color: var(--gray); font-weight: 400; }
.article-meta .tag { background: var(--green-mint); color: var(--green-dark); padding: 4px 12px; border-radius: var(--radius-pill); font-weight: 600; }

.article-body { padding: 0 0 80px; }
.article-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.article-content { max-width: 760px; }
.article-content h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 40px 0 16px; }
.article-content h3 { font-size: 1.375rem; line-height: 1.25; margin: 28px 0 12px; }
.article-content p { font-size: 1.05rem; font-weight: 400; line-height: 1.7; color: #1a1b19; margin-bottom: 16px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { font-size: 1.05rem; font-weight: 400; line-height: 1.7; color: #1a1b19; margin-bottom: 6px; list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content a { color: var(--green-dark); text-decoration: underline; }
.article-content a:hover { color: var(--black); }
.article-content .lead { font-size: 1.2rem; font-weight: 400; color: var(--gray-warm); margin-bottom: 32px; line-height: 1.6; }
.article-image { border-radius: var(--radius-card); overflow: hidden; margin: 32px 0; }
.article-image img { width: 100%; height: auto; }
.article-image figcaption { font-size: 0.8rem; color: var(--gray); padding: 8px 0 0; font-weight: 400; }
.info-box {
    background: var(--green-mint);
    border-left: 4px solid var(--green-dark);
    border-radius: 0 var(--radius-card-sm) var(--radius-card-sm) 0;
    padding: 20px 24px;
    margin: 24px 0;
}
.info-box p { color: var(--green-dark); font-weight: 600; font-size: 1rem; margin: 0; }
.article-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-ring);
    padding: 24px;
}
.sidebar-widget h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.sidebar-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--surface); }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { font-size: 0.95rem; font-weight: 600; color: var(--black); }
.sidebar-widget ul li a:hover { color: var(--green-dark); }
.toc-list { counter-reset: toc; }
.toc-list li { counter-increment: toc; }
.toc-list li::before { content: counter(toc) ". "; color: var(--green-dark); font-weight: 700; }

.page-hero {
    padding: 64px 0 40px;
    background: var(--white);
    border-bottom: 1px solid var(--surface);
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 12px; }
.page-content { padding: 48px 0 80px; }
.page-content .prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 36px 0 12px; }
.prose h3 { font-size: 1.25rem; line-height: 1.3; margin: 24px 0 10px; }
.prose p { font-size: 1.05rem; font-weight: 400; line-height: 1.7; color: #1a1b19; margin-bottom: 16px; }
.prose ul { padding-left: 24px; margin-bottom: 16px; }
.prose ul li { font-size: 1.05rem; font-weight: 400; line-height: 1.7; list-style: disc; margin-bottom: 6px; }
.prose a { color: var(--green-dark); text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-ring); padding: 40px; }
.contact-form h2 { font-size: 2rem; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(14,15,12,0.2);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    color: var(--black);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-dark);
    box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message { margin-top: 16px; padding: 14px 20px; border-radius: var(--radius-card-sm); font-size: 0.95rem; font-weight: 600; display: none; }
.form-message.success { background: var(--green-mint); color: var(--green-dark); display: block; }
.form-message.error { background: #fde8e9; color: #d03238; display: block; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info h2 { font-size: 2rem; margin-bottom: 0; }
.contact-detail { display: flex; flex-direction: column; gap: 4px; }
.contact-detail strong { font-size: 1rem; font-weight: 700; }
.contact-detail span { font-size: 1rem; font-weight: 400; color: var(--gray-warm); }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black);
    color: var(--white);
    padding: 20px 24px;
    z-index: 9999;
    display: none;
}
.cookie-banner.visible { display: block; }
.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.95rem; font-weight: 400; line-height: 1.5; color: rgba(255,255,255,0.85); flex: 1; min-width: 240px; }
.cookie-inner p a { color: var(--green); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-accept {
    background: var(--green);
    color: var(--green-dark);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
}
.cookie-accept:hover { transform: scale(1.05); }
.cookie-reject {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
}
.cookie-reject:hover { transform: scale(1.05); }

.site-footer { background: var(--black); color: var(--white); }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 48px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 0.95rem; font-weight: 400; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-links h4 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { font-size: 0.95rem; font-weight: 400; color: rgba(255,255,255,0.7); transition: color 0.15s; }
.footer-links ul li a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.footer-bottom p { font-size: 0.8rem; font-weight: 400; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-bottom .disclaimer { font-size: 0.75rem; }

.breadcrumb { padding: 16px 0; font-size: 0.875rem; font-weight: 400; color: var(--gray); }
.breadcrumb a { color: var(--gray-warm); }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb span { margin: 0 8px; }

@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-image { order: -1; max-height: 320px; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .article-grid { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .articles-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-ring);
        padding: 16px;
        z-index: 99;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .has-dropdown .dropdown { position: static; box-shadow: none; padding: 4px 0 4px 16px; display: none; }
    .has-dropdown.open .dropdown { display: flex; }
    .hero { padding: 48px 0; }
    .section { padding: 48px 0; }
}
