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

:root {
  --bg: #f3f5f2;
  --soft: #e7ebe8;
  --text: #1c1f1d;
  --muted: #5f6b65;
  --green: #4f7c65;
  --line: #d6ddd8;
}

/* BASE */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1120px;
  margin: auto;
}

.center { text-align: center; }

/* HEADER */
.glass-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(243,245,242,0.85);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mark {
  width: 28px;
  height: 28px;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-weight: 600;
}

/* NAV */
.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: 0.2s;
}

.nav a:hover {
  color: var(--text);
}

/* ACTIVE SCROLLSPY STATE */
.nav a.active {
  background: var(--green);
  color: white !important;
}

/* TYPOGRAPHY */
h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 24px 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.body {
  color: var(--muted);
  max-width: 60ch;
  margin: auto;
}

/* EYEBROW */
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #8a948f;
}

/* SECTIONS */
.section {
  padding: 96px 0;
}

.soft {
  background: var(--soft);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* PANELS */
.panel {
  height: 280px;
  background: linear-gradient(135deg,#e1e6e2,#d6ddd8);
  border-radius: 12px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-top: 48px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.5);
}

/* LINKS */
a {
  color: var(--green);
}

/* BUTTONS */
.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 20px;
  background: var(--green);
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.btn.small {
  margin-top: 0;
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 48px;
  margin-top: 48px;
}

.value {
  font-size: 2rem;
  color: var(--green);
}

.label {
  color: var(--muted);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  color: #8a948f;
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid,
  .cards,
  .stats {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.2rem;
  }
}
html {
  scroll-behavior: auto; /* we replace with JS easing */
}
.nav a.active {
  background: var(--green);
  color: white !important;
  padding: 6px 10px;
  border-radius: 8px;
}
.hero {
  padding: 80px 0 80px; /* increased top + bottom spacing */
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
/* PANEL STRUCTURE */
.panel {
  height: 500px;
  border-radius: 12px;
background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* INNER GRID */
.panel-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* CORE NODE */
.node.core {
  background: rgba(255,255,240,0.7);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* LAYERS */
.layer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* MODULE NODES */
.node {
  flex: 1;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--text);
}

/* SMALL VARIANT */
.node.small {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* HOVER MICRO INTERACTION */

.node:hover {
  transform: translateY(-2px);
  transition: 0.2s ease;
  background: #e9e2d6; /* soft light grey-beige instead of white */
}
.panel {
  position: relative;
  overflow: hidden;
}
