@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;
    --warm-dark: #454745;
    --gray: #868685;
    --light-surface: #e8ebe6;
    --bg: #ffffff;
    --ring: rgba(14,15,12,0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-feature-settings: "calt" 1;
}

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(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--dark-green);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--near-black);
}

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

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

/* NAV */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--ring);
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.nav-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--near-black);
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--dark-green);
    background: var(--wise-green);
    padding: 1px 7px;
    border-radius: 9999px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 9999px;
    color: var(--near-black);
    transition: background 0.2s;
}

.nav-links a:hover {
    background: rgba(211,242,192,0.4);
}

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

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

.nav-cta:active {
    transform: scale(0.95);
}

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

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

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

.hero-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 24px;
    letter-spacing: -0.084px;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: 0.85;
    letter-spacing: -2px;
    color: var(--near-black);
    margin-bottom: 32px;
    max-width: 900px;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--warm-dark);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.44;
}

/* SECTION TITLES */
.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.85;
    letter-spacing: -1.5px;
    color: var(--near-black);
    margin-bottom: 8px;
}

.section-sub {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--warm-dark);
    margin-bottom: 48px;
}

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

.article-card {
    border-radius: 30px;
    border: 1px solid var(--ring);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    background: var(--bg);
}

.article-card:hover {
    box-shadow: 0 8px 32px rgba(14,15,12,0.10);
    transform: translateY(-2px);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 12px;
    letter-spacing: -0.084px;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.25;
    letter-spacing: -0.396px;
    color: var(--near-black);
    margin-bottom: 10px;
}

.card-excerpt {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

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

.card-link {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-green);
    background: var(--wise-green);
    padding: 8px 20px;
    border-radius: 9999px;
    transition: transform 0.15s;
}

.card-link:hover {
    transform: scale(1.05);
    color: var(--dark-green);
}

.card-link:active {
    transform: scale(0.95);
}

/* SECTION ACCENT */
.section-accent {
    background: var(--near-black);
    color: var(--bg);
    border-radius: 40px;
    padding: 64px;
    margin: 64px 0;
}

.section-accent .section-title {
    color: var(--wise-green);
}

.section-accent .section-sub {
    color: rgba(255,255,255,0.7);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.topic-item {
    background: rgba(159,232,112,0.10);
    border: 1px solid rgba(159,232,112,0.20);
    border-radius: 16px;
    padding: 20px;
}

.topic-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wise-green);
    margin-bottom: 6px;
    letter-spacing: -0.396px;
}

.topic-item p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

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

.contact-form {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-form h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 0.9;
    letter-spacing: -1px;
    color: var(--near-black);
    margin-bottom: 8px;
}

.contact-form p {
    font-size: 1rem;
    color: var(--warm-dark);
    margin-bottom: 32px;
}

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

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

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

.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: 100px;
}

.btn-submit {
    background: var(--wise-green);
    color: var(--dark-green);
    border: none;
    padding: 12px 32px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
    letter-spacing: -0.108px;
    font-feature-settings: "calt" 1;
}

.btn-submit:hover {
    transform: scale(1.05);
}

.btn-submit:active {
    transform: scale(0.95);
}

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

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

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bg);
    margin-bottom: 16px;
    letter-spacing: -0.084px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}

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

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

/* ARTICLE PAGE */
.article-hero {
    padding: 64px 0 32px;
}

.article-hero .breadcrumb {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 24px;
}

.article-hero .breadcrumb a {
    color: var(--gray);
}

.article-hero .breadcrumb a:hover {
    color: var(--near-black);
}

.article-hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 0.9;
    letter-spacing: -2px;
    color: var(--near-black);
    margin-bottom: 24px;
    max-width: 800px;
}

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

.article-featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 30px;
    margin-bottom: 48px;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
}

.article-body h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    line-height: 0.9;
    letter-spacing: -1px;
    color: var(--near-black);
    margin: 48px 0 16px;
}

.article-body h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: -0.396px;
    color: var(--near-black);
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--near-black);
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-body li {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 6px;
}

.article-body a {
    color: var(--dark-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: var(--near-black);
}

.article-body .highlight-box {
    background: var(--light-mint);
    border-left: 4px solid var(--wise-green);
    border-radius: 0 16px 16px 0;
    padding: 20px 24px;
    margin: 32px 0;
}

.article-body .highlight-box p {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--dark-green);
}

/* STATIC PAGES */
.static-page {
    padding: 64px 0 80px;
}

.static-page h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.85;
    letter-spacing: -2px;
    color: var(--near-black);
    margin-bottom: 8px;
}

.static-page .updated {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 48px;
}

.static-page .content {
    max-width: 760px;
}

.static-page .content h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.75rem;
    line-height: 0.9;
    letter-spacing: -0.8px;
    color: var(--near-black);
    margin: 40px 0 14px;
}

.static-page .content h3 {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--near-black);
    margin: 24px 0 10px;
}

.static-page .content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 16px;
}

.static-page .content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.static-page .content li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 6px;
}

.static-page .content a {
    color: var(--dark-green);
    text-decoration: underline;
}

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

#cookie-banner p {
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
}

#cookie-banner a {
    color: var(--wise-green);
}

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

.btn-cookie-accept {
    background: var(--wise-green);
    color: var(--dark-green);
    border: none;
    padding: 9px 22px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt" 1;
}

.btn-cookie-accept:hover { transform: scale(1.05); }

.btn-cookie-reject {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border: none;
    padding: 9px 22px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    font-feature-settings: "calt" 1;
}

.btn-cookie-reject:hover { background: rgba(255,255,255,0.18); }

/* DISCLAIMER */
.disclaimer-bar {
    background: var(--light-mint);
    border-bottom: 1px solid rgba(14,15,12,0.08);
    padding: 8px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--dark-green);
    font-weight: 400;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-green-bg {
    background: var(--light-surface);
    border-radius: 40px;
    margin: 0 24px 64px;
    padding: 64px 48px;
}

/* RELATED ARTICLES */
.related-articles {
    padding: 64px 0;
    border-top: 1px solid var(--ring);
    margin-top: 64px;
}

.related-articles h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    line-height: 0.9;
    letter-spacing: -1px;
    color: var(--near-black);
    margin-bottom: 32px;
}

/* SUCCESS MESSAGE */
.form-success {
    display: none;
    background: var(--light-mint);
    border: 1px solid var(--wise-green);
    border-radius: 16px;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--dark-green);
    margin-top: 16px;
    font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section-accent { padding: 40px 32px; }
}

@media (max-width: 576px) {
    .articles-grid { grid-template-columns: 1fr; }
    .topics-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-accent { padding: 32px 20px; border-radius: 24px; }
    .section-green-bg { margin: 0 0 48px; border-radius: 24px; padding: 40px 20px; }
    .article-featured-img { height: 220px; }
    .contact-section { border-radius: 24px; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--ring); padding: 16px; gap: 4px; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
    .hero { padding: 48px 0 40px; }
    .section { padding: 48px 0; }
}
