:root {
  --bg: #f2f4ef;
  --text: #1c2018;
  --muted: #4a5341;
  --card: #f9faf6;
  --line: #c7cfbc;
  --accent: #0e7a57;
  --accent-strong: #0a5d42;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 90% -10%, #d0f0d6 0%, transparent 45%),
    radial-gradient(circle at 5% 80%, #dcead8 0%, transparent 40%), var(--bg);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.4;
  pointer-events: none;
}

.ambient-a {
  width: 280px;
  height: 280px;
  background: #bfd8ff;
  top: -80px;
  right: 8vw;
}

.ambient-b {
  width: 360px;
  height: 360px;
  background: #f7cfb5;
  bottom: -160px;
  left: -120px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.header-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.header-link:hover {
  border-bottom-color: currentColor;
}

.hero {
  padding: 4rem 0 3rem;
  animation: rise 550ms ease both;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  margin: 0;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

.intro {
  margin: 1.1rem 0 1.8rem;
  max-width: 55ch;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: var(--muted);
}

.cta {
  display: inline-block;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  font-weight: 500;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(8, 65, 46, 0.22);
}

.features {
  padding: 1.2rem 0 2.6rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: color-mix(in srgb, var(--card) 94%, white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  animation: rise 600ms ease both;
}

.card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding: 0.4rem 0 4rem;
}

.contact h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.contact p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.contact a {
  color: var(--accent-strong);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

@media (max-width: 880px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
