/*
 * Healthcare and HIPAA pages (/healthcare/*).
 * One stylesheet for the hub, HIPAA engineering, BAA, pricing, case studies and articles.
 * Navy and blue like the rest of the site, with one teal accent for healthcare.
 * Mobile first, tested from 320px up. No external requests.
 */
.hc-page {
  --hc-navy: #0b1b3e; --hc-navy-2: #081029; --hc-navy-3: #102757;
  --hc-blue: #1a73e8; --hc-blue-d: #1558b0;
  --hc-teal: #0e9fb0; --hc-teal-l: #5cd3df;
  --hc-ink: #1a1a2e; --hc-muted: #5c6678; --hc-line: #e2e8f0; --hc-bg: #f4f6fb; --hc-white: #fff; --hc-ok: #12a06e;
  --hc-r: 16px; --hc-shadow: 0 10px 30px rgba(15, 23, 42, .06); --hc-shadow-l: 0 20px 50px rgba(11, 27, 62, .14);
  font-family: var(--font-body, 'Inter', system-ui, sans-serif); color: var(--hc-ink); line-height: 1.65;
}
.hc-page *, .hc-page *::before, .hc-page *::after { box-sizing: border-box; }
.hc-page h1, .hc-page h2, .hc-page h3, .hc-page h4 { font-family: var(--font-heading, 'Plus Jakarta Sans', system-ui, sans-serif); font-weight: 800; line-height: 1.2; margin: 0; color: inherit; }
.hc-page p { margin: 0 0 1em; }
.hc-page a { text-underline-offset: 3px; }
.hc-container { max-width: var(--kw-container, 1180px); margin: 0 auto; padding: 0 var(--kw-gutter, 20px); }
.hc-section { padding: 76px 0; }
.hc-section--alt { background: var(--hc-bg); }
.hc-section--dark { background: linear-gradient(135deg, var(--hc-navy), var(--hc-navy-3)); color: #fff; }
.hc-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.hc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hc-blue); background: rgba(26, 115, 232, .08); padding: 7px 16px; border-radius: 30px; margin-bottom: 16px; }
.hc-section--dark .hc-eyebrow, .hc-hero .hc-eyebrow { color: var(--hc-teal-l); background: rgba(92, 211, 223, .12); }
.hc-title { font-size: clamp(1.65rem, 3.2vw, 2.3rem); margin-bottom: 14px; }
.hc-sub { color: var(--hc-muted); font-size: 1.04rem; }
.hc-section--dark .hc-sub { color: #c7d6f5; }

/* buttons */
.hc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; min-height: 48px; border-radius: 10px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, box-shadow .2s, border-color .2s, color .2s; }
.hc-btn--primary { background: var(--hc-blue); color: #fff; }
.hc-btn--primary:hover { background: var(--hc-blue-d); color: #fff; box-shadow: 0 8px 24px rgba(26, 115, 232, .35); }
.hc-btn--teal { background: var(--hc-teal); color: #fff; }
.hc-btn--teal:hover { background: #0b8896; color: #fff; box-shadow: 0 8px 24px rgba(14, 159, 176, .35); }
.hc-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.hc-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.hc-btn--line { background: #fff; color: var(--hc-ink); border-color: var(--hc-line); }
.hc-btn--line:hover { border-color: var(--hc-blue); color: var(--hc-blue); }
.hc-btn:focus-visible, .hc-card a:focus-visible, .hc-faq summary:focus-visible { outline: 3px solid rgba(26, 115, 232, .45); outline-offset: 2px; }
.hc-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero */
.hc-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(150deg, var(--hc-navy-2) 0%, var(--hc-navy) 55%, var(--hc-navy-3) 100%); padding: 70px 0 64px; }
.hc-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 40%, transparent 100%); }
.hc-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: center; }
.hc-hero--solo .hc-hero-grid { grid-template-columns: minmax(0, 1fr); }
.hc-crumb { font-size: .78rem; color: #a9c1ee; margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.hc-crumb a { color: #a9c1ee; text-decoration: none; }
.hc-crumb a:hover { color: #fff; }
.hc-hero h1 { font-size: clamp(1.95rem, 4vw, 2.9rem); max-width: 820px; margin-bottom: 20px; }
.hc-lede { color: #c7d6f5; font-size: 1.1rem; max-width: 700px; margin-bottom: 18px; }
.hc-bullets { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.hc-bullets li { display: flex; gap: 10px; align-items: flex-start; color: #d7e3fa; font-size: .95rem; }
.hc-bullets i { color: var(--hc-teal-l); margin-top: 5px; flex-shrink: 0; }
.hc-trust { display: flex; gap: 10px; color: #a9c1ee; font-size: .88rem; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; margin-top: 26px; max-width: 640px; }
.hc-trust i { color: var(--hc-ok); margin-top: 4px; flex-shrink: 0; }
.hc-art { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }

/* stats strip */
.hc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--hc-line); border-radius: var(--hc-r); box-shadow: var(--hc-shadow-l); margin-top: -34px; position: relative; z-index: 3; overflow: hidden; }
.hc-stat { padding: 24px 18px; text-align: center; border-right: 1px solid var(--hc-line); }
.hc-stat:last-child { border-right: 0; }
.hc-stat b { display: block; font-family: var(--font-heading, inherit); font-size: 1.9rem; color: var(--hc-navy); line-height: 1.1; }
.hc-stat span { font-size: .82rem; color: var(--hc-muted); }

/* chips */
.hc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hc-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border: 1px solid var(--hc-line); border-radius: 999px; background: #fff; font-size: .88rem; font-weight: 600; color: var(--hc-ink); }
.hc-chip i { color: var(--hc-teal); }

/* grids and cards */
.hc-grid { display: grid; gap: 22px; }
.hc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hc-card { background: #fff; border: 1px solid var(--hc-line); border-radius: var(--hc-r); padding: 26px 24px; box-shadow: var(--hc-shadow); display: flex; flex-direction: column; min-width: 0; }
.hc-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.hc-card p { color: var(--hc-muted); font-size: .94rem; margin: 0; }
.hc-card .hc-more { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: .88rem; color: var(--hc-blue); text-decoration: none; display: inline-flex; gap: 7px; align-items: center; }
.hc-card .hc-more:hover { color: var(--hc-blue-d); }
.hc-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(14, 159, 176, .1); color: var(--hc-teal); font-size: 1.15rem; margin-bottom: 14px; flex-shrink: 0; }
.hc-card--link { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hc-card--link:hover { transform: translateY(-3px); box-shadow: var(--hc-shadow-l); border-color: #c9d6ea; }
.hc-tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--hc-teal); background: rgba(14, 159, 176, .1); padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; align-self: flex-start; }

/* two column text blocks */
.hc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.hc-split--top { align-items: start; }
.hc-prose p { color: var(--hc-muted); font-size: 1.02rem; }
.hc-prose h3 { margin: 22px 0 8px; font-size: 1.2rem; }
.hc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--hc-ink); }
.hc-list i { color: var(--hc-ok); margin-top: 5px; flex-shrink: 0; }
.hc-list--no i { color: #c2410c; }
.hc-diagram { background: #fff; border: 1px solid var(--hc-line); border-radius: var(--hc-r); padding: 18px; box-shadow: var(--hc-shadow); }
.hc-diagram svg { width: 100%; height: auto; display: block; }

/* flow diagram generated per case study */
.hc-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.hc-flow-node { position: relative; background: #fff; border: 1.5px solid var(--hc-line); border-radius: 14px; padding: 18px 14px; text-align: center; font-weight: 700; font-size: .88rem; color: var(--hc-navy); margin: 0 14px 0 0; }
.hc-flow-node:last-child { margin-right: 0; }
.hc-flow-node b { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 10px; border-radius: 50%; background: var(--hc-navy); color: #fff; font-size: .8rem; }
.hc-flow-node::after { content: ""; position: absolute; right: -14px; top: 50%; width: 14px; border-top: 2px dashed #9db3d6; }
.hc-flow-node:last-child::after { display: none; }

/* safeguards table */
.hc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--hc-line); border-radius: var(--hc-r); background: #fff; }
.hc-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
.hc-table th { text-align: left; padding: 13px 16px; background: var(--hc-navy); color: #fff; font-size: .76rem; letter-spacing: .8px; text-transform: uppercase; }
.hc-table td { padding: 16px; border-top: 1px solid var(--hc-line); vertical-align: top; color: var(--hc-muted); }
.hc-table td:first-child { font-weight: 700; color: var(--hc-ink); width: 22%; }
.hc-group { margin: 34px 0 12px; font-size: 1.15rem; display: flex; gap: 10px; align-items: center; }
.hc-group i { color: var(--hc-teal); }

/* process timeline */
.hc-steps { display: grid; gap: 0; counter-reset: s; max-width: 860px; margin: 0 auto; }
.hc-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; position: relative; }
.hc-step::before { content: ""; position: absolute; left: 31px; top: 54px; bottom: 0; border-left: 2px dashed #c3d2ea; }
.hc-step:last-child::before { display: none; }
.hc-step-n { width: 62px; height: 62px; border-radius: 50%; background: var(--hc-navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; z-index: 1; }
.hc-step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.hc-step p { color: var(--hc-muted); margin-bottom: 6px; font-size: .96rem; }
.hc-step small { display: inline-block; font-weight: 700; color: var(--hc-teal); font-size: .78rem; text-transform: uppercase; letter-spacing: .8px; }

/* pricing */
.hc-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hc-tier { background: #fff; border: 1px solid var(--hc-line); border-radius: var(--hc-r); padding: 26px 22px; display: flex; flex-direction: column; box-shadow: var(--hc-shadow); position: relative; min-width: 0; }
.hc-tier.is-hot { border-color: var(--hc-blue); box-shadow: 0 18px 44px rgba(26, 115, 232, .16); }
.hc-tier-badge { position: absolute; top: -12px; left: 22px; background: var(--hc-blue); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.hc-tier h3 { font-size: 1.05rem; margin-bottom: 10px; }
.hc-price { font-family: var(--font-heading, inherit); font-weight: 800; font-size: 1.45rem; color: var(--hc-navy); line-height: 1.2; }
.hc-time { color: var(--hc-teal); font-weight: 700; font-size: .85rem; margin: 6px 0 12px; }
.hc-tier .hc-for { color: var(--hc-muted); font-size: .9rem; margin-bottom: 14px; }
.hc-tier .hc-list { margin-bottom: 8px; }
.hc-tier .hc-list li { font-size: .88rem; }
.hc-page .hc-note { margin: 26px auto 0; background: #fff8e6; border: 1px solid #f3d98c; color: #6b5200; border-radius: 12px; padding: 14px 18px; font-size: .9rem; margin: 26px auto 0; max-width: 860px; display: flex; gap: 10px; }
.hc-note i { margin-top: 4px; }

/* BAA band */
.hc-band { background: linear-gradient(135deg, var(--hc-navy), var(--hc-navy-3)); color: #fff; border-radius: 22px; padding: 44px 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 36px; align-items: center; position: relative; overflow: hidden; }
.hc-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(92, 211, 223, .22), transparent 70%); }
.hc-band h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-bottom: 14px; }
.hc-band p { color: #c7d6f5; }
.hc-band .hc-list li { color: #e2ecfc; }
.hc-band .hc-list i { color: var(--hc-teal-l); }
.hc-band > * { position: relative; z-index: 1; }

/* FAQ */
.hc-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.hc-faq details { background: #fff; border: 1px solid var(--hc-line); border-radius: 14px; padding: 0 22px; }
.hc-faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1rem; padding: 18px 0; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.hc-faq summary::-webkit-details-marker { display: none; }
.hc-faq summary::after { content: "+"; font-size: 1.4rem; color: var(--hc-blue); flex-shrink: 0; line-height: 1; }
.hc-faq details[open] summary::after { content: "\2212"; }
.hc-faq details p { color: var(--hc-muted); padding: 0 0 18px; margin: 0; font-size: .96rem; }

/* case study */
.hc-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hc-meta div { background: #fff; border: 1px solid var(--hc-line); border-radius: 12px; padding: 14px 16px; }
.hc-meta small { display: block; font-size: .7rem; letter-spacing: .8px; text-transform: uppercase; color: var(--hc-muted); font-weight: 700; }
.hc-meta b { font-size: .95rem; }
.hc-arch { display: grid; gap: 12px; }
.hc-arch div { background: #fff; border: 1px solid var(--hc-line); border-left: 4px solid var(--hc-teal); border-radius: 10px; padding: 14px 16px; }
.hc-arch b { display: block; margin-bottom: 4px; }
.hc-arch span { color: var(--hc-muted); font-size: .93rem; }
.hc-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-stack span { padding: 6px 13px; border-radius: 8px; background: #eaf1fd; color: var(--hc-blue-d); font-weight: 700; font-size: .82rem; }
.hc-disclosure { font-size: .86rem; color: var(--hc-muted); border-left: 3px solid var(--hc-line); padding-left: 14px; }

/* articles */
.hc-article { max-width: 780px; margin: 0 auto; }
.hc-article h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.hc-article p { font-size: 1.04rem; color: #2e3648; }
.hc-article ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 1.2em; color: #2e3648; }
.hc-article pre { background: #0b1b3e; color: #e4edff; padding: 18px; border-radius: 12px; overflow-x: auto; font-size: .85rem; line-height: 1.6; margin: 0 0 1.2em; }
.hc-callout { background: #eaf6f8; border-left: 4px solid var(--hc-teal); padding: 16px 18px; border-radius: 0 10px 10px 0; margin: 0 0 1.2em; color: #0b4a53; font-size: .98rem; }
.hc-byline { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #a9c1ee; font-size: .85rem; margin-top: 8px; }
.hc-byline span { display: inline-flex; gap: 6px; align-items: center; }

/* responsive */
@media (max-width: 1100px) {
  .hc-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hc-hero-grid, .hc-split, .hc-band { grid-template-columns: minmax(0, 1fr); }
  .hc-hero-art { max-width: 460px; margin: 0 auto; }
  .hc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-stat:nth-child(2) { border-right: 0; }
  .hc-stat:nth-child(-n+2) { border-bottom: 1px solid var(--hc-line); }
  .hc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hc-flow-node { margin: 0; }
  .hc-flow-node::after { display: none; }
  .hc-meta { grid-template-columns: minmax(0, 1fr); }
  .hc-band { padding: 32px 24px; }
}
@media (max-width: 700px) {
  /* safeguard map: each row becomes a card, no sideways swipe */
  .hc-table-wrap { border: 0; background: transparent; overflow: visible; }
  .hc-table, .hc-table tbody, .hc-table tr, .hc-table td { display: block; width: 100%; min-width: 0; }
  .hc-table thead { display: none; }
  .hc-table tr { background: #fff; border: 1px solid var(--hc-line); border-radius: 14px; margin-bottom: 14px; padding: 6px 0; }
  .hc-table td, .hc-table td:first-child { border: 0; padding: 8px 16px; width: 100%; }
  .hc-table td::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--hc-teal); margin-bottom: 2px; }
  .hc-table td:first-child { font-size: 1rem; }
}
@media (max-width: 640px) {
  .hc-section { padding: 52px 0; }
  .hc-hero { padding: 48px 0 52px; }
  .hc-grid--2, .hc-grid--3, .hc-grid--4, .hc-tiers { grid-template-columns: minmax(0, 1fr); }
  .hc-btn { width: 100%; }
  .hc-cta-row { flex-direction: column; }
  .hc-step { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .hc-step-n { width: 48px; height: 48px; font-size: .9rem; }
  .hc-step::before { left: 23px; top: 44px; }
  .hc-article h2 { font-size: 1.3rem; }
  .hc-chip { font-size: .82rem; padding: 8px 13px; }
  .hc-stat b { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .hc-card--link, .hc-btn { transition: none; } .hc-card--link:hover { transform: none; } }
