@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 {
    --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;
    --font-display: 'Inter', Helvetica, Arial, sans-serif;
    --font-body: 'Inter', Helvetica, Arial, sans-serif;
    --radius-pill: 9999px;
    --radius-card: 30px;
    --radius-small: 16px;
    --radius-section: 40px;
}

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

body {
    font-family: var(--font-body);
    font-feature-settings: "calt";
    background: var(--bg);
    color: var(--near-black);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.44;
    letter-spacing: 0.18px;
    min-height: 100vh;
}

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 {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(14,15,12,0.1);
}

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

.logo {
    font-size: 20px;
    font-weight: 900;
    color: var(--near-black);
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    text-decoration: none;
}

.logo:hover { text-decoration: none; color: var(--dark-green); }

.main-nav ul { display: flex; gap: 4px; list-style: none; align-items: center; }

.main-nav a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    color: var(--near-black);
    transition: background 0.18s ease, transform 0.15s ease;
    font-feature-settings: "calt";
    text-decoration: none;
}

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

.has-dropdown { position: relative; }

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid rgba(14,15,12,0.12);
    border-radius: 16px;
    padding: 8px;
    min-width: 260px;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px, 0 8px 24px rgba(0,0,0,0.08);
    flex-direction: column;
    gap: 2px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex; }

.dropdown li { list-style: none; }

.dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--near-black);
    white-space: nowrap;
}

.dropdown a:hover { background: var(--light-mint); text-decoration: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

/* HERO */
.hero {
    background: var(--bg);
    padding: 80px 0 64px;
    border-bottom: 1px solid rgba(14,15,12,0.08);
}

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

.hero-label {
    display: inline-block;
    background: var(--light-mint);
    color: var(--positive-green);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-feature-settings: "calt";
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -2px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 24px;
}

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

.hero-meta {
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
}

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

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

/* SECTION TITLES */
.section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -1.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--warm-dark);
    max-width: 560px;
    line-height: 1.55;
}

/* ARTICLES GRID */
.articles-section { padding: 72px 0; }

.articles-header { margin-bottom: 48px; }

.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: var(--radius-card);
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

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

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

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

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

.card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--positive-green);
    background: var(--light-mint);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-bottom: 12px;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.4px;
    color: var(--near-black);
    margin-bottom: 10px;
    font-feature-settings: "calt";
}

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

.card-meta {
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
    border-top: 1px solid rgba(14,15,12,0.08);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
}

.card-read-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
}

.card-read-link:hover { text-decoration: underline; }

/* INFO STRIP */
.info-strip {
    background: var(--light-surface);
    padding: 56px 0;
    border-radius: var(--radius-section);
    margin: 0 24px 72px;
}

.info-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 40px;
}

.info-item { text-align: center; }

.info-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.info-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--near-black);
    margin-bottom: 8px;
    font-feature-settings: "calt";
}

.info-text { font-size: 15px; color: var(--warm-dark); line-height: 1.5; }

/* PAGE HERO (inner pages) */
.page-hero {
    background: var(--light-surface);
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(14,15,12,0.08);
    margin-bottom: 56px;
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -1.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.page-hero .lead {
    font-size: 18px;
    color: var(--warm-dark);
    max-width: 640px;
    line-height: 1.55;
}

/* ARTICLE PAGE */
.article-page { padding-bottom: 80px; }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.8px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 40px 0 16px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 28px 0 12px;
}

.article-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #2a2b28;
    margin-bottom: 18px;
}

.article-content ul, .article-content ol {
    margin: 0 0 18px 24px;
    font-size: 17px;
    line-height: 1.65;
    color: #2a2b28;
}

.article-content li { margin-bottom: 6px; }

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

.article-content .img-block {
    border-radius: var(--radius-small);
    overflow: hidden;
    margin: 28px 0;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}

.article-content .img-block img { width: 100%; object-fit: cover; }

.article-content .img-caption {
    font-size: 13px;
    color: var(--gray);
    margin-top: 8px;
    font-style: italic;
    padding: 0 4px;
}

.article-content .info-box {
    background: var(--light-mint);
    border-left: 4px solid var(--wise-green);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 28px 0;
    font-size: 16px;
    color: var(--near-black);
    line-height: 1.6;
}

.article-content .table-wrap {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: var(--radius-small);
    border: 1px solid rgba(14,15,12,0.12);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.article-content th {
    background: var(--light-surface);
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--near-black);
    border-bottom: 1px solid rgba(14,15,12,0.12);
}

.article-content td {
    padding: 11px 16px;
    border-bottom: 1px solid rgba(14,15,12,0.07);
    color: #2a2b28;
}

.article-content tr:last-child td { border-bottom: none; }

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(14,15,12,0.1);
}

.article-tag {
    background: var(--light-mint);
    color: var(--positive-green);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* SIDEBAR */
.sidebar { position: sticky; top: 80px; }

.sidebar-block {
    background: var(--light-surface);
    border-radius: var(--radius-small);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-block h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--near-black);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.sidebar-block ul { list-style: none; }

.sidebar-block li { margin-bottom: 10px; }

.sidebar-block a {
    font-size: 14px;
    font-weight: 600;
    color: var(--warm-dark);
    line-height: 1.4;
}

.sidebar-block a:hover { color: var(--dark-green); text-decoration: underline; }

/* CONTENT PAGE (about, privacy, terms) */
.content-page { padding-bottom: 80px; }

.content-page h2 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 36px 0 14px;
}

.content-page h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--near-black);
    margin: 24px 0 10px;
    font-feature-settings: "calt";
}

.content-page p {
    font-size: 16px;
    line-height: 1.7;
    color: #2a2b28;
    margin-bottom: 16px;
}

.content-page ul, .content-page ol {
    margin: 0 0 16px 24px;
    font-size: 16px;
    line-height: 1.65;
    color: #2a2b28;
}

.content-page li { margin-bottom: 5px; }

.content-page a { color: var(--dark-green); font-weight: 600; }

.last-updated {
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 32px;
}

/* CONTACT FORM */
.contact-section { padding: 72px 0; }

.contact-section h2 {
    font-size: 40px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -1px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 12px;
}

.contact-desc { font-size: 17px; color: var(--warm-dark); margin-bottom: 40px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--near-black);
    margin-bottom: 7px;
    font-feature-settings: "calt";
}

.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: var(--font-body);
    font-size: 16px;
    color: var(--near-black);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-feature-settings: "calt";
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--wise-green);
    box-shadow: 0 0 0 3px rgba(159,232,112,0.25);
}

.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: 17px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform 0.15s ease;
    font-feature-settings: "calt";
    letter-spacing: -0.1px;
}

.btn-submit:hover { transform: scale(1.05); }
.btn-submit:active { transform: scale(0.95); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-status {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    display: none;
}

.form-status.success {
    background: var(--light-mint);
    color: var(--positive-green);
    display: block;
}

.contact-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--near-black);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.contact-info p { font-size: 16px; color: var(--warm-dark); margin-bottom: 12px; }

/* FOOTER */
.site-footer {
    background: var(--near-black);
    color: #fff;
    padding: 56px 0 0;
}

.footer-inner { }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.footer-col p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.footer-col ul { list-style: none; }

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

.footer-col a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
}

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

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

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

.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

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

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--near-black);
    color: #fff;
    border-radius: var(--radius-small);
    padding: 20px 28px;
    max-width: 560px;
    width: calc(100% - 48px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    display: none;
}

.cookie-banner.visible { display: block; }

.cookie-inner { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.cookie-inner p { font-size: 14px; color: rgba(255,255,255,0.8); flex: 1; min-width: 200px; line-height: 1.5; }
.cookie-inner a { color: var(--wise-green); font-weight: 600; }

.cookie-actions { display: flex; gap: 10px; }

.btn-cookie-accept {
    background: var(--wise-green);
    color: var(--dark-green);
    font-size: 14px;
    font-weight: 700;
    padding: 9px 20px;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt";
}

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

.btn-cookie-reject {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 600;
    padding: 9px 20px;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.15s;
    font-feature-settings: "calt";
}

.btn-cookie-reject:hover { background: rgba(255,255,255,0.2); }

/* BREADCRUMB */
.breadcrumb {
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--warm-dark); font-weight: 600; }
.breadcrumb a:hover { color: var(--dark-green); text-decoration: underline; }
.breadcrumb span { color: var(--gray); }

/* SCHEMA hidden */
.schema-block { display: none; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 48px; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .info-strip-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
    .section-title { font-size: 32px; }
    .page-hero h1 { font-size: 40px; }
    .articles-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid rgba(14,15,12,0.1); padding: 12px 0; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li > a { padding: 12px 24px; border-radius: 0; }
    .has-dropdown .dropdown { position: static; display: none; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 16px; }
    .has-dropdown.open .dropdown { display: flex; }
    .nav-toggle { display: flex; }
    .hero { padding: 48px 0 40px; }
    .hero h1 { font-size: 38px; }
    .contact-section h2 { font-size: 32px; }
    .info-strip { margin: 0 12px 48px; }
    .info-strip-inner { padding: 0 20px; }
}

@media (max-width: 576px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 32px; }
    .section-title { font-size: 28px; }
}
