/* Prospera shared design system
   Reusable home-page patterns, kept in sync with the home page look & feel.
   Linked after prosperahq.min.css so it can override Webflow defaults. */

/* Green accent for a single headline word */
.home-accent {
  color: var(--text-colors--text-color-tertiary, #14b87c);
}

/* Float-in on load (fade + rise) */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}
.float-in {
  opacity: 0;
  animation: floatIn 0.8s ease-out forwards;
}
.float-in-delay-1 { animation-delay: 0.1s; }
.float-in-delay-2 { animation-delay: 0.2s; }
.float-in-delay-3 { animation-delay: 0.3s; }
.float-in-delay-4 { animation-delay: 0.4s; }

/* Section eyebrow label */
.home-eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  opacity: 0.55;
  margin-bottom: 0.75rem;
}

/* Eyebrow pill badge */
.home-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--background-colors--background-color-secondary, #fff);
  margin-bottom: 1.5rem;
}
.home-eyebrow-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--background-colors--background-color-tertiary, #14b87c);
}

/* Button row */
.home-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Card grids */
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  width: 100%;
}
.home-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: var(--background-colors--background-color-secondary, #fff);
  text-align: left;
}
.home-card-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--background-colors--background-color-tertiary, #14b87c);
  margin-bottom: 0.75rem;
}
.home-card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  color: var(--background-colors--background-color-tertiary, #14b87c);
}
.home-card h5 {
  font-weight: 700;
  margin: 0 0 0.625rem 0;
  line-height: 1.3;
  color: var(--text-colors--text-color-primary, #1d2b52);
}
.home-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.75;
  margin: 0;
}
.home-card-sublabel {
  margin-top: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}
.home-card ul.home-card-list {
  list-style: none;
  margin: 0.75rem 0 0 0;
  padding-left: 0 !important;
  padding-right: 0;
}
.home-card ul.home-card-list li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0 0 0.4rem 0 !important;
}
.home-card-list li::before {
  content: "";
  flex: 0 0 auto;
  position: relative;
  top: -0.15em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--background-colors--background-color-tertiary, #14b87c);
}
.home-card-link {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--background-colors--background-color-tertiary, #14b87c);
  text-decoration: none;
}
.home-card-link:hover {
  text-decoration: underline;
}

/* Credibility stat row */
.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  width: 100%;
}
.home-stat {
  text-align: center;
}
.home-stat-value {
  font-family: Montserrat, sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-colors--text-color-primary, #1d2b52);
}
.home-stat-label {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* Sector pills */
.home-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.home-pill {
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--background-colors--background-color-secondary, #fff);
}

/* Dark mode */
[data-theme="dark"] .home-card,
body.dark-mode .home-card,
[data-theme="dark"] .home-pill,
body.dark-mode .home-pill,
[data-theme="dark"] .home-eyebrow-pill,
body.dark-mode .home-eyebrow-pill {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
[data-theme="dark"] .home-card h5,
body.dark-mode .home-card h5,
[data-theme="dark"] .home-stat-value,
body.dark-mode .home-stat-value {
  color: var(--text-colors--text-color-secondary, #f5f6f0);
}

/* Responsive */
@media (max-width: 767px) {
  .home-grid,
  .home-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Accessibility */
:focus-visible {
  outline: 2px solid #14b87c;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
