@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;
    --gray: #868685;
    --warm-dark: #454745;
    --light-surface: #e8ebe6;
    --white: #ffffff;
    --ring: rgba(14,15,12,0.12);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--near-black);
    background: var(--white);
    font-feature-settings: "calt";
    line-height: 1.44;
    letter-spacing: 0.18px;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--ring);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}
.logo {
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--near-black);
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    white-space: nowrap;
}
.logo span { color: var(--dark-green); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--near-black);
    padding: 8px 14px;
    border-radius: 9999px;
    transition: background 0.18s;
    font-feature-settings: "calt";
}
.nav-links a:hover { background: rgba(211,242,192,0.4); text-decoration: none; }
.nav-links 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;
    transition: transform 0.18s;
    white-space: nowrap;
}
.nav-cta:hover { transform: scale(1.05); background: var(--wise-green) !important; text-decoration: none !important; }
.nav-cta:active { transform: scale(0.95); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--near-black); border-radius: 2px; transition: all 0.2s; }

/* ── HERO ── */
.hero {
    padding: 80px 0 60px;
    background: var(--white);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-tag {
    display: inline-block;
    background: var(--light-mint);
    color: var(--dark-green);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 20px;
    font-feature-settings: "calt";
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 24px;
}
.hero-desc {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-img {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring) 0px 0px 0px 1px;
    aspect-ratio: 4/3;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.18s;
    font-feature-settings: "calt";
    letter-spacing: -0.108px;
    text-decoration: none;
}
.btn:hover { transform: scale(1.05); text-decoration: none; }
.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); }

/* ── SECTIONS ── */
.section { padding: 64px 0; }
.section-alt { background: var(--light-surface); }
.section-dark { background: var(--near-black); color: var(--white); }
.section-dark .section-label { color: var(--wise-green); }
.section-dark .section-title { color: var(--white); }
.section-dark .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.section-dark .card-title { color: var(--white); }
.section-dark .card-body { color: rgba(255,255,255,0.7); }

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}
.section-sub {
    font-size: 1.0625rem;
    color: var(--warm-dark);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 48px;
}

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    border-radius: 30px;
    border: 1px solid var(--ring);
    overflow: hidden;
    background: var(--white);
    transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14,15,12,0.1); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 28px; }
.card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    padding: 3px 10px;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 12px;
    font-feature-settings: "calt";
}
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--near-black);
    margin-bottom: 10px;
    font-feature-settings: "calt";
}
.card-title a { color: inherit; }
.card-title a:hover { text-decoration: underline; }
.card-text { font-size: 0.9375rem; color: var(--warm-dark); line-height: 1.55; margin-bottom: 20px; }
.card-meta { font-size: 0.8125rem; color: var(--gray); font-weight: 400; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-top: 16px;
    font-feature-settings: "calt";
}
.card-link:hover { text-decoration: underline; }
.card-link::after { content: "→"; }

/* ── FEATURE ROW ── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img { border-radius: 30px; overflow: hidden; box-shadow: var(--ring) 0px 0px 0px 1px; }
.feature-img img { width: 100%; height: 380px; object-fit: cover; }
.feature-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 20px;
}
.feature-text p { font-size: 1rem; color: var(--warm-dark); line-height: 1.6; margin-bottom: 16px; }
.feature-list { margin: 20px 0; padding-left: 0; }
.feature-list li {
    font-size: 0.9375rem;
    color: var(--warm-dark);
    padding: 8px 0;
    border-bottom: 1px solid var(--ring);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.feature-list li::before { content: "→"; color: var(--wise-green); font-weight: 700; flex-shrink: 0; }

/* ── STATS BAR ── */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--ring); border-radius: 16px; overflow: hidden; }
.stat-item { background: var(--white); padding: 32px 24px; text-align: center; }
.stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--near-black);
    line-height: 1;
    font-feature-settings: "calt";
    margin-bottom: 6px;
}
.stat-label { font-size: 0.875rem; color: var(--warm-dark); font-weight: 600; }

/* ── ARTICLE PAGE ── */
.article-header { padding: 60px 0 40px; }
.article-header h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 16px 0 20px;
    max-width: 800px;
}
.article-meta { font-size: 0.875rem; color: var(--gray); font-weight: 400; display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-cover { border-radius: 30px; overflow: hidden; margin-bottom: 48px; box-shadow: var(--ring) 0px 0px 0px 1px; }
.article-cover img { width: 100%; height: 420px; object-fit: cover; }

.article-body { max-width: 780px; }
.article-body h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.3px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 48px 0 16px;
}
.article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--near-black);
    margin: 32px 0 12px;
    font-feature-settings: "calt";
}
.article-body p { font-size: 1.0625rem; color: var(--warm-dark); line-height: 1.7; margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 16px 0 24px 0; padding-left: 0; }
.article-body ul li, .article-body ol li {
    font-size: 1.0625rem;
    color: var(--warm-dark);
    line-height: 1.6;
    padding: 6px 0 6px 20px;
    position: relative;
}
.article-body ul li::before { content: "→"; position: absolute; left: 0; color: var(--wise-green); font-weight: 700; }
.article-body ol { counter-reset: list-cnt; }
.article-body ol li::before { counter-increment: list-cnt; content: counter(list-cnt) "."; position: absolute; left: 0; font-weight: 700; color: var(--dark-green); }
.article-body a { color: var(--dark-green); font-weight: 600; text-decoration: underline; }
.article-body a:hover { color: var(--near-black); }
.article-body figure { margin: 36px 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--ring); }
.article-body figure img { width: 100%; max-height: 360px; object-fit: cover; }
.article-body figcaption { font-size: 0.8125rem; color: var(--gray); padding: 10px 16px; }
.article-infobox {
    background: var(--light-mint);
    border-left: 4px solid var(--wise-green);
    border-radius: 0 16px 16px 0;
    padding: 20px 24px;
    margin: 32px 0;
}
.article-infobox p { font-size: 0.9375rem; color: var(--dark-green); font-weight: 600; margin: 0; line-height: 1.5; }

/* ── CONTACT / FORM ── */
.contact-section { padding: 64px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 0.9;
    font-feature-settings: "calt";
    margin-bottom: 24px;
}
.contact-info p { font-size: 1rem; color: var(--warm-dark); line-height: 1.6; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.contact-detail strong { font-weight: 600; color: var(--near-black); display: block; font-size: 0.875rem; }
.contact-detail span { font-size: 0.9375rem; color: var(--warm-dark); line-height: 1.5; }

.contact-form {
    background: var(--white);
    border: 1px solid var(--ring);
    border-radius: 30px;
    padding: 36px;
}
.form-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 24px; font-feature-settings: "calt"; }
.form-group { margin-bottom: 18px; }
.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, .form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--near-black);
    background: var(--white);
    border: 1px solid rgba(14,15,12,0.22);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    font-feature-settings: "calt";
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--wise-green);
    box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; }

/* ── FOOTER ── */
.site-footer { background: var(--near-black); color: var(--white); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { font-size: 1.1rem; margin-bottom: 14px; }
.footer-brand .logo span { color: var(--wise-green); }
.footer-desc { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 260px; }
.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.7); font-weight: 400; transition: color 0.18s; }
.footer-col ul li a:hover { color: var(--wise-green); text-decoration: none; }
.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: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8125rem; color: rgba(255,255,255,0.4); transition: color 0.18s; }
.footer-bottom-links a:hover { color: var(--wise-green); text-decoration: none; }

/* ── COOKIE BANNER ── */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--near-black);
    color: var(--white);
    border-radius: 16px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 700px;
    width: calc(100% - 48px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    font-size: 0.875rem;
    line-height: 1.5;
    transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }
.cookie-text { flex: 1; color: rgba(255,255,255,0.8); }
.cookie-text a { color: var(--wise-green); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
    padding: 8px 18px;
    border-radius: 9999px;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s;
    font-family: 'Inter', sans-serif;
}
.cookie-btn:hover { transform: scale(1.05); }
.cookie-btn:active { transform: scale(0.95); }
.cookie-accept { background: var(--wise-green); color: var(--dark-green); }
.cookie-reject { background: rgba(255,255,255,0.1); color: var(--white); }

/* ── PAGE HEADER ── */
.page-header { background: var(--light-surface); padding: 56px 0 48px; border-bottom: 1px solid var(--ring); }
.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    color: var(--near-black);
    margin-bottom: 16px;
}
.page-header p { font-size: 1.0625rem; color: var(--warm-dark); line-height: 1.6; max-width: 600px; }

.prose { max-width: 780px; padding: 56px 0; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 40px 0 12px; color: var(--near-black); }
.prose h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 10px; }
.prose p { font-size: 1rem; color: var(--warm-dark); line-height: 1.7; margin-bottom: 16px; }
.prose ul { margin: 12px 0 20px; padding-left: 0; }
.prose ul li { font-size: 1rem; color: var(--warm-dark); padding: 6px 0 6px 20px; position: relative; line-height: 1.55; }
.prose ul li::before { content: "→"; position: absolute; left: 0; color: var(--wise-green); font-weight: 700; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: 0.8125rem; color: var(--gray); margin-bottom: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--dark-green); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray); }

/* ── RELATED ── */
.related-section { padding: 56px 0; border-top: 1px solid var(--ring); }
.related-section h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 32px; font-feature-settings: "calt"; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; }
.about-grid img { border-radius: 30px; }

/* ── DISCLAIMER ── */
.disclaimer {
    background: var(--light-surface);
    border: 1px solid var(--ring);
    border-radius: 16px;
    padding: 18px 22px;
    font-size: 0.8125rem;
    color: var(--gray);
    line-height: 1.55;
    margin: 32px 0;
}

/* ── MOBILE ── */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-img { order: -1; }
    .hero h1 { line-height: 0.95; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-row { grid-template-columns: 1fr; gap: 32px; }
    .feature-row.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .cards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--ring); padding: 16px 24px; gap: 4px; }
    .nav-links.open { display: flex; }
    .burger { display: flex; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; text-align: center; }
    .hero { padding: 48px 0 40px; }
    .section { padding: 48px 0; }
    .article-cover img { height: 240px; }
}
