:root {
  --stone: #1C1917;
  --fog: #F5F2EE;
  --sage: #4A7C59;
  --sage-light: #6B9E7A;
  --sage-pale: #E8F0EA;
  --warm-white: #FDFAF7;
  --muted: #8C8580;
  --border: #E2DDD8;
  --accent: #C8A96E;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Serif Display', serif;
  background: var(--warm-white);
  color: var(--stone);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: rgba(253,250,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-color: var(--border); }
.nav-logo { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--stone); letter-spacing: -0.02em; text-decoration: none; }
.nav-logo span { color: var(--sage); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.875rem; font-weight: 400; transition: color 0.2s; font-family: 'DM Serif Display', serif; }
.nav-links a:hover { color: var(--stone); }
.nav-links a.active { color: var(--stone); }
.nav-cta { background: var(--sage); color: white !important; padding: 10px 22px; border-radius: 100px; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--sage-light) !important; }

/* FOOTER */
.last-updated { text-align: center; padding: 24px 48px 0; font-size: 0.75rem; color: var(--muted); font-weight: 400; }
footer { background: #141210; padding: 40px 48px 28px; }
footer .footer-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
footer .logo { font-family: 'DM Serif Display', serif; color: rgba(255,255,255,0.4); font-size: 1rem; }
footer .footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
footer .footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-decoration: none; font-weight: 400; transition: color 0.2s; }
footer .footer-links a:hover { color: rgba(255,255,255,0.7); }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }
footer .footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.2); }
footer a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: rgba(255,255,255,0.5); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* PAGE CONTENT */
.page-content { padding-top: 88px; }
.page-hero { padding: 80px 48px 48px; max-width: 1160px; margin-left: auto; margin-right: auto; }
.page-hero .section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; }
.page-hero .section-tag::before { content: ''; width: 16px; height: 1px; background: var(--sage); }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 20px; max-width: 700px; }
.page-hero h1 em { font-style: italic; color: var(--sage); }
.page-hero .subtitle { font-size: 1.05rem; line-height: 1.7; color: var(--muted); font-weight: 400; max-width: 640px; }

.page-body { padding: 0 48px 96px; max-width: 1160px; margin-left: auto; margin-right: auto; }
.page-body h2 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 16px; margin-top: 48px; }
.page-body h2 em { font-style: italic; color: var(--sage); }
.page-body p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; font-weight: 400; margin-bottom: 16px; max-width: 720px; }
.page-body ul, .page-body ol { padding-left: 24px; margin-bottom: 16px; }
.page-body li { font-size: 0.95rem; color: var(--muted); line-height: 1.75; font-weight: 400; margin-bottom: 8px; }

/* PAGE CTA BANNER */
.page-cta { background: var(--stone); padding: 64px 48px; text-align: center; }
.page-cta h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2.4rem); color: white; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-cta h2 em { font-style: italic; color: var(--accent); }
.page-cta p { font-size: 0.95rem; color: rgba(255,255,255,0.45); margin-bottom: 28px; font-weight: 400; }
.page-cta .btn-cta { display: inline-block; padding: 14px 32px; background: var(--sage); color: white; border: none; border-radius: 8px; font-family: 'DM Serif Display', serif; font-size: 0.9rem; font-weight: 400; text-decoration: none; transition: background 0.2s; }
.page-cta .btn-cta:hover { background: var(--sage-light); }

/* STATS GRID (inline on pages) */
.page-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.page-stat-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; text-align: center; }
.page-stat-card .stat-number { font-family: 'DM Serif Display', serif; font-size: 2.2rem; letter-spacing: -0.04em; color: var(--sage); margin-bottom: 6px; }
.page-stat-card .stat-desc { font-size: 0.85rem; color: var(--stone); line-height: 1.55; font-weight: 400; margin-bottom: 8px; }
.page-stat-card cite { font-size: 0.7rem; color: var(--muted); font-style: italic; }

/* COMPARISON TABLE */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: 0.875rem; }
.comparison-table th { background: var(--sage); color: white; padding: 14px 18px; text-align: left; font-weight: 400; font-size: 0.8rem; letter-spacing: 0.02em; }
.comparison-table th:first-child { background: var(--stone); }
.comparison-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--muted); line-height: 1.5; font-weight: 400; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { font-weight: 400; color: var(--stone); background: var(--fog); }
.comparison-table td:nth-child(3) { background: var(--sage-pale); color: var(--stone); }

/* CHECKLIST */
.page-body .checklist { list-style: none; padding-left: 0; }
.page-body .checklist li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.page-body .checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--sage); font-weight: 400; font-size: 0.9rem; }

/* FAQ ACCORDION */
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { font-family: 'DM Serif Display', serif; font-size: 1.1rem; letter-spacing: -0.02em; margin-bottom: 0; color: var(--stone); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-question::after { content: '+'; font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--sage); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { font-size: 0.9rem; color: var(--muted); line-height: 1.7; font-weight: 400; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding-top: 0; }
.faq-item.open .faq-answer { max-height: 500px; padding-top: 12px; }

/* PAGE META */
.page-meta { font-size: 0.8rem; color: var(--muted); margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-style: italic; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(28,25,23,0.08); }
.blog-card-image { height: 180px; background: linear-gradient(135deg, #2D4A35 0%, #4A7C59 60%, #6B9E7A 100%); position: relative; display: flex; align-items: center; justify-content: center; }
.blog-card-image .blog-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.blog-card-image .blog-icon svg { opacity: 0.7; }
.blog-card-body { padding: 24px 28px 28px; }
.blog-card .blog-tag { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; display: inline-block; background: var(--sage-pale); padding: 4px 10px; border-radius: 4px; }
.blog-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; font-weight: 400; }
.blog-card .blog-date { font-size: 0.75rem; color: var(--muted); margin-top: 14px; }

/* ABOUT */
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.value-card { background: var(--sage-pale); border-radius: 12px; padding: 28px; }
.value-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--sage); }
.value-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; font-weight: 400; }

/* BURGER MENU */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; width: 32px; height: 32px; position: relative; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--stone); position: absolute; left: 5px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-hamburger span:nth-child(1) { top: 8px; }
.nav-hamburger span:nth-child(2) { top: 15px; }
.nav-hamburger span:nth-child(3) { top: 22px; }
.nav-hamburger.active span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { top: 15px; transform: rotate(-45deg); }
.nav-mobile-overlay { display: none; }

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-mobile-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(253,250,247,0.98); backdrop-filter: blur(12px);
    flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  }
  .nav-mobile-overlay.open { display: flex; }
  .nav-mobile-overlay a { text-decoration: none; color: var(--stone); font-size: 1.1rem; font-weight: 400; font-family: 'DM Serif Display', serif; }
  .nav-mobile-overlay .nav-cta { background: var(--sage); color: white !important; padding: 12px 28px; border-radius: 100px; }
  .page-hero { padding: 48px 24px 32px; }
  .page-body { padding: 0 24px 64px; }
  .page-cta { padding: 48px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .page-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .last-updated { padding: 24px 24px 0; }
  footer { padding: 32px 24px 24px; }
  footer .footer-inner { flex-direction: column; gap: 16px; align-items: center; text-align: center; }
  footer .footer-links { justify-content: center; }
  footer .footer-bottom { text-align: center; }
}

@media (max-width: 560px) {
  .page-stats-grid { grid-template-columns: 1fr; }
}
