/* Home page specific styles. */
.bg-grid-pattern {
  background-image: radial-gradient(circle, #e2dfde 1px, transparent 1px);
  background-size: 40px 40px;
}

.home-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

@media (max-width: 767px) {
  body[data-page="home"] .px-12 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  body[data-page="home"] main > section:first-child h1 {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  body[data-page="home"] .text-6xl {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }
}

@media (max-width: 767px) {
  body[data-page="home"] .home-hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.5rem 1rem;
  }

  body[data-page="home"] .home-hero-stats > .flex.flex-col {
    min-width: 0;
    align-items: flex-start;
  }

  body[data-page="home"] .home-hero-stats > .w-px {
    display: none;
  }

  body[data-page="home"] .home-hero-stats > .flex.flex-col > span:first-child {
    font-size: clamp(1.65rem, 8vw, 2rem);
    line-height: 1.1;
    white-space: nowrap;
  }

  body[data-page="home"] .home-hero-stats > .flex.flex-col > span:last-child {
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.08em;
    white-space: normal;
  }

  body[data-page="home"] .home-final-cta {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  body[data-page="home"] .home-final-cta-card {
    padding: clamp(2rem, 8vw, 3rem);
    border-radius: 2rem;
  }

  body[data-page="home"] .home-final-cta-title {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  body[data-page="home"] .home-final-cta-copy {
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  body[data-page="home"] .home-final-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  body[data-page="home"] .home-final-cta-actions > a {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    line-height: 1.3;
    text-align: center;
  }
}

@media (max-width: 359px) {
  body[data-page="home"] .home-final-cta-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
