/*
 * Healthcare Lead Generation — the patient-pathway page.
 *
 * Coloured from the owner's art: the clinic teal of the icon set (#00a8bb),
 * a deep surgical navy, aqua mist and one alert coral used only for
 * "symptoms". Leads are points of light that keep moving: an orbit in the
 * hero, a scan over the challenges, a channel hub, a budget re-allocating,
 * a funnel and a pipeline at the close.
 *
 * Everything is scoped under .hl-page. landing.css still loads (button set
 * and the shared FAQ accordion).
 *
 * Motion contract: [data-reveal] gets .is-in from healthcare-lead-gen.js and
 * each child staggers off its own --i. [data-scrub] gets --p (0..1) tied to
 * scroll, both ways; every rule reading it defaults to 1, so with no JS the
 * page rests finished. Hiding is gated on .hl-js. Everything settles under
 * prefers-reduced-motion at the foot of this file.
 *
 * Order: tokens, type, buttons, motion, hero, challenges, channels, budget,
 * convert, choose, ready, FAQ, responsive, reduced motion.
 */
.hl-page {
  --hl-teal: #00a8bb;
  --hl-aqua: #2fd3e0;
  --hl-navy: #062b3d;
  --hl-deep: #041c29;
  --hl-mist: #eef9fb;
  --hl-coral: #ff6f61;
  --hl-ink: #0d2433;
  --hl-muted: #4f6672;
  --hl-line: rgba(6, 43, 61, 0.1);

  --hl-display: "Lexend", var(--heading-font);
  --hl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hl-sec-y: clamp(64px, 8vw, 120px);
  --hl-top: clamp(96px, 9vw, 124px); /* the theme's header-clearing offset */
  --hl-radius: 26px;

  background: #fff;
  color: var(--hl-ink);
  overflow-x: clip;
}

.hl-sec {
  position: relative;
  padding-block: var(--hl-sec-y);
}

/* ---------- Type ---------- */
.hl-page .hl-h2 {
  margin: 0;
  font-family: var(--hl-display);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--hl-navy);
  text-wrap: balance;
}

.hl-page .hl-h3 {
  margin: 0;
  font-family: var(--hl-display);
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--hl-navy);
}

.hl-page .hl-lead {
  max-width: 70ch;
  margin: 16px auto 0;
  color: var(--hl-muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
}

.hl-page .hl-on-dark {
  color: #fff;
}

.hl-page .hl-lead.hl-on-dark {
  color: rgba(255, 255, 255, 0.74);
}

.hl-head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.hl-page .hl-hero-text,
.hl-page .hl-diag-close p,
.hl-page .hl-panel p,
.hl-page .hl-step p,
.hl-page .hl-card p,
.hl-page .hl-faq .faq-ans p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ---------- Buttons ---------- */
/* style.css repaints the disc and arrow on hover, so every variant restates
   disc colour and arrow fill at rest AND on hover. */
.hl-page .btn-strategy.hl-btn {
  background-color: var(--hl-teal);
  border-color: var(--hl-teal);
  transition:
    padding 0.42s var(--hl-ease),
    background-color 0.42s var(--hl-ease),
    border-color 0.42s var(--hl-ease),
    box-shadow 0.42s var(--hl-ease),
    transform 0.42s var(--hl-ease);
}

.hl-page .btn-strategy.hl-btn .btn-text {
  color: #fff;
}

.hl-page .btn-strategy.hl-btn:hover {
  background-color: var(--hl-navy);
  border-color: var(--hl-navy);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 168, 187, 0.32);
}

.hl-page .btn-strategy.hl-btn .icon-circle,
.hl-page .btn-strategy.hl-btn:hover .icon-circle {
  background: #fff;
}

.hl-page .btn-strategy.hl-btn .icon-circle svg path,
.hl-page .btn-strategy.hl-btn:hover .icon-circle svg path {
  fill: var(--hl-teal);
}

.hl-page .btn-strategy.hl-btn-light,
.hl-page .btn-strategy.hl-btn-light:hover {
  background-color: #fff;
  border-color: #fff;
}

.hl-page .btn-strategy.hl-btn-light .btn-text,
.hl-page .btn-strategy.hl-btn-light:hover .btn-text {
  color: var(--hl-navy);
}

.hl-page .btn-strategy.hl-btn-light .icon-circle,
.hl-page .btn-strategy.hl-btn-light:hover .icon-circle {
  background: var(--hl-teal);
}

.hl-page .btn-strategy.hl-btn-light .icon-circle svg path,
.hl-page .btn-strategy.hl-btn-light:hover .icon-circle svg path {
  fill: #fff;
}

.hl-page .btn-strategy.hl-btn-light:hover {
  box-shadow: 0 18px 40px rgba(47, 211, 224, 0.35);
}

/* ---------- Motion ---------- */
.hl-page.hl-js [data-reveal] > :not([aria-hidden="true"]),
.hl-page.hl-js [data-reveal] > li {
  opacity: 0;
}

/* `backwards` does not keep the end state: .is-in restates opacity 1. */
.hl-page [data-reveal].is-in > :not([aria-hidden="true"]),
.hl-page [data-reveal].is-in > li {
  opacity: 1;
  animation: hl-reveal 0.9s var(--hl-ease) backwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}

.hl-page [data-reveal].is-in > :nth-child(2) {
  --i: 1;
}

.hl-page [data-reveal].is-in > :nth-child(3) {
  --i: 2;
}

@keyframes hl-reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }
}

.hl-rise {
  animation: hl-reveal 1s var(--hl-ease) backwards;
  animation-delay: calc(0.15s + var(--i, 0) * 110ms);
}

/* Hero title words, split by the JS. */
.hl-word {
  display: inline-block;
  animation: hl-word 0.9s var(--hl-ease) backwards;
  animation-delay: calc(0.1s + var(--w, 0) * 70ms);
}

@keyframes hl-word {
  from {
    opacity: 0;
    transform: translateY(0.55em) rotate(4deg);
    filter: blur(8px);
  }
}

/* ---------- Hero ---------- */
.hl-hero {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--hl-top) + 16px) 0;
  background: linear-gradient(180deg, #f3fbfc 0%, #ffffff 78%);
}

.hl-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hl-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: hl-drift 18s ease-in-out infinite alternate;
}

.hl-orb-a {
  width: 520px;
  height: 520px;
  top: -140px;
  right: 6%;
  background: radial-gradient(circle, rgba(47, 211, 224, 0.55), transparent 70%);
}

.hl-orb-b {
  width: 420px;
  height: 420px;
  bottom: 40px;
  left: -120px;
  background: radial-gradient(circle, rgba(0, 168, 187, 0.32), transparent 70%);
  animation-duration: 22s;
  animation-delay: -6s;
}

.hl-orb-c {
  width: 260px;
  height: 260px;
  top: 38%;
  left: 42%;
  background: radial-gradient(circle, rgba(255, 111, 97, 0.18), transparent 70%);
  animation-duration: 26s;
  animation-delay: -12s;
}

@keyframes hl-drift {
  to {
    transform: translate(60px, 40px) scale(1.12);
  }
}

.hl-hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(6, 43, 61, 0.09) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
}

.hl-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hl-page .hl-hero-title {
  margin: 0;
  font-family: var(--hl-display);
  font-size: clamp(38px, 4.6vw, 70px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--hl-navy);
}

.hl-page .hl-hero-sub {
  margin: 22px 0 0;
  font-family: var(--hl-display);
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 500;
  line-height: 1.35;
  background: linear-gradient(90deg, var(--hl-teal), #0b7f9a 55%, var(--hl-navy));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hl-page .hl-hero-text {
  max-width: 58ch;
  margin: 18px 0 32px;
  color: var(--hl-muted);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.75;
}

.hl-hero-stage {
  position: relative;
  aspect-ratio: 1371 / 1147;
  translate: var(--tx, 0) var(--ty, 0);
  transition: translate 0.6s var(--hl-ease);
}

.hl-hero-art {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(6, 43, 61, 0.16));
}

.hl-blob {
  position: absolute;
  z-index: 0;
  inset: 8% 2% 4% 14%;
  background: linear-gradient(135deg, rgba(47, 211, 224, 0.35), rgba(0, 168, 187, 0.12));
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  animation: hl-morph 14s ease-in-out infinite;
}

@keyframes hl-morph {
  33% {
    border-radius: 63% 37% 41% 59% / 55% 38% 62% 45%;
    transform: rotate(6deg) scale(1.03);
  }
  66% {
    border-radius: 38% 62% 55% 45% / 36% 60% 40% 64%;
    transform: rotate(-4deg) scale(0.98);
  }
}

.hl-orbit {
  position: absolute;
  z-index: 1;
  inset: -2% -4% -4% 6%;
  border: 1.5px dashed rgba(0, 168, 187, 0.35);
  border-radius: 50%;
  animation: hl-spin 40s linear infinite;
}

.hl-orbit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px;
  border-radius: 50%;
  background: var(--hl-teal);
  box-shadow: 0 0 0 6px rgba(0, 168, 187, 0.18), 0 0 18px var(--hl-aqua);
}

.hl-orbit-dot:nth-child(1) {
  top: 0;
  left: 50%;
}

.hl-orbit-dot:nth-child(2) {
  top: 75%;
  left: 6.7%;
  background: var(--hl-coral);
  box-shadow: 0 0 0 6px rgba(255, 111, 97, 0.18), 0 0 18px rgba(255, 111, 97, 0.7);
}

.hl-orbit-dot:nth-child(3) {
  top: 75%;
  left: 93.3%;
  width: 10px;
  height: 10px;
  margin: -5px;
}

@keyframes hl-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Pings sit on the art's "New" badges and the chart's arrow tip. */
.hl-ping {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  margin: -6px;
  border-radius: 50%;
  background: var(--hl-teal);
}

.hl-ping::before,
.hl-ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--hl-teal);
  animation: hl-ping 2.4s var(--hl-ease) infinite;
}

.hl-ping::after {
  animation-delay: 1.2s;
}

.hl-ping-a {
  top: 21%;
  left: 45.5%;
}

.hl-ping-b {
  top: 37%;
  left: 45.5%;
  animation-delay: 0.8s;
}

.hl-ping-c {
  top: 27%;
  left: 93%;
}

@keyframes hl-ping {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Channel ticker under the fold. */
.hl-ticker {
  position: relative;
  margin-top: clamp(36px, 5vw, 64px);
  padding-block: 18px;
  border-block: 1px solid var(--hl-line);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.hl-ticker-track {
  display: flex;
  width: max-content;
  animation: hl-ticker 34s linear infinite;
}

.hl-ticker:hover .hl-ticker-track {
  animation-play-state: paused;
}

.hl-ticker ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hl-ticker li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--hl-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  color: var(--hl-navy);
  white-space: nowrap;
}

.hl-ticker li::after {
  content: "";
  width: 10px;
  height: 10px;
  /* a small medical cross */
  background:
    linear-gradient(var(--hl-teal), var(--hl-teal)) center / 100% 30% no-repeat,
    linear-gradient(var(--hl-teal), var(--hl-teal)) center / 30% 100% no-repeat;
}

@keyframes hl-ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Challenges: the diagnostic scan ---------- */
.hl-diag {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(0, 168, 187, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255, 111, 97, 0.1), transparent 70%),
    var(--hl-deep);
  color: #fff;
  overflow: hidden;
}

.hl-diag::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 211, 224, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 211, 224, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}

.hl-diag-board {
  position: relative;
}

.hl-scan {
  position: absolute;
  z-index: 2;
  left: -4%;
  right: -4%;
  top: calc(var(--p, 1) * 100%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hl-aqua) 20%, #fff 50%, var(--hl-aqua) 80%, transparent);
  box-shadow: 0 0 24px 4px rgba(47, 211, 224, 0.55);
  pointer-events: none;
  opacity: calc(1 - var(--p, 1) * var(--p, 1));
}

.hl-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 120px;
  background: linear-gradient(0deg, rgba(47, 211, 224, 0.16), transparent);
}

.hl-diag-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hl-symptom {
  grid-column: span 2;
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--hl-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 211, 224, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(6px);
  transition:
    border-color 0.6s var(--hl-ease),
    box-shadow 0.6s var(--hl-ease),
    transform 0.6s var(--hl-ease);
}

/* Seven cards on eight tracks: 4 across, then 3 centred. */
.hl-symptom:nth-child(5) {
  grid-column: 2 / span 2;
}

.hl-symptom-ic {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transition:
    color 0.6s var(--hl-ease),
    background-color 0.6s var(--hl-ease);
}

.hl-symptom-pulse {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background-color 0.5s var(--hl-ease);
}

.hl-page .hl-symptom .hl-h3 {
  color: #fff;
  font-size: clamp(18px, 1.4vw, 21px);
}

.hl-page .hl-symptom p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15.5px;
  line-height: 1.65;
}

/* Detected: the scan has passed this card (rests detected with no JS). */
.hl-page:not(.hl-js) .hl-symptom,
.hl-symptom.is-lit {
  border-color: rgba(255, 111, 97, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 111, 97, 0.12), 0 22px 50px -20px rgba(255, 111, 97, 0.45);
}

.hl-page:not(.hl-js) .hl-symptom-ic,
.hl-symptom.is-lit .hl-symptom-ic {
  color: var(--hl-coral);
  background: rgba(255, 111, 97, 0.12);
}

.hl-page:not(.hl-js) .hl-symptom-pulse,
.hl-symptom.is-lit .hl-symptom-pulse {
  background: var(--hl-coral);
  animation: hl-alert 1.6s ease-out infinite;
}

@keyframes hl-alert {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 111, 97, 0.6);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(255, 111, 97, 0);
  }
}

.hl-diag-close {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 920px;
  margin: clamp(36px, 4vw, 56px) auto 0;
  padding: 22px 28px;
  border-radius: 999px;
  border: 1px solid rgba(47, 211, 224, 0.35);
  background: linear-gradient(90deg, rgba(0, 168, 187, 0.22), rgba(0, 168, 187, 0.05));
}

.hl-rx {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--hl-deep);
  background: var(--hl-aqua);
  box-shadow: 0 0 24px rgba(47, 211, 224, 0.6);
}

.hl-page .hl-diag-close p {
  margin: 0;
  color: #fff;
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.6;
}

/* ---------- Channels: the hub ---------- */
.hl-chan {
  background: linear-gradient(180deg, #fff 0%, var(--hl-mist) 100%);
}

.hl-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hl-wheel {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin-inline: auto;
}

.hl-wheel-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hl-wheel-ring {
  fill: none;
  stroke: rgba(0, 168, 187, 0.25);
  stroke-width: 0.25;
  stroke-dasharray: 1 1.2;
  transform-origin: 50px 50px;
  animation: hl-spin 80s linear infinite;
}

.hl-wheel-ring-in {
  stroke-dasharray: 0.4 1.6;
  animation-direction: reverse;
  animation-duration: 50s;
}

.hl-spoke {
  stroke: rgba(6, 43, 61, 0.1);
  stroke-width: 0.35;
  transition: stroke 0.5s var(--hl-ease);
}

.hl-spoke.is-active {
  stroke: var(--hl-teal);
  stroke-width: 0.7;
  stroke-dasharray: 1.6 1.6;
  animation: hl-flow 0.9s linear infinite;
  filter: drop-shadow(0 0 1.2px var(--hl-aqua));
}

@keyframes hl-flow {
  to {
    stroke-dashoffset: -3.2;
  }
}

.hl-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  aspect-ratio: 1;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #e3f7fa 70%);
  box-shadow:
    0 30px 60px -20px rgba(0, 168, 187, 0.45),
    inset 0 0 0 1px rgba(0, 168, 187, 0.2);
}

.hl-core-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 168, 187, 0.3);
  animation: hl-breathe 3.2s ease-in-out infinite;
}

.hl-core.is-pulse .hl-core-ring {
  animation: hl-burst 0.8s var(--hl-ease);
}

@keyframes hl-breathe {
  50% {
    transform: scale(1.06);
    opacity: 0.5;
  }
}

@keyframes hl-burst {
  from {
    transform: scale(0.9);
    border-color: var(--hl-teal);
  }
  to {
    transform: scale(1.35);
    opacity: 0;
  }
}

.hl-core-ic {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 62%;
  opacity: 0;
  transform: scale(0.6) rotate(-12deg);
  transition:
    opacity 0.45s var(--hl-ease),
    transform 0.6s var(--hl-ease);
}

.hl-core-ic.is-active {
  opacity: 1;
  transform: none;
}

.hl-core-ic img,
.hl-core-ic svg {
  width: 100%;
  height: auto;
}

.hl-nodes {
  position: absolute;
  inset: 0;
}

.hl-page .hl-node {
  position: absolute;
  top: var(--y);
  left: var(--x);
  translate: -50% -50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--hl-navy);
}

.hl-node-ic {
  display: grid;
  place-items: center;
  width: clamp(58px, 6vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 26px -10px rgba(6, 43, 61, 0.3), inset 0 0 0 1px var(--hl-line);
  transition:
    transform 0.5s var(--hl-ease),
    box-shadow 0.5s var(--hl-ease);
}

.hl-node-ic img,
.hl-node-ic svg {
  width: 66%;
  height: auto;
}

.hl-node-label {
  padding: 3px 12px;
  border-radius: 999px;
  font-family: var(--hl-display);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.85);
  transition:
    background-color 0.4s var(--hl-ease),
    color 0.4s var(--hl-ease);
}

.hl-node:hover .hl-node-ic,
.hl-node:focus-visible .hl-node-ic {
  transform: translateY(-4px) scale(1.06);
}

.hl-node:focus-visible {
  outline: none;
}

.hl-node:focus-visible .hl-node-label {
  outline: 2px solid var(--hl-teal);
  outline-offset: 2px;
}

.hl-node.is-active .hl-node-ic {
  transform: scale(1.14);
  box-shadow:
    0 0 0 4px rgba(0, 168, 187, 0.25),
    0 18px 36px -10px rgba(0, 168, 187, 0.6);
}

.hl-node.is-active .hl-node-label {
  color: #fff;
  background: var(--hl-teal);
}

.hl-panels {
  position: relative;
  display: grid;
}

.hl-panel {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--hl-radius);
  background: #fff;
  box-shadow: 0 30px 70px -36px rgba(6, 43, 61, 0.35), inset 0 0 0 1px var(--hl-line);
  overflow: hidden;
}

.hl-panel + .hl-panel {
  margin-top: 18px;
}

.hl-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hl-teal), var(--hl-aqua));
}

/* With JS: one panel at a time, stacked in one grid cell. */
.hl-js .hl-panel {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(26px);
  transition:
    opacity 0.5s var(--hl-ease),
    transform 0.6s var(--hl-ease),
    visibility 0s 0.5s;
}

.hl-js .hl-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.5s var(--hl-ease) 0.08s,
    transform 0.6s var(--hl-ease) 0.08s,
    visibility 0s;
}

.hl-panel-ic {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: var(--hl-mist);
}

.hl-panel-ic img,
.hl-panel-ic svg {
  width: 72%;
  height: auto;
}

.hl-page .hl-panel .hl-h3 {
  font-size: clamp(22px, 2vw, 30px);
}

.hl-page .hl-panel p {
  margin: 14px 0 0;
  color: var(--hl-muted);
  font-size: clamp(15.5px, 1.1vw, 17px);
  line-height: 1.75;
}

.hl-panel-meter {
  display: block;
  height: 4px;
  margin-top: 26px;
  border-radius: 4px;
  background: var(--hl-mist);
  overflow: hidden;
}

.hl-panel-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hl-teal), var(--hl-aqua));
  transform-origin: left;
}

.hl-panel.is-active .hl-panel-meter i {
  animation: hl-meter 1.2s var(--hl-ease) 0.2s backwards;
}

@keyframes hl-meter {
  from {
    transform: scaleX(0);
  }
}

/* ---------- Budget CTA ---------- */
.hl-budget {
  padding-block: clamp(40px, 5vw, 72px);
}

.hl-budget-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(32px, 4.5vw, 64px);
  border-radius: calc(var(--hl-radius) + 8px);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(47, 211, 224, 0.35), transparent 60%),
    linear-gradient(135deg, #e7f8fa, #f8fdfe 60%, #e2f5f8);
  box-shadow: inset 0 0 0 1px rgba(0, 168, 187, 0.18);
  overflow: hidden;
}

.hl-budget-copy {
  text-align: left;
}

.hl-page .hl-budget-copy .hl-lead {
  margin: 16px 0 30px;
}

.hl-budget-viz {
  position: relative;
  height: clamp(220px, 24vw, 300px);
}

.hl-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 1.2vw, 16px);
  padding-bottom: 28px;
  border-bottom: 1.5px solid rgba(6, 43, 61, 0.15);
}

.hl-bar {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.hl-bar i {
  display: block;
  width: 100%;
  height: calc((var(--from) + (var(--to) - var(--from)) * var(--p, 1)) * 1%);
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, var(--hl-aqua), var(--hl-teal));
  box-shadow: 0 10px 24px -10px rgba(0, 168, 187, 0.7);
}

.hl-bar.is-down i {
  background: linear-gradient(180deg, #c9d6dc, #a9bcc5);
  box-shadow: none;
  opacity: calc(1 - var(--p, 1) * 0.35);
}

.hl-bar span {
  position: absolute;
  left: 50%;
  bottom: -28px;
  translate: -50% 0;
  font-family: var(--hl-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--hl-muted);
  white-space: nowrap;
}

.hl-coin {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: var(--hl-display);
  font-weight: 700;
  font-size: 20px;
  color: #8a5a00;
  background: radial-gradient(circle at 35% 30%, #fff3c4, #f6c64a 60%, #d99a16);
  box-shadow: 0 10px 20px -6px rgba(217, 154, 22, 0.6);
  animation: hl-bob 4s ease-in-out infinite;
}

.hl-coin-a {
  top: -6px;
  left: 6%;
}

.hl-coin-b {
  top: 22%;
  right: 2%;
  width: 34px;
  height: 34px;
  font-size: 15px;
  animation-delay: -2s;
}

@keyframes hl-bob {
  50% {
    transform: translateY(-14px) rotate(14deg);
  }
}

/* ---------- Convert: the funnel ---------- */
.hl-conv {
  background: #fff;
}

.hl-conv-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
}

.hl-conv-pin {
  position: sticky;
  top: calc(var(--hl-top) + 24px);
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hl-funnel {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 320 / 380;
}

.hl-funnel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hl-band {
  fill: #e4eef1;
  transition: fill 0.6s var(--hl-ease);
}

.hl-page:not(.hl-js) .hl-band,
.hl-band.is-on {
  fill: color-mix(in srgb, var(--hl-teal) calc(40% + var(--i) * 12%), var(--hl-aqua));
}

.hl-funnel-edge {
  fill: none;
  stroke: rgba(6, 43, 61, 0.18);
  stroke-width: 1.5;
}

.hl-drops {
  position: absolute;
  inset: 0;
  clip-path: polygon(3.1% 2.6%, 96.9% 2.6%, 61.25% 65.8%, 61.25% 92.6%, 38.75% 92.6%, 38.75% 65.8%);
  pointer-events: none;
}

.hl-drops i {
  position: absolute;
  top: -4%;
  left: calc(var(--x) * 1%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 0 2px rgba(6, 43, 61, 0.15);
  animation: hl-fall var(--d) cubic-bezier(0.5, 0, 0.75, 1) var(--w) infinite;
}

@keyframes hl-fall {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  70% {
    transform: translate(calc((50 - var(--x)) * 3.4px), 260px);
  }
  100% {
    transform: translate(calc((50 - var(--x)) * 3.6px), 360px);
    opacity: 0.2;
  }
}

.hl-funnel-out {
  position: absolute;
  left: 50%;
  bottom: -4%;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: #c9d6dc;
  transition:
    background-color 0.5s var(--hl-ease),
    box-shadow 0.5s var(--hl-ease),
    transform 0.5s var(--hl-ease);
}

.hl-page:not(.hl-js) .hl-funnel-out,
.hl-conv-grid.is-done .hl-funnel-out {
  background: var(--hl-teal);
  transform: scale(1.12);
  box-shadow: 0 0 0 10px rgba(0, 168, 187, 0.15), 0 0 30px rgba(47, 211, 224, 0.7);
}

.hl-page .hl-funnel-now {
  min-height: 1.5em;
  margin: 30px 0 0;
  font-family: var(--hl-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--hl-teal);
  text-align: center;
}

.hl-funnel-now.is-swap {
  animation: hl-swap 0.5s var(--hl-ease);
}

@keyframes hl-swap {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.hl-conv-steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hl-conv-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 2px;
  background: linear-gradient(var(--hl-teal), var(--hl-aqua)) top / 100% calc(var(--p, 1) * 100%) no-repeat, var(--hl-line);
}

.hl-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
}

.hl-step + .hl-step {
  margin-top: 6px;
}

.hl-step-n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-family: var(--hl-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--hl-muted);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--hl-line);
  transition:
    color 0.5s var(--hl-ease),
    background-color 0.5s var(--hl-ease),
    box-shadow 0.5s var(--hl-ease),
    transform 0.5s var(--hl-ease);
}

.hl-step > div {
  padding: 22px 26px;
  border-radius: 20px;
  background: var(--hl-mist);
  opacity: 0.55;
  transform: translateX(10px);
  transition:
    opacity 0.6s var(--hl-ease),
    transform 0.6s var(--hl-ease),
    background-color 0.6s var(--hl-ease),
    box-shadow 0.6s var(--hl-ease);
}

.hl-page .hl-step p {
  margin: 8px 0 0;
  color: var(--hl-muted);
  font-size: 16px;
  line-height: 1.7;
}

.hl-page:not(.hl-js) .hl-step > div,
.hl-step.is-lit > div {
  opacity: 1;
  transform: none;
  background: #fff;
  box-shadow: 0 22px 50px -28px rgba(6, 43, 61, 0.35), inset 0 0 0 1px var(--hl-line);
}

.hl-page:not(.hl-js) .hl-step-n,
.hl-step.is-lit .hl-step-n {
  color: #fff;
  background: var(--hl-teal);
  box-shadow: 0 0 0 6px rgba(0, 168, 187, 0.16);
}

.hl-step.is-now .hl-step-n {
  transform: scale(1.1);
}

/* ---------- Choose ---------- */
.hl-choose {
  overflow: hidden;
  background: var(--hl-mist);
}

.hl-plus {
  position: absolute;
  width: 90px;
  height: 90px;
  opacity: 0.4;
  background:
    linear-gradient(rgba(0, 168, 187, 0.25), rgba(0, 168, 187, 0.25)) center / 100% 30% no-repeat,
    linear-gradient(rgba(0, 168, 187, 0.25), rgba(0, 168, 187, 0.25)) center / 30% 100% no-repeat;
  border-radius: 8px;
  animation: hl-float 12s ease-in-out infinite;
  pointer-events: none;
}

.hl-plus-a {
  top: 8%;
  left: 4%;
}

.hl-plus-b {
  top: 40%;
  right: 3%;
  width: 140px;
  height: 140px;
  animation-delay: -4s;
}

.hl-plus-c {
  bottom: 6%;
  left: 38%;
  width: 60px;
  height: 60px;
  animation-delay: -8s;
}

@keyframes hl-float {
  50% {
    transform: translateY(-24px) rotate(45deg);
  }
}

.hl-choose-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hl-card {
  position: relative;
  padding: clamp(28px, 2.6vw, 38px);
  border-radius: var(--hl-radius);
  background:
    radial-gradient(320px circle at var(--mx, 50%) var(--my, -20%), rgba(47, 211, 224, 0.16), transparent 65%),
    #fff;
  box-shadow: 0 24px 50px -34px rgba(6, 43, 61, 0.4), inset 0 0 0 1px var(--hl-line);
  transition:
    transform 0.5s var(--hl-ease),
    box-shadow 0.5s var(--hl-ease);
}

.hl-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 70px -34px rgba(0, 168, 187, 0.55), inset 0 0 0 1px rgba(0, 168, 187, 0.35);
}

/* Cards dock from alternate sides on reveal. */
.hl-page .hl-choose-grid.is-in > li:nth-child(odd) {
  animation-name: hl-dock-l;
}

.hl-page .hl-choose-grid.is-in > li:nth-child(even) {
  animation-name: hl-dock-r;
}

@keyframes hl-dock-l {
  from {
    opacity: 0;
    transform: translate(-40px, 20px) rotate(-2deg);
  }
}

@keyframes hl-dock-r {
  from {
    opacity: 0;
    transform: translate(40px, 20px) rotate(2deg);
  }
}

.hl-capsule {
  position: relative;
  display: grid;
  place-items: center;
  width: 108px;
  height: 64px;
  margin-bottom: 24px;
}

.hl-cap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  transition: transform 0.6s var(--hl-ease);
}

.hl-cap-l {
  left: 0;
  border-radius: 32px 0 0 32px;
  background: linear-gradient(135deg, #d9f5f8, #bfeef3);
}

.hl-cap-r {
  right: 0;
  border-radius: 0 32px 32px 0;
  background: linear-gradient(135deg, #ffffff, #e9f8fa);
  box-shadow: inset 0 0 0 1px rgba(0, 168, 187, 0.2);
}

.hl-capsule img {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  transition: transform 0.6s var(--hl-ease), filter 0.6s var(--hl-ease);
}

.hl-card:hover .hl-cap-l {
  transform: translateX(-10px) rotate(-8deg);
}

.hl-card:hover .hl-cap-r {
  transform: translateX(10px) rotate(8deg);
}

.hl-card:hover .hl-capsule img {
  transform: scale(1.25);
  filter: drop-shadow(0 4px 10px rgba(0, 168, 187, 0.5));
}

.hl-page .hl-card p {
  margin: 12px 0 0;
  color: var(--hl-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Ready: the pipeline ---------- */
.hl-ready {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 11vw, 160px);
  background:
    radial-gradient(ellipse 50% 70% at 50% 50%, rgba(0, 168, 187, 0.25), transparent 70%),
    var(--hl-deep);
}

.hl-pipes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hl-pipe {
  fill: none;
  stroke: rgba(47, 211, 224, 0.14);
  stroke-width: 14;
  stroke-linecap: round;
}

.hl-pipe-flow {
  fill: none;
  stroke: url(#hl-pipe-grad);
  stroke-width: 2;
  stroke-dasharray: 160 340;
  animation: hl-pipe 6s linear infinite;
  animation-delay: calc(var(--i) * -1.7s);
}

@keyframes hl-pipe {
  to {
    stroke-dashoffset: -1000;
  }
}

.hl-lead-dot {
  fill: #fff;
  filter: drop-shadow(0 0 6px var(--hl-aqua));
}

.hl-ready-card {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(36px, 4.5vw, 60px);
  text-align: center;
  border-radius: calc(var(--hl-radius) + 8px);
  background: rgba(4, 28, 41, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(47, 211, 224, 0.25), 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.hl-page .hl-ready-card .hl-lead {
  margin-bottom: 32px;
}

/* ---------- FAQ ---------- */
/* style.css paints #faq by id, so the page selector carries the id too. */
.hl-page #faq.hl-faq {
  padding-block: var(--hl-sec-y);
  background-image: none;
  background-color: #fff;
}

.hl-page .hl-faq .faq-title {
  font-family: var(--hl-display);
  font-weight: 600;
  color: var(--hl-navy);
}

.hl-page .hl-faq .faq-card {
  background: linear-gradient(160deg, var(--hl-navy), #0a4a5e);
}

.hl-page .hl-faq .faq-list details.is-open,
.hl-page .hl-faq .faq-list details[open] {
  border-color: var(--hl-teal);
}

.hl-page .hl-faq .faq-list details.is-open > summary,
.hl-page .hl-faq .faq-list details[open] > summary,
.hl-page .hl-faq .faq-list details.is-open summary::after {
  color: var(--hl-teal);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  /* 2 + 2 + 2 + 1: the seventh card centres. */
  .hl-symptom,
  .hl-symptom:nth-child(n) {
    grid-column: span 4;
  }

  .hl-symptom:nth-child(7) {
    grid-column: 3 / span 4;
  }
}

@media (max-width: 991px) {
  .hl-hero-inner,
  .hl-hub,
  .hl-budget-card,
  .hl-conv-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hl-hero-copy {
    text-align: center;
  }

  .hl-page .hl-hero-text {
    margin-inline: auto;
  }

  .hl-hero-stage {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .hl-wheel {
    max-width: 480px;
  }

  .hl-conv-pin {
    position: relative;
    top: 0;
  }

  .hl-funnel {
    width: min(70%, 260px);
  }

  .hl-budget-copy {
    text-align: center;
  }

  .hl-page .hl-budget-copy .hl-lead {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .hl-symptom,
  .hl-symptom:nth-child(n) {
    grid-column: 1 / -1;
  }

  .hl-choose-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hl-node-label {
    font-size: 11px;
    padding: 2px 8px;
  }

  .hl-node-ic {
    width: 50px;
  }

  .hl-diag-close {
    flex-direction: column;
    text-align: center;
    border-radius: var(--hl-radius);
  }

  .hl-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .hl-step-n {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .hl-conv-steps::before {
    left: 21px;
  }

  .hl-step > div {
    padding: 18px 18px;
  }

  .hl-bar span {
    font-size: 10px;
  }

  .hl-orbit {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hl-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 767px) {
  .hl-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hl-page *,
  .hl-page *::before,
  .hl-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }

  .hl-lead-dot,
  .hl-drops,
  .hl-scan {
    display: none;
  }

  .hl-ticker-track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .hl-ticker ul + ul {
    display: none;
  }
}
