/* Page styles of /generative-ai-development-services. Base tokens, type and components are those of
   /healthcare, /enterprise-ai-services and /ai-driven-healthcare-solutions; 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; }
.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: 44px; width: 44px; flex: none; align-items: center; justify-content: center; border-radius: 12px; 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); }



/* ===== /generative-ai-development-services ===== */
/* shared with /ai-driven-healthcare-solutions: hero grid, outcome box, CTA band, dark cards, process chart */
.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%); }
.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; }


.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; }
/* 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; }
.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; }
}

/* hero illustration */
/* the hero image carries its own card, corners and shadow on a transparent background */
.hero-img { display: block; width: 100%; max-width: 720px; height: auto; margin-inline: auto; }

/* enterprise AI gap: problem cards + funnel */
.gap-card { border: 1px solid rgb(var(--line)); border-radius: 20px; background: rgb(var(--surface)); padding: 1.4rem; outline: none; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.gap-card:hover, .gap-card:focus-visible, .gap-card.on { border-color: rgb(var(--accent)); transform: translateY(-3px); box-shadow: 0 20px 40px -30px rgb(37 50 67 / .45); }
.gap-card:hover .icon-tile, .gap-card.on .icon-tile { background: rgb(var(--brand)); color: #fff; }
.funnel { margin: 0; border: 1px solid rgb(var(--line)); border-radius: 24px; background: rgb(var(--page)); padding: 1.5rem; }
@media (min-width: 768px) { .funnel { padding: 2rem; } }
.fn { display: flex; justify-content: center; }
.fn-bar { position: relative; display: flex; align-items: center; justify-content: center; width: 0; min-height: 46px; padding: .4rem .6rem; border-radius: 10px; background: linear-gradient(90deg, rgb(var(--accent)), rgb(var(--brand))); color: #fff; text-align: center; transition: width 1s var(--ease), opacity .25s var(--ease), box-shadow .25s var(--ease); transition-delay: var(--d); overflow: hidden; }
.in-view .fn-bar { width: var(--w); }
.fn-t { font-size: .82rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.fn:last-child .fn-t { white-space: normal; }
.funnel:has(.fn.on) .fn:not(.on) .fn-bar { opacity: .35; transition-delay: 0s; }
.fn.on .fn-bar { box-shadow: 0 0 0 4px rgb(var(--amber) / .35); background: linear-gradient(90deg, rgb(var(--amber)), #B45309); transition-delay: 0s; }

/* principles */
.pr-card { display: flex; flex-direction: column; border: 1px solid rgb(var(--line)); border-radius: 24px; background: rgb(var(--surface)); padding: 1.75rem; }
.pr-tag { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--accent)); }
.pr-tag span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 99px; background: rgb(var(--brand)); color: #fff; letter-spacing: 0; }

/* approach */
.ap-card { display: flex; flex-direction: column; border: 1px solid rgb(var(--line)); border-radius: 24px; background: rgb(var(--surface)); padding: 1.5rem; }
@media (min-width: 768px) { .ap-card { padding: 1.75rem; } }

/* solution tab illustrations */
.svc-img { display: block; width: 100%; height: auto; aspect-ratio: 1408 / 1136; object-fit: cover; border-radius: 18px; }
.svc-img-wide { aspect-ratio: 3 / 2; }

/* comparison (5 columns; scrolls sideways on small screens) */
.cmp-wrap { overflow-x: auto; border: 1px solid rgb(var(--line)); border-radius: 24px; background: rgb(var(--surface)); }
.cmp5 { min-width: 880px; border-collapse: collapse; }
.cmp5 th, .cmp5 td { padding: 1rem 1.1rem; vertical-align: top; border-top: 1px solid rgb(var(--line)); font-size: .93rem; }
.cmp5 thead th { border-top: 0; background: rgb(var(--soft2)); font-size: .84rem; font-weight: 600; color: rgb(var(--muted)); vertical-align: middle; }
.cmp5 tbody th { width: 22%; font-weight: 600; }
.cmp5 td { color: rgb(var(--muted)); }
.cmp5 .us { background: rgb(var(--brand) / .05); color: rgb(var(--ink)); font-weight: 600; }
.cmp5 thead .us { background: rgb(var(--soft)); }
.cmp5 tbody tr { transition: background-color .2s var(--ease); }
.cmp5 tbody tr:hover { background: rgb(var(--soft2)); }
.cmp5 tbody tr:hover .us { background: rgb(var(--brand) / .1); }
.cmp5 .yes { margin-right: .5rem; width: 20px; height: 20px; }
.cmp5 th:first-child { position: sticky; left: 0; z-index: 1; background: rgb(var(--surface)); }
.cmp5 thead th:first-child { background: rgb(var(--soft2)); }

/* model router */
.router { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 1024px) { .router { grid-template-columns: 1fr auto 1fr; gap: 2rem; } }
.rt-tasks, .rt-models { display: grid; gap: .5rem; }
.rt-task, .rt-model { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 12px; border: 1px solid rgb(var(--line)); background: rgb(var(--surface)); font-size: .92rem; font-weight: 600; transition: all .25s var(--ease); }
.rt-task { cursor: default; outline: none; }
.rt-task svg, .rt-model svg { flex: none; color: rgb(var(--brand)); }
.rt-task:hover, .rt-task:focus-visible, .rt-task.on { border-color: rgb(var(--brand)); background: rgb(var(--soft)); }
.rt-model.on { border-color: rgb(var(--brand)); background: rgb(var(--brand)); color: #fff; transform: translateX(-4px); box-shadow: 0 14px 28px -18px rgb(11 90 157 / .7); }
.rt-model.on svg { color: #fff; }
.router.routing .rt-model:not(.on), .router.routing .rt-task:not(.on) { opacity: .45; }
.rt-hub { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.rt-hub span { display: inline-flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1.1rem 1.3rem; border-radius: 18px; background: rgb(var(--navy)); color: #fff; font-size: .9rem; font-weight: 700; box-shadow: 0 0 0 8px rgb(var(--brand) / .1); transition: box-shadow .3s var(--ease); }
.router.routing .rt-hub span { box-shadow: 0 0 0 12px rgb(var(--brand) / .18); }
.rt-hub small { max-width: 180px; font-size: .74rem; color: rgb(var(--muted)); }
.stk { border: 1px solid rgb(var(--line)); border-radius: 20px; background: rgb(var(--surface)); padding: 1.3rem; }
.stk-chip { padding: .32rem .65rem; border-radius: 8px; border: 1px solid rgb(var(--line)); background: rgb(var(--soft2)); font-size: .84rem; font-weight: 500; transition: border-color .2s var(--ease), color .2s var(--ease); }
.stk-chip:hover { border-color: rgb(var(--brand)); color: rgb(var(--brand)); }

/* governance: Responsible AI (design: services-sections/Responsible AI – AppsChopper.html) */
.rai { position: relative; overflow: clip; background: #253243; }
.rai::before { content: ""; position: absolute; width: 640px; height: 640px; left: -220px; top: -260px; background: radial-gradient(circle, rgb(60 123 177 / .22), transparent 65%); pointer-events: none; }
.rai-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) {
  .rai-grid { grid-template-columns: 5fr 7fr; gap: 5rem; }
  .rai-intro { position: sticky; top: 6rem; align-self: start; }
}
.rai-std { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid rgb(255 255 255 / .1); border-radius: 14px; }
.rai-std > div { padding: 16px 18px; }
.rai-std > div + div { border-left: 1px solid rgb(255 255 255 / .1); }
.rai-std b { display: block; font-size: 17px; font-weight: 600; color: #fff; }
.rai-std span { font-size: 13px; color: #fff; }
.rai-pillars { border-top: 1px solid rgb(255 255 255 / .1); }
.rai-pillar { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 28px 8px 28px 20px; border-bottom: 1px solid rgb(255 255 255 / .1); transition: background-color .25s ease; }
.rai-pillar::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: #7DB6E6; transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.rai-pillar:hover { background: rgb(255 255 255 / .025); }
.rai-pillar:hover::before { transform: scaleY(1); }
.rai-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgb(11 90 157 / .35); color: #7DB6E6; border: 1px solid rgb(125 182 230 / .25); }
.rai-pillar h3 { font-size: 20px; font-weight: 600; line-height: 1.3; color: #fff; }
.rai-pillar p { margin-top: 8px; max-width: 60ch; font-size: 16px; line-height: 1.65; color: #C9D3DE; }
.rai-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rai-tags li { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #7DB6E6; border: 1px solid rgb(125 182 230 / .28); background: rgb(125 182 230 / .06); }
@media (min-width: 640px) {
  .rai-pillar { grid-template-columns: 56px 1fr; padding-left: 24px; }
  .rai-ic { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .rai-pillar, .rai-pillar::before { transition: none; } }

/* security bento (design: services-sections/Enterprise-Grade Security – AppsChopper.html) */
.sec-head { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .sec-head { grid-template-columns: 1.35fr 1fr; align-items: end; } .sec-head-r { padding-bottom: .5rem; } }
.sec-bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .sec-bento { grid-template-columns: 1fr 1fr; } .sec-feature { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .sec-bento { grid-template-columns: 1.15fr 1fr 1fr; }
  .sec-feature { grid-column: 1; grid-row: 1 / span 2; }
}
.sec-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid rgb(var(--brand) / .14); border-radius: 18px; background: rgb(var(--surface)); transition: border-color .2s ease, transform .2s ease; }
.sec-card:hover { border-color: rgb(var(--accent) / .55); transform: translateY(-2px); }
.sec-card h3 { font-size: 19px; font-weight: 600; line-height: 1.3; color: rgb(var(--ink)); }
.sec-card p { font-size: 15.5px; line-height: 1.6; color: rgb(var(--muted)); }
.sec-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 11px; background: rgb(var(--soft)); color: rgb(var(--brand)); }
.sec-feature { position: relative; overflow: hidden; justify-content: space-between; gap: 28px; padding: 32px; background: #253243; border-color: #253243; }
.sec-feature::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; background: radial-gradient(circle, rgb(60 123 177 / .35), transparent 65%); pointer-events: none; }
.sec-feature h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.01em; color: #fff; }
.sec-feature p { font-size: 16px; color: #C9D3DE; }
.sec-feature .sec-ic { width: 52px; height: 52px; background: rgb(125 182 230 / .14); color: #7DB6E6; }
.sec-feature-link { position: relative; z-index: 1; align-self: flex-start; padding-bottom: 2px; border-bottom: 1.5px solid #7DB6E6; font-size: 15px; font-weight: 600; color: #fff; transition: color .25s var(--ease), border-color .25s var(--ease); }
.sec-feature-link:hover, .sec-feature-link:focus-visible { color: #7DB6E6; border-bottom-color: #fff; }
.sec-docs { display: grid; border: 1px solid rgb(var(--brand) / .14); border-radius: 18px; background: rgb(var(--surface)); }
.sec-docs-t { padding: 20px 24px; border-bottom: 1px solid rgb(var(--brand) / .14); font-size: 16px; font-weight: 600; color: rgb(var(--ink)); }
.sec-docs-l { display: grid; grid-template-columns: 1fr 1fr; }
.sec-docs-l li { display: flex; align-items: center; gap: 10px; padding: 18px 24px; border-bottom: 1px solid rgb(var(--brand) / .14); font-size: 15px; color: rgb(var(--muted)); }
.sec-docs-l li svg { flex: none; color: rgb(var(--accent)); }
.sec-docs-l li:nth-child(odd) { border-right: 1px solid rgb(var(--brand) / .14); }
.sec-docs-l li:nth-last-child(-n+2) { border-bottom: 0; }
/* odd count: the last item spans the row, and the one above it keeps its border */
.sec-docs-l li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.sec-docs-l li:nth-last-child(2):nth-child(even) { border-bottom: 1px solid rgb(var(--brand) / .14); }
@media (max-width: 480px) {
  .sec-docs-l { grid-template-columns: 1fr; }
  .sec-docs-l li:nth-child(odd) { border-right: 0; }
  .sec-docs-l li:nth-last-child(2) { border-bottom: 1px solid rgb(var(--brand) / .14); }
}
/* desktop: the title sits above one row of all five documents */
@media (min-width: 1024px) {
  .sec-docs-l { grid-template-columns: repeat(5, 1fr); }
  .sec-docs-l li { align-items: flex-start; border-bottom: 0; border-right: 1px solid rgb(var(--brand) / .14); }
  .sec-docs-l li:last-child, .sec-docs-l li:last-child:nth-child(odd) { grid-column: auto; border-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .sec-card { transition: none; } .sec-card:hover { transform: none; } }

/* FAQ cost table */
.cost-t { border-collapse: collapse; border: 1px solid rgb(var(--line)); border-radius: 12px; overflow: hidden; }
.cost-t th, .cost-t td { padding: .6rem .9rem; border-top: 1px solid rgb(var(--line)); font-size: .95rem; text-align: left; }
.cost-t tr:first-child th, .cost-t tr:first-child td { border-top: 0; }
.cost-t th { font-weight: 500; color: rgb(var(--ink)); }
.cost-t td { font-weight: 700; color: rgb(var(--brand)); text-align: right; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .fn-bar { transition: none !important; }
}
/* small screens: keep funnel labels readable */
@media (max-width: 640px) {
  .in-view .fn-bar { width: calc(40% + var(--w) * .6); }
  .fn-t { white-space: normal; }
}

/* solutions: "How it works" steps and system chips (same as /services/ai-agent-development) */
.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; }
.chip { padding: .35rem .7rem; border-radius: 8px; border: 1px solid rgb(var(--line)); background: rgb(var(--soft2)); font-size: .86rem; font-weight: 500; transition: border-color .2s var(--ease), color .2s var(--ease); }
.chip:hover { border-color: rgb(var(--brand)); color: rgb(var(--brand)); }

/* section icons from /assets/images/ai-custom/, as masks so they take their tile's colour (26px, like the healthcare pages);
   approach, stack and security tiles switch to white on brand when the card is hovered (the dark-band tiles keep their light blue) */
.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; }
.ic-card .icon-tile, .ic-card .svc-ic, .ic-card .sec-ic { transition: background-color .3s var(--ease), color .3s var(--ease); }
.ic-card:hover .icon-tile, .ic-card:hover .svc-ic, .ic-card:hover .sec-ic { background: rgb(var(--brand)); color: #fff; }

/* 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; } }
