/* =====================================================
   משפחה כלכלית — Homepage v3
   "Modern Tactile" — bold sans, warm pastel, soft rounded
   Scoped to body.page-home so it doesn't bleed to other pages
   ===================================================== */

body.page-home {
  /* Override site tokens for THIS page only */
  --paper:        #FBF7F0;   /* bone white */
  --paper-2:      #F3EBDC;   /* deeper cream */
  --paper-3:      #EADDC4;   /* warm taupe surface */
  --white:        #FFFFFF;

  --ink:          #2D1F33;   /* deep aubergine */
  --ink-soft:     #5A4A60;
  --ink-mute:     #8C7E92;

  --clay:         #C8623F;   /* terracotta — minus / warning warm */
  --clay-soft:    #E8B099;
  --clay-pale:    #F5E0D2;
  --olive:        #6B7B3E;   /* grounding green */
  --olive-soft:   #B8C094;
  --butter:       #F0D266;   /* sunshine */
  --butter-soft:  #F8E5A6;
  --plus:         #4D8B5C;   /* reassuring green */
  --plus-soft:    #B5D2BC;

  /* Override the gold to match new palette for any inherited components */
  --gold:         #C8623F;
  --gold-soft:    #E8B099;
  --gold-pale:    #F5E0D2;

  --rule:         #E5D8BE;
  --rule-strong:  #C9B894;

  --shadow-sm:    0 2px 0 rgba(45, 31, 51, .05);
  --shadow-md:    0 8px 30px -12px rgba(45, 31, 51, .18);
  --shadow-lg:    0 32px 60px -28px rgba(45, 31, 51, .28);

  /* Type swap */
  --display: 'Rubik', 'Heebo', 'Assistant', sans-serif;
  --serif: 'Frank Ruhl Libre', Georgia, serif;
  --sans: 'Heebo', 'Assistant', sans-serif;

  background: var(--paper);
  color: var(--ink-soft);
}

/* Add Rubik font - loaded by index.html link */
body.page-home {
  font-family: var(--sans);
}

/* Re-tint header + footer accents for the home palette */
body.page-home .utility-tag { background: var(--clay); color: var(--paper); }
body.page-home .masthead__nav-cta { background: var(--clay) !important; color: var(--white) !important; }
body.page-home .masthead__nav-cta:hover { background: var(--ink) !important; color: var(--butter) !important; }
body.page-home .nav-list > li > a::after { background: var(--clay); }
body.page-home .nav-list > li > a:hover { color: var(--clay); }
body.page-home .nav-dropdown a:hover { color: var(--clay); border-inline-end-color: var(--clay); }
body.page-home .site-header::after {
  background: linear-gradient(90deg, transparent, var(--clay-soft) 30%, var(--clay) 50%, var(--clay-soft) 70%, transparent);
}
body.page-home .colophon__col h3 { color: var(--butter); }
body.page-home .colophon__col h3::after { background: var(--clay); }
body.page-home .colophon__phone { color: var(--butter); }
body.page-home .colophon__phone:hover { color: var(--clay-soft); }
body.page-home .colophon__col a:hover { color: var(--butter); }
body.page-home .colophon__rule span { color: var(--clay); }
body.page-home .colophon__social:hover { background: var(--clay); color: var(--ink); }
body.page-home .site-footer::before { background: var(--clay); }

/* Container / section base */
.h-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.h-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

/* Display typography — bold sans, generous tracking */
.h-display {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}

.h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--clay);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.h-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--clay);
  border-radius: 2px;
}

/* Buttons — pill shape, soft */
.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .95em 1.8em;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
  line-height: 1.1;
}
.h-btn--primary {
  background: var(--ink);
  color: var(--butter-soft);
  box-shadow: 0 4px 0 rgba(45, 31, 51, .15);
}
.h-btn--primary:hover {
  background: var(--clay);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(45, 31, 51, .15);
}
.h-btn--clay {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 4px 0 rgba(45, 31, 51, .12);
}
.h-btn--clay:hover {
  background: var(--ink);
  color: var(--butter-soft);
  transform: translateY(-2px);
}
.h-btn--ghost {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}
.h-btn--ghost:hover {
  background: var(--ink);
  color: var(--butter-soft);
}
.h-btn--lg {
  padding: 1.1em 2.2em;
  font-size: 1.05rem;
}

.h-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .2s;
}
.h-btn:hover .h-arrow { transform: translateX(4px); }

/* ============================================
   HERO
   ============================================ */
.h-hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 5rem);
  background:
    radial-gradient(ellipse 50% 40% at 85% 5%, var(--butter-soft) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 15% 95%, var(--clay-pale) 0%, transparent 70%),
    var(--paper);
  position: relative;
  overflow: hidden;
}

.h-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .h-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.h-hero__title {
  font-family: var(--display);
  font-weight: 900;
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: .98;
  letter-spacing: -0.035em;
  margin: 0 0 1.75rem;
}
.h-hero__title .h-line {
  display: block;
}
.h-hero__title .h-highlight {
  position: relative;
  display: inline-block;
  color: var(--ink);
  background: linear-gradient(180deg, transparent 60%, var(--butter) 60%, var(--butter) 92%, transparent 92%);
  padding: 0 .15em;
}
.h-hero__title .h-clay {
  color: var(--clay);
}

.h-hero__deck {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 30em;
  margin: 0 0 2rem;
}
.h-hero__deck strong { color: var(--ink); font-weight: 700; }

.h-hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.h-hero__trust {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 2px dotted var(--rule-strong);
  font-size: .92rem;
  color: var(--ink-soft);
}
.h-hero__trust-stack {
  display: flex;
}
.h-hero__trust-stack span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: .9rem;
  color: var(--ink);
  margin-inline-start: -.7rem;
}
.h-hero__trust-stack span:first-child { margin-inline-start: 0; }
.h-hero__trust-stack span:nth-child(1) { background: var(--clay-soft); }
.h-hero__trust-stack span:nth-child(2) { background: var(--olive-soft); }
.h-hero__trust-stack span:nth-child(3) { background: var(--butter-soft); }
.h-hero__trust-stack span:nth-child(4) { background: var(--clay-pale); color: var(--clay); }

.h-hero__trust strong { color: var(--ink); font-weight: 800; }

/* The chart card */
.h-chart-card {
  background: var(--white);
  border-radius: 28px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid var(--rule);
}
.h-chart-card::before {
  content: "";
  position: absolute;
  inset: -8px -8px auto -8px;
  height: 60%;
  background: var(--butter-soft);
  border-radius: 32px;
  z-index: -1;
}

.h-chart-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--rule);
}
.h-chart-card__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
}
.h-chart-card__sub {
  font-size: .8rem;
  color: var(--ink-mute);
  letter-spacing: .04em;
}

.h-chart {
  width: 100%;
  height: 200px;
  display: block;
  margin-bottom: 1rem;
}
.h-bar {
  transform-origin: center;
  transform-box: fill-box;
  animation: barReveal .9s cubic-bezier(.3, 1.3, .5, 1) forwards;
  transform: scaleY(0);
}
.h-bar--bad { fill: var(--clay); transform-origin: top; }
.h-bar--good { fill: var(--plus); transform-origin: bottom; }

.h-bar:nth-child(1)  { animation-delay: 50ms; }
.h-bar:nth-child(2)  { animation-delay: 100ms; }
.h-bar:nth-child(3)  { animation-delay: 150ms; }
.h-bar:nth-child(4)  { animation-delay: 200ms; }
.h-bar:nth-child(5)  { animation-delay: 250ms; }
.h-bar:nth-child(6)  { animation-delay: 300ms; }
.h-bar:nth-child(7)  { animation-delay: 350ms; }
.h-bar:nth-child(8)  { animation-delay: 400ms; }
.h-bar:nth-child(9)  { animation-delay: 450ms; }
.h-bar:nth-child(10) { animation-delay: 500ms; }
.h-bar:nth-child(11) { animation-delay: 550ms; }
.h-bar:nth-child(12) { animation-delay: 600ms; }

@keyframes barReveal {
  to { transform: scaleY(1); }
}

.h-chart-card__legend {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: .5rem;
  font-size: .75rem;
  color: var(--ink-mute);
}
.h-chart-card__delta {
  background: var(--paper);
  padding: .85rem 1rem;
  border-radius: 16px;
  margin-top: .85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--rule);
}
.h-chart-card__delta-label {
  font-size: .82rem;
  color: var(--ink-soft);
}
.h-chart-card__delta-value {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--plus);
  direction: ltr;
}

/* ============================================
   QUIZ — interactive overdraft cost calculator
   ============================================ */
.h-quiz {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.h-quiz::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 50%, rgba(240, 210, 102, .12), transparent 50%),
    radial-gradient(circle at 10% 50%, rgba(200, 98, 63, .15), transparent 50%);
  pointer-events: none;
}

.h-quiz__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .h-quiz__inner { grid-template-columns: 1fr; } }

.h-quiz__intro .h-eyebrow { color: var(--butter); }
.h-quiz__intro .h-eyebrow::before { background: var(--butter); }
.h-quiz__intro h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.h-quiz__intro p {
  font-size: 1.05rem;
  color: rgba(251, 247, 240, .8);
  line-height: 1.65;
  margin: 0;
  max-width: 32em;
}

.h-quiz__widget {
  background: var(--paper);
  color: var(--ink);
  border-radius: 28px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.h-quiz__widget::before {
  content: "כלי מהיר";
  position: absolute;
  top: -14px;
  inset-inline-start: 2rem;
  background: var(--butter);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: .8rem;
  padding: .35em 1em;
  border-radius: 999px;
  letter-spacing: .04em;
}

.h-quiz__field {
  margin-bottom: 1.25rem;
}
.h-quiz__field label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}

.h-input-money {
  position: relative;
}
.h-input-money input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 2px solid var(--rule);
  border-radius: 16px;
  direction: ltr;
  text-align: end;
  transition: border-color .2s, background .2s;
}
.h-input-money input:focus {
  outline: none;
  border-color: var(--clay);
  background: var(--white);
}
.h-input-money::after {
  content: "₪";
  position: absolute;
  inset-inline-start: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink-mute);
}

.h-input-pct {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.h-input-pct input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--paper-2);
  border-radius: 3px;
  outline: none;
  border: 1px solid var(--rule);
}
.h-input-pct input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--clay);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--paper);
  box-shadow: 0 2px 8px rgba(45, 31, 51, .25);
}
.h-input-pct input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--clay);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--paper);
}
.h-input-pct__value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  direction: ltr;
  min-width: 56px;
  text-align: end;
}

.h-quiz__result {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--clay-pale), var(--butter-soft));
  border-radius: 20px;
  text-align: center;
  border: 2px solid var(--clay-soft);
}
.h-quiz__result-label {
  font-size: .85rem;
  color: var(--ink);
  margin: 0 0 .25rem;
  font-weight: 600;
}
.h-quiz__result-value {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--clay);
  letter-spacing: -0.025em;
  margin: 0;
  direction: ltr;
  font-variant-numeric: tabular-nums;
  display: block;
}
.h-quiz__result-secondary {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: .5rem 0 0;
}
.h-quiz__result-secondary strong { color: var(--clay); font-weight: 800; }

.h-quiz__cta {
  margin-top: 1.25rem;
  text-align: center;
}

/* ============================================
   STATS BAND
   ============================================ */
.h-stats {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.h-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) { .h-stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .h-stats__grid { grid-template-columns: 1fr; } }

.h-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--rule);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.h-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.h-stat:nth-child(1)::before { content: ""; position: absolute; inset: -2px auto auto -2px; width: 36px; height: 36px; background: var(--clay-soft); border-radius: 20px 0 20px 0; }
.h-stat:nth-child(2)::before { content: ""; position: absolute; inset: -2px auto auto -2px; width: 36px; height: 36px; background: var(--olive-soft); border-radius: 20px 0 20px 0; }
.h-stat:nth-child(3)::before { content: ""; position: absolute; inset: -2px auto auto -2px; width: 36px; height: 36px; background: var(--butter-soft); border-radius: 20px 0 20px 0; }
.h-stat:nth-child(4)::before { content: ""; position: absolute; inset: -2px auto auto -2px; width: 36px; height: 36px; background: var(--plus-soft); border-radius: 20px 0 20px 0; }

.h-stat__num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5.5vw, 3.6rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin: 0 0 .5rem;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}
.h-stat__num small {
  font-size: .35em;
  font-weight: 600;
  color: var(--ink-mute);
  margin-inline-start: .35em;
  display: inline;
  font-family: var(--sans);
}
.h-stat__label {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.4;
  max-width: 22ch;
  margin-inline: auto;
}

/* ============================================
   SERVICES — "4 דרכים אנחנו עוזרים"
   ============================================ */
.h-services {
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.h-services__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.h-services__head .h-eyebrow { display: inline-flex; }
.h-services__head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 .75rem;
}
.h-services__head p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0;
}

.h-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) { .h-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .h-services__grid { grid-template-columns: 1fr; } }

.h-service {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--rule);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.h-service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.h-service::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  opacity: .3;
  transition: opacity .3s, transform .3s;
}
.h-service:nth-child(1)::after { background: var(--clay-pale); }
.h-service:nth-child(2)::after { background: var(--butter-soft); }
.h-service:nth-child(3)::after { background: var(--olive-soft); }
.h-service:nth-child(4)::after { background: var(--plus-soft); }
.h-service:hover::after { opacity: .55; transform: scale(1.15); }

.h-service__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--paper-2);
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.h-service:nth-child(1) .h-service__icon { color: var(--clay); }
.h-service:nth-child(2) .h-service__icon { color: var(--ink); background: var(--butter-soft); }
.h-service:nth-child(3) .h-service__icon { color: var(--olive); background: var(--olive-soft); }
.h-service:nth-child(4) .h-service__icon { color: var(--plus); background: var(--plus-soft); }
.h-service__icon svg { width: 28px; height: 28px; }

.h-service h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0 .5rem;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.h-service p {
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
  position: relative;
  z-index: 1;
}
.h-service__more {
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-size: .92rem;
  position: relative;
  z-index: 1;
}
.h-service:hover .h-service__more { color: var(--clay); }

/* ============================================
   TOOLS strip — colorful pills
   ============================================ */
.h-tools {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--paper-2);
  border-block: 1px solid var(--rule);
}
.h-tools__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 720px) { .h-tools__head { flex-direction: column; align-items: stretch; } }

.h-tools__head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.h-tools__head .h-eyebrow { margin-bottom: .75rem; }

.h-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) { .h-tools__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .h-tools__grid { grid-template-columns: 1fr; } }

.h-tool {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.4rem;
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform .25s, box-shadow .25s, background .25s;
  position: relative;
}
.h-tool:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--paper);
}

.h-tool__chip {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
}
.h-tool__chip svg { width: 28px; height: 28px; }

.h-tool:nth-child(6n+1) .h-tool__chip { background: var(--clay-pale); color: var(--clay); }
.h-tool:nth-child(6n+2) .h-tool__chip { background: var(--butter-soft); color: var(--ink); }
.h-tool:nth-child(6n+3) .h-tool__chip { background: var(--olive-soft); color: var(--olive); }
.h-tool:nth-child(6n+4) .h-tool__chip { background: var(--plus-soft); color: var(--plus); }
.h-tool:nth-child(6n+5) .h-tool__chip { background: var(--clay-pale); color: var(--clay); }
.h-tool:nth-child(6n) .h-tool__chip { background: var(--butter-soft); color: var(--ink); }

.h-tool__body { flex: 1; min-width: 0; }
.h-tool__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 .15rem;
  line-height: 1.25;
}
.h-tool__hint {
  font-size: .85rem;
  color: var(--ink-mute);
  margin: 0;
}
.h-tool__arrow {
  position: absolute;
  inset-inline-start: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: var(--ink-mute);
  transition: transform .2s, color .2s;
}
.h-tool:hover .h-tool__arrow { color: var(--clay); transform: translateY(-50%) translateX(-4px); }

/* ============================================
   VOICES — testimonials with avatar monograms
   ============================================ */
.h-voices {
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.h-voices__head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
  text-align: center;
}
.h-voices__head .h-eyebrow { display: inline-flex; }
.h-voices__head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.h-voices__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
@media (max-width: 960px) {
  .h-voices__grid { grid-template-columns: 1fr 1fr; }
  .h-voice--lead { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .h-voices__grid { grid-template-columns: 1fr; }
  .h-voice--lead { grid-column: auto; }
}

.h-voice {
  background: var(--white);
  border-radius: 24px;
  padding: 1.85rem 1.85rem 1.6rem;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  position: relative;
}

.h-voice__quote {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 1.25rem;
  font-weight: 500;
  flex: 1;
}
.h-voice__quote em { color: var(--clay); font-style: italic; font-weight: 700; }
.h-voice__quote strong { font-weight: 900; }

.h-voice__person {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--rule);
}
.h-voice__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  flex-shrink: 0;
}
.h-voice:nth-child(1) .h-voice__avatar { background: var(--clay-soft); }
.h-voice:nth-child(2) .h-voice__avatar { background: var(--butter-soft); }
.h-voice:nth-child(3) .h-voice__avatar { background: var(--olive-soft); }
.h-voice:nth-child(4) .h-voice__avatar { background: var(--plus-soft); }
.h-voice:nth-child(5) .h-voice__avatar { background: var(--clay-pale); color: var(--clay); }

.h-voice__who {
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.3;
}
.h-voice__who strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

/* The lead testimonial — bigger */
.h-voice--lead {
  grid-row: span 2;
  background: linear-gradient(155deg, var(--ink) 0%, #3D2B45 100%);
  color: var(--paper);
  border-color: var(--ink);
  position: relative;
  overflow: hidden;
}
.h-voice--lead::before {
  content: "“";
  position: absolute;
  top: -2.5rem;
  inset-inline-end: 1rem;
  font-family: var(--display);
  font-size: 12rem;
  color: var(--butter);
  opacity: .14;
  line-height: 1;
}
.h-voice--lead .h-voice__quote {
  color: var(--paper);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.h-voice--lead .h-voice__quote em {
  color: var(--butter);
  font-style: normal;
  font-weight: 900;
}
.h-voice--lead .h-voice__quote strong {
  color: var(--butter);
  font-weight: 900;
}
.h-voice--lead .h-voice__person { border-top-color: rgba(255,255,255,.12); }
.h-voice--lead .h-voice__avatar { background: var(--butter); color: var(--ink); }
.h-voice--lead .h-voice__who { color: rgba(251, 247, 240, .65); }
.h-voice--lead .h-voice__who strong { color: var(--paper); }

/* ============================================
   ARTICLES strip
   ============================================ */
.h-reading {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
}
.h-reading__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 720px) { .h-reading__head { flex-direction: column; align-items: stretch; } }
.h-reading__head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}
.h-reading__more {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  align-self: end;
  transition: gap .2s, color .2s, border-color .2s;
}
.h-reading__more:hover { color: var(--clay); border-bottom-color: var(--clay); gap: .5em; }

.h-reading__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) { .h-reading__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .h-reading__grid { grid-template-columns: 1fr; } }

.h-article {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.h-article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clay-soft);
}
.h-article__num {
  display: block;
  padding: 1.25rem 1.25rem 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--clay);
  letter-spacing: -0.01em;
}
.h-article__title {
  padding: .35rem 1.25rem 1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  flex: 1;
}
.h-article__more {
  padding: .85rem 1.25rem;
  font-size: .85rem;
  color: var(--clay);
  font-weight: 700;
  border-top: 1px dashed var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================
   LEAD FORM — final, prominent
   ============================================ */
.h-form-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
}
.h-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 30% 30% at 80% 20%, var(--butter-soft), transparent 70%),
    radial-gradient(ellipse 30% 30% at 20% 80%, var(--clay-pale), transparent 70%);
  opacity: .6;
  pointer-events: none;
}
.h-form-section .h-container { position: relative; }

.h-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 32px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--rule);
  position: relative;
}
.h-form-wrap::before {
  content: "+";
  position: absolute;
  top: -22px;
  inset-inline-end: 2rem;
  width: 50px;
  height: 50px;
  background: var(--clay);
  color: var(--white);
  font-family: var(--display);
  font-weight: 900;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 6px 20px -6px rgba(200, 98, 63, .55);
  border: 4px solid var(--paper);
}

.h-form-wrap h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .5rem;
}
.h-form-wrap > p {
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.h-form__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-bottom: 1rem;
}
@media (max-width: 720px) { .h-form__row { grid-template-columns: 1fr; } }

.h-field { position: relative; }
.h-field label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: .35rem;
  letter-spacing: .02em;
}
.h-field--req label::after {
  content: " *";
  color: var(--clay);
}
.h-field input,
.h-field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  border: 2px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.h-field input:focus,
.h-field textarea:focus {
  outline: none;
  border-color: var(--clay);
  background: var(--white);
}
.h-field input::placeholder,
.h-field textarea::placeholder { color: var(--ink-mute); opacity: .55; }

.h-consent {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 1rem 0 1.25rem;
}
.h-consent input { margin-top: .25em; flex-shrink: 0; }
.h-consent a { color: var(--clay); text-decoration: underline; font-weight: 600; }

.h-honeypot { position: absolute; inset-inline-start: -9999px; opacity: 0; pointer-events: none; }

.h-form__guarantees {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 720px) { .h-form__guarantees { grid-template-columns: 1fr; gap: .35rem; } }
.h-form__guarantees li {
  display: flex;
  align-items: center;
  gap: .5em;
  font-size: .85rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.h-form__guarantees svg {
  width: 18px;
  height: 18px;
  color: var(--plus);
  flex-shrink: 0;
}
.h-form__guarantees strong { color: var(--ink); font-weight: 700; }

.h-form__submit {
  width: 100%;
  padding: 1.1em 2em;
  font-size: 1.05rem;
}

.h-form__call {
  text-align: center;
  margin: 1rem 0 0;
  font-size: .9rem;
  color: var(--ink-mute);
}
.h-form__call a {
  color: var(--ink);
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1px;
  direction: ltr;
  display: inline-block;
}
.h-form__call a:hover { color: var(--clay); border-bottom-color: var(--clay); }

/* ============================================
   PAGE LOAD ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  body.page-home .h-hero__title,
  body.page-home .h-hero__deck,
  body.page-home .h-hero__cta,
  body.page-home .h-hero__trust,
  body.page-home .h-chart-card {
    opacity: 0;
    transform: translateY(16px);
    animation: hRise .7s cubic-bezier(.2, .7, .2, 1) forwards;
  }
  body.page-home .h-hero__title { animation-delay: .05s; }
  body.page-home .h-hero__deck { animation-delay: .15s; }
  body.page-home .h-hero__cta { animation-delay: .25s; }
  body.page-home .h-hero__trust { animation-delay: .35s; }
  body.page-home .h-chart-card { animation-delay: .35s; }

  body.page-home .h-chart__bar { animation-delay: var(--bar-delay, 0ms); }
}
@keyframes hRise {
  to { opacity: 1; transform: translateY(0); }
}

/* Focus styles */
body.page-home :focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}
