/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --eucalyptus: #7FA88D;
  --warm-clay: #C4956A;
  --fog: #8EA4B8;
  --pale-sage: #DDE5D9;
  --cloud-white: #F7F5F0;
  --charcoal-green: #2C3E3A;
  --border: #D1D5D3;
  --radius: 14px;
  --max-width: 960px;
}

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal-green);
  background: var(--cloud-white);
}

h1 { font-size: 36px; font-weight: 600; margin-bottom: 16px; }
h2 { font-size: 26px; font-weight: 600; margin-bottom: 12px; margin-top: 48px; }
h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; margin-top: 32px; }
p { margin-bottom: 16px; }
a { color: var(--eucalyptus); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
ul, ol { margin-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 6px; }

/* === Layout === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* === Header === */
.header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: var(--cloud-white);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  height: 40px;
  width: auto;
}
.header-nav { display: flex; gap: 24px; }
.header-nav a {
  color: var(--charcoal-green);
  font-weight: 500;
  font-size: 15px;
}
.header-nav a:hover { color: var(--eucalyptus); }

/* === Hero === */
.hero {
  text-align: center;
  padding: 80px 0 64px;
}
.hero-logo {
  height: 80px;
  margin-bottom: 24px;
}
.hero-tagline {
  font-size: 19px;
  font-weight: 400;
  color: var(--eucalyptus);
  margin-bottom: 8px;
  font-style: italic;
}
.hero-description {
  font-size: 20px;
  font-weight: 500;
  max-width: 540px;
  margin: 0 auto 32px;
}

/* === Feature Cards === */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 0 0 64px;
}
.feature-card {
  background: var(--pale-sage);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.feature-card h3 { color: var(--charcoal-green); margin-top: 0; }
.feature-card p { font-size: 15px; margin-bottom: 0; }
.feature-character {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* === Treechival Callout === */
.callout {
  background: var(--pale-sage);
  border-left: 4px solid var(--eucalyptus);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 0 0 64px;
  font-size: 15px;
}

/* === Trust Bar === */
.trust-bar {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--eucalyptus);
}

/* === Content Pages (compliance, privacy, terms) === */
.page-content {
  padding: 48px 0 80px;
}
.page-content h1 {
  text-align: center;
  margin-bottom: 8px;
}
.page-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--fog);
  margin-bottom: 48px;
}
.page-content h2 {
  color: var(--eucalyptus);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pale-sage);
}
.page-content strong { font-weight: 700; }

/* === Footer === */
.footer {
  background: var(--charcoal-green);
  color: var(--pale-sage);
  padding: 40px 0;
  font-size: 14px;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer a { color: var(--eucalyptus); font-weight: 500; }
.footer-links { display: flex; gap: 24px; }

/* === CTA Button === */
.btn {
  display: inline-block;
  background: var(--warm-clay);
  color: white;
  padding: 12px 32px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.9; text-decoration: none; }

/* === Responsive === */
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .hero { padding: 48px 0 40px; }
  .hero-description { font-size: 17px; }
  .header-nav { gap: 16px; }
  .header-nav a { font-size: 13px; }
  .trust-items { gap: 24px; }
  .footer .container { flex-direction: column; text-align: center; }
}
