/* HealthFAX AI EMR pages (/in/). Built pages: _tools/build-hfx-pages.py. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blue: #004b8c;
  --blue-600: #0a5ea8;
  --blue-800: #003a6d;
  --navy: #06223f;
  --navy-900: #041326;
  --cyan: #13a6c9;
  --teal: #0a9f7a;
  --teal-600: #08876a;
  --teal-50: #e6f7f1;
  --mint: #7cf2c5;
  --ink: #0b1b2b;
  --text: #33475b;
  --muted: #5b6e82;
  --line: #e3ebf4;
  --soft: #f5f9fd;
  --soft-2: #eef4fa;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(11, 42, 74, .06), 0 8px 24px rgba(11, 42, 74, .08);
  --shadow-lg: 0 24px 60px rgba(11, 42, 74, .18);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.hfx {
  margin: 0; background: var(--white); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.hfx-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hfx-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hfx-skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.hfx-skip:focus { left: 8px; }

/* ── Buttons, badges, eyebrows ─────────────────────────────────────────── */
.hfx-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  background: var(--blue); color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 75, 140, .25); transition: transform .15s, box-shadow .15s, background .15s;
}
.hfx-btn:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 75, 140, .3); }
.hfx-btn--ghost { background: var(--white); color: var(--blue); border-color: #c5d6e8; box-shadow: none; }
.hfx-btn--ghost:hover { background: var(--soft); box-shadow: none; }
.hfx-btn--light { background: var(--white); color: var(--blue); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.hfx-btn--light:hover { background: #f0f7ff; }
.hfx-btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.hfx-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hfx-ai {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; line-height: 1;
  color: var(--teal-600); background: var(--teal-50); border: 1px solid #bfe9da; border-radius: 6px;
  padding: 3px 6px; vertical-align: 2px; margin-right: 4px;
}
.hfx-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.hfx-standalone {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--blue);
  background: #e6f0fa; border: 1px solid #cfe0f2; border-radius: 999px; padding: 6px 12px; margin-bottom: 16px;
}
.hfx-standalone::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(10, 159, 122, .18); }
.hfx-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 640px; }
.hfx-note { font-size: 14px; color: var(--muted); }

/* ── Header ────────────────────────────────────────────────────────────── */
.hfx-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(227, 235, 244, .9);
}
.hfx-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; }
.hfx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.hfx-brand img { height: 30px; width: auto; border-radius: 4px; }
.hfx-brand__product { font-weight: 800; color: var(--ink); font-size: 15px; padding-left: 12px; border-left: 1px solid var(--line); white-space: nowrap; }
.hfx-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.hfx-nav__link {
  display: inline-block; padding: 8px 12px; border-radius: 8px; font: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.hfx-nav__link:hover, .hfx-nav__link.is-active { color: var(--blue); background: var(--soft); }
.hfx-nav__toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.hfx-nav__group { position: relative; }
.hfx-nav__menu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.hfx-nav__group.is-open .hfx-nav__menu { opacity: 1; visibility: visible; transform: none; }
.hfx-nav__menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.hfx-nav__menu a:hover { background: var(--soft); color: var(--blue); }
.hfx-nav__cta { margin-left: 8px; }
.hfx-nav__cta .is-active { background: var(--blue-800); }
.hfx-menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; position: relative; }
.hfx-menu-btn__bars, .hfx-menu-btn__bars::before, .hfx-menu-btn__bars::after {
  position: absolute; left: 12px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .2s, opacity .2s;
}
.hfx-menu-btn__bars { top: 21px; }
.hfx-menu-btn__bars::before { left: 0; top: -6px; }
.hfx-menu-btn__bars::after { left: 0; top: 6px; }
.hfx-menu-btn[aria-expanded="true"] .hfx-menu-btn__bars { background: transparent; }
.hfx-menu-btn[aria-expanded="true"] .hfx-menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.hfx-menu-btn[aria-expanded="true"] .hfx-menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .hfx-menu-btn { display: block; }
  .hfx-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 68px); overflow-y: auto; }
  .hfx-nav.is-open { display: block; }
  .hfx-nav__list { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .hfx-nav__link { width: 100%; text-align: left; padding: 12px; font-size: 16px; }
  .hfx-nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; min-width: 0; }
  .hfx-nav__group.is-open .hfx-nav__menu { display: block; }
  .hfx-nav__cta { margin: 10px 0 0; }
  .hfx-nav__cta .hfx-btn { width: 100%; padding: 13px; font-size: 16px; }
}
@media (max-width: 420px) {
  .hfx-brand img { height: 20px; }
  .hfx-brand__product { font-size: 13.5px; padding-left: 10px; }
  .hfx-header__inner { padding: 10px 16px; gap: 10px; }
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.hfx-section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.hfx-section--soft { background: var(--soft); }
.hfx-section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.hfx-section--dark {
  background: radial-gradient(1000px 520px at 78% 20%, #0c4f8f 0%, var(--navy) 55%, var(--navy-900) 100%);
  color: #c6dbef; overflow: hidden;
}
.hfx-section--dark h2, .hfx-section--dark h3 { color: var(--white); }
.hfx-section--dark .hfx-eyebrow { color: var(--mint); }
.hfx-section--dark .hfx-lead, .hfx-section--dark .hfx-note { color: #a9c3dc; }
.hfx-head { max-width: 760px; margin-bottom: 40px; }
.hfx-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.hfx-head--center .hfx-lead { margin-left: auto; margin-right: auto; }

.hfx-grid-2, .hfx-grid-3, .hfx-grid-4 { display: grid; gap: 20px; }
.hfx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hfx-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hfx-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hfx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hfx-split--flip > :first-child { order: 2; }
@media (max-width: 1024px) { .hfx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .hfx-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hfx-split { grid-template-columns: minmax(0, 1fr); } .hfx-split--flip > :first-child { order: 0; } }
@media (max-width: 720px) { .hfx-grid-2, .hfx-grid-3, .hfx-grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ── Cards and features ────────────────────────────────────────────────── */
.hfx-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 1px 2px rgba(11, 42, 74, .04); transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.hfx-card { display: block; text-decoration: none; color: inherit; }
a.hfx-card:hover, .hfx-card--lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe0f2; }
.hfx-card h3 { margin-bottom: 6px; }
.hfx-card p { margin: 0; color: var(--muted); font-size: 15px; }
.hfx-card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, #e6f0fa, #e6f7f1); color: var(--blue);
}
.hfx-card__icon svg { width: 22px; height: 22px; }
.hfx-card__more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--blue); }
.hfx-section--dark .hfx-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.hfx-section--dark .hfx-card p { color: #b5cde4; }
.hfx-section--dark .hfx-card__icon { background: rgba(124, 242, 197, .12); color: var(--mint); }
.hfx-section--dark .hfx-checklist li { color: #d4e7f7; }
.hfx-section--dark .hfx-shot img { border-color: rgba(255, 255, 255, .18); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

.hfx-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 28px; }
.hfx-feature-group { margin-bottom: 44px; }
.hfx-feature-group:last-child { margin-bottom: 0; }
.hfx-feature-group > h3 { font-size: 1.25rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hfx-feature { padding: 4px 0 4px 18px; border-left: 2px solid #d8e6f3; }
.hfx-feature strong { display: block; color: var(--ink); font-size: 15.5px; }
.hfx-feature span.hfx-feature__line { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.hfx-feature:has(.hfx-ai) { border-left-color: var(--teal); }

.hfx-checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.hfx-checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.hfx-checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230a9f7a'%3E%3Cpath d='M8 13.2 4.8 10l-1.1 1.1L8 15.4l8.3-8.3-1.1-1.1z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hfx-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); overflow: hidden;
  background: radial-gradient(900px 480px at 85% 10%, rgba(19, 166, 201, .14), transparent 60%),
              radial-gradient(700px 420px at 0% 100%, rgba(10, 159, 122, .10), transparent 60%),
              linear-gradient(180deg, #f4f9ff 0%, #ffffff 80%); }
.hfx-hero h1 span.hfx-grad { background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 55%, var(--teal) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hfx-hero .hfx-lead { margin-bottom: 26px; }
.hfx-hero h1 { font-size: clamp(2.1rem, 3.9vw, 3.1rem); }
.hfx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); align-items: center; }
@media (max-width: 960px) { .hfx-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.hfx-hero--page { padding-bottom: clamp(40px, 6vw, 72px); }
.hfx-hero__shot { position: relative; }
.hfx-hero__shot img { border-radius: 14px; border: 1px solid #dbe6f2; box-shadow: var(--shadow-lg); background: var(--white); }
.hfx-hero__shot--stack img + img { margin: 18px 0 0 8%; width: 92%; }
.hfx-hero__shot--narrow img { max-width: 340px; margin: 0 auto; }
.hfx-hero h1 .hfx-ai { font-size: .4em; vertical-align: middle; position: relative; top: -.15em; }

/* Layered screenshots with floating AI tags */
.hfx-stack { position: relative; aspect-ratio: 1.12 / 1; max-width: 640px; margin-left: auto; width: 100%; }
.hfx-stack::before { content: ""; position: absolute; inset: 8% 4%; background: radial-gradient(circle at 60% 50%, rgba(124, 200, 255, .45), transparent 65%); filter: blur(24px); }
.hfx-stack img { position: absolute; border-radius: 12px; border: 1px solid #dbe6f2; box-shadow: var(--shadow-lg); background: var(--white); }
.hfx-stack__main { width: 82%; left: 0; top: 4%; }
.hfx-stack__side { width: 38%; right: 20%; top: 38%; }
.hfx-stack__phone { width: 27%; right: 0; top: 2%; border-radius: 22px !important; }
.hfx-tag {
  position: absolute; display: flex; align-items: center; gap: 8px; max-width: 260px;
  background: var(--white); border: 1px solid #cfe0f2; border-radius: 12px; padding: 8px 12px;
  font-size: 13px; font-weight: 700; color: var(--blue-800); box-shadow: 0 10px 28px rgba(11, 42, 74, .16);
}
.hfx-tag .hfx-ai { margin: 0; }
.hfx-tag--a { left: 2%; bottom: 10%; }
.hfx-tag--b { right: 0; bottom: 0; }
.hfx-float { animation: hfx-float 7s ease-in-out infinite; }
.hfx-float--slow { animation-duration: 9s; animation-delay: -2s; }
.hfx-float--late { animation-delay: -4s; }
@keyframes hfx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 560px) {
  .hfx-stack { aspect-ratio: 0.95 / 1; }
  .hfx-stack__main { width: 92%; }
  .hfx-stack__side { width: 46%; right: 26%; top: 44%; }
  .hfx-stack__phone { width: 34%; }
  .hfx-tag { font-size: 11.5px; padding: 6px 9px; max-width: 200px; }
}

/* ── Journey (one patient, AI at every step) ───────────────────────────── */
.hfx-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; position: relative; }
.hfx-journey::before { content: ""; position: absolute; left: 6%; right: 6%; top: 31px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--teal)); }
.hfx-journey li { text-align: center; position: relative; }
.hfx-journey__dot {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; position: relative;
  background: var(--white); border: 3px solid var(--cyan); color: var(--blue); box-shadow: 0 8px 22px rgba(19, 166, 201, .22);
}
.hfx-journey__dot svg { width: 26px; height: 26px; }
.hfx-journey h3 { font-size: 1rem; margin-bottom: 8px; }
.hfx-journey__ai { font-size: 13.5px; line-height: 1.45; color: #0b5e48; background: var(--teal-50); border: 1px solid #bfe9da; border-radius: 10px; padding: 10px; }
@media (max-width: 960px) {
  .hfx-journey { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hfx-journey::before { left: 31px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: linear-gradient(180deg, var(--blue), var(--cyan), var(--teal)); }
  .hfx-journey li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; text-align: left; padding-bottom: 18px; }
  .hfx-journey__dot { margin: 0; grid-row: span 2; }
  .hfx-journey h3 { margin: 8px 0 6px; }
}

/* ── Scale band ────────────────────────────────────────────────────────── */
.hfx-scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.hfx-scale__tier { padding: 28px; border-right: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .2s; display: block; }
.hfx-scale__tier:last-child { border-right: 0; }
.hfx-scale__tier:hover { background: var(--soft); }
.hfx-scale__size { display: flex; gap: 4px; margin-bottom: 14px; align-items: flex-end; height: 34px; }
.hfx-scale__size i { display: block; width: 10px; border-radius: 3px; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.hfx-scale__tier h3 { margin-bottom: 6px; }
.hfx-scale__tier p { margin: 0; color: var(--muted); font-size: 15px; }
.hfx-scale__foot { margin-top: 20px; text-align: center; font-weight: 700; color: var(--ink); }
.hfx-scale__foot span { color: var(--teal); }
@media (max-width: 860px) { .hfx-scale { grid-template-columns: minmax(0, 1fr); } .hfx-scale__tier { border-right: 0; border-bottom: 1px solid var(--line); } .hfx-scale__tier:last-child { border-bottom: 0; } }

/* ── Phone frames ──────────────────────────────────────────────────────── */
.hfx-phones { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.hfx-phone { width: min(44%, 230px); border-radius: 30px; padding: 6px; background: #0e1726; box-shadow: var(--shadow-lg); }
.hfx-phone img { border-radius: 24px; }
.hfx-phone--low { margin-top: 48px; }

/* ── Illustrative call ─────────────────────────────────────────────────── */
.hfx-call { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px; max-width: 520px; }
.hfx-call__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.hfx-call__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: var(--white); }
.hfx-call__avatar svg { width: 20px; height: 20px; }
.hfx-call__title { font-weight: 800; color: var(--ink); font-size: 15px; line-height: 1.3; }
.hfx-call__sub { font-size: 12.5px; color: var(--muted); }
.hfx-call__label { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--soft-2); border-radius: 999px; padding: 4px 9px; }
.hfx-call__wave { display: inline-flex; gap: 2px; align-items: center; height: 14px; margin-left: 6px; vertical-align: middle; }
.hfx-call__wave i { width: 3px; border-radius: 2px; background: var(--teal); height: 40%; animation: hfx-wave 1s ease-in-out infinite; }
.hfx-call__wave i:nth-child(2) { animation-delay: -.2s; } .hfx-call__wave i:nth-child(3) { animation-delay: -.4s; } .hfx-call__wave i:nth-child(4) { animation-delay: -.6s; }
@keyframes hfx-wave { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.hfx-call__line { margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; max-width: 88%; }
.hfx-call__line[data-who="agent"] { background: var(--soft-2); color: var(--ink); border-top-left-radius: 4px; }
.hfx-call__line[data-who="patient"] { background: var(--blue); color: var(--white); margin-left: auto; border-top-right-radius: 4px; }
.hfx-call__line small { display: block; font-size: 11px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.hfx-call__result { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hfx-call__result span { font-size: 12.5px; font-weight: 700; color: var(--teal-600); background: var(--teal-50); border: 1px solid #bfe9da; border-radius: 999px; padding: 5px 10px; }
.hfx-call.is-animating .hfx-call__line, .hfx-call.is-animating .hfx-call__result { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.hfx-call.is-animating .is-shown { opacity: 1; transform: none; }

/* ── Standards strip, modular cards, quotes ────────────────────────────── */
.hfx-standards { display: flex; flex-wrap: wrap; gap: 12px; }
.hfx-standards li { list-style: none; font-weight: 700; font-size: 14.5px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.hfx-standards ul { padding: 0; margin: 0; }
.hfx-standards svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.hfx-modules { display: grid; grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); gap: 14px; }
.hfx-modules .hfx-card { padding: 20px; }
.hfx-modules .hfx-card--full { background: linear-gradient(140deg, var(--blue) 0%, #0a7fa8 100%); border: 0; color: #d4e7f7; }
.hfx-modules .hfx-card--full h3 { color: var(--white); }
.hfx-modules .hfx-card--full p { color: #d4e7f7; }
@media (max-width: 1100px) { .hfx-modules { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hfx-modules .hfx-card--full { grid-column: 1 / -1; } }
@media (max-width: 600px) { .hfx-modules { grid-template-columns: minmax(0, 1fr); } }
.hfx-starts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
@media (max-width: 720px) { .hfx-starts { grid-template-columns: minmax(0, 1fr); } }
.hfx-quotes { border: 1px dashed var(--line); border-radius: var(--radius); padding: 24px; }

/* ── Images with captions ──────────────────────────────────────────────── */
.hfx-shot { margin: 0; }
.hfx-shot img { border-radius: 12px; border: 1px solid #dbe6f2; box-shadow: var(--shadow); background: var(--white); }
.hfx-shot figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.hfx-shot--center img { margin: 0 auto; }
.hfx-shots { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: center; }
.hfx-shots .hfx-shot { flex: 1 1 260px; max-width: 520px; }
.hfx-concept img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--white); }

/* ── CTA band ──────────────────────────────────────────────────────────── */
.hfx-cta { padding: clamp(56px, 8vw, 96px) 0; text-align: center; color: #d4e7f7; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 15% 0%, rgba(124, 242, 197, .25), transparent 60%), linear-gradient(120deg, var(--blue) 0%, #0a7fa8 100%); }
.hfx-cta h2 { color: var(--white); }
.hfx-cta p { max-width: 620px; margin: 0 auto 26px; font-size: 1.1rem; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.hfx-footer { background: var(--navy-900); color: #93acc6; font-size: 14.5px; }
.hfx-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 44px 24px 36px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.hfx-footer__brand img { height: 30px; width: auto; border-radius: 4px; margin-bottom: 14px; }
.hfx-footer__brand p { margin: 0; max-width: 420px; }
.hfx-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; align-content: start; }
.hfx-footer a { color: #d2e2f2; text-decoration: none; }
.hfx-footer a:hover { color: var(--white); text-decoration: underline; }
.hfx-footer__legal { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
@media (max-width: 720px) { .hfx-footer__inner { grid-template-columns: minmax(0, 1fr); } .hfx-footer__links { justify-content: flex-start; } }

/* ── Reveal on scroll ──────────────────────────────────────────────────── */
.hfx-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.hfx-js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hfx-float, .hfx-call__wave i { animation: none; }
  .hfx-js .reveal { opacity: 1; transform: none; transition: none; }
  .hfx-call.is-animating .hfx-call__line, .hfx-call.is-animating .hfx-call__result { opacity: 1; transform: none; transition: none; }
  .hfx-btn, .hfx-card, .hfx-nav__menu { transition: none; }
}

/* ── Book a demo ── */
.hfx-demo__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .hfx-demo__grid { grid-template-columns: minmax(0, 1fr); } }
.hfx-demo__intro { padding-top: 8px; }
.hfx-form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: clamp(20px, 3.5vw, 36px); min-width: 0; }
.hfx-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
@media (max-width: 560px) { .hfx-form__grid { grid-template-columns: minmax(0, 1fr); } }
.hfx-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.hfx-field[hidden] { display: none; }
.hfx-form > .hfx-field, .hfx-form > .hfx-checks { margin-top: 18px; }
.hfx-field label, .hfx-checks legend { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.hfx-optional { font-weight: 400; color: var(--muted); }
.hfx-field input, .hfx-field select, .hfx-field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--white);
  border: 1px solid #cdd9e6; border-radius: 10px; padding: 11px 12px; min-height: 46px;
}
.hfx-field textarea { resize: vertical; min-height: 88px; }
.hfx-field input:focus, .hfx-field select:focus, .hfx-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 75, 140, .15); }
.hfx-field [aria-invalid="true"] { border-color: #c62828; }
.hfx-field__error { margin: 0; color: #c62828; font-size: 14px; }
.hfx-field--wide { grid-column: 1 / -1; }
.hfx-field__hint { margin: 0; color: var(--muted); font-size: 13.5px; }
.hfx-checks { border: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.hfx-checks legend { padding: 0; margin-bottom: 10px; }
@media (max-width: 560px) { .hfx-checks { grid-template-columns: minmax(0, 1fr); } }
.hfx-checks label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--ink); cursor: pointer; }
.hfx-checks input { width: 18px; height: 18px; min-height: 0; accent-color: var(--blue); flex: none; }
.hfx-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.hfx-captcha { margin-top: 22px; max-width: 100%; }
.hfx-form__status { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #8e1c1c; font-size: 14.5px; }
.hfx-form__submit { margin-top: 18px; width: 100%; justify-content: center; }
.hfx-form__submit:disabled { opacity: .55; cursor: not-allowed; }
.hfx-form__privacy { margin-top: 12px; font-size: 13.5px; }
.hfx-thanks { text-align: center; padding: clamp(24px, 5vw, 48px) 8px; outline: none; }
.hfx-thanks h2 { margin-bottom: 8px; }
.hfx-thanks p { color: var(--muted); margin: 0; }

/* ══ v2 look: photo hero, photo cards, bento tiles, product window ══════════ */
.hfx-btn, .hfx-btn--sm { border-radius: 999px; }
.hfx-btn--mint { background: var(--mint); color: #04261c; box-shadow: 0 10px 30px rgba(124, 242, 197, .28); }
.hfx-btn--mint:hover { background: #9af7d4; box-shadow: 0 14px 34px rgba(124, 242, 197, .36); }
.hfx-btn--glass { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .38); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hfx-btn--glass:hover { background: rgba(255, 255, 255, .2); box-shadow: none; }

.hfx-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); background: #e6f0fa; border: 1px solid #cfe0f2; border-radius: 999px; padding: 6px 12px; margin-bottom: 14px;
}
.hfx-pill--glass { color: #d9f7ec; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hfx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(124, 242, 197, .22); }
.hfx-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.hfx-pills > span { font-size: 12px; font-weight: 700; color: var(--blue); background: #eaf2fb; border: 1px solid #d5e4f4; border-radius: 999px; padding: 3px 10px; }
.hfx-pills--on-dark > span { color: #eaf6ff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); }
.hfx-grad-light { background: linear-gradient(90deg, #8fd3ff 0%, var(--mint) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hfx-split--top { align-items: start; }

/* ── Photo hero ── */
.hfx-photohero { position: relative; isolation: isolate; background: var(--navy-900); color: #d4e7f7; overflow: hidden; }
.hfx-photohero__bg { position: absolute; top: 0; right: 0; width: 66%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 28%; z-index: -2; }
.hfx-photohero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 34%, rgba(4, 19, 38, .84) 46%, rgba(4, 19, 38, .3) 68%, rgba(4, 19, 38, .14) 100%),
    linear-gradient(0deg, rgba(4, 19, 38, .8) 0%, rgba(4, 19, 38, 0) 36%);
}
.hfx-photohero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center;
  min-height: clamp(540px, 74vh, 720px); padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px);
}
.hfx-photohero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.hfx-photohero .hfx-lead { color: #c9dcee; margin-bottom: 26px; }
.hfx-photohero__cards { position: relative; align-self: stretch; min-height: 420px; }
.hfx-glass {
  position: absolute; margin: 0; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); font-weight: 700; font-size: 14px;
}
.hfx-glass--a { top: 8%; right: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.hfx-glass--b { bottom: 5%; right: 0; width: 212px; padding: 8px; }
.hfx-glass--b img { border-radius: 10px; width: 100%; height: 184px; object-fit: cover; object-position: top; }
.hfx-glass--b figcaption { padding: 10px 6px 4px; font-size: 13px; line-height: 1.35; }
.hfx-wave { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.hfx-wave i { width: 3px; height: 6px; border-radius: 2px; background: var(--teal); animation: hfx-wave 1.1s ease-in-out infinite; }
.hfx-wave i:nth-child(2) { animation-delay: .12s; } .hfx-wave i:nth-child(3) { animation-delay: .24s; } .hfx-wave i:nth-child(4) { animation-delay: .36s; }
.hfx-wave i:nth-child(5) { animation-delay: .48s; } .hfx-wave i:nth-child(6) { animation-delay: .6s; } .hfx-wave i:nth-child(7) { animation-delay: .72s; }
@keyframes hfx-wave { 0%, 100% { height: 5px; } 50% { height: 17px; } }
.hfx-photohero__strip {
  list-style: none; margin: 0; padding: 16px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px;
  border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(4, 19, 38, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600; color: #d4e7f7;
}
.hfx-photohero__strip li { display: flex; align-items: center; gap: 8px; }
.hfx-photohero__strip li::before { content: "\2713"; color: var(--mint); font-weight: 800; }
@media (max-width: 900px) {
  .hfx-photohero__bg { position: relative; display: block; width: 100%; height: 250px; z-index: 0; object-position: 50% 25%; }
  .hfx-photohero::before { inset: 0 0 auto 0; height: 250px; z-index: 1; background: linear-gradient(0deg, var(--navy-900) 0%, rgba(4, 19, 38, .05) 65%); }
  .hfx-photohero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 18px; padding-top: 10px; padding-bottom: 34px; }
  .hfx-photohero__cards { min-height: 0; }
  .hfx-glass { position: static; }
  .hfx-glass--a { display: inline-flex; }
  .hfx-glass--b { display: none; }
  .hfx-photohero__strip { justify-content: flex-start; gap: 8px 18px; font-size: 13px; padding: 14px 24px; }
}

/* ── Photo cards ── */
.hfx-pcard {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.hfx-pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hfx-pcard__photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); }
.hfx-pcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .5s; }
.hfx-pcard:hover .hfx-pcard__photo img { transform: scale(1.04); }
.hfx-pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.hfx-pcard__body h3 { margin-bottom: 6px; }
.hfx-pcard__body p { margin: 0; color: var(--muted); font-size: 15px; }
.hfx-pcard__body .hfx-card__more { margin-top: auto; padding-top: 14px; }
.hfx-pcard--role .hfx-pcard__photo { aspect-ratio: 16 / 9; }

/* ── Banner ── */
.hfx-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding: 18px 24px;
  border-radius: 18px; text-decoration: none; background: linear-gradient(90deg, #e9f3fd, #e6f7f1); border: 1px solid #d3e6f5; color: var(--ink); font-size: 1.02rem;
}
.hfx-banner strong { color: var(--blue); }
.hfx-banner__go { font-weight: 700; color: var(--blue); }
.hfx-banner--teal { background: linear-gradient(90deg, #0a8f6f, #0b7fa3); border: 0; color: #eafff7; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); max-width: 1000px; margin-left: auto; margin-right: auto; }
.hfx-banner--teal strong, .hfx-banner--teal .hfx-banner__go { color: var(--white); }

/* ── Pressures ── */
.hfx-pressures { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hfx-pressures__head { position: sticky; top: 96px; }
.hfx-pressures__list { list-style: none; margin: 0; padding: 0; counter-reset: hfx-p; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.hfx-pressures__list li { counter-increment: hfx-p; position: relative; padding: 18px 0 18px 44px; border-top: 1px solid #d6e3f0; }
.hfx-pressures__list li::before { content: counter(hfx-p, decimal-leading-zero); position: absolute; left: 0; top: 21px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--teal); }
.hfx-pressures__list h3 { font-size: 1.02rem; margin-bottom: 4px; }
.hfx-pressures__list p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .hfx-pressures { grid-template-columns: minmax(0, 1fr); } .hfx-pressures__head { position: static; } }
@media (max-width: 560px) { .hfx-pressures__list { grid-template-columns: minmax(0, 1fr); } }

/* ── Bento tiles ── */
.hfx-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.hfx-tile {
  grid-column: span 2; display: flex; flex-direction: column; gap: 20px; min-height: 290px; padding: 26px 26px 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.hfx-tile h3 { font-size: 1.3rem; margin-bottom: 8px; }
.hfx-tile p { margin: 0; color: var(--muted); font-size: 15.5px; }
.hfx-tile__shot { width: 100%; margin-top: auto; border-radius: 12px 12px 0 0; border: 1px solid #dbe6f2; border-bottom: 0; box-shadow: 0 -8px 30px rgba(11, 42, 74, .08); background: var(--white); }
.hfx-tile:not(.hfx-tile--feature):not(.hfx-tile--wide) .hfx-tile__shot:not(.hfx-tile__shot--phone) { width: 160%; max-width: none; border-radius: 12px 0 0 0; }
.hfx-tile--feature { grid-column: span 4; }
.hfx-tile--feature .hfx-tile__shot { max-height: 290px; object-fit: cover; object-position: top left; }
.hfx-tile--wide { grid-column: span 6; flex-direction: row; align-items: center; gap: 32px; min-height: 0; padding: 26px; }
.hfx-tile--wide .hfx-tile__text { flex: 0 0 32%; }
.hfx-tile--wide .hfx-tile__shot { flex: 1; min-width: 0; margin: 0; border-radius: 12px; border-bottom: 1px solid #dbe6f2; box-shadow: var(--shadow); }
.hfx-tile--blue { background: linear-gradient(150deg, var(--blue) 0%, #0a6aa8 62%, var(--cyan) 135%); border: 0; padding-bottom: 26px; justify-content: space-between; }
.hfx-tile--blue h3 { color: var(--white); }
.hfx-tile--blue p { color: #d4e7f7; }
.hfx-tile__shot--phone { width: 58%; margin-left: auto; margin-right: auto; max-height: 200px; object-fit: cover; object-position: top; border-radius: 22px 22px 0 0; }
@media (max-width: 900px) {
  .hfx-tile { grid-column: span 3; }
  .hfx-tile--feature, .hfx-tile--wide { grid-column: span 6; }
  .hfx-tile--wide { flex-direction: column; align-items: stretch; gap: 18px; }
  .hfx-tile--wide .hfx-tile__text { flex: none; }
}
@media (max-width: 600px) { .hfx-tile { grid-column: span 6; min-height: 0; } }

/* ── Product window with tabs ── */
.hfx-window {
  max-width: 1000px; margin: 0 auto; background: #f7fafd; color: var(--text); border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 120px rgba(19, 166, 201, .28);
}
.hfx-window__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--white); border-bottom: 1px solid var(--line); }
.hfx-window__dots { display: flex; gap: 6px; flex: none; }
.hfx-window__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d5dee8; }
.hfx-window__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.hfx-window__tabs::-webkit-scrollbar { display: none; }
.hfx-window__tabs button {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: none; border: 1px solid transparent; border-radius: 999px;
  padding: 8px 14px; cursor: pointer; white-space: nowrap;
}
.hfx-window__tabs button:hover { color: var(--blue); }
.hfx-window__tabs button[aria-selected="true"] { color: var(--blue); background: #e6f0fa; border-color: #cfe0f2; }
.hfx-window__panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; padding: clamp(20px, 3vw, 36px); }
.hfx-window__panel + .hfx-window__panel { border-top: 1px solid var(--line); }
.hfx-window__panel[hidden] { display: none; }
.hfx-window__panel img { width: 100%; border-radius: 12px; border: 1px solid #dbe6f2; box-shadow: var(--shadow); background: var(--white); }
.hfx-section--dark .hfx-window h3 { color: var(--ink); font-size: 1.4rem; }
.hfx-section--dark .hfx-window p { color: var(--muted); }
.hfx-section--dark .hfx-window .hfx-checklist li { color: var(--text); }
@media (max-width: 760px) { .hfx-window__panel { grid-template-columns: minmax(0, 1fr); } .hfx-window__dots { display: none; } }

/* ── Photo scene with the call card over it ── */
.hfx-scene { position: relative; }
.hfx-scene__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.hfx-scene { padding-left: 40px; }
.hfx-scene__call { position: relative; width: min(88%, 460px); margin: -130px auto 0 -40px; background: var(--white); box-shadow: 0 30px 70px rgba(11, 42, 74, .25); }
@media (max-width: 860px) { .hfx-scene { padding-left: 0; } .hfx-scene__call { width: 94%; margin: -48px auto 0; } }

@media (prefers-reduced-motion: reduce) { .hfx-wave i { animation: none; height: 11px; } .hfx-pcard, .hfx-pcard__photo img { transition: none; } }

/* ══ Header in the main site's look: blue bar, larger logo, white menu ══════ */
.hfx-header { background: var(--blue); border-bottom: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hfx-header__inner { padding: 14px 24px; }
.hfx-brand img { height: 44px; border-radius: 0; }
.hfx-brand__product { color: var(--white); font-weight: 700; border-left-color: rgba(255, 255, 255, .3); }
.hfx-nav__link { color: var(--white); font-weight: 500; font-size: 15.5px; }
.hfx-nav__link:hover, .hfx-nav__link.is-active, .hfx-nav__group.is-open > .hfx-nav__link { color: var(--white); background: rgba(255, 255, 255, .12); }
.hfx-nav__group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.hfx-nav__menu { min-width: 290px; border-radius: 12px; border-color: #f0f2f5; }
.hfx-nav__menu a { padding: 10px 12px; }
.hfx-nav__menu a strong { display: block; font-size: 15px; font-weight: 600; color: #111827; }
.hfx-nav__desc { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: #6b7280; }
.hfx-nav__menu a:hover { background: linear-gradient(90deg, #eff6ff, rgba(239, 246, 255, 0)); }
.hfx-nav__demo {
  display: inline-block; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 8px;
  color: var(--white); font-size: 15.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .15s;
}
.hfx-nav__demo:hover, .hfx-nav__demo.is-active { background: rgba(255, 255, 255, .14); }
.hfx-menu-btn { background: transparent; border-color: rgba(255, 255, 255, .35); }
.hfx-menu-btn__bars, .hfx-menu-btn__bars::before, .hfx-menu-btn__bars::after { background: var(--white); }
.hfx-menu-btn[aria-expanded="true"] .hfx-menu-btn__bars { background: transparent; }
.hfx-header :focus-visible { outline-color: var(--white); }
@media (hover: hover) and (min-width: 961px) {
  .hfx-nav__group:hover .hfx-nav__menu { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 960px) {
  .hfx-brand img { height: 36px; }
  .hfx-nav { background: var(--blue); border-bottom-color: rgba(255, 255, 255, .1); }
  .hfx-nav__menu { background: transparent; }
  .hfx-nav__menu a strong { color: rgba(255, 255, 255, .92); font-weight: 500; }
  .hfx-nav__menu a:hover { background: rgba(255, 255, 255, .1); }
  .hfx-nav__desc { display: none; }
  .hfx-nav__group::after { display: none; }
  .hfx-nav__cta .hfx-nav__demo { display: block; text-align: center; padding: 12px; font-size: 16px; }
}
@media (max-width: 420px) {
  .hfx-brand img { height: 30px; }
  .hfx-brand__product { font-size: 13px; padding-left: 8px; }
  .hfx-brand { gap: 8px; }
}

/* the hero cards sit between the headline and the person in the photo */
.hfx-photohero__bg { object-position: 50% 18%; }
@media (min-width: 901px) {
  .hfx-glass--a { top: 12%; right: auto; left: 0; }
  .hfx-glass--b { bottom: 7%; right: auto; left: 9%; }
}
.hfx-photohero__bg { object-position: 0% 18%; }
@media (min-width: 901px) and (max-width: 1180px) { .hfx-glass--a { display: none; } }

/* ══ Inner pages: dark hero with a photo and a piece of the product ══════════ */
.hfx-pagehero {
  position: relative; isolation: isolate; overflow: hidden; color: #d4e7f7;
  background: radial-gradient(900px 480px at 85% 8%, #0c4f8f 0%, var(--navy) 55%, var(--navy-900) 100%);
}
.hfx-pagehero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px);
}
.hfx-pagehero h1 { color: var(--white); font-size: clamp(2.1rem, 4vw, 3.2rem); }
.hfx-pagehero .hfx-lead { color: #c9dcee; margin-bottom: 24px; }
.hfx-pagehero .hfx-note { color: #a9c3dc; }
.hfx-pagehero .hfx-standalone { color: #d9f7ec; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.hfx-pagehero .hfx-standalone::before { background: var(--mint); box-shadow: 0 0 0 4px rgba(124, 242, 197, .22); }
.hfx-pagehero__visual { position: relative; padding: 0 0 52px 44px; }
.hfx-pagehero__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; border-radius: 28px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.hfx-pagehero__shot { position: absolute; left: 0; bottom: 0; width: 60%; margin: 0; padding: 8px; background: var(--white); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .42); }
.hfx-pagehero__shot img { width: 100%; max-height: 220px; object-fit: cover; object-position: top left; border-radius: 10px; }
.hfx-pagehero__shot--phone { width: 30%; padding: 5px; border-radius: 26px; background: #0e1726; }
.hfx-pagehero__shot--phone img { max-height: 320px; border-radius: 22px; object-position: top; }
@media (max-width: 900px) {
  .hfx-pagehero__inner { grid-template-columns: minmax(0, 1fr); }
  .hfx-pagehero__visual { padding: 0 0 40px 24px; }
}

/* ── Feature groups as cards, features as soft tiles ── */
.hfx-feature-group { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px 28px; box-shadow: var(--shadow); margin-bottom: 20px; }
.hfx-feature-group > h3 { font-size: 1.3rem; border-bottom: 0; padding-bottom: 0; margin-bottom: 16px; }
.hfx-features { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.hfx-feature { border-left: 0; padding: 14px 16px; background: var(--soft); border-radius: 14px; }
.hfx-feature:has(.hfx-ai) { background: #ecf9f4; }
@media (max-width: 560px) { .hfx-feature-group { padding: 20px 18px 22px; } }

/* ── Book a demo: a photo under the introduction ── */
.hfx-demo__photo { width: 100%; max-width: 440px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 25%; border-radius: 22px; box-shadow: var(--shadow-lg); margin-top: 22px; }
@media (max-width: 960px) { .hfx-demo__photo { display: none; } }

/* ══ Mega menu (desktop panels, phone accordion) and the five-column footer ══ */
.hfx-nav__list { gap: 2px; }
.hfx-nav__link { padding: 8px 10px; font-size: 15px; white-space: nowrap; }
.hfx-nav__link[aria-current] { background: rgba(255, 255, 255, .12); }
.hfx-mega { position: static; }
.hfx-mega > .hfx-nav__toggle { position: relative; }
.hfx-mega > .hfx-nav__toggle::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 26px; }
.hfx-mega::after { display: none; }
.hfx-mega__panel {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(11, 42, 74, .16); opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility 0s linear .15s; text-align: left;
}
/* Visible at once when opening (so focus can move in), hidden only after the fade when closing. */
.hfx-nav__group.is-open > .hfx-mega__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .hfx-mega__panel { transition: none; } }
.hfx-mega__inner { max-width: var(--wrap); margin: 0 auto; padding: 22px 24px 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 6px 24px; }
.hfx-mega__group { margin: 4px 12px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }
.hfx-mega__col a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.hfx-mega__col a strong { display: block; font-size: 15px; font-weight: 600; color: #111827; }
.hfx-mega__col a:hover, .hfx-mega__col a:focus-visible { background: #eff6ff; }
.hfx-mega__col a[aria-current] strong { color: var(--blue); }
.hfx-mega__col a[aria-current] strong::after { content: " \2022"; color: var(--teal); }
.hfx-mega__col--lead a { background: var(--soft); border: 1px solid var(--line); padding: 16px; }
.hfx-mega__col--lead a strong { font-size: 16px; color: var(--blue); }
.hfx-header .hfx-mega__panel :focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.hfx-mega--narrow { position: relative; }
.hfx-mega--narrow .hfx-mega__panel { left: auto; right: 0; width: 330px; top: calc(100% + 12px); border: 1px solid var(--line); border-radius: 12px; }
.hfx-mega--narrow .hfx-mega__inner { grid-template-columns: minmax(0, 1fr); padding: 10px; }
.hfx-nav__cta { margin-left: 10px; }
.hfx-nav__demo { background: var(--mint); border-color: var(--mint); color: var(--navy); font-weight: 700; padding: 9px 16px; }
.hfx-nav__demo:hover, .hfx-nav__demo[aria-current] { background: #9af7d4; }
@media (hover: hover) and (min-width: 1101px) {
  .hfx-mega:hover > .hfx-mega__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
@media (max-width: 1100px) {
  .hfx-menu-btn { display: block; }
  .hfx-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blue); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-lg); max-height: calc(100vh - 68px); overflow-y: auto; }
  .hfx-nav.is-open { display: block; }
  .hfx-nav__list { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .hfx-nav__link { width: 100%; text-align: left; padding: 12px; font-size: 16px; }
  .hfx-mega > .hfx-nav__toggle::before { display: none; }
  .hfx-mega__panel, .hfx-mega--narrow .hfx-mega__panel { position: static; width: auto; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; background: transparent; }
  .hfx-nav__group.is-open > .hfx-mega__panel { display: block; }
  .hfx-mega__inner, .hfx-mega--narrow .hfx-mega__inner { display: block; padding: 0 0 8px 12px; }
  .hfx-mega__group { color: #9fe9cf; margin: 10px 12px 2px; }
  .hfx-mega__col a, .hfx-mega__col--lead a { background: transparent; border: 0; padding: 9px 12px; }
  .hfx-mega__col a strong, .hfx-mega__col--lead a strong { color: rgba(255, 255, 255, .94); font-weight: 500; font-size: 15px; }
  .hfx-mega__col a:hover, .hfx-mega__col a:focus-visible { background: rgba(255, 255, 255, .1); }
  .hfx-mega__col a[aria-current] strong { color: var(--mint); }
  .hfx-header .hfx-mega__panel :focus-visible { outline-color: var(--white); }
  .hfx-nav__cta { margin: 10px 0 0; }
  .hfx-nav__cta .hfx-nav__demo { display: block; text-align: center; padding: 12px; font-size: 16px; }
}

/* "Ask us": a capability whose availability depends on the organisation's setup */
.hfx-ask {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; font-size: 11px; font-weight: 700;
  letter-spacing: .02em; line-height: 1.6; vertical-align: 1px; color: #4a5a6b; background: #eef2f6; border: 1px solid #d9e1ea; cursor: help;
}
.hfx-status { font-size: 13px; color: var(--muted); margin-top: 14px; }
.hfx-status .hfx-ask { margin: 0 4px 0 0; }

.hfx-footer__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 3fr); gap: 32px; }
.hfx-footer__brand p + p { margin-top: 10px; }
.hfx-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.hfx-footer__head { margin: 0 0 10px; color: var(--white); font-weight: 700; font-size: 14px; }
.hfx-footer__col ul { list-style: none; margin: 0; padding: 0; }
.hfx-footer__col li { margin-bottom: 8px; }
@media (max-width: 960px) { .hfx-footer__inner { grid-template-columns: minmax(0, 1fr); } .hfx-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hfx-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ══ Home: offerings, omni-channel flow, data-protection list, language strip ═ */
.hfx-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hfx-offer { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.hfx-offer__photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); }
.hfx-offer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hfx-offer__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.hfx-offer__body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.hfx-offer__body p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.hfx-offer__body .hfx-pill { align-self: flex-start; margin-bottom: 12px; font-size: 11px; }
.hfx-offer__body .hfx-checklist { margin-bottom: 16px; }
.hfx-offer__body .hfx-checklist li { font-size: 15px; margin-bottom: 8px; }
.hfx-offer__body .hfx-card__more { margin-top: auto; text-decoration: none; }
.hfx-offer__body .hfx-card__more:hover { text-decoration: underline; }
.hfx-offer__sub { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hfx-offer__sub a { font-size: 13px; font-weight: 700; color: var(--blue); background: #eaf2fb; border: 1px solid #d5e4f4; border-radius: 999px; padding: 4px 12px; text-decoration: none; }
.hfx-offer__sub a:hover { background: #dcebfa; }
.hfx-offer--lead { grid-column: 1 / -1; flex-direction: row; align-items: stretch; background: linear-gradient(120deg, #f3f8fe 0%, #eaf6f2 100%); }
.hfx-offer--lead .hfx-offer__body { flex: 0 0 46%; padding: clamp(24px, 3.4vw, 44px); }
.hfx-offer--lead .hfx-offer__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.hfx-offer--lead .hfx-offer__body .hfx-btn { align-self: flex-start; margin-top: auto; }
.hfx-offer__visual { flex: 1; min-width: 0; display: flex; align-items: flex-end; padding: clamp(20px, 3vw, 40px) 0 0 clamp(8px, 2vw, 24px); }
.hfx-offer__visual img { width: 100%; border-radius: 14px 0 0 0; border: 1px solid #dbe6f2; border-right: 0; border-bottom: 0; box-shadow: -12px -8px 40px rgba(11, 42, 74, .12); background: var(--white); }
@media (max-width: 900px) {
  .hfx-offers { grid-template-columns: minmax(0, 1fr); }
  .hfx-offer--lead { flex-direction: column; }
  .hfx-offer--lead .hfx-offer__body { flex: none; }
  .hfx-offer__visual { padding: 0 0 0 20px; }
}

.hfx-omni { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1040px; margin: 0 auto; }
.hfx-omni__node { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); }
.hfx-omni__node strong { color: var(--ink); font-size: 1.05rem; }
.hfx-omni__node span { color: var(--muted); font-size: 14px; }
.hfx-omni__label { font-size: 11.5px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal) !important; }
.hfx-omni__node--done { background: var(--teal-50); border-color: #bfe9da; }
.hfx-omni__node--done strong { color: var(--teal-600); }
.hfx-omni__channels { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hfx-omni__channels li { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: baseline; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.hfx-omni__channels li strong { color: var(--ink); grid-column: 2; }
.hfx-omni__channels li .hfx-ai + strong { grid-column: 2; }
.hfx-omni__channels li > span:last-child { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.hfx-omni__channels li:not(:has(.hfx-ai)) strong { grid-column: 1 / -1; }
.hfx-omni__node:first-child::after, .hfx-omni__channels::after {
  content: ""; position: absolute; top: 50%; right: -42px; width: 28px; height: 12px; transform: translateY(-50%);
  background: linear-gradient(90deg, var(--blue), var(--teal)); clip-path: polygon(0 38%, 68% 38%, 68% 0, 100% 50%, 68% 100%, 68% 62%, 0 62%);
}
.hfx-omni__note { text-align: center; margin: 26px auto 0; max-width: 720px; }
@media (max-width: 900px) {
  .hfx-omni { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 480px; }
  .hfx-omni__node:first-child::after, .hfx-omni__channels::after { top: auto; right: auto; left: 50%; bottom: -36px; transform: translateX(-50%) rotate(90deg); }
}

.hfx-dp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hfx-standards .hfx-dp-list li { display: flex; align-items: flex-start; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); font-weight: 400; }
.hfx-dp-list svg { flex: none; width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.hfx-dp-list strong { display: block; color: var(--ink); font-size: 15.5px; }
.hfx-dp-list span { color: var(--muted); font-size: 14.5px; }

.hfx-lang { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hfx-lang h2 { margin: 0; }
.hfx-lang__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hfx-lang__list li { background: linear-gradient(120deg, #f3f8fe, #eaf6f2); border: 1px solid #d9e8f3; border-radius: 14px; padding: 14px 18px; }
.hfx-lang__list strong { display: block; color: var(--ink); }
.hfx-lang__list span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .hfx-lang { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .hfx-lang__list { grid-template-columns: minmax(0, 1fr); } }

/* ══ Offering pages: steps, table, small extras ════════════════════════════ */
.hfx-footer__brand img { height: 38px; border-radius: 0; margin-left: -4px; }
.hfx-feature-group > h3 a { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; white-space: nowrap; }
.hfx-feature-group > h3 a:hover { text-decoration: underline; }
.hfx-feature-group > h3 { flex-wrap: wrap; }
.hfx-steps { list-style: none; margin: 0; padding: 0; counter-reset: hfx-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hfx-steps li { counter-increment: hfx-step; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.hfx-steps li::before { content: "Step " counter(hfx-step); display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.hfx-steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .hfx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hfx-steps { grid-template-columns: minmax(0, 1fr); } }
.hfx-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.hfx-table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 15px; }
.hfx-table th, .hfx-table td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.hfx-table thead th { background: var(--soft); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hfx-table tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.hfx-table tbody tr:last-child th, .hfx-table tbody tr:last-child td { border-bottom: 0; }
.hfx-table td:last-child { color: var(--ink); font-weight: 600; }
.hfx-dp-note { max-width: 760px; margin-top: 8px; }
.hfx-section[data-section="plugs"] .hfx-lead a { color: var(--blue); font-weight: 600; }
.hfx-pagehero__visual:not(:has(.hfx-pagehero__shot)) { padding: 0; }

/* ══ India redesign: shared page blocks ═════════════════════════════════════ */
/* Section links from the menu land below the sticky header. */
[id] { scroll-margin-top: 96px; }

/* A statement that must stand out (e.g. "supports, not replaces, clinical judgement"). */
.hfx-callout { margin: 28px 0 0; padding: 20px 24px; border-left: 4px solid var(--teal); background: var(--teal-50); border-radius: 0 14px 14px 0; color: var(--ink); font-size: 1.08rem; font-weight: 600; max-width: 820px; }
.hfx-section--dark .hfx-callout { background: rgba(124, 242, 197, .1); color: var(--white); border-left-color: var(--mint); }

/* Icon tiles: a short label with a small icon, several to a row. */
.hfx-icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.hfx-icons li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.hfx-icons li svg { flex: none; width: 24px; height: 24px; color: var(--teal-600); margin-top: 2px; }
.hfx-icons li strong { display: block; color: var(--ink); font-size: 15.5px; }
.hfx-icons li span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hfx-section--soft .hfx-icons li { box-shadow: 0 1px 2px rgba(11, 42, 74, .04); }
.hfx-section--dark .hfx-icons li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.hfx-section--dark .hfx-icons li strong { color: var(--white); }
.hfx-section--dark .hfx-icons li span { color: #b5cde4; }
.hfx-section--dark .hfx-icons li svg { color: var(--mint); }

/* A patient journey in stages, left to right. */
.hfx-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: hfx-stage; }
.hfx-stages__stage { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 18px; counter-increment: hfx-stage; }
.hfx-stages__stage h3 { font-size: 1.1rem; margin-bottom: 10px; }
.hfx-stages__stage h3::before { content: counter(hfx-stage); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 800; vertical-align: 2px; }
.hfx-stages__stage ul { list-style: none; margin: 0; padding: 0; }
.hfx-stages__stage li { padding: 7px 0; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--text); }
.hfx-stages__stage:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); transform: rotate(45deg); }
@media (max-width: 960px) { .hfx-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hfx-stages__stage::after { display: none; } }
@media (max-width: 560px) { .hfx-stages { grid-template-columns: minmax(0, 1fr); } }

/* Diagrams drawn as inline SVG. */
.hfx-diagram { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(14px, 3vw, 28px); }
.hfx-diagram svg { display: block; width: 100%; height: auto; }
.hfx-diagram figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Cards whose sizes differ: the first spans two columns. */
.hfx-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hfx-mosaic > .hfx-card:first-child { grid-column: span 2; background: linear-gradient(120deg, #f3f8fe 0%, #eaf6f2 100%); }
.hfx-mosaic > .hfx-card--wide { grid-column: span 2; }
@media (max-width: 860px) { .hfx-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hfx-mosaic { grid-template-columns: minmax(0, 1fr); } .hfx-mosaic > .hfx-card:first-child, .hfx-mosaic > .hfx-card--wide { grid-column: auto; } }

/* An outcome card: who, then the result it is for. */
.hfx-outcome { display: flex; flex-direction: column; gap: 6px; }
.hfx-outcome .hfx-outcome__who { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }
.hfx-outcome h3 { font-size: 1.12rem; margin: 0; }

/* A photo that sits beside text (generated illustrations and stock photos alike). */
.hfx-photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--soft-2); }
.hfx-photo img { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: cover; object-position: 50% 30%; }

/* Two side-by-side columns of text for comparisons (e.g. two adoption paths). */
.hfx-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.hfx-paths .hfx-card h3 { color: var(--blue); }
@media (max-width: 720px) { .hfx-paths { grid-template-columns: minmax(0, 1fr); } }

/* ══ India redesign: home page ══════════════════════════════════════════════ */
/* Hero collage: care, hospital team, patient at home, lab. */
.hfx-collage {
  display: grid; gap: 12px; aspect-ratio: 1 / .88;
  grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas: "care care care care care care team team team team" "home home home home home lab lab lab lab lab";
}
.hfx-collage img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.hfx-collage__care { grid-area: care; object-position: 62% 35%; }
.hfx-collage__team { grid-area: team; object-position: 50% 40%; }
.hfx-collage__home { grid-area: home; object-position: 50% 25%; filter: brightness(1.3); }
.hfx-collage__lab { grid-area: lab; object-position: 55% 50%; }
.hfx-pagehero--home .hfx-lead + .hfx-lead { margin-top: -12px; }
/* A warm band for the patient-engagement story. */
.hfx-section--warm { background: linear-gradient(135deg, #fff8ef 0%, #fdf3f1 55%, #f3f8fe 100%); }
.hfx-section--warm .hfx-eyebrow { color: #b4561f; }
.hfx-section--warm .hfx-photo { box-shadow: 0 30px 70px rgba(122, 64, 24, .18); }
.hfx-checklist--cols { columns: 2 220px; column-gap: 28px; }
.hfx-checklist--cols li { break-inside: avoid; }
.hfx-center { text-align: center; margin-left: auto; margin-right: auto; max-width: 760px; }
.hfx-icons--stack { grid-template-columns: minmax(0, 1fr); }
.hfx-shot--narrow img { width: auto; max-width: min(360px, 100%); margin: 0 auto; }
.hfx-steps--seven { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.hfx-steps--seven h3 { font-size: 1.05rem; margin: 0 0 6px; }
.hfx-btn-row--center { justify-content: center; }
.hfx-outcomes .hfx-card--wide { grid-column: span 2; }
@media (max-width: 720px) { .hfx-outcomes .hfx-card--wide { grid-column: auto; } }
.hfx-section[data-section="india"] .hfx-icons li span a { color: var(--blue); font-weight: 600; }
.hfx-section[data-section="india"] .hfx-icons .hfx-ask { display: inline-block; margin: 4px 0; }
.hfx-section .hfx-status { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ══ India redesign: EMR page ═══════════════════════════════════════════════ */
.hfx-pagehero--portrait .hfx-pagehero__photo { aspect-ratio: 461 / 600; max-width: 420px; margin-left: auto; object-position: 50% 30%; }
.hfx-section[data-section="platform"] .hfx-table th[scope="row"] { white-space: normal; }
.hfx-section[data-section="platform"] .hfx-table td a { color: var(--blue); font-weight: 600; }
.hfx-section[data-section="platform"] .hfx-table .hfx-ask { margin-left: 6px; }
.hfx-pagehero__photo--tall { aspect-ratio: 793 / 941; max-width: 440px; margin-left: auto; object-position: 50% 30%; }

/* Consulting: seven service groups */
.hfx-service .hfx-checklist { margin: 14px 0 0; font-size: 15px; }
.hfx-service .hfx-checklist li:last-child { margin-bottom: 0; }
@media (min-width: 861px) {
  .hfx-services > .hfx-service:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .hfx-services > .hfx-service:last-child:nth-child(3n+1) .hfx-checklist { columns: 3 200px; column-gap: 28px; }
  .hfx-services > .hfx-service:last-child:nth-child(3n+1) .hfx-checklist li { break-inside: avoid; }
}

/* About: brand hierarchy */
.hfx-brand, .hfx-brand ol { list-style: none; margin: 0; padding: 0; }
.hfx-brand > .hfx-brand__level { background: #fff; border-radius: 20px; padding: 26px 28px; box-shadow: var(--shadow); }
.hfx-brand ol { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 18px; margin-top: 20px; }
.hfx-brand ol > .hfx-brand__level { border: 1px solid var(--line, #dfe6ee); border-radius: 16px; padding: 20px 22px; background: var(--soft, #f5f8fb); }
.hfx-brand h3 { margin: 0 0 4px; }
.hfx-brand p { margin: 0; color: var(--muted); }
.hfx-brand__products { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hfx-brand__products a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line, #dfe6ee); font-size: 14.5px; font-weight: 600; text-decoration: none; }
@media (max-width: 760px) { .hfx-brand ol { grid-template-columns: minmax(0, 1fr); } }
.hfx-office { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }

/* Role pages: links under the workflow steps */
.hfx-subhead { margin: 40px 0 16px; font-size: 18px; }
