:root {
  --bg: #f5f0e8;
  --bg-alt: #ede7d9;
  --surface: #faf8f3;
  --fg: #1a2e1f;
  --fg-muted: #4a6348;
  --accent: #c97d2a;
  --accent-warm: #d4923a;
  --forest: #1a3d2e;
  --forest-light: #2a5a3e;
  --border: #d4c9b8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Hero ── */
.hero {
  background: var(--bg);
  padding: 80px 48px 80px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 460px;
  line-height: 1.7;
}

/* Visual grid */
.hero-visual {
  position: relative;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.viz-card {
  background: var(--forest);
  border-radius: 16px;
  padding: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.viz-card-1 { grid-column: 1; }
.viz-card-2 { grid-column: 2; }
.viz-card-3 { grid-column: 1; }
.viz-card-4 {
  grid-column: 2;
  grid-row: 1 / 3;
  background: #0d1f17;
}

.viz-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.viz-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}

.viz-bar {
  height: 4px;
  background: var(--accent-warm);
  border-radius: 2px;
  width: var(--pct, 70%);
  opacity: 0.8;
}

.viz-spark {
  height: 30px;
  width: 100%;
}

.viz-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.map-placeholder {
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.map-placeholder svg {
  width: 100%;
  flex: 1;
  border-radius: 8px;
}

.map-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
  text-align: center;
}

/* ── Manifesto ── */
.manifesto {
  background: var(--forest);
  color: #fff;
  padding: 80px 48px;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 32px;
  padding-left: 28px;
  border-left: 3px solid var(--accent-warm);
}

.manifesto-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 640px;
}

/* ── Features ── */
.features {
  padding: 96px 48px;
  background: var(--bg);
}

.features-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--border);
  border: 2px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 44px 36px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: #fff;
}

.feature-card-1 {
  border-right: 1px solid var(--border);
}

.feature-card-2 {
  background: var(--forest);
  color: #fff;
  border-right: none;
}

.feature-card-2:hover {
  background: #1f4a36;
}

.feature-card-3 {
  border-left: 1px solid var(--border);
}

.feature-icon {
  margin-bottom: 24px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: inherit;
}

.feature-body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.feature-card-2 .feature-body {
  color: rgba(255,255,255,0.7);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 0.82rem;
  color: var(--fg-muted);
  padding-left: 18px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-warm);
}

.feature-card-2 .feature-list li {
  color: rgba(255,255,255,0.65);
}

/* ── Stats ── */
.stats-section {
  background: var(--bg-alt);
  padding: 64px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Closing ── */
.closing-section {
  padding: 100px 48px;
  background: var(--bg);
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.closing-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 20px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 56px;
}

/* Animated pulse graphic */
.closing-pulse {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  position: relative;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-warm);
  animation: pulse-expand 2.4s ease-out infinite;
}

.pulse-ring-2 {
  animation-delay: 1.2s;
}

.pulse-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--accent-warm);
  border-radius: 50%;
}

@keyframes pulse-expand {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── Footer ── */
.site-footer {
  background: var(--forest);
  color: #fff;
  padding: 40px 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.footer-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-nav { padding: 16px 24px; }
  .hero { padding: 60px 24px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .visual-grid { grid-template-columns: 1fr 1fr; }
  .manifesto { padding: 60px 24px; }
  .features { padding: 60px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-1 { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-card-2 { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .feature-card-3 { border-left: none; border-top: 1px solid var(--border); }
  .stats-section { padding: 48px 24px; }
  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-divider { width: 60px; height: 1px; }
  .closing-section { padding: 64px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
