:root {
  color-scheme: light;
  --h1: clamp(2.5rem, 4vw, 3.5rem);
  --h2: clamp(2.1rem, 3vw, 2.7rem);
  --h3: clamp(1.4rem, 2vw, 1.7rem);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.65;
}

.rich-text h1,
h1 {
  line-height: 1.2;
  font-size: var(--h1);
}

.rich-text h2,
h2 {
  line-height: 1.25;
  font-size: var(--h2);
}

.rich-text h3,
h3 {
  line-height: 1.3;
  font-size: var(--h3);
}

.rich-text p {
  line-height: 1.65;
}

.content-shell {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: 0.25rem;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: #059669;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 18px 40px rgba(5, 150, 105, 0.22);
  border: 1px solid #047857;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(5, 150, 105, 0.28);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: transparent;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta-secondary:hover {
  transform: translateY(-2px);
  border-color: #94a3b8;
}

.hero-media {
  background-size: cover;
  background-position: center;
}

.hero-dots {
  display: flex;
  gap: 0.4rem;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dots span.active {
  background: #a3e635;
  transform: scale(1.2);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.card-section {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .card-section {
    padding: 2rem 2.5rem;
  }
}
