/*
 * Healthcare SEO Services.
 *
 * Vital signs. The page is built on one image: a heartbeat trace. It draws
 * across the hero and, after its last beat, climbs into a ranking line; it
 * ticks under each trust readout on a bedside-monitor band; it fires along
 * the top of a strategy tile on hover; and it threads the six process steps,
 * drawn by the visitor's scroll. Sterile pale blue ground, navy ink, the
 * clinic blue of the owner's artwork for actions, and one coral pulse colour
 * reserved for the heartbeat itself.
 *
 * Everything is scoped under .hc-page. landing.css still loads (the button
 * set and the shared FAQ accordion), so a few rules exist to unpick a shared
 * default — each says so.
 *
 * Motion contract (HVAC / carpet): [data-reveal] gets .is-in from
 * healthcare-seo.js and each child staggers off its own --i; the reveal is an
 * animation with backwards fill AND the .is-in rule sets opacity: 1 itself.
 * Children marked aria-hidden are skipped so their own animations survive,
 * and anything with its own float animation is wrapped (.hc-float-wrap)
 * because the reveal's `animation` would replace it. Hiding is gated on
 * .hc-js. Everything collapses to "visible, still" under
 * prefers-reduced-motion at the foot of this file.
 *
 * Order: tokens, type, buttons, motion, hero, trust, why, provider + strip,
 * services (cards), strategies (monitor) + console, cases (files), cost
 * (meter + chart), compliance, process (heartbeat), choose, ready, FAQ,
 * responsive, reduced motion.
 */
.hc-page {
  --hc-ink: #0b2545;
  --hc-ink-2: #13315c;
  --hc-blue: #1d6ef5;
  --hc-blue-2: #1457d4;
  --hc-blue-soft: #e8f0fe;
  --hc-pulse: #ff5470;
  --hc-sky: #f2f7fd;
  --hc-muted: #52627a;
  --hc-line: rgba(11, 37, 69, 0.1);
  --hc-line-light: rgba(255, 255, 255, 0.12);

  --hc-num: "Poppins", var(--heading-font);
  --hc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hc-sec-y: clamp(64px, 8vw, 120px);
  --hc-top: clamp(96px, 9vw, 124px); /* the theme's header-clearing offset */
  --hc-radius: 28px;
  --hc-shadow: 0 30px 60px -30px rgba(11, 37, 69, 0.28);

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

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

.hc-tint {
  background: var(--hc-sky);
}

.hc-sec > .container {
  position: relative;
  z-index: 1;
}

/* ---------- Type ---------- */
.hc-page .hc-h2 {
  font-family: var(--heading-font);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0;
  text-wrap: balance;
}

.hc-page .hc-h3 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}

.hc-page .hc-center {
  text-align: center;
}

.hc-page .hc-light {
  color: #fff;
}

.hc-page .hc-lead {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--hc-muted);
  font-size: 16px;
  line-height: 1.8;
}

.hc-page .hc-lead-center {
  margin-inline: auto;
  text-align: center;
  max-width: 68ch;
}

.hc-page .hc-lead-light {
  color: rgba(255, 255, 255, 0.74);
}

.hc-head-center {
  margin-bottom: clamp(36px, 4.6vw, 64px);
}

.hc-head-center .hc-h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.hc-actions {
  margin-top: 32px;
}

.hc-actions-center {
  display: flex;
  justify-content: center;
}

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

.hc-split-top {
  align-items: start;
}

/* Body copy is justified page-wide (the owner's rule on carpet / dental /
   SEO Reseller). Left out: centred leads, headings, stat labels, tags and
   one-line list items that justify would only stretch. */
.hc-page .hc-lead:not(.hc-lead-center),
.hc-page .hc-hero-text,
.hc-page .hc-strip p,
.hc-page .hc-svc-row p,
.hc-page .hc-tile p,
.hc-page .hc-console p,
.hc-page .hc-file-body p,
.hc-page .hc-reason p,
.hc-page .hc-faq .faq-ans p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hc-page .hc-reasons-left .hc-reason p {
  text-align-last: right;
}

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

.hc-page .btn-strategy.hc-btn .btn-text {
  color: #fff;
  transition: color 0.42s var(--hc-ease);
}

.hc-page .btn-strategy.hc-btn:hover {
  background-color: var(--hc-ink);
  border-color: var(--hc-ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(29, 110, 245, 0.3);
}

.hc-page .btn-strategy.hc-btn .icon-circle,
.hc-page .btn-strategy.hc-btn:hover .icon-circle {
  background: #fff;
  transition:
    right 0.42s var(--hc-ease),
    background-color 0.42s var(--hc-ease);
}

.hc-page .btn-strategy.hc-btn .icon-circle svg path {
  fill: var(--hc-blue);
}

.hc-page .btn-strategy.hc-btn:hover .icon-circle svg path {
  fill: var(--hc-ink);
}

/* White pill for the blue strip and the dark monitor. */
.hc-page .btn-strategy.hc-btn-light {
  background-color: #fff;
  border-color: #fff;
}

.hc-page .btn-strategy.hc-btn-light .btn-text {
  color: var(--hc-ink);
}

.hc-page .btn-strategy.hc-btn-light .icon-circle {
  background: var(--hc-blue);
}

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

.hc-page .btn-strategy.hc-btn-light:hover {
  background-color: var(--hc-pulse);
  border-color: var(--hc-pulse);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.hc-page .btn-strategy.hc-btn-light:hover .btn-text {
  color: #fff;
}

.hc-page .btn-strategy.hc-btn-light:hover .icon-circle {
  background: #fff;
}

.hc-page .btn-strategy.hc-btn-light:hover .icon-circle svg path {
  fill: var(--hc-pulse);
}

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

.hc-page [data-reveal].is-in > :not([aria-hidden="true"]),
.hc-page [data-reveal].is-in > ul > li,
.hc-page [data-reveal].is-in > ol > li {
  opacity: 1;
  animation: hc-reveal 0.85s var(--hc-ease) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}

@keyframes hc-reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}

.hc-page.hc-js .hc-rise {
  opacity: 0;
  transform: translateY(30px);
  animation: hc-rise 0.9s var(--hc-ease) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 120ms);
}

@keyframes hc-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.hc-page .hc-float {
  animation: hc-float 7s ease-in-out infinite;
}

@keyframes hc-float {
  50% {
    transform: translateY(-14px);
  }
}

/* A soft clinical-blue bloom behind floating artwork. */
.hc-glow {
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29, 110, 245, 0.22), transparent);
  filter: blur(30px);
  pointer-events: none;
  animation: hc-breathe 6s ease-in-out infinite;
}

@keyframes hc-breathe {
  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}

/* ---------- Hero ---------- */
/* A custom ground, not hero-bg.png (owner, 2026-10-12): pale clinical
   gradient, ECG graph paper fading in behind the art, two slow glows and
   a few drifting crosses. Copy left, the phone art right on its disc. */
.hc-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--hc-top) clamp(110px, 10vw, 150px);
  background:
    radial-gradient(60% 70% at 80% 45%, #e4eeff 0%, rgba(228, 238, 255, 0) 70%),
    linear-gradient(180deg, #fff 0%, #f4f8fe 100%);
}

.hc-hero-paper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(29, 110, 245, 0.07) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(29, 110, 245, 0.07) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(rgba(255, 84, 112, 0.045) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(255, 84, 112, 0.045) 1px, transparent 1px) 0 0 / 16px 16px;
  mask-image: radial-gradient(55% 75% at 76% 48%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 75%);
  -webkit-mask-image: radial-gradient(55% 75% at 76% 48%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 75%);
}

.hc-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  animation: hc-drift 16s ease-in-out infinite alternate;
}

.hc-hero-orb-a {
  top: -14%;
  right: 4%;
  width: 560px;
  height: 560px;
  background: rgba(29, 110, 245, 0.2);
}

.hc-hero-orb-b {
  bottom: 4%;
  left: 30%;
  width: 380px;
  height: 380px;
  background: rgba(255, 84, 112, 0.12);
  animation-duration: 20s;
  animation-direction: alternate-reverse;
}

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

/* Medical crosses, drawn with two bars each, drifting up and turning. */
.hc-crosses i {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  background:
    linear-gradient(currentColor, currentColor) center / 6px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 6px no-repeat;
  color: rgba(29, 110, 245, 0.28);
  animation: hc-cross 9s ease-in-out infinite;
  animation-delay: calc(var(--c) * -1.5s);
}

.hc-crosses i:nth-child(1) { top: 18%; left: 46%; }
.hc-crosses i:nth-child(2) { top: 70%; left: 52%; width: 12px; height: 12px; color: rgba(255, 84, 112, 0.35); }
.hc-crosses i:nth-child(3) { top: 14%; right: 6%; width: 24px; height: 24px; }
.hc-crosses i:nth-child(4) { top: 58%; right: 3%; width: 14px; height: 14px; color: rgba(255, 84, 112, 0.3); }
.hc-crosses i:nth-child(5) { top: 30%; left: 4%; width: 12px; height: 12px; }
.hc-crosses i:nth-child(6) { bottom: 26%; left: 40%; width: 16px; height: 16px; }

@keyframes hc-cross {
  50% {
    transform: translateY(-18px) rotate(45deg);
  }
}

/* The signature: drawn once on load, then a bright pulse keeps travelling
   along it. */
.hc-ecg {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 4%;
  width: 100%;
  height: clamp(180px, 21vw, 300px);
  pointer-events: none;
  overflow: visible;
}

.hc-ecg path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hc-ecg-line {
  stroke: url(#hc-ecg-grad);
  stroke-width: 2.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: hc-draw 2.8s cubic-bezier(0.45, 0, 0.2, 1) 0.35s forwards;
}

@keyframes hc-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* A short, brighter stretch riding the line — coral, no glow: a white
   segment with a drop-shadow read as a smear on the spikes (owner's
   screenshot, 2026-10-12). */
.hc-ecg-run {
  stroke: #e8173f;
  stroke-width: 3.5;
  stroke-dasharray: 0.025 0.975;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: hc-run 4.5s linear 3.2s infinite;
}

@keyframes hc-run {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  6%,
  90% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

/* The dot that ends the climb: (1400, 30) in the trace's 1440 x 300 box. */
.hc-ecg-dot {
  position: absolute;
  z-index: 2;
  left: calc(1400 / 1440 * 100%);
  bottom: calc(4% + clamp(180px, 21vw, 300px) * 0.9);
  width: 14px;
  height: 14px;
  margin: 0 0 -7px -7px;
  border-radius: 50%;
  background: var(--hc-blue);
  box-shadow: 0 0 0 4px #fff;
  opacity: 0;
  animation: hc-pop 0.5s var(--hc-ease) 3s forwards;
}

.hc-ecg-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--hc-blue);
  animation: hc-ping 2s var(--hc-ease) 3.2s infinite;
}

@keyframes hc-pop {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

.hc-hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

.hc-hero-copy {
  max-width: 580px;
}

.hc-page .hc-hero-title {
  font-family: var(--heading-font);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--hc-ink);
  text-wrap: balance;
}

.hc-page .hc-hero-sub {
  margin: 22px 0 0;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--hc-blue);
}

.hc-page .hc-hero-text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--hc-muted);
}

/* The stage: a disc ringed by two dashed orbits (centred with the translate
   property, spun with transform — the AIO orbit lesson), each carrying
   chips that counter-spin to stay upright. */
/* Square, so the rings (as tall as they are wide) stay inside it — the 3:2
   stage let the outer ring rise ~115px above the hero and get cut at its
   top edge (owner, 2026-10-12). The 3:2 art sits centred, a touch wider
   than the stage because its canvas has transparent margins. */
.hc-hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: min(100%, 580px);
  aspect-ratio: 1;
}

.hc-hero-disc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #e2ecff 55%, #c9dcfd 100%);
  box-shadow:
    inset 0 0 0 1px rgba(29, 110, 245, 0.12),
    0 50px 90px -40px rgba(29, 110, 245, 0.5);
  animation: hc-pop 1.1s var(--hc-ease) 0.3s both;
}

.hc-orbit {
  --spin: 40s;
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(29, 110, 245, 0.32);
  pointer-events: none;
  animation: hc-spin var(--spin) linear infinite;
}

.hc-orbit-a {
  width: 84%;
}

.hc-orbit-b {
  --spin: 64s;
  width: 94%;
  animation-direction: reverse;
}

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

.hc-orbit-chip {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: #fff;
  color: var(--hc-blue);
  box-shadow: 0 12px 26px -8px rgba(11, 37, 69, 0.3);
  animation: hc-spin var(--spin) linear infinite reverse;
}

.hc-orbit-b .hc-orbit-chip {
  animation-direction: normal;
}

.hc-orbit-chip + .hc-orbit-chip {
  top: 100%;
}

.hc-orbit-chip .lp-icon {
  width: 22px;
  height: 22px;
}

.hc-orbit-heart::before {
  content: "";
  width: 22px;
  height: 22px;
  background: var(--hc-pulse);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 5.8-8 11-8 11Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 5.8-8 11-8 11Z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: hc-beat 1.2s ease-in-out infinite;
}

/* The phone and its cards, floating on the disc. Drifts toward the
   pointer via the translate property (the float owns transform). */
.hc-hero-art {
  position: relative;
  z-index: 1;
  width: 112%;
  translate: var(--tx, 0) var(--ty, 0);
  transition: translate 0.6s var(--hc-ease);
  filter: drop-shadow(0 30px 40px rgba(11, 37, 69, 0.18));
  animation: hc-rise-art 1.2s var(--hc-ease) 0.6s both;
}

.hc-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  animation: hc-float 7s ease-in-out 1.8s infinite;
}

@keyframes hc-rise-art {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
  }
}

/* ---------- Trust: the monitor band ---------- */
.hc-trust {
  position: relative;
  z-index: 4;
  margin-top: calc(-1 * clamp(40px, 4vw, 64px));
}

.hc-monitor {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: var(--hc-radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--hc-ink) 0%, var(--hc-ink-2) 100%);
  box-shadow: 0 30px 60px -24px rgba(11, 37, 69, 0.5);
  overflow: hidden;
}

.hc-vital {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.4vw, 36px) 20px;
}

.hc-vital + .hc-vital {
  border-left: 1px solid var(--hc-line-light);
}

.hc-vital-num {
  font-family: var(--hc-num);
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hc-vital-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.hc-vital-trace {
  width: 100%;
  max-width: 160px;
  height: 22px;
  margin-top: 8px;
}

.hc-vital-trace path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hc-vital-base {
  stroke: rgba(255, 84, 112, 0.22);
}

/* A bright blip sweeping the trace, like a monitor redrawing. */
.hc-vital-run {
  stroke: var(--hc-pulse);
  stroke-dasharray: 0.28 1;
  stroke-dashoffset: 0.28;
  filter: drop-shadow(0 0 3px var(--hc-pulse));
  animation: hc-trace var(--hr, 2.4s) linear infinite;
  animation-delay: calc(var(--i, 0) * -0.6s);
}

@keyframes hc-trace {
  to {
    stroke-dashoffset: -1;
  }
}

/* ---------- Why ---------- */
.hc-why-art,
.hc-choose-art {
  position: relative;
}

.hc-float-wrap {
  position: relative;
}

.hc-why-art img,
.hc-choose-art img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(11, 37, 69, 0.16));
}

.hc-page .hc-why-intro {
  margin: 26px 0 0;
  font-weight: 700;
  color: var(--hc-ink);
}

/* Seven benefits threaded on one trace; each dot fills as it arrives. */
.hc-checks {
  position: relative;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.hc-checks::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--hc-blue), var(--hc-pulse));
  opacity: 0.25;
}

.hc-checks li {
  position: relative;
  padding-left: 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--hc-ink);
}

.hc-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hc-blue);
  box-shadow: 0 0 0 4px var(--hc-blue-soft);
}

.hc-checks li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 8px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Provider + strip ---------- */
.hc-provider-art {
  position: relative;
  margin: 0;
}

.hc-provider-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
}

.hc-pulse-ring {
  position: absolute;
  z-index: 1;
  top: -18px;
  left: -18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.18);
}

/* A heart drawn with two rounded squares and a diamond. */
.hc-pulse-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background: var(--hc-pulse);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 5.8-8 11-8 11Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 5.8-8 11-8 11Z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: hc-beat 1.2s ease-in-out infinite;
}

.hc-pulse-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--hc-pulse);
  animation: hc-ping-sm 1.2s var(--hc-ease) infinite;
}

@keyframes hc-ping-sm {
  from {
    opacity: 0.8;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes hc-beat {
  0%,
  40%,
  100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.22);
  }
  28% {
    transform: scale(1.08);
  }
}

.hc-strip {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 48px;
  align-items: center;
  margin-top: clamp(56px, 7vw, 100px);
  padding: clamp(32px, 3vw, 42px) clamp(28px, 4.4vw, 60px);
  border-radius: var(--hc-radius);
  background: linear-gradient(120deg, var(--hc-blue) 0%, var(--hc-blue-2) 60%, var(--hc-ink-2) 100%);
  color: #fff;
}

.hc-strip-trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hc-strip-trace path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 2;
  stroke-dasharray: 260 900;
  animation: hc-strip 5s linear infinite;
}

/* The second strip (cost) beats slower than the first. */
.hc-cost .hc-strip-trace path {
  animation-duration: 6.6s;
}

@keyframes hc-strip {
  from {
    stroke-dashoffset: 1160;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.hc-strip-copy,
.hc-strip-action {
  position: relative;
}

.hc-page .hc-strip-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.hc-page .hc-strip p {
  margin: 10px 0 0;
  max-width: 76ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Services: monitor + list ---------- */
/* Third design (owner, 2026-10-12): the card grid echoed the strategy tiles.
   A sticky monitor beside a list; the row at mid-screen is live. */
.hc-svc-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

/* The sticky item is the grid item itself, align-self start (HVAC lesson). */
.hc-svc-side {
  position: sticky;
  top: var(--hc-top);
}

.hc-svc-monitor {
  margin-top: 36px;
  padding: 26px 26px 22px;
  border-radius: var(--hc-radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(150deg, var(--hc-ink-2), var(--hc-ink));
  box-shadow: 0 40px 70px -36px rgba(11, 37, 69, 0.6);
}

.hc-svc-screen {
  position: relative;
  height: 210px;
}

.hc-svc-shot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.5s var(--hc-ease), transform 0.5s var(--hc-ease);
}

.hc-svc-shot.is-on {
  opacity: 1;
  transform: none;
}

.hc-svc-big {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--hc-blue), var(--hc-blue-2));
  color: #fff;
  box-shadow: 0 16px 36px -10px rgba(29, 110, 245, 0.7);
}

.hc-svc-big::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(120, 170, 255, 0.8);
  animation: hc-ping-sm 2.2s var(--hc-ease) infinite;
}

.hc-svc-big .lp-icon {
  width: 44px;
  height: 44px;
}

.hc-svc-name {
  max-width: 22ch;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: #fff;
}

.hc-svc-ecg {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 8px;
}

/* The monitor redraws its trace, then lets it fade, over and over. */
.hc-svc-ecg path {
  fill: none;
  stroke: var(--hc-pulse);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  filter: drop-shadow(0 0 4px rgba(255, 84, 112, 0.6));
  animation: hc-redraw 3.4s linear infinite;
}

@keyframes hc-redraw {
  0% {
    stroke-dashoffset: 1;
    opacity: 1;
  }
  72% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.hc-svc-meter {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.hc-svc-meter i {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background-color 0.4s var(--hc-ease);
}

.hc-svc-meter i.is-on {
  background: var(--hc-pulse);
}

.hc-svc-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 28px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px var(--hc-line);
  transition:
    background-color 0.5s var(--hc-ease),
    box-shadow 0.5s var(--hc-ease),
    transform 0.5s var(--hc-ease);
}

/* The live row's spine: blue into coral, growing from the middle. */
.hc-svc-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--hc-blue), var(--hc-pulse));
  transform: scaleY(0);
  transition: transform 0.5s var(--hc-ease);
}

.hc-svc-row.is-on {
  background: #fff;
  transform: translateX(10px);
  box-shadow: 0 30px 60px -32px rgba(29, 110, 245, 0.45), 0 0 0 1px rgba(29, 110, 245, 0.3);
}

.hc-svc-row.is-on::before {
  transform: scaleY(1);
}

.hc-svc-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--hc-blue-soft);
  color: var(--hc-blue);
  transition: background-color 0.5s var(--hc-ease), color 0.5s var(--hc-ease), transform 0.5s var(--hc-ease);
}

.hc-svc-icon .lp-icon {
  width: 28px;
  height: 28px;
}

.hc-svc-row.is-on .hc-svc-icon {
  background: var(--hc-blue);
  color: #fff;
  transform: rotate(-8deg);
}

.hc-page .hc-svc-row .hc-h3 {
  font-size: 20px;
}

.hc-page .hc-svc-row p {
  margin: 8px 0 0;
  color: var(--hc-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

/* ---------- Strategies: the monitor ---------- */
.hc-strategies {
  overflow: hidden;
  background: linear-gradient(180deg, var(--hc-ink) 0%, #071a33 100%);
  color: #fff;
}

.hc-screen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}

/* The sweep: a band of light crossing the screen left to right. */
.hc-screen::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 220px;
  background: linear-gradient(90deg, transparent, rgba(29, 110, 245, 0.18) 80%, rgba(120, 170, 255, 0.5) 100%);
  animation: hc-sweep 9s linear infinite;
}

@keyframes hc-sweep {
  from {
    transform: translateX(-240px);
  }
  to {
    transform: translateX(100vw);
  }
}

.hc-tiles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-tile {
  --mx: 50%;
  --my: 0%;
  position: relative;
  grid-column: span 3;
  overflow: hidden;
  padding: 34px 28px 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(300px circle at var(--mx) var(--my), rgba(29, 110, 245, 0.22), transparent 60%),
    rgba(255, 255, 255, 0.035);
  transition: border-color 0.4s var(--hc-ease), transform 0.4s var(--hc-ease);
}

.hc-tile:nth-child(n + 5) {
  grid-column: span 4;
}

.hc-tile:hover {
  border-color: rgba(120, 170, 255, 0.45);
  transform: translateY(-6px);
}

.hc-tile-beat {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 20px;
}

.hc-tile-beat path {
  fill: none;
  stroke: var(--hc-pulse);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s var(--hc-ease);
}

.hc-tile:hover .hc-tile-beat path {
  stroke-dashoffset: 0;
}

.hc-tile-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(29, 110, 245, 0.55), rgba(29, 110, 245, 0.15));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: transform 0.5s var(--hc-ease);
}

.hc-tile:hover .hc-tile-icon {
  transform: rotate(-8deg) scale(1.06);
}

.hc-tile-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.hc-page .hc-tile .hc-h3 {
  color: #fff;
}

.hc-page .hc-tile p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

.hc-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 48px;
  align-items: center;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(32px, 3vw, 42px) clamp(28px, 4.4vw, 60px);
  border-radius: var(--hc-radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(255, 84, 112, 0.25), transparent 60%),
    linear-gradient(120deg, rgba(29, 110, 245, 0.35), rgba(29, 110, 245, 0.08));
}

.hc-page .hc-console-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.hc-page .hc-console p {
  margin: 10px 0 0;
  max-width: 76ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Cases: stacked patient files ---------- */
.hc-files {
  display: grid;
  gap: 32px;
}

/* Each file sticks a little lower than the last, so the stack shows the
   edge of every file beneath. Sticky works here because nothing above has
   overflow other than clip. */
.hc-file {
  position: sticky;
  top: calc(var(--hc-top) + var(--n, 0) * 22px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3.4vw, 52px);
  align-items: center;
  padding: clamp(18px, 2vw, 26px);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 -10px 40px -20px rgba(11, 37, 69, 0.25), 0 0 0 1px var(--hc-line);
}

.hc-file-art {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
}

.hc-file-art img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--hc-ease);
}

.hc-file:hover .hc-file-art img {
  transform: scale(1.04);
}

.hc-file-body {
  padding-right: clamp(4px, 2vw, 28px);
}

.hc-page .hc-file-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hc-file-ps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}

.hc-page .hc-file-body h4 {
  margin: 0 0 6px;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--hc-blue);
}

.hc-page .hc-file-body p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 15px;
  line-height: 1.7;
}

.hc-file-result {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--hc-sky);
}

.hc-file-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed rgba(11, 37, 69, 0.16);
  list-style: none;
}

.hc-file-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hc-file-num {
  font-family: var(--hc-num);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--hc-ink);
  font-variant-numeric: tabular-nums;
}

.hc-file-label {
  font-size: 13px;
  color: var(--hc-muted);
}

/* A file taller than the space under the header would hide its results
   beneath the next one, so short screens let the files simply follow. */
@media (max-height: 859px) {
  .hc-file {
    position: relative;
    top: auto;
  }
}

/* ---------- Cost ---------- */
/* The copy and meter ride beside the taller factors card (a sticky grid
   item, align-self start — the HVAC lesson). */
.hc-cost-copy {
  position: sticky;
  top: var(--hc-top);
}

.hc-meter {
  margin-top: 40px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--hc-line);
}

.hc-meter-ends {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--hc-muted);
}

.hc-meter-ends > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hc-meter-ends > span:last-child {
  text-align: right;
}

.hc-meter-num {
  font-family: var(--hc-num);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--hc-ink);
  font-variant-numeric: tabular-nums;
}

.hc-meter-track {
  position: relative;
  height: 14px;
  margin-top: 20px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #dfe8f5 0 2px, transparent 2px 10%) , #edf2f9;
}

/* Fills on reveal; its right end fades to say "and more". */
.hc-meter-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hc-blue), var(--hc-pulse));
  mask-image: linear-gradient(90deg, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
  transition: width 1.8s var(--hc-ease) 0.5s;
}

.hc-page:not(.hc-js) .hc-meter-fill,
.hc-cost-copy.is-in .hc-meter-fill {
  width: 100%;
}

.hc-page .hc-meter-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--hc-muted);
}

/* The factors on ECG graph paper. */
.hc-chart {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--hc-radius);
  background:
    linear-gradient(rgba(255, 84, 112, 0.07) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255, 84, 112, 0.07) 1px, transparent 1px) 0 0 / 20px 20px,
    #fff;
  box-shadow: var(--hc-shadow), 0 0 0 1px var(--hc-line);
}

.hc-chart-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hc-chart-list li {
  position: relative;
  padding: 10px 12px 10px 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px var(--hc-line);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.hc-chart-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--hc-blue-soft);
}

.hc-chart-list li::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 6px;
  height: 9px;
  margin-top: -6px;
  border: solid var(--hc-blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Compliance ---------- */
.hc-page .hc-comp-title {
  margin-bottom: 36px;
}

.hc-comp-title > span {
  display: inline-block;
}

.hc-vault {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}

.hc-tags {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each tag as wide as its text (grid items would otherwise stretch). */
.hc-tags {
  justify-items: start;
}

.hc-tags-left {
  justify-items: end;
}

.hc-tags li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px -16px rgba(11, 37, 69, 0.3), 0 0 0 1px var(--hc-line);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  transition: transform 0.35s var(--hc-ease), box-shadow 0.35s var(--hc-ease);
}

.hc-tags li:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -16px rgba(29, 110, 245, 0.45), 0 0 0 1px rgba(29, 110, 245, 0.35);
}

.hc-tags-left li {
  flex-direction: row-reverse;
  padding: 14px 14px 14px 20px;
  text-align: right;
}

.hc-tags li::before {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat,
    linear-gradient(140deg, var(--hc-blue), var(--hc-blue-2));
}

.hc-vault-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.hc-vault-art img {
  position: relative;
  width: 82%;
  height: auto;
}

.hc-rings,
.hc-rings i {
  position: absolute;
  inset: 0;
}

.hc-rings i {
  border-radius: 50%;
  border: 1.5px solid rgba(29, 110, 245, 0.35);
  background: radial-gradient(closest-side, rgba(29, 110, 245, 0.06), transparent);
  animation: hc-ring 4.5s var(--hc-ease) infinite;
}

.hc-rings i:nth-child(2) {
  animation-delay: 1.5s;
}

.hc-rings i:nth-child(3) {
  animation-delay: 3s;
}

@keyframes hc-ring {
  from {
    opacity: 0;
    transform: scale(0.45);
  }
  25% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale(1.15);
  }
}

/* ---------- Process: the heartbeat ---------- */
.hc-chartline {
  --hc-draw: 0;
  position: relative;
}

.hc-chartline-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: visible;
}

.hc-chartline-svg path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hc-chartline-base {
  stroke: #cfdcef;
  stroke-width: 2;
  stroke-dasharray: 4 6;
}

/* Revealed left to right by a clip, not a dash: with random beats the
   path's length no longer tracks x, and the lit nodes follow x. */
.hc-chartline-trace {
  stroke: var(--hc-pulse);
  stroke-width: 2.5;
  clip-path: inset(-20px calc((1 - var(--hc-draw)) * 100%) -20px 0);
  filter: drop-shadow(0 2px 6px rgba(255, 84, 112, 0.45));
}

.hc-chartline-vsvg {
  display: none;
}

.hc-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-step {
  position: relative;
  text-align: center;
}

/* Node centred on the trace's baseline (y 46 of 80). */
.hc-step-node {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 22px auto 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cfdcef;
  font-family: var(--hc-num);
  font-weight: 700;
  font-size: 17px;
  color: var(--hc-muted);
  transition:
    background-color 0.5s var(--hc-ease),
    border-color 0.5s var(--hc-ease),
    color 0.5s var(--hc-ease),
    transform 0.5s var(--hc-ease),
    box-shadow 0.5s var(--hc-ease);
}

.hc-step.is-lit .hc-step-node {
  background: var(--hc-blue);
  border-color: var(--hc-blue);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 0 7px rgba(29, 110, 245, 0.15);
}

.hc-page .hc-step .hc-h3 {
  font-size: 18px;
}

.hc-page .hc-step p {
  margin: 10px 0 0;
  color: var(--hc-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Choose ---------- */
.hc-choose {
  overflow: hidden;
}

.hc-choose-grid {
  --hc-cg: clamp(28px, 3.2vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--hc-cg);
  align-items: center;
}

/* The stage: a blue disc on ECG graph paper, a turning dashed orbit with a
   beating heart, the laptop floating over it. */
.hc-choose-art {
  grid-column: 2;
  grid-row: 1;
  padding-block: 12%;
}

.hc-choose-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    linear-gradient(rgba(29, 110, 245, 0.08) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(29, 110, 245, 0.08) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(circle at 40% 35%, #fff 0%, #e6efff 50%, #cfe0fd 100%);
  box-shadow:
    inset 0 0 0 1px rgba(29, 110, 245, 0.14),
    0 50px 90px -50px rgba(29, 110, 245, 0.55);
}

.hc-orbit-c {
  --spin: 50s;
  left: 50%;
  width: 112%;
}

.hc-choose-art .hc-float-wrap {
  z-index: 1;
}

.hc-reasons {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-row: 1;
}

.hc-reasons-left {
  grid-column: 1;
}

.hc-reasons-right {
  grid-column: 3;
}

/* Each reason a card. */
.hc-reason {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 40px -26px rgba(11, 37, 69, 0.35), 0 0 0 1px var(--hc-line);
  transition: transform 0.45s var(--hc-ease), box-shadow 0.45s var(--hc-ease);
}

.hc-reason:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -24px rgba(29, 110, 245, 0.45), 0 0 0 1px rgba(29, 110, 245, 0.35);
}

/* Wires from every card to the orbit, drawn by healthcare-seo.js (owner,
   2026-10-12: connect all cards, not only the middle pair). */
.hc-choose-grid {
  position: relative;
}

.hc-wires {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hc-wire {
  fill: none;
  stroke: rgba(29, 110, 245, 0.42);
  stroke-width: 1.6;
  stroke-dasharray: 5 6;
  animation: hc-flow 1.6s linear infinite;
  transition: stroke 0.4s var(--hc-ease);
}

@keyframes hc-flow {
  to {
    stroke-dashoffset: -11;
  }
}

.hc-wire-dot {
  fill: var(--hc-blue);
  stroke: #fff;
  stroke-width: 3;
  transition: fill 0.4s var(--hc-ease);
}

.hc-wire-end {
  fill: var(--hc-blue);
  transition: fill 0.4s var(--hc-ease);
}

.hc-wire.is-hot {
  stroke: var(--hc-pulse);
}

.hc-wire-dot.is-hot,
.hc-wire-end.is-hot {
  fill: var(--hc-pulse);
}

.hc-reasons-left .hc-reason {
  flex-direction: row-reverse;
  text-align: right;
}

.hc-reason-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--hc-blue-soft);
  transition: transform 0.45s var(--hc-ease);
}

.hc-reason:hover .hc-reason-icon {
  transform: rotate(-8deg) scale(1.08);
}

.hc-reason-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.hc-page .hc-reason .hc-h3 {
  font-size: 18px;
}

.hc-page .hc-reason p {
  margin: 8px 0 0;
  color: var(--hc-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Ready ---------- */
.hc-ready {
  padding-top: 0;
}

/* The banner covers the band (its subjects sit at the edges, so the crop
   keeps them); one frosted card carries the copy and button, stacked and
   centred. Full container width; round two only asked for more height
   than the round-one strip, not a narrower band. */
.hc-ready-plate {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 22vw, 330px);
  padding: 36px clamp(20px, 4vw, 48px);
  border-radius: 32px;
}

.hc-ready-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.hc-ready-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(100%, 760px);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 3.4vw, 48px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 50px -24px rgba(11, 37, 69, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.9);
  text-align: center;
}

.hc-page .hc-ready-text {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--hc-ink);
  text-wrap: balance;
}

/* ---------- FAQ ---------- */
.hc-faq.section {
  padding-block: var(--hc-sec-y);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hc-tile,
  .hc-tile:nth-child(n + 5) {
    grid-column: span 6;
  }

  .hc-tile:last-child {
    grid-column: 1 / -1;
  }

  /* Process stacks; the trace becomes a line down the nodes. */
  .hc-chartline-svg {
    display: none;
  }

  .hc-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    max-width: 760px;
    margin-inline: auto;
  }

  /* The dashed rail behind, the vertical trace over it, revealed top
     down by a clip as the visitor scrolls. */
  .hc-steps::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 24px;
    bottom: 24px;
    border-left: 2px dashed #cfdcef;
  }

  .hc-chartline-vsvg {
    display: block;
    position: absolute;
    z-index: 0; /* under the node circles (steps sit at z-index 1) */
    left: 0;
    width: 48px;
    overflow: visible;
    pointer-events: none;
  }

  .hc-chartline-vtrace {
    fill: none;
    stroke: var(--hc-pulse);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* The path lives in the <g>'s swapped space, where its length runs
       along x — so cutting its right edge hides the bottom on screen. */
    clip-path: inset(-20px calc((1 - var(--hc-draw)) * 100%) -20px 0);
  }

  .hc-step {
    z-index: 1;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 4px 22px;
    text-align: left;
  }

  .hc-step-node {
    grid-row: span 2;
    margin: 0;
  }

  .hc-page .hc-step p {
    margin: 0;
    text-align: justify;
    hyphens: auto;
  }

  .hc-steps {
    position: relative;
  }

  .hc-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .hc-wires {
    display: none;
  }

  .hc-choose-art {
    grid-column: 1 / -1;
    max-width: 580px;
    margin-inline: auto;
  }

  .hc-reasons,
  .hc-reasons-left,
  .hc-reasons-right {
    grid-row: 2;
  }

  .hc-reasons-left {
    grid-column: 1;
  }

  .hc-reasons-right {
    grid-column: 2;
  }

  .hc-reasons-left .hc-reason {
    flex-direction: row;
    text-align: left;
  }

  .hc-page .hc-reasons-left .hc-reason p {
    text-align-last: auto;
  }
}

@media (max-width: 991px) {
  /* Hero: copy, then the stage. */
  .hc-hero {
    padding-bottom: 90px;
  }

  .hc-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-hero-copy {
    max-width: 640px;
  }

  .hc-hero-stage {
    justify-self: center;
    width: min(100%, 520px);
    margin-top: 32px;
  }

  .hc-ecg {
    bottom: 18%;
    opacity: 0.6;
  }

  .hc-ecg-dot {
    display: none;
  }

  .hc-trust {
    margin-top: -48px;
  }

  .hc-monitor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-vital:nth-child(3) {
    border-left: 0;
  }

  .hc-vital:nth-child(n + 3) {
    border-top: 1px solid var(--hc-line-light);
  }

  .hc-split,
  .hc-svc-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-svc-side {
    position: static;
  }

  .hc-svc-monitor {
    display: none;
  }

  .hc-svc-row.is-on {
    transform: none;
  }

  .hc-why-art {
    max-width: 640px;
    margin-inline: auto;
  }

  .hc-provider-art {
    order: -1;
  }

  .hc-strip,
  .hc-console {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-cost-copy {
    position: static;
  }

  /* Files stop stacking and simply follow each other. */
  .hc-file {
    position: relative;
    top: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-file-art {
    max-width: 520px;
  }

  .hc-file-body {
    padding: 0 8px 12px;
  }

  .hc-vault {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-vault-art {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .hc-tags-left {
    justify-items: start;
  }

  .hc-tags-left li {
    flex-direction: row;
    padding: 14px 20px 14px 14px;
    text-align: left;
  }

  .hc-tags li {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hc-file-ps,
  .hc-chart-list,
  .hc-vault,
  .hc-choose-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-tile,
  .hc-tile:nth-child(n + 5) {
    grid-column: 1 / -1;
  }

  .hc-reasons-left,
  .hc-reasons-right {
    grid-column: 1;
  }

  .hc-reasons-right {
    grid-row: 3;
  }

  .hc-strip .btn-strategy,
  .hc-console .btn-strategy,
  .hc-ready .btn-strategy {
    white-space: normal;
  }

  .hc-ready-bar {
    padding: 24px 20px;
  }
}

@media (max-width: 575px) {
  .hc-monitor {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-vital + .hc-vital,
  .hc-vital:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--hc-line-light);
  }

  .hc-pulse-ring {
    top: -14px;
    left: 12px;
    width: 52px;
    height: 52px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hc-page [data-reveal] > *,
  .hc-page [data-reveal] > ul > li,
  .hc-page [data-reveal] > ol > li,
  .hc-page .hc-rise,
  .hc-page .hc-hero-art,
  .hc-page .hc-hero-disc {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .hc-page .hc-ecg-line {
    stroke-dashoffset: 0;
  }

  .hc-page .hc-ecg-dot {
    opacity: 1;
  }

  .hc-ecg-run,
  .hc-screen::after,
  .hc-crosses {
    display: none;
  }

  .hc-page .hc-meter-fill {
    width: 100%;
  }

  .hc-page *,
  .hc-page *::before,
  .hc-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
