@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:      #cdffad;
    --gray:        #868685;
    --warm-dark:   #454745;
    --light-surf:  #e8ebe6;
    --white:       #ffffff;
    --nav-hover:   rgba(211,242,192,0.4);
    --card-border: rgba(14,15,12,0.12);
    --font-main:   'Inter', Helvetica, Arial, sans-serif;
    --r-pill:      9999px;
    --r-lg:        40px;
    --r-md:        30px;
    --r-sm:        16px;
}

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

body {
    font-family: var(--font-main);
    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";
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
address { font-style: normal; }

.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 var(--card-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--black);
    font-feature-settings: "calt";
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: var(--dark-green);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

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

.main-nav a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--black);
    transition: background 0.18s;
    font-feature-settings: "calt";
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--nav-hover);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--r-sm);
}

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

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--r-pill);
    font-family: var(--font-main);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.108px;
    cursor: pointer;
    border: none;
    transition: transform 0.15s;
    font-feature-settings: "calt";
    text-decoration: none;
}

.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);
    padding: 8px 12px 8px 16px;
}

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

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

.hero-label {
    display: inline-block;
    padding: 5px 16px;
    border-radius: var(--r-pill);
    background: var(--mint);
    color: var(--dark-green);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-feature-settings: "calt";
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -1px;
    margin-bottom: 24px;
    font-feature-settings: "calt";
}

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

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--card-border) 0px 0px 0px 1px;
}

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

/* ── SECTION HEADING ── */
.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.section-head p {
    font-size: 1.125rem;
    color: var(--warm-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* ── ARTICLES GRID ── */
.articles-section { padding: 80px 0; background: var(--white); }

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

.article-card {
    border: 1px solid var(--card-border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background: var(--white);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14,15,12,0.10);
}

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

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

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

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

.article-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: var(--mint);
    color: var(--dark-green);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

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

.article-card h3 a:hover { text-decoration: underline; }

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

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--gray);
}

.article-meta time { font-weight: 600; }

/* ── FEATURES STRIP ── */
.features-section {
    padding: 72px 0;
    background: var(--light-surf);
}

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

.feature-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--r-md);
    border: 1px solid var(--card-border);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.375rem;
}

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

.feature-card p {
    font-size: 0.9375rem;
    color: var(--warm-dark);
    line-height: 1.5;
}

/* ── CONTACT FORM ── */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

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

.contact-info h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 20px;
    font-feature-settings: "calt";
}

.contact-info p {
    color: var(--warm-dark);
    margin-bottom: 24px;
    line-height: 1.55;
}

.contact-details { display: flex; flex-direction: column; gap: 12px; }

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--mint);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--r-lg);
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
    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-main);
    font-size: 1rem;
    color: var(--black);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
    font-feature-settings: "calt";
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-green);
    box-shadow: rgb(134,134,133) 0 0 0 1px inset;
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ── ARTICLE PAGE ── */
.article-page { padding: 64px 0 80px; }

.article-page .container { max-width: 800px; }

.article-header { margin-bottom: 40px; }

.article-header .article-tag { margin-bottom: 16px; }

.article-header h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    font-feature-settings: "calt";
}

.article-header .article-meta { margin-bottom: 28px; font-size: 0.9rem; }

.article-cover {
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: var(--card-border) 0 0 0 1px;
}

.article-cover img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.article-body { font-size: 1.125rem; line-height: 1.7; color: var(--black); }

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    margin: 44px 0 16px;
    font-feature-settings: "calt";
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 12px;
    font-feature-settings: "calt";
}

.article-body p { margin-bottom: 20px; }

.article-body ul,
.article-body ol {
    margin: 0 0 20px 24px;
    list-style: disc;
}

.article-body ol { list-style: decimal; }

.article-body li { margin-bottom: 8px; }

.article-body strong { font-weight: 600; }

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

.article-body a:hover { color: var(--black); }

.article-body .highlight-box {
    background: var(--mint);
    border-left: 4px solid var(--green);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 20px 24px;
    margin: 28px 0;
}

.article-body .highlight-box p { margin: 0; }

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--card-border);
}

/* ── PAGES (ABOUT/PRIVACY/TERMS) ── */
.page-content { padding: 64px 0 80px; }

.page-content .container { max-width: 800px; }

.page-content h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 0.88;
    margin-bottom: 32px;
    font-feature-settings: "calt";
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 40px 0 12px;
    font-feature-settings: "calt";
}

.page-content p { margin-bottom: 18px; line-height: 1.7; }

.page-content ul {
    margin: 0 0 18px 24px;
    list-style: disc;
}

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

.page-updated {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 40px;
}

/* ── COOKIE BANNER ── */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black);
    color: var(--white);
    padding: 20px 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

#cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text { font-size: 0.9375rem; line-height: 1.5; }

.cookie-text a { color: var(--green); text-decoration: underline; }

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

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

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

.btn-cookie-reject {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.15s;
    font-feature-settings: "calt";
}

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

/* ── FOOTER ── */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 64px 0 0;
}

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

.footer-logo .logo-mark { background: var(--green); }
.footer-logo .logo-text { color: var(--white); }

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    margin-top: 12px;
    line-height: 1.5;
}

.footer-col h3 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

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

.footer-col a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9375rem;
    transition: color 0.15s;
}

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

.footer-col address p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9375rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-col address a { color: var(--green); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

/* ── BREADCRUMB ── */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.875rem;
    color: var(--gray);
}

.breadcrumb ol {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb li + li::before { content: '/'; margin-right: 8px; }

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

/* ── RELATED ── */
.related-section { padding: 56px 0; background: var(--light-surf); }

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

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .hero-inner         { grid-template-columns: 1fr; }
    .hero-image         { order: -1; }
    .hero-image img     { height: 320px; }
    .articles-grid      { grid-template-columns: repeat(2, 1fr); }
    .features-grid      { grid-template-columns: repeat(2, 1fr); }
    .footer-inner       { grid-template-columns: 1fr 1fr; }
    .contact-inner      { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .main-nav {
        display: none;
        position: fixed;
        inset: 64px 0 0 0;
        background: var(--white);
        padding: 24px;
        border-top: 1px solid var(--card-border);
        z-index: 99;
    }
    .main-nav.open { display: block; }
    .main-nav ul    { flex-direction: column; gap: 8px; }
    .nav-toggle     { display: flex; }
    .articles-grid  { grid-template-columns: 1fr; }
    .features-grid  { grid-template-columns: 1fr; }
    .related-grid   { grid-template-columns: 1fr; }
    .footer-inner   { grid-template-columns: 1fr; }
    .contact-form   { padding: 24px; }
    .article-cover img { height: 240px; }
    .cookie-inner   { flex-direction: column; }
}
