@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;
    --white: #ffffff;
    --nav-hover: rgba(211,242,192,0.4);
    --card-border: rgba(14,15,12,0.12);
    --ring-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.44;
    letter-spacing: 0.18px;
    color: var(--near-black);
    background-color: var(--white);
    font-feature-settings: "calt";
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--dark-green);
    text-decoration: none;
    border-radius: 2px;
    font-feature-settings: "calt";
}

a:hover {
    color: var(--positive-green);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 9999px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 1.38rem;
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: var(--near-black);
    font-feature-settings: "calt";
}

.logo span {
    color: var(--dark-green);
}

/* NAV */
nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    align-items: center;
}

nav ul li a {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--near-black);
    padding: 8px 12px;
    border-radius: 20px;
    transition: background 0.2s;
    font-feature-settings: "calt";
}

nav ul li a:hover {
    background: var(--nav-hover);
    text-decoration: none;
    color: var(--near-black);
}

.nav-cta {
    background: var(--wise-green) !important;
    color: var(--dark-green) !important;
    border-radius: 9999px !important;
    padding: 5px 16px !important;
    transition: transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--wise-green) !important;
    transform: scale(1.05);
    text-decoration: none !important;
}

.nav-cta:active {
    transform: scale(0.95);
}

/* HAMBURGER */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--near-black);
    border-radius: 9999px;
    transition: all 0.2s;
}

/* HERO */
.hero {
    padding: 80px 0 64px;
    background: var(--white);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 4rem;
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.44;
    color: var(--warm-dark);
    margin-bottom: 32px;
    max-width: 480px;
    font-feature-settings: "calt";
}

.hero-image img {
    border-radius: 30px;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background: var(--wise-green);
    color: var(--dark-green);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.44;
    letter-spacing: -0.108px;
    padding: 10px 24px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    font-feature-settings: "calt";
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: var(--dark-green);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    display: inline-block;
    background: rgba(22,51,0,0.08);
    color: var(--near-black);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    font-feature-settings: "calt";
    text-decoration: none;
}

.btn-secondary:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: var(--near-black);
}

.btn-secondary:active {
    transform: scale(0.95);
}

/* SECTION HEADINGS */
.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

h2.section-heading {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 24px;
}

h3.card-title {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.25;
    letter-spacing: -0.396px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 12px;
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--ring-shadow);
    overflow: hidden;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0;
}

.card-body {
    padding: 24px;
}

.card-body .card-meta {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray);
    margin-bottom: 8px;
    font-feature-settings: "calt";
}

.card-body p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.5;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.card-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark-green);
    font-feature-settings: "calt";
}

.card-link:hover {
    color: var(--positive-green);
}

/* SECTIONS */
section {
    padding: 64px 0;
}

.section-intro {
    max-width: 600px;
    margin-bottom: 48px;
}

.section-intro p {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.5;
    font-feature-settings: "calt";
}

/* TOPICS STRIP */
.topics-strip {
    background: var(--light-mint);
    padding: 48px 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.topic-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--ring-shadow);
    transition: transform 0.2s;
}

.topic-card:hover {
    transform: scale(1.02);
}

.topic-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--near-black);
    margin-bottom: 8px;
    font-feature-settings: "calt";
}

.topic-card p {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.5;
    font-feature-settings: "calt";
}

/* FEATURED BLOCK */
.featured-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    background: var(--light-surface);
    border-radius: 40px;
    box-shadow: var(--ring-shadow);
}

.featured-block img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
}

.featured-text h2 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 2rem;
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.featured-text p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.5;
    margin-bottom: 24px;
    font-feature-settings: "calt";
}

/* CONTACT FORM */
.contact-section {
    background: var(--near-black);
    color: var(--white);
    border-radius: 40px;
    padding: 64px 48px;
    margin: 64px 0;
}

.contact-section h2 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 0.85;
    color: var(--white);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.contact-section p {
    color: var(--light-surface);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 32px;
    font-feature-settings: "calt";
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--white);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    outline: none;
    transition: border-color 0.2s;
    font-feature-settings: "calt";
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--wise-green);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    align-self: flex-start;
    background: var(--wise-green);
    color: var(--dark-green);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 10px 28px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    font-feature-settings: "calt";
}

.contact-form button:hover {
    transform: scale(1.05);
}

.contact-form button:active {
    transform: scale(0.95);
}

.contact-info h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.contact-info p,
.contact-info a {
    font-size: 1rem;
    font-weight: 400;
    color: var(--light-surface);
    line-height: 1.6;
    font-feature-settings: "calt";
}

.contact-info a:hover {
    color: var(--wise-green);
}

/* FOOTER */
.site-footer {
    background: var(--near-black);
    color: var(--light-surface);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--gray);
    line-height: 1.5;
    font-feature-settings: "calt";
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--gray);
    font-feature-settings: "calt";
    transition: color 0.2s;
}

.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.875rem;
    font-weight: 400;
    color: var(--gray);
    font-feature-settings: "calt";
}

.footer-bottom a {
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-bottom a:hover {
    color: var(--wise-green);
    text-decoration: none;
}

/* ARTICLE PAGE */
.article-header {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 48px;
}

.article-header .breadcrumb {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.article-header .breadcrumb a {
    color: var(--gray);
}

.article-header .breadcrumb a:hover {
    color: var(--dark-green);
}

.article-header h1 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 3rem;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 20px;
    max-width: 800px;
}

.article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.article-meta span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray);
    font-feature-settings: "calt";
}

.article-meta .tag {
    background: var(--light-mint);
    color: var(--dark-green);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    font-feature-settings: "calt";
}

.article-body {
    max-width: 720px;
}

.article-body h2 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 40px 0 16px;
}

.article-body h3 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 28px 0 12px;
}

.article-body p {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--near-black);
    line-height: 1.65;
    margin-bottom: 20px;
    font-feature-settings: "calt";
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 24px;
}

.article-body li {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--near-black);
    line-height: 1.65;
    margin-bottom: 8px;
    font-feature-settings: "calt";
}

.article-body a {
    color: var(--dark-green);
    text-decoration: underline;
}

.article-body img {
    border-radius: 20px;
    width: 100%;
    margin: 32px 0;
}

.article-body blockquote {
    border-left: 4px solid var(--wise-green);
    padding: 16px 24px;
    background: var(--light-mint);
    border-radius: 0 16px 16px 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--warm-dark);
    font-feature-settings: "calt";
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding-bottom: 64px;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: var(--light-mint);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--near-black);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.sidebar-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-box ul li a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--dark-green);
    font-feature-settings: "calt";
}

.sidebar-box ul li a:hover {
    color: var(--positive-green);
}

/* ABOUT / PAGES */
.page-header {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 48px;
}

.page-header h1 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 3rem;
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--warm-dark);
    max-width: 600px;
    line-height: 1.5;
    font-feature-settings: "calt";
}

.page-body {
    max-width: 760px;
    padding-bottom: 64px;
}

.page-body h2 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 40px 0 16px;
}

.page-body h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--near-black);
    margin: 24px 0 10px;
    font-feature-settings: "calt";
}

.page-body p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--near-black);
    line-height: 1.65;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.page-body ul {
    margin: 0 0 16px 24px;
}

.page-body li {
    font-size: 1rem;
    font-weight: 400;
    color: var(--near-black);
    line-height: 1.65;
    margin-bottom: 8px;
    font-feature-settings: "calt";
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--near-black);
    color: var(--white);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 9999;
    max-width: 680px;
    width: calc(100% - 48px);
    box-shadow: 0 8px 40px rgba(14,15,12,0.3);
    font-feature-settings: "calt";
}

#cookie-banner p {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--light-surface);
    line-height: 1.4;
    flex: 1;
    font-feature-settings: "calt";
}

#cookie-banner p a {
    color: var(--wise-green);
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

#cookie-accept {
    background: var(--wise-green);
    color: var(--dark-green);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 8px 20px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    font-feature-settings: "calt";
}

#cookie-accept:hover {
    transform: scale(1.05);
}

#cookie-reject {
    background: rgba(255,255,255,0.08);
    color: var(--light-surface);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 8px 20px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    font-feature-settings: "calt";
}

#cookie-reject:hover {
    transform: scale(1.05);
}

/* DISCLAIMER */
.disclaimer-bar {
    background: var(--light-mint);
    border-top: 1px solid var(--card-border);
    padding: 12px 0;
    text-align: center;
}

.disclaimer-bar p {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.4;
    font-feature-settings: "calt";
}

/* UTILITIES */
.badge {
    background: var(--light-mint);
    color: var(--dark-green);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    display: inline-block;
    font-feature-settings: "calt";
}

.divider {
    height: 1px;
    background: var(--card-border);
    margin: 48px 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-block {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2.25rem;
    }

    h2.section-heading {
        font-size: 1.875rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 24px;
        border-bottom: 1px solid var(--card-border);
        gap: 4px;
    }

    nav ul.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .contact-section {
        padding: 40px 24px;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    #cookie-banner {
        flex-direction: column;
        gap: 16px;
    }
}
