@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 {
    --black: #0e0f0c;
    --green: #9fe870;
    --dark-green: #163300;
    --mint: #e2f6d5;
    --pastel: #cdffad;
    --gray: #868685;
    --warm-dark: #454745;
    --surface: #e8ebe6;
    --white: #ffffff;
    --font: 'Inter', Helvetica, Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.44;
    letter-spacing: 0.18px;
    color: var(--black);
    background: var(--white);
    font-feature-settings: "calt";
    -webkit-font-smoothing: antialiased;
}

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;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}
.site-logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--black);
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; color: var(--dark-green); }

.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--warm-dark);
    padding: 8px 14px;
    border-radius: 9999px;
    transition: background 0.15s, color 0.15s;
    font-feature-settings: "calt";
}
.site-nav a:hover {
    background: rgba(211,242,192,0.4);
    color: var(--black);
    text-decoration: none;
}

.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: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* HERO */
.hero {
    background: var(--white);
    padding: 80px 0 64px;
    border-bottom: 1px solid rgba(14,15,12,0.08);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-text { }
.hero-tag {
    display: inline-block;
    background: var(--mint);
    color: var(--dark-green);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 24px;
    font-feature-settings: "calt";
}
.hero h1 {
    font-family: var(--font);
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.95;
    letter-spacing: -1px;
    color: var(--black);
    font-feature-settings: "calt";
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 32px;
}
.hero-img-wrap {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}
.hero-img-wrap img { width: 100%; height: 360px; object-fit: cover; }

/* BADGE */
.badge {
    display: inline-block;
    background: var(--mint);
    color: var(--dark-green);
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 3px 12px;
    border-radius: 9999px;
    font-feature-settings: "calt";
}
.badge-dark {
    background: var(--black);
    color: var(--white);
}

/* SECTIONS */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); }
.section-title {
    font-weight: 900;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 0.95;
    letter-spacing: -0.5px;
    color: var(--black);
    font-feature-settings: "calt";
    margin-bottom: 8px;
}
.section-sub {
    font-weight: 400;
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 40px;
}

/* ARTICLE CARDS GRID */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    border-radius: 30px;
    border: 1px solid rgba(14,15,12,0.12);
    overflow: hidden;
    background: var(--white);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    box-shadow: rgba(14,15,12,0.14) 0px 8px 32px;
    transform: translateY(-2px);
}
.article-card-img { width: 100%; height: 200px; object-fit: cover; }
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.article-card-cat {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-green);
    font-feature-settings: "calt";
}
.article-card-title {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
    color: var(--black);
    font-feature-settings: "calt";
}
.article-card-excerpt {
    font-size: 0.9375rem;
    color: var(--warm-dark);
    line-height: 1.55;
    flex: 1;
}
.article-card-meta {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-top: 4px;
}
.article-card-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--dark-green);
    border-bottom: 1px solid rgba(22,51,0,0.3);
    transition: border-color 0.15s;
}
.article-card-link:hover { border-color: var(--dark-green); text-decoration: none; }

/* FEATURED STRIP */
.featured-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
.featured-strip-img {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}
.featured-strip-img img { width: 100%; height: 320px; object-fit: cover; }
.featured-strip-content { display: flex; flex-direction: column; gap: 16px; }
.featured-strip-content h2 {
    font-weight: 900;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    line-height: 1;
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
}
.featured-strip-content p {
    font-size: 1rem;
    color: var(--warm-dark);
    line-height: 1.6;
}
.featured-strip-content a.read-more {
    align-self: flex-start;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-green);
    border-bottom: 1px solid rgba(22,51,0,0.3);
    transition: border-color 0.15s;
}
.featured-strip-content a.read-more:hover { border-color: var(--dark-green); text-decoration: none; }

/* INFO BOXES */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.info-box {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(14,15,12,0.12);
    padding: 24px;
}
.info-box-icon { font-size: 2rem; margin-bottom: 12px; }
.info-box-title { font-weight: 700; font-size: 1.0625rem; color: var(--black); margin-bottom: 8px; font-feature-settings: "calt"; }
.info-box-text { font-size: 0.9375rem; color: var(--warm-dark); line-height: 1.55; }

/* ARTICLE PAGE */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article-main { min-width: 0; }
.article-sidebar { position: sticky; top: 88px; }

.article-header { margin-bottom: 40px; }
.article-header h1 {
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.5px;
    color: var(--black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}
.article-header-meta { font-size: 0.875rem; color: var(--gray); display: flex; gap: 16px; flex-wrap: wrap; }
.article-header-img {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}
.article-header-img img { width: 100%; max-height: 480px; object-fit: cover; }

.article-content { font-size: 1.0625rem; line-height: 1.7; color: var(--black); }
.article-content h2 {
    font-weight: 900;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: -0.3px;
    margin: 48px 0 16px;
    font-feature-settings: "calt";
}
.article-content h3 {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 32px 0 12px;
    font-feature-settings: "calt";
}
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 20px; }
.article-content li { margin-bottom: 8px; line-height: 1.6; }
.article-content a { color: var(--dark-green); border-bottom: 1px solid rgba(22,51,0,0.25); }
.article-content a:hover { border-color: var(--dark-green); text-decoration: none; }

.article-infobox {
    background: var(--mint);
    border-radius: 16px;
    padding: 24px;
    margin: 32px 0;
    border: 1px solid rgba(22,51,0,0.1);
}
.article-infobox-title { font-weight: 700; font-size: 1rem; color: var(--dark-green); margin-bottom: 12px; }
.article-infobox ul { padding-left: 20px; }
.article-infobox li { font-size: 0.9375rem; color: var(--black); margin-bottom: 6px; }

.article-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9375rem; }
.article-table th {
    background: var(--black);
    color: var(--white);
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
}
.article-table td { padding: 10px 14px; border-bottom: 1px solid rgba(14,15,12,0.1); }
.article-table tr:last-child td { border-bottom: none; }
.article-table tr:nth-child(even) td { background: var(--surface); }

.sidebar-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(14,15,12,0.08);
}
.sidebar-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 14px; font-feature-settings: "calt"; }
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a { font-size: 0.9375rem; font-weight: 600; color: var(--dark-green); }
.sidebar-links a:hover { text-decoration: underline; }

/* CONTACT FORM */
.contact-form-wrap {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid rgba(14,15,12,0.12);
    border-radius: 30px;
    padding: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--black);
    margin-bottom: 6px;
    font-feature-settings: "calt";
}
.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 400;
    color: var(--black);
    background: var(--white);
    border: 1px solid rgba(14,15,12,0.25);
    border-radius: 10px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.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-primary {
    display: inline-block;
    background: var(--green);
    color: var(--dark-green);
    font-family: var(--font);
    font-weight: 600;
    font-size: 1.0625rem;
    padding: 12px 28px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt";
    text-decoration: none;
}
.btn-primary:hover { transform: scale(1.05); text-decoration: none; }
.btn-primary:active { transform: scale(0.95); }

.form-msg {
    display: none;
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
}
.form-msg.success { background: var(--mint); color: var(--dark-green); display: block; }
.form-msg.loading { background: var(--surface); color: var(--warm-dark); display: block; }

/* BREADCRUMB */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.875rem;
    color: var(--gray);
    display: flex;
    gap: 8px;
    align-items: center;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--black); text-decoration: none; }
.breadcrumb-sep { opacity: 0.4; }

/* PAGE HEADER */
.page-header {
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(14,15,12,0.08);
    margin-bottom: 48px;
}
.page-header h1 {
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    margin-bottom: 12px;
}
.page-header p { font-size: 1.0625rem; color: var(--warm-dark); max-width: 600px; }

/* PROSE (about/privacy/terms) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
    font-weight: 900;
    font-size: 1.625rem;
    line-height: 1;
    font-feature-settings: "calt";
    margin: 40px 0 14px;
}
.prose h3 { font-weight: 700; font-size: 1.1875rem; margin: 28px 0 10px; font-feature-settings: "calt"; }
.prose p { margin-bottom: 18px; font-size: 1.0625rem; line-height: 1.7; color: var(--warm-dark); }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 18px; }
.prose li { font-size: 1.0625rem; line-height: 1.6; color: var(--warm-dark); margin-bottom: 6px; }
.prose a { color: var(--dark-green); }

/* COOKIE BANNER */
#cookieBanner {
    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 28px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
#cookieBanner p { font-size: 0.9375rem; line-height: 1.5; color: rgba(255,255,255,0.85); margin: 0; }
#cookieBanner p a { color: var(--green); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
    background: var(--green);
    color: var(--dark-green);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 8px 20px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
    white-space: nowrap;
}
.btn-cookie-accept:hover { transform: scale(1.05); }
.btn-cookie-reject {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 8px 20px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.btn-cookie-reject:hover { background: rgba(255,255,255,0.18); }

/* FOOTER */
.site-footer {
    background: var(--black);
    color: rgba(255,255,255,0.75);
    margin-top: 80px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding: 56px 0 40px;
}
.footer-brand {
    display: block;
    font-weight: 900;
    font-size: 1.375rem;
    color: var(--white);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}
.footer-col p { font-size: 0.9375rem; line-height: 1.6; max-width: 300px; }
.footer-col strong { display: block; color: var(--white); font-weight: 700; font-size: 0.9375rem; margin-bottom: 14px; }
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 0.9375rem;
    margin-bottom: 8px;
    transition: color 0.15s;
}
.footer-col a:hover { color: var(--green); text-decoration: none; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}
.footer-bottom .container {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
}

/* DISCLAIMER */
.disclaimer {
    background: var(--surface);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.6;
    margin-top: 40px;
    border: 1px solid rgba(14,15,12,0.08);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-img-wrap img { height: 260px; }
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .featured-strip { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .articles-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .contact-form-wrap { padding: 28px 20px; }
    .site-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); padding: 16px 24px; border-bottom: 1px solid rgba(14,15,12,0.12); gap: 4px; }
    .site-nav.open { display: flex; }
    .nav-toggle { display: flex; }
    #cookieBanner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hero { padding: 48px 0 40px; }
    .section { padding: 48px 0; }
}
