@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    background: #f9faf8;
    color: #1a2e23;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    line-height: 1.7;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(22,101,52,0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(249,250,248,0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(22,101,52,0.06);
    height: 60px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 48px);
}
.nav-logo {
    font-size: 22px; font-weight: 800; letter-spacing: -0.5px; text-decoration: none;
}
.nav-logo .s1 { color: #14532d; }
.nav-logo .s2 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-right a { font-size: 13px; color: #4d7c5a; font-weight: 500; text-decoration: none; transition: color 0.15s; }
.nav-right a:hover { color: #14532d; }
.nav-right a.nav-cta {
    background: #14532d; color: #ffffff !important;
    padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 700;
    transition: all 0.2s; box-shadow: 0 1px 3px rgba(20,83,45,0.15); letter-spacing: 0.2px;
}
.nav-right a.nav-cta:hover { background: #0f3d22; color: #ffffff !important; }

/* Page container */
.page-wrap {
    max-width: 760px; margin: 0 auto; padding: 0 24px;
    position: relative; z-index: 1;
}

/* Page header */
.page-header {
    padding: clamp(40px, 8vh, 64px) 0 32px;
}
.page-back {
    display: inline-block; font-size: 14px; color: #166534;
    text-decoration: none; font-weight: 600; margin-bottom: 24px;
}
.page-back:hover { color: #14532d; }
.page-header h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700; color: #14532d;
    letter-spacing: -0.02em; line-height: 1.25;
}
.page-header .subtitle {
    margin-top: 10px; font-size: 16px; color: #4d7c5a; line-height: 1.75;
}

/* Cards */
.card {
    background: #fff;
    border: 1px solid rgba(22,101,52,0.05);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.01);
}
.card h2 {
    font-size: 12px; color: #166534;
    text-transform: uppercase; letter-spacing: 1.8px;
    font-weight: 700; margin-bottom: 16px;
}

/* Typography */
h1 { font-size: 28px; font-weight: 700; color: #14532d; letter-spacing: -0.02em; }
h2 { font-size: 20px; font-weight: 700; color: #14532d; letter-spacing: -0.01em; }
h3 { font-size: 16px; font-weight: 700; color: #14532d; }
p { font-size: 15px; color: #374151; line-height: 1.8; margin-bottom: 16px; }
a { color: #166534; text-decoration: none; font-weight: 600; }
a:hover { color: #14532d; }

/* Content */
.content p { font-size: 16px; color: #374151; line-height: 1.85; margin-bottom: 18px; }
.content h2 { font-size: 18px; margin-top: 32px; margin-bottom: 12px; }
.content h3 { font-size: 15px; margin-top: 24px; margin-bottom: 8px; }
.content ul, .content ol { padding-left: 20px; margin-bottom: 16px; }
.content li { font-size: 15px; color: #374151; line-height: 1.8; margin-bottom: 8px; }
.content strong { color: #14532d; }
.content blockquote {
    border-left: 3px solid #22c55e;
    padding: 12px 20px; margin: 20px 0;
    background: rgba(240,253,244,0.5); border-radius: 0 10px 10px 0;
    font-size: 15px; color: #374151; font-style: italic;
}

/* FAQ details */
details {
    margin-bottom: 12px; padding: 18px 22px;
    background: #fff; border: 1px solid rgba(22,101,52,0.05);
    border-radius: 14px; transition: all 0.2s;
}
details:hover { border-color: rgba(22,101,52,0.12); }
details[open] { border-color: rgba(22,101,52,0.1); }
summary {
    font-size: 15px; font-weight: 600; color: #14532d;
    cursor: pointer; line-height: 1.5;
}
details p { margin-top: 12px; font-size: 14px; color: #4d7c5a; line-height: 1.7; }

/* Tables */
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th, td { padding: 12px 10px; text-align: left; border-bottom: 1px solid rgba(22,101,52,0.05); font-size: 14px; }
th { color: #166534; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; background: #f0fdf4; }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 24px;
    background: #14532d; color: #fff; border: none;
    border-radius: 10px; font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    text-decoration: none; transition: all 0.2s;
}
.btn:hover { background: #0f3d22; color: #fff; }

/* Footer */
.footer {
    text-align: center; padding: 32px 24px;
    border-top: 1px solid rgba(22,101,52,0.05); margin-top: 64px;
}
.footer-links {
    display: flex; justify-content: center; gap: 24px;
    margin-bottom: 10px; flex-wrap: wrap;
}
.footer-links a { font-size: 14px; color: #4d7c5a; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: #14532d; }
.footer-note { font-size: 12px; color: #94a3b8; }

/* Utilities */
.pos { color: #15803d; font-weight: 600; }
.neg { color: #b91c1c; font-weight: 600; }
.meta { color: #4d7c5a; font-size: 13px; }

/* Mobile */
@media (max-width: 768px) {
    .nav-right a:not(.nav-cta) { display: none; }
    .page-wrap { padding: 0 16px; }
    .nav { padding: 0 16px; }
}
