html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
}

/* Subtle dot-grid texture behind the hero, faded toward the edges */
.grid-fade {
  background-image: radial-gradient(
    rgba(20, 22, 28, 0.08) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    black 40%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    black 40%,
    transparent 100%
  );
}

/* Visible by default; JS (if it loads) sets the animated starting state itself */
.lead-card {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 2px solid #1e96d1;
  outline-offset: 3px;
}

/* ---- Signature visual: lead card stack ---- */
.leadstack {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  padding: 40px 20px;
}

.leadstack__card {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e4e7ec;
}

.leadstack__card--back-1,
.leadstack__card--back-2 {
  position: absolute;
  inset: 40px 20px;
  z-index: 1;
}

.leadstack__card--back-1 {
  transform: rotate(-4deg) translateY(6px);
  background: #f6f7f9;
}

.leadstack__card--back-2 {
  transform: rotate(5deg) translateY(10px);
  background: #eef0f3;
  border-color: #e4e7ec;
}

.leadstack__card--front {
  position: relative;
  z-index: 2;
  padding: 22px;
  box-shadow: 0 20px 40px -12px rgba(20, 22, 28, 0.12);
}
