@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&display=swap');

:root {
    --near-black: #0e0f0c;
    --wise-green: #9fe870;
    --dark-green: #163300;
    --light-mint: #e2f6d5;
    --pastel-green: #cdffad;
    --positive-green: #054d28;
    --warm-dark: #454745;
    --gray: #868685;
    --light-surface: #e8ebe6;
    --white: #ffffff;
    --border: rgba(14,15,12,0.12);
    --font-body: 'Inter', Helvetica, Arial, sans-serif;
    --radius-pill: 9999px;
    --radius-card: 30px;
    --radius-card-sm: 16px;
    --radius-section: 40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.44;
    letter-spacing: 0.18px;
    color: var(--near-black);
    background: var(--white);
    font-feature-settings: "calt";
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-card-sm); }
a { color: var(--dark-green); text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.75; }
ul, ol { list-style: none; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.44;
    letter-spacing: -0.108px;
    font-feature-settings: "calt";
    border: none;
    cursor: pointer;
    border-radius: var(--radius-pill);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(0.95); }
.btn-primary {
    background: var(--wise-green);
    color: var(--dark-green);
    padding: 10px 24px;
}
.btn-secondary {
    background: rgba(22,51,0,0.08);
    color: var(--near-black);
    padding: 10px 24px;
}
.btn-sm { font-size: 15px; padding: 7px 18px; }

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 22px;
    color: var(--near-black);
    text-decoration: none;
    flex-shrink: 0;
    font-feature-settings: "calt";
}
.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wise-green);
    color: var(--dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--near-black);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: background 0.15s, transform 0.15s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-feature-settings: "calt";
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-link:hover, .nav-dropdown-toggle:hover { background: rgba(211,242,192,0.4); opacity: 1; }
.nav-link--active { background: var(--light-mint); color: var(--dark-green); }
.nav-item--dropdown { position: relative; }
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius-card-sm);
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px, rgba(14,15,12,0.08) 0px 8px 24px;
    min-width: 240px;
    padding: 8px;
    z-index: 200;
}
.nav-item--dropdown.open .nav-dropdown { display: block; }
.nav-dropdown-link {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--near-black);
    padding: 10px 14px;
    border-radius: 10px;
    transition: background 0.12s;
}
.nav-dropdown-link:hover { background: var(--light-mint); color: var(--dark-green); opacity: 1; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--near-black);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.hero {
    background: var(--white);
    padding: 80px 24px 72px;
    text-align: center;
}
.hero__eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    border-radius: var(--radius-pill);
    padding: 4px 14px;
    margin-bottom: 24px;
    letter-spacing: -0.084px;
    font-feature-settings: "calt";
}
.hero__title {
    font-family: var(--font-body);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -2px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 28px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero__lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--warm-dark);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.44;
    letter-spacing: -0.108px;
    font-feature-settings: "calt";
}

.hero__image {
    max-width: 1100px;
    margin: 56px auto 0;
    border-radius: var(--radius-section);
    overflow: hidden;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}
.hero__image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 0;
}

.section { padding: 80px 0; }
.section--tinted { background: var(--light-surface); }
.section-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}
.section-title {
    font-family: var(--font-body);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 0.85;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 20px;
}
.section-lead {
    font-size: 18px;
    font-weight: 400;
    color: var(--warm-dark);
    max-width: 640px;
    line-height: 1.44;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: rgba(14,15,12,0.18) 0px 0px 0px 1px, rgba(14,15,12,0.08) 0px 12px 32px;
}
.card__image { width: 100%; height: 220px; object-fit: cover; border-radius: 0; }
.card__body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.card__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    border-radius: var(--radius-pill);
    padding: 3px 12px;
    margin-bottom: 14px;
    font-feature-settings: "calt";
}
.card__title {
    font-size: 22px;
    font-weight: 600;
    color: var(--near-black);
    line-height: 1.25;
    letter-spacing: -0.396px;
    font-feature-settings: "calt";
    margin-bottom: 12px;
}
.card__excerpt {
    font-size: 16px;
    color: var(--warm-dark);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 24px;
}
.card__link {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-feature-settings: "calt";
}
.card__link::after { content: '→'; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.feature-item {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 36px 32px;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}
.feature-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--light-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}
.feature-item__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--near-black);
    margin-bottom: 10px;
    line-height: 1.25;
    letter-spacing: -0.396px;
    font-feature-settings: "calt";
}
.feature-item__text {
    font-size: 16px;
    color: var(--warm-dark);
    line-height: 1.5;
}

.banner-section {
    background: var(--near-black);
    border-radius: var(--radius-section);
    padding: 72px 56px;
    margin: 80px auto;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.banner-section__title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 0.85;
    color: var(--white);
    font-feature-settings: "calt";
    max-width: 560px;
}
.banner-section__title em {
    color: var(--wise-green);
    font-style: normal;
}

.article-hero {
    background: var(--white);
    padding: 64px 24px 48px;
}
.article-hero__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.article-hero__tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    border-radius: var(--radius-pill);
    padding: 4px 14px;
    font-feature-settings: "calt";
}
.article-hero__date {
    font-size: 14px;
    color: var(--gray);
    font-feature-settings: "calt";
}
.article-hero__title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    line-height: 0.85;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 24px;
    max-width: 860px;
}
.article-hero__lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--warm-dark);
    max-width: 680px;
    line-height: 1.44;
    letter-spacing: -0.108px;
    font-feature-settings: "calt";
    margin-bottom: 40px;
}
.article-hero__image {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}
.article-hero__image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 0;
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}
.article-body h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 0.9;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 56px 0 20px;
}
.article-body h3 {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 36px 0 14px;
}
.article-body p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--near-black);
    margin-bottom: 20px;
}
.article-body ul, .article-body ol {
    margin: 20px 0 20px 24px;
    list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li {
    font-size: 18px;
    line-height: 1.7;
    color: var(--near-black);
    margin-bottom: 8px;
}
.article-body a { color: var(--dark-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { opacity: 0.7; }
.article-body .callout {
    background: var(--light-mint);
    border-left: 4px solid var(--wise-green);
    border-radius: 0 var(--radius-card-sm) var(--radius-card-sm) 0;
    padding: 20px 24px;
    margin: 32px 0;
    font-weight: 600;
    color: var(--dark-green);
}
.article-body .article-img {
    margin: 40px 0;
    border-radius: var(--radius-card-sm);
    overflow: hidden;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}
.article-body .article-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 0;
}
.article-body .article-img figcaption {
    font-size: 14px;
    color: var(--gray);
    padding: 10px 14px;
    background: var(--light-surface);
}

.related-articles { padding: 64px 0; background: var(--light-surface); }
.related-articles .section-title { margin-bottom: 40px; }

.page-hero {
    padding: 64px 24px 48px;
    border-bottom: 1px solid var(--border);
}
.page-hero__title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 0.85;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 20px;
}
.page-hero__lead {
    font-size: 18px;
    color: var(--warm-dark);
    max-width: 560px;
    line-height: 1.5;
}
.page-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}
.page-body h2 {
    font-size: 32px;
    font-weight: 900;
    line-height: 0.9;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 48px 0 16px;
}
.page-body h3 {
    font-size: 22px;
    font-weight: 900;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 32px 0 12px;
}
.page-body p, .page-body li {
    font-size: 17px;
    line-height: 1.65;
    color: var(--near-black);
    margin-bottom: 16px;
}
.page-body ul { margin: 16px 0 16px 24px; list-style: disc; }
.page-body a { color: var(--dark-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.site-footer {
    background: var(--near-black);
    color: var(--white);
    padding: 72px 0 0;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 20px;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}
.footer-tagline {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
    margin-bottom: 20px;
}
.footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
    font-style: normal;
}
.footer-contact a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-contact a:hover { color: var(--wise-green); opacity: 1; }
.footer-heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 18px;
    font-feature-settings: "calt";
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.15s;
    font-weight: 400;
}
.footer-links a:hover { color: var(--wise-green); opacity: 1; }

.contact-form { display: flex; flex-direction: column; gap: 10px; }
.contact-form input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: border-color 0.15s;
}
.contact-form input::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus { border-color: var(--wise-green); box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset; }
.contact-form .btn { margin-top: 4px; align-self: flex-start; }

.footer-bottom {
    padding: 24px 0 32px;
}
.footer-legal, .footer-disclaimer {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.55;
    margin-bottom: 6px;
}
.footer-legal a { color: rgba(255,255,255,0.55); text-decoration: underline; }

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--near-black);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-card);
    padding: 20px 28px;
    max-width: 560px;
    width: calc(100% - 48px);
    box-shadow: rgba(14,15,12,0.25) 0px 8px 32px;
    display: none;
}
.cookie-banner.visible { display: block; }
.cookie-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-inner p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    flex: 1;
    min-width: 200px;
}
.cookie-inner a { color: var(--wise-green); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

@media (max-width: 992px) {
    .card-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .banner-section { flex-direction: column; padding: 48px 32px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid var(--border);
        padding: 12px;
        box-shadow: rgba(14,15,12,0.08) 0px 8px 24px;
    }
    .nav-menu.open { display: flex; }
    .nav-item--dropdown { width: 100%; }
    .nav-dropdown { position: static; box-shadow: none; padding: 0 0 0 12px; }
    .nav-item--dropdown.open .nav-dropdown { display: block; }
    .hero { padding: 56px 24px 48px; }
    .hero__title { font-size: clamp(38px, 9vw, 64px); }
    .hero__image img { height: 280px; }
    .article-hero__title { font-size: clamp(32px, 8vw, 56px); }
}

@media (max-width: 576px) {
    .card-grid, .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .banner-section { padding: 40px 24px; border-radius: var(--radius-card); margin: 48px 16px; }
    .hero { padding: 40px 16px 32px; }
    .container, .container--narrow { padding: 0 16px; }
    .article-body { padding: 40px 16px 60px; }
    .page-body { padding: 40px 16px 60px; }
}
