/* Page styles of /healthcare/custom-healthcare-software-development. Base tokens, type and components are those
   of the RCM page (copied from rcm.css); the page's own pieces are at the end. */
:root {
  --brand: 11 90 157; --accent: 60 123 177; --navy: 37 50 67; --ink: 37 50 67; --muted: 69 71 78;
  --line: 217 226 236; --surface: 255 255 255; --page: 247 249 252;
  --soft: 234 244 251; --soft2: 243 248 252; --good: 26 128 84; --amber: 200 128 30;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: 64 140 208; --accent: 125 174 216; --navy: 22 31 43; --ink: 230 235 242; --muted: 170 178 190;
    --line: 38 58 82; --surface: 14 28 45; --page: 9 20 34;
    --soft: 18 42 68; --soft2: 13 32 52; --good: 80 190 138; --amber: 232 172 82;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: 64 140 208; --accent: 125 174 216; --navy: 22 31 43; --ink: 230 235 242; --muted: 170 178 190;
  --line: 38 58 82; --surface: 14 28 45; --page: 9 20 34;
  --soft: 18 42 68; --soft2: 13 32 52; --good: 80 190 138; --amber: 232 172 82;
  color-scheme: dark;
}
:root { box-sizing: border-box; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px); }
body { background: rgb(var(--surface)); color: rgb(var(--ink)); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid rgb(var(--brand)); outline-offset: 3px; border-radius: 4px; }

.h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; }
.h2 { font-size: clamp(2rem, 5.4vw, 48px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -0.012em; font-weight: 600; }
.tone { color: rgb(var(--accent)); }
.tone-light { color: #8DBBE3; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.19rem); line-height: 1.65; color: rgb(var(--muted)); max-width: 62ch; }
/* section kickers: monospace capitals after a short rule (the home page's "Compliance & security" style);
   dark sections keep their own colour, and the rule follows it */
.kicker { display: flex; align-items: center; gap: .75rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--accent)); }
.kicker::before { content: ""; flex: none; width: 24px; height: 1px; background: currentColor; }
.text-center .kicker { justify-content: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-size: .9375rem; font-weight: 600; border-radius: 999px; padding: .85rem 1.3rem; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); white-space: nowrap; }
.btn-primary { background: rgb(var(--brand)); color: #fff; }
.btn-primary:hover { background: rgb(var(--accent)); }
.btn-primary::after { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 10L10 4M5 4h5v5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 10L10 4M5 4h5v5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
:root[data-theme="dark"] .btn-primary:hover { background: rgb(var(--brand) / .82); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary:hover { background: rgb(var(--brand) / .82); } }
.btn-ghost { border: 1px solid rgb(var(--line)); color: rgb(var(--ink)); background: rgb(var(--surface)); }
.btn-ghost:hover { border-color: rgb(var(--brand)); color: rgb(var(--brand)); }
@media (max-width: 767px) { .btn { font-size: .9375rem; } } /* 15px */
/* hero diagram */
.d-node { fill: rgb(var(--surface)); stroke: rgb(var(--line)); }
.d-text { fill: rgb(var(--ink)); font-family: inherit; }
.d-muted { fill: rgb(var(--muted)); }
.d-brand { stroke: rgb(var(--brand)); }
.clps { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.clps > * { overflow: hidden; min-height: 0; }
.open > .clps, .clps.open { grid-template-rows: 1fr; }
/* case studies */
.case-tab { flex: none; border-radius: 999px; padding: .65rem 1.25rem; font-size: .95rem; font-weight: 500; color: rgb(var(--muted)); background: rgb(var(--soft2)); border: 1px solid rgb(var(--line)); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.case-tab:hover { color: rgb(var(--brand)); border-color: rgb(var(--accent)); }
.case-tab[aria-selected="true"] { background: rgb(var(--brand)); border-color: rgb(var(--brand)); color: #fff; }
.case-panel[hidden] { display: none !important; }
.case-panel:not([hidden]) { animation: caseIn .5s var(--ease); }
@keyframes caseIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.case-tags li { padding: 0 1rem; border-left: 1px solid rgb(var(--line)); }
.case-tags li:first-child { padding-left: 0; border-left: 0; }
.case-label { padding-left: .75rem; border-left: 3px solid rgb(var(--brand)); font-weight: 600; line-height: 1.2; }
/* case study visual: fixed light panel (the fill images carry this same background) */
.case-visual { display: flex; align-items: center; justify-content: center; background: #F3F8FC; }
.case-visual img { display: block; width: 100%; height: 100%; max-height: 640px; object-fit: contain; }
@media (min-width: 1024px) { .case-visual { border-left: 1px solid rgb(var(--line)); } }
.phone { width: 250px; height: 500px; border-radius: 38px; border: 9px solid #253243; background: #fff; box-shadow: 0 30px 60px -25px rgb(37 50 67 / .45); overflow: hidden; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 92px; height: 20px; background: #253243; border-radius: 0 0 14px 14px; z-index: 1; }
@media (max-width: 640px) { .case-tags li { padding: 0 .7rem; } }

.tscroll { scroll-snap-type: x mandatory; scrollbar-width: none; }
.tscroll::-webkit-scrollbar { display: none; }
.tscroll > * { scroll-snap-align: start; }

.faq-q[aria-expanded="true"] .chev { transform: rotate(45deg); }
.chev { transition: transform .35s var(--ease); }

.field { width: 100%; border: 1px solid rgb(var(--line)); background: rgb(var(--surface)); color: rgb(var(--ink)); border-radius: 12px; padding: .8rem .95rem; font-size: 1rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.field:focus { outline: none; border-color: rgb(var(--brand)); box-shadow: 0 0 0 3px rgb(var(--brand) / .18); }
.field[aria-invalid="true"] { border-color: #C2413A; }

.logos { filter: none; }
.brand-logo { display: block; height: 28px; width: auto; }
.brand-logo.on-dark { filter: brightness(0) invert(1); }
:root[data-theme="dark"] .brand-logo { filter: brightness(0) invert(1); }
:root[data-theme="dark"] .logos { filter: invert(1) brightness(1.3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logos, :root:not([data-theme="light"]) .brand-logo { filter: invert(1) brightness(1.3); } }

#mobileCta { bottom: 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); transform: translateY(120%); transition: transform .4s var(--ease); }
#mobileCta.show { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .g-bar, .chain-line { transform: none; stroke-dashoffset: 0; }
}
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
.icon-tile { display: inline-flex; height: 48px; width: 48px; flex: none; align-items: center; justify-content: center; border-radius: 14px; background: rgb(var(--soft)); color: rgb(var(--brand)); transition: background-color .3s var(--ease), color .3s var(--ease); }
.reg-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; border: 1px solid rgb(var(--line)); background: rgb(var(--soft2)); font-size: .88rem; font-weight: 600; color: rgb(var(--ink)); transition: border-color .25s var(--ease), color .25s var(--ease); }
.reg-chip svg { color: rgb(var(--brand)); }
.reg-chip:hover { border-color: rgb(var(--accent)); color: rgb(var(--brand)); }

/* segments */
.seg-tab { display: flex; flex: none; align-items: center; gap: .75rem; width: auto; border: 1px solid rgb(var(--line)); background: rgb(var(--surface)); border-radius: 14px; padding: .7rem .95rem; font-size: .95rem; font-weight: 500; color: rgb(var(--muted)); text-align: left; transition: all .25s var(--ease); white-space: nowrap; }
.seg-ic { display: inline-flex; height: 32px; width: 32px; flex: none; align-items: center; justify-content: center; border-radius: 10px; background: rgb(var(--soft)); color: rgb(var(--brand)); transition: all .25s var(--ease); }
.seg-tab:hover { color: rgb(var(--ink)); border-color: rgb(var(--accent)); }
.seg-tab[aria-selected="true"] { color: rgb(var(--ink)); border-color: rgb(var(--brand)); }
.seg-tab[aria-selected="true"] .seg-ic { background: rgb(var(--brand)); color: #fff; }
@media (min-width: 1024px) { .seg-tab { white-space: normal; width: 100%; } }
.seg-panel[hidden], .svc-panel[hidden], .rm-panel[hidden] { display: none !important; }
.seg-panel:not([hidden]), .svc-panel:not([hidden]), .rm-panel:not([hidden]) { animation: caseIn .45s var(--ease); }
.seg-item { display: flex; gap: .75rem; border: 1px solid rgb(var(--line)); background: rgb(var(--soft2)); border-radius: 14px; padding: .85rem 1rem; font-weight: 500; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.seg-item:hover { border-color: rgb(var(--accent)); background: rgb(var(--surface)); }

/* outcome bars */
.obar { position: relative; display: grid; width: 100%; grid-template-columns: minmax(120px, 190px) 1fr 44px; align-items: center; gap: .9rem; padding: .45rem .5rem; border-radius: 10px; text-align: left; transition: background-color .25s var(--ease); }
.obar-l { font-size: .88rem; font-weight: 500; color: rgb(var(--ink)); }
.obar-track { height: 12px; border-radius: 99px; background: rgb(var(--line) / .6); overflow: hidden; }
.obar-track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, rgb(var(--accent)), rgb(var(--brand))); transition: width 1s var(--ease); transition-delay: var(--d); }
.in-view .obar-track i { width: var(--w); }
.obar-v { font-size: .9rem; font-weight: 700; color: rgb(var(--brand)); text-align: right; }
.obar-tip { position: absolute; right: .5rem; bottom: calc(100% - 2px); z-index: 5; padding: .35rem .6rem; border-radius: 8px; background: #253243; color: #fff; font-size: .78rem; font-weight: 500; white-space: nowrap; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.obar:hover, .obar:focus-visible, .obar.on { background: rgb(var(--soft2)); }
.obar:hover .obar-tip, .obar:focus-visible .obar-tip { opacity: 1; transform: none; }
.obars:has(.obar:hover) .obar:not(:hover) .obar-track i { opacity: .35; }
.obar-track i { transition: width 1s var(--ease), opacity .25s var(--ease); }
@media (max-width: 640px) { .obar { grid-template-columns: 110px 1fr 38px; gap: .6rem; } .obar-l { font-size: .8rem; } }

/* service tabs */
.svc-tab { display: flex; flex: none; align-items: center; gap: .7rem; border-radius: 12px; padding: .7rem .9rem; font-size: .95rem; font-weight: 500; color: rgb(var(--muted)); text-align: left; border: 1px solid transparent; transition: all .25s var(--ease); white-space: nowrap; }
.svc-ic { display: inline-flex; height: 32px; width: 32px; flex: none; align-items: center; justify-content: center; border-radius: 10px; background: rgb(var(--soft)); color: rgb(var(--brand)); transition: all .25s var(--ease); }
.svc-tab:hover { color: rgb(var(--ink)); background: rgb(var(--soft2)); }
.svc-tab[aria-selected="true"] { color: rgb(var(--ink)); background: rgb(var(--surface)); border-color: rgb(var(--line)); box-shadow: 0 10px 24px -18px rgb(37 50 67 / .5); }
.svc-tab[aria-selected="true"] .svc-ic { background: rgb(var(--brand)); color: #fff; }
@media (max-width: 1023px) { .svc-tab { border-color: rgb(var(--line)); } }
@media (min-width: 1024px) { .svc-tab { white-space: normal; } }
.txt-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: rgb(var(--brand)); border-bottom: 1.5px solid rgb(var(--brand) / .3); padding-bottom: 2px; transition: border-color .25s var(--ease), gap .25s var(--ease); }
.txt-link:hover { border-color: rgb(var(--brand)); gap: .7rem; }
.btn-arrow::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 10L10 4M5 4h5v5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 10L10 4M5 4h5v5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* solutions */
.sol-card, .why-item { border: 1px solid rgb(var(--line)); border-radius: 24px; background: rgb(var(--surface)); padding: 1.75rem; transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.sol-card:hover, .why-item:hover { border-color: rgb(var(--accent)); transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgb(37 50 67 / .35); }


/* ===== /ai-driven-healthcare-solutions ===== */
.hero-grid { background-image: linear-gradient(rgb(var(--line) / .5) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--line) / .5) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%); }
/* hero logos: one row; phones scroll the row sideways instead of wrapping it */
.cert-badges { display: grid; grid-auto-flow: column; grid-auto-columns: 104px; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.cert-badges::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .cert-badges { grid-auto-columns: minmax(0, 1fr); overflow: visible; padding-bottom: 0; } }
.cert-badge { display: flex; align-items: center; justify-content: center; height: 64px; padding: .45rem .4rem; border: 1px solid rgb(var(--line)); border-radius: 12px; background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.cert-badge:hover { transform: translateY(-2px); border-color: rgb(var(--accent)); box-shadow: 0 14px 28px -18px rgb(11 90 157 / .55); }
/* Official logos keep their colours and proportions, centred in the card; cards stay white (the JPG logos have white backgrounds). */
.cert-badge img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; }

/* expertise */
.stat { padding: 1.75rem 1.5rem; border-right: 1px solid rgb(255 255 255 / .1); border-bottom: 1px solid rgb(255 255 255 / .1); }
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 1024px) { .stat { border-bottom: 0; } .stat:nth-child(2n) { border-right: 1px solid rgb(255 255 255 / .1); } .stat:last-child { border-right: 0; } }

/* solutions */
.outcome { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: rgb(var(--soft)); }
.outcome p { flex: 1 1 260px; font-size: .98rem; }

/* mid CTA */
.cta-band { position: relative; display: flex; flex-direction: column; gap: 1.75rem; overflow: hidden; border-radius: 28px; padding: 2.5rem 1.75rem; background: linear-gradient(120deg, #0B5A9D, #253243 75%); color: #fff; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 999px; border: 48px solid rgb(255 255 255 / .05); }
@media (min-width: 900px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 3.25rem 3.5rem; } }
.btn-white { background: #fff; color: #0B5A9D; }
.btn-white:hover { background: #EAF4FB; transform: translateY(-2px); }
.btn-white::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 10L10 4M5 4h5v5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 10L10 4M5 4h5v5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* segments */
.seg-no { flex: none; font-size: .8rem; font-weight: 700; color: rgb(var(--accent)); padding-top: .1rem; }

/* comparison */
.cmp th, .cmp td { padding: 1rem 1.25rem; vertical-align: top; border-top: 1px solid rgb(var(--line)); font-size: .95rem; }
.cmp thead th { border-top: 0; background: rgb(var(--soft2)); font-size: .85rem; font-weight: 600; color: rgb(var(--muted)); vertical-align: middle; }
.cmp tbody th { width: 28%; font-weight: 600; }
.cmp td.us { background: rgb(var(--brand) / .04); font-weight: 500; }
.cmp thead th.us { background: rgb(var(--soft)); }
.cmp td { color: rgb(var(--muted)); }
.cmp td.us { color: rgb(var(--ink)); }
.cmp tbody tr { transition: background-color .2s var(--ease); }
.cmp tbody tr:hover { background: rgb(var(--soft2)); }
.cmp tbody tr:hover td.us { background: rgb(var(--brand) / .09); }
.yes, .no { display: inline-flex; margin-right: .55rem; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 99px; vertical-align: -5px; }
.yes { background: rgb(var(--good)); color: #fff; }
.no { background: rgb(194 65 58 / .12); color: #C2413A; }
@media (max-width: 767px) {
  .cmp thead { display: none; }
  .cmp tr { display: block; border-top: 1px solid rgb(var(--line)); padding: .5rem 0; }
  .cmp tr:first-child { border-top: 0; }
  .cmp th, .cmp td { display: block; width: auto !important; border-top: 0; padding: .4rem 1rem; }
  .cmp td.us { background: none; }
}
.why-card { border: 1px solid rgb(var(--line)); border-radius: 20px; background: rgb(var(--surface)); padding: 1.4rem; transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.why-card:hover { border-color: rgb(var(--accent)); transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgb(37 50 67 / .35); }
.why-card:hover .icon-tile { background: rgb(var(--brand)); color: #fff; }

/* responsible AI */
.sh-ring { fill: none; stroke: rgb(var(--accent) / .35); stroke-dasharray: 4 6; transform-origin: 130px 110px; }
@keyframes spin { to { transform: rotate(360deg); } }
.sh-0 { animation: spin 40s linear infinite; }
.sh-1 { animation: spin 28s linear infinite reverse; stroke: rgb(var(--accent) / .45); }
.sh-2 { fill: rgb(var(--soft)); stroke: rgb(var(--accent) / .45); stroke-dasharray: none; }
.sh-core { fill: #0B5A9D; stroke: #8DBBE3; stroke-width: 1.5; }
.sh-tick { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .9s var(--ease) .3s; }
.in-view .sh-tick { stroke-dashoffset: 0; }
.sh-pill { fill: rgb(var(--surface)); stroke: rgb(var(--line)); }
.sh-t { font-size: 10.5px; font-weight: 700; fill: rgb(var(--ink)); }
.sh-logo-tile { fill: #fff; stroke: rgb(var(--line)); }
.sh-logo-dark { filter: brightness(0); }
.trust-card { border-radius: 22px; border: 1px solid rgb(var(--line)); background: rgb(var(--soft2)); padding: 1.6rem; }
.trust-ic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: rgb(var(--soft)); color: rgb(var(--brand)); }

/* testimonials */
.quote { display: flex; flex-direction: column; border-radius: 20px; border: 1px solid rgb(var(--line)); background: rgb(var(--page)); padding: 2rem; }
.avatar { display: inline-flex; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 99px; background: rgb(var(--brand)); color: #fff; font-size: .9rem; font-weight: 700; }

/* process chart */
.gantt { border: 1px solid rgb(var(--line)); border-radius: 22px; background: rgb(var(--surface)); padding: 1.25rem; }
@media (min-width: 768px) { .gantt { padding: 1.75rem 2rem; } }
.gt-scale { position: relative; height: 18px; margin-left: 0; font-size: .74rem; color: rgb(var(--muted)); }
@media (min-width: 768px) { .gt-scale { margin-left: 230px; } }
.gt-scale span { position: absolute; transform: translateX(-2px); white-space: nowrap; }
.gt-row { display: grid; gap: .4rem; padding: .45rem .5rem; border-radius: 12px; transition: background-color .25s var(--ease); }
@media (min-width: 768px) { .gt-row { grid-template-columns: 222px 1fr; align-items: center; gap: .5rem; margin-left: -.5rem; } }
.gt-row.on { background: rgb(var(--soft2)); }
.gt-l { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 600; }
.gt-l b { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 99px; background: rgb(var(--soft)); color: rgb(var(--brand)); font-size: .8rem; transition: all .25s var(--ease); }
.gt-row.on .gt-l b { background: rgb(var(--brand)); color: #fff; }
.gt-track { position: relative; height: 34px; border-radius: 8px; background-image: linear-gradient(to right, rgb(var(--line) / .8) 1px, transparent 1px); background-size: calc(100% / 6) 100%; }
.gt-bar { position: absolute; top: 3px; bottom: 3px; display: flex; align-items: center; padding: 0 .6rem; overflow: hidden; white-space: nowrap; border-radius: 8px; background: linear-gradient(90deg, rgb(var(--accent)), rgb(var(--brand))); color: #fff; font-size: .76rem; font-weight: 600; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease), box-shadow .25s var(--ease); transition-delay: var(--d); }
.in-view .gt-bar { transform: scaleX(1); }
.gt-bar.ongoing { background: repeating-linear-gradient(135deg, rgb(var(--good)), rgb(var(--good)) 8px, rgb(var(--good) / .8) 8px, rgb(var(--good) / .8) 16px); border-radius: 8px 2px 2px 8px; }
.gt-row.on .gt-bar { box-shadow: 0 8px 18px -8px rgb(11 90 157 / .6); }
.gt-gate { position: absolute; top: 50%; z-index: 1; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: rgb(var(--amber)); border: 2px solid rgb(var(--surface)); transform: rotate(45deg); border-radius: 3px; }
.gt-gate.static { position: static; display: inline-block; margin: 0 .25rem 0 0; width: 11px; height: 11px; }
.stage { display: flex; flex-direction: column; border: 1px solid rgb(var(--line)); border-radius: 20px; background: rgb(var(--surface)); padding: 1.5rem; outline: none; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.stage.on, .stage:focus-visible { border-color: rgb(var(--brand)); transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgb(37 50 67 / .35); }
.stage-n { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--accent)); }
.stage-time { font-size: .8rem; font-weight: 600; padding: .2rem .6rem; border-radius: 99px; background: rgb(var(--soft)); color: rgb(var(--brand)); }
.stage-gate { display: flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1.25rem; font-size: .85rem; font-weight: 600; color: rgb(var(--amber)); }
.stage-gate svg { flex: none; }

@media (prefers-reduced-motion: reduce) {
  .sh-tick, .gt-bar { transition: none !important; }
}
.gt-time { display: none; margin-left: auto; font-style: normal; font-size: .78rem; font-weight: 600; color: rgb(var(--brand)); }
@media (max-width: 767px) {
  .gt-time { display: inline; }
  .gt-bar { font-size: 0; padding: 0; }
  .gt-track { height: 22px; }
}

/* solution rows: card + design graphic (services-sections/*.html, CSS in healthcare-ai-services.css) */
/* Sticky services nav (design: services-sections/Sticky Services Nav – Healthcare AI Solutions.html).
   Sticks under the fixed header (62px once scrolled) for the length of #solutions; no ancestor may
   set overflow, or sticky stops working. --svc-nav-h is kept in sync by PageEffects. */
.svc-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 62px); z-index: 40; background: rgb(var(--page) / .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgb(var(--line)); border-bottom: 1px solid rgb(var(--line)); transition: box-shadow .2s ease; }
.svc-nav.is-stuck { box-shadow: 0 6px 18px -12px rgb(11 90 157 / .45); }
.svc-nav-list { --fade: 48px; --fade-l: 0px; --fade-r: 0px; display: flex; gap: 8px; margin: 0; padding: 12px 0; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); }
.svc-nav-list::-webkit-scrollbar { display: none; }
/* The fade only shows on a side with more pills to scroll to. */
.svc-nav-list.fade-left { --fade-l: var(--fade); }
.svc-nav-list.fade-right { --fade-r: var(--fade); }
.svc-link { display: inline-block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.2; color: rgb(var(--muted)); background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); transition: color .2s, background-color .2s, border-color .2s; }
.svc-link:hover { color: rgb(var(--brand)); border-color: rgb(var(--accent)); }
.svc-link:focus-visible { outline: 2px solid rgb(var(--brand)); outline-offset: 2px; border-radius: 999px; }
.svc-link.is-active { color: #fff; background: rgb(var(--brand)); border-color: rgb(var(--brand)); }
.svc-progress { height: 2px; width: 0; background: rgb(var(--brand)); transition: width .15s linear; }
@media (prefers-reduced-motion: reduce) { .svc-link, .svc-progress, .svc-nav { transition: none; } }

/* Scroll target clears the header (html scroll-padding-top) plus the sticky nav. */
.svc-row { padding: 1.5rem 0; scroll-margin-top: calc(var(--svc-nav-h, 62px) - 1rem); }
@media (min-width: 768px) { .svc-row { padding: 2.25rem 0; } }
.svc-card { display: flex; flex-direction: column; border: 1px solid rgb(var(--line)); border-radius: 16px; background: rgb(var(--surface)); padding: 1.75rem; }
@media (min-width: 768px) { .svc-card { padding: 2.25rem; } }
.svc-icon { display: inline-flex; flex: none; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 12px; background: rgb(var(--soft)); color: rgb(var(--brand)); }
.svc-outcome { border-radius: 12px; background: rgb(var(--soft)); padding: 1rem 1.25rem; color: rgb(var(--ink)); }
.svc-visual { display: flex; flex-direction: column; isolation: isolate; min-width: 0; }
.svc-visual > :last-child { flex: 1; }
@media (max-width: 640px) {
      }
/* AI revenue cycle graphic (RcmDesign.tsx) */
.svs-rcm .bar { width: var(--w); animation: rcm-grow 1s ease-out both; }
@keyframes rcm-grow { from { width: 0; } }
.svs-rcm .pop { animation: rcm-pop 2.4s ease-in-out infinite; }
@keyframes rcm-pop { 0%, 100% { box-shadow: 0 0 0 0 rgb(16 185 129 / .45); } 50% { box-shadow: 0 0 0 8px rgb(16 185 129 / 0); } }
@media (prefers-reduced-motion: reduce) { .svs-rcm .bar, .svs-rcm .pop { animation: none; } }

/* architecture: sources -> FHIR data layer -> AI services -> workflows */
.arch2 { display: grid; gap: .75rem; }
.a2-h { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--accent)); }
.a2-box, .a2-data { outline: none; border-radius: 14px; transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.a2-box { padding: 1rem 1.1rem; border: 1px solid rgb(var(--line)); background: rgb(var(--soft2)); }
.a2-box b, .a2-data > b { display: block; font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.a2-box span, .a2-data li { display: block; font-size: .86rem; line-height: 1.55; color: rgb(var(--muted)); }
.a2-ai { background: rgb(var(--surface)); border: 2px solid rgb(var(--accent) / .7); }
.a2-data { padding: 1.3rem 1.25rem; border: 2px solid rgb(var(--brand)); background: rgb(var(--soft)); }
.a2-data > b { font-size: 1.08rem; margin-bottom: .75rem; }
.a2-data li + li { margin-top: .5rem; }
.a2-box:hover, .a2-box:focus-visible, .a2-data:hover, .a2-data:focus-visible { border-color: rgb(var(--brand)); box-shadow: 0 18px 36px -24px rgb(11 90 157 / .55); transform: translateY(-2px); }
.a2-src:hover, .a2-wf:hover, .a2-src:focus-visible, .a2-wf:focus-visible { background: rgb(var(--surface)); }
.arch2:has(.a2-src:hover) .a2-data { border-color: rgb(var(--accent)); box-shadow: 0 0 0 4px rgb(var(--brand) / .12); }
.a2-pair:hover .a2-box { border-color: rgb(var(--brand)); background: rgb(var(--surface)); }
.a2-pair:hover .a2-link i, .arch2:has(.a2-data:hover) .a2-link-data i { background-image: linear-gradient(to right, rgb(var(--brand)) 60%, transparent 0); }
.a2-sources, .a2-pairs { display: grid; gap: .75rem; }
.arch2 { --a2-line: rgb(var(--accent) / .8); }
.arch2:has(.a2-src:hover, .a2-data:hover) .a2-merge, .arch2:has(.a2-src:hover, .a2-data:hover) .a2-src { --a2-line: rgb(var(--brand)); }
.a2-link i { display: block; height: 2px; width: 100%; background-image: linear-gradient(to right, var(--a2-line) 60%, transparent 0); background-size: 10px 2px; animation: a2-dash 1s linear infinite; }
@keyframes a2-dash { to { background-position: 10px 0; } }
@keyframes a2-dash-down { to { background-position: 0 10px; } }
@keyframes a2-dash-up { to { background-position: 0 -10px; } }
.a2-merge, .a2-link { display: none; }
.a2-h2, .a2-h3, .a2-h4 { margin-top: 1rem; }
.a2-pair { display: grid; gap: .75rem; }
@media (min-width: 640px) { .a2-pair { grid-template-columns: 1fr 1fr; } }
.a2-h4 { display: none; }
@media (min-width: 1024px) {
  .arch2 { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 0; row-gap: 1rem; align-items: center; }
  .a2-h { margin: 0; }
  .a2-h1 { grid-area: 1 / 1; } .a2-h2 { grid-area: 1 / 3; } .a2-h3 { grid-area: 1 / 5; } .a2-h4 { display: block; grid-area: 1 / 7; }
  .a2-sources { grid-area: 2 / 1; grid-auto-rows: 1fr; align-self: stretch; }
  .a2-src { position: relative; }
  /* Connectors: dashed and flowing like .a2-link — source ticks and both halves of the bracket run toward the arrow. */
  .a2-src::after { content: ""; position: absolute; left: 100%; top: 50%; width: 24px; height: 2px; background-image: linear-gradient(to right, var(--a2-line) 60%, transparent 0); background-size: 10px 2px; animation: a2-dash 1s linear infinite; }
  .a2-merge { display: block; grid-area: 2 / 2; position: relative; align-self: stretch; }
  .a2-merge::before, .a2-merge::after { content: ""; position: absolute; left: 22px; width: 2px; background-size: 2px 10px; }
  .a2-merge::before { top: calc((100% - 2.25rem) / 8); bottom: 50%; background-image: linear-gradient(to bottom, var(--a2-line) 60%, transparent 0); animation: a2-dash-down 1s linear infinite; }
  .a2-merge::after { top: 50%; bottom: calc((100% - 2.25rem) / 8); background-image: linear-gradient(to top, var(--a2-line) 60%, transparent 0); animation: a2-dash-up 1s linear infinite; }
  .a2-arrow { position: absolute; left: 22px; right: 8px; top: 50%; height: 2px; margin-top: -1px; background-image: linear-gradient(to right, var(--a2-line) 60%, transparent 0); background-size: 10px 2px; animation: a2-dash 1s linear infinite; }
  .a2-arrow::after { content: ""; position: absolute; right: -8px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--a2-line); border-right: 0; }
  .a2-data { grid-area: 2 / 3; }
  .a2-link { display: flex; align-items: center; padding: 0 6px; }
  .a2-link-data { grid-area: 2 / 4; align-self: center; }
  .a2-pairs { grid-area: 2 / 5 / 3 / 8; grid-auto-rows: 1fr; align-self: stretch; }
  .a2-pair { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 0; align-items: stretch; }
  .a2-pair .a2-link { align-self: center; }
}
.a2-gov { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin-top: 1.75rem; padding: .9rem 1.1rem; border-radius: 14px; border: 1px dashed rgb(var(--brand) / .35); background: rgb(var(--soft2)); font-size: .84rem; font-weight: 600; color: rgb(var(--brand)); }
.a2-gov span { display: inline-flex; align-items: center; gap: .35rem; }
.a2-gov span:first-child { color: rgb(var(--ink)); margin-right: .25rem; }
@media (prefers-reduced-motion: reduce) { .a2-link i, .a2-src::after, .a2-merge::before, .a2-merge::after, .a2-arrow { animation: none; } }


/* ===== /healthcare/remote-patient-monitoring-software-development ===== */
/* the problem: cards on the dark band */
.dark-card { border: 1px solid rgb(255 255 255 / .12); border-radius: 20px; background: rgb(255 255 255 / .04); padding: 1.5rem; transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease); }
.dark-card:hover { border-color: #8DBBE3; background: rgb(255 255 255 / .07); transform: translateY(-3px); }
.dark-ic { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: rgb(141 187 227 / .14); color: #8DBBE3; transition: background-color .3s var(--ease), color .3s var(--ease); }
.dark-card:hover .dark-ic { background: #3C7BB1; color: #fff; }

/* modules: product screens in a framed card */
.shot { display: flex; align-items: center; height: 100%; padding: .75rem; border: 1px solid rgb(var(--line)); border-radius: 20px; background: linear-gradient(145deg, rgb(var(--soft)), rgb(var(--soft2))); }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 50px -30px rgb(37 50 67 / .55); transition: transform .5s var(--ease); }
.svc-row:hover .shot img { transform: translateY(-4px); }
@media (min-width: 768px) { .shot { padding: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } }

/* integrations and stack: system chips */
.int-card { border: 1px solid rgb(var(--line)); border-radius: 20px; background: rgb(var(--surface)); padding: 1.5rem; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.int-card:hover { border-color: rgb(var(--accent)); transform: translateY(-3px); box-shadow: 0 20px 40px -30px rgb(37 50 67 / .45); }
.chip { padding: .35rem .7rem; border-radius: 8px; border: 1px solid rgb(var(--line)); background: rgb(var(--soft2)); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; font-weight: 500; color: rgb(var(--ink)); transition: border-color .2s var(--ease), color .2s var(--ease); }
.chip:hover { border-color: rgb(var(--brand)); color: rgb(var(--brand)); }
.cmp.stack tbody th { width: 24%; vertical-align: middle; }
.cmp.stack td { color: rgb(var(--ink)); }

/* security: framework tiles and checklist */
.cert-text { font-size: .95rem; font-weight: 700; letter-spacing: .02em; color: #253243; }
.sec-list { display: grid; gap: .6rem; border: 1px solid rgb(var(--line)); border-radius: 22px; background: rgb(var(--soft2)); padding: 1.5rem; }
@media (min-width: 768px) { .sec-list { padding: 2rem; } }
.sec-list li { display: flex; align-items: flex-start; gap: .1rem; padding: .7rem .85rem; border-radius: 12px; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); font-weight: 500; line-height: 1.45; transition: border-color .2s var(--ease); }
.sec-list li:hover { border-color: rgb(var(--accent)); }
.sec-list .yes { flex: none; margin-top: 1px; }

/* engagement models */
.model { position: relative; display: flex; flex-direction: column; border: 1px solid rgb(var(--line)); border-radius: 24px; background: rgb(var(--surface)); padding: 1.75rem; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.model:hover { border-color: rgb(var(--accent)); transform: translateY(-3px); box-shadow: 0 24px 48px -32px rgb(37 50 67 / .45); }
.model:hover .icon-tile { background: rgb(var(--brand)); color: #fff; }
.model.featured { border-color: rgb(var(--brand)); box-shadow: 0 0 0 3px rgb(var(--brand) / .1); }
.model-badge { position: absolute; top: 1.4rem; right: 1.4rem; padding: .25rem .65rem; border-radius: 99px; background: rgb(var(--brand)); color: #fff; font-size: .75rem; font-weight: 700; }
.model-note { margin-top: .3rem; font-size: .88rem; font-weight: 600; color: rgb(var(--accent)); }

/* services: CTA tile that closes the grid */
.svc-cta { display: flex; flex-direction: column; border-radius: 20px; padding: 1.4rem; background: linear-gradient(135deg, #0B5A9D, #253243); color: #fff; }
.svc-cta .btn { margin-top: 1.5rem; }
@media (min-width: 1024px) { .svc-cta .btn { margin-top: auto; } }

/* ---------- EHR integration page ---------- */
/* numbers band */
.num-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgb(255 255 255 / .12); border-radius: 20px; background: rgb(255 255 255 / .12); }
@media (min-width: 640px) { .num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .num-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.num-grid > li { padding: 1.75rem 1.5rem; background: #253243; }
.num-v { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: #8DBBE3; }

/* cost of disconnection: problem and fix side by side, an icon between them */
.cost-head { display: flex; flex-direction: column; gap: .2rem; padding: 0 .25rem; font-size: 1.1rem; font-weight: 600; }
.cost-head span { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #C2410C; }
.cost-head.fix span { color: rgb(var(--good)); }
.cost-row { position: relative; display: grid; gap: 1rem; }
@media (min-width: 768px) { .cost-row { grid-template-columns: 1fr 1fr; } }
.cost-side { display: flex; flex-direction: column; border: 1px solid rgb(var(--line)); border-radius: 18px; background: rgb(var(--surface)); padding: 1.4rem 1.5rem; }
.cost-side.fix { background: rgb(var(--good) / .04); }
.cost-stat { flex: none; padding: .2rem .65rem; border-radius: 99px; background: rgb(224 123 76 / .12); color: #C2410C; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.cost-side.fix .cost-stat { background: rgb(var(--good) / .12); color: rgb(var(--good)); }
.cost-money { margin-top: auto; padding-top: 1rem; font-size: .93rem; font-weight: 600; }
.cost-side .no { background: rgb(224 123 76 / .15); color: #C2410C; }
.cost-arrow { display: none; }
@media (min-width: 768px) {
  .cost-arrow { position: absolute; top: 50%; left: 50%; z-index: 1; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgb(var(--line)); border-radius: 99px; background: rgb(var(--surface)); color: rgb(var(--brand)); transform: translate(-50%, -50%); box-shadow: 0 8px 20px -12px rgb(37 50 67 / .4); }
}
.cost-total .cost-side { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
.cost-total-v { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -.01em; color: #C2410C; }
.cost-total .fix .cost-total-v { color: rgb(var(--good)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cost-head span, :root:not([data-theme="light"]) .cost-stat, :root:not([data-theme="light"]) .cost-total-v, :root:not([data-theme="light"]) .cost-side .no { color: #F0A27A; } }
:root[data-theme="dark"] .cost-head span, :root[data-theme="dark"] .cost-stat, :root[data-theme="dark"] .cost-total-v, :root[data-theme="dark"] .cost-side .no { color: #F0A27A; }

/* services: what each phase includes */
.svc-tag { padding: .22rem .6rem; border-radius: 99px; background: rgb(var(--soft)); color: rgb(var(--brand)); font-size: .78rem; font-weight: 600; }

/* EHR tabs: intro on the left, the two lists on the right */
.ehr-panel { display: grid; gap: 2rem; border: 1px solid rgb(var(--line)); border-radius: 24px; background: rgb(var(--surface)); padding: 1.75rem; }
@media (min-width: 1024px) { .ehr-panel { grid-template-columns: 5fr 7fr; gap: 3rem; padding: 2.75rem; } }
.ehr-intro { display: flex; flex-direction: column; }
.ehr-lists { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .ehr-lists { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ehr-lists { border-left: 1px solid rgb(var(--line)); padding-left: 3rem; } }

/* pricing card */
.price-card { border: 1px solid rgb(var(--brand)); border-radius: 24px; background: rgb(var(--surface)); padding: 1.75rem; box-shadow: 0 0 0 4px rgb(var(--brand) / .08), 0 30px 60px -40px rgb(37 50 67 / .5); }
@media (min-width: 768px) { .price-card { padding: 2.25rem; } }
.price-rows > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem; padding: .95rem 0; border-top: 1px solid rgb(var(--line)); }
.price-rows > div:first-child { border-top: 0; }
.price-rows dt { display: inline-flex; align-items: center; gap: .6rem; color: rgb(var(--muted)); }
.price-rows dt svg { color: rgb(var(--brand)); }
.price-rows dd { margin: 0; font-weight: 600; }
.price-rows > div:last-child dd { font-size: 1.35rem; color: rgb(var(--brand)); }

/* client results */
.stars { color: #F5A524; font-size: 1.05rem; letter-spacing: .15em; }

/* ---------- RCM page ---------- */
/* where revenue leaks: the cycle stage on each card */
.leak-stage { padding: .25rem .7rem; border-radius: 99px; border: 1px solid rgb(141 187 227 / .35); color: #8DBBE3; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

/* four-column tables (build vs buy, cost): phones stack each row and label its cells */
.cmp-4 tbody th { width: 24%; }
.cmp-4 .price-v { font-weight: 700; color: rgb(var(--brand)); white-space: nowrap; }
@media (max-width: 767px) {
  .cmp-4 tbody th { font-size: 1rem; padding-top: .75rem; }
  .cmp-4 td[data-l]::before { content: attr(data-l); display: block; margin-bottom: .1rem; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgb(var(--muted)); }
  .cmp-4 td.us .yes { display: none; }
}

/* ---------- custom healthcare software page ---------- */
/* case studies (shared CasePanels): rules from healthcare.css */
@media (min-width: 1024px) { .case-visual { border-left: 1px solid rgb(var(--line)); } }
/* shorter case panels on this page (CasePanels compact) */
.case-compact .case-visual img { max-height: 470px; }
.case-phones { position: relative; width: 100%; max-width: 648px; aspect-ratio: 1200 / 1185; margin-inline: auto; }
.case-compact .case-phones { max-width: 476px; }
.case-visual .case-phones .ph { position: absolute; top: 50%; left: 50%; width: 42.5%; height: auto; max-height: none; object-fit: fill; filter: drop-shadow(0 18px 22px rgb(37 50 67 / .16)); transform: translate(-50%, -50%); }
.case-visual .case-phones .ph-c { z-index: 2; animation: phIn .6s var(--ease) both; }
.case-visual .case-phones .ph-l { transform: translate(-106.5%, -50%) scale(.85); animation: phOut .8s var(--ease) .5s both; }
.case-visual .case-phones .ph-r { transform: translate(6.5%, -50%) scale(.85); animation: phOut .8s var(--ease) .5s both; }
.case-stack:not(.in) .case-phones .ph { animation-play-state: paused; }
@keyframes phIn { from { opacity: 0; transform: translate(-50%, -44%) scale(.94); } }
@keyframes phOut { from { opacity: 0; transform: translate(-50%, -50%) scale(.8); } }
@media (prefers-reduced-motion: reduce) { .case-visual .case-phones .ph { animation: none; } }
/* black/navy testimonial logos would vanish on the dark page: render them white in dark mode */
:root[data-theme="dark"] .q-logo-dark { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .q-logo-dark { filter: brightness(0) invert(1); } }
/* compliance logos: rules from healthcare.css */
.fw-tile { display: flex; align-items: center; justify-content: center; height: 56px; padding: .35rem .4rem; border-radius: 14px; border: 1px solid rgb(255 255 255 / .14); background: #fff; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.fw-tile:hover { border-color: #8DBBE3; transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgb(0 0 0 / .5); }
.fw-tile img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.fw-logo-dark { filter: brightness(0); }
@media (min-width: 640px) { .fw-tile { height: 64px; padding: .5rem .6rem; } }

/* what we build: one tile per system; systems with a page of their own link to it */
.sys-tile { display: flex; align-items: center; gap: .85rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid rgb(var(--line)); border-radius: 16px; background: rgb(var(--surface)); transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.sys-tile:hover { border-color: rgb(var(--accent)); transform: translateY(-3px); box-shadow: 0 20px 40px -30px rgb(37 50 67 / .45); }
/* system icon: same tile as the Who we serve tabs on /ai-driven-healthcare-solutions (32px tile, 26px icon, brand on soft,
   white on brand when hovered); the SVG file is a mask, so the icon takes the tile's colour */
.sys-ic { display: inline-flex; height: 32px; width: 32px; flex: none; align-items: center; justify-content: center; border-radius: 8px; background: rgb(var(--soft)); color: rgb(var(--brand)); transition: all .25s var(--ease); }
.sys-ic i { display: block; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.sys-tile:hover .sys-ic { background: rgb(var(--brand)); color: #fff; }
.sys-tile.is-link:hover { color: rgb(var(--brand)); }
.sys-arrow { flex: none; width: 14px; height: 14px; margin-left: auto; background: currentColor; opacity: .55; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 10L10 4M5 4h5v5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 10L10 4M5 4h5v5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* services: the "what you get" list beside each tab's intro */
.cs-get { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .cs-get { border-left: 1px solid rgb(var(--line)); padding-left: 3rem; } }
/* services: the tab's icon from /assets/images/ai-custom/, as a mask in the panel's icon tile */
.svc-mask { display: block; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }

/* contact: pulses that run along the background curves into the hub (as on /ai-driven-healthcare-solutions) */
.ct-flow path { stroke-dasharray: 10 90; stroke-dashoffset: 100; opacity: .55; animation: ctFlow 3s linear infinite; }
.ct-flow path:nth-child(2) { animation-delay: -.75s; }
.ct-flow path:nth-child(3) { animation-delay: -1.5s; }
.ct-flow path:nth-child(4) { animation-delay: -2.25s; }
@keyframes ctFlow { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ct-flow { display: none; } }
