/* Fonts */
:root {
  --bg: #0c1510;
  --bg-card: #101d14;
  --fg: #e8e4d9;
  --fg-muted: #9ca898;
  --accent: #d4920a;
  --accent-dim: #a8700a;
  --forest-dark: #1a3a2a;
  --forest-mid: #2d4f38;
  --forest-light: #3d5a47;
  --border: rgba(212, 146, 10, 0.15);
  --font-head: 'Bitter', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 24px; }
.nav-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 32px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, #1a3a2a 0%, #0c1510 70%);
}
.hero-trees {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tree {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 120px solid #1a3a2a;
  opacity: 0.4;
}
.t1 { left: 5%; border-bottom-color: #162d20; border-left-width: 55px; border-right-width: 55px; border-bottom-width: 160px; }
.t2 { left: 12%; border-bottom-color: #1a3a2a; }
.t3 { left: 20%; border-bottom-color: #122618; border-left-width: 70px; border-right-width: 70px; border-bottom-width: 200px; }
.t4 { left: 35%; border-bottom-color: #1a3a2a; border-left-width: 30px; border-right-width: 30px; border-bottom-width: 90px; }
.t5 { left: 55%; border-bottom-color: #162d20; border-left-width: 60px; border-right-width: 60px; border-bottom-width: 175px; }
.t6 { left: 72%; border-bottom-color: #1a3a2a; }
.t7 { left: 85%; border-bottom-color: #122618; border-left-width: 50px; border-right-width: 50px; border-bottom-width: 145px; }
.hero-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}
.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Shared section styles */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 48px;
}

/* Mission */
.mission {
  padding: 100px 32px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mission-inner {
  max-width: 800px;
  margin: 0 auto;
}
.mission-quote {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  margin-bottom: 32px;
}
.mission-context {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  padding-left: 28px;
}

/* Features */
.features {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-card); }
.feature-icon {
  margin-bottom: 24px;
}
.feature-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* Data Flow */
.data-flow {
  padding: 100px 32px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.data-flow > * {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.flow-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 48px;
}
.flow-step {
  flex: 1;
  min-width: 160px;
  padding: 0 20px;
}
.flow-connector {
  display: flex;
  align-items: center;
  padding-top: 32px;
  flex-shrink: 0;
}
.flow-step-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.flow-step-body h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.flow-step-body p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* Consortium */
.consortium {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.consortium-inner {
  background: linear-gradient(135deg, var(--forest-dark) 0%, #0e2218 100%);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 64px;
}
.consortium-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.consortium-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
}
.consortium-pillars {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.consortium-contact {
  font-size: 14px;
  color: var(--fg-muted);
}
.consortium-contact a {
  color: var(--accent);
  text-decoration: none;
}
.consortium-contact a:hover { text-decoration: underline; }

/* Closing */
.closing {
  padding: 120px 32px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, #1a3a2a 0%, var(--bg) 70%);
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.closing-orb {
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,146,10,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

/* Footer */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
  width: 100%;
  text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
  .hero-headline { font-size: 42px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat { padding: 0; }
  .stat-div { display: none; }
  .flow-timeline { flex-direction: column; }
  .flow-connector { display: none; }
  .consortium-inner { padding: 36px 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .features { padding: 60px 20px; }
  .feature-card { padding: 28px 20px; }
}