@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;
    --positive-green: #054d28;
    --warm-dark: #454745;
    --gray: #868685;
    --light-surface: #e8ebe6;
    --bg: #ffffff;
    --ring: rgba(14,15,12,0.12);
    --nav-hover: rgba(211,242,192,0.4);
    --font-display: 'Inter', Helvetica, Arial, sans-serif;
    --font-body: 'Inter', Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--near-black);
    background: var(--bg);
    line-height: 1.44;
    letter-spacing: 0.18px;
    font-feature-settings: "calt" 1;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    text-decoration: underline;
}

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

.container {
    width: 100%;
    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);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.38rem;
    color: var(--near-black);
    letter-spacing: -0.4px;
    line-height: 1;
    font-feature-settings: "calt" 1;
    flex-shrink: 0;
}

.nav-logo:hover {
    text-decoration: none;
}

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

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

.nav-links li a {
    display: block;
    padding: 8px 12px;
    border-radius: 9999px;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--near-black);
    transition: background 0.15s ease;
    white-space: nowrap;
    font-feature-settings: "calt" 1;
}

.nav-links li a:hover {
    background: var(--nav-hover);
    text-decoration: none;
}

.nav-links li a[aria-current="page"] {
    background: var(--light-mint);
}

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

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

/* HERO */
.hero {
    background: var(--bg);
    padding: 80px 24px 64px;
    text-align: center;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

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

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

.hero-desc {
    font-size: 1.12rem;
    color: var(--warm-dark);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-img {
    margin: 40px auto 0;
    max-width: 880px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring) 0px 0px 0px 1px;
}

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

/* ARTICLES GRID */
.articles-section {
    padding: 72px 24px;
    background: var(--bg);
}

.section-header {
    max-width: 1200px;
    margin: 0 auto 48px;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 0.95;
    color: var(--near-black);
    font-feature-settings: "calt" 1;
    letter-spacing: -0.5px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

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

.card-body {
    padding: 24px;
}

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

.card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.12rem;
    line-height: 1.25;
    color: var(--near-black);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
    font-feature-settings: "calt" 1;
}

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

.card-link {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--wise-green);
    padding: 6px 18px;
    border-radius: 9999px;
    transition: transform 0.15s ease;
    font-feature-settings: "calt" 1;
}

.card-link:hover {
    text-decoration: none;
    transform: scale(1.05);
}

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

/* INFO STRIP */
.info-strip {
    background: var(--near-black);
    padding: 64px 24px;
}

.info-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.info-strip-item {
    color: var(--bg);
}

.info-strip-num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 3rem;
    line-height: 0.9;
    color: var(--wise-green);
    margin-bottom: 12px;
    font-feature-settings: "calt" 1;
}

.info-strip-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-strip-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
}

/* CONTACT FORM */
.contact-section {
    padding: 80px 24px;
    background: var(--light-surface);
}

.contact-inner {
    max-width: 640px;
    margin: 0 auto;
}

.contact-inner .section-title {
    margin-bottom: 8px;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--warm-dark);
    letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(14,15,12,0.18);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--near-black);
    background: var(--bg);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
    -webkit-appearance: none;
}

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

.btn-submit {
    display: inline-block;
    background: var(--wise-green);
    color: var(--dark-green);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    transition: transform 0.15s ease;
    font-feature-settings: "calt" 1;
}

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

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

/* ARTICLE PAGE */
.article-header {
    padding: 64px 24px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.article-header .article-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 16px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.article-header h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 0.92;
    color: var(--near-black);
    font-feature-settings: "calt" 1;
    letter-spacing: -0.8px;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 0.83rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.article-hero-img {
    max-width: 800px;
    margin: 0 auto 48px;
    padding: 0 24px;
    border-radius: 20px;
    overflow: hidden;
}

.article-hero-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
}

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

.article-body h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 0.95;
    color: var(--near-black);
    font-feature-settings: "calt" 1;
    margin: 48px 0 16px;
    letter-spacing: -0.3px;
}

.article-body h3 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.1;
    color: var(--near-black);
    font-feature-settings: "calt" 1;
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2a2b28;
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 24px;
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2a2b28;
    margin-bottom: 6px;
}

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

.article-body a:hover {
    color: var(--dark-green);
}

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

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

.article-updated {
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: 40px;
}

/* BREADCRUMB */
.breadcrumb {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 24px 0;
    font-size: 0.78rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--warm-dark);
    text-decoration: underline;
}

/* RELATED */
.related-section {
    background: var(--light-surface);
    padding: 56px 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 24px auto 0;
}

.related-card {
    border: 1px solid var(--ring);
    border-radius: 20px;
    padding: 24px;
    background: var(--bg);
    transition: box-shadow 0.2s ease;
}

.related-card:hover {
    box-shadow: rgba(14,15,12,0.10) 0px 8px 24px;
    text-decoration: none;
}

.related-card h3 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--near-black);
    font-feature-settings: "calt" 1;
}

.related-card p {
    font-size: 0.83rem;
    color: var(--warm-dark);
    line-height: 1.5;
}

/* PAGES (about, privacy, terms) */
.page-header {
    padding: 64px 24px 40px;
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid var(--ring);
}

.page-header h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.92;
    font-feature-settings: "calt" 1;
    letter-spacing: -0.6px;
}

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

.page-body h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    margin: 40px 0 14px;
    font-feature-settings: "calt" 1;
}

.page-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: #2a2b28;
    margin-bottom: 18px;
}

.page-body ul {
    margin: 0 0 18px 24px;
    list-style: disc;
}

.page-body li {
    font-size: 1rem;
    line-height: 1.7;
    color: #2a2b28;
    margin-bottom: 5px;
}

/* COOKIE BANNER */
#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);
    box-shadow: rgba(14,15,12,0.28) 0px 8px 32px;
    z-index: 9999;
    font-size: 0.88rem;
    line-height: 1.5;
}

#cookie-banner p {
    flex: 1;
}

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

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

.btn-cookie-accept {
    background: var(--wise-green);
    color: var(--dark-green);
    border: none;
    border-radius: 9999px;
    padding: 8px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease;
    font-family: var(--font-body);
}

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

.btn-cookie-reject {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 8px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease;
    font-family: var(--font-body);
}

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

/* FOOTER */
.site-footer {
    background: var(--near-black);
    color: rgba(255,255,255,0.8);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
    font-feature-settings: "calt" 1;
}

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

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.15s ease;
}

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

.footer-col address p {
    font-size: 0.83rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
}

.footer-col address a {
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

.footer-disclaimer {
    color: rgba(255,255,255,0.3) !important;
}

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

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

    .info-strip-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--ring);
        padding: 12px 16px 16px;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .info-strip-inner {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

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

    .cookie-btns {
        width: 100%;
    }
}
