@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-surf:   #e8ebe6;
    --bg:           #ffffff;
    --ring:         rgba(14,15,12,0.12);
    --radius-card:  30px;
    --radius-pill:  9999px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-feature-settings: "calt";
    font-size: 18px;
    font-weight: 400;
    line-height: 1.44;
    letter-spacing: 0.18px;
    color: var(--near-black);
    background: var(--bg);
}

a { color: var(--dark-green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── HEADER / NAV ─────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--ring);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}

.logo {
    font-weight: 900;
    font-size: 22px;
    color: var(--near-black);
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    flex-shrink: 0;
}
.logo .logo-amp { color: var(--dark-green); }
.logo:hover { text-decoration: none; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    align-items: center;
}

.main-nav a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    color: var(--near-black);
    transition: background 0.15s;
}
.main-nav a:hover, .main-nav a.active {
    background: rgba(211,242,192,0.4);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--near-black);
    border-radius: 2px;
    transition: transform 0.2s;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-pill {
    display: inline-block;
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    font-feature-settings: "calt";
    letter-spacing: -0.108px;
    cursor: pointer;
    border: none;
    transition: transform 0.15s;
    text-decoration: none;
}
.btn-pill:hover  { transform: scale(1.05); text-decoration: none; }
.btn-pill:active { transform: scale(0.95); }

.btn-green  { background: var(--wise-green); color: var(--dark-green); }
.btn-ghost  { background: rgba(22,51,0,0.08); color: var(--near-black); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
    padding: 80px 0 64px;
    background: var(--bg);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text { }

.hero-label {
    display: inline-block;
    background: var(--light-mint);
    color: var(--dark-green);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: clamp(48px, 6vw, 96px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    color: var(--near-black);
    margin-bottom: 24px;
    font-feature-settings: "calt";
}

.hero h1 em {
    font-style: normal;
    color: var(--dark-green);
}

.hero-desc {
    font-size: 18px;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-image {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--ring) 0px 0px 0px 1px;
}
.hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* ─── SECTION TITLES ────────────────────────────────────────── */
.section-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1.5px;
    color: var(--near-black);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}
.section-sub {
    font-size: 17px;
    color: var(--warm-dark);
    margin-bottom: 48px;
    max-width: 560px;
}

/* ─── ARTICLE CARDS ─────────────────────────────────────────── */
.articles-section { padding: 80px 0; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    border-radius: var(--radius-card);
    border: 1px solid var(--ring);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 24px rgba(14,15,12,0.10); }

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.card-tag {
    display: inline-block;
    background: var(--light-mint);
    color: var(--dark-green);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.39px;
    color: var(--near-black);
    margin-bottom: 10px;
    font-feature-settings: "calt";
}

.card-excerpt {
    font-size: 15px;
    color: var(--warm-dark);
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.card-meta {
    font-size: 13px;
    color: var(--gray);
    margin-top: auto;
}

.card-link { color: var(--dark-green); font-weight: 600; font-size: 14px; }
.card-link:hover { text-decoration: underline; }

/* ─── ABOUT STRIP ───────────────────────────────────────────── */
.about-strip {
    background: var(--near-black);
    color: #fff;
    padding: 80px 0;
    border-radius: 40px;
    margin: 0 24px 80px;
}

.about-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 0 48px;
}

.about-strip h2 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    font-feature-settings: "calt";
}
.about-strip h2 span { color: var(--wise-green); }
.about-strip p { color: rgba(255,255,255,0.75); line-height: 1.6; font-size: 16px; }

/* ─── CONTACT FORM ──────────────────────────────────────────── */
.contact-section { padding: 80px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}
.contact-info p { color: var(--warm-dark); margin-bottom: 8px; }
.contact-info a { color: var(--dark-green); font-weight: 600; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--near-black);
}

.form-group input,
.form-group textarea {
    border: 1px solid rgba(14,15,12,0.25);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: var(--near-black);
    background: var(--bg);
    outline: none;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--dark-green);
    box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset;
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── ARTICLE PAGE ──────────────────────────────────────────── */
.article-header { padding: 64px 0 40px; }

.article-header-label {
    display: inline-block;
    background: var(--light-mint);
    color: var(--dark-green);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.article-header h1 {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    color: var(--near-black);
    margin-bottom: 20px;
    font-feature-settings: "calt";
    max-width: 800px;
}

.article-meta {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 32px;
}

.article-hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-card);
    margin-bottom: 64px;
    box-shadow: var(--ring) 0px 0px 0px 1px;
}

.article-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
    align-items: start;
    padding-bottom: 80px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--near-black);
    margin: 48px 0 16px;
    font-feature-settings: "calt";
}
.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.4px;
    color: var(--near-black);
    margin: 32px 0 12px;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--near-black);
    line-height: 1.65;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px 24px;
    line-height: 1.65;
}

.article-content li { margin-bottom: 8px; }

.article-content a { color: var(--dark-green); font-weight: 600; }

.article-content img {
    width: 100%;
    border-radius: 16px;
    margin: 32px 0;
    box-shadow: var(--ring) 0px 0px 0px 1px;
}

.article-sidebar { }

.sidebar-card {
    border: 1px solid var(--ring);
    border-radius: var(--radius-card);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--near-black);
}

.sidebar-card ul { list-style: none; }
.sidebar-card ul li { border-bottom: 1px solid var(--light-surf); padding: 8px 0; font-size: 14px; }
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a { color: var(--dark-green); font-weight: 600; font-size: 14px; }

/* ─── GENERIC PAGE CONTENT ──────────────────────────────────── */
.page-header { padding: 64px 0 32px; border-bottom: 1px solid var(--light-surf); margin-bottom: 48px; }
.page-header h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
}

.page-content { padding-bottom: 80px; max-width: 720px; }
.page-content h2 { font-size: 24px; font-weight: 700; margin: 36px 0 12px; }
.page-content h3 { font-size: 19px; font-weight: 600; margin: 24px 0 8px; }
.page-content p { margin-bottom: 16px; line-height: 1.65; color: var(--near-black); }
.page-content ul { margin: 0 0 16px 24px; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--dark-green); font-weight: 600; }

.updated-tag {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 32px;
}

/* ─── DISCLAIMER ────────────────────────────────────────────── */
.disclaimer {
    background: var(--light-mint);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 32px 0;
    font-size: 14px;
    color: var(--dark-green);
    line-height: 1.6;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.site-footer { background: var(--near-black); color: rgba(255,255,255,0.8); padding: 64px 0 0; }

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { color: #fff; }
.footer-brand .logo .logo-amp { color: var(--wise-green); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 8px; max-width: 240px; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.footer-col ul li a { color: rgba(255,255,255,0.75); }
.footer-col ul li a:hover { color: var(--wise-green); text-decoration: none; }

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--wise-green); }

/* ─── COOKIE BANNER ─────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 48px);
    max-width: 680px;
    background: var(--near-black);
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: 0 8px 40px rgba(14,15,12,0.25);
}
.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-banner p { font-size: 14px; color: rgba(255,255,255,0.8); }
.cookie-banner a { color: var(--wise-green); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ─── ABOUT PAGE STATS ──────────────────────────────────────── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
}
.stat-card {
    border: 1px solid var(--ring);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    text-align: center;
}
.stat-num {
    font-size: 48px;
    font-weight: 900;
    color: var(--dark-green);
    line-height: 1;
    margin-bottom: 8px;
    font-feature-settings: "calt";
}
.stat-label { font-size: 15px; color: var(--warm-dark); }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-inner, .cards-grid, .about-strip-inner, .contact-grid, .article-body {
        grid-template-columns: 1fr;
    }
    .hero-image { order: -1; }
    .hero-image img { height: 300px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .about-strip { margin: 0 0 48px; border-radius: 0; }
    .about-strip-inner { padding: 0 24px; }
    .article-hero-img { height: 280px; }
    .stats-row { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--ring);
        padding: 16px 24px;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .site-header { position: relative; }
    .hero { padding: 48px 0 40px; }
    .cards-grid { gap: 16px; }
    .footer-links { grid-template-columns: 1fr; }
    .cookie-inner { flex-direction: column; }
    .article-header h1 { font-size: 36px; letter-spacing: -1px; }
}
