/* Healthcare Industry page — section styles layered on top of home.css.
   Reuses tokens, .section, .section-head, .eyebrow, .pill-cta, .faq, nav, footer. */

/* Intro under a section head (single-column variant) */
.hx-lead {
  font-size: 17px;
  line-height: 1.6;
  color: inherit;
  max-width: 720px;
  margin: 0;
}
.section--stone .hx-lead { color: rgba(255,255,255,0.74); }

/* ── Card grids ──────────────────────────────────────────────────────── */
.hx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.hx-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hx-grid--3 { grid-template-columns: repeat(3, 1fr); }

.hx-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: transform 320ms var(--ease-out), border-color 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.hx-card:hover {
  transform: translateY(-4px);
  border-color: #c9c9d0;
  box-shadow: 0 24px 50px -30px rgba(0,0,0,0.4);
}
.hx-card__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.36px;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hx-card__icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--coral), white 86%);
  color: color-mix(in oklab, var(--coral), black 8%);
  margin-bottom: 4px;
}
.hx-card__icon svg { width: 22px; height: 22px; }
.hx-card h3 {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.24px;
  margin: 0;
  color: var(--ink);
}
.hx-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4a4a52;
  margin: 0;
}
.hx-card__evi {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.5;
}
.hx-card__evi b {
  color: color-mix(in oklab, var(--coral), black 6%);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

/* Dark-section variant (charcoal --section--stone) */
.section--stone .hx-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}
.section--stone .hx-card:hover {
  border-color: rgba(255,255,255,0.26);
  box-shadow: 0 24px 50px -30px rgba(0,0,0,0.7);
}
.section--stone .hx-card h3 { color: #fff; }
.section--stone .hx-card p { color: rgba(255,255,255,0.7); }
.section--stone .hx-card__kicker { color: rgba(255,255,255,0.5); }
.section--stone .hx-card__evi {
  border-top-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
}
.section--stone .hx-card__evi b { color: color-mix(in oklab, var(--coral), white 28%); }
.section--stone .hx-card__icon {
  background: rgb(from var(--coral) r g b / 0.14);
  color: color-mix(in oklab, var(--coral), white 30%);
}

/* Use-case rows (two-up, with a workflow → result split) */
.hx-use {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
}
.hx-use__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -1px;
  color: color-mix(in oklab, var(--coral), black 4%);
}

/* ── Industries marquee image fill (agentic page uses div, not image-slot) */
.ind-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  z-index: 0;
}

/* ── Problem "fault ledger" (agentic page) ───────────────────────────── */
.pbx__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}
.pbx__intro {
  position: sticky;
  top: 96px;
}
.pbx__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -1px;
  margin: 14px 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.pbx__lead {
  font-size: 16px;
  line-height: 1.6;
  color: #54545c;
  margin: 0 0 32px;
  max-width: 380px;
}
.pbx__stat-big {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  max-width: 320px;
}
.pbx__stat-big-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -3px;
  color: var(--ink);
}
.pbx__stat-big-num span { color: var(--coral); font-size: 0.5em; letter-spacing: -1px; }
.pbx__stat-big-lbl {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
}

.pbx__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.pbx__row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 34px 8px 34px 0;
  border-bottom: 1px solid var(--hairline);
  transition: background 360ms var(--ease-out), padding 360ms var(--ease-out);
}
.pbx__row::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px; bottom: -1px;
  width: 2px;
  background: var(--coral);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 420ms var(--ease-out);
}
.pbx__row:hover {
  background: linear-gradient(90deg, rgba(20,20,28,0.035), transparent 70%);
  padding-left: 20px;
}
.pbx__row:hover::before { transform: scaleY(1); }
.pbx__num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
  color: rgba(20,20,28,0.2);
  transition: color 360ms var(--ease-out);
}
.pbx__row:hover .pbx__num { color: var(--coral); }
.pbx__body { max-width: 480px; }
.pbx__body h3 {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.24px;
  margin: 0 0 10px;
  color: var(--ink);
}
.pbx__body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4a4a52;
  margin: 0;
}
.pbx__evi {
  text-align: right;
  min-width: 132px;
  max-width: 168px;
  padding-top: 2px;
}
.pbx__evi b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.8px;
  color: color-mix(in oklab, var(--coral), black 6%);
}
.pbx__evi span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--slate);
}

@media (max-width: 900px) {
  .pbx__grid { grid-template-columns: 1fr; gap: 36px; }
  .pbx__intro { position: static; }
  .pbx__row { grid-template-columns: 40px 1fr; }
  .pbx__evi { grid-column: 2; text-align: left; margin-top: 6px; max-width: none; }
  .pbx__evi b { display: inline; }
  .pbx__evi span { display: inline; margin-left: 10px; }
}

/* ── Bento grid (Challenges) ─────────────────────────────────────────── */
.hx-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(186px, auto);
  gap: 20px;
}
.hx-bento__tall { grid-column: 1; grid-row: 1 / span 3; }
.hx-bento__wide {
  grid-column: 2 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: center;
}
.hx-bento .hx-card { overflow: hidden; }

/* Visual mock container */
.hx-mock {
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20,20,28,0.035), rgba(20,20,28,0));
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 12px;
  height: 104px;
}
.hx-mock svg { width: 100%; height: 100%; display: block; }
.hx-mock--tall { height: 188px; }
/* Tall card: let the mock grow to fill the column so the card has no dead
   space and its bottom aligns flush with the wide card below. */
.hx-bento__tall { display: flex; flex-direction: column; }
.hx-bento__tall .hx-mock--tall { height: auto; flex: 1 1 auto; min-height: 196px; }
.hx-bento__tall .hx-card__evi { margin-top: 18px; }
.hx-mock--wide { height: 100%; min-height: 150px; }
.hx-bento__wide .hx-mock--wide { order: 2; }

/* Mock primitives (design-system colors) */
.m-faint { fill: rgba(20,20,28,0.18); }
.m-faint-stroke { fill: none; stroke: rgba(20,20,28,0.2); stroke-width: 2; }
.m-line { fill: none; stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-node { fill: #fff; stroke: var(--coral); stroke-width: 2.4; }
.m-node--end { fill: var(--coral); }
.m-stroke-dark { fill: none; stroke: rgba(20,20,28,0.4); stroke-width: 2; stroke-linecap: round; }
.m-axis { stroke: rgba(20,20,28,0.18); stroke-width: 1.5; }
.m-bar { fill: rgba(20,20,28,0.14); }
.m-bar--accent { fill: var(--coral); }
.m-target { stroke: var(--coral); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: 0.7; }
.m-q { fill: var(--coral); font-family: var(--font-display); font-size: 13px; font-weight: 600; }
.m-box-accent { fill: rgb(from var(--coral) r g b / 0.08); stroke: var(--coral); stroke-width: 2; }
.m-stroke-accent { fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; opacity: 0.7; }
.m-broken { fill: none; stroke: rgba(20,20,28,0.3); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 4; }
.m-ring-track { fill: none; stroke: rgba(20,20,28,0.12); stroke-width: 4; }
.m-ring-accent { fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; }
.m-pct { fill: var(--ink); font-family: var(--font-display); font-size: 9px; font-weight: 500; text-anchor: middle; }
.m-track-done { stroke: var(--coral); stroke-width: 3; stroke-linecap: round; }
.m-track-dash { stroke: rgba(20,20,28,0.3); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 6; }
.m-step-done { fill: var(--coral); }
.m-step-check { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.m-step-stall { fill: #fff; stroke: #d8564f; stroke-width: 2.4; }
.m-step-x { stroke: #d8564f; stroke-width: 2.4; stroke-linecap: round; }
.m-step-lbl { fill: rgba(20,20,28,0.5); font-family: var(--font-mono); font-size: 11px; text-anchor: middle; text-transform: uppercase; }
.m-step-lbl--stall { fill: #d8564f; }

.hx-bento__wide-txt { display: flex; flex-direction: column; gap: 12px; }
.hx-bento__wide-txt .hx-card__evi { margin-top: 6px; }

/* ── Use cases (parallax scroll feature) ─────────────────────────────── */
.ucp { display: flex; flex-direction: column; gap: 60px; margin-top: 8px; }
.ucp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 440px;
}
.ucp-row--rev .ucp-text { order: 2; }
.ucp-row--rev .ucp-visual { order: 1; }

.ucp-text { max-width: 460px; }
.ucp-row--rev .ucp-text { justify-self: end; }
.ucp-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}
.ucp-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.9px;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.ucp-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #4a4a52;
  margin: 0;
}

.ucp-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  justify-self: center;
}
.ucp-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ucp-num {
  position: absolute;
  left: 22px; bottom: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2px;
  color: rgba(255,255,255,0.34);
}

/* Scroll-driven reveal: base = visible end-state (robust). When the page has
   JS (html.anim-ready) and motion is allowed, rows start hidden and animate
   in via .is-in (added by IntersectionObserver). Parallax y handled in JS. */
@media (prefers-reduced-motion: no-preference) {
  html.anim-ready .ucp-visual {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transition: clip-path 0.9s cubic-bezier(0.2,0.7,0.2,1), opacity 0.7s ease;
  }
  html.anim-ready .ucp-row--rev .ucp-visual { clip-path: inset(0 0 0 100%); }
  html.anim-ready .ucp-visual.is-in { clip-path: inset(0 0% 0 0); opacity: 1; }
  html.anim-ready .ucp-text {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
  }
  html.anim-ready .ucp-text.is-in { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  .ucp-row, .ucp-row--rev .ucp-text, .ucp-row--rev .ucp-visual { grid-template-columns: 1fr; order: 0; }
  .ucp-row { gap: 28px; min-height: 0; }
  .ucp-text { order: 1 !important; max-width: 100%; }
  .ucp-visual { order: 2 !important; max-width: 100%; justify-self: stretch; }
}

/* ── Why AutoArmy (dark carousel, mockup-dominant cards) ─────────────── */
.why2-head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 44px;
}
.why2-head-l h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin: 14px 0 0;
  color: #fff;
  text-wrap: balance;
}
.why2-head-r {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0;
  align-self: end;
}
.why2-rail {
  display: block;
  overflow: hidden;
  padding: 4px 2px 8px;
}
.why2-track {
  display: flex;
  gap: 22px;
  width: 100%;
  transition: transform 480ms var(--ease-out);
  will-change: transform;
}
.why2-card {
  flex: 0 0 calc((100% - 22px) / 2);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.why2-card:hover { border-color: rgba(255,255,255,0.24); transform: translateY(-4px); }
.why2-mock {
  flex: 1 1 auto;
  min-height: 248px;
  color: var(--coral);
  background:
    radial-gradient(70% 60% at 80% 14%, rgb(from var(--coral) r g b / 0.1), transparent 60%),
    rgba(0,0,0,0.18);
  display: grid;
  place-items: center;
  padding: 22px;
}
.why2-mock svg { width: 100%; height: 100%; display: block; }
.why2-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 24px 26px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.why2-body p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.why2-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.why2-body h3 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.24px;
  margin: 0;
  color: #fff;
  text-wrap: balance;
}
.why2-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}
.why2-btn:disabled { opacity: 0.32; cursor: default; }
.why2-btn:disabled:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.18); }
.why2-dots { display: flex; align-items: center; gap: 9px; }
.why2-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  transition: width 280ms var(--ease-out), background 280ms var(--ease-out);
}
.why2-dot:hover { background: rgba(255,255,255,0.4); }
.why2-dot.is-active { width: 26px; background: var(--coral); }
.why2-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.why2-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.34); }
.why2-btn:active { transform: scale(0.94); }
@media (max-width: 760px) {
  .why2-head { grid-template-columns: 1fr; gap: 14px; }
  .why2-card { flex-basis: 100%; min-height: 480px; }
}

/* ── CTA bands (dark, centered) ──────────────────────────────────────── */
.hx-cta {
  position: relative;
  padding: 104px 0;
  background:
    radial-gradient(60% 70% at 50% 30%, rgb(from var(--coral) r g b / 0.22), transparent 60%),
    linear-gradient(152deg, #0a1622 0%, #070b14 50%, #04060c 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hx-cta__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hx-cta .eyebrow { color: rgba(255,255,255,0.6); justify-content: center; }
.hx-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -1.2px;
  margin: 0;
  color: #fff;
  text-wrap: balance;
}
.hx-cta p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.76);
  margin: 0;
  max-width: 560px;
}
.hx-cta__inner .pill-cta { margin-top: 6px; }

/* Hero: healthcare metric labels reuse hero classes; nothing extra needed. */

/* Hero mockup — agent orchestration run list (agentic service page) */
.ag-run {
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 11px 12px;
}
.ag-run__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 9px;
}
.ag-run__top b { color: #4fe0b0; font-weight: 500; }
.ag-run__list { display: flex; flex-direction: column; gap: 6px; }
.ag-run__agent {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}
.ag-run__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.ag-run__agent--done .ag-run__dot { background: #4fe0b0; box-shadow: 0 0 6px rgba(79,224,176,0.7); }
.ag-run__agent--active {
  background: rgb(from var(--coral) r g b / 0.08);
  border-color: rgb(from var(--coral) r g b / 0.28);
}
.ag-run__agent--active .ag-run__dot { background: var(--coral); box-shadow: 0 0 8px var(--coral); animation: hero-dot-pulse 1.8s ease-in-out infinite; }
.ag-run__agent--gate { opacity: 0.82; }
.ag-run__agent--gate .ag-run__dot { background: #f2c14e; }
.ag-run__name { font-size: 12px; font-weight: 500; color: #fff; }
.ag-run__task {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ag-run__status {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}
.ag-run__status--run { color: var(--coral); }
.ag-run__status--gate {
  color: #f2c14e;
  border: 1px solid rgb(242,193,78,0.35);
  border-radius: 9999px;
  padding: 2px 7px;
}

/* Hero mockup — simple summary stat row */
.ag-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.ag-summary__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.ag-summary__num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.8px;
  color: #fff;
}
.ag-summary__num span {
  font-size: 15px;
  margin-left: 1px;
  color: var(--coral);
}
.ag-summary__lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Hero mockup — clinical EKG/vitals strip */
.hx-ekg {
  position: relative;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 11px 14px;
  display: grid;
  gap: 7px;
}
.hx-ekg__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hx-ekg__top b {
  color: #4fe0b0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.hx-ekg__wave { width: 100%; height: 36px; display: block; }
.hx-ekg__wave path {
  fill: none;
  stroke: url(#ekgGrad);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgb(from var(--coral) r g b / 0.55));
}

/* Hero mockup — patient risk cohorts */
.hx-cohorts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hx-cohort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.66);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px;
  padding: 3px 9px 3px 7px;
}
.hx-cohort i { width: 6px; height: 6px; border-radius: 50%; }
.hx-cohort--high i   { background: #ff6b5e; box-shadow: 0 0 7px #ff6b5e; }
.hx-cohort--watch i  { background: #f2c14e; box-shadow: 0 0 7px #f2c14e; }
.hx-cohort--stable i { background: #3fd6a6; box-shadow: 0 0 7px #3fd6a6; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .hx-grid, .hx-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hx-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(180px, auto); }
  .hx-bento__tall { grid-column: 1 / -1; grid-row: auto; }
  .hx-bento__wide { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1fr; }
  .hx-bento__wide .hx-mock--wide { order: 0; min-height: 120px; }
  .hx-mock--tall { height: 150px; }
}
@media (max-width: 760px) {
  .hx-grid, .hx-grid--2, .hx-grid--3 { grid-template-columns: 1fr; }
  .hx-bento { grid-template-columns: 1fr; }
  .hx-cta { padding: 72px 0; }
}
