@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --near-black: #0e0f0c;
    --wise-green: #9fe870;
    --dark-green: #163300;
    --light-mint: #e2f6d5;
    --pastel-green: #cdffad;
    --warm-dark: #454745;
    --gray: #868685;
    --light-surface: #e8ebe6;
    --white: #ffffff;
    --ring-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    font-feature-settings: "calt";
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.44;
    letter-spacing: 0.18px;
    color: var(--near-black);
    background: var(--white);
    font-feature-settings: "calt";
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: var(--ring-shadow);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--near-black);
    letter-spacing: -0.02em;
    font-feature-settings: "calt";
}
.site-logo span { color: var(--dark-green); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 9999px;
    transition: background 0.2s;
    color: var(--near-black);
    font-feature-settings: "calt";
}
.nav-link:hover { background: rgba(211,242,192,0.4); }
.nav-active { background: var(--light-mint); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--near-black);
    border-radius: 2px;
    transition: transform 0.2s;
}

.btn-primary {
    display: inline-block;
    background: var(--wise-green);
    color: var(--dark-green);
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 24px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt";
    text-align: center;
}
.btn-primary:hover { transform: scale(1.05); }
.btn-primary:active { transform: scale(0.95); }

.btn-secondary {
    display: inline-block;
    background: rgba(22,51,0,0.08);
    color: var(--near-black);
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 22px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt";
}
.btn-secondary:hover { transform: scale(1.05); }
.btn-secondary:active { transform: scale(0.95); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero {
    background: var(--white);
    padding: 80px 24px 60px;
    text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; }

.display-hero {
    font-weight: 900;
    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 32px;
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--warm-dark);
    margin-bottom: 40px;
    line-height: 1.44;
    font-feature-settings: "calt";
    letter-spacing: -0.108px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-image {
    margin: 60px auto 0;
    max-width: 960px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring-shadow);
}
.hero-image img { width: 100%; height: 480px; object-fit: cover; }

.section { padding: 80px 0; }
.section-alt { background: var(--light-surface); }

.section-heading {
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 0.85;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 48px;
}
.section-heading.center { text-align: center; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    border-radius: 30px;
    box-shadow: var(--ring-shadow);
    background: var(--white);
    overflow: hidden;
    transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }

.card-image { width: 100%; height: 220px; object-fit: cover; }

.card-body { padding: 28px; }

.card-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--light-mint);
    color: var(--dark-green);
    border-radius: 9999px;
    padding: 3px 12px;
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.card-title {
    font-weight: 600;
    font-size: 1.38rem;
    line-height: 1.25;
    letter-spacing: -0.396px;
    color: var(--near-black);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.card-text {
    font-size: 1rem;
    color: var(--warm-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-date {
    font-size: 0.84rem;
    color: var(--gray);
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--ring-shadow);
}

.feature-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--near-black);
    margin-bottom: 10px;
    font-feature-settings: "calt";
}

.feature-text {
    font-size: 0.95rem;
    color: var(--warm-dark);
    line-height: 1.5;
}

.contact-form-section {
    background: var(--near-black);
    padding: 80px 24px;
    color: var(--white);
}
.contact-form-inner { max-width: 600px; margin: 0 auto; }

.contact-form-section .section-heading { color: var(--white); margin-bottom: 16px; }
.contact-form-section p { color: rgba(255,255,255,0.7); margin-bottom: 40px; font-size: 1rem; }

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 6px;
    font-feature-settings: "calt";
}
.form-group input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    font-feature-settings: "calt";
}
.form-group input:focus { border-color: var(--wise-green); }
.form-group input::placeholder { color: rgba(255,255,255,0.35); }

.form-submit {
    width: 100%;
    margin-top: 8px;
    padding: 14px 24px;
    background: var(--wise-green);
    color: var(--dark-green);
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt";
}
.form-submit:hover { transform: scale(1.05); }
.form-submit:active { transform: scale(0.95); }

.site-footer {
    background: var(--near-black);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .site-logo { color: var(--white); margin-bottom: 16px; display: block; }
.footer-brand .site-logo span { color: var(--wise-green); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer-links h3, .footer-contact h3 {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { font-size: 0.9rem; transition: color 0.2s; }
.footer-links ul li a:hover { color: var(--wise-green); }

.footer-contact p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 12px; }
.footer-contact a { transition: color 0.2s; }
.footer-contact a:hover { color: var(--wise-green); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

.article-hero {
    padding: 64px 24px 48px;
    max-width: 860px;
    margin: 0 auto;
}

.article-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--light-mint);
    color: var(--dark-green);
    border-radius: 9999px;
    padding: 3px 14px;
    margin-bottom: 20px;
}

.article-title {
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 0.9;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 20px;
}

.article-meta {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 36px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-cover {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: var(--ring-shadow);
}
.article-cover img { width: 100%; height: 460px; object-fit: cover; }

.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.article-body h2 {
    font-weight: 900;
    font-size: 2rem;
    line-height: 0.95;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 48px 0 20px;
}

.article-body h3 {
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--near-black);
    margin: 32px 0 12px;
    font-feature-settings: "calt";
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 8px;
}

.article-body a {
    color: var(--dark-green);
    text-decoration: underline;
    text-decoration-color: var(--wise-green);
}
.article-body a:hover { text-decoration-color: var(--dark-green); }

.article-body .note-box {
    background: var(--light-mint);
    border-left: 3px solid var(--wise-green);
    border-radius: 0 16px 16px 0;
    padding: 20px 24px;
    margin: 32px 0;
}
.article-body .note-box p { margin-bottom: 0; color: var(--dark-green); font-weight: 600; }

.article-image-caption { margin: 32px 0; }
.article-image-caption img { border-radius: 20px; width: 100%; }
.article-image-caption figcaption {
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 8px;
    text-align: center;
}

.related-articles {
    padding: 80px 0;
    background: var(--light-surface);
}

.page-hero {
    padding: 64px 24px 48px;
    max-width: 860px;
    margin: 0 auto;
}
.page-title {
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.85;
    font-feature-settings: "calt";
    margin-bottom: 16px;
}
.page-updated { font-size: 0.88rem; color: var(--gray); margin-bottom: 40px; }

.page-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 80px;
}
.page-body h2 {
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 44px 0 16px;
}
.page-body h3 {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--near-black);
    margin: 28px 0 10px;
    font-feature-settings: "calt";
}
.page-body p { font-size: 1.02rem; line-height: 1.7; color: var(--warm-dark); margin-bottom: 18px; }
.page-body ul { list-style: disc; padding-left: 24px; margin-bottom: 18px; }
.page-body li { font-size: 1.02rem; line-height: 1.7; color: var(--warm-dark); margin-bottom: 6px; }
.page-body a { color: var(--dark-green); text-decoration: underline; }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--near-black);
    color: var(--white);
    padding: 20px 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.3);
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { font-size: 0.9rem; flex: 1; min-width: 260px; line-height: 1.5; }
.cookie-banner p a { color: var(--wise-green); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-accept {
    background: var(--wise-green);
    color: var(--dark-green);
    border: none;
    border-radius: 9999px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt";
}
.cookie-accept:hover { transform: scale(1.05); }
.cookie-reject {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 9999px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt";
}
.cookie-reject:hover { transform: scale(1.05); }

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 0;
    font-size: 0.88rem;
    color: var(--gray);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--dark-green); }
.breadcrumb span { color: var(--near-black); }

@media (max-width: 992px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        gap: 4px;
    }
    .site-nav.open { display: flex; }
    .site-header { position: relative; }
    .hero { padding: 48px 24px 40px; }
    .display-hero { font-size: 2.8rem; }
    .hero-image img { height: 260px; }
    .section { padding: 48px 0; }
    .card-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .article-cover img { height: 260px; }
}

@media (max-width: 576px) {
    .header-inner { padding: 0 16px; }
    .hero { padding: 40px 16px 32px; }
    .container { padding: 0 16px; }
    .footer-bottom { flex-direction: column; }
}
