:root {
  --ink: #111317;
  --cream: #fbf8ef;
  --leaf: #2f6f5e;
  --sun: #f6b84e;
  --card: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(
      140% 90% at 5% 0%,
      rgba(246, 184, 78, 0.55),
      rgba(246, 184, 78, 0) 45%
    ),
    radial-gradient(
      120% 90% at 95% 15%,
      rgba(47, 111, 94, 0.45),
      rgba(47, 111, 94, 0) 45%
    ),
    var(--cream);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(#000 0.2px, transparent 0.2px);
  background-size: 3px 3px;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
  animation: rise 0.7s ease-out both;
}

.pill {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(17, 19, 23, 0.2);
  background: rgba(255, 255, 255, 0.6);
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 0.96;
}

.subtitle {
  margin: 1.1rem auto 0;
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.7;
}

.actions {
  margin-top: 1.9rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(17, 19, 23, 0.25);
}

.button.ghost {
  color: var(--ink);
  border: 1px solid rgba(17, 19, 23, 0.25);
  background: rgba(255, 255, 255, 0.4);
}

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

.card {
  padding: 1.1rem;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid rgba(17, 19, 23, 0.09);
  backdrop-filter: blur(8px);
  animation: rise 0.7s ease-out both;
}

.card:nth-child(2) {
  animation-delay: 0.08s;
}

.card:nth-child(3) {
  animation-delay: 0.16s;
}

.card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.card p {
  margin: 0.55rem 0 0;
  line-height: 1.6;
}

.cta {
  margin-top: 2.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(17, 19, 23, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
}

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

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

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
