@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 {
    --black: #0e0f0c;
    --green: #9fe870;
    --dark-green: #163300;
    --mint: #e2f6d5;
    --pastel-green: #cdffad;
    --warm-dark: #454745;
    --gray: #868685;
    --light-surface: #e8ebe6;
    --white: #ffffff;
    --danger: #d03238;
    --warning: #ffd11a;
    font-feature-settings: "calt" 1;
}

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(--black);
    background: var(--white);
    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;
}

/* HEADER */
.site-header {
    background: var(--white);
    border-bottom: 1px solid rgba(14,15,12,0.12);
    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;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--black);
    line-height: 0.85;
    letter-spacing: -0.5px;
    font-feature-settings: "calt" 1;
    text-decoration: none;
}

.site-logo span {
    color: var(--dark-green);
}

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

.site-nav a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    padding: 8px 16px;
    border-radius: 9999px;
    transition: background 0.2s;
    letter-spacing: -0.108px;
    font-feature-settings: "calt" 1;
    text-decoration: none;
}

.site-nav a:hover {
    background: rgba(211,242,192,0.4);
    text-decoration: none;
}

.site-nav .btn-primary {
    background: var(--green);
    color: var(--dark-green);
    transition: transform 0.15s;
}

.site-nav .btn-primary:hover {
    transform: scale(1.05);
    background: var(--green);
    text-decoration: none;
}

.site-nav .btn-primary: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: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.2s;
}

/* FOOTER */
.site-footer {
    background: var(--black);
    color: var(--light-surface);
    padding: 56px 0 32px;
    margin-top: 80px;
}

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

.footer-brand .site-logo {
    color: var(--white);
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 16px;
    font-feature-settings: "calt" 1;
}

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

.footer-col ul li a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--light-surface);
    transition: color 0.2s;
    text-decoration: none;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray);
}

.footer-bottom a {
    color: var(--gray);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--green);
}

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

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    background: var(--mint);
    color: var(--dark-green);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 24px;
    font-feature-settings: "calt" 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -1px;
    color: var(--black);
    margin-bottom: 24px;
    font-feature-settings: "calt" 1;
}

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

.hero-meta {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray);
    margin-top: 24px;
}

.hero-img {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    aspect-ratio: 4/3;
}

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

/* ARTICLES GRID */
.section {
    padding: 64px 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.5px;
    font-feature-settings: "calt" 1;
}

.section-header a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-green);
    text-decoration: none;
}

.section-header a:hover {
    text-decoration: underline;
}

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

.article-card {
    border: 1px solid rgba(14,15,12,0.12);
    border-radius: 30px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    background: var(--white);
}

.article-card:hover {
    box-shadow: rgba(14,15,12,0.12) 0px 4px 24px;
}

.article-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-card-img img {
    transform: scale(1.04);
}

.article-card-body {
    padding: 24px;
}

.article-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark-green);
    background: var(--mint);
    padding: 2px 10px;
    border-radius: 9999px;
    margin-bottom: 12px;
    font-feature-settings: "calt" 1;
}

.article-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.39px;
    margin-bottom: 10px;
    font-feature-settings: "calt" 1;
}

.article-card h3 a {
    color: var(--black);
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--dark-green);
    text-decoration: none;
}

.article-card p {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-card-meta {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray);
    font-feature-settings: "calt" 1;
}

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

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    font-feature-settings: "calt" 1;
}

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

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

.contact-form .field-full {
    grid-column: 1 / -1;
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
    font-feature-settings: "calt" 1;
}

.form-group input,
.form-group textarea {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--black);
    background: var(--white);
    border: 1px solid rgba(14,15,12,0.2);
    border-radius: 10px;
    padding: 12px 16px;
    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 {
    display: inline-block;
    background: var(--green);
    color: var(--dark-green);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 28px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt" 1;
    letter-spacing: -0.108px;
    margin-top: 8px;
}

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

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

.form-success {
    display: none;
    background: var(--mint);
    border: 1px solid var(--green);
    border-radius: 16px;
    padding: 16px 24px;
    color: var(--dark-green);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 16px;
}

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

.article-page .article-tag {
    display: inline-block;
    background: var(--mint);
    color: var(--dark-green);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 20px;
    font-feature-settings: "calt" 1;
}

.article-page h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1px;
    color: var(--black);
    margin-bottom: 20px;
    font-feature-settings: "calt" 1;
}

.article-page .article-meta {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(14,15,12,0.12);
}

.article-page .article-hero-img {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    aspect-ratio: 16/8;
}

.article-page .article-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
    color: var(--black);
    margin: 40px 0 16px;
    font-feature-settings: "calt" 1;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.39px;
    color: var(--black);
    margin: 28px 0 12px;
    font-feature-settings: "calt" 1;
}

.article-content p {
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--warm-dark);
    margin-bottom: 20px;
}

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

.article-content li {
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--warm-dark);
    margin-bottom: 8px;
}

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

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

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

.article-img {
    border-radius: 16px;
    overflow: hidden;
    margin: 32px 0;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}

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

.article-img figcaption {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gray);
    padding: 10px 16px;
    background: var(--light-surface);
    font-feature-settings: "calt" 1;
}

/* BREADCRUMB */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray);
    font-feature-settings: "calt" 1;
}

.breadcrumb a {
    color: var(--dark-green);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
    color: var(--gray);
}

/* STATIC PAGES */
.static-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px;
}

.static-page h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1px;
    margin-bottom: 12px;
    font-feature-settings: "calt" 1;
}

.static-page .page-updated {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 40px;
    font-weight: 400;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(14,15,12,0.12);
}

.static-page h2 {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
    margin: 36px 0 12px;
    font-feature-settings: "calt" 1;
}

.static-page h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 24px 0 8px;
    font-feature-settings: "calt" 1;
}

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

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

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

.static-page a {
    color: var(--dark-green);
}

/* ABOUT PAGE */
.about-hero {
    background: var(--light-surface);
    border-radius: 40px;
    padding: 56px 64px;
    margin-bottom: 48px;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -1px;
    margin-bottom: 20px;
    font-feature-settings: "calt" 1;
}

.about-hero p {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--warm-dark);
    max-width: 600px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.about-card {
    border: 1px solid rgba(14,15,12,0.12);
    border-radius: 30px;
    padding: 32px;
    background: var(--white);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.39px;
    margin-bottom: 12px;
    font-feature-settings: "calt" 1;
}

.about-card p {
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--warm-dark);
}

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

#cookie-banner.hidden {
    display: none;
}

#cookie-banner p {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    font-feature-settings: "calt" 1;
}

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

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

.btn-cookie-accept {
    background: var(--green);
    color: var(--dark-green);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 18px;
    border: none;
    border-radius: 9999px;
    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: var(--white);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 18px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt" 1;
}

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

/* DISCLAIMER */
.disclaimer-bar {
    background: rgba(255,209,26,0.15);
    border-top: 1px solid var(--warning);
    padding: 12px 0;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--warm-dark);
    text-align: center;
    font-feature-settings: "calt" 1;
}

/* TOPICS STRIP */
.topics-strip {
    background: var(--light-surface);
    border-radius: 40px;
    padding: 48px 56px;
    margin: 48px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.topic-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-item .topic-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    font-feature-settings: "calt" 1;
}

.topic-item .topic-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    font-feature-settings: "calt" 1;
}

.topic-item a {
    text-decoration: none;
    color: var(--black);
}

.topic-item a:hover {
    color: var(--dark-green);
}

/* RELATED ARTICLES */
.related-section {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(14,15,12,0.12);
}

.related-section h2 {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 32px;
    font-feature-settings: "calt" 1;
}

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

.related-card {
    border: 1px solid rgba(14,15,12,0.12);
    border-radius: 20px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.related-card:hover {
    box-shadow: rgba(14,15,12,0.12) 0px 4px 24px;
}

.related-card .related-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-green);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    font-feature-settings: "calt" 1;
}

.related-card h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
    font-feature-settings: "calt" 1;
}

.related-card h3 a {
    color: var(--black);
    text-decoration: none;
}

.related-card h3 a:hover {
    color: var(--dark-green);
}

.related-card p {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray);
    line-height: 1.5;
}

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

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

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .topics-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-section {
        padding: 40px 32px;
    }

    .about-hero {
        padding: 40px 32px;
    }
}

@media (max-width: 576px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-bottom: 1px solid rgba(14,15,12,0.12);
        gap: 4px;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
        text-align: left;
    }

    .nav-toggle {
        display: flex;
    }

    .site-header .container {
        position: relative;
    }

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

    .hero-label {
        font-size: 0.6875rem;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .topics-strip {
        grid-template-columns: 1fr 1fr;
        padding: 32px 24px;
    }

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

    .contact-form .field-full {
        grid-column: 1;
    }

    .contact-section {
        padding: 32px 24px;
    }

    .about-hero {
        padding: 32px 24px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

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

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

    .article-page h1 {
        font-size: 2rem;
    }

    .static-page h1 {
        font-size: 2rem;
    }

    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        bottom: 16px;
        width: calc(100% - 32px);
    }
}
