:root {
  --ink: #122018;
  --ink-soft: #33453a;
  --paper: #eef3ef;
  --paper-alt: #e2ebe4;
  --accent: #0d6b56;
  --line: rgba(18, 32, 24, 0.12);
  --hero-from: #06291f;
  --hero-mid: #0d4f3d;
  --hero-to: #1a6a52;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(13, 107, 86, 0.09), transparent 55%),
    radial-gradient(ellipse 55% 35% at 0% 100%, rgba(6, 41, 31, 0.06), transparent 50%),
    var(--paper);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #eef6f1;
  background:
    linear-gradient(152deg, var(--hero-from) 0%, var(--hero-mid) 42%, var(--hero-to) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 14px,
      rgba(255, 255, 255, 0.025) 14px,
      rgba(255, 255, 255, 0.025) 15px
    );
  overflow: hidden;
  animation: hero-in 0.9s ease-out both;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 24%, rgba(160, 230, 200, 0.16), transparent 34%),
    radial-gradient(circle at 16% 78%, rgba(0, 0, 0, 0.28), transparent 42%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding-bottom: clamp(2rem, 8vh, 5rem);
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7.2vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  animation: rise 0.8s 0.15s ease-out both;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.25;
  color: rgba(238, 246, 241, 0.92);
  animation: rise 0.8s 0.28s ease-out both;
}

.lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1.05rem;
  color: rgba(238, 246, 241, 0.76);
  animation: rise 0.8s 0.4s ease-out both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s 0.52s ease-out both;
}

.cta a {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  color: var(--hero-from);
  background: #eef6f1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta a:hover,
.cta a:focus-visible {
  background: #fff;
  transform: translateY(-2px);
  outline: none;
}

.cta a:nth-child(2),
.cta a:nth-child(3) {
  background: transparent;
  color: #eef6f1;
  box-shadow: inset 0 0 0 1.5px rgba(238, 246, 241, 0.5);
}

.cta a:nth-child(3) {
  box-shadow: inset 0 0 0 1.5px rgba(238, 246, 241, 0.32);
}

.cta a:nth-child(2):hover,
.cta a:nth-child(2):focus-visible,
.cta a:nth-child(3):hover,
.cta a:nth-child(3):focus-visible {
  background: rgba(238, 246, 241, 0.1);
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem) 4rem;
}

.section {
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
  animation: fade-up 0.7s ease-out both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

.section--alt {
  margin-inline: calc(-1 * clamp(1.25rem, 4vw, 2rem));
  padding-inline: clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(180deg, var(--paper-alt), transparent 85%);
  border-bottom-color: transparent;
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.section p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.facts,
.steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.facts li,
.steps li {
  margin-bottom: 0.65rem;
}

.facts strong {
  color: var(--ink);
}

.footer {
  padding: 2rem clamp(1.25rem, 4vw, 2rem) 2.5rem;
  text-align: center;
  color: rgba(18, 32, 24, 0.55);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .brand,
  .hero h1,
  .lead,
  .cta,
  .section {
    animation: none;
  }
}
