/*
Theme Name: HonestPocket Blocksy Child
Description: Minimal Blocksy child theme for HonestPocket-specific presentation changes.
Author: HonestPocket
Template: blocksy
Version: 1.2.3
Text Domain: honestpocket-blocksy-child
*/

.hp-homepage-foundation {
  color: var(--theme-palette-color-3, #163126);
}

.hp-homepage-foundation .alignwide {
  width: min(100% - 2rem, var(--theme-container-width, 1180px));
}

.hp-homepage-foundation .alignfull {
  margin-top: 0;
  margin-bottom: 0;
}

.hp-eyebrow,
.hp-card-label,
.hp-quick-link-kicker,
.hp-step-number,
.hp-article-tag,
.hp-form-placeholder-label,
.hp-credibility-kicker {
  margin: 0;
  color: var(--theme-palette-color-1, #1f7a4d);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hp-display-title,
.hp-homepage-foundation h2 {
  text-wrap: balance;
}

.hp-display-title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.35rem);
  line-height: 1.08;
}

.hp-lead {
  max-width: 58ch;
  margin: 1.2rem 0 0;
  color: var(--theme-palette-color-4, #547062);
  font-size: 1.08rem;
}

.hp-home-hero {
  padding: clamp(3rem, 7vw, 5.25rem) 0 2.2rem;
  background:
    radial-gradient(circle at top right, rgba(31, 122, 77, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(245, 251, 247, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
}

.hp-home-hero-grid {
  gap: 2rem;
}

.hp-home-hero-copy > * + *,
.hp-home-hero-card > * + *,
.hp-section-heading > * + *,
.hp-step-card > * + *,
.hp-topic-card > * + *,
.hp-article-card > * + *,
.hp-newsletter-form-card > * + *,
.hp-credibility-card > * + * {
  margin-block-start: 0.85rem;
}

.hp-hero-actions {
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.hp-hero-actions .wp-block-button__link,
.hp-hub-cta .wp-block-button__link,
.hp-newsletter-form-card .wp-block-button__link {
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
}

.hp-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
  color: var(--theme-palette-color-4, #547062);
  font-weight: 600;
}

.hp-pill-list li::before {
  content: "\2022";
  margin-right: 0.4rem;
  color: var(--theme-palette-color-1, #1f7a4d);
}

.hp-home-hero-card,
.hp-trust-card,
.hp-step-card,
.hp-topic-card,
.hp-article-card,
.hp-newsletter-form-card,
.hp-credibility-card {
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(202, 223, 209, 0.9);
  border-radius: 1.25rem;
  box-shadow: 0 10px 24px rgba(16, 50, 33, 0.08);
}

.hp-home-hero-card {
  padding: 1.75rem;
}

.hp-home-hero-card h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.hp-quick-links {
  display: grid;
  gap: 0.85rem;
}

.hp-quick-link {
  padding: 1rem;
  border: 1px solid rgba(202, 223, 209, 0.9);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(231, 243, 235, 0.85) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.hp-quick-link p {
  margin: 0;
}

.hp-quick-link-kicker {
  margin-bottom: 0.3rem;
  color: var(--theme-palette-color-4, #547062);
}

.hp-quick-link a {
  color: var(--theme-palette-color-3, #163126);
  font-weight: 700;
  text-decoration: none;
}

.hp-trust-strip {
  padding: 0.75rem 0 0.5rem;
}

.hp-trust-grid,
.hp-step-grid,
.hp-topic-grid,
.hp-credibility-grid {
  gap: 1rem;
}

.hp-trust-card {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

.hp-trust-card h3,
.hp-step-card h3,
.hp-topic-card h3,
.hp-article-card h3,
.hp-credibility-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hp-trust-card p,
.hp-section-heading p,
.hp-step-card p,
.hp-topic-card p,
.hp-article-card p,
.hp-hub-cta p,
.hp-newsletter-shell p,
.hp-credibility-card p,
.hp-credibility-intro {
  color: var(--theme-palette-color-4, #547062);
}

.hp-section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.hp-section-alt {
  background: rgba(223, 244, 231, 0.48);
  border-top: 1px solid rgba(215, 231, 220, 0.8);
  border-bottom: 1px solid rgba(215, 231, 220, 0.8);
}

.hp-section-heading {
  max-width: 52rem;
  margin-bottom: 2.2rem;
}

.hp-section-heading h2,
.hp-credibility-heading h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.hp-inline-cta {
  margin: 1.45rem 0 0;
  font-weight: 600;
}

.hp-inline-cta a,
.hp-card-link a,
.hp-article-card a,
.hp-hub-cta a,
.hp-newsletter-form-card a:not(.wp-block-button__link),
.hp-credibility-card a {
  color: var(--theme-palette-color-1, #1f7a4d);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hp-topic-card,
.hp-article-card,
.hp-credibility-card {
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hp-topic-card:hover,
.hp-topic-card:focus-within,
.hp-article-card:hover,
.hp-article-card:focus-within,
.hp-credibility-card:hover,
.hp-credibility-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(31, 122, 77, 0.38);
  box-shadow: 0 20px 44px rgba(16, 50, 33, 0.14);
}

.hp-card-link {
  font-weight: 700;
}

.hp-hub-cta {
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(31, 122, 77, 0.24);
  border-radius: 1rem;
  background: linear-gradient(140deg, #f1fbf5 0%, #ffffff 80%);
}

.hp-hub-cta .wp-block-buttons {
  margin: 0;
}

.hp-article-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hp-article-query .wp-block-post {
  margin: 0;
}

.hp-article-card {
  padding: 1.5rem;
}

.hp-article-card .wp-block-post-title {
  margin: 0;
}

.hp-article-card .wp-block-post-title a {
  color: var(--theme-palette-color-3, #163126);
  text-decoration: none;
}

.hp-article-card .wp-block-post-excerpt {
  margin-top: 0.75rem;
}

.hp-article-card .wp-block-post-excerpt p,
.hp-article-card .wp-block-post-terms {
  margin: 0;
}

.hp-credibility-band {
  background: linear-gradient(180deg, rgba(247, 252, 248, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.hp-credibility-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.hp-credibility-intro {
  margin-top: 0.85rem;
}

.hp-credibility-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 251, 247, 0.95) 100%);
}

.hp-newsletter-shell {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.hp-newsletter-cta {
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(31, 122, 77, 0.22);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #eaf7ee 0%, #ffffff 100%);
  box-shadow: 0 14px 34px rgba(16, 50, 33, 0.1);
}

.hp-newsletter-cta h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.hp-newsletter-form-card {
  background: rgba(255, 255, 255, 0.98);
}

.hp-newsletter-note {
  margin-top: 0.75rem;
}

@media (max-width: 980px) {
  .hp-home-hero-grid,
  .hp-newsletter-cta {
    gap: 1.5rem;
  }

  .hp-article-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 781px) {
  .hp-home-hero {
    padding-top: 3rem;
  }

  .hp-home-hero-card,
  .hp-newsletter-cta {
    padding: 1.5rem;
  }

  .hp-homepage-foundation .alignwide {
    width: min(100% - 1.5rem, var(--theme-container-width, 1180px));
  }

  .hp-hub-cta {
    align-items: flex-start;
  }
}
.hp-hero-actions .is-style-outline .wp-block-button__link {
  color: var(--theme-palette-color-3, #163126);
  background: #fff;
  border: 1px solid rgba(202, 223, 209, 0.95);
  box-shadow: none;
}

.hp-hero-actions .is-style-outline .wp-block-button__link:hover,
.hp-hero-actions .is-style-outline .wp-block-button__link:focus {
  background: #f8fcf9;
  border-color: rgba(31, 122, 77, 0.35);
}

.hp-quick-link {
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}

.hp-quick-link:hover,
.hp-quick-link:focus-within {
  transform: translateY(-1px);
  border-color: rgba(31, 122, 77, 0.45);
  background: #edf8f1;
}
/* Homepage blueprint alignment refinements */
.home .entry-content,
.hp-homepage-foundation {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--theme-palette-color-3, #163126);
  text-wrap: pretty;
}

.home .entry-content > .wp-block-group {
  margin-top: 0;
}

.hp-homepage-foundation,
.hp-homepage-foundation .wp-block-group,
.hp-homepage-foundation .wp-block-columns,
.hp-homepage-foundation .wp-block-buttons,
.hp-homepage-foundation .wp-block-button,
.hp-homepage-foundation .wp-block-heading,
.hp-homepage-foundation p,
.hp-homepage-foundation ul {
  margin-block-start: 0;
  margin-block-end: 0;
}

.hp-home-hero,
.hp-section,
.hp-trust-strip {
  padding-right: clamp(1rem, 2vw, 1.5rem);
  padding-left: clamp(1rem, 2vw, 1.5rem);
}

.hp-homepage-foundation .alignwide {
  width: min(100% - 2rem, var(--theme-container-width, 1180px));
}

.hp-home-hero {
  padding-top: 5rem;
  padding-bottom: 2.25rem;
  background: linear-gradient(180deg, #f7fcf8 0%, #f2faf5 100%);
}

.hp-home-hero-grid,
.hp-newsletter-cta {
  gap: 2rem;
  align-items: center;
}

.hp-trust-grid,
.hp-step-grid,
.hp-topic-grid,
.hp-credibility-grid {
  gap: 1rem;
}

.hp-display-title,
.hp-section-heading h2,
.hp-newsletter-cta h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hp-display-title {
  font-size: clamp(2.3rem, 4vw, 4.3rem);
}

.hp-lead,
.hp-section-heading p,
.hp-step-card p,
.hp-topic-card p,
.hp-trust-card p,
.hp-article-card p,
.hp-article-card .wp-block-post-excerpt,
.hp-hub-cta p,
.hp-newsletter-cta p,
.hp-inline-cta {
  color: var(--theme-palette-color-4, #547062);
}

.hp-lead {
  margin-top: 1.25rem;
  font-size: 1.08rem;
}

.hp-hero-actions {
  margin-top: 1.75rem;
}

.hp-homepage-foundation .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-homepage-foundation .wp-block-button__link:hover,
.hp-homepage-foundation .wp-block-button__link:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(14, 53, 35, 0.18);
}

.hp-hero-actions .is-style-outline .wp-block-button__link {
  background: #fff;
  color: var(--theme-palette-color-3, #163126);
  border-color: #cadfd1;
}

.hp-hero-actions .is-style-outline .wp-block-button__link:hover,
.hp-hero-actions .is-style-outline .wp-block-button__link:focus {
  background: #fff;
  border-color: rgba(31, 122, 77, 0.45);
}

.hp-pill-list {
  gap: 1rem;
}

.hp-home-hero-card,
.hp-step-card,
.hp-topic-card,
.hp-trust-card,
.hp-article-card,
.hp-newsletter-form-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(202, 223, 209, 0.9);
  border-radius: 20px;
  box-shadow: 0 6px 14px rgba(13, 43, 29, 0.06);
}

.hp-home-hero-card {
  padding: 1.75rem;
}

.hp-home-hero-card h2 {
  margin: 0.75rem 0 1.1rem;
  font-size: 1.5rem;
}

.hp-home-hero-copy > * + *,
.hp-home-hero-card > * + *,
.hp-section-heading > * + *,
.hp-step-card > * + *,
.hp-topic-card > * + *,
.hp-article-card > * + *,
.hp-newsletter-form-card > * + * {
  margin-block-start: 0.85rem;
}

.hp-quick-link {
  background: #e7f3eb;
}

.hp-quick-link-kicker {
  margin-bottom: 0.2rem;
  color: var(--theme-palette-color-4, #547062);
  font-size: 0.9rem;
}

.hp-quick-link a {
  color: var(--theme-palette-color-3, #163126);
  font-weight: 700;
  text-decoration: none;
}

.hp-trust-strip {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.hp-trust-card {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  box-shadow: none;
}

.hp-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hp-section-heading h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.95rem, 3vw, 3rem);
}

.hp-section-heading p {
  font-size: 1.02rem;
}

.hp-trust-card h3,
.hp-step-card h3,
.hp-topic-card h3,
.hp-article-card h3,
.hp-article-card .wp-block-post-title {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hp-card-link a::after {
  content: "\2192";
  margin-left: 0.35rem;
}

.hp-article-card .wp-block-post-title a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--theme-palette-color-3, #163126);
  text-decoration: none;
}

.hp-article-card .wp-block-post-title a::after {
  content: "\2197";
  color: var(--theme-palette-color-1, #1f7a4d);
  font-size: 0.86rem;
  opacity: 0;
  transform: translateY(1px);
  transition: opacity 0.18s ease;
}

.hp-article-card:hover .wp-block-post-title a::after,
.hp-article-card:focus-within .wp-block-post-title a::after {
  opacity: 1;
}

.hp-hub-cta {
  padding: 1.35rem 1.4rem;
  border-radius: 14px;
}

.hp-newsletter-shell {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.hp-newsletter-cta {
  padding: 2rem;
  border: 1px solid rgba(31, 122, 77, 0.23);
  border-radius: 24px;
}

.hp-newsletter-cta h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.hp-credibility-band {
  display: none;
}

@media (max-width: 980px) {
  .hp-home-hero {
    padding-top: 3.5rem;
  }

  .hp-home-hero-grid,
  .hp-newsletter-cta {
    gap: 1.5rem;
  }
}

@media (max-width: 781px) {
  .hp-home-hero,
  .hp-section,
  .hp-newsletter-shell {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hp-homepage-foundation .alignwide {
    width: min(100% - 1.5rem, var(--theme-container-width, 1180px));
  }

  .hp-display-title,
  .hp-section-heading h2,
  .hp-newsletter-cta h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hp-home-hero-card,
  .hp-newsletter-cta {
    padding: 1.5rem;
  }

  .hp-hub-cta {
    align-items: flex-start;
  }
}
/* Homepage browser-verified corrections */
body.home {
  background: linear-gradient(180deg, #f7fcf8 0%, #f2faf5 100%);
}

.home .hero-section[data-type="type-1"],
.home .entry-header {
  display: none;
}

.home article,
.home .entry-content {
  background: transparent;
}

.home .entry-content .hp-homepage-foundation {
  color: #163126;
}

.home .entry-content .hp-homepage-foundation .hp-lead,
.home .entry-content .hp-homepage-foundation .hp-section-heading p,
.home .entry-content .hp-homepage-foundation .hp-step-card p,
.home .entry-content .hp-homepage-foundation .hp-topic-card p,
.home .entry-content .hp-homepage-foundation .hp-trust-card p,
.home .entry-content .hp-homepage-foundation .hp-article-card p,
.home .entry-content .hp-homepage-foundation .hp-article-card .wp-block-post-excerpt,
.home .entry-content .hp-homepage-foundation .hp-hub-cta p,
.home .entry-content .hp-homepage-foundation .hp-newsletter-cta p,
.home .entry-content .hp-homepage-foundation .hp-inline-cta,
.home .entry-content .hp-homepage-foundation .hp-quick-link-kicker,
.home .entry-content .hp-homepage-foundation .hp-trust-strip span,
.home .entry-content .hp-homepage-foundation .hp-trust-card,
.home .entry-content .hp-homepage-foundation .hp-step-card,
.home .entry-content .hp-homepage-foundation .hp-topic-card,
.home .entry-content .hp-homepage-foundation .hp-newsletter-form-card {
  color: #547062;
}

.home .entry-content .hp-homepage-foundation .hp-home-hero-card,
.home .entry-content .hp-homepage-foundation .hp-home-hero-card h2,
.home .entry-content .hp-homepage-foundation .hp-quick-link,
.home .entry-content .hp-homepage-foundation .hp-quick-link a,
.home .entry-content .hp-homepage-foundation .hp-trust-card h3,
.home .entry-content .hp-homepage-foundation .hp-step-card h3,
.home .entry-content .hp-homepage-foundation .hp-topic-card h3,
.home .entry-content .hp-homepage-foundation .hp-article-card h3,
.home .entry-content .hp-homepage-foundation .hp-article-card .wp-block-post-title a,
.home .entry-content .hp-homepage-foundation .hp-section-heading h2,
.home .entry-content .hp-homepage-foundation .hp-newsletter-cta h2 {
  color: #163126;
}

.home .entry-content .hp-homepage-foundation .hp-section-heading {
  margin-left: 0;
  margin-right: 0;
}

.home .entry-content .hp-homepage-foundation .wp-block-button__link {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

.home .entry-content .hp-homepage-foundation .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #1f7a4d;
  color: #ffffff;
}

.home .entry-content .hp-homepage-foundation .wp-block-button.is-style-outline .wp-block-button__link {
  background: #ffffff;
  color: #163126;
  border: 1px solid #cadfd1;
  padding: 14.4px 19.2px;
}

.home .entry-content .hp-homepage-foundation .wp-block-button.is-style-outline .wp-block-button__link:hover,
.home .entry-content .hp-homepage-foundation .wp-block-button.is-style-outline .wp-block-button__link:focus {
  color: #163126;
  border-color: #cadfd1;
}

.home .entry-content .hp-homepage-foundation .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.home .entry-content .hp-homepage-foundation .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus {
  background: #145235;
}

/* Homepage premium polish */
body.home {
  background:
    radial-gradient(circle at top left, rgba(31, 122, 77, 0.08), transparent 28%),
    linear-gradient(180deg, #f6faf7 0%, #eef6f1 100%);
}

.hp-home-hero {
  padding-top: clamp(3.5rem, 7vw, 5.25rem);
  padding-bottom: 2.75rem;
  background: transparent;
}

.hp-home-hero-panel {
  padding: clamp(1.4rem, 2vw, 2rem);
  border: 1px solid rgba(202, 223, 209, 0.95);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(31, 122, 77, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 252, 248, 0.98) 100%);
  box-shadow: 0 20px 48px rgba(13, 43, 29, 0.08);
}

.hp-home-hero-grid {
  gap: clamp(1.5rem, 3vw, 3rem);
}

.hp-home-hero-copy {
  max-width: 40rem;
}

.hp-display-title {
  max-width: 13ch;
  font-size: clamp(2.55rem, 4vw, 4.6rem);
}

.hp-lead {
  max-width: 54ch;
  font-size: 1.12rem;
  line-height: 1.7;
}

.hp-home-hero-card,
.hp-step-card,
.hp-topic-card,
.hp-trust-card,
.hp-article-card,
.hp-newsletter-form-card {
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(13, 43, 29, 0.08);
}

.hp-home-hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 249, 245, 0.98) 100%);
}

.hp-quick-link {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(230, 242, 235, 0.9) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.hp-trust-card {
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 250, 246, 0.95) 100%);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(13, 43, 29, 0.06);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hp-trust-card:hover,
.hp-trust-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(31, 122, 77, 0.35);
  box-shadow: 0 18px 40px rgba(13, 43, 29, 0.1);
}

.hp-section {
  padding-top: clamp(4rem, 7vw, 5.5rem);
  padding-bottom: clamp(4rem, 7vw, 5.5rem);
}

.hp-section-alt {
  background: linear-gradient(180deg, rgba(235, 246, 239, 0.9) 0%, rgba(245, 251, 247, 0.88) 100%);
  border-top: 1px solid rgba(210, 228, 217, 0.95);
  border-bottom: 1px solid rgba(210, 228, 217, 0.95);
}

.hp-section-heading {
  margin-bottom: 2.5rem;
}

.hp-section-heading h2 {
  max-width: 12ch;
}

.hp-section-heading p {
  max-width: 60ch;
  line-height: 1.7;
}

.hp-step-card,
.hp-topic-card,
.hp-article-card {
  padding: 1.6rem;
}

.hp-step-card h3,
.hp-topic-card h3,
.hp-article-card h3 {
  font-size: 1.22rem;
}

.hp-step-card p,
.hp-topic-card p,
.hp-article-card p,
.hp-trust-card p {
  line-height: 1.68;
}

.hp-inline-cta {
  display: inline-block;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(31, 122, 77, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.hp-newsletter-shell {
  padding-top: clamp(3.5rem, 6vw, 4.5rem);
}

.hp-newsletter-cta {
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(31, 122, 77, 0.08), transparent 28%),
    linear-gradient(135deg, #edf8f1 0%, #ffffff 100%);
  box-shadow: 0 18px 42px rgba(13, 43, 29, 0.08);
}

.hp-newsletter-note {
  line-height: 1.6;
}

/* Header and footer polish */
.hp-staging-header {
  margin-top: -24px;
  margin-bottom: -22px;
}

.hp-header-shell {
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(202, 223, 209, 0.95);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 251, 247, 0.96) 100%);
  box-shadow: 0 18px 42px rgba(13, 43, 29, 0.08);
}

.hp-header-top,
.hp-header-bottom {
  gap: 1rem 1.5rem;
}

.hp-header-brand {
  gap: 0.85rem;
}

.hp-header-kicker {
  margin: 0;
  color: #1f7a4d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-header-summary {
  margin: 0;
  max-width: 32rem;
  color: #547062;
  font-size: 0.97rem;
  line-height: 1.55;
}

.hp-header-utility,
.hp-header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.hp-header-utility {
  justify-content: flex-end;
}

.hp-header-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 238, 230, 1);
}

.hp-header-utility p,
.hp-header-nav p {
  margin: 0;
}

.hp-header-utility a,
.hp-header-nav a {
  color: #163126;
  font-weight: 700;
  text-decoration: none;
}

.hp-header-utility a:hover,
.hp-header-utility a:focus,
.hp-header-nav a:hover,
.hp-header-nav a:focus {
  color: #1f7a4d;
}

.hp-header-actions {
  margin: 0;
}

.hp-header-actions .wp-block-button__link {
  min-height: 2.8rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
}

.hp-staging-footer {
  padding-top: 3.25rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid rgba(202, 223, 209, 0.95);
}

.hp-footer-shell {
  color: #163126;
}

.hp-footer-intro {
  gap: 1rem 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(226, 238, 230, 1);
}

.hp-footer-brand {
  max-width: 32rem;
}

.hp-footer-kicker {
  margin: 0.85rem 0 0;
  color: #1f7a4d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-footer-summary {
  margin: 0.5rem 0 0;
  color: #547062;
  line-height: 1.65;
}

.hp-footer-grid {
  gap: 1rem 1.75rem;
  margin-top: 1.5rem;
}

.hp-footer-column h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
}

.hp-footer-column p {
  margin: 0;
  line-height: 1.9;
}

.hp-footer-column a {
  color: #163126;
  text-decoration: none;
}

.hp-footer-column a:hover,
.hp-footer-column a:focus {
  color: #1f7a4d;
}

.hp-footer-actions {
  margin: 0;
}

.hp-footer-actions .wp-block-button__link {
  min-height: 2.8rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
}

.hp-footer-bottom {
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 238, 230, 1);
}

.hp-footer-bottom p {
  margin: 0;
  color: #547062;
  font-size: 0.94rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .hp-header-utility {
    justify-content: flex-start;
  }

  .hp-header-bottom {
    align-items: flex-start;
  }

  .hp-footer-intro {
    align-items: flex-start;
  }
}

@media (max-width: 781px) {
  .hp-home-hero-panel,
  .hp-header-shell,
  .hp-newsletter-cta {
    padding: 1.25rem;
  }

  .hp-staging-header {
    margin-top: -16px;
    margin-bottom: -12px;
  }

  .hp-display-title,
  .hp-section-heading h2,
  .hp-newsletter-cta h2 {
    max-width: none;
  }

  .hp-header-top,
  .hp-header-bottom,
  .hp-footer-intro,
  .hp-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hp-header-nav,
  .hp-header-utility {
    gap: 0.65rem 1rem;
  }
}

/* Header and footer direction refinement */
.hp-staging-header {
  margin-top: 0;
  margin-bottom: 0;
}

.hp-header-shell {
  padding: 0.9rem 0 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hp-header-shell::after {
  content: "";
  display: block;
  margin-top: 1rem;
  border-bottom: 1px solid rgba(202, 223, 209, 0.95);
}

.hp-header-row {
  gap: 1rem 1.5rem;
}

.hp-header-brand {
  flex: 0 0 auto;
}

.hp-header-brand p {
  display: none;
}

.hp-header-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 0.9rem 1.8rem;
}

.hp-header-utility {
  gap: 0.6rem 1.1rem;
}

.hp-header-utility a {
  color: #547062;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hp-header-nav a {
  font-size: 1.02rem;
  font-weight: 700;
}

.hp-header-actions {
  flex: 0 0 auto;
}

.hp-header-actions .wp-block-button__link {
  min-height: 3rem;
  padding: 0.92rem 1.35rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(13, 43, 29, 0.12);
}

.hp-staging-footer {
  padding-top: 3.75rem;
  padding-bottom: 1.35rem;
  border-top: 1px solid rgba(202, 223, 209, 0.95);
}

.hp-footer-shell {
  padding-top: 0.2rem;
}

.hp-footer-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(226, 238, 230, 1);
}

.hp-footer-brand {
  max-width: 27rem;
}

.hp-footer-brand .wp-block-buttons {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.hp-footer-kicker {
  display: none;
}

.hp-footer-summary {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hp-footer-grid {
  align-items: start;
  gap: 1rem 2.5rem;
  margin-top: 0;
}

.hp-footer-column h3 {
  margin-bottom: 0.95rem;
  font-size: 1.02rem;
}

.hp-footer-column p {
  line-height: 2;
}

.hp-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
}

@media (max-width: 1080px) {
  .hp-header-row {
    justify-content: space-between;
  }

  .hp-header-nav {
    justify-content: flex-start;
    order: 3;
    width: 100%;
    padding-top: 0.35rem;
  }
}

@media (max-width: 781px) {
  .hp-header-shell {
    padding: 0.8rem 0 0.85rem;
  }

  .hp-header-shell::after {
    margin-top: 0.85rem;
  }

  .hp-header-row {
    flex-direction: row;
    align-items: center;
  }

  .hp-header-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 0.55rem 1rem;
    padding-top: 0.5rem;
  }

  .hp-header-nav a {
    font-size: 0.95rem;
  }

  .hp-header-actions .wp-block-button__link {
    min-height: 2.8rem;
    padding: 0.82rem 1.15rem;
  }

  .hp-footer-grid {
    margin-top: 1.25rem;
  }
}

/* Homepage rhythm and card polish refinement */
.home .entry-content > .hp-homepage-foundation {
  padding-top: clamp(1.1rem, 2.4vw, 1.9rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hp-home-hero {
  padding-top: clamp(4.25rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 6vw, 4.85rem);
}

.hp-home-hero-panel {
  padding: clamp(1.75rem, 3vw, 2.6rem);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(13, 43, 29, 0.09);
}

.hp-home-hero-copy {
  max-width: 42rem;
}

.hp-display-title {
  max-width: 11.5ch;
  font-size: clamp(2.9rem, 4.6vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.hp-lead {
  max-width: 50ch;
  font-size: 1.16rem;
  line-height: 1.78;
}

.hp-pill-list {
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.hp-pill-list li {
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(202, 223, 209, 0.95);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.hp-home-hero-card,
.hp-trust-card,
.hp-step-card,
.hp-topic-card,
.hp-article-card,
.hp-newsletter-form-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 1.8rem;
  border: 1px solid rgba(202, 223, 209, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 251, 248, 0.97) 100%);
  box-shadow: 0 18px 46px rgba(13, 43, 29, 0.08);
}

.hp-home-hero-card::before,
.hp-trust-card::before,
.hp-step-card::before,
.hp-topic-card::before,
.hp-article-card::before,
.hp-newsletter-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 122, 77, 0.18), rgba(31, 122, 77, 0));
}

.hp-home-hero-card {
  padding: 1.95rem;
}

.hp-home-hero-card h2,
.hp-section-heading h2,
.hp-newsletter-cta h2 {
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.hp-home-hero-card h2 {
  font-size: clamp(1.95rem, 2.6vw, 2.55rem);
}

.hp-quick-links {
  gap: 0.85rem;
}

.hp-quick-link {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(213, 228, 219, 0.98);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(239, 247, 242, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hp-quick-link p {
  margin: 0;
}

.hp-quick-link a {
  color: #163126;
  font-weight: 700;
  text-decoration: none;
}

.hp-quick-link a:hover,
.hp-quick-link a:focus {
  color: #1f7a4d;
}

.hp-section {
  padding-top: clamp(5rem, 8vw, 6.5rem);
  padding-bottom: clamp(5rem, 8vw, 6.5rem);
}

.hp-section-heading {
  max-width: 44rem;
  margin-bottom: 3.15rem;
}

.hp-section-heading h2 {
  max-width: 10.5ch;
  font-size: clamp(2.35rem, 3.9vw, 3.65rem);
}

.hp-section-heading p,
.hp-newsletter-cta p,
.hp-home-hero-card p,
.hp-step-card p,
.hp-topic-card p,
.hp-trust-card p,
.hp-article-card p {
  max-width: 58ch;
  color: #4d695c;
  font-size: 1.03rem;
  line-height: 1.76;
}

.hp-trust-grid,
.hp-step-grid,
.hp-topic-grid {
  gap: 1.35rem;
}

.hp-trust-card {
  padding: 1.65rem;
}

.hp-trust-card h3,
.hp-step-card h3,
.hp-topic-card h3,
.hp-article-card h3 {
  font-size: 1.32rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.hp-card-label,
.hp-article-tag,
.hp-quick-link-kicker,
.hp-form-placeholder-label,
.hp-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.hp-step-number {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.hp-topic-card,
.hp-article-card,
.hp-trust-card {
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hp-topic-card:hover,
.hp-topic-card:focus-within,
.hp-article-card:hover,
.hp-article-card:focus-within,
.hp-trust-card:hover,
.hp-trust-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(31, 122, 77, 0.32);
  box-shadow: 0 24px 52px rgba(13, 43, 29, 0.11);
}

.hp-inline-cta {
  margin-top: 1.85rem;
  padding: 1rem 1.35rem;
  border-color: rgba(31, 122, 77, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 250, 246, 0.92) 100%);
  box-shadow: 0 10px 24px rgba(13, 43, 29, 0.05);
}

.hp-newsletter-shell {
  padding-top: clamp(4rem, 6vw, 5rem);
  padding-bottom: clamp(5rem, 7vw, 6rem);
}

.hp-newsletter-cta {
  gap: 2.4rem;
  padding: clamp(1.9rem, 3.5vw, 2.9rem);
  border: 1px solid rgba(202, 223, 209, 0.98);
  box-shadow: 0 24px 60px rgba(13, 43, 29, 0.08);
}

.hp-newsletter-cta h2 {
  font-size: clamp(2.15rem, 3.4vw, 3.1rem);
  max-width: 11ch;
}

.hp-newsletter-form-card {
  padding: 1.7rem;
}

@media (max-width: 1080px) {
  .hp-section-heading {
    margin-bottom: 2.75rem;
  }

  .hp-home-hero-card,
  .hp-trust-card,
  .hp-step-card,
  .hp-topic-card,
  .hp-article-card,
  .hp-newsletter-form-card {
    padding: 1.55rem;
  }
}

@media (max-width: 781px) {
  .home .entry-content > .hp-homepage-foundation {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
  }

  .hp-home-hero {
    padding-top: 2.5rem;
    padding-bottom: 2.8rem;
  }

  .hp-home-hero-panel,
  .hp-home-hero-card,
  .hp-trust-card,
  .hp-step-card,
  .hp-topic-card,
  .hp-article-card,
  .hp-newsletter-form-card,
  .hp-newsletter-cta {
    padding: 1.3rem;
    border-radius: 22px;
  }

  .hp-section {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }

  .hp-section-heading {
    margin-bottom: 2rem;
  }

  .hp-section-heading h2,
  .hp-newsletter-cta h2 {
    max-width: 12ch;
  }

  .hp-step-grid,
  .hp-topic-grid,
  .hp-trust-grid {
    gap: 1rem;
  }

  .hp-inline-cta {
    margin-top: 1.35rem;
  }
}

/* Live-site style header refinement */
.hp-staging-header-live {
  margin-top: 0;
  margin-bottom: 0;
}

.hp-header-shell-live {
  padding: 1.35rem 0 1.4rem;
}

.hp-header-shell-live::after {
  display: none;
}

.hp-header-live-row {
  gap: 1.5rem;
  align-items: center;
}

.hp-header-brand-live {
  flex: 0 0 auto;
  min-width: max-content;
}

.hp-header-brand-live p {
  display: none;
}

.hp-header-brand-live img {
  width: 205px !important;
}

.hp-header-nav-live {
  flex: 1 1 auto;
  justify-content: center;
  gap: 0.9rem 1.8rem;
}

.hp-header-nav-live p {
  margin: 0;
}

.hp-header-nav-live a {
  position: relative;
  color: #0d1f16;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.hp-header-nav-live a:hover,
.hp-header-nav-live a:focus {
  color: var(--theme-palette-color-1, #1f7a4d);
}

.hp-header-nav-live a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.05rem;
  height: 3px;
  border-radius: 999px;
  background: var(--theme-palette-color-1, #1f7a4d);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.hp-header-nav-live a:hover::after,
.hp-header-nav-live a:focus::after {
  transform: scaleX(1);
}

.hp-header-utility-live {
  flex: 0 0 auto;
  gap: 0.9rem;
  align-items: center;
}

.hp-header-search {
  margin: 0;
}

.hp-header-search .wp-block-search__inside-wrapper {
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.hp-header-search .wp-block-search__input {
  display: none;
}

.hp-header-search .wp-block-search__button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0d1f16;
  box-shadow: none;
}

.hp-header-search .wp-block-search__button:hover,
.hp-header-search .wp-block-search__button:focus {
  color: var(--theme-palette-color-1, #1f7a4d);
  background: transparent;
}

.hp-header-actions-live {
  margin: 0;
}

.hp-header-actions-live .wp-block-button__link {
  min-height: 3rem;
  padding: 0.92rem 1.45rem;
  border-radius: 4px;
  box-shadow: none;
  font-size: 0.98rem;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .hp-header-live-row {
    gap: 1rem;
  }

  .hp-header-nav-live {
    gap: 0.8rem 1.2rem;
  }

  .hp-header-nav-live a {
    font-size: 0.94rem;
  }
}

@media (max-width: 940px) {
  .hp-header-shell-live {
    padding: 1rem 0 1.05rem;
  }

  .hp-header-live-row {
    flex-wrap: wrap !important;
    justify-content: space-between;
  }

  .hp-header-nav-live {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 0.7rem 1rem;
    padding-top: 0.35rem;
  }

  .hp-header-nav-live a::after {
    bottom: -0.45rem;
  }
}

@media (max-width: 640px) {
  .hp-header-brand-live img {
    width: 180px !important;
  }

  .hp-header-utility-live {
    width: 100%;
    justify-content: space-between;
  }

  .hp-header-actions-live .wp-block-button__link {
    min-height: 2.75rem;
    padding: 0.8rem 1.15rem;
  }
}

/* Sticky public header */
header#header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(202, 223, 209, 0.9) !important;
}



