/* Health Innovation Group, Inc. — site styles
   Brand tokens are defined once below. Edit here to restyle the whole site. */
:root {
  --teal: #0093a2;
  --teal-dark: #007582;
  --navy: #163a4e;
  --navy-2: #1d4a63;
  --gold: #d4a94f;
  --mint: #e2f3f0;
  --gray: #f2f5f6;
  --line: #d9e2e5;
  --text: #22323b;
  --muted: #53636c;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(22, 58, 78, 0.08);
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand img { height: 50px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mint); color: var(--navy); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; }
  .nav a { display: block; padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; font-family: inherit; }
.btn-primary { background: var(--teal-dark); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #c49a42; color: var(--navy); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.on-dark .btn-outline { color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.nav .btn-primary { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.bg-gray { background: var(--gray); }
.bg-mint { background: var(--mint); }
.bg-navy { background: var(--navy); color: #d9e8ec; }
.bg-teal { background: var(--teal); color: #eaf7f8; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-teal h1, .bg-teal h2, .bg-teal h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px; }
.bg-navy .eyebrow, .bg-teal .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.bg-navy .lead, .bg-teal .lead { color: #cfe3e6; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.small { font-size: 0.85rem; color: var(--muted); }
.bg-navy .small, .bg-teal .small { color: #b8d2d8; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #0f5e6d 100%); color: #d9e8ec; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -160px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: rgba(0,147,162,0.22); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 780px; }
.hero .lead { color: #cfe3e6; }
.hero .eyebrow { color: var(--gold); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); padding: 28px; }
.hero-card h3 { color: #fff; margin-bottom: 14px; }
.hero-card ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.hero-card li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 8px 0; color: #e6f1f3; font-weight: 600; }
.hero-card li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid #eef2f3; }
.bg-gray .card, .bg-mint .card { border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 26px; height: 26px; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(22,58,78,0.14); color: inherit; }
.card-link .more { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--teal-dark); }
.card-navy { background: var(--navy); color: #d9e8ec; border: none; }
.card-navy h3 { color: var(--gold); }
.card-mint { background: var(--mint); box-shadow: none; border: none; }

/* ---------- Bullet list: dot sits on the subtitle line ---------- */
.dot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.dot-list li { position: relative; padding-left: 26px; }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.dot-list strong { display: block; color: var(--navy); font-size: 1.05rem; }
.bg-navy .dot-list strong, .bg-teal .dot-list strong { color: #fff; }
.bg-teal .dot-list li::before, .bg-navy .dot-list li::before { background: var(--gold); }
.dot-list span { display: block; color: var(--muted); }
.bg-navy .dot-list span, .bg-teal .dot-list span { color: #d9ecef; }

/* ---------- Numbered steps: number sits on the subtitle line ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 22px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.steps li::before { content: counter(step); grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-weight: 800; display: grid; place-items: center; margin-top: -6px; }
.steps.gold li::before { background: var(--gold); color: var(--navy); }
.steps strong { color: var(--navy); font-size: 1.08rem; line-height: 1.4; }
.bg-teal .steps strong, .bg-navy .steps strong { color: #fff; }
.steps span { color: var(--muted); }
.bg-teal .steps span, .bg-navy .steps span { color: #dff1f3; }

/* horizontal flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: f; }
.flow li { counter-increment: f; text-align: center; position: relative; }
.flow li::before { content: counter(f); width: 60px; height: 60px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-size: 1.4rem; font-weight: 800; display: grid; place-items: center; margin: 0 auto 16px; position: relative; z-index: 1; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 2px; background: #b9ccd1; }
.flow strong { display: block; color: var(--navy); margin-bottom: 6px; font-size: 1.05rem; }
.flow span { color: var(--muted); font-size: 0.95rem; display: block; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow li { text-align: left; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .flow li::before { grid-row: 1 / span 2; width: 40px; height: 40px; font-size: 1rem; margin: -6px 0 0; }
  .flow li::after { display: none; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 28px; }
.stat .num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--gold); line-height: 1.1; }
.stat .label { color: #d9e8ec; margin-top: 8px; }
.bg-gray .stat, .bg-white .stat { background: #fff; border-color: #eef2f3; box-shadow: var(--shadow); }
.bg-gray .stat .num { color: var(--teal); }
.bg-gray .stat .label { color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Split / callouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.callout { border-radius: var(--radius); padding: 36px; background: var(--navy); color: #d9e8ec; }
.callout h3 { color: var(--gold); }
.callout.mint { background: var(--mint); color: var(--text); }
.callout.mint h3 { color: var(--navy); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--navy); }
.bg-gray .pill-list li { border-color: transparent; }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.data th, table.data td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
table.data th { background: var(--teal-dark); color: #fff; font-weight: 700; }
table.data td:first-child, table.data th:first-child { text-align: left; font-weight: 700; color: var(--navy); }
table.data th:first-child { color: #fff; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-dark); color: #eaf7f8; padding: 64px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #e0f3f5; }

/* ---------- Forms ---------- */
.form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 0.95rem; }
.field .req { color: #b3261e; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #c5d2d6; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--text); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,147,162,0.18); }
.field.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.field.check input { width: 18px; height: 18px; margin-top: 4px; }
.field.check label { font-weight: 400; color: var(--muted); margin: 0; }
.field .error { color: #b3261e; font-size: 0.85rem; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.field.invalid .error { display: block; }
.provider-only { display: none; }
.provider-only.show { display: block; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; margin-top: 14px; font-weight: 600; }
.form-status.ok { display: block; background: var(--mint); color: var(--navy); }
.form-status.err { display: block; background: #fdecea; color: #8a1c14; }

/* ---------- Footer (light, so the logo sits on white without a tile) ---------- */
.site-footer { background: var(--gray); color: var(--muted); padding: 64px 0 28px; font-size: 0.95rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 56px; width: auto; }
.site-footer h4 { color: var(--navy); font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { color: var(--teal-dark); text-decoration: underline; }
.footer-note { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: 0.85rem; color: var(--muted); }
.footer-note p { margin: 0 0 6px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 70%, #0f5e6d 100%); color: #d9e8ec; padding: 72px 0 76px; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #cfe3e6; }
.page-hero .eyebrow { color: var(--gold); }
.source { font-size: 0.8rem; color: var(--muted); margin-top: 18px; }
.bg-navy .source { color: #9fbac2; }

/* Light callouts inside dark sections keep dark text */
.callout.mint .dot-list strong { color: var(--navy); }
.callout.mint .dot-list span { color: var(--muted); }
.callout.mint .dot-list li::before { background: var(--teal); }
