/* MLS-Style Proof Section (scoped). This overrides visual style only. */
.hf-proof { margin-top: 0; margin-bottom: 32px; }

/* Reassurance band */
.hf-proof .hf-reassure {
  background: linear-gradient(180deg, #F5F7FF 0%, #EEF2FF 100%);
  padding: 48px 0; border: 0;
}
.hf-proof .hf-reassure .hf-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.hf-proof .hf-reassure .hf-reassure-title {
  font-weight: 800; font-size: 32px; line-height: 1.2; text-align: center; color: #0f172a; margin: 0 0 8px;
}
.hf-proof .hf-reassure .hf-reassure-sub { text-align: center; color: #475569; font-size: 15px; margin: 0 0 18px; }
.hf-proof .hf-reassure .hf-reassure-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 6px;
}
@media (max-width: 900px){ .hf-proof .hf-reassure .hf-reassure-grid { grid-template-columns: 1fr; } }
.hf-proof .hf-reassure .hf-re-card {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px;
  box-shadow: 0 12px 24px rgba(2,6,23,.08);
}
.hf-proof .hf-reassure .hf-re-icon {
  width: 36px; height: 36px; border-radius: 999px; background: #ECFDF5; color: #059669;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900;
}
.hf-proof .hf-reassure .hf-re-head { font-weight: 800; color: #0f172a; margin: 0 0 4px; }
.hf-proof .hf-reassure .hf-re-body { color: #475569; font-size: 14px; margin: 0; }
.hf-proof .hf-reassure .hf-re-faq {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}
.hf-proof .hf-reassure .hf-re-faq:hover { text-decoration: underline; }

/* Calculator band container */
.hf-proof .hf-calc { background: linear-gradient(180deg, #E9FCEB 0%, #EFF6FF 100%); padding: 48px 0; }
.hf-proof .hf-calc .hf-wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.hf-proof .hf-calc .hf-calc-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 32px rgba(2,6,23,.12);
}
.hf-proof .hf-calc .hf-calc-head {
  background: linear-gradient(90deg, #0E7F2E 0%, #22C55E 100%);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  padding: 22px 20px; /* extra breathing room */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* title next to $ */
  gap: 8px;
  flex-wrap: wrap; /* subheader sits on next line */
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  position: relative;
  min-height: 70px;
}
/* Header money icon sizing/tint */
.hf-proof .hf-calc .hf-calc-head .hf-calc-icon {
  width: 33px; /* 50% larger */
  height: 33px;
  margin-right: 8px;
  /* Force white icon for contrast even when sourced as <img> */
  filter: invert(1) brightness(1.4) drop-shadow(0 1px 0 rgba(0,0,0,.05));
}
/* Left stack: title + subheader in band */
.hf-proof .hf-calc .hf-calc-head .hf-calc-head-left { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 4px; max-width: 100%; }
.hf-proof .hf-calc .hf-calc-head #hf-calc-title { font-size: 24px; font-weight: 800; }
.hf-proof .hf-calc .hf-calc-head .hf-calc-sub { color: #ffffff; font-weight: 600; font-size: 15px; flex-basis: 100%; margin-top: 4px; padding: 0; }
@media (min-width: 900px){ .hf-proof .hf-calc .hf-calc-head #hf-calc-title { white-space: nowrap; } }
/* Live spend value appears in the slider label row, not header */
.hf-proof .hf-calc .hf-calc-body .hf-calc-sub { color: #0f172a; margin: 0; padding: 10px 16px 0; }
.hf-proof .hf-calc .hf-calc-body { padding: 10px 16px 16px; }
.hf-proof .hf-calc .hf-spend-val { font-weight: 800; color:#0f172a; }

/* Slider styles */
.hf-proof .hf-calc .hf-slider-wrap { margin: 8px 0 14px; }
.hf-proof .hf-calc .hf-slider-label { display:flex; justify-content: space-between; align-items:center; font-size: 13px; color: #334155; margin-bottom: 8px; }
.hf-proof .hf-calc .hf-slider-label #hf-calc-spend-val { font-weight: 800; color:#0B1320; font-size: 20px; }
.hf-proof .hf-calc input[type="range"].hf-slider { width: 100%; -webkit-appearance: none; height: 8px; background: linear-gradient(90deg, #16A34A 0%, #22C55E 50%, #E5E7EB 50%); border-radius: 999px; outline: none; }
.hf-proof .hf-calc input[type="range"].hf-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #16A34A; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: width .12s ease, height .12s ease;
}
.hf-proof .hf-calc input[type="range"].hf-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #16A34A; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: width .12s ease, height .12s ease;
}
.hf-proof .hf-calc input[type="range"].hf-slider:hover::-webkit-slider-thumb { width: 24px; height: 24px; }
.hf-proof .hf-calc input[type="range"].hf-slider:hover::-moz-range-thumb { width: 24px; height: 24px; }
/* Space around slider row for readability */
.hf-proof .hf-calc .hf-slider-wrap { margin-top: 10px; margin-bottom: 16px; }
.hf-proof .hf-calc .hf-slider-ticks { display:flex; justify-content: space-between; font-size:12px; color:#64748b; margin-top: 6px; }

/* Tiles */
.hf-proof .hf-calc .hf-calc-row { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
@media (max-width: 900px){ .hf-proof .hf-calc .hf-calc-row { grid-template-columns: 1fr; } }
.hf-proof .hf-calc .hf-calc-box { background:#ECFDF5; border:1px solid #e5e7eb; border-radius:16px; padding:16px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.hf-proof .hf-calc .hf-calc-box.right { background:#EEF2FF; border-color:#e5e7eb; }
.hf-proof .hf-calc .hf-calc-val { font-weight: 800; font-size: 36px; color:#0f172a; }
.hf-proof .hf-calc .hf-calc-box:not(.right) .hf-calc-val { color:#16A34A; }
.hf-proof .hf-calc .hf-calc-box.right .hf-calc-val { color:#2563EB; }
.hf-proof .hf-calc .hf-calc-cap { font-size:12px; color:#64748b; }

/* Equivalents panel */
.hf-proof .hf-calc .hf-calc-eq {
  margin-top: 12px; padding: 12px 60px 12px 12px; border-radius:12px;
  border:1px solid #F4C7D9;
  background: linear-gradient(135deg,#F6F0FF 35%,#FFEFF5 100%);
  color:#0f172a; position: relative; overflow: hidden;
}
.hf-proof .hf-calc .hf-calc-eq strong { color:#8B5CF6; font-weight:600; }
.hf-proof .hf-calc .hf-calc-eq::after { content: none; }
.hf-proof .hf-calc .hf-calc-eq .hf-calc-eq-doodles { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display:none; flex-direction:column; gap: 12px; opacity: .7; font-size: 18px; filter: drop-shadow(0 1px 0 rgba(0,0,0,.05)); }
.hf-proof .hf-calc .hf-calc-eq ul { margin: 6px 0 0 18px; padding:0; }
.hf-proof .hf-calc .hf-calc-eq li { margin: 6px 0; display: flex; align-items: center; gap: 10px; min-height: 24px; }
.hf-proof .hf-calc .hf-calc-eq .hf-eq-ico { display:inline-flex; align-items:center; justify-content:center; }
.hf-proof .hf-calc .hf-calc-eq .hf-eq-ico svg { width:22px; height:22px; stroke:#8B5CF6; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; vertical-align:-3px; margin-right:10px; }
.hf-proof .hf-calc .hf-calc-eq ul { margin: 6px 0 0 18px; padding:0; }
.hf-proof .hf-calc .hf-calc-eq li { margin: 4px 0; }

/* Replace broken inline emoji/text with purple SVG masks */
.hf-proof .hf-calc .hf-calc-eq .hf-eq-ico {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  /* hide any leftover mojibake text */
  font-size: 0;
  line-height: 0;
}
.hf-proof .hf-calc .hf-calc-eq li:nth-child(1) .hf-eq-ico {
  background-color: #8B5CF6;
  -webkit-mask: url('/brand/svgs/pizza.svg') no-repeat center / 22px 22px;
  mask: url('/brand/svgs/pizza.svg') no-repeat center / 22px 22px;
}
.hf-proof .hf-calc .hf-calc-eq li:nth-child(2) .hf-eq-ico {
  background-color: #8B5CF6;
  -webkit-mask: url('/brand/svgs/coffee.svg') no-repeat center / 22px 22px;
  mask: url('/brand/svgs/coffee.svg') no-repeat center / 22px 22px;
}
.hf-proof .hf-calc .hf-calc-eq li:nth-child(3) .hf-eq-ico {
  background-color: #8B5CF6;
  -webkit-mask: url('/brand/svgs/box.svg') no-repeat center / 22px 22px;
  mask: url('/brand/svgs/box.svg') no-repeat center / 22px 22px;
}

/* CTA band */
.hf-proof .hf-calc .hf-calc-cta-row { margin: 14px 16px; padding: 18px 16px; background: linear-gradient(90deg,#2563EB,#1D4ED8); border:1px solid #1D4ED8; color:#fff; border-radius:12px; display:flex; flex-direction: column; align-items:center; justify-content:center; text-align:center; gap:12px; box-shadow: 0 10px 20px rgba(37,99,235,.25); }
.hf-proof .hf-calc .hf-btn.primary { background:#fff !important; color:#1D4ED8 !important; border:1px solid #1D4ED8; padding:10px 18px; border-radius:999px; font-weight:800; text-decoration:none; box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.hf-proof .hf-calc .hf-btn.primary:hover { filter: brightness(0.98); }
@media (max-width: 640px){
  .hf-proof .hf-calc .hf-calc-cta-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Footnote */
.hf-proof .hf-calc .hf-calc-note { color:#6b7280; font-size:12px; padding: 0 16px 16px; }
