/* ==========================================================================
   Three Index — Healthcare section (/healthcare and /healthcare/*)
   Loaded only on healthcare pages, after main.css. Builds on the obsidian
   theme tokens; every class is prefixed `hc-`. Motion is progressive: the
   `hc-js` class on <html> enables reveal states, and reduced-motion users
   get the static layout.
   ========================================================================== */

body.hc-page {
  --hc-teal: #2dd4bf;
  --hc-teal-soft: rgba(45, 212, 191, 0.12);
  --hc-em: #34d399;
  --hc-em-soft: rgba(52, 211, 153, 0.12);
  --hc-blue: #60a5fa;
  --hc-blue-soft: rgba(96, 165, 250, 0.12);
  --hc-violet: #a78bfa;
  --hc-violet-soft: rgba(167, 139, 250, 0.14);
  --hc-rose: #fb7185;
  --hc-amber: #fbbf24;
  --hc-line: rgba(255, 255, 255, 0.08);
  --hc-line-2: rgba(255, 255, 255, 0.14);
  --hc-glass: rgba(12, 19, 34, 0.74);
  --hc-card: linear-gradient(180deg, #121b30 0%, #0c1424 100%);
  --hc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hc-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --acc: var(--hc-teal);
}

body.hc-page main {
  overflow-x: clip;
}

.hc-acc--teal { --acc: #2dd4bf; }
.hc-acc--emerald { --acc: #34d399; }
.hc-acc--blue { --acc: #60a5fa; }
.hc-acc--cyan { --acc: #22d3ee; }
.hc-acc--violet { --acc: #a78bfa; }
.hc-acc--sky { --acc: #38bdf8; }

/* --- Primitives -------------------------------------------------------- */

.hc-ic {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}
.hc-ic--xs { width: 1rem; height: 1rem; }
.hc-ic--flip { transform: scaleX(-1); }

.hc-em {
  font-style: normal;
  background: linear-gradient(100deg, #5eead4 0%, #34d399 45%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hc-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  font: 600 0.76rem / 1.3 var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5eead4 !important;
}
.hc-kicker::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, #5eead4, transparent);
}
.hc-kicker .hc-ic { color: #5eead4; }

.hc-h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.hc-h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.hc-lede {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  font-size: var(--fs-lede);
  line-height: 1.65;
}

.hc-head {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hc-head--center {
  margin-inline: auto;
  text-align: center;
}
.hc-head--center .hc-kicker { justify-content: center; }
.hc-head--center .hc-kicker::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(270deg, #5eead4, transparent);
}
.hc-head--center .hc-lede { margin-inline: auto; }

.hc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: #5eead4;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: gap 0.3s var(--hc-ease), color 0.2s;
}
.hc-link:hover { gap: 0.75rem; color: #99f6e4; }

.hc-tag {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hc-tag--ok { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.hc-tag--warn { background: rgba(251, 191, 36, 0.14); color: #fcd34d; }
.hc-tag--bad { background: rgba(251, 113, 133, 0.14); color: #fda4af; }
.hc-tag--info { background: rgba(96, 165, 250, 0.14); color: #93c5fd; }
.hc-tag--muted { background: rgba(148, 163, 184, 0.14); color: #cbd5e1; }

.hc-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
}
.hc-tags li {
  margin: 0;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--hc-line-2);
  border-radius: 999px;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.hc-ticks {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.hc-ticks li {
  display: flex;
  gap: 0.65rem;
  margin: 0.6rem 0 0;
  color: #cbd5e1;
  line-height: 1.5;
}
.hc-ticks .hc-ic {
  margin-top: 0.2rem;
  color: var(--hc-em);
}

.hc-code,
.hc-num {
  font-family: var(--hc-mono);
}
.hc-num { color: #5eead4; margin-right: 0.4rem; }

.hc-btn-lg { padding: 1rem 1.75rem; font-size: 0.95rem; }

.hc-note {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--hc-line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
}
.hc-note .hc-ic { color: var(--hc-amber); margin-top: 0.15rem; }

/* --- Section rhythm ---------------------------------------------------- */

.hc-sec {
  position: relative;
  padding-block: clamp(3.25rem, 7vw, 6rem);
}

/* One continuous canvas: sections never paint their own background (that drew a
   hard seam at every boundary, and #services picked up the homepage glow).
   Ambient light comes from soft overlays that straddle the section edges and fade
   to nothing in every direction, so no line can form between sections. */
body.theme-obsidian.hc-page main > section:not(.hc-hero):not(.hc-define) {
  background: transparent !important;
}
.hc-sec--who::before,
.hc-sec--modules::before,
.hc-sec--uc::before,
.hc-sec--map::before,
.hc-sec--safe::before,
.hc-sec--io::before,
.hc-sec--guard::before,
.hc-sec--proc::before,
.hc-sec--index::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hc-sec--who::before,
.hc-sec--modules::before,
.hc-sec--uc::before,
.hc-sec--map::before {
  left: 50%;
  top: 0;
  width: min(72rem, 130vw);
  height: 44rem;
  translate: -50% -40%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.075), transparent);
}
.hc-sec--safe::before,
.hc-sec--io::before,
.hc-sec--index::before {
  right: -16rem;
  top: 50%;
  width: 52rem;
  height: 52rem;
  translate: 0 -50%;
  background: radial-gradient(closest-side, rgba(96, 165, 250, 0.07), transparent);
}
.hc-sec--index::before {
  right: auto;
  left: -20rem;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.06), transparent);
}
.hc-sec--guard::before {
  left: 50%;
  top: 30%;
  width: min(70rem, 130vw);
  height: 46rem;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(167, 139, 250, 0.1), transparent);
}
.hc-sec--proc::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 20%, transparent 75%);
}

/* Shared two-column compositions */
.hc-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.hc-split--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.hc-split--shield { align-items: center; }
.hc-split--index { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.4fr); }
.hc-split--ba { grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); align-items: center; }
.hc-split--sticky .hc-split__pin,
.hc-split--codes .hc-split__pin,
.hc-split--index > .hc-head {
  position: sticky;
  top: 7rem;
}
.hc-split .hc-head { margin-bottom: 0; }

/* --- Hero -------------------------------------------------------------- */

.hc-hero {
  --mx: 0;
  --my: 0;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(4.25rem + clamp(3rem, 7vh, 5rem)) 0 clamp(5rem, 10vh, 7rem);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(13, 148, 136, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(37, 99, 235, 0.14), transparent 70%),
    #060a13 !important;
}
.hc-hero--ai {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(124, 58, 237, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(13, 148, 136, 0.16), transparent 70%),
    #07071a !important;
}
.hc-hero--billing {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(16, 185, 129, 0.2), transparent 70%),
    radial-gradient(ellipse 45% 45% at 100% 30%, rgba(251, 113, 133, 0.08), transparent 70%),
    #060b10 !important;
}
.hc-hero--software,
.hc-hero--int {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(37, 99, 235, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(13, 148, 136, 0.14), transparent 70%),
    #050a16 !important;
}
.hc-hero--ehr {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(8, 145, 178, 0.24), transparent 70%),
    radial-gradient(ellipse 45% 50% at 100% 100%, rgba(16, 185, 129, 0.12), transparent 70%),
    #050c14 !important;
}

.hc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hc-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 18%, #000 60%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 18%, #000 60%, transparent 95%);
}
.hc-hero__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(70rem, 120vw);
  aspect-ratio: 2 / 1;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.12), transparent);
  animation: hc-breathe 9s ease-in-out infinite alternate;
}
.hc-hero__bg { container-type: size; }
.hc-hero__scene {
  position: absolute;
  inset: 0;
}
.hc-hero__floats {
  position: absolute;
  inset: 0;
}
/* Ring scenes are drawn whole (meet); their floats share that exact box, so a
   float at x/y % always sits beside the node it was placed next to. */
.hc-hero--hub .hc-hero__floats,
.hc-hero--int .hc-hero__floats {
  inset: auto;
  left: 50%;
  top: 50%;
  width: min(100cqw, 160cqh);
  height: min(100cqh, 62.5cqw);
  translate: -50% -50%;
}
/* The orbit / scene stays fixed; only the small floating cards react to the pointer. */
.hc-hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 44% 38% at 50% 50%, rgba(6, 10, 19, 0.9), rgba(6, 10, 19, 0.55) 55%, transparent 85%),
    linear-gradient(180deg, transparent 70%, var(--page, #070b14) 100%);
}

.hc-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hc-hero__inner > * {
  animation: hc-rise 0.9s var(--hc-ease) both;
}
.hc-hero__inner > :nth-child(2) { animation-delay: 0.08s; }
/* The headline is the LCP element: it paints immediately, never fades in. */
.hc-hero__inner > .hc-hero__title,
.hc-hero__inner > .hc-hero__lede { animation: none; }
.hc-hero__inner > :nth-child(3) { animation-delay: 0.16s; }
.hc-hero__inner > :nth-child(4) { animation-delay: 0.26s; }
.hc-hero__inner > :nth-child(5) { animation-delay: 0.36s; }
.hc-hero__inner > :nth-child(6) { animation-delay: 0.46s; }

.hc-hero .eyebrow { margin-bottom: 1.4rem; }

.hc-hero__title {
  max-width: 18ch;
  font-size: clamp(2.5rem, 6.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hc-hero__lede {
  max-width: 46rem;
  margin: 1.6rem auto 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}
.hc-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.hc-hero__proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.75rem;
  margin: 2rem 0 0;
  padding: 0;
  font-size: 0.86rem;
  color: #94a3b8;
}
.hc-hero__proof li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}
.hc-hero__proof .hc-ic { color: var(--hc-em); }

.hc-crumbs {
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
}
.hc-crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
.hc-crumbs li { margin: 0; color: #64748b; }
.hc-crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: #475569; }
.hc-crumbs a { color: #94a3b8; text-decoration: none; }
.hc-crumbs a:hover { color: #5eead4; }
.hc-crumbs [aria-current] { color: #cbd5e1; }

.hc-hero__cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  translate: -50% 0;
  width: 1.6rem;
  height: 2.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
.hc-hero__cue span {
  position: absolute;
  left: 50%;
  top: 0.45rem;
  width: 3px;
  height: 0.5rem;
  translate: -50% 0;
  border-radius: 2px;
  background: #5eead4;
  animation: hc-cue 2s ease-in-out infinite;
}

/* Floating glass elements */
.hc-float {
  position: absolute;
  left: min(var(--x), calc(100% - 17rem));
  top: var(--y);
  transform: translate3d(calc(var(--mx) * var(--depth) * 26px), calc(var(--my) * var(--depth) * 20px), 0);
  transition: transform 0.7s var(--hc-ease);
  animation: hc-fade 1s var(--hc-ease) both;
  animation-delay: calc(0.5s + var(--delay));
}
.hc-float > * {
  animation: hc-bob 7s ease-in-out infinite;
  animation-delay: calc(var(--delay) * -3);
}
.hc-float--tilt-l > * { rotate: -5deg; }
.hc-float--tilt-r > * { rotate: 4deg; }
/* Bobbing glass re-samples its backdrop every frame; hero floats use an opaque tint instead. */
.hc-float .hc-chip,
.hc-float .hc-codechip,
.hc-float .hc-ehrcard {
  background: rgba(11, 18, 33, 0.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Off-screen hero: stop every loop (healthcare.js toggles the class). */
.hc-hero.is-paused *,
.hc-hero.is-paused *::before,
.hc-hero.is-paused *::after {
  animation-play-state: paused !important;
}

.hc-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  background: var(--hc-glass);
  border: 1px solid var(--hc-line-2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.78rem;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
}
.hc-chip__ic {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--hc-teal-soft);
  color: #5eead4;
}
.hc-chip__ic .hc-ic { width: 1.05rem; height: 1.05rem; }
.hc-chip__txt b { display: block; color: #f8fafc; font-weight: 600; }
.hc-chip__txt small { color: #94a3b8; font-size: 0.72rem; }
.hc-chip--pulse { color: var(--hc-em); padding: 0.55rem 0.9rem; }
.hc-chip--pulse .hc-ic { color: var(--hc-rose); }

.hc-pulse { width: 8rem; height: auto; }
.hc-pulse path {
  stroke-dasharray: 0.35 0.65;
  animation: hc-trace 2.4s linear infinite;
}

.hc-codechip {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(5, 9, 18, 0.82);
  border: 1px solid rgba(94, 234, 212, 0.2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
}
.hc-codechip__k {
  display: block;
  margin-bottom: 0.35rem;
  font: 700 0.64rem / 1 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5eead4;
}
.hc-codechip pre {
  margin: 0;
  font: 0.7rem / 1.55 var(--hc-mono);
  color: #a5f3fc;
  white-space: pre;
}

.hc-doc {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 13rem;
  padding: 0.9rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.92));
  border: 1px solid var(--hc-line-2);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  font-size: 0.74rem;
  text-align: left;
}
.hc-doc__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.45rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}
.hc-doc__top b { font-family: var(--hc-mono); color: #f8fafc; letter-spacing: 0.04em; }
.hc-doc__row { display: flex; justify-content: space-between; gap: 0.75rem; }
.hc-doc__row i { font-style: normal; color: #94a3b8; }
.hc-doc__row b { font-family: var(--hc-mono); font-weight: 600; color: #e2e8f0; }
.hc-doc__bars { display: flex; gap: 0.3rem; margin-top: 0.3rem; }
.hc-doc__bars i { height: 5px; flex: 1; border-radius: 3px; background: rgba(148, 163, 184, 0.2); }
.hc-doc__bars i:first-child { flex: 2; background: rgba(52, 211, 153, 0.4); }

.hc-ehrcard {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 12.5rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--hc-glass);
  border: 1px solid var(--hc-line-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.78rem;
  text-align: left;
}
.hc-ehrcard__k {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #67e8f9;
}
.hc-ehrcard b { color: #f8fafc; }
.hc-ehrcard span { color: #cbd5e1; }
.hc-ehrcard--alert { border-color: rgba(251, 113, 133, 0.35); }
.hc-lines { display: block; }
.hc-lines i {
  display: block;
  height: 6px;
  margin-top: 0.4rem;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.22);
}
.hc-lines i:nth-child(2) { width: 82%; }
.hc-lines i:nth-child(3) { width: 64%; }
.hc-lines i:nth-child(4) { width: 74%; }

/* Hero SVG vocabulary */
.hc-scene { position: absolute; inset: 0; width: 100%; height: 100%; color: #5eead4; }
.hc-s-ring { fill: none; stroke: rgba(94, 234, 212, 0.16); stroke-width: 1; }
.hc-s-ring--faint { stroke: rgba(255, 255, 255, 0.06); }
.hc-s-ring--dash { stroke: rgba(94, 234, 212, 0.14); stroke-dasharray: 2 12; animation: hc-dash-slow 60s linear infinite; }
.hc-s-spoke { fill: none; stroke: rgba(45, 212, 191, 0.2); stroke-width: 1; stroke-dasharray: 3 7; animation: hc-dash 2.4s linear infinite; }
.hc-s-flow { fill: none; stroke: rgba(94, 234, 212, 0.22); stroke-width: 1.2; stroke-dasharray: 5 9; animation: hc-dash 1.8s linear infinite; animation-delay: calc(var(--i, 0) * -0.4s); }
.hc-s-dot { fill: var(--hc-em); }
.hc-s-dot--blue { fill: var(--hc-blue); }
.hc-s-node { animation: hc-fade 0.9s var(--hc-ease) both; animation-delay: calc(0.35s + var(--i) * 0.1s); }
.hc-s-disc { fill: #0c1527; stroke: rgba(94, 234, 212, 0.5); stroke-width: 1.2; }
.hc-s-halo { opacity: 0.35; transform-box: fill-box; transform-origin: center; animation: hc-halo 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -0.75s); }
.hc-s-ic { color: #5eead4; }
.hc-s-label { fill: #94a3b8; font: 600 13px var(--font-sans); letter-spacing: 0.02em; }
.hc-s-phase { fill: rgba(148, 163, 184, 0.45); font: 700 11px var(--font-sans); letter-spacing: 0.32em; }
.hc-s-ecg { fill: none; stroke: rgba(52, 211, 153, 0.55); stroke-width: 1.6; stroke-dasharray: 0.16 0.84; stroke-linecap: round; animation: hc-trace 5s linear infinite; }
.hc-s-ecg--top { stroke: rgba(103, 232, 249, 0.4); }
.hc-s-arc { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.hc-s-arc--front { stroke: rgba(45, 212, 191, 0.65); }
.hc-s-arc--mid { stroke: rgba(96, 165, 250, 0.65); }
.hc-s-arc--back { stroke: rgba(52, 211, 153, 0.65); }
.hc-s-node--front .hc-s-disc { stroke: rgba(45, 212, 191, 0.8); }
.hc-s-node--mid .hc-s-disc { stroke: rgba(96, 165, 250, 0.8); }
.hc-s-node--mid .hc-s-ic { color: #93c5fd; }
.hc-s-node--back .hc-s-disc { stroke: rgba(52, 211, 153, 0.8); }
.hc-s-node--back .hc-s-ic { color: #6ee7b7; }
.hc-s-ledger line { stroke: rgba(255, 255, 255, 0.035); }
.hc-s-scan { fill: rgba(52, 211, 153, 0.4); animation: hc-scan 7s linear infinite; }
.hc-s-blueprint line { stroke: rgba(96, 165, 250, 0.06); }
.hc-s-wire rect,
.hc-s-wire circle,
.hc-s-wire line { fill: none; stroke: rgba(147, 197, 253, 0.32); stroke-width: 1.2; }
.hc-s-wire .hc-s-wire--fill { fill: rgba(96, 165, 250, 0.07); }
.hc-s-wire .hc-s-wire--accent { fill: rgba(52, 211, 153, 0.35); stroke: none; }
.hc-s-spark { fill: none; stroke: var(--hc-em); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-s-dim path { fill: none; stroke: rgba(148, 163, 184, 0.3); }
.hc-s-dim text { fill: rgba(148, 163, 184, 0.55); font: 600 12px var(--hc-mono); }
.hc-s-tl__rail { fill: none; stroke: rgba(103, 232, 249, 0.22); stroke-width: 2; }
.hc-s-tl__ev circle { fill: #06101a; stroke: #22d3ee; stroke-width: 2; }
.hc-s-tl__ev text { fill: #94a3b8; font: 600 14px var(--font-sans); }
.hc-s-tl__ev { animation: hc-fade 0.8s both, hc-blink 6s ease-in-out infinite; animation-delay: calc(0.4s + var(--i) * 0.15s), calc(var(--i) * 1s); }
.hc-s-axis { stroke: rgba(255, 255, 255, 0.08); fill: none; }
.hc-s-mesh line { stroke: rgba(167, 139, 250, 0.16); animation: hc-twinkle 5s ease-in-out infinite; animation-delay: calc(var(--i) * -0.7s); }
.hc-s-neuron { fill: rgba(196, 181, 253, 0.55); }
.hc-s-neuron--hot { fill: #c4b5fd; animation: hc-blink 3s ease-in-out infinite; animation-delay: calc(var(--i) * -0.4s); }
.hc-s-wave rect { fill: rgba(167, 139, 250, 0.55); transform-box: fill-box; transform-origin: center; animation: hc-eq 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.09s); }
.hc-s-note rect { fill: rgba(52, 211, 153, 0.35); }
.hc-scene--ai .hc-s-flow { stroke: rgba(167, 139, 250, 0.3); }

/* RCM hero: revenue line with stations, travelling pulse and a leak */
.hc-hero--rcm .hc-hero__cue { display: none; }
/* The station line is the hero edge here, so skip the bottom fade that would dim it */
.hc-hero--rcm .hc-hero__vignette {
  background: radial-gradient(ellipse 44% 38% at 50% 46%, rgba(6, 10, 19, 0.9), rgba(6, 10, 19, 0.55) 55%, transparent 85%);
}
.hc-hero--rcm { padding-bottom: clamp(7.5rem, 14vh, 9rem); }
.hc-rcmline {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  translate: -50% 0;
  container-type: inline-size;
}
.hc-rcmline__track {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 0.45rem;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.5) 0 30%, rgba(96, 165, 250, 0.5) 30% 60%, rgba(52, 211, 153, 0.5) 60%);
}
.hc-rcmline__pulse {
  position: absolute;
  top: -1px;
  left: 0;
  width: 9rem;
  height: 4px;
  background: linear-gradient(90deg, transparent, #f8fafc, transparent);
  animation: hc-rcm-run 5.5s linear infinite;
}
.hc-rcmline__st {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}
.hc-rcmline__s {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  animation: hc-fade 0.8s both;
  animation-delay: calc(0.5s + var(--i) * 0.08s);
}
.hc-rcmline__s > i {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: #070b14;
  border: 2px solid #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
  animation: hc-rcm-ping 5.5s ease-out infinite;
  animation-delay: calc(var(--i) * 0.55s - 0.25s);
}
.hc-rcmline__s--mid > i { border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12); }
.hc-rcmline__s--back > i { border-color: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12); }
.hc-rcmline__s--leak > i { border-color: #fb7185; box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.16); }
.hc-rcmline__s span {
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  text-align: center;
}
.hc-rcmline__s--leak span { color: #fda4af; }
.hc-rcmline__drip {
  position: absolute;
  top: 0.95rem;
  left: 50%;
  width: 5px;
  height: 7px;
  translate: -50% 0;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: #fb7185;
  opacity: 0;
  animation: hc-rcm-drip 2.4s ease-in infinite;
}
.hc-rcmline__drip--2 { animation-delay: 1.2s; }
.hc-rcmbars {
  position: absolute;
  bottom: clamp(6.5rem, 13vh, 8rem);
  width: min(15vw, 15rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hc-rcmbars--l { left: clamp(1.5rem, 4vw, 4rem); }
.hc-rcmbars--r { right: clamp(1.5rem, 4vw, 4rem); align-items: flex-end; }
.hc-rcmbars__cols {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  width: 100%;
  height: min(32vh, 15rem);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%);
  mask-image: linear-gradient(180deg, transparent, #000 45%);
}
.hc-rcmbars__cols i {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.55), rgba(45, 212, 191, 0.08));
  transform-origin: bottom;
  animation: hc-rcm-grow 0.9s var(--hc-ease) both, hc-rcm-sway 6s ease-in-out infinite;
  animation-delay: calc(0.4s + var(--i) * 0.07s), calc(1.4s + var(--i) * -0.6s);
}
.hc-rcmbars--r .hc-rcmbars__cols i { background: linear-gradient(180deg, rgba(52, 211, 153, 0.6), rgba(52, 211, 153, 0.08)); }
.hc-rcmbars__lbl { font: 600 0.68rem var(--hc-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #475569; }
@keyframes hc-rcm-run { from { transform: translateX(-9rem); } to { transform: translateX(100cqw); } }
@keyframes hc-rcm-ping { 0%, 100% { transform: scale(1); } 6% { transform: scale(1.35); } 14% { transform: scale(1); } }
@keyframes hc-rcm-drip { 0% { opacity: 0; transform: translateY(0) scale(0.6); } 15% { opacity: 1; transform: translateY(2px) scale(1); } 100% { opacity: 0; transform: translateY(2.6rem) scale(0.8); } }
@keyframes hc-rcm-grow { from { transform: scaleY(0); } }
@keyframes hc-rcm-sway { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.92); } }

/* --- Marquee ------------------------------------------------------------ */

.hc-marquee {
  padding-block: 1.35rem;
  border-block: 1px solid var(--hc-line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hc-marquee__track {
  display: flex;
  width: max-content;
  animation: hc-marquee 48s linear infinite;
}
.hc-marquee--rev .hc-marquee__track { animation-direction: reverse; }
.hc-marquee:hover .hc-marquee__track { animation-play-state: paused; }
.hc-marquee ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.hc-marquee li {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding-right: 2.5rem;
  font: 600 0.95rem / 1 var(--hc-mono);
  color: #94a3b8;
  white-space: nowrap;
}
.hc-marquee li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 10px #2dd4bf;
}

/* --- Statement ---------------------------------------------------------- */

.hc-statement {
  overflow: visible;
}
.hc-statement::before {
  content: "";
  position: absolute;
  right: -10rem;
  top: 50%;
  width: 40rem;
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.1), transparent);
  pointer-events: none;
}
.hc-statement__text {
  position: relative;
  max-width: 62rem;
  margin: 0;
  font: 700 clamp(1.75rem, 4.2vw, 3.4rem) / 1.16 var(--font-heading);
  letter-spacing: -0.03em;
  color: #f8fafc !important;
  text-wrap: pretty;
}
.hc-w { transition: opacity 0.5s ease, color 0.5s ease; }
html.hc-js .hc-w { opacity: 0.16; }
html.hc-js .hc-w.is-lit { opacity: 1; }
.hc-w--hi {
  background: linear-gradient(100deg, #5eead4, #34d399 50%, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hc-statement__by { margin-top: 1.5rem; color: #94a3b8; }

/* --- Sticky story ------------------------------------------------------- */

.hc-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.hc-story--flip .hc-story__visual { order: 2; }
.hc-story__visual {
  position: sticky;
  /* Pinned around the middle of the screen, level with the step being read */
  top: max(5.5rem, calc(50vh - min(19rem, 50vh - 4.5rem)));
  min-height: min(38rem, calc(100vh - 9rem));
  display: grid;
  place-items: center;
}
.hc-story__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hc-story__step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52vh;
  margin: 0;
  padding: 2rem 0 2rem 2rem;
  border-left: 1px solid var(--hc-line);
  position: relative;
  transition: opacity 0.5s ease;
}
.hc-story__step::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 30%;
  bottom: 30%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--hc-teal), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
html.hc-js .hc-story__step { opacity: 0.32; }
html.hc-js .hc-story__step.is-active { opacity: 1; }
.hc-story__step.is-active::before { opacity: 1; }
.hc-story__step h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2; margin-bottom: 0.75rem; }
.hc-story__step p { margin: 0; max-width: 34rem; }
.hc-story__k {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8 !important;
}
.hc-story__k span { font-family: var(--hc-mono); color: #5eead4; letter-spacing: 0; }

/* Journey visual (hub) */
.hc-journey {
  --progress: 0;
  position: relative;
  width: 100%;
  max-width: 25rem;
  padding: 1.5rem;
  border-radius: 28px;
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.hc-journey__patient,
.hc-journey__pay {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hc-journey__patient { background: rgba(251, 113, 133, 0.1); color: #fda4af; }
.hc-journey__pay { background: var(--hc-em-soft); color: #6ee7b7; }
.hc-journey__track {
  list-style: none;
  position: relative;
  margin: 0.75rem 0;
  padding: 0.5rem 0;
}
.hc-journey__track::before,
.hc-journey__track::after {
  content: "";
  position: absolute;
  left: calc(2.15rem - 1px);
  top: 1.6rem;
  bottom: 1.6rem;
  width: 2px;
  background: var(--hc-line-2);
}
.hc-journey__track::after {
  background: linear-gradient(180deg, #2dd4bf, #34d399);
  transform-origin: top;
  transform: scaleY(var(--progress));
  transition: transform 0.6s var(--hc-ease);
}
.hc-journey__stop {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0.55rem 0.6rem;
  border-radius: 14px;
  transition: background 0.4s ease;
}
.hc-journey__dot {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-left: 0.5rem;
  border-radius: 50%;
  background: #0c1527;
  border: 1.5px solid var(--hc-line-2);
  color: #64748b;
  transition: all 0.4s var(--hc-ease);
}
.hc-journey__dot .hc-ic { width: 1rem; height: 1rem; }
.hc-journey__lbl b { display: block; font-size: 0.92rem; color: #94a3b8; transition: color 0.4s; }
.hc-journey__lbl i { font-style: normal; font-size: 0.76rem; color: #64748b; }
.hc-journey__stop.is-done .hc-journey__dot { border-color: #2dd4bf; color: #5eead4; }
.hc-journey__stop.is-active { background: rgba(45, 212, 191, 0.08); }
.hc-journey__stop.is-active .hc-journey__dot {
  background: #2dd4bf;
  border-color: #2dd4bf;
  color: #042f2e;
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.15), 0 0 24px rgba(45, 212, 191, 0.5);
  transform: scale(1.1);
}
.hc-journey__stop.is-active .hc-journey__lbl b { color: #f8fafc; }

/* Revenue cycle visual (RCM): one full ring; a glowing arc with a fading
   tail sweeps clockwise to the active phase (rotation + colour transition). */
@property --hc-c {
  syntax: "<color>";
  inherits: true;
  initial-value: #2dd4bf;
}
.hc-cycle {
  --rot: 0deg;
  --hc-c: #2dd4bf;
  --band: 1.35rem;
  position: relative;
  width: 100%;
  max-width: 24rem;
  transition: --hc-c 0.9s ease;
}
[data-step="1"] .hc-cycle { --rot: 90deg; --hc-c: #60a5fa; }
[data-step="2"] .hc-cycle { --rot: 180deg; --hc-c: #34d399; }
[data-step="3"] .hc-cycle { --rot: 270deg; --hc-c: #a78bfa; }
.hc-cycle__ring {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
}
.hc-cycle__track,
.hc-cycle__sweep i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  mask: radial-gradient(farthest-side, transparent calc(100% - var(--band)), #000 calc(100% - var(--band) + 1px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--band)), #000 calc(100% - var(--band) + 1px));
}
.hc-cycle__track { background: rgba(148, 163, 184, 0.12); }
.hc-cycle__tick {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform: rotate(var(--a));
  pointer-events: none;
}
.hc-cycle__tick::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: var(--band);
  translate: -50% 0;
  background: #070b14;
}
.hc-cycle__sweep {
  position: absolute;
  inset: 0;
  transform: rotate(var(--rot));
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--hc-c) 55%, transparent));
}
.hc-cycle__sweep i {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    color-mix(in srgb, var(--hc-c) 6%, transparent) 8deg,
    color-mix(in srgb, var(--hc-c) 50%, transparent) 55deg,
    var(--hc-c) 88deg,
    transparent 89.5deg
  );
}
.hc-cycle__sweep::after {
  content: "";
  position: absolute;
  right: calc(var(--band) / 2);
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  translate: 50% -50%;
  border-radius: 50%;
  background: #f8fafc;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--hc-c) 35%, transparent), 0 0 22px var(--hc-c);
}
.hc-cycle__center {
  position: absolute;
  inset: 22%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 27, 48, 0.96), rgba(10, 17, 32, 0.96));
  border: 1px solid var(--hc-line);
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--hc-c) 14%, transparent);
}
.hc-cycle__lbl {
  grid-area: 1 / 1;
  padding: 0 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s var(--hc-ease);
}
.hc-cycle__lbl.is-active { opacity: 1; transform: none; transition-delay: 0.35s; }
.hc-cycle__lbl b { display: block; font: 700 clamp(1.2rem, 2.4vw, 1.5rem) / 1.1 var(--font-heading); color: #f8fafc; }
.hc-cycle__lbl i { font-style: normal; font-size: 0.78rem; color: #94a3b8; }
.hc-cycle__tags {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
}
.hc-cycle__tags li {
  margin: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: #64748b;
  border: 1px solid var(--hc-line);
  transition: all 0.4s;
}
.hc-cycle__tags li.is-active { color: #04111a; background: var(--hc-c); border-color: var(--hc-c); }
.hc-cycle__tags li.is-done { color: #cbd5e1; border-color: var(--hc-line-2); }

/* Clinical flow visual (EHR) */
.hc-flowv {
  width: 100%;
  max-width: 26rem;
  padding: 1.75rem;
  border-radius: 28px;
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.hc-flowv__row {
  display: grid;
  grid-template-columns: 2.25rem 1fr 5.5rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--hc-line);
  transition: background 0.4s;
}
.hc-flowv__n { font: 600 0.8rem var(--hc-mono); color: #475569; }
.hc-flowv__t { font-weight: 600; color: #94a3b8; transition: color 0.4s; }
.hc-flowv__bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.hc-flowv__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22d3ee, #34d399); border-radius: inherit; transition: width 0.8s var(--hc-ease); }
.hc-flowv__row.is-done .hc-flowv__bar i { width: 100%; opacity: 0.5; }
.hc-flowv__row.is-done .hc-flowv__n { color: #22d3ee; }
.hc-flowv__row.is-active { background: rgba(34, 211, 238, 0.06); border-radius: 12px; }
.hc-flowv__row.is-active .hc-flowv__t { color: #f8fafc; }
.hc-flowv__row.is-active .hc-flowv__n { color: #22d3ee; }
.hc-flowv__row.is-active .hc-flowv__bar i { width: 100%; }
.hc-flowv__foot { display: flex; gap: 0.5rem; align-items: center; margin-top: 1.25rem; font-size: 0.82rem; color: #67e8f9; }

/* --- Service index (hub) ----------------------------------------------- */

.hc-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hc-line);
}
.hc-index__item {
  position: relative;
  margin: 0;
  border-bottom: 1px solid var(--hc-line);
}
.hc-index__link {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  grid-template-areas: "n name go" ". short go";
  align-items: center;
  gap: 0.35rem 1rem;
  padding: 1.65rem 0.75rem;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}
.hc-index__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 14%, transparent), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--hc-ease);
  z-index: -1;
}
.hc-index__n { grid-area: n; font: 600 0.85rem var(--hc-mono); color: #475569; transition: color 0.3s; }
.hc-index__name {
  grid-area: name;
  font: 700 clamp(1.25rem, 2.3vw, 1.85rem) / 1.15 var(--font-heading);
  letter-spacing: -0.025em;
  color: #f8fafc;
  transition: transform 0.5s var(--hc-ease), color 0.3s;
}
.hc-index__short { grid-area: short; color: #94a3b8; font-size: 0.95rem; transition: transform 0.5s var(--hc-ease); }
.hc-index__go {
  grid-area: go;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--hc-line-2);
  color: #cbd5e1;
  transition: all 0.4s var(--hc-ease);
}
.hc-index__link:hover::before,
.hc-index__link:focus-visible::before { transform: scaleX(1); }
.hc-index__link:hover .hc-index__name,
.hc-index__link:focus-visible .hc-index__name { transform: translateX(0.6rem); color: var(--acc); }
.hc-index__link:hover .hc-index__short { transform: translateX(0.6rem); }
.hc-index__link:hover .hc-index__n { color: var(--acc); }
.hc-index__link:hover .hc-index__go,
.hc-index__link:focus-visible .hc-index__go {
  background: var(--acc);
  border-color: var(--acc);
  color: #04111a;
  transform: rotate(45deg);
}
.hc-index__peek {
  position: absolute;
  left: var(--px, 50%);
  top: var(--py, 50%);
  z-index: 5;
  width: 16rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(10, 16, 30, 0.92);
  border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  opacity: 0;
  transform: translate(1.5rem, -50%) scale(0.92) rotate(-3deg);
  transition: opacity 0.25s ease, transform 0.4s var(--hc-ease);
}
.hc-index__peek-ic {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.6rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--acc) 16%, transparent);
  color: var(--acc);
}
.hc-index__peek ul { margin: 0; padding: 0; list-style: none; }
.hc-index__peek li { margin: 0.35rem 0 0; font-size: 0.84rem; color: #cbd5e1; padding-left: 0.9rem; position: relative; }
.hc-index__peek li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
@media (hover: hover) and (min-width: 70em) {
  .hc-index__item:hover .hc-index__peek {
    opacity: 1;
    transform: translate(1.5rem, -50%) scale(1) rotate(-2deg);
  }
}

/* --- Horizontal accordion ---------------------------------------------- */

.hc-hacc {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  height: 27rem;
  margin: 0;
  padding: 0;
}
.hc-hacc__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--hc-line);
  background: var(--hc-card);
  cursor: pointer;
  transition: flex 0.7s var(--hc-ease), border-color 0.4s, background 0.4s;
}
.hc-hacc__item.is-open {
  flex: 4.4 1 0;
  cursor: default;
  border-color: rgba(45, 212, 191, 0.3);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(45, 212, 191, 0.14), transparent 60%),
    var(--hc-card);
}
.hc-hacc__item:focus-visible { outline: 2px solid #5eead4; outline-offset: 3px; }
.hc-hacc__spine {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  color: #94a3b8;
  transition: opacity 0.3s ease;
}
.hc-hacc__spine span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hc-hacc__spine .hc-ic { color: #5eead4; }
.hc-hacc__item.is-open .hc-hacc__spine { opacity: 0; pointer-events: none; }
.hc-hacc__ghost {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  color: rgba(94, 234, 212, 0.14);
  opacity: 0;
  transform: scale(0.8) rotate(-8deg);
  transition: opacity 0.4s ease, transform 0.7s var(--hc-ease);
}
.hc-hacc__ghost .hc-ic { width: 7.5rem; height: 7.5rem; stroke-width: 1; }
.hc-hacc__item.is-open .hc-hacc__ghost { opacity: 1; transform: none; transition-delay: 0.2s; }
.hc-hacc__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-width: 26rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.3s ease, transform 0.5s var(--hc-ease);
}
.hc-hacc__item.is-open .hc-hacc__body {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}
.hc-hacc__k { margin: 0 0 0.6rem !important; font: 600 0.78rem var(--hc-mono); color: #5eead4 !important; letter-spacing: 0.04em; }
.hc-hacc__body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 0.75rem; }
.hc-hacc__body p { max-width: 34rem; margin: 0; }

/* --- Tabs --------------------------------------------------------------- */

.hc-tabs {
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.hc-tabs__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: sticky;
  top: 6.5rem;
}
.hc-tabs__tab {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #94a3b8;
  font: 600 0.95rem / 1.3 var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.hc-tabs__tab:hover { color: #e2e8f0; background: rgba(255, 255, 255, 0.03); }
.hc-tabs__tab[aria-selected="true"] {
  color: #f8fafc;
  background: rgba(45, 212, 191, 0.08);
  box-shadow: inset 2px 0 0 #2dd4bf;
}
.hc-tabs__tab[aria-selected="true"] .hc-ic { color: #5eead4; }
.hc-tabs__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  min-height: 24rem;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border-radius: 30px;
  background:
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(45, 212, 191, 0.08), transparent 60%),
    var(--hc-card);
  border: 1px solid var(--hc-line);
  animation: hc-panel 0.5s var(--hc-ease);
}
.hc-tabs__panel[hidden] { display: none; }
.hc-tabs__copy h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.2; margin-bottom: 0.85rem; }
.hc-tabs__copy p { margin: 0; }
.hc-tabs__aside { min-width: 0; }

.hc-tabs--top { grid-template-columns: minmax(0, 1fr); }
.hc-tabs--top .hc-tabs__list {
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hc-tabs--top .hc-tabs__tab {
  border: 1px solid var(--hc-line);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
}
.hc-tabs--top .hc-tabs__tab[aria-selected="true"] { box-shadow: none; border-color: #2dd4bf; }
.hc-tabs--ai .hc-tabs__panel {
  background:
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(167, 139, 250, 0.12), transparent 60%),
    var(--hc-card);
}
.hc-tabs--ai .hc-tabs__tab[aria-selected="true"] { background: rgba(167, 139, 250, 0.1); box-shadow: inset 2px 0 0 #a78bfa; }
.hc-tabs--ai .hc-tabs__tab[aria-selected="true"] .hc-ic { color: #c4b5fd; }
.hc-tabs--code .hc-tabs__panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

/* Standards decoder: editor-style window, wrapped lines, no scrollbar */
.hc-codewin {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #04070f;
  border: 1px solid var(--hc-line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 30px 60px rgba(0, 0, 0, 0.45);
}
.hc-codewin__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--hc-line);
  background: rgba(255, 255, 255, 0.025);
}
.hc-codewin__bar i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.hc-codewin__bar i:first-child { background: rgba(251, 113, 133, 0.6); }
.hc-codewin__bar i:nth-child(2) { background: rgba(251, 191, 36, 0.6); }
.hc-codewin__bar i:nth-child(3) { background: rgba(52, 211, 153, 0.6); }
.hc-codewin__bar span { margin-left: 0.5rem; font: 600 0.74rem var(--hc-mono); color: #94a3b8; }
.hc-codewin__bar b {
  margin-left: auto;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font: 700 0.64rem var(--hc-mono);
  letter-spacing: 0.08em;
  color: #5eead4;
  background: var(--hc-teal-soft);
}
.hc-pre {
  margin: 0;
  padding: 1rem 1.1rem 1.1rem 0;
  counter-reset: ln;
  font: 0.78rem / 1.75 var(--hc-mono);
  color: #cbd5e1;
  overflow: visible;
}
.hc-pre code { display: block; font: inherit; }
.hc-ln {
  display: block;
  position: relative;
  /* Hanging indent: if a long line wraps, the continuation sits further in */
  padding-left: 4.1rem;
  text-indent: -1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  counter-increment: ln;
}
.hc-ln::before {
  content: counter(ln);
  position: absolute;
  left: 0;
  width: 2.2rem;
  text-align: right;
  color: #334155;
  user-select: none;
}
.hc-ln:hover { background: rgba(255, 255, 255, 0.025); }
.hc-tk-key { color: #5eead4; font-weight: 700; }
.hc-tk-dl { color: #64748b; }
.hc-tk-str { color: #86efac; }
.hc-tk-num { color: #fcd34d; }
.hc-tk-kw { color: #c4b5fd; font-weight: 700; }
.hc-tk-attr { color: #93c5fd; }
.hc-pre--x12 .hc-tk-key { color: #93c5fd; }
.hc-pre--xml .hc-tk-key { color: #f9a8d4; }
.hc-codewin__note {
  margin: 0 !important;
  padding: 0.55rem 1rem;
  border-top: 1px solid var(--hc-line);
  font: 0.7rem var(--hc-mono);
  color: #475569 !important;
}


/* --- Mock UI windows --------------------------------------------------- */

.hc-mock {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #0a1120;
  border: 1px solid var(--hc-line-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}
.hc-mock__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--hc-line);
  background: rgba(255, 255, 255, 0.02);
}
.hc-mock__bar i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.hc-mock__bar i:first-child { background: rgba(251, 113, 133, 0.6); }
.hc-mock__bar i:nth-child(2) { background: rgba(251, 191, 36, 0.6); }
.hc-mock__bar i:nth-child(3) { background: rgba(52, 211, 153, 0.6); }
.hc-mock__bar span { margin-left: 0.5rem; color: #94a3b8; font-size: 0.74rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-mock__rows { list-style: none; margin: 0; padding: 0.4rem; }
.hc-mock__rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0.75rem 0.7rem;
  border-radius: 10px;
}
.hc-mock__rows li + li { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.hc-mock__rows li:hover { background: rgba(255, 255, 255, 0.025); }
.hc-mock__rows span { color: #cbd5e1; }
.hc-mock__rows b { color: #f8fafc; font-family: var(--hc-mono); }
.hc-mock__foot { margin: 0 !important; padding: 0.4rem 1.1rem 1rem; color: #6ee7b7 !important; font-size: 0.8rem; }
.hc-mock--tall .hc-mock__rows li { padding-block: 1rem; }

/* --- Before / after slider -------------------------------------------- */

.hc-ba { position: relative; }
.hc-ba__stage {
  position: relative;
  display: grid;
  min-height: 25rem;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--hc-line-2);
  user-select: none;
}
.hc-ba__side {
  position: relative;
  height: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.hc-ba__side--before {
  padding-right: 52%;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(251, 113, 133, 0.07) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 89px, rgba(251, 113, 133, 0.07) 89px 90px),
    #10101a;
}
.hc-ba__side--after {
  padding-left: 52%;
  background:
    radial-gradient(circle at 25% 40%, rgba(52, 211, 153, 0.16), transparent 45%),
    radial-gradient(rgba(52, 211, 153, 0.18) 1px, transparent 1.5px) 0 0 / 22px 22px,
    #07161a;
}
.hc-ba__side--before,
.hc-ba__clip {
  grid-area: 1 / 1;
}
.hc-ba__clip {
  position: relative;
  clip-path: inset(0 0 0 var(--pos));
}
.hc-ba__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem !important;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hc-ba__side--before .hc-ba__label { background: rgba(251, 113, 133, 0.14); color: #fda4af !important; }
.hc-ba__side--after .hc-ba__label { background: rgba(52, 211, 153, 0.14); color: #6ee7b7 !important; }
.hc-ba__side h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 1rem; }
.hc-ba__side ul { list-style: none; margin: 0; padding: 0; }
.hc-ba__side li { margin: 0.55rem 0 0; padding-left: 1.1rem; position: relative; font-size: 0.93rem; color: #cbd5e1; line-height: 1.45; }
.hc-ba__side li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; }
.hc-ba__side--before li::before { background: #fb7185; }
.hc-ba__side--after li::before { background: #34d399; }
.hc-ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  translate: -1px 0;
  background: linear-gradient(180deg, transparent, #f8fafc 15%, #f8fafc 85%, transparent);
  pointer-events: none;
}
.hc-ba__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  translate: -50% -50%;
  border-radius: 50%;
  background: #f8fafc;
  color: #0a1520;
  box-shadow: 0 0 0 6px rgba(248, 250, 252, 0.12), 0 10px 30px rgba(0, 0, 0, 0.5);
}
.hc-ba__range {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 25rem;
  min-height: 100%;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.hc-ba__range:focus-visible + .hc-ba__hint { color: #5eead4; }
.hc-ba__hint { margin: 0.85rem 0 0 !important; text-align: center; font-size: 0.8rem; color: #64748b !important; }

/* --- Horizontal timeline ---------------------------------------------- */

.hc-htl {
  position: relative;
  margin-inline: calc(50% - 50vw);
}
.hc-htl__track {
  --pad: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0.5rem var(--pad) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.hc-htl__track::-webkit-scrollbar { display: none; }
.hc-htl__step {
  position: relative;
  isolation: isolate;
  flex: 0 0 min(19rem, 80vw);
  margin: 0;
  padding: 4.25rem 1.5rem 1.5rem;
  scroll-snap-align: start;
  transition: transform 0.4s var(--hc-ease);
}
/* The card is a layer below the rail, so the rail never crosses a border */
.hc-htl__step::before {
  content: "";
  position: absolute;
  inset: 2.6rem 0 0;
  z-index: -1;
  border-radius: 24px;
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  transition: border-color 0.3s;
}
.hc-htl__step:hover { transform: translateY(-4px); }
.hc-htl__step:hover::before { border-color: rgba(45, 212, 191, 0.35); }
/* Rail segment: from this dot to the next card's dot, through the gap */
.hc-htl__step::after {
  content: "";
  position: absolute;
  top: calc(0.5rem - 1px);
  left: 1.5rem;
  right: -2.75rem;
  height: 2px;
  z-index: -2;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.55), rgba(96, 165, 250, 0.35));
}
.hc-htl__step:last-child::after { right: 0; background: linear-gradient(90deg, rgba(45, 212, 191, 0.55), transparent); }
/* Short stem from the dot down into its card */
.hc-htl__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 1.7rem;
  translate: -50% 0;
  background: linear-gradient(180deg, currentColor, transparent);
  opacity: 0.6;
}
.hc-htl__dot {
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid #2dd4bf;
  color: #2dd4bf;
  background: #070b14;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.6);
}
.hc-htl__step--check .hc-htl__dot { color: #60a5fa; border-color: #60a5fa; box-shadow: 0 0 12px rgba(96, 165, 250, 0.6); }
.hc-htl__step--warn .hc-htl__dot { color: #fbbf24; border-color: #fbbf24; box-shadow: 0 0 12px rgba(251, 191, 36, 0.6); }
.hc-htl__step--ok .hc-htl__dot { color: #34d399; border-color: #34d399; background: #34d399; }
.hc-htl__step--bad .hc-htl__dot { color: #fb7185; border-color: #fb7185; box-shadow: 0 0 12px rgba(251, 113, 133, 0.6); }
.hc-htl__k { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.5rem !important; font: 600 0.8rem var(--hc-mono); color: #64748b !important; }
.hc-htl__k code { font: inherit; color: #5eead4; background: var(--hc-teal-soft); padding: 0.12rem 0.45rem; border-radius: 6px; }
.hc-htl__step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.hc-htl__step > p { font-size: 0.92rem; margin: 0; }
.hc-htl__auto {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0 0 !important;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: var(--hc-em-soft);
  font-size: 0.84rem;
  color: #a7f3d0 !important;
  line-height: 1.4;
}
.hc-htl__auto .hc-ic { color: #34d399; margin-top: 0.1rem; }
.hc-htl__ctrl {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: var(--container);
  margin: 0.5rem auto 0;
  padding-inline: var(--gutter);
}
.hc-htl__ctrl button {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--hc-line-2);
  background: transparent;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s;
}
.hc-htl__ctrl button:hover { background: #2dd4bf; border-color: #2dd4bf; color: #042f2e; }

/* --- Zigzag rows ------------------------------------------------------- */

.hc-zz__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 4rem);
}
.hc-zz__row + .hc-zz__row { border-top: 1px solid var(--hc-line); }
.hc-zz__row--flip .hc-zz__visual { order: 2; }
.hc-zz__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 20rem;
  padding: 2.5rem;
  border-radius: 32px;
  border: 1px solid var(--hc-line);
  background:
    radial-gradient(ellipse 60% 60% at 30% 30%, rgba(96, 165, 250, 0.12), transparent 70%),
    radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1.5px) 0 0 / 18px 18px,
    #0a1120;
}
.hc-zz__row--flip .hc-zz__visual {
  background:
    radial-gradient(ellipse 60% 60% at 70% 70%, rgba(45, 212, 191, 0.12), transparent 70%),
    radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1.5px) 0 0 / 18px 18px,
    #0a1120;
}
.hc-zz__visual > * { max-width: 24rem; transform: translateX(10%); transition: transform 0.8s var(--hc-ease); }
.hc-zz__row--flip .hc-zz__visual > * { transform: translateX(-10%); }
.hc-zz__copy h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.18; margin-bottom: 0.85rem; }
.hc-zz__copy p { margin: 0; }

/* Mini illustrations */
.hc-phone {
  position: relative;
  width: 14rem;
  aspect-ratio: 9 / 17;
  padding: 2.2rem 0.9rem 1rem;
  border-radius: 2.25rem;
  border: 6px solid #1e293b;
  background: #070d1a;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}
.hc-phone__notch { position: absolute; top: 0.6rem; left: 50%; translate: -50% 0; width: 4.5rem; height: 1.1rem; border-radius: 999px; background: #1e293b; }
.hc-phone__screen { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; }
.hc-phone__hi { margin: 0 0 0.4rem !important; font: 700 1rem var(--font-heading); color: #f8fafc !important; }
.hc-phone__card { display: flex; gap: 0.6rem; padding: 0.7rem; border-radius: 14px; background: rgba(255, 255, 255, 0.05); font-size: 0.74rem; }
.hc-phone__card .hc-ic { color: #5eead4; margin-top: 0.1rem; }
.hc-phone__card b { display: block; color: #f8fafc; }
.hc-phone__card i { font-style: normal; color: #94a3b8; }
.hc-phone__btn { margin-top: auto; padding: 0.7rem; border-radius: 999px; text-align: center; font-size: 0.78rem; font-weight: 700; color: #042f2e; background: linear-gradient(100deg, #2dd4bf, #34d399); }

.hc-tele {
  position: relative;
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: visible;
  background: linear-gradient(160deg, #11324a 0%, #0a1426 100%);
  border: 1px solid var(--hc-line-2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.hc-tele__main { position: absolute; inset: 0; display: grid; place-items: center; }
.hc-tele__av { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #94a3b8; }
.hc-tele__av .hc-ic { width: 2.25rem; height: 2.25rem; }
.hc-tele__live { position: absolute; top: 0.9rem; left: 0.9rem; display: flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(0, 0, 0, 0.4); font-size: 0.72rem; color: #f8fafc; }
.hc-tele__live i { width: 7px; height: 7px; border-radius: 50%; background: #fb7185; animation: hc-blink 1.4s infinite; }
.hc-tele__self { position: absolute; right: 0.9rem; bottom: 3.75rem; width: 5.5rem; aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(160deg, #1f3b54, #12233a); border: 1px solid var(--hc-line-2); }
.hc-tele__bar { position: absolute; left: 50%; bottom: 0.9rem; translate: -50% 0; display: flex; gap: 0.5rem; }
.hc-tele__bar i { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #f8fafc; }
.hc-tele__bar .hc-tele__end { background: #e11d48; }
.hc-tele__note { position: absolute; left: -1.5rem; bottom: -1.25rem; display: flex; gap: 0.5rem; align-items: center; padding: 0.6rem 0.85rem; border-radius: 14px; background: var(--hc-glass); border: 1px solid var(--hc-line-2); font-size: 0.76rem; color: #e2e8f0; backdrop-filter: blur(10px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.hc-tele__note .hc-ic { color: #5eead4; }

.hc-kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; width: 100%; max-width: 24rem; }
.hc-kanban__col { display: flex; flex-direction: column; gap: 0.45rem; padding: 0.7rem; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--hc-line); min-height: 11rem; }
.hc-kanban__col > span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8; margin-bottom: 0.2rem; }
.hc-kanban__card { display: block; padding: 0.55rem 0.6rem; border-radius: 10px; font-style: normal; font-size: 0.76rem; font-weight: 600; }
.hc-kanban__col:nth-child(2) .hc-kanban__card { animation: hc-bob 5s ease-in-out infinite; }

.hc-ops { display: grid; gap: 0.75rem; width: 100%; max-width: 24rem; }
.hc-ops__bars { display: flex; align-items: flex-end; gap: 0.45rem; height: 7rem; padding: 0.75rem; border-radius: 16px; background: #0a1120; border: 1px solid var(--hc-line); }
.hc-ops__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #60a5fa, rgba(96, 165, 250, 0.2)); }
.hc-ops__bars i:last-child { background: linear-gradient(180deg, #34d399, rgba(52, 211, 153, 0.2)); }

.hc-tenants { position: relative; display: grid; gap: 0.6rem; width: 100%; max-width: 22rem; }
.hc-tenants__t { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.6rem; padding: 0.75rem 0.9rem; border-radius: 14px; background: #0f182b; border: 1px solid var(--hc-line); font-size: 0.85rem; margin-left: calc(var(--i) * 1.5rem); }
.hc-tenants__t .hc-ic { color: #93c5fd; }
.hc-tenants__t span { color: #f8fafc; font-weight: 600; }
.hc-tenants__t i { font-style: normal; font-size: 0.7rem; color: #6ee7b7; }
.hc-tenants__core { display: flex; align-items: center; gap: 0.6rem; justify-content: center; margin-top: 0.4rem; padding: 0.9rem; border-radius: 14px; border: 1px dashed rgba(96, 165, 250, 0.4); color: #93c5fd; font-weight: 600; font-size: 0.85rem; }

/* --- Layers (safeguards) ---------------------------------------------- */

.hc-layers {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}
.hc-layers__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin: 0 0 0 calc(var(--i) * 1.1rem);
  padding: 1.25rem 1.4rem;
  border-radius: 20px;
  border: 1px solid var(--hc-line);
  background: var(--hc-card);
  transition: transform 0.4s var(--hc-ease), border-color 0.3s, box-shadow 0.3s;
}
.hc-layers__item:hover {
  transform: translateX(-0.5rem);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.08);
}
.hc-layers__ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--hc-teal-soft); color: #5eead4; }
.hc-layers__item h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.hc-layers__item p { margin: 0; font-size: 0.92rem; color: #94a3b8 !important; }
.hc-split--rev .hc-layers__item { margin: 0 calc(var(--i) * 1.1rem) 0 0; }

.hc-shield {
  position: relative;
  display: grid;
  place-items: center;
  width: 13rem;
  aspect-ratio: 1;
  margin-top: 2.5rem;
}
.hc-shield__ic { width: 5.5rem; height: 5.5rem; color: #5eead4; filter: drop-shadow(0 0 24px rgba(45, 212, 191, 0.55)); }
.hc-shield__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(45, 212, 191, 0.3); animation: hc-ping 3.5s ease-out infinite; }
.hc-shield__ring--2 { animation-delay: 1.75s; }

/* --- Process ----------------------------------------------------------- */

.hc-proc {
  list-style: none;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.hc-proc::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  right: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, #2dd4bf, rgba(96, 165, 250, 0.6), rgba(52, 211, 153, 0.3));
}
.hc-proc__step { position: relative; margin: 0; padding-top: 4.75rem; }
.hc-proc__step:nth-child(even) { margin-top: 3rem; }
.hc-proc__n {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.5);
  background: #070b14;
  font: 700 0.85rem var(--hc-mono);
  color: #5eead4;
  box-shadow: 0 0 0 6px #070b14;
  transition: all 0.4s var(--hc-ease);
}
.hc-proc__step:hover .hc-proc__n { background: #2dd4bf; color: #042f2e; transform: scale(1.08); }
.hc-proc__step:nth-child(even) .hc-proc__n { top: -3rem; }
.hc-proc__step:nth-child(even) { padding-top: 1.75rem; }
.hc-proc__step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.hc-proc__step p { margin: 0; font-size: 0.93rem; }
.hc-proc__meta {
  display: inline-block;
  margin: 0.9rem 0 0 !important;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  font-size: 0.74rem;
  color: #6ee7b7 !important;
}

/* --- Rows -------------------------------------------------------------- */

.hc-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hc-line);
}
.hc-rows__row {
  position: relative;
  margin: 0;
  padding: 1.6rem 0 1.6rem 1.25rem;
  border-bottom: 1px solid var(--hc-line);
  transition: background 0.4s;
}
.hc-rows__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.6rem;
  bottom: 1.6rem;
  width: 2px;
  border-radius: 2px;
  background: var(--hc-line-2);
  transition: background 0.3s;
}
.hc-rows__row > * { transition: transform 0.4s var(--hc-ease); }
.hc-rows__row:hover > * { transform: translateX(0.4rem); }
.hc-rows__row:hover::before { background: #2dd4bf; }
.hc-rows__lead { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.hc-rows__lead h3 { flex-basis: 100%; font-size: 1.2rem; }
.hc-rows__body { margin: 0.45rem 0 0 !important; }
.hc-rows__fix {
  display: flex;
  gap: 0.55rem;
  margin: 0.8rem 0 0 !important;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.16);
  font-size: 0.92rem;
  color: #a7f3d0 !important;
}
.hc-rows__fix .hc-ic { color: #34d399; margin-top: 0.2rem; }
.hc-code {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--hc-teal-soft);
  color: #5eead4;
}
.hc-rows--codes .hc-code { background: rgba(251, 113, 133, 0.12); color: #fda4af; }
.hc-rows--codes .hc-rows__row:hover::before { background: #fb7185; }
.hc-rows--guard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  border-top: 0;
  margin-top: 3.5rem;
}
.hc-rows--guard .hc-rows__row { border-top: 1px solid var(--hc-line); border-bottom: 0; }
.hc-rows--guard .hc-code { background: var(--hc-violet-soft); color: #c4b5fd; }

.hc-leakmeter {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 8rem;
  margin-top: 2.5rem;
  max-width: 22rem;
}
.hc-leakmeter span {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #2dd4bf, rgba(45, 212, 191, 0.05));
  animation: hc-leak 4s ease-in-out infinite;
}
.hc-leakmeter span:nth-child(1) { height: 100%; }
.hc-leakmeter span:nth-child(2) { height: 88%; animation-delay: -0.4s; }
.hc-leakmeter span:nth-child(3) { height: 74%; animation-delay: -0.8s; }
.hc-leakmeter span:nth-child(4) { height: 62%; animation-delay: -1.2s; }
.hc-leakmeter span:nth-child(5) { height: 50%; animation-delay: -1.6s; background: linear-gradient(180deg, #fbbf24, rgba(251, 191, 36, 0.05)); }
.hc-leakmeter span:nth-child(6) { height: 38%; animation-delay: -2s; background: linear-gradient(180deg, #fb7185, rgba(251, 113, 133, 0.05)); }
.hc-leakmeter span:nth-child(7) { height: 26%; animation-delay: -2.4s; background: linear-gradient(180deg, #fb7185, rgba(251, 113, 133, 0.05)); }

/* --- KPI board (RCM) --------------------------------------------------- */

.hc-kpi {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hc-kpi__board {
  border-radius: 24px;
  overflow: hidden;
  background: #0a1120;
  border: 1px solid var(--hc-line-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  transform: perspective(1600px) rotateY(6deg) rotateX(2deg);
  transition: transform 0.8s var(--hc-ease);
}
.hc-kpi:hover .hc-kpi__board { transform: none; }
.hc-kpi__tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 1rem;
}
.hc-kpi__tile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hc-line);
}
.hc-kpi__k { font-size: 0.74rem; color: #94a3b8; }
.hc-kpi__v { font: 700 0.95rem var(--font-heading); color: #5eead4; }
.hc-kpi__bars { display: flex; align-items: flex-end; gap: 3px; height: 2.5rem; margin-top: 0.5rem; }
.hc-kpi__bars i { flex: 1; border-radius: 2px; background: rgba(45, 212, 191, 0.45); }
.hc-kpi__bars i:nth-child(1) { height: 40%; }
.hc-kpi__bars i:nth-child(2) { height: 55%; }
.hc-kpi__bars i:nth-child(3) { height: 48%; }
.hc-kpi__bars i:nth-child(4) { height: 66%; }
.hc-kpi__bars i:nth-child(5) { height: 58%; }
.hc-kpi__bars i:nth-child(6) { height: 74%; }
.hc-kpi__bars i:nth-child(7) { height: var(--h); background: #34d399; }
.hc-kpi__aging { display: grid; gap: 0.5rem; padding: 0 1rem 1.25rem; font-size: 0.74rem; color: #94a3b8; }
.hc-kpi__stack { display: flex; height: 0.75rem; border-radius: 999px; overflow: hidden; gap: 2px; }
.hc-kpi__stack i { width: var(--w); }
.hc-kpi__stack i:nth-child(1) { background: #34d399; }
.hc-kpi__stack i:nth-child(2) { background: #2dd4bf; }
.hc-kpi__stack i:nth-child(3) { background: #60a5fa; }
.hc-kpi__stack i:nth-child(4) { background: #fbbf24; }
.hc-kpi__stack i:nth-child(5) { background: #fb7185; }
.hc-kpi__legend { font-family: var(--hc-mono); font-size: 0.68rem; color: #64748b; }
.hc-kpi__defs { margin: 0; display: grid; gap: 0; }
.hc-kpi__defs div { padding: 1rem 0; border-bottom: 1px solid var(--hc-line); }
.hc-kpi__defs dt { font-weight: 600; color: #f8fafc; }
.hc-kpi__defs dd { margin: 0.2rem 0 0; font-size: 0.9rem; color: #94a3b8; }

/* --- Versus ------------------------------------------------------------ */

.hc-vs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
}
.hc-vs__side {
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 30px;
  border: 1px solid var(--hc-line);
}
.hc-vs__side--a { background: radial-gradient(ellipse 80% 70% at 0% 0%, rgba(45, 212, 191, 0.14), transparent 60%), var(--hc-card); }
.hc-vs__side--b {
  margin-top: 3.5rem;
  background: radial-gradient(ellipse 80% 70% at 100% 100%, rgba(96, 165, 250, 0.16), transparent 60%), var(--hc-card);
}
.hc-vs__side h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 1.25rem; }
.hc-vs__side ul { list-style: none; margin: 0; padding: 0; }
.hc-vs__side li { display: flex; gap: 0.65rem; margin: 0.75rem 0 0; color: #cbd5e1; line-height: 1.45; }
.hc-vs__side--a .hc-ic { color: #34d399; margin-top: 0.2rem; }
.hc-vs__side--b .hc-ic { color: #60a5fa; margin-top: 0.2rem; }
.hc-vs__amp {
  align-self: center;
  margin: 0 -1.25rem;
  z-index: 1;
  font: 800 clamp(4rem, 8vw, 6.5rem) / 1 var(--font-heading);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}

/* --- Stack chips ------------------------------------------------------- */

.hc-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem 2.5rem;
}
.hc-stack__group h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hc-line);
  font: 700 0.75rem / 1.3 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8 !important;
}
.hc-stack ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.hc-stack li {
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--hc-line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.86rem;
  color: #e2e8f0;
  transition: transform 0.3s var(--hc-ease), border-color 0.3s, color 0.3s;
}
.hc-stack li:hover { transform: translateY(-2px); border-color: rgba(45, 212, 191, 0.45); color: #5eead4; }

/* --- Bento (billing) --------------------------------------------------- */

.hc-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(14rem, auto);
  gap: 1rem;
}
.hc-bento__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 26px;
  border: 1px solid var(--hc-line);
  background: var(--hc-card);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--hc-ease), box-shadow 0.4s;
}
.hc-bento__tile:hover { border-color: rgba(45, 212, 191, 0.35); transform: translateY(-3px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.hc-bento__tile--wide { grid-column: span 2; flex-direction: row; align-items: center; }
.hc-bento__tile--wide > * { flex: 1 1 0; min-width: 0; }
.hc-bento__tile--tall { grid-row: span 2; }
.hc-bento__tile--accent { background: radial-gradient(ellipse 70% 90% at 0% 100%, rgba(16, 185, 129, 0.2), transparent 60%), var(--hc-card); border-color: rgba(52, 211, 153, 0.25); }
.hc-bento__copy h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.hc-bento__copy p { margin: 0; font-size: 0.93rem; }
.hc-bento__copy .hc-kicker { margin-bottom: 0.75rem; }
.hc-bento__vis { margin-top: auto; }
.hc-bento__tile--wide .hc-bento__vis { margin-top: 0; }

.hc-rule {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #04070f;
  border: 1px solid var(--hc-line);
  font: 0.78rem / 1.6 var(--hc-mono);
  color: #cbd5e1;
}
.hc-rule p { margin: 0.25rem 0 !important; font: inherit; color: inherit !important; }
.hc-rule b { color: #f8fafc; font-weight: 600; }
.hc-rule__k { display: inline-block; padding: 0.05rem 0.4rem; border-radius: 5px; background: var(--hc-violet-soft); color: #c4b5fd; font-weight: 700; }
.hc-rule__k--then { background: var(--hc-em-soft); color: #6ee7b7; }

.hc-queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.hc-queue li {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hc-line);
  font-size: 0.8rem;
  animation: hc-fade 0.6s both;
}
.hc-queue code { font: 700 0.76rem var(--hc-mono); color: #fda4af; }
.hc-queue span { color: #cbd5e1; }

/* --- Duo (billing) ----------------------------------------------------- */

.hc-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.hc-duo__card {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 32px;
  border: 1px solid var(--hc-line);
  background: radial-gradient(ellipse 80% 80% at 100% 0%, rgba(45, 212, 191, 0.12), transparent 60%), var(--hc-card);
  overflow: hidden;
}
.hc-duo__card--offset {
  margin-top: 4rem;
  background: radial-gradient(ellipse 80% 80% at 0% 100%, rgba(96, 165, 250, 0.14), transparent 60%), var(--hc-card);
}
.hc-duo__card h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; margin-bottom: 0.75rem; }
.hc-duo__card p { margin: 0; }
.hc-duo__ic {
  position: absolute;
  right: -1.5rem;
  top: -1.5rem;
  color: rgba(255, 255, 255, 0.04);
}
.hc-duo__ic .hc-ic { width: 10rem; height: 10rem; stroke-width: 1; }

/* --- Proof ------------------------------------------------------------- */

.hc-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.hc-proof__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 32rem;
  justify-content: flex-end;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--hc-line-2);
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.15) 0%, rgba(7, 11, 20, 0.85) 48%, #070b14 100%),
    url("/assets/images/case-studies/clinical-dental-ai-video-1280.webp") center 20% / cover no-repeat,
    #0a1120;
  transition: transform 0.5s var(--hc-ease), border-color 0.3s;
}
.hc-proof__feature:hover { transform: translateY(-4px); border-color: rgba(45, 212, 191, 0.4); color: inherit; }
.hc-proof__k { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #5eead4; }
.hc-proof__title { font: 700 clamp(1.5rem, 3vw, 2.25rem) / 1.12 var(--font-heading); letter-spacing: -0.025em; color: #f8fafc; }
.hc-proof__s { color: #cbd5e1; font-size: 0.95rem; }
.hc-proof__metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--hc-line-2);
}
.hc-proof__metrics li { margin: 0; }
.hc-proof__metrics b {
  display: block;
  font: 800 clamp(1.1rem, 1.7vw, 1.45rem) / 1.1 var(--font-heading);
  white-space: nowrap;
  background: linear-gradient(100deg, #5eead4, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hc-proof__metrics span { font-size: 0.76rem; color: #94a3b8; }
.hc-proof__feature .hc-link { margin-top: 0.75rem; }
.hc-proof__list { list-style: none; display: grid; gap: 1rem; margin: 4rem 0 0; padding: 0; }
.hc-proof__list li { margin: 0; }
.hc-proof__list a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid var(--hc-line);
  background: var(--hc-card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.4s var(--hc-ease);
}
.hc-proof__list a:hover { border-color: rgba(45, 212, 191, 0.4); transform: translateX(-4px); color: inherit; }
.hc-proof__t { font: 700 1.2rem / 1.25 var(--font-heading); color: #f8fafc; padding-right: 2rem; }
.hc-proof__go { position: absolute; top: 1.5rem; right: 1.5rem; color: #5eead4; }

/* --- FAQ --------------------------------------------------------------- */

.hc-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.hc-faq__aside { position: sticky; top: 7rem; }

/* --- CTA band ---------------------------------------------------------- */

.hc-cta { padding-block: clamp(3rem, 6vw, 5rem); }
.hc-cta__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(16, 185, 129, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 70% at 100% 100%, rgba(37, 99, 235, 0.2), transparent 60%),
    #0a1322;
}
.hc-cta__orb {
  will-change: transform;
  position: absolute;
  z-index: -1;
  right: -12rem;
  top: -12rem;
  width: 32rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(45, 212, 191, 0.25), rgba(96, 165, 250, 0.1), rgba(167, 139, 250, 0.2), rgba(45, 212, 191, 0.25));
  filter: blur(60px);
  animation: hc-spin 18s linear infinite;
}
.hc-cta__copy .hc-lede { max-width: 36rem; }
.hc-cta__btns { justify-content: flex-start; }
.hc-cta__alt { margin: 1.25rem 0 0 !important; font-size: 0.85rem; color: #94a3b8 !important; }
.hc-cta__alt a { color: #cbd5e1; }
.hc-cta__bring {
  position: relative;
  padding: 2rem;
  border-radius: 26px;
  background: rgba(5, 9, 18, 0.6);
  border: 1px solid var(--hc-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hc-cta__bring h3 { font-size: 1.05rem; margin-bottom: 1rem; padding-right: 4rem; }
.hc-cta__bring ol { list-style: none; counter-reset: bring; margin: 0; padding: 0; }
.hc-cta__bring li {
  counter-increment: bring;
  display: flex;
  gap: 0.75rem;
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.45;
}
.hc-cta__bring li::before {
  content: counter(bring, decimal-leading-zero);
  flex: none;
  font: 600 0.78rem / 1.8 var(--hc-mono);
  color: #5eead4;
}
.hc-cta__indi {
  position: absolute;
  right: 0.75rem;
  top: -3.5rem;
  width: 5.5rem;
}
.hc-cta__indi img,
.hc-cta__indi svg { width: 100%; height: auto; }

/* --- Related rail ------------------------------------------------------ */

.hc-related { padding-top: clamp(3rem, 6vw, 5rem); }
.hc-related__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.hc-related__top .hc-link { margin-top: 0; }
.hc-related__rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}
.hc-related__rail li { margin: 0; }
.hc-related__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  padding: 1.4rem 1.3rem;
  border-radius: 22px;
  border: 1px solid var(--hc-line);
  background: var(--hc-card);
  color: inherit;
  text-decoration: none;
  transition: transform 0.4s var(--hc-ease), border-color 0.3s;
}
.hc-related__card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--acc) 55%, transparent); color: inherit; }
.hc-related__ic { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 0.4rem; border-radius: 12px; background: color-mix(in srgb, var(--acc) 14%, transparent); color: var(--acc); }
.hc-related__name { font-weight: 700; font-size: 0.98rem; line-height: 1.3; color: #f8fafc; padding-right: 1.25rem; }
.hc-related__short { font-size: 0.82rem; color: #94a3b8; line-height: 1.45; }
.hc-related__go { position: absolute; top: 1.3rem; right: 1.1rem; width: 1rem; height: 1rem; color: #475569; transition: color 0.3s, transform 0.3s; }
.hc-related__card:hover .hc-related__go { color: var(--acc); transform: translate(2px, -2px); }

/* --- EHR vs EMR (light slab) ------------------------------------------ */

body.theme-obsidian main > section.hc-define {
  background: transparent;
}
.hc-define__card {
  --text: #0a1520;
  --ob-body: #3d5360;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: 36px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  background:
    radial-gradient(ellipse 50% 70% at 0% 0%, rgba(13, 148, 136, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 70% at 100% 100%, rgba(37, 99, 235, 0.1), transparent 60%),
    #eef6f5;
  color: #0a1520;
}
.hc-define__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.hc-define__word {
  display: block;
  font: 800 clamp(4.5rem, 13vw, 10rem) / 0.9 var(--font-heading);
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px #0f766e;
}
.hc-define__term--ehr .hc-define__word {
  -webkit-text-stroke: 0;
  background: linear-gradient(100deg, #0f766e, #1d4ed8);
  -webkit-background-clip: text;
  background-clip: text;
}
.hc-define__term--ehr { text-align: right; }
.hc-define__term--ehr p { margin-left: auto; }
.hc-define__exp { margin: 0.75rem 0 0.5rem !important; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: #0f766e !important; }
.hc-define__term p:last-child { max-width: 26rem; margin-bottom: 0; }
.hc-define__vs span {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: #0a1520;
  color: #f8fafc;
  font: 700 1rem var(--font-heading);
  box-shadow: 0 0 0 10px rgba(10, 21, 32, 0.06);
}
.hc-define__note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0 0 !important;
  font-weight: 600;
  color: #0f766e !important;
}

/* --- Chart anatomy (EHR) ---------------------------------------------- */

.hc-anat {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.hc-anat__stage { perspective: 1600px; }
.hc-anat__chart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) minmax(0, 1fr);
  grid-template-areas:
    "banner banner banner"
    "side note orders"
    "side note results"
    "tl tl tl";
  gap: 0.6rem;
  padding: 0.75rem;
  border-radius: 22px;
  background: #0a1120;
  border: 1px solid var(--hc-line-2);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55);
  font-size: 0.78rem;
  transform: rotateY(7deg) rotateX(3deg);
  transform-origin: left center;
  transition: transform 0.9s var(--hc-ease);
}
.hc-anat:hover .hc-anat__chart { transform: none; }
.hc-anat__r {
  position: relative;
  padding: 0.8rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.35s, border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.hc-anat__r span { display: block; color: #cbd5e1; margin-top: 0.25rem; }
.hc-anat__chart.has-active .hc-anat__r { opacity: 0.45; }
.hc-anat__chart.has-active .hc-anat__r.is-active {
  opacity: 1;
  border-color: rgba(45, 212, 191, 0.6);
  background: rgba(45, 212, 191, 0.07);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.08), 0 0 40px rgba(45, 212, 191, 0.12);
}
.hc-anat__r--banner { grid-area: banner; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.hc-anat__r--banner > span:not(.hc-anat__avatar):not(.hc-tag) { flex: 1; margin: 0; }
.hc-anat__r--banner b { display: block; color: #f8fafc; font-size: 0.9rem; }
.hc-anat__r--banner i { font-style: normal; color: #94a3b8; }
.hc-anat__r--banner .hc-tag { display: inline-flex; margin: 0; }
.hc-anat__avatar { display: grid !important; place-items: center; width: 2.25rem; height: 2.25rem; margin: 0 !important; border-radius: 50%; background: var(--hc-teal-soft); color: #5eead4 !important; }
.hc-anat__r--side { grid-area: side; }
.hc-anat__r--note { grid-area: note; }
.hc-anat__r--orders { grid-area: orders; }
.hc-anat__r--orders span { display: flex; align-items: center; gap: 0.4rem; }
.hc-anat__r--orders .hc-ic { color: #5eead4; }
.hc-anat__r--results { grid-area: results; }
.hc-anat__r--results svg { width: 100%; height: auto; margin: 0.3rem 0; }
.hc-anat__r--results .hc-tag { display: inline-flex; }
.hc-anat__trend { fill: none; stroke: #fbbf24; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-anat__r--tl { grid-area: tl; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.hc-anat__h { margin: 0.6rem 0 0.15rem !important; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #67e8f9 !important; }
.hc-anat__h:first-of-type { margin-top: 0 !important; }
.hc-anat__soap { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.5rem; align-items: start; margin-top: 0.55rem; }
.hc-anat__soap b { color: #5eead4; font-family: var(--hc-mono); }
.hc-anat__soap .hc-lines i:first-child { margin-top: 0.35rem; }
.hc-anat__ev { display: flex !important; align-items: center; gap: 0.4rem; margin: 0 !important; color: #94a3b8 !important; font-size: 0.72rem; }
.hc-anat__ev i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #334155; }
.hc-anat__ev.is-now i { background: #2dd4bf; box-shadow: 0 0 8px #2dd4bf; }
.hc-anat__ev.is-now { color: #f8fafc !important; }
.hc-anat__pin {
  position: absolute;
  top: -0.65rem;
  right: -0.65rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #2dd4bf;
  color: #042f2e;
  font: 800 0.74rem var(--font-sans);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.2);
  animation: hc-pin 2.6s ease-in-out infinite;
}
.hc-anat__r.is-active .hc-anat__pin { background: #f8fafc; animation: none; }
.hc-anat__cap { margin: 1rem 0 0 !important; font-size: 0.78rem; color: #64748b !important; }
.hc-anat__legend { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.hc-anat__legend li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.9rem;
  margin: 0;
  padding: 1rem 0.9rem;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.3s;
}
.hc-anat__legend li:hover,
.hc-anat__legend li.is-active { background: rgba(45, 212, 191, 0.06); }
.hc-anat__legend li:focus-visible { outline: 2px solid #5eead4; outline-offset: 0; }
.hc-anat__n {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--hc-line-2);
  font: 700 0.8rem var(--hc-mono);
  color: #94a3b8;
  transition: all 0.3s;
}
.hc-anat__legend li.is-active .hc-anat__n { background: #2dd4bf; border-color: #2dd4bf; color: #042f2e; }
.hc-anat__legend h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.hc-anat__legend p { margin: 0; font-size: 0.88rem; }

/* --- AI pipelines + guardrail flow ------------------------------------ */

.hc-pipe { list-style: none; display: grid; gap: 0.85rem; margin: 0; padding: 0; }
.hc-pipe__s {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--hc-line);
  background: rgba(255, 255, 255, 0.025);
  animation: hc-rise 0.6s var(--hc-ease) both;
  animation-delay: calc(var(--i) * 0.1s);
}
.hc-pipe__s + .hc-pipe__s::before {
  content: "";
  position: absolute;
  left: 2.1rem;
  top: -0.9rem;
  width: 2px;
  height: 0.9rem;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.2), rgba(167, 139, 250, 0.7));
}
.hc-pipe__ic { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 11px; background: var(--hc-violet-soft); color: #c4b5fd; }
.hc-pipe__s b { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #94a3b8; }
.hc-pipe__s i { font-style: normal; color: #f8fafc; font-size: 0.9rem; }
.hc-pipe__s--human { border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.07); }
.hc-pipe__s--human .hc-pipe__ic { background: var(--hc-em-soft); color: #6ee7b7; }

.hc-guard {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.hc-guard::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(167, 139, 250, 0.55) 0 8px, transparent 8px 16px);
  background-size: 32px 2px;
  animation: hc-march 1.2s linear infinite;
}
.hc-guard__s {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  text-align: center;
}
.hc-guard__ic {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: #0b0a1d;
  color: #c4b5fd;
  transition: transform 0.4s var(--hc-ease);
}
.hc-guard__s:hover .hc-guard__ic { transform: translateY(-4px); }
.hc-guard__ic .hc-ic { width: 1.6rem; height: 1.6rem; }
.hc-guard__s b { color: #f8fafc; font-size: 1rem; }
.hc-guard__s span { color: #94a3b8; font-size: 0.85rem; max-width: 12rem; line-height: 1.4; }
.hc-guard__s--human .hc-guard__ic {
  border-color: #34d399;
  background: #04241c;
  color: #6ee7b7;
  box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.08), 0 0 40px rgba(52, 211, 153, 0.35);
}

/* --- Interop map (integration) ---------------------------------------- */

.hc-map {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hc-map__ring {
  position: relative;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 1;
  margin-inline: auto;
}
.hc-map__ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hc-map__orbit { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-dasharray: 3 8; }
.hc-map__ring line { stroke: rgba(148, 163, 184, 0.35); stroke-width: 1; transition: stroke 0.4s; }
/* Dashes flow outward from the hub. The offset moves exactly one dash period
   (6 + 6 = 12) per loop, so the cycle restarts with no visible jump. */
.hc-map__ring line.is-active { stroke: var(--c); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 6; animation: hc-map-flow 0.8s linear infinite; }
@keyframes hc-map-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -12; } }
.hc-map__core {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2), rgba(12, 21, 39, 0.95) 70%);
  border: 1px solid rgba(45, 212, 191, 0.35);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
  box-shadow: 0 0 60px rgba(45, 212, 191, 0.15);
}
.hc-map__core .hc-ic { width: 1.75rem; height: 1.75rem; color: #5eead4; }
.hc-map__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.hc-map__ic {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #0c1527;
  border: 1px solid var(--hc-line-2);
  color: #94a3b8;
  transition: all 0.35s var(--hc-ease);
}
.hc-map__nm { font-size: 0.74rem; font-weight: 600; color: #94a3b8; white-space: nowrap; transition: color 0.3s; }
/* Each system wears its own colour: tinted at rest, filled when selected. */
.hc-map__ic { color: color-mix(in srgb, var(--c) 80%, #fff); border-color: color-mix(in srgb, var(--c) 30%, transparent); }
.hc-map__node:hover .hc-map__ic { color: var(--c); border-color: color-mix(in srgb, var(--c) 70%, transparent); background: color-mix(in srgb, var(--c) 12%, #0c1527); }
.hc-map__node[aria-pressed="true"] .hc-map__ic {
  background: var(--c);
  border-color: var(--c);
  color: #04111a;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 18%, transparent), 0 0 30px color-mix(in srgb, var(--c) 55%, transparent);
}
.hc-map__node[aria-pressed="true"] .hc-map__nm { color: #f8fafc; }
.hc-map__detail {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: 28px;
  border: 1px solid var(--hc-line);
  background: radial-gradient(ellipse 70% 70% at 100% 0%, rgba(45, 212, 191, 0.1), transparent 60%), var(--hc-card);
  min-height: 24rem;
}
.hc-map__panel { animation: hc-panel 0.45s var(--hc-ease); }
.hc-map__panel h3 { margin: 1.25rem 0 0.4rem; font: 700 0.72rem / 1.3 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: #94a3b8; }
.hc-map__panel .hc-kicker { font-size: 0.95rem; letter-spacing: 0.02em; text-transform: none; color: #f8fafc !important; }
.hc-map__panel .hc-kicker .hc-ic { color: var(--c); }
.hc-map__panel .hc-tags li { border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.hc-map__detail { --c: #2dd4bf; border-top: 2px solid var(--c); transition: border-color 0.4s; }
.hc-map__panel .hc-kicker::before { display: none; }
.hc-map__panel p { margin: 0; }
.hc-map__panel .hc-tags { margin-top: 0.4rem; }

/* --- Night monitor (integration) -------------------------------------- */

.hc-night {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 36px;
  border: 1px solid var(--hc-line);
  background:
    radial-gradient(1px 1px at 12% 20%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 32% 70%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 58% 14%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 78% 88%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 92% 36%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(ellipse 40% 50% at 90% 10%, rgba(251, 191, 36, 0.08), transparent 70%),
    #04060d;
}
.hc-night__monitor {
  border-radius: 22px;
  overflow: hidden;
  background: #070c18;
  border: 1px solid var(--hc-line-2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}
.hc-mon { list-style: none; margin: 0; padding: 0.75rem; display: grid; gap: 0.35rem; }
.hc-mon li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5rem auto;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  font-size: 0.82rem;
}
.hc-mon li span:first-child { color: #e2e8f0; }
.hc-mon__bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.hc-mon__fill { display: block; height: 100%; width: var(--w); border-radius: inherit; animation: hc-grow 1.6s var(--hc-ease) both; }
.hc-mon__fill--ok { background: #34d399; }
.hc-mon__fill--warn { background: #fbbf24; }
.hc-mon__fill--bad { background: #fb7185; }
.hc-mon__alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0.75rem 0.9rem !important;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.3);
  font-size: 0.8rem;
  color: #fda4af !important;
  animation: hc-alert 2.4s ease-in-out infinite;
}

/* Hover feedback is colour and border only: nothing lifts, slides or scales. */
.hc-htl__step:hover,
.hc-bento__tile:hover,
.hc-related__card:hover,
.hc-proof__feature:hover,
.hc-proof__list a:hover,
.hc-stack li:hover,
.hc-layers__item:hover,
.hc-guard__s:hover .hc-guard__ic,
.hc-map__node:hover .hc-map__ic,
.hc-proc__step:hover .hc-proc__n,
.hc-related__card:hover .hc-related__go,
.hc-rows__row:hover > * {
  transform: none;
}

/* Performance: hero SVG scenes are static drawings. Per-element CSS animation
   inside a full-viewport SVG forces a restyle and repaint of the whole drawing
   every frame (it cost the AI page ~13 s of main-thread work in Lighthouse).
   Motion comes from composited layers instead: the whole scene breathes as one
   GPU layer, the floating cards drift, and a few SMIL dots travel the paths. */
.hc-scene * {
  animation: none !important;
}
.hc-hero__scene {
  will-change: opacity, transform;
  animation: hc-scene-breathe 9s ease-in-out infinite alternate;
}
@keyframes hc-scene-breathe {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.025); }
}
.hc-float > * { will-change: transform; }

/* --- Reveal ------------------------------------------------------------ */

html.hc-js [data-hc-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--hc-ease), transform 0.9s var(--hc-ease);
}
html.hc-js [data-hc-reveal].is-in {
  opacity: 1;
  transform: none;
}
html.hc-js .hc-rows [data-hc-reveal]:nth-child(2) { transition-delay: 0.06s; }
html.hc-js .hc-rows [data-hc-reveal]:nth-child(3) { transition-delay: 0.12s; }

/* --- Keyframes --------------------------------------------------------- */

@keyframes hc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hc-breathe { from { opacity: 0.7; transform: scale(0.96); } to { opacity: 1; transform: scale(1.04); } }
@keyframes hc-dash { to { stroke-dashoffset: -28; } }
@keyframes hc-dash-slow { to { stroke-dashoffset: -400; } }
@keyframes hc-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -1; } }
@keyframes hc-halo { 0%, 100% { opacity: 0.2; transform: scale(0.85); } 50% { opacity: 0.5; transform: scale(1.05); } }
@keyframes hc-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes hc-twinkle { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes hc-eq { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
@keyframes hc-scan { from { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { transform: translateY(900px); opacity: 0; } }
@keyframes hc-marquee { to { transform: translateX(-50%); } }
@keyframes hc-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(0.9rem); } }
@keyframes hc-panel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hc-ping { from { transform: scale(0.75); opacity: 0.9; } to { transform: scale(1.45); opacity: 0; } }
@keyframes hc-pin { 0%, 100% { box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.2); } 50% { box-shadow: 0 0 0 9px rgba(45, 212, 191, 0.05); } }
@keyframes hc-leak { 0%, 100% { transform: scaleY(1); transform-origin: bottom; } 50% { transform: scaleY(0.88); transform-origin: bottom; } }
@keyframes hc-spin { to { transform: rotate(360deg); } }
@keyframes hc-march { to { background-position: 32px 0; } }
@keyframes hc-grow { from { width: 0; } }
@keyframes hc-alert { 0%, 100% { border-color: rgba(251, 113, 133, 0.3); } 50% { border-color: rgba(251, 113, 133, 0.7); } }

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 74.99em) {
  .hc-rcmbars { display: none; }
  .hc-related__rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
  }
  .hc-related__rail li { flex: 0 0 min(16rem, 78vw); scroll-snap-align: start; }
  .hc-float--hide-sm { display: none; }
}

@media (max-width: 63.99em) {
  .hc-split,
  .hc-split--rev,
  .hc-split--index,
  .hc-split--ba,
  .hc-story__grid,
  .hc-tabs,
  .hc-tabs__panel,
  .hc-tabs--code .hc-tabs__panel,
  .hc-kpi,
  .hc-proof,
  .hc-faq__grid,
  .hc-cta__panel,
  .hc-anat,
  .hc-map,
  .hc-night,
  .hc-zz__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .hc-split--sticky .hc-split__pin,
  .hc-split--codes .hc-split__pin,
  .hc-split--index > .hc-head,
  .hc-faq__aside { position: static; }
  .hc-split .hc-head { margin-bottom: 0.5rem; }
  .hc-split--rev > :first-child { order: 2; }
  .hc-shield { display: none; }

  .hc-story__visual { position: relative; top: 0; min-height: 0; margin-bottom: 1rem; }
  .hc-story--flip .hc-story__visual { order: 0; }
  .hc-story__step { min-height: 0; padding-block: 1.5rem; }
  html.hc-js .hc-story__step { opacity: 1; }

  .hc-tabs__list {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.4rem;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
  }
  .hc-tabs__tab { flex: none; white-space: nowrap; border: 1px solid var(--hc-line); border-radius: 999px; padding: 0.6rem 1rem; }
  .hc-tabs__tab[aria-selected="true"] { box-shadow: none; border-color: #2dd4bf; }
  .hc-tabs__panel { min-height: 0; }

  .hc-zz__row--flip .hc-zz__visual { order: 0; }
  .hc-zz__visual > *,
  .hc-zz__row--flip .hc-zz__visual > * { transform: none; }
  .hc-zz__visual { min-height: 0; }

  .hc-proof__list { margin-top: 0; }
  .hc-kpi__board { transform: none; }
  .hc-anat__chart { transform: none; }
  .hc-vs { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .hc-vs__amp { display: none; }
  .hc-vs__side--b { margin-top: 0; }
  .hc-duo { grid-template-columns: minmax(0, 1fr); }
  .hc-duo__card--offset { margin-top: 0; }
  .hc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-bento__tile--wide { grid-column: span 2; }
  .hc-bento__tile--tall { grid-row: auto; }
  .hc-rows--guard { grid-template-columns: minmax(0, 1fr); }
  .hc-guard { grid-template-columns: repeat(5, minmax(9rem, 1fr)); overflow-x: auto; padding-bottom: 1rem; }

  .hc-hacc { flex-direction: column; height: auto; }
  .hc-hacc__item { flex: none; min-height: 4.25rem; }
  .hc-hacc__item.is-open { flex: none; }
  .hc-hacc__spine { position: relative; flex-direction: row; padding: 1.25rem 1.5rem; }
  .hc-hacc__spine span { writing-mode: horizontal-tb; transform: none; }
  .hc-hacc__item.is-open .hc-hacc__spine { display: none; }
  .hc-hacc__body { position: relative; min-width: 0; display: none; }
  .hc-hacc__item.is-open .hc-hacc__body { display: block; }

  .hc-proc { grid-auto-flow: row; gap: 0; }
  .hc-proc::before { top: 0; bottom: 0; left: 1.6rem; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, #2dd4bf, rgba(52, 211, 153, 0.2)); }
  .hc-proc__step,
  .hc-proc__step:nth-child(even) { margin-top: 0; padding: 0 0 2.25rem 4.75rem; }
  .hc-proc__step:nth-child(even) .hc-proc__n,
  .hc-proc__n { top: 0; }

  .hc-define__grid { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hc-define__term--ehr { text-align: left; }
  .hc-define__term--ehr p { margin-left: 0; }
  .hc-define__vs { display: none; }

  .hc-hero__vignette {
    background:
      radial-gradient(ellipse 70% 45% at 50% 50%, rgba(6, 10, 19, 0.92), rgba(6, 10, 19, 0.6) 60%, transparent 90%),
      linear-gradient(180deg, transparent 70%, var(--page, #070b14) 100%);
  }
}

@media (max-width: 47.99em) {
  .hc-float { display: none; }
  .hc-rcmline__s span { display: none; }
  .hc-rcmline__s:nth-child(1) span,
  .hc-rcmline__s:nth-child(10) span { display: block; position: absolute; top: 1.5rem; font-size: 0.66rem; }
  .hc-rcmline__s:nth-child(1) span { left: 0; }
  .hc-rcmline__s:nth-child(10) span { right: 0; }
  .hc-zz__visual { padding: 1.5rem; border-radius: 24px; }
  .hc-phone { width: 11rem; }
  .hc-tele { max-width: 17rem; }
  .hc-tele__note { left: -0.5rem; }
  .hc-kanban__col { min-height: 8rem; }
  .hc-hero { min-height: 0; padding-bottom: 5rem; }
  .hc-hero__scene { opacity: 0.6; }
  .hc-hero--hub .hc-scene,
  .hc-hero--int .hc-scene { left: 50%; width: 240vw; translate: -50% 0; }
  .hc-hero__title { font-size: clamp(2.1rem, 9.5vw, 2.9rem); }
  .hc-hero__cue { display: none; }
  .hc-hero__ctas { gap: 0.6rem; margin-top: 1.75rem; }
  .hc-hero__ctas .btn { width: 100%; }
  .hc-btn-lg { padding: 0.875rem 1rem; font-size: 0.84rem; letter-spacing: 0.01em; }
  .hc-cta__panel { padding: 1.75rem 1.25rem; border-radius: 26px; gap: 1.75rem; }
  .hc-cta__bring { padding: 1.25rem; border-radius: 20px; }
  .hc-ba__stage { display: block; min-height: 0; }
  .hc-ba__side { position: relative; padding: 1.5rem; }
  .hc-ba__side--before,
  .hc-ba__side--after { padding: 1.5rem; }
  .hc-ba__clip { position: relative; clip-path: none; }
  .hc-ba__handle,
  .hc-ba__range,
  .hc-ba__hint { display: none; }
  .hc-bento { grid-template-columns: minmax(0, 1fr); }
  .hc-bento__tile--wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .hc-kpi__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-proof__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-proof__feature { min-height: 0; padding-top: 12rem; }
  .hc-anat__chart {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "banner" "side" "note" "orders" "results" "tl";
  }
  .hc-index__link { grid-template-columns: 2.25rem minmax(0, 1fr) auto; padding-inline: 0.25rem; }
  .hc-index__go { width: 2.5rem; height: 2.5rem; }
  .hc-map__nm { font-size: 0.64rem; }
  .hc-map__ic { width: 2.6rem; height: 2.6rem; }
  .hc-map__ic .hc-ic { width: 1rem; height: 1rem; }
  .hc-map__core { font-size: 0.6rem; }
  .hc-layers__item,
  .hc-split--rev .hc-layers__item { margin: 0; }
  .hc-mon li { grid-template-columns: minmax(0, 1fr) auto; }
  .hc-mon__bar { display: none; }
  .hc-cta__indi { display: none; }
  .hc-cta__bring h3 { padding-right: 0; }
  .hc-define__word { font-size: clamp(4rem, 22vw, 6rem); }
  .hc-guard { grid-template-columns: minmax(0, 1fr); overflow: visible; gap: 1.25rem; }
  .hc-guard::before { top: 0; bottom: 0; left: 2.25rem; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(167, 139, 250, 0.6), rgba(52, 211, 153, 0.5)); animation: none; }
  .hc-guard__s { flex-direction: row; align-items: center; text-align: left; gap: 1rem; flex-wrap: wrap; }
  .hc-guard__ic { margin: 0; flex: none; }
  .hc-guard__s span { flex-basis: calc(100% - 5.5rem); margin-left: 5.5rem; margin-top: -1.5rem; }
}

/* Reduced motion. Android Chrome reports it whenever battery saver is on, so a
   blanket "animation: none" left phones with a static section. Ambient loops
   (marquee, hero scene, pulses, mascot) keep running; parallax, bobbing and
   scroll-linked movement are removed, and reveals fade without travelling. */
@media (prefers-reduced-motion: reduce) {
  html.hc-js [data-hc-reveal] { transform: none; }
  .hc-hero__scene,
  .hc-float { transform: none !important; }
  .hc-float > * { animation: none; }
  .hc-zz__visual > *,
  .hc-zz__row--flip .hc-zz__visual > *,
  .hc-kpi__board,
  .hc-anat__chart { transform: none; }
  .hc-hacc__item { transition-duration: 0.2s; }
}
