@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;
    --nav-hover: rgba(211,242,192,0.4);
    --ring-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    --border: 1px solid rgba(14,15,12,0.12);
    font-variant-ligatures: contextual;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    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";
}

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 {
    background: var(--white);
    border-bottom: var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 22px;
    line-height: 1;
    color: var(--near-black);
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    text-decoration: none;
}

.site-logo span { color: var(--dark-green); }

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

.site-nav a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--near-black);
    padding: 8px 14px;
    border-radius: 9999px;
    transition: background 0.15s ease;
    font-feature-settings: "calt";
    text-decoration: none;
}

.site-nav a:hover { background: var(--nav-hover); text-decoration: none; }
.site-nav a.active { background: var(--light-mint); }

.nav-cta {
    background: var(--wise-green);
    color: var(--dark-green) !important;
    padding: 8px 20px !important;
    border-radius: 9999px;
    font-weight: 600 !important;
    transition: transform 0.15s ease !important;
}

.nav-cta:hover { transform: scale(1.05); background: var(--wise-green) !important; text-decoration: none !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--near-black);
    border-radius: 2px;
    transition: all 0.2s;
}

/* HERO */
.hero {
    padding: 80px 24px 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    background: var(--light-mint);
    color: var(--dark-green);
    font-weight: 600;
    font-size: 14px;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 24px;
    font-feature-settings: "calt";
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    color: var(--near-black);
    font-feature-settings: "calt";
    max-width: 820px;
    margin-bottom: 28px;
}

.hero-sub {
    font-size: 18px;
    font-weight: 400;
    color: var(--warm-dark);
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 36px;
}

.btn-primary {
    display: inline-block;
    background: var(--wise-green);
    color: var(--dark-green);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    padding: 14px 28px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease;
    font-feature-settings: "calt";
    text-decoration: none;
}
.btn-primary:hover { transform: scale(1.05); text-decoration: none; color: var(--dark-green); }
.btn-primary:active { transform: scale(0.95); }

.btn-secondary {
    display: inline-block;
    background: rgba(22,51,0,0.08);
    color: var(--near-black);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 22px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease;
    font-feature-settings: "calt";
    text-decoration: none;
}
.btn-secondary:hover { transform: scale(1.05); text-decoration: none; color: var(--near-black); }
.btn-secondary:active { transform: scale(0.95); }

/* SECTION HEADINGS */
.section-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -1.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.section-sub {
    font-size: 18px;
    font-weight: 400;
    color: var(--warm-dark);
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 48px;
}

/* CARDS */
.card {
    border: var(--border);
    border-radius: 30px;
    padding: 32px;
    background: var(--white);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.card:hover {
    box-shadow: var(--ring-shadow);
    transform: translateY(-2px);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.card-label {
    display: inline-block;
    background: var(--light-mint);
    color: var(--dark-green);
    font-weight: 600;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 9999px;
    margin-bottom: 12px;
    font-feature-settings: "calt";
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.396px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    color: var(--warm-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-meta {
    font-size: 13px;
    color: var(--gray);
    font-weight: 400;
}

/* GRID */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* SECTIONS */
.section { padding: 72px 0; }
.section-dark { background: var(--near-black); color: var(--white); padding: 72px 0; }
.section-mint { background: var(--light-mint); padding: 72px 0; }

.section-dark .section-heading { color: var(--white); }
.section-dark .section-sub { color: var(--light-surface); }

/* FEATURED STRIP */
.featured-strip {
    background: var(--light-mint);
    border-radius: 40px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 48px 0;
}

.featured-strip img {
    border-radius: 20px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-strip h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -1.2px;
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.featured-strip p {
    font-size: 17px;
    color: var(--warm-dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ARTICLE PAGE */
.article-hero {
    padding: 56px 0 40px;
    border-bottom: var(--border);
    margin-bottom: 48px;
}

.article-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    font-feature-settings: "calt";
    margin-bottom: 20px;
    max-width: 860px;
}

.article-meta {
    font-size: 14px;
    color: var(--gray);
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.article-meta span { display: flex; align-items: center; gap: 4px; }

.article-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 48px;
}

.article-body { max-width: 740px; }

.article-body h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.8px;
    font-feature-settings: "calt";
    margin: 40px 0 16px;
}

.article-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.4px;
    font-feature-settings: "calt";
    margin: 28px 0 10px;
}

.article-body p { font-size: 18px; line-height: 1.7; margin-bottom: 20px; color: var(--warm-dark); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { font-size: 18px; line-height: 1.7; color: var(--warm-dark); margin-bottom: 8px; }

.article-body a { color: var(--dark-green); font-weight: 600; text-decoration: underline; }

.callout {
    background: var(--light-mint);
    border-left: 4px solid var(--wise-green);
    border-radius: 0 16px 16px 0;
    padding: 20px 24px;
    margin: 28px 0;
    font-size: 17px;
    color: var(--dark-green);
    font-weight: 600;
    line-height: 1.5;
}

.tip-box {
    background: var(--near-black);
    color: var(--white);
    border-radius: 20px;
    padding: 28px 32px;
    margin: 32px 0;
}
.tip-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--wise-green);
    margin-bottom: 10px;
    font-feature-settings: "calt";
}
.tip-box p { font-size: 16px; color: var(--light-surface); margin: 0; }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }

.sidebar { position: sticky; top: 90px; }

.sidebar-card {
    border: var(--border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-card h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray);
    margin-bottom: 14px;
    font-feature-settings: "calt";
}

.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card li { margin-bottom: 10px; }
.sidebar-card a {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-green);
    text-decoration: none;
    line-height: 1.4;
}
.sidebar-card a:hover { text-decoration: underline; }

/* CONTACT FORM */
.form-section { background: var(--light-surface); border-radius: 40px; padding: 56px 48px; margin: 48px 0; }

.form-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -1px;
    font-feature-settings: "calt";
    margin-bottom: 12px;
}

.form-section p { font-size: 17px; color: var(--warm-dark); margin-bottom: 32px; line-height: 1.6; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--near-black);
    font-feature-settings: "calt";
}

.form-group input, .form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 12px 16px;
    border: 1px solid rgba(14,15,12,0.2);
    border-radius: 10px;
    background: var(--white);
    color: var(--near-black);
    outline: none;
    transition: border-color 0.15s;
    font-feature-settings: "calt";
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--dark-green);
    box-shadow: 0 0 0 3px rgba(159,232,112,0.3);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* STATS BAR */
.stats-bar {
    display: flex;
    gap: 0;
    border: var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin: 48px 0;
}

.stat-item {
    flex: 1;
    padding: 28px 24px;
    text-align: center;
    border-right: var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: var(--near-black);
    line-height: 1;
    font-feature-settings: "calt";
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    margin-top: 6px;
    font-weight: 400;
    display: block;
}

/* BREADCRUMB */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--gray);
}
.breadcrumb a { color: var(--dark-green); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* TAGS */
.tag {
    display: inline-block;
    background: var(--light-surface);
    color: var(--warm-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* FOOTER */
.site-footer {
    background: var(--near-black);
    color: var(--white);
    padding: 56px 0 32px;
    margin-top: 72px;
}

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

.footer-brand .site-logo { color: var(--white); font-size: 20px; margin-bottom: 12px; display: block; }
.footer-brand .site-logo span { color: var(--wise-green); }
.footer-brand p { font-size: 15px; color: var(--gray); line-height: 1.6; max-width: 300px; }

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 15px;
    color: var(--light-surface);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.15s;
}
.footer-col a:hover { color: var(--wise-green); }

.footer-contact p { font-size: 15px; color: var(--light-surface); line-height: 1.8; }
.footer-contact a { color: var(--wise-green); text-decoration: none; font-weight: 600; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p { font-size: 13px; color: var(--gray); }
.footer-bottom a { color: var(--gray); text-decoration: none; }
.footer-bottom a:hover { color: var(--wise-green); }

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--near-black);
    color: var(--white);
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
    flex-wrap: wrap;
}

#cookie-banner p { font-size: 15px; color: var(--light-surface); line-height: 1.5; flex: 1; min-width: 260px; }
#cookie-banner a { color: var(--wise-green); }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-accept {
    background: var(--wise-green);
    color: var(--dark-green);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 9999px;
    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);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt";
}
.cookie-reject:hover { transform: scale(1.05); }

/* DISCLAIMER */
.disclaimer {
    background: rgba(22,51,0,0.06);
    border: 1px solid rgba(22,51,0,0.12);
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 14px;
    color: var(--warm-dark);
    line-height: 1.6;
    margin: 32px 0;
}

/* ABOUT GRID */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin: 48px 0; }

/* RELATED ARTICLES */
.related { padding: 48px 0; border-top: var(--border); margin-top: 48px; }
.related h3 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    margin-bottom: 28px;
}

/* PAGES */
.page-hero { padding: 56px 0 40px; }
.page-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    font-feature-settings: "calt";
    margin-bottom: 16px;
}
.page-hero p { font-size: 17px; color: var(--warm-dark); max-width: 600px; line-height: 1.6; }

.page-body { max-width: 800px; padding-bottom: 72px; }
.page-body h2 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.6px;
    font-feature-settings: "calt";
    margin: 36px 0 12px;
}
.page-body h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
    font-feature-settings: "calt";
    margin: 24px 0 8px;
}
.page-body p { font-size: 17px; line-height: 1.7; color: var(--warm-dark); margin-bottom: 16px; }
.page-body ul, .page-body ol { padding-left: 22px; margin-bottom: 16px; }
.page-body li { font-size: 17px; line-height: 1.7; color: var(--warm-dark); margin-bottom: 6px; }
.page-body a { color: var(--dark-green); font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .featured-strip { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-direction: column; }
    .stat-item { border-right: none; border-bottom: var(--border); }
    .stat-item:last-child { border-bottom: none; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 40px; }
    .section-heading { font-size: 32px; }
    .site-nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: var(--border); gap: 4px; }
    .site-nav.open { display: flex; }
    .hamburger { display: flex; }
    .featured-strip { padding: 28px 20px; }
    .form-section { padding: 32px 24px; }
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .header-inner { padding: 12px 16px; }
}
