/* ── Greencom — Design Tokens & Reset ── */

:root {
  /* Surfaces */
  --forest-900: #0E3A2E;
  --forest-800: #154A3B;
  --forest-dark: #0a2e23;
  --forest-overlay: #0E3A2EEB;
  --off-white: #F6F7F4;
  --white: #FFFFFF;

  /* Accent */
  --lime: #C6F24E;
  --lime-soft: rgba(198, 242, 78, 0.15);
  --lime-border: rgba(198, 242, 78, 0.2);
  --lime-glow: rgba(198, 242, 78, 0.3);

  /* Text */
  --ink: #0C0E0D;
  --ink-muted: #5A6A60;
  --ink-light: #6B7280;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.55);
  --on-dark-dim: rgba(255, 255, 255, 0.45);
  --on-dark-faint: rgba(255, 255, 255, 0.35);
  --on-green: #B7C7BC;
  --cream: #EDE9DD;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-light: rgba(255, 255, 255, 0.1);

  /* Borders */
  --border: #E7E8E4;

  /* Typography */
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-hero: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --container: 1400px;
  --gutter: 72px;
  --section-pad: 120px;
  --section-pad-sm: 80px;
}

/* ── Reset ── */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ── Typography ── */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.heading-xl {
  font-size: clamp(36px, 4.7vw, 68px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.heading-lg {
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.02em;
}

.heading-md {
  font-size: clamp(28px, 2.9vw, 42px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.heading-sm {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -0.01em;
}

.body-lg {
  font-size: 17px;
  line-height: 1.65;
}

.body {
  font-size: 16px;
  line-height: 1.625;
}

.body-sm {
  font-size: 14px;
  line-height: 1.57;
}

.caption {
  font-size: 13px;
  line-height: 1.38;
}

/* ── Layout ── */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  padding: 14px 28px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn--primary {
  background-color: var(--forest-900);
  color: var(--on-dark);
}

.btn--dark {
  background-color: var(--ink);
  color: var(--on-dark);
}

.btn--outline {
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
}

.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 13px;
}

/* ── Scroll Animation ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Header scroll state ── */

.site-header.scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

@media (max-width: 1024px) {
  :root {
    --gutter: 40px;
    --section-pad: 80px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section-pad: 56px;
  }
}
