:root {
  --hero-blur: 120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.hero-bg {
  background:
    radial-gradient(circle at 10% 8%, rgba(151, 189, 174, 0.38), transparent 48%),
    radial-gradient(circle at 88% 18%, rgba(216, 199, 178, 0.44), transparent 52%),
    linear-gradient(160deg, #fcfaf7 0%, #eef4f1 46%, #f9f5ee 100%);
  filter: blur(var(--hero-blur));
  transform: scale(1.15);
}

.section-grain {
  background-image:
    radial-gradient(rgba(56, 101, 85, 0.06) 0.8px, transparent 0.8px),
    radial-gradient(rgba(56, 101, 85, 0.04) 0.6px, transparent 0.6px);
  background-position: 0 0, 14px 14px;
  background-size: 28px 28px;
  opacity: 0.32;
}

.card {
  border: 1px solid rgba(44, 79, 67, 0.18);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1.5rem;
  padding: 1.6rem;
  box-shadow: 0 8px 28px rgba(20, 39, 34, 0.07);
}

.dot {
  margin-top: 0.4rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  flex-shrink: 0;
  background: #386555;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.floating-actions {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 40;
  display: grid;
  width: min(92vw, 28rem);
  transform: translateX(-50%);
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  transition: opacity 240ms ease, transform 240ms ease;
}

.floating-actions.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 767px) {
  :root {
    --hero-blur: 92px;
  }

  .card {
    padding: 1.35rem;
  }

  .floating-actions {
    width: min(94vw, 24rem);
  }
}

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

  .reveal,
  .reveal.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .floating-actions,
  .floating-actions.is-visible {
    transition: none;
  }
}
