:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #14202c;
  --muted: #5c6b7a;
  --brand: #0a6b3a;
  --brand-deep: #075028;
  --brand-soft: #e6f4ec;
  --accent: #b8860b;
  --accent-soft: #f7efd9;
  --line: #e3e9f0;
  --radius: 18px;
  --maxw: 1080px;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.logo span { color: var(--brand); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, #075028 0%, #0a6b3a 55%, #0f8a4c 100%);
}
.hero-media { position: absolute; inset: 0; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-img.ready { opacity: .45; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(7,80,40,.2) 0%, rgba(7,80,40,.55) 60%, #075028 100%);
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(184,134,11,.25), transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 88px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 auto 22px;
  max-width: 760px;
}
.lede {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.92);
  max-width: 640px;
  margin: 0 auto;
}
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.stat {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 14px 22px;
  min-width: 120px;
  backdrop-filter: blur(4px);
}
.stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  font-family: var(--serif);
}
.stat span { font-size: 13px; color: rgba(255,255,255,.85); }

/* Sections */
.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 28px;
  box-shadow: 0 1px 2px rgba(20,32,44,.04);
}
.section h2 {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.section h3 {
  font-size: 18px;
  margin: 24px 0 8px;
  color: var(--brand);
}
.section p { margin: 0 0 14px; color: var(--ink); }

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
  padding: 28px;
}
.feature.flip .feature-media { order: 2; }
.feature-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
}
.feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease, transform .9s ease;
}
.feature-media img.ready { opacity: 1; }
.feature-media:hover img.ready { transform: scale(1.04); }
.shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
.feature-media.loaded .shimmer { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

.feature-body { min-width: 0; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid #cfe7d8;
  padding: 6px 14px;
  border-radius: 999px;
}

.split-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: item;
}
.split-list li {
  position: relative;
  padding: 12px 0 12px 40px;
  border-top: 1px dashed var(--line);
  counter-increment: item;
}
.split-list li:first-child { border-top: none; }
.split-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.split-list strong { color: var(--brand); }

/* Glossary */
.glossary-intro { color: var(--muted); margin-top: -6px; }
.glossary {
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.term {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fbfcfe;
}
.term dt {
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 4px;
}
.term dd { margin: 0; color: var(--muted); font-size: 15px; }

/* Disclaimer */
.disclaimer {
  background: #fff8ec;
  border-color: #f0e3c3;
}
.disclaimer h2 { color: var(--accent); }
.disclaimer p { color: #6b5730; }

/* Footer */
.site-footer {
  margin-top: 48px;
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Mobile */
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .feature.flip .feature-media { order: 0; }
  .glossary { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-inner { flex-direction: column; gap: 10px; }
  .nav { justify-content: center; }
  .section { padding: 24px 20px; }
  .hero-content { padding-top: 72px; padding-bottom: 64px; }
  .hero-stats { gap: 10px; }
  .stat { min-width: 104px; padding: 12px 16px; }
}
