/* Homepage styles */

.hero {
  background-color: var(--color-green);
  padding: 4rem var(--gutter);
  text-align: center;
}

.hero_title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 6vw, 5.3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-navy);
}

.hero_title span {
  color: #655cc4;
}

.hero_subtitle {
  margin: 0 auto 2rem;
  max-width: 800px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-white);
}

.hero_subtitle a {
  color: #0a4563;
}

.hero_subtitle a:hover {
  text-decoration: none;
}

.hero_cta {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  transition: box-shadow 0.3s ease;
}

.hero_cta:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: var(--color-white);
}

.content {
  flex: 1;
  padding: 4rem var(--gutter);
}

.content_intro {
  margin: 0 auto 3rem;
  max-width: 900px;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
}

.content_heading {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.cta-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 12px 16px;
  border: 2px solid var(--color-green);
  border-radius: 5px;
  color: var(--color-green);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-grid a:hover {
  background-color: var(--color-green);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.content_legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 2rem auto 100px;
}

.content_legal-links-divider {
  width: 1px;
  height: 1.25rem;
  margin: 0 1.5rem;
  background-color: var(--color-grey-border);
}

.content_legal-links a {
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.content_legal-links a:hover {
  color: #000;
  text-decoration: none;
}

@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content_legal-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .content_legal-links-divider {
    display: none;
  }

  .hero {
    padding: 3rem var(--gutter);
  }

  .content {
    padding: 2.5rem var(--gutter);
  }
}

@media (max-width: 480px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
}

