*, *::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;
    --bg: #ffffff;
    --ring-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    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);
    font-feature-settings: "calt" 1;
}

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;
}

.site-header {
    background: var(--bg);
    border-bottom: 1px solid rgba(14,15,12,0.12);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-dot { color: var(--wise-green); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--near-black);
    padding: 8px 16px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.18s;
    font-feature-settings: "calt" 1;
}

.nav-link:hover { background: rgba(211,242,192,0.4); text-decoration: none; }
.nav-link.active { background: var(--light-mint); }

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1;
    letter-spacing: -0.108px;
    border: none;
    cursor: pointer;
    border-radius: 9999px;
    padding: 12px 24px;
    text-decoration: none;
    transition: transform 0.15s;
    font-feature-settings: "calt" 1;
}

.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);
}

.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);
    border-radius: 9999px;
    padding: 4px 14px;
    margin-bottom: 24px;
    letter-spacing: -0.084px;
    font-feature-settings: "calt" 1;
}

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

.hero-desc {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--warm-dark);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-img {
    margin-top: 56px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring-shadow);
    max-height: 480px;
}

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

.section { padding: 72px 0; }
.section-alt { background: var(--light-surface); }

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-green);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

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

.section-desc {
    font-size: 1.0625rem;
    color: var(--warm-dark);
    max-width: 620px;
    margin-bottom: 48px;
}

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

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

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

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

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

.card-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    border-radius: 9999px;
    padding: 3px 12px;
    display: inline-block;
    width: fit-content;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.3125rem;
    line-height: 1.25;
    letter-spacing: -0.39px;
    color: var(--near-black);
    font-feature-settings: "calt" 1;
}

.card-excerpt {
    font-size: 1rem;
    color: var(--warm-dark);
    line-height: 1.5;
    flex: 1;
}

.card-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--dark-green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-link::after { content: " →"; }
.card-link:hover { text-decoration: underline; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

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

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

.feature-title {
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.396px;
    color: var(--near-black);
    margin-bottom: 8px;
    font-feature-settings: "calt" 1;
}

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

.contact-form-wrap {
    max-width: 540px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--ring-shadow);
}

.form-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--near-black);
    margin-bottom: 8px;
    font-feature-settings: "calt" 1;
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    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.2);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--near-black);
    background: var(--bg);
    transition: border-color 0.15s;
    outline: none;
}

.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 { height: 110px; resize: vertical; }

.article-hero {
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(14,15,12,0.08);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    border-radius: 9999px;
    padding: 4px 14px;
}

.article-date {
    font-size: 0.875rem;
    color: var(--gray);
}

.article-h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 0.92;
    letter-spacing: -2px;
    color: var(--near-black);
    max-width: 860px;
    margin-bottom: 20px;
    font-feature-settings: "calt" 1;
}

.article-intro {
    font-size: 1.125rem;
    color: var(--warm-dark);
    max-width: 680px;
    line-height: 1.6;
}

.article-cover {
    margin: 40px 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring-shadow);
}

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

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

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

.article-body h3 {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--near-black);
    margin: 32px 0 12px;
    letter-spacing: -0.39px;
}

.article-body p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #2a2b28;
    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;
    color: #2a2b28;
    margin-bottom: 6px;
}

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

.article-body figure {
    margin: 36px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--ring-shadow);
}

.article-body figcaption {
    padding: 12px 16px;
    font-size: 0.875rem;
    color: var(--gray);
    background: var(--light-surface);
}

.article-body .info-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 .info-box p { color: var(--dark-green); margin: 0; }

.related-articles { padding: 56px 0; background: var(--light-surface); }

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.breadcrumb {
    padding: 16px 0;
    font-size: 0.875rem;
    color: var(--gray);
}

.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--near-black); }
.breadcrumb span { color: var(--near-black); font-weight: 600; }

.page-hero {
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(14,15,12,0.08);
}

.page-h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 0.92;
    letter-spacing: -2px;
    color: var(--near-black);
    margin-bottom: 16px;
    font-feature-settings: "calt" 1;
}

.page-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.page-body h2 {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.8px;
    color: var(--near-black);
    margin: 40px 0 12px;
    font-feature-settings: "calt" 1;
}

.page-body p, .page-body li {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #2a2b28;
    margin-bottom: 16px;
}

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

.table-of-contents {
    background: var(--light-surface);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 40px;
}

.table-of-contents p {
    font-weight: 600;
    font-size: 1rem;
    color: var(--near-black);
    margin-bottom: 12px !important;
}

.table-of-contents ol { margin: 0; }
.table-of-contents li { font-size: 0.9375rem; margin-bottom: 6px !important; }
.table-of-contents a { color: var(--dark-green); text-decoration: underline; }

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--near-black);
    color: #fff;
    border-radius: 16px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 680px;
    width: calc(100% - 48px);
    z-index: 999;
    box-shadow: 0 8px 32px rgba(14,15,12,0.25);
    flex-wrap: wrap;
}

.cookie-banner p { font-size: 0.9375rem; color: #e8ebe6; flex: 1; min-width: 200px; }
.cookie-banner a { color: var(--wise-green); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .btn { font-size: 0.9375rem; padding: 10px 20px; }
.cookie-banner.hidden { display: none; }

.site-footer {
    background: var(--near-black);
    color: #e8ebe6;
    padding: 64px 0 0;
}

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

.footer-brand {
    font-weight: 900;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 12px;
    font-feature-settings: "calt" 1;
}

.footer-desc { font-size: 0.9375rem; color: var(--gray); line-height: 1.6; }

.footer-heading {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wise-green);
    margin-bottom: 16px;
}

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #b0b3af; font-size: 0.9375rem; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.site-footer address { font-style: normal; }
.site-footer address p { margin-bottom: 6px; font-size: 0.9375rem; color: #b0b3af; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.footer-bottom p { font-size: 0.875rem; color: var(--gray); }
.disclaimer { margin-top: 6px; font-size: 0.8125rem; color: #686a68; }

@media (max-width: 992px) {
    .articles-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .articles-grid, .features-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.25rem; }
    .main-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid rgba(14,15,12,0.12); padding: 16px 24px; gap: 4px; }
    .main-nav.open { display: flex; }
    .nav-toggle { display: flex; }
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .article-cover img { height: 240px; }
    .hero-img img { height: 260px; }
}
