@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&display=swap');

:root {
    --black: #0e0f0c;
    --green: #9fe870;
    --dark-green: #163300;
    --mint: #e2f6d5;
    --pastel: #cdffad;
    --gray: #868685;
    --warm-dark: #454745;
    --surface: #e8ebe6;
    --white: #ffffff;
    --radius-pill: 9999px;
    --radius-card: 30px;
    --radius-card-sm: 16px;
    --radius-section: 40px;
    --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-weight: 600;
    font-size: 1.125rem;
    line-height: 1.44;
    letter-spacing: -0.108px;
    color: var(--black);
    background: var(--white);
    font-feature-settings: "calt";
}

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: var(--white);
    border-bottom: 1px solid rgba(14,15,12,0.10);
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}

.logo {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 0.85;
    color: var(--black);
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    white-space: nowrap;
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--black);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: background 0.15s;
    text-decoration: none;
    font-feature-settings: "calt";
}

.nav-link:hover { background: rgba(211,242,192,0.4); text-decoration: none; }
.nav-link.active { background: var(--mint); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* HERO */
.hero {
    padding: 80px 0 72px;
    background: var(--white);
}

.hero-label {
    display: inline-block;
    background: var(--mint);
    color: var(--dark-green);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    font-feature-settings: "calt";
}

.hero h1 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(2.75rem, 6vw, 6rem);
    line-height: 0.85;
    letter-spacing: -2px;
    color: var(--black);
    font-feature-settings: "calt";
    max-width: 820px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--warm-dark);
    max-width: 560px;
    line-height: 1.55;
    margin-bottom: 36px;
}

.hero-meta {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 40px;
}

.hero-img-wrap {
    margin-top: 48px;
    border-radius: var(--radius-section);
    overflow: hidden;
    box-shadow: var(--shadow-ring);
    max-height: 500px;
}

.hero-img-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.44;
    letter-spacing: -0.108px;
    font-feature-settings: "calt";
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
    text-decoration: none;
    border-radius: var(--radius-pill);
    padding: 10px 22px;
}
.btn:hover { transform: scale(1.05); text-decoration: none; }
.btn:active { transform: scale(0.95); }

.btn-primary {
    background: var(--green);
    color: var(--dark-green);
}
.btn-secondary {
    background: rgba(22,51,0,0.08);
    color: var(--black);
}

/* SECTIONS */
.section { padding: 72px 0; }
.section-alt { background: #f9faf8; }

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.section-title {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.85;
    letter-spacing: -1.5px;
    color: var(--black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--warm-dark);
    max-width: 560px;
    line-height: 1.55;
    margin-bottom: 48px;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-ring);
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: rgba(14,15,12,0.16) 0px 8px 32px; }

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-green);
    background: var(--mint);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.card-title {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.23;
    letter-spacing: -0.39px;
    color: var(--black);
    font-feature-settings: "calt";
    margin-bottom: 10px;
}

.card-excerpt {
    font-size: 1rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 18px;
}

.card-meta {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-bottom: 16px;
}

.card-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark-green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.15s;
}
.card-link:hover { gap: 8px; text-decoration: none; }

/* FEATURES STRIP */
.features-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.feature-item {
    background: var(--white);
    border-radius: var(--radius-card-sm);
    box-shadow: var(--shadow-ring);
    padding: 24px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
    font-feature-settings: "calt";
}

.feature-desc {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.5;
}

/* CONTACT FORM */
.contact-section {
    background: var(--black);
    color: var(--white);
    padding: 72px 0;
}

.contact-section .section-title { color: var(--white); }
.contact-section .section-sub { color: rgba(255,255,255,0.65); }

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 640px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    font-feature-settings: "calt";
}

.form-field input {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-feature-settings: "calt";
}

.form-field input:focus {
    border-color: var(--green);
    box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset;
}

.form-field input::placeholder { color: rgba(255,255,255,0.35); }

.form-submit { grid-column: 1 / -1; margin-top: 8px; }

.form-note {
    grid-column: 1 / -1;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

/* ARTICLE PAGE */
.article-header {
    padding: 64px 0 40px;
    border-bottom: 1px solid rgba(14,15,12,0.10);
    margin-bottom: 48px;
}

.article-header .hero-label { margin-bottom: 16px; }

.article-header h1 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(2.25rem, 4.5vw, 4.5rem);
    line-height: 0.85;
    letter-spacing: -2px;
    color: var(--black);
    font-feature-settings: "calt";
    max-width: 820px;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 0.875rem;
    color: var(--gray);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
    padding-bottom: 72px;
}

.article-body { min-width: 0; }

.article-body h2 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    line-height: 0.9;
    letter-spacing: -1px;
    color: var(--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.375rem;
    line-height: 1.23;
    letter-spacing: -0.39px;
    color: var(--black);
    font-feature-settings: "calt";
    margin: 28px 0 10px;
}

.article-body p {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.65;
    margin-bottom: 18px;
}

.article-body ul, .article-body ol {
    margin: 0 0 18px 24px;
}

.article-body li {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.65;
    margin-bottom: 6px;
}

.article-body a {
    color: var(--dark-green);
    text-decoration: underline;
}

.article-body img {
    border-radius: var(--radius-card-sm);
    margin: 24px 0;
    box-shadow: var(--shadow-ring);
}

.article-sidebar { position: sticky; top: 88px; }

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-ring);
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 14px;
    font-feature-settings: "calt";
}

.sidebar-toc { list-style: none; }
.sidebar-toc li { margin-bottom: 8px; }
.sidebar-toc a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--warm-dark);
    text-decoration: none;
    transition: color 0.15s;
}
.sidebar-toc a:hover { color: var(--dark-green); }

.sidebar-links { list-style: none; }
.sidebar-links li { margin-bottom: 8px; border-bottom: 1px solid rgba(14,15,12,0.08); padding-bottom: 8px; }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--warm-dark);
    text-decoration: none;
}
.sidebar-links a:hover { color: var(--dark-green); }

/* PAGES (about, privacy, terms) */
.page-header {
    padding: 64px 0 40px;
    border-bottom: 1px solid rgba(14,15,12,0.10);
    margin-bottom: 48px;
}

.page-header h1 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.85;
    letter-spacing: -2px;
    color: var(--black);
    font-feature-settings: "calt";
}

.page-body {
    max-width: 760px;
    padding-bottom: 72px;
}

.page-body h2 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 2rem;
    line-height: 0.9;
    letter-spacing: -1px;
    color: var(--black);
    font-feature-settings: "calt";
    margin: 40px 0 14px;
}

.page-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    margin: 24px 0 8px;
    font-feature-settings: "calt";
}

.page-body p {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.65;
    margin-bottom: 16px;
}

.page-body ul {
    margin: 0 0 16px 24px;
}
.page-body li {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.65;
    margin-bottom: 6px;
}

.page-updated {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(14,15,12,0.10);
}

/* FOOTER */
.site-footer {
    background: var(--black);
    color: rgba(255,255,255,0.75);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.footer-desc {
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
}

.footer-contact {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 2;
    color: rgba(255,255,255,0.55);
}
.footer-contact a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-contact a:hover { color: var(--green); }

.footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
}
.footer-col a:hover { color: var(--green); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.footer-bottom p {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    line-height: 1.6;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--green); }

.footer-disclaimer {
    margin-top: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-card);
    box-shadow: 0 8px 40px rgba(0,0,0,0.28);
    padding: 20px 28px;
    max-width: 620px;
    width: calc(100% - 48px);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

#cookie-banner p {
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

#cookie-banner a { color: var(--green); }

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--dark-green); }
.breadcrumb span { color: var(--gray); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .main-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); padding: 16px 24px 24px; border-bottom: 1px solid rgba(14,15,12,0.10); box-shadow: 0 8px 24px rgba(0,0,0,0.08); gap: 4px; }
    .main-nav.open { display: flex; }
    .nav-toggle { display: flex; }
    .site-header { position: relative; }
    .hero h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
    .section-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .cards-grid { grid-template-columns: 1fr; }
    .features-strip { grid-template-columns: 1fr 1fr; }
    .contact-form { grid-template-columns: 1fr; }
    .form-field.full { grid-column: 1; }
    .form-submit { grid-column: 1; }
    .form-note { grid-column: 1; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .features-strip { grid-template-columns: 1fr; }
    .hero-img-wrap img { height: 260px; }
    #cookie-banner { flex-direction: column; align-items: flex-start; }
}
