@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #1a1a2e;
  --teal: #05B1C6;
  --teal-dark: #038191;
  --orange: #ff5722;
  --bg-light: #f8f8fc;
  
  --font-brand: 'Plus Jakarta Sans', sans-serif;
}

.refresh-theme {
  font-family: var(--font-brand);
  color: var(--navy);
  background-color: var(--bg-light);
  line-height: 1.6;
}

.refresh-theme h1, 
.refresh-theme h2, 
.refresh-theme h3, 
.refresh-theme h4, 
.refresh-theme h5, 
.refresh-theme h6 {
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-top: 0;
}

.refresh-theme footer h3 {
  color: #fff;
}

.refresh-theme main {
  padding-top: 120px;
}

.content-section {
  /* Was 5rem — too airy stacked with .prose h2 margin-top */
  padding: 3.5rem 1.5rem;
}

.content-section:nth-child(even) {
  background-color: white;
}

.section-inner {
  max-width: 64rem;
  margin: 0 auto;
}

.page-intro {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-intro h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.page-intro p {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto 1.5rem;
}

.prose {
  font-size: 1.125rem;
  color: #4b5563;
}

.prose h2 {
  font-size: 2.25rem;
  color: var(--navy);
  margin-top: 0; /* section padding owns vertical rhythm */
  margin-bottom: 1.5rem;
}

.section-inner > h1:first-child,
.section-inner > h2:first-child,
.section-inner > .prose > h1:first-child,
.section-inner > .prose > h2:first-child,
.hv-pricing-copy > h1:first-child,
.hv-partners-intro-copy > h1:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: var(--navy);
  font-weight: 700;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 9999px;
  background-color: var(--teal);
  color: white !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s;
}

.button-primary:hover {
  background-color: var(--teal-dark);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 9999px;
  background-color: transparent;
  border: 1px solid var(--navy);
  color: var(--navy) !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s;
}

.button-secondary:hover {
  background-color: var(--navy);
  color: white !important;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.content-section:nth-child(even) .feature-card {
  background-color: var(--bg-light);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #4b5563;
  margin-bottom: 0;
  font-size: 1rem;
}

/* Pricing Page Specific */
#toggle-slider { display: none; }
#toggle-monthly, #toggle-yearly {
  margin: 0.5rem;
}
#price-amount {
  font-size: 4rem;
  line-height: 1;
  color: var(--navy);
}
#best-value-badge {
  background-color: var(--orange);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Explicit Header Nav Classes */
.desktop-only-flex {
  display: none !important;
}
.mobile-only-block {
  display: block !important;
}

@media (min-width: 1100px) {
  .desktop-only-flex {
    display: flex !important;
  }
  .mobile-only-block {
    display: none !important;
  }
}

/* Home Hero — full-bleed faded background image */
.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3rem 1.5rem 4rem !important;
  min-height: min(720px, 88vh);
  max-height: none;
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

/* Soft wash so copy on the left stays readable; image stays vivid on the right */
.hero-media-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(248, 248, 252, 0.97) 0%,
      rgba(248, 248, 252, 0.92) 28%,
      rgba(248, 248, 252, 0.55) 48%,
      rgba(248, 248, 252, 0.12) 68%,
      rgba(248, 248, 252, 0) 82%
    ),
    linear-gradient(
      180deg,
      rgba(248, 248, 252, 0.35) 0%,
      rgba(248, 248, 252, 0) 18%,
      rgba(248, 248, 252, 0) 78%,
      rgba(248, 248, 252, 0.45) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  font-size: 17px !important;
  max-width: 36rem;
}

.hero-content p {
  margin-bottom: 1rem;
}

.hero-h1 {
  font-size: 3rem !important; /* ~48px */
  line-height: 1.1;
  margin-bottom: 1rem !important;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--navy);
  margin-bottom: 1rem !important;
}

.hero-ul {
  list-style-type: none;
  padding-left: 1.5rem;
  border-left: 3px solid var(--teal);
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.hero-ul li {
  margin-bottom: 0.25rem !important;
}

@media (max-width: 900px) {
  .hero-section {
    min-height: auto;
    padding: 2.5rem 1.5rem 3rem !important;
  }

  .hero-media-img {
    object-position: 70% center;
  }

  .hero-media-fade {
    background:
      linear-gradient(
        180deg,
        rgba(248, 248, 252, 0.88) 0%,
        rgba(248, 248, 252, 0.82) 42%,
        rgba(248, 248, 252, 0.55) 68%,
        rgba(248, 248, 252, 0.35) 100%
      ),
      linear-gradient(
        90deg,
        rgba(248, 248, 252, 0.75) 0%,
        rgba(248, 248, 252, 0.35) 55%,
        rgba(248, 248, 252, 0.1) 100%
      );
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-h1 {
    font-size: 2.25rem !important;
  }
}

