:root {
  --ink: #142018;
  --ink-soft: #3a4a3f;
  --moss: #1f5c45;
  --moss-deep: #123a2c;
  --sand: #d8c7a4;
  --fog: #e7efe8;
  --glow: #f3f7f2;
  --line: rgba(20, 32, 24, 0.14);
  --display: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--glow);
}

body {
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(31, 92, 69, 0.18), transparent 55%),
    radial-gradient(700px 420px at 92% 8%, rgba(216, 199, 164, 0.35), transparent 50%),
    linear-gradient(180deg, #f5f8f4 0%, #e9efe9 48%, #e2e8e1 100%);
}

a {
  color: var(--moss-deep);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(18, 58, 44, 0.82), rgba(20, 32, 24, 0.35) 45%, rgba(216, 199, 164, 0.2)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08'%3E%3Cpath d='M0 80h160M80 0v160'/%3E%3Ccircle cx='80' cy='80' r='46'/%3E%3Ccircle cx='80' cy='80' r='22'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, #0f3b2d, #244c39 40%, #6d7a52);
  color: #f4f7f3;
  animation: hero-in 900ms ease-out both;
}

.hero-veil {
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(243, 247, 242, 0.16), transparent 65%);
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  max-width: 42rem;
  padding-bottom: clamp(1.5rem, 6vh, 4rem);
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  animation: rise 800ms 80ms ease-out both;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  animation: rise 800ms 160ms ease-out both;
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(244, 247, 243, 0.88);
  animation: rise 800ms 240ms ease-out both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 800ms 320ms ease-out both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: #f4f7f3;
  color: var(--moss-deep);
  text-decoration: none;
  font-weight: 600;
}

.cta.ghost {
  background: transparent;
  color: #f4f7f3;
  border: 1px solid rgba(244, 247, 243, 0.45);
}

.section {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
}

.section h2 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 650;
}

.section p,
.section-lede {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 1.05rem;
}

.section-lede {
  margin-bottom: 1.2rem;
}

.eco-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.eco-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.eco-list strong {
  font-weight: 600;
}

.eco-list span:last-child {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.footer {
  padding: 2rem clamp(1.25rem, 4vw, 2rem) 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer p {
  margin: 0.35rem 0;
}

.fine {
  font-size: 0.85rem;
  max-width: 36rem;
  margin-inline: auto !important;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-in {
  from {
    filter: saturate(0.85);
  }
  to {
    filter: none;
  }
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-18px);
  }
}

@media (max-width: 640px) {
  .hero {
    align-items: center;
  }
}
