/* "How can Adly help my business?" homepage quiz.
   Mirrors the pricing plan-quiz design language. */
:root {
  --hh-primary: #7c3aed;
  --hh-primary-soft: color-mix(in srgb, #7c3aed 8%, #ffffff);
  --hh-primary-softer: color-mix(in srgb, #7c3aed 4%, #ffffff);
  --hh-grad: linear-gradient(135deg, #7c3aed, color-mix(in srgb, #7c3aed 55%, #38bdf8));
  --hh-ink: #0f172a;
  --hh-muted: #64748b;
  --hh-border: #e5e7eb;
  --hh-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.hh-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: inherit;
}
.hh-icon svg { display: block; width: 100%; height: 100%; }

/* ---- Open CTA ---- */
.hh-hero-mount { display: flex; justify-content: center; margin: 14px 0 0; }
.hh-pricing-cta-wrap { display: flex; justify-content: center; margin: 0; }
.hh-pricing-mount-mobile {
  display: none;
  margin: 0 0 18px;
  text-align: center;
}

/* Desktop: quiz CTA stays above Compare plans. Mobile: above the plan cards. */
@media (max-width: 768px) {
  .hh-pricing-mount-mobile {
    display: block;
  }
  #hh-pricing-mount {
    display: none;
  }
}

.hh-open-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-family: var(--font-sans, 'Cairo', 'Tajawal', system-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  overflow: hidden;
  box-shadow: none;
  transform-origin: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--hh-ease), opacity 0.2s ease;
}
.hh-open-cta .hh-icon { width: 15px; height: 15px; }
.hh-open-cta-chevron {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: inherit;
  opacity: 0.85;
  transition: transform 0.2s var(--hh-ease), opacity 0.2s ease;
}
.hh-open-cta-chevron .hh-icon { width: 14px; height: 14px; }
html[dir="ltr"] .hh-open-cta-chevron { transform: scaleX(-1); }
@keyframes hhSheen {
  0%, 48% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}

/* Pricing: compact action chip (not a trust pill, not a big text link) */
.hh-pricing-cta-wrap .hh-open-cta,
.hh-open-cta--chip {
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.hh-pricing-cta-wrap .hh-open-cta::after,
.hh-open-cta--chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 72%
  );
  transform: translateX(-120%);
  animation: hhSheen 3.6s var(--hh-ease) infinite;
  pointer-events: none;
}
.hh-pricing-cta-wrap .hh-open-cta:hover,
.hh-open-cta--chip:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}
.hh-pricing-cta-wrap .hh-open-cta:active,
.hh-open-cta--chip:active {
  transform: translateY(0) scale(0.98);
}
.hh-pricing-cta-wrap .hh-open-cta .hh-icon,
.hh-open-cta--chip .hh-icon { width: 13px; height: 13px; }
.hh-pricing-cta-wrap .hh-open-cta .hh-open-cta-label::before,
.hh-pricing-cta-wrap .hh-open-cta .hh-open-cta-label::after,
.hh-open-cta--chip .hh-open-cta-label::before,
.hh-open-cta--chip .hh-open-cta-label::after {
  content: none;
  display: none;
}

/* Hero only: smaller ghost secondary so it does not compete with the primary CTA */
.hh-hero-mount .hh-open-cta {
  gap: 7px;
  padding: 8px 16px;
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  overflow: hidden;
  animation: hhOpenCtaBuzz 4.8s ease-in-out infinite;
}
.hh-hero-mount .hh-open-cta::after {
  display: none;
}
@keyframes hhOpenCtaBuzz {
  0%, 82%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  84% { transform: translate3d(-1.5px, 0, 0) rotate(-0.7deg); }
  86% { transform: translate3d(1.5px, 0.5px, 0) rotate(0.7deg); }
  88% { transform: translate3d(-1px, 0, 0) rotate(-0.45deg); }
  90% { transform: translate3d(1px, -0.5px, 0) rotate(0.45deg); }
  92% { transform: translate3d(-0.5px, 0, 0) rotate(-0.25deg); }
  94% { transform: translate3d(0.5px, 0, 0) rotate(0.25deg); }
  96% { transform: translate3d(0, 0, 0) rotate(0deg); }
}
.hh-hero-mount .hh-open-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
  transform: none;
  animation: none;
}
.hh-hero-mount .hh-open-cta:active {
  transform: scale(0.98);
  animation: none;
}
.hh-hero-mount .hh-open-cta .hh-icon { width: 15px; height: 15px; }

@media (prefers-reduced-motion: reduce) {
  .hh-pricing-cta-wrap .hh-open-cta::after,
  .hh-open-cta--chip::after,
  .hh-hero-mount .hh-open-cta {
    animation: none;
  }
}

/* ---- Modal shell ---- */
.hh-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.hh-modal[hidden] { display: none; }
.hh-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.hh-card {
  position: relative;
  width: min(680px, calc(100vw - 28px));
  max-height: min(90vh, 800px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 24px 26px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
  font-family: var(--font-sans, 'Cairo', 'Tajawal', system-ui, sans-serif);
  color: var(--hh-ink);
  animation: hhCardIn 0.4s var(--hh-ease);
}
@keyframes hhCardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hh-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: color-mix(in srgb, var(--hh-ink) 5%, transparent);
  color: var(--hh-muted);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.hh-close:hover { background: color-mix(in srgb, var(--hh-ink) 10%, transparent); color: var(--hh-ink); }
html[dir="rtl"] .hh-close { inset-inline-end: auto; inset-inline-start: 14px; left: 14px; right: auto; }

.hh-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 48px 20px;
}
.hh-progress-track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hh-primary) 9%, #eef2f7);
  overflow: hidden;
}
.hh-progress-fill {
  position: relative;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--hh-grad);
  transition: width 0.45s var(--hh-ease);
}
.hh-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-100%);
  animation: hhSheen 2.6s linear infinite;
}
.hh-progress-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--hh-primary);
  background: var(--hh-primary-soft);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* ---- Steps / options ---- */
.hh-step { animation: hhStepIn 0.34s var(--hh-ease); }
.hh-opening {
  margin: 0 auto 18px;
  max-width: 480px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--hh-muted);
  text-align: center;
}
@keyframes hhStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hh-q-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hh-primary);
  background:
    linear-gradient(var(--hh-primary-softer), var(--hh-primary-softer)) padding-box,
    linear-gradient(150deg, color-mix(in srgb, var(--hh-primary) 45%, transparent), color-mix(in srgb, var(--hh-primary) 8%, transparent)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--hh-primary) 10%, transparent);
  animation: hhIconIn 0.45s var(--hh-ease);
}
.hh-q-icon .hh-icon { width: 24px; height: 24px; }
@keyframes hhIconIn {
  from { opacity: 0; transform: scale(0.7) rotate(-6deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}
.hh-question {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 4px;
}
.hh-hint {
  min-height: 18px;
  font-size: 13px;
  color: var(--hh-muted);
  text-align: center;
  margin-bottom: 16px;
}
.hh-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.hh-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--hh-border);
  background: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--hh-ink);
  text-align: start;
  cursor: pointer;
  animation: hhOptIn 0.4s var(--hh-ease) backwards;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s var(--hh-ease), box-shadow 0.15s ease;
}
@keyframes hhOptIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hh-option:hover {
  border-color: color-mix(in srgb, var(--hh-primary) 40%, var(--hh-border));
  background: var(--hh-primary-softer);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--hh-primary) 8%, transparent);
}
.hh-option:active { transform: translateY(0) scale(0.985); }
.hh-option.is-selected {
  border-color: var(--hh-primary);
  background: var(--hh-primary-soft);
  font-weight: 700;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hh-primary) 12%, transparent);
  animation: hhPop 0.3s var(--hh-ease);
}
@keyframes hhPop {
  0% { transform: scale(1); }
  45% { transform: scale(0.97); }
  100% { transform: scale(1); }
}
.hh-option.is-denied { animation: hhShake 0.32s ease; }
@keyframes hhShake {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
}
.hh-option-check {
  margin-inline-start: auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--hh-ink) 16%, transparent);
  background: #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s var(--hh-ease);
}
.hh-option-check .hh-icon { width: 12px; height: 12px; opacity: 0; transition: opacity 0.15s ease; }
.hh-option.is-selected .hh-option-check {
  background: var(--hh-primary);
  border-color: var(--hh-primary);
  transform: scale(1.06);
}
.hh-option.is-selected .hh-option-check .hh-icon { opacity: 1; }

.hh-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hh-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  border-radius: 10px;
  color: var(--hh-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 9px 10px;
  transition: color 0.15s ease, background 0.15s ease;
}
.hh-back:hover { color: var(--hh-ink); background: color-mix(in srgb, var(--hh-ink) 5%, transparent); }
.hh-back .hh-icon { width: 15px; height: 15px; }
html[dir="rtl"] .hh-back .hh-icon { transform: scaleX(-1); }

/* ---- Loading ---- */
.hh-loading { text-align: center; padding: 44px 8px 40px; }
.hh-orbit { position: relative; width: 64px; height: 64px; margin: 0 auto; }
.hh-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 12%, var(--hh-primary));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: hhSpin 1.1s linear infinite;
}
@keyframes hhSpin { to { transform: rotate(360deg); } }
.hh-orbit-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hh-primary);
  animation: hhBreathe 1.6s ease-in-out infinite;
}
.hh-orbit-core .hh-icon { width: 24px; height: 24px; }
@keyframes hhBreathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}
.hh-loading-title { margin-top: 20px; font-size: 17px; font-weight: 800; }
.hh-loading-sub {
  margin-top: 8px;
  min-height: 20px;
  font-size: 13.5px;
  color: var(--hh-muted);
  transition: opacity 0.3s ease;
}
.hh-loading-sub.is-fading { opacity: 0; }

/* ---- Error ---- */
.hh-error { text-align: center; padding: 34px 8px 26px; }
.hh-error-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hh-primary);
  background: var(--hh-primary-soft);
}
.hh-error-icon .hh-icon { width: 24px; height: 24px; }
.hh-error-text { margin-top: 14px; font-size: 14px; }
.hh-retry {
  margin-top: 18px;
  padding: 11px 26px;
  border: none;
  border-radius: 12px;
  background: var(--hh-grad);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ---- Result ---- */
.hh-result { text-align: center; position: relative; }
.hh-confetti { position: absolute; top: -8px; left: 0; right: 0; height: 0; pointer-events: none; }
.hh-confetti i {
  position: absolute;
  top: 0;
  left: var(--x);
  width: 6px;
  height: 10px;
  border-radius: 2px;
  background: var(--c);
  opacity: 0;
  animation: hhConfetti 1.15s var(--hh-ease) forwards;
  animation-delay: var(--d);
}
@keyframes hhConfetti {
  0% { opacity: 0; transform: translateY(-6px) rotate(0deg) scale(0.7); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translateY(130px) rotate(var(--r)) scale(1); }
}
.hh-result-badge {
  width: 56px;
  height: 56px;
  margin: 2px auto 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--hh-grad);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--hh-primary) 35%, transparent);
  animation: hhBadgeIn 0.55s var(--hh-ease);
}
.hh-result-badge .hh-icon { width: 26px; height: 26px; }
@keyframes hhBadgeIn {
  0% { opacity: 0; transform: scale(0.4) rotate(-14deg); }
  60% { transform: scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
.hh-result-headline {
  margin: 14px auto 0;
  max-width: 500px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  animation: hhRiseIn 0.5s var(--hh-ease) 0.08s backwards;
}
@keyframes hhRiseIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hh-result-intro {
  margin: 10px auto 0;
  max-width: 500px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hh-muted);
  animation: hhRiseIn 0.5s var(--hh-ease) 0.14s backwards;
}

/* Problem → solution rows. First column reads first (problem on the right in RTL). */
.hh-matches {
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: start;
}
.hh-match {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  gap: 12px;
  align-items: stretch;
  animation: hhRiseIn 0.5s var(--hh-ease) backwards;
}
.hh-match-problem,
.hh-match-solution {
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 13px;
  line-height: 1.6;
}
.hh-match-problem {
  background: color-mix(in srgb, #ef4444 4%, #ffffff);
  border: 1px solid color-mix(in srgb, #ef4444 14%, transparent);
  color: var(--hh-ink);
}
.hh-match-solution {
  background:
    linear-gradient(color-mix(in srgb, var(--hh-primary) 4%, #ffffff), #ffffff) padding-box,
    linear-gradient(160deg, color-mix(in srgb, var(--hh-primary) 45%, transparent), color-mix(in srgb, var(--hh-primary) 10%, transparent)) border-box;
  border: 1.5px solid transparent;
  color: var(--hh-ink);
}
.hh-match-problem p,
.hh-match-solution p { margin: 6px 0 0; }
.hh-match-side-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hh-match-problem .hh-match-side-label { color: #dc2626; }
.hh-match-solution .hh-match-side-label { color: var(--hh-primary); }
.hh-match-side-label .hh-icon { width: 13px; height: 13px; }
.hh-match-title { margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--hh-primary); }
.hh-match-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--hh-primary) 55%, transparent);
}
.hh-match-arrow .hh-icon { width: 18px; height: 18px; transform: scaleX(-1); }
html[dir="rtl"] .hh-match-arrow .hh-icon { transform: none; }
.hh-plan-chip {
  display: inline-block;
  margin-top: 9px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--hh-primary-soft);
  border: 1px solid color-mix(in srgb, var(--hh-primary) 18%, transparent);
  color: var(--hh-primary);
  font-size: 11px;
  font-weight: 700;
}

/* Plan card */
.hh-result-plan {
  position: relative;
  margin: 26px auto 0;
  max-width: 440px;
  border-radius: 18px;
  padding: 22px 20px 18px;
  background:
    linear-gradient(color-mix(in srgb, var(--hh-primary) 4%, #ffffff), #ffffff) padding-box,
    linear-gradient(160deg, color-mix(in srgb, var(--hh-primary) 55%, transparent), color-mix(in srgb, var(--hh-primary) 12%, transparent)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--hh-primary) 10%, transparent);
  animation: hhRiseIn 0.5s var(--hh-ease) 0.2s backwards;
}
.hh-result-tag {
  position: absolute;
  top: -11px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--hh-grad);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
html[dir="rtl"] .hh-result-tag { transform: translateX(50%); }
.hh-result-plan-name { font-size: 24px; font-weight: 800; color: var(--hh-primary); }
.hh-result-plan-price { margin-top: 4px; font-size: 22px; font-weight: 800; }
.hh-result-plan-price span { font-size: 13px; font-weight: 600; color: var(--hh-muted); }
.hh-result-plan-yearly { margin-top: 4px; font-size: 12px; color: var(--hh-muted); }
.hh-result-plan-reason { margin: 12px 0 0; font-size: 13.5px; line-height: 1.65; }

/* Coupon */
.hh-coupon {
  margin: 18px auto 0;
  max-width: 440px;
  border-radius: 18px;
  padding: 20px;
  background: color-mix(in srgb, var(--hh-primary) 5%, #ffffff);
  border: 1.5px dashed color-mix(in srgb, var(--hh-primary) 40%, transparent);
  animation: hhRiseIn 0.5s var(--hh-ease) 0.3s backwards;
}
.hh-coupon-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--hh-grad);
}
.hh-coupon-icon .hh-icon { width: 21px; height: 21px; }
.hh-coupon-title { margin-top: 10px; font-size: 15px; font-weight: 800; }
.hh-coupon-body { margin: 7px 0 0; font-size: 13px; line-height: 1.6; color: var(--hh-muted); }
.hh-coupon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.hh-coupon-code {
  padding: 8px 18px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid color-mix(in srgb, var(--hh-primary) 35%, transparent);
  color: var(--hh-primary);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.hh-coupon-copy {
  padding: 9px 14px;
  border: none;
  border-radius: 10px;
  background: color-mix(in srgb, var(--hh-primary) 12%, #ffffff);
  color: var(--hh-primary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.hh-coupon-copy:hover { background: color-mix(in srgb, var(--hh-primary) 20%, #ffffff); }
.hh-coupon-hint { margin-top: 8px; font-size: 11.5px; color: var(--hh-muted); }

.hh-result-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: hhRiseIn 0.45s var(--hh-ease) 0.4s backwards;
}
.hh-cta {
  display: inline-block;
  min-width: 250px;
  padding: 14px 28px;
  border-radius: 14px;
  background: var(--hh-grad);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--hh-primary) 32%, transparent);
  transition: transform 0.18s var(--hh-ease), box-shadow 0.18s ease;
}
.hh-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--hh-primary) 42%, transparent);
}
.hh-start-over {
  background: none;
  border: none;
  color: var(--hh-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px;
}
.hh-start-over:hover { color: var(--hh-ink); }

/* ---- Pricing section personalization ---- */
.hh-pricing-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
  max-width: 760px;
  padding: 12px 18px;
  border-radius: 14px;
  background:
    linear-gradient(color-mix(in srgb, var(--hh-primary) 5%, #ffffff), #ffffff) padding-box,
    linear-gradient(160deg, color-mix(in srgb, var(--hh-primary) 45%, transparent), color-mix(in srgb, var(--hh-primary) 10%, transparent)) border-box;
  border: 1.5px solid transparent;
  color: var(--hh-ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.hh-pricing-banner .hh-icon { width: 17px; height: 17px; color: var(--hh-primary); }
.hh-banner-restart {
  background: none;
  border: none;
  color: var(--hh-primary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing-card.hh-recommended {
  border-color: var(--hh-primary) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hh-primary) 16%, transparent), 0 18px 44px color-mix(in srgb, var(--hh-primary) 14%, transparent);
}

@media (max-width: 640px) {
  .hh-question { font-size: 17px; }
  .hh-option { min-height: 50px; padding: 11px 13px; }
  .hh-progress { margin: 6px 40px 16px; }
  .hh-options { grid-template-columns: 1fr; }
  .hh-cta { min-width: 100%; }
  .hh-match { grid-template-columns: 1fr; gap: 8px; }
  .hh-match-arrow { display: none; }
  .hh-card { padding: 20px 16px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hh-step, .hh-option, .hh-q-icon, .hh-result-badge, .hh-result-headline, .hh-result-intro,
  .hh-match, .hh-result-plan, .hh-coupon, .hh-result-actions,
  .hh-open-cta::after, .hh-progress-fill::after, .hh-confetti i, .hh-card {
    animation: none !important;
  }
}
