/* Page styles of /ai-driven-healthcare-solutions. Base tokens, type and components are those of
   /healthcare and /enterprise-ai-services; page-specific graphics follow. */
: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)); } }
/* shorter case panels (CasePanels compact), same as /healthcare */
.case-compact .case-visual img { max-height: 470px; }
.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); }
span.icon-tile svg { width: 30px; height: 30px; }
.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: 8px; background: rgb(var(--soft)); color: rgb(var(--brand)); transition: all .25s var(--ease); }
.seg-ic svg { width: 26px; height: 26px; }
.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); }
/* "Solutions we build for": one item per row below 1300px, 3 columns from 1300px */
@media (max-width: 1299.98px) { .seg-panel .seg-items { grid-template-columns: 1fr; } }
.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 */
/* hero standards logos: one official logo per white tile */
.fw-tile { display: flex; align-items: center; justify-content: center; height: 56px; padding: .35rem .4rem; border-radius: 14px; border: 1px solid rgb(var(--line)); background: #fff; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.fw-tile:hover { border-color: rgb(var(--accent)); transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgb(11 90 157 / .55); }
.fw-tile img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.fw-logo-dark { filter: brightness(0); }
/* Hero badges as an endless marquee: smaller tiles, slower and reversed vs the client-logo strip */
.fw-marquee { min-width: 0; width: 100%; overflow: hidden; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fw-track { display: flex; width: max-content; gap: .5rem; margin: 0; padding: 0; list-style: none; animation: fwScroll 60s linear infinite; }
.fw-track .fw-tile { flex: none; width: 80px; height: 42px; padding: .3rem .35rem; border-radius: 10px; }
.fw-track .fw-tile:hover { transform: none; box-shadow: none; }
.fw-marquee:hover .fw-track { animation-play-state: paused; }
/* runs left-to-right, opposite the client-logo strip; -50% minus half a gap is exactly one copy */
@keyframes fwScroll { from { transform: translateX(calc(-50% - .25rem)); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .fw-track { animation: none; flex-wrap: wrap; width: auto; }
  .fw-track .fw-tile[aria-hidden] { display: none; }
}
.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; } }
/* mid CTA with a video: brand gradient band, video on the right that fades into it from the left */
.cta-video { background: linear-gradient(90deg, #0E5795 0%, #072641 100%); }
.cta-video-bg { position: absolute; top: -51px; right: 0; width: 752px; max-width: 100%; height: 364px; object-position: right center; }
/* the fade covers just the visible picture (contain + right-aligned), sized by the clip's 4096:2160 ratio */
.cta-video::after { content: ""; position: absolute; top: 0; right: 0; height: 364px; aspect-ratio: 4096 / 2160; max-width: 752px; background: linear-gradient(270deg, rgb(7 38 65 / 0) -74.73%, #0B416F 95.23%); }
/* phones and tablets: the video sits behind the copy, so the band's gradient covers it */
@media (max-width: 899.98px) { .cta-video::after { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; background: linear-gradient(90deg, #0E5795 0%, #072641 100%); opacity: .85; } }
/* phones: no video, just the gradient band */
@media (max-width: 767.98px) { .cta-video-bg, .cta-video::after { display: none; } }
.cta-video::before { z-index: 1; }
.cta-video > .relative { z-index: 2; }
.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 AppsChopper stat band (same as /healthcare) */
.stat-cell { padding: 2rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
@media (min-width: 640px) { .stat-cell { border-bottom: 0; border-right: 1px solid rgb(255 255 255 / .1); } .stat-cell:last-child { border-right: 0; } }
/* four stats: two by two from 640px (lines between the rows), one row from 1024px */
@media (min-width: 640px) and (max-width: 1023px) { .stat-cell:nth-child(2) { border-right: 0; } .stat-cell:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / .1); } }
.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; }
}

/* AI showcase (#ai), same as /healthcare: one service image at a time; the service pills wrap
   under the text on the left. The line under them fills over 8s, then the next
   tab opens; .paused holds it while the section is hovered, focused or off screen. */
/* the active service's title above the image; all titles share one grid cell and crossfade */
.ai-panel { border-radius: 15px; border: 1px solid rgb(var(--line)); overflow: hidden; }
.ai-titles { display: grid; margin-bottom: 0; position: relative; z-index: 1; }
.ai-title { grid-area: 1 / 1; margin: 0; align-self: end; font-size: 1.45rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: rgb(var(--ink)); opacity: 0; transition: opacity .6s var(--ease); padding: 21px; width: 100%; background: rgb(var(--surface)); border-radius: 15px 15px 0 0; }
.ai-title.is-active { opacity: 1; }
@media (max-width: 640px) { .ai-title { font-size: 1.2rem; } }
.ai-stage { position: relative; aspect-ratio: 1536 / 1024; overflow: hidden; border-radius: 0 0 15px 15px; background: rgb(var(--soft2)); }
/* Hidden shots stay "visible" (opacity only, aria-hidden set by PageEffects): browsers don't
   fetch lazy images under visibility:hidden, so a tab would open on an empty frame. */
.ai-shot { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.ai-shot.is-active { opacity: 1; pointer-events: auto; }
.ai-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.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; }
.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)); }
.svc-progress.run { animation: aiProgress 8s linear forwards; }
.ai-tabs .svc-nav-list { flex-wrap: wrap; overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
.ai-track { margin-top: 18px; height: 2px; border-radius: 2px; background: rgb(var(--line)); overflow: hidden; }
.ai-tabs.paused .svc-progress { animation-play-state: paused; }
@keyframes aiProgress { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .ai-shot, .ai-title, .svc-link { transition: none; } .svc-progress { display: 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; } }
/* Who we serve panel: numbered solution cards (same look as /generative-ai "How it works") */
.how-step { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 14px; border: 1px solid rgb(var(--line)); background: rgb(var(--soft2)); font-weight: 500; }
.how-n { display: inline-flex; flex: none; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 99px; background: rgb(var(--brand)); color: #fff; font-size: .8rem; font-weight: 700; }

/* Contact background: a short glowing dash travels along each curve, staggered */
.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; } }
/* contact on phones: the takeaways as white tags replace the intro, checklist and form heading */
.ct-steps { display: none; }
@media (max-width: 767.98px) {
  .ct-desk, #contact #formWrap > h3, #contact #formWrap > h3 + p { display: none; }
  #contact #leadForm { margin-top: 0; }
  .ct-steps { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .4rem; margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: .875rem; font-weight: 500; white-space: nowrap; }
  .ct-steps li { display: inline-flex; align-items: center; padding: .4rem .75rem; border: 1px solid rgb(var(--line)); border-radius: 8px; background: #fff; color: #253243; }
}

/* Case study phones (CasePanels): the centre screen rises in, then the side screens slide out from behind it.
   Final layout matches the old combined image (1200x1185: centre phone 42.5% wide, sides at 85% scale). */
.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); } }
