/* ===== HOMEPAGE ONLY CSS ===== */

.home .wp-block-group p,
.home .wp-block-group li {
  font-size: 18px;
  line-height: 1.85;
}

.home h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.home h2 {
  letter-spacing: -0.02em;
}

.home h3 {
  letter-spacing: -0.01em;
}

.home .wp-block-group p[style*="font-size:22px"],
.home .wp-block-group p[style*="font-size:18px"] {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.home .wp-block-buttons {
  margin-top: 10px;
}

.home .wp-block-button__link {
  font-weight: 600;
  transition: all 0.2s ease;
}

.home .wp-block-group.alignfull a {
  text-underline-offset: 2px;
}

.home .wp-block-group.alignfull a:hover {
  opacity: 0.88;
}

.home .wp-block-group.alignfull ul li {
  margin-bottom: 6px;
}

/* Dark sections */
.home .wp-block-group.alignfull.has-background[style*="#0f1720"] p,
.home .wp-block-group.alignfull.has-background[style*="#111111"] p {
  color: rgba(255, 255, 255, 0.92);
}

.home .wp-block-group.alignfull.has-background[style*="#0f1720"] .wp-block-button__link,
.home .wp-block-group.alignfull.has-background[style*="#111111"] .wp-block-button__link {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* Light alt section */
.home .wp-block-group.alignfull.has-background[style*="#fafafa"] {
  border-top: 1px solid rgba(15, 23, 32, 0.04);
  border-bottom: 1px solid rgba(15, 23, 32, 0.04);
}

/* Card-like groups only */
.home .wp-block-columns .wp-block-group[style*="border-radius:20px"],
.home .wp-block-columns .wp-block-group[style*="border-radius:18px"] {
  height: 100%;
  min-height: 100%;
  box-shadow: 0 1px 2px rgba(15, 23, 32, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home .wp-block-columns .wp-block-group[style*="border-radius:20px"]:hover,
.home .wp-block-columns .wp-block-group[style*="border-radius:18px"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 32, 0.06);
}

.home .wp-block-columns .wp-block-group[style*="border-radius:20px"] {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.home .wp-block-columns .wp-block-group p:last-child {
  margin-bottom: 0;
}

.home .wp-block-columns .wp-block-heading {
  line-height: 1.15;
}

/* Card links */
.home .wp-block-columns p a {
  font-weight: 600;
  text-decoration: none;
}

.home .wp-block-columns p a:hover {
  text-decoration: underline;
}

/* FAQ readability */
.home .wp-block-group[style*="1000px"] p,
.home .wp-block-group[style*="1000px"] li {
  max-width: 900px;
}

/* Slightly better vertical rhythm */
.home .wp-block-group.alignfull .wp-block-heading {
  margin-top: 0;
}

.home .wp-block-group.alignfull p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .home h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .home .wp-block-group p,
  .home .wp-block-group li {
    font-size: 17px;
    line-height: 1.85;
  }

  .home h1 {
    text-wrap: pretty;
  }
}

.home .wp-block-group p {
  color: #374151;
}

.home h1 {
  line-height: 1.02;
}

.home .wp-block-group p[style*="font-size:22px"] {
  color: #4b5563;
}

.home .wp-block-buttons {
  margin-top: 14px;
}

.home .wp-block-button__link {
  border-radius: 999px;
}

.home .wp-block-columns .wp-block-group[style*="border-radius:20px"],
.home .wp-block-columns .wp-block-group[style*="border-radius:18px"] {
  border: 1px solid rgba(15, 23, 32, 0.05);
}

.home .wp-block-columns .wp-block-group[style*="border-radius:20px"] .wp-block-heading,
.home .wp-block-columns .wp-block-group[style*="border-radius:18px"] .wp-block-heading {
  margin-bottom: 10px;
}

.home .wp-block-columns .wp-block-group[style*="border-radius:20px"] p,
.home .wp-block-columns .wp-block-group[style*="border-radius:18px"] p {
  color: #4b5563;
}

.home .wp-block-group.alignfull.has-background[style*="#0f1720"] h2,
.home .wp-block-group.alignfull.has-background[style*="#111111"] h2 {
  color: #ffffff;
}

.home .wp-block-group.alignfull.has-background[style*="#0f1720"] p,
.home .wp-block-group.alignfull.has-background[style*="#111111"] p {
  color: rgba(255, 255, 255, 0.92);
}

.home .wp-block-group[style*="1000px"] h3 {
  margin-bottom: 8px;
}

.home .wp-block-group[style*="1000px"] p {
  margin-bottom: 22px;
}

.home .wp-block-group.alignfull ul {
  padding-left: 20px;
}

.home .wp-block-group.alignfull li {
  margin-bottom: 8px;
}

.home .wp-block-group.alignfull .wp-block-heading {
  text-wrap: balance;
}

@media (max-width: 640px) {
  .home h1 {
    line-height: 1.04;
  }

  .home .wp-block-group p[style*="font-size:22px"] {
    font-size: 20px !important;
    line-height: 1.6 !important;
  }
}