﻿/* IF MedTech design system layer (proposed).
   Loaded last on every page. Follows Apple HIG text and touch guidance and the Laws of UX:
   one small type scale, readable line length, 44px touch targets, one button style,
   one label style, even section spacing. */
:root{
  --ds-navy:#0a2540;
  --ds-ink:#2f3a46;
  --ds-muted:#5d6b78;
  --ds-line:#dfe7ef;
  --ds-tint:#f4f8fc;
  /* type scale: label 13 / small 15 / body 17 / lead 19 / h3 20 / h2 30 / h1 52 */
  --ds-label:13px;
  --ds-small:15px;
  --ds-body:17px;
  --ds-lead:19px;
  --ds-h3:20px;
  --ds-h2:clamp(26px,2.6vw,32px);
  --ds-gap:clamp(56px,7vw,88px);
  --ds-measure:68ch;
}

html body{-webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility}

/* ---------- Body text: one size, comfortable line length ---------- */
html body .ia-body p,
html body .ia-body li,
html body .ia-body dd{font-size:var(--ds-body) !important; line-height:1.6}
html body .ia-body p,
html body .ia-body dd{max-width:var(--ds-measure)}
html body .ia-body li{max-width:var(--ds-measure)}

/* text inside cards and grids is a step smaller so cards stay calm */
html body .ia-body [class*="card"] p,
html body .ia-body [class*="grid"] p,
html body .ia-body .pb-two p,
html body .ia-body .pb-road p,
html body .ia-body .dm-drivers p,
html body .ia-body .co-svcs p,
html body .ia-body .sp-glance p{font-size:16px !important; line-height:1.55}

/* ---------- Headings: two sizes inside a page ---------- */
html body .ia-body h2{font-size:var(--ds-h2) !important; line-height:1.2; letter-spacing:-.01em; color:var(--ds-navy); margin-bottom:.6em}
html body .ia-body h3{font-size:var(--ds-h3) !important; line-height:1.3; color:var(--ds-navy)}
html body .ia-body h4{font-size:var(--ds-body); line-height:1.35}

/* ---------- Labels and small text: nothing below 13px ---------- */
html body .ia-crumb,
html body .ia-crumb a,
html body span.pb-k,
html body p.svp-label,
html body .svp-eyebrow,
html body .ia-dl dt,
html body span.ia-more,
html body .pd2-state,
html body .pd2-cat,
html body .in-tag,
html body .tk-meta i,
html body .in-filter button,
html body .sv-cta-note,
html body .hm-eyebrow,
html body small{font-size:var(--ds-label) !important; line-height:1.4}
html body p.pb-note{font-size:var(--ds-label) !important; line-height:1.5}
html body .ia-crumb{letter-spacing:.08em}

/* one label style: small caps-like eyebrow in steel */
html body .svp-eyebrow,
html body p.svp-label,
html body .ia-dl dt,
html body span.pb-k{letter-spacing:.08em; text-transform:uppercase; font-weight:600; color:#527b95}

/* ---------- Intro block (ia-dl): lead size ---------- */
html body .ia-dl dd{font-size:var(--ds-lead) !important; line-height:1.55}

/* ---------- Even rhythm between sections ---------- */
html body .ia-body .sp-sec,
html body .ia-body .dm-sec{margin-top:var(--ds-gap); margin-bottom:0}
html body .ia-body .sp-sec:first-child,
html body .ia-body .dm-sec:first-child{margin-top:0}

/* ---------- One button style ---------- */
html body .ia-btn,
html body .svp-more,
html body .ifmt-cta{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:44px; padding:0 24px; border-radius:999px;
  font-size:16px; font-weight:600; line-height:1; text-decoration:none;
}
html body .ia-btn:focus-visible,
html body .ds-link:focus-visible,
html body a:focus-visible,
html body button:focus-visible,
html body summary:focus-visible{outline:3px solid #6db4b8; outline-offset:3px}

/* secondary action: a quiet text link, never a second button */
html body .ds-link{
  display:inline-flex; align-items:center; gap:6px; min-height:44px;
  font-size:16px; font-weight:600; color:var(--ds-navy); text-decoration:none;
  border-bottom:1px solid transparent;
}
html body .ds-link:hover{border-bottom-color:currentColor}
html body .sv-cta-btns{align-items:center; gap:8px 24px}

/* ---------- Closing call to action: calm, one decision ---------- */
html body .ia-cta p{font-size:clamp(19px,2vw,24px) !important; line-height:1.4; max-width:36ch}

/* ---------- Questions: 44px rows, readable answers ---------- */
html body .ia-body details summary{min-height:44px; display:flex; align-items:center; font-size:var(--ds-body); line-height:1.4; cursor:pointer}
html body .ia-body details p{font-size:16px !important}

/* ---------- Touch targets ---------- */
html body .pb-go{display:inline-flex; align-items:center; min-height:44px}
html body .in-filter button{min-height:44px; padding:0 16px}
/* dropdown links (.ifmt-link) keep their stacked title + description */
html body .ifmt-nav a.ifmt-link{display:block; min-height:44px}
html body .ia-crumb a{display:inline-block; padding:12px 0}
html body .ifmt-ftr a{display:inline-block; padding:6px 0}

/* ---------- Home page: same scale ---------- */
html body .ho-sc p.ho-t-desc,
html body .hm-ins p{font-size:16px !important; line-height:1.55}

/* ---------- Tool pages and Insights articles: same scale as the rest ---------- */
/* labels: 13px */
html body .tt-trio a b,
html body .tt-area,
html body .tt-peek > h2,
html body .tt-peek-foot,
html body .tt-meter-h span,
html body .cc-table th,
html body .cc-limits cite,
html body .in-brief > b,
html body .in-pager span{font-size:var(--ds-label) !important; line-height:1.4}
html body .tt-peek > h2,
html body .in-brief > b,
html body .in-pager span{letter-spacing:.08em; text-transform:uppercase; font-weight:600}
/* small text: 15px */
html body .tt-trio a,
html body .tt-peek-note,
html body .in-fig figcaption,
html body .in-act-row a > span,
html body .tk-rail a.tk-tool span{font-size:var(--ds-small) !important; line-height:1.5}
/* body text and controls: 16-17px */
html body .tt-hint,
html body .tt-opt-t,
html body .tt-btn,
html body .tt-more details summary,
html body .in-table th,
html body .in-table td,
html body .in-pager b,
html body .in-act-row a > b,
html body .tk-rail a.tk-tool b{font-size:16px !important}
html body .tt-more-grid p{font-size:var(--ds-body) !important; line-height:1.6; max-width:var(--ds-measure)}
html body .tt-more .ia-wrap > h2{font-size:var(--ds-h2) !important; line-height:1.2}
html body .tt-btn{min-height:44px}
html body .tt-more details summary{min-height:44px; display:flex; align-items:center}
/* tables, glossaries and option notes: 15px small text */
html body .cc-table td,
html body .cc-table td b,
html body .cc-gloss dt,
html body .cc-gloss dd,
html body .cc-limits li,
html body .tt-opt-d,
html body .in-act-row a span,
html body .in-share a,
html body .in-share button{font-size:var(--ds-small) !important; line-height:1.5}
html body .in-share a,
html body .in-share button{min-height:44px; display:inline-flex; align-items:center}
html body .in-back{font-size:16px !important; min-height:44px; display:inline-flex; align-items:center}
html body .tt-draft,
html body .tt-draft mark{font-size:16px !important}

/* ================= Home page design language on inner pages =================
   Same building blocks as the home page: small capitals label above each heading,
   42px section headings with a grey intro line, generous spacing, soft blue cards
   with 20px corners, and arrow links instead of underlined "Read more". */
:root{ --ds-gap:clamp(72px,8vw,104px); --ds-h2:clamp(26px,2.4vw,32px); --ds-soft:#f1f6fc; --ds-soft-line:rgba(10,37,64,.10); --ds-grey:#4a5560; --ds-r:20px }

/* label above section headings (matches .hm-eyebrow on the home page) */
html body .ds-eyebrow{display:block; margin:0 0 14px; font-size:13px; font-weight:600; line-height:1.4;
  letter-spacing:.14em; text-transform:uppercase; color:#46697f}
html body .ia-body h2{font-weight:500; letter-spacing:-.015em}
html body .ia-body p.dm-sub,
html body .ia-body .ds-lead{font-size:19px !important; line-height:1.55; color:var(--ds-grey); max-width:62ch}
html body .ds-sec-head{margin:0 0 8px}

/* cards: home style */
html body .ia-card{border-radius:var(--ds-r); border-color:var(--ds-soft-line)}
html body .ia-card:hover{border-color:rgba(10,37,64,.22); box-shadow:0 18px 40px -18px rgba(10,37,64,.25)}
html body .ia-card--img .ia-card-body{padding:22px 24px 24px}
html body .ia-body .ia-card h2,
html body .ia-body .ia-card h3{font-size:22px !important; font-weight:600; letter-spacing:-.01em; line-height:1.25; margin-bottom:10px}
html body .ia-body .ia-card p{color:var(--ds-grey)}
html body .ia-more{margin-top:auto; padding-top:16px; border:0 !important; font-size:15px !important; font-weight:600;
  color:var(--ds-navy); letter-spacing:0; text-transform:none; font-family:inherit}
html body .ia-more::after{content:" \2192"}
html body .ia-card:hover .ia-more{text-decoration:underline; text-underline-offset:3px}

/* soft panels and tiles: one shape, one tint */
html body .sp-steps > li,
html body .dm-prog > li,
html body .pb-two > .pb-col,
html body .ia-wrap > section.sp-sec[class*="sp-next"],
html body .pb-purp > li,
html body .dm-drivers > .dm-driver,
html body .sp-glance > .sp-card,
html body .co-stats > li,
html body .pb-gal figure{border-radius:var(--ds-r)}
html body .sp-steps > li,
html body .dm-prog > li,
html body .pb-col--in{background:var(--ds-soft) !important; box-shadow:inset 0 0 0 1px var(--ds-soft-line)}
html body .dm-drivers > .dm-driver,
html body .sp-glance > .sp-card,
html body .pb-purp > li{border:1px solid var(--ds-soft-line) !important; background:var(--ds-soft) !important}
/* tile text: same as the photo cards (22px semibold title, 16px grey text) */
html body .ia-body .sp-steps > li h3,
html body .ia-body .dm-prog > li h3,
html body .ia-body .dm-drivers h3,
html body .ia-body .sp-glance h3,
html body .ia-body .pb-purp h3{font-size:22px !important; font-weight:600; letter-spacing:-.01em; line-height:1.25; margin:0 0 10px; color:var(--ds-navy)}
html body .ia-body .sp-steps > li p,
html body .ia-body .dm-prog > li p,
html body .ia-body .dm-drivers p,
html body .ia-body .sp-glance p,
html body .ia-body .pb-purp p{font-size:16px !important; line-height:1.55; color:var(--ds-grey)}
html body .ia-wrap > section.sp-sec[class*="sp-next"]{background:var(--ds-soft); padding:clamp(24px,3vw,40px)}

/* closing call to action: home-style panel */
html body .ia-cta{background:var(--ds-soft); border:1px solid var(--ds-soft-line) !important; border-radius:24px;
  padding:clamp(28px,4vw,48px) !important; margin-top:var(--ds-gap)}

/* headings inside the two-column tools panel: one step down */
html body .ia-body section.sp-sec[class*="sp-next"] h2{font-size:clamp(22px,2vw,26px) !important}
html body section.sp-sec[class*="sp-next"] a{border-radius:14px}

/* step map (Where This Sits): room for the active circle's ring inside the scroll box */
html body .sp-map{padding:10px 8px; margin-left:-8px; margin-right:-8px}

/* path timeline: every step shares the same rows (pin, label, title, text, link), so titles, text and links line up across */
@media (min-width:901px){
  html body .pb-road{grid-template-rows:repeat(5,auto)}
  html body .pb-road > li{display:grid; grid-row:span 5; grid-template-rows:subgrid; align-content:start}
  html body .pb-road > li > *{align-self:start}
  html body .pb-road .pb-go{justify-self:start}
}


/* icon tiles: icons have transparent backgrounds */
html body .pb-prop{background:transparent}


/* ================= Home: Who We Help cards, full-photo style (Option C) =================
   The photo fills the card; the text sits on a navy fade on the left (top on phones).
   Title near the top so each stacked card still shows its name above the next one. */
html body .ho-stack .ho-sc{display:flex !important; flex-direction:column; justify-content:flex-start; gap:12px;
  position:sticky; box-sizing:border-box; min-height:280px; padding:30px 36px 32px !important; background:#0a2540 !important;
  border:0 !important; color:#fff; isolation:isolate}
html body .ho-stack .ho-sc::before{content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg,rgba(10,37,64,.96) 0%,rgba(10,37,64,.9) 40%,rgba(10,37,64,0) 70%)}
html body .ho-stack .ho-sc .ho-t-img{position:absolute !important; inset:0 0 0 28% !important; z-index:0;
  border-radius:0 !important; min-height:0 !important; aspect-ratio:auto !important; margin:0 !important}
html body .ho-stack .ho-sc .ho-t-img img{object-position:60% 22% !important}
html body .ho-stack .ho-sc .ho-t:not(.ho-t-img){position:relative; z-index:2; background:none !important; padding:0 !important;
  max-width:520px; display:block}
html body .ho-stack .ho-sc .ho-t > span{display:none !important}
html body .ia-main .ho-stack .ho-sc h3{font-size:30px !important; font-weight:700; letter-spacing:-.01em; line-height:1.15;
  color:#fff !important; margin:0 !important; white-space:normal !important}
html body .ia-main .ho-stack .ho-sc .ho-t-q p{font-size:19px !important; line-height:1.45; font-style:italic; font-weight:400;
  color:#dfe9f3 !important; background:none !important; border:0 !important; padding:0 !important; margin:4px 0 0 !important}
html body .ho-stack .ho-sc .ho-t-start{display:flex !important; flex-direction:row !important; flex-wrap:wrap; align-items:center !important; justify-content:flex-start !important; gap:14px 16px; margin-top:6px; padding:0 !important; text-align:left}
html body .ia-main .ho-stack .ho-sc .ho-t-start p.ho-t-desc{flex:0 0 100%; font-size:16px !important; line-height:1.55; text-align:left;
  font-weight:400; color:#c9d6e2 !important; max-width:none; margin:0 !important; padding:0 !important}
html body .ia-main .ho-stack .ho-sc .ho-t-start p:not(.ho-t-desc){font-size:14px !important; line-height:1; font-weight:600;
  color:#fff !important; padding:10px 14px; border-radius:999px; background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.3) !important; margin:0 !important}
html body .ia-main .ho-stack .ho-sc .ho-t-start p:not(.ho-t-desc)::before{content:"Starts with "; font-weight:400; color:#dfe9f3}
html body .ho-stack .ho-sc .ho-t-start em{display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 20px;
  border-radius:999px; background:#fff; color:#0a2540 !important; font-style:normal; font-size:15px !important; font-weight:600}
html body .ho-stack .ho-sc:hover .ho-t-start em{background:#e8f0f8}

@media (max-width:1000px){
  html body .ho-stack .ho-sc{min-height:470px; padding:22px 22px 24px !important}
  html body .ho-stack .ho-sc::before{background:linear-gradient(180deg,rgba(10,37,64,.96) 0%,rgba(10,37,64,.9) 48%,rgba(10,37,64,0) 80%)}
  html body .ho-stack .ho-sc .ho-t-img{inset:42% 0 0 0 !important}
  html body .ia-main .ho-stack .ho-sc h3{font-size:22px !important}
  html body .ia-main .ho-stack .ho-sc .ho-t-q p{font-size:17px !important}
  html body .ho-stack .ho-sc .ho-t-start{margin-top:4px}
}

/* product cards: show the whole product on white, as on the Products page */
html body .ds-card-product .ia-card-media{aspect-ratio:4/3; background:#fff; border-bottom:1px solid var(--ds-soft-line)}
html body .ds-card-product .ia-card-media img{object-fit:contain !important; padding:18px; box-sizing:border-box}
html body .ds-card-product:hover .ia-card-media img{transform:scale(1.03)}

html body .ds-grid-products{grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr))}
html body .ds-card-product .ia-card-media img{padding:14px}
html body .ds-card-product .ia-card-body{padding:18px 20px 20px}
html body .ia-body .ds-card-product h3{font-size:20px !important}

html body .ds-grid-products{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr))}
@media (min-width:1000px){html body .ds-grid-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
html body .ds-card-product .ia-card-media{aspect-ratio:16/9}
html body .ds-card-product .ia-card-media img{padding:16px 24px}


/* Our Work: device areas as one sideways-scrolling row */
html body .ds-hs{position:relative}
html body .ds-hs-nav{display:flex; justify-content:flex-end; gap:10px; margin:-6px 0 14px}
html body .ds-hs-btn{width:44px; height:44px; border-radius:999px; border:1px solid var(--ds-soft-line); background:#fff; color:var(--ds-navy);
  font-size:18px; cursor:pointer; transition:background 150ms cubic-bezier(.2,0,0,1), opacity 150ms cubic-bezier(.2,0,0,1)}
html body .ds-hs-btn:hover:not(:disabled){background:var(--ds-soft)}
html body .ds-hs-btn:disabled{opacity:.35; cursor:default}
html body .ia-grid.ds-hscroll{display:grid; grid-auto-flow:column; grid-template-columns:none;
  grid-auto-columns:max(260px, calc((100% - 3 * 16px) / 3.3)); gap:16px; margin-top:0;
  overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-left:2px;
  padding:2px 2px 14px; scrollbar-width:thin; scrollbar-color:#c9d6e2 transparent}
html body .ds-hscroll > .ia-card{scroll-snap-align:start}
html body .ds-hscroll:focus-visible{outline:3px solid #6db4b8; outline-offset:4px; border-radius:12px}
@media (max-width:700px){ html body .ia-grid.ds-hscroll{grid-auto-columns:82%} html body .ds-hs-nav{display:none} }
