@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;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;
    --off-white: #f9faf7;
    --ring-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    --border-color: rgba(14,15,12,0.12);
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* HEADER */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.site-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--near-black);
    letter-spacing: -0.5px;
    white-space: nowrap;
    font-feature-settings: "calt";
}

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

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

.site-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--warm-dark);
    padding: 8px 14px;
    border-radius: 9999px;
    transition: background 0.18s, color 0.18s;
    font-feature-settings: "calt";
}

.site-nav a:hover {
    background: rgba(211,242,192,0.4);
    color: var(--dark-green);
}

.site-nav a.active {
    color: var(--near-black);
    background: var(--light-surface);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--near-black);
    border-radius: 2px;
    transition: all 0.2s;
}

/* HERO */
.hero {
    padding: 80px 0 64px;
    background: var(--white);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.95;
    color: var(--near-black);
    letter-spacing: -1px;
    font-feature-settings: "calt";
    margin-bottom: 24px;
}

.hero-title .accent {
    color: var(--dark-green);
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring-shadow);
    aspect-ratio: 4/3;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    background: var(--light-mint);
    color: var(--dark-green);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    letter-spacing: 0.3px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 22px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    font-feature-settings: "calt";
    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);
}

.btn-secondary {
    background: rgba(22, 51, 0, 0.08);
    color: var(--near-black);
}

/* SECTION */
.section {
    padding: 64px 0;
}

.section-alt {
    background: var(--white);
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    margin-bottom: 12px;
    color: var(--near-black);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--warm-dark);
    font-weight: 400;
    margin-bottom: 48px;
    max-width: 600px;
}

/* ARTICLE CARDS */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring-shadow);
    transition: transform 0.18s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
}

.article-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-card-image img {
    transform: scale(1.04);
}

.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-category {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark-green);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.article-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--near-black);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.article-card-excerpt {
    font-size: 0.92rem;
    color: var(--warm-dark);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 20px;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray);
}

.read-more {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark-green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    transition: opacity 0.15s;
}

.read-more:hover {
    opacity: 0.75;
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--light-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

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

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

/* STATS */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--ring-shadow);
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--dark-green);
    line-height: 1;
    margin-bottom: 8px;
    font-feature-settings: "calt";
}

.stat-label {
    font-size: 0.88rem;
    color: var(--warm-dark);
    font-weight: 400;
}

/* CONTACT FORM */
.contact-section {
    background: var(--near-black);
    padding: 80px 0;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-text h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 0.95;
    color: var(--white);
    margin-bottom: 20px;
    font-feature-settings: "calt";
}

.contact-text p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.contact-info-item .icon {
    width: 36px;
    height: 36px;
    background: rgba(159,232,112,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-form {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--near-black);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--near-black);
    background: var(--off-white);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-feature-settings: "calt";
}

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

.form-input::placeholder {
    color: var(--gray);
}

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--gray);
    text-align: center;
    margin-top: 12px;
}

/* FOOTER */
.site-footer {
    background: var(--near-black);
    padding: 56px 0 32px;
    color: rgba(255,255,255,0.7);
}

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

.footer-brand .site-logo {
    color: var(--white);
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--wise-green);
}

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

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: color 0.15s;
}

.footer-bottom a:hover {
    color: var(--wise-green);
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 820px;
    background: var(--near-black);
    color: var(--white);
    border-radius: 20px;
    padding: 20px 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 8px 40px rgba(14,15,12,0.3);
}

#cookie-banner p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
}

#cookie-banner p a {
    color: var(--wise-green);
    text-decoration: underline;
}

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

.cookie-actions .btn {
    font-size: 0.88rem;
    padding: 8px 18px;
}

/* ARTICLE PAGE */
.article-header {
    padding: 64px 0 40px;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.article-breadcrumb {
    font-size: 0.82rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.article-breadcrumb a {
    color: var(--dark-green);
    font-weight: 600;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-title-main {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.0;
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    margin-bottom: 20px;
    max-width: 820px;
}

.article-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--gray);
}

.article-body {
    padding: 56px 0;
}

.article-content {
    max-width: 780px;
}

.article-lead-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--ring-shadow);
    aspect-ratio: 16/7;
}

.article-lead-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.65rem;
    color: var(--near-black);
    margin: 40px 0 16px;
    line-height: 1.2;
    font-feature-settings: "calt";
}

.article-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--near-black);
    margin: 28px 0 12px;
    font-feature-settings: "calt";
}

.article-content p {
    margin-bottom: 20px;
    color: var(--near-black);
    line-height: 1.72;
}

.article-content ul, .article-content ol {
    margin: 16px 0 24px 24px;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--near-black);
}

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

.article-content blockquote {
    border-left: 4px solid var(--wise-green);
    padding: 16px 24px;
    background: var(--light-mint);
    border-radius: 0 16px 16px 0;
    margin: 28px 0;
    font-style: italic;
    color: var(--warm-dark);
}

.article-sidebar {
    padding-top: 8px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--ring-shadow);
    margin-bottom: 24px;
}

.sidebar-widget-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--near-black);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.sidebar-article-link {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 12px;
    line-height: 1.4;
}

.sidebar-article-link:hover {
    text-decoration: underline;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
}

/* PAGE (about, privacy, terms) */
.page-header {
    padding: 56px 0 40px;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    font-feature-settings: "calt";
}

.page-body {
    padding: 56px 0;
    max-width: 820px;
}

.page-body h2 {
    font-weight: 800;
    font-size: 1.5rem;
    margin: 36px 0 14px;
    font-feature-settings: "calt";
}

.page-body h3 {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 24px 0 10px;
    font-feature-settings: "calt";
}

.page-body p {
    margin-bottom: 18px;
    line-height: 1.72;
    color: var(--near-black);
}

.page-body ul, .page-body ol {
    margin: 12px 0 20px 24px;
}

.page-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

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

/* DISCLAIMER BOX */
.disclaimer {
    background: rgba(255,209,26,0.12);
    border: 1px solid rgba(255,209,26,0.4);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 28px 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #5a4a00;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 24px;
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav.open {
        display: flex;
    }

    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
