@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&display=swap');

:root {
    --black: #0e0f0c;
    --green: #9fe870;
    --green-dark: #163300;
    --green-light: #e2f6d5;
    --green-pastel: #cdffad;
    --gray: #868685;
    --warm-dark: #454745;
    --surface: #e8ebe6;
    --white: #ffffff;
    --radius-pill: 9999px;
    --radius-card-lg: 40px;
    --radius-card-md: 30px;
    --radius-card-sm: 16px;
    --shadow-ring: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.44;
    letter-spacing: 0.18px;
    color: var(--black);
    background: var(--white);
    font-feature-settings: "calt";
}

h1, h2, h3, h4, h5 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    line-height: 0.85;
    font-feature-settings: "calt";
    color: var(--black);
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: 1.375rem; line-height: 1.25; font-weight: 600; }

p { font-size: 1.125rem; font-weight: 400; line-height: 1.44; }

a { color: var(--green-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--black); }

address { font-style: normal; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--green);
    color: var(--green-dark);
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.108px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform .2s;
    font-feature-settings: "calt";
    text-decoration: none;
}
.btn-primary:hover { transform: scale(1.05); color: var(--green-dark); }
.btn-primary:active { transform: scale(0.95); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(22,51,0,0.08);
    color: var(--black);
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform .2s;
    font-feature-settings: "calt";
    text-decoration: none;
}
.btn-secondary:hover { transform: scale(1.05); color: var(--black); }
.btn-secondary:active { transform: scale(0.95); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(14,15,12,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.375rem;
    font-weight: 900;
    color: var(--black);
    text-decoration: none;
    white-space: nowrap;
    font-feature-settings: "calt";
}
.logo-dot { color: var(--green); }

.site-nav { margin-left: auto; margin-right: 16px; }
.site-nav ul { display: flex; gap: 8px; list-style: none; align-items: center; }
.site-nav > ul > li > a {
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-card-sm);
    color: var(--black);
    transition: background .2s;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li > a.active { background: rgba(211,242,192,0.4); color: var(--black); }

.has-dropdown { position: relative; }
.has-dropdown .nav-arrow { font-size: 0.6rem; margin-left: 4px; }
.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-ring), 0 8px 32px rgba(14,15,12,0.1);
    border-radius: var(--radius-card-sm);
    min-width: 260px;
    flex-direction: column;
    padding: 8px;
    list-style: none;
    z-index: 200;
}
.dropdown li a {
    display: block;
    padding: 10px 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    color: var(--black);
}
.dropdown li a:hover { background: var(--green-light); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
    margin-left: auto;
}

.hero {
    background: var(--white);
    padding: 96px 0 80px;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}
.hero h1 { margin-bottom: 24px; }
.hero-sub {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--warm-dark);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img {
    width: 100%;
    border-radius: var(--radius-card-lg);
    overflow: hidden;
    box-shadow: var(--shadow-ring);
    aspect-ratio: 4/3;
    object-fit: cover;
}
.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.section-title { margin-bottom: 48px; }
.section-title span { color: var(--green-dark); }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    background: var(--white);
    border-radius: var(--radius-card-md);
    box-shadow: var(--shadow-ring);
    overflow: hidden;
    transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card-body { padding: 28px; }
.card-meta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.card-tag {
    background: var(--green-light);
    color: var(--green-dark);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}
.card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.396px;
    margin-bottom: 12px;
}
.card p { font-size: 0.9375rem; color: var(--warm-dark); line-height: 1.55; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--green-dark);
}
.card-link:hover { color: var(--black); }

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-card-md);
    box-shadow: var(--shadow-ring);
}
.topic-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
}
.topic-item h4 { margin-bottom: 8px; }
.topic-item p { font-size: 0.9375rem; color: var(--warm-dark); }

.contact-section { background: var(--black); color: var(--white); padding: 80px 0; }
.contact-section h2 { color: var(--white); margin-bottom: 16px; }
.contact-section p { color: rgba(255,255,255,0.7); margin-bottom: 48px; max-width: 560px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.form-group input,
.form-group textarea {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    color: var(--white);
    font-family: inherit;
    transition: border-color .2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset; }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(159,232,112,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.125rem;
}
.contact-info-item h5 { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.5); margin-bottom: 4px; line-height: 1.4; }
.contact-info-item p, .contact-info-item a { font-size: 1rem; color: var(--white); font-weight: 400; }
.contact-info-item a:hover { color: var(--green); }

.site-footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-col .logo { color: var(--white); }
.footer-desc { font-size: 0.9375rem; color: rgba(255,255,255,0.5); margin-top: 12px; line-height: 1.6; }
.footer-col h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.9375rem; color: rgba(255,255,255,0.6); }
.footer-col ul li a:hover { color: var(--green); }
.footer-col address p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-col address a { color: rgba(255,255,255,0.6); }
.footer-col address a:hover { color: var(--green); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.disclaimer { font-size: 0.75rem !important; color: rgba(255,255,255,0.3) !important; }

.article-hero {
    background: var(--white);
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(14,15,12,0.08);
}
.article-breadcrumb {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-breadcrumb a { color: var(--gray); }
.article-breadcrumb a:hover { color: var(--black); }
.article-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 0.9;
    margin-bottom: 24px;
    max-width: 800px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 32px;
}
.article-meta .tag {
    background: var(--green-light);
    color: var(--green-dark);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}
.article-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-card-lg);
    box-shadow: var(--shadow-ring);
    margin-top: 40px;
}
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    padding: 64px 0;
}
.article-content { max-width: 720px; }
.article-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 0.95;
    margin: 48px 0 16px;
}
.article-content h3 {
    font-size: 1.5rem;
    line-height: 1.1;
    margin: 32px 0 12px;
}
.article-content p { color: var(--warm-dark); margin-bottom: 20px; line-height: 1.65; }
.article-content ul, .article-content ol {
    margin: 0 0 20px 24px;
    color: var(--warm-dark);
    line-height: 1.65;
}
.article-content li { margin-bottom: 8px; }
.article-content a { color: var(--green-dark); border-bottom: 1px solid rgba(22,51,0,0.3); }
.article-content a:hover { border-bottom-color: var(--green-dark); }
.article-content .note {
    background: var(--green-light);
    border-left: 4px solid var(--green);
    border-radius: 0 var(--radius-card-sm) var(--radius-card-sm) 0;
    padding: 20px 24px;
    margin: 28px 0;
    font-size: 0.9375rem;
    color: var(--green-dark);
}
.article-content figure {
    margin: 32px 0;
}
.article-content figure img {
    width: 100%;
    border-radius: var(--radius-card-sm);
    box-shadow: var(--shadow-ring);
}
.article-content figcaption {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-top: 8px;
    text-align: center;
}
.article-sidebar { position: sticky; top: 96px; }
.sidebar-toc {
    background: var(--surface);
    border-radius: var(--radius-card-md);
    padding: 28px;
    margin-bottom: 24px;
}
.sidebar-toc h4 { margin-bottom: 16px; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-toc ol { margin-left: 20px; color: var(--warm-dark); }
.sidebar-toc li { font-size: 0.875rem; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.sidebar-toc a { color: var(--warm-dark); }
.sidebar-toc a:hover { color: var(--black); }
.sidebar-related {
    background: var(--white);
    border-radius: var(--radius-card-md);
    box-shadow: var(--shadow-ring);
    padding: 28px;
}
.sidebar-related h4 { margin-bottom: 16px; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-related ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sidebar-related li a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--black);
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-card-sm);
    transition: background .2s;
}
.sidebar-related li a:hover { background: var(--green-light); }

.page-hero {
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(14,15,12,0.08);
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 16px; }
.page-hero p { font-size: 1.125rem; color: var(--warm-dark); max-width: 600px; }
.page-content {
    max-width: 800px;
    padding: 64px 0;
}
.page-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 0.95;
    margin: 48px 0 16px;
}
.page-content h3 { font-size: 1.375rem; line-height: 1.1; margin: 28px 0 10px; }
.page-content p { color: var(--warm-dark); margin-bottom: 18px; line-height: 1.65; }
.page-content ul, .page-content ol { margin: 0 0 18px 24px; color: var(--warm-dark); line-height: 1.65; }
.page-content li { margin-bottom: 8px; }
.page-content a { color: var(--green-dark); border-bottom: 1px solid rgba(22,51,0,0.3); }
.updated-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray);
    background: var(--surface);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 520px;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-card-md);
    padding: 24px 28px;
    box-shadow: 0 8px 40px rgba(14,15,12,0.25);
    z-index: 9999;
    display: none;
}
.cookie-banner p { font-size: 0.9375rem; color: rgba(255,255,255,0.75); margin-bottom: 20px; line-height: 1.55; }
.cookie-banner p a { color: var(--green); }
.cookie-actions { display: flex; gap: 12px; }
.cookie-accept {
    background: var(--green);
    color: var(--green-dark);
    border: none; cursor: pointer;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: transform .2s;
}
.cookie-accept:hover { transform: scale(1.05); }
.cookie-reject {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none; cursor: pointer;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: transform .2s;
}
.cookie-reject:hover { transform: scale(1.05); }

@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-img { display: none; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .topics-grid { grid-template-columns: 1fr; }
    .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) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-nav > ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: 0 8px 32px rgba(14,15,12,0.1); }
    .site-nav > ul.open { display: flex; }
    .nav-toggle { display: block; }
    .header-inner { position: relative; }
    .dropdown { position: static; box-shadow: none; padding-left: 16px; }
    .hero { padding: 48px 0 40px; }
    .section { padding: 48px 0; }
}
