:root {
  --bg: #FFFFFF;
  --bg-soft: #F8F6F1;
  --bg-card: #FFFFFF;
  --bg-cream: #F4F1EA;
  --bg-deep: #0F1411;
  --ink: #0F1411;
  --ink-soft: #4A4F55;
  --ink-muted: #8A8E92;
  --line: #E8E4DA;
  --line-strong: #D9D4C7;
  --accent: #1F5447;
  --accent-light: #2F7A66;
  --accent-soft: #E3EDE9;
  --accent-pale: #F0F5F2;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  justify-self: start;
}
.logo-mark {
  width: 31px;
  height: 31px;
  color: var(--accent);
  flex-shrink: 0;
}

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  margin: 0 auto; max-width: 100%; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.0);
  backdrop-filter: blur(0px) saturate(1);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: 0 0 0 rgba(15, 20, 17, 0);
  overflow: visible;
  animation: navPopIn 900ms cubic-bezier(0.34, 1.4, 0.5, 1) 120ms backwards;
  transition: 
    top 400ms cubic-bezier(0.16, 1, 0.3, 1),
    left 400ms cubic-bezier(0.16, 1, 0.3, 1),
    right 400ms cubic-bezier(0.16, 1, 0.3, 1),
    max-width 400ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 400ms cubic-bezier(0.16, 1, 0.3, 1),
    background 400ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 400ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 400ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 400ms cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-backdrop-filter 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled {
  top: 14px; left: 16px; right: 16px;
  max-width: 1160px;
  padding: 11px 16px 11px 24px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid rgba(217, 212, 199, 0.5);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(15, 20, 17, 0.08);
}
/* keep nav contents above the sheen layer */
.nav > * { position: relative; z-index: 1; }
.nav::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, rgba(47,122,102,0.10) 46%, rgba(111,173,154,0.16) 50%, rgba(47,122,102,0.10) 54%, transparent 68%);
  background-size: 250% 100%;
  animation: navSheen 8s ease-in-out infinite;
  opacity: 0;
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled::after {
  opacity: 1;
}
@keyframes navPopIn {
  from { opacity: 0; transform: translateY(-22px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes navSheen {
  0%       { background-position: 130% 0; }
  55%, 100% { background-position: -30% 0; }
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .nav { animation: none; }
  .nav::after { animation: none; opacity: 0; }
}
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; color: var(--ink-soft); justify-self: center; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; justify-self: end; }
.nav-signin { font-size: 14px; font-weight: 500; color: var(--ink-soft); padding: 8px 14px; }
.nav-signin:hover { color: var(--ink); }
.nav-cta {
  font-size: 14px; font-weight: 500; padding: 10px 18px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  transition: opacity 200ms ease;
}
.nav-cta:hover { opacity: 0.85; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); }
.nav-overlay { display: none; }

.hero {
  padding: 100px 40px 28px;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero-pill .tag {
  background: var(--accent-soft); color: var(--accent);
  font-weight: 500; padding: 3px 10px; border-radius: 999px; font-size: 11px;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 16ch;
  margin: 0 auto;
  font-feature-settings: "kern" 1;
}
.hero-headline em { font-style: italic; font-weight: 400; color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 20px auto 0;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 24px; justify-content: center;
}
.btn-primary {
  font-size: 14px; font-weight: 500; padding: 14px 28px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px; transition: opacity 200ms ease;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  font-size: 14px; font-weight: 500; padding: 14px 24px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 999px;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn-secondary:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-link {
  font-size: 14px; font-weight: 500; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-link:hover { color: var(--accent-light); }
.btn-link .arrow { transition: transform 200ms ease; }
.btn-link:hover .arrow { transform: translateX(3px); }

.hero-trust {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 8px;
}

.hero-backed {
  margin-top: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.backed-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-muted);
}
.backed-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 26px; flex-wrap: wrap;
}
.backed-logo {
  width: auto; display: block;
  transition: transform 200ms ease;
}
.logo-16vc { height: 44px; }
.logo-nvidia { height: 52px; }
.backed-logo:hover { transform: translateY(-2px); }

.emr-band {
  padding: 44px 0 48px;
  background: var(--bg);
  scroll-margin-top: 92px;
}
.emr-panel {
  background: var(--bg-deep);
  color: var(--bg);
  padding: 46px 0 42px;
  overflow: hidden;
}
.emr-copy {
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 0 24px;
  text-align: center;
}
.emr-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0;
  font-weight: 600;
}
.emr-title {
  display: none;
}
.emr-sub {
  display: none;
}
.partner-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.partner-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: partnerScroll 46s linear infinite;
}
.partner-marquee:hover .partner-track { animation-play-state: paused; }
@keyframes partnerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-logo {
  width: 196px;
  height: 76px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 200ms ease, opacity 200ms ease;
}
.partner-logo:hover { opacity: 0.9; }
.partner-logo img {
  display: block;
  width: auto;
  height: var(--logo-h, 42px);
  max-width: var(--logo-w, 168px);
  max-height: 54px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.34;
}
.partner-logo img.logo-greenway { --logo-h: 39px; --logo-w: 172px; }
.partner-logo img.logo-practicefusion { --logo-h: 54px; --logo-w: 156px; }
.partner-logo img.logo-officeally { --logo-h: 44px; --logo-w: 172px; }
.partner-logo img.logo-athenahealth { --logo-h: 54px; --logo-w: 156px; }
.partner-logo img.logo-eclinicalworks { --logo-h: 54px; --logo-w: 156px; }
.partner-logo img.logo-tebra { --logo-h: 52px; --logo-w: 156px; }
.partner-logo img.logo-epic { --logo-h: 38px; --logo-w: 150px; }
.partner-logo img.logo-availity { --logo-h: 52px; --logo-w: 156px; }
.partner-logo img.logo-waystar { --logo-h: 52px; --logo-w: 156px; }
.partner-logo img.logo-aetna { --logo-h: 52px; --logo-w: 156px; }
.partner-logo img.logo-cigna { --logo-h: 52px; --logo-w: 156px; }
.partner-logo img.logo-humana { --logo-h: 52px; --logo-w: 156px; }
.about-band {
  background: var(--bg-soft);
  padding: 88px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-inner { max-width: 1240px; margin: 0 auto; }
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.4fr;
  gap: 80px; align-items: start;
}
.about-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05; letter-spacing: -0.01em;
  color: var(--ink);
  font-feature-settings: "kern" 1;
}
.about-body { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.about-body p + p { margin-top: 18px; }
.about-body strong { color: var(--ink); font-weight: 500; }

section.section { padding: 84px 40px; max-width: 1240px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 16px; }
/* Homepage: center subsection intros for symmetry */
.home .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.home .section-head .section-sub { margin-left: auto; margin-right: auto; }
.section-headline {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02; letter-spacing: -0.015em;
  color: var(--ink);
  font-feature-settings: "kern" 1;
}
.section-headline em { font-style: italic; font-weight: 400; color: var(--accent); }
.section-sub {
  margin-top: 22px; font-size: 17px; line-height: 1.55;
  color: var(--ink-soft); max-width: 56ch;
}

/* Featured headline stat */
.industry-hero {
  background: var(--bg-deep);
  color: var(--bg);
  border-radius: 24px;
  padding: 56px 64px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.industry-hero-left {
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.industry-hero-num-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.industry-hero-num-label {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.01em;
  line-height: 1.4;
  font-style: italic;
  font-family: var(--serif);
}
.industry-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,122,102,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.industry-hero-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 8vw, 108px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--bg);
  position: relative;
  font-feature-settings: "kern" 1;
}
.industry-hero-num .pre {
  font-size: 0.5em;
  color: rgba(255,255,255,0.55);
  vertical-align: 0.25em;
  margin-right: 4px;
  font-weight: 300;
}
.industry-hero-num .unit {
  font-size: 0.5em;
  color: rgba(255,255,255,0.55);
  margin-left: 2px;
  letter-spacing: -0.02em;
}
.industry-hero-num .accent { color: #6FAD9A; font-style: italic; font-weight: 400; }
.industry-hero-text { position: relative; }
.industry-hero-eyebrow {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.industry-hero-eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: #6FAD9A;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
.industry-hero-context {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--bg);
}
.industry-hero-context em { font-style: italic; font-weight: 400; color: #6FAD9A; }
.industry-hero-source {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry-card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 20px; padding: 36px 32px;
}
.industry-num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1; letter-spacing: -0.015em; color: var(--ink);
  font-feature-settings: "kern" 1;
}
.industry-num .unit { font-size: 0.5em; color: var(--ink-muted); margin-left: 2px; }
.industry-num .pre { font-size: 0.55em; color: var(--ink-muted); vertical-align: 0.18em; margin-right: 2px; }
.industry-context { margin-top: 20px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.industry-source { margin-top: 14px; font-size: 12px; color: var(--ink-muted); font-style: italic; }
.industry-foot {
  margin-top: 36px;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink); max-width: 60ch; line-height: 1.4;
}
.industry-foot-source {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-muted);
  font-style: normal;
}

.service {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
  padding: 90px 0; border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service.flip { grid-template-areas: 'b a'; }
.service.flip .service-text { grid-area: a; }
.service.flip .service-visual { grid-area: b; }
.service-eyebrow { margin-bottom: 20px; }
.service-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.02; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 20px;
  font-feature-settings: "kern" 1;
}
.service-title em { font-style: italic; font-weight: 500; color: var(--accent); }
.service-body { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 24px; max-width: 50ch; }
.service-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.service-li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--ink); line-height: 1.5;
}
.service-li .tick {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0; font-weight: 600; margin-top: 3px;
}

.service-visual {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 24px; padding: 32px; position: relative;
}
.sv-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.sv-title { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--ink); }
.sv-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--accent); font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.sv-status .pulse {
  width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.sv-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
}
.sv-row:last-child { border-bottom: none; }
.sv-row .check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; flex-shrink: 0;
}
.sv-row .label { flex: 1; color: var(--ink); }
.sv-row .meta { color: var(--ink-muted); font-size: 12.5px; }

.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-label { font-size: 13px; color: var(--ink-soft); width: 120px; flex-shrink: 0; }
.bar-track { flex: 1; height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar-fill {
  height: 100%; background: var(--accent);
  border-radius: 999px; width: 0;
  transition: width 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.bar-pct { font-size: 13px; color: var(--ink); font-weight: 500; width: 38px; text-align: right; }

.flow-step {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; font-size: 14px; margin-bottom: 8px;
}
.flow-step .num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.flow-step .label { color: var(--ink); flex: 1; }
.flow-step .meta { color: var(--ink-muted); font-size: 12px; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cap-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.cap-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cap-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cap-icon svg { width: 18px; height: 18px; }
.cap-name {
  font-family: var(--serif); font-weight: 700;
  font-size: 20px; letter-spacing: -0.012em;
  color: var(--ink); margin-bottom: 8px; line-height: 1.2;
}
.cap-desc { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

.payer-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 96px 40px;
}
.payer-inner { max-width: 1240px; margin: 0 auto; }
.payer-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.payer-search {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.payer-search-icon { width: 18px; height: 18px; color: var(--ink-muted); flex-shrink: 0; }
.payer-search input {
  border: none; outline: none; background: transparent;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  flex: 1; width: 100%;
}
.payer-search input::placeholder { color: var(--ink-muted); }
.payer-results {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
}
.payer-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.payer-row:last-child { border-bottom: none; }
.payer-row .name { color: var(--ink); font-weight: 500; }
.payer-row .status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--accent); font-weight: 500;
}
.payer-row .status::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}

.testimonial { max-width: 1240px; margin: 0 auto; padding: 110px 40px; }
.testi-card {
  background: var(--bg-deep); color: var(--bg);
  border-radius: 28px; padding: 80px 72px;
  position: relative; overflow: hidden;
}
.voices-head { max-width: 720px; position: relative; margin-bottom: 56px; }
.voices-head .testi-eyebrow { margin-bottom: 18px; }
.voices-head .testi-head { font-size: clamp(28px, 3.2vw, 42px); }
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.voice-card {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 28px;
  display: flex; flex-direction: column;
}
.voice-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 19px;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
  flex: 1;
}
.voice-quote::before {
  content: '"';
  font-family: var(--serif);
  font-size: 44px;
  line-height: 0;
  color: #6FAD9A;
  display: block;
  margin-bottom: 12px;
  opacity: 0.7;
}
.voice-attr {
  margin-top: 24px;
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.voice-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #6FAD9A;
  font-family: var(--serif);
  font-weight: 400;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.voice-attr-text { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.4; }
.voice-attr-name { font-weight: 500; color: var(--bg); font-size: 13.5px; }
.testi-card::before {
  content: ''; position: absolute;
  top: -160px; right: -160px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,122,102,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.testi-eyebrow {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 22px;
}
.testi-head {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--bg); position: relative;
}
.testi-head em { font-style: italic; font-weight: 400; color: #6FAD9A; }
.testi-quote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.45; color: rgba(255,255,255,0.92);
  position: relative;
}
.testi-quote::before {
  content: '"'; font-family: var(--serif);
  font-size: 64px; line-height: 0;
  color: var(--accent-light); display: block;
  margin-bottom: 16px; opacity: 0.6;
}
.testi-attr { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.testi-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #6FAD9A; font-family: var(--serif); font-weight: 400;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.testi-attr-text { font-size: 14px; color: rgba(255,255,255,0.6); }
.testi-attr-name { font-weight: 500; color: var(--bg); }

.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; text-align: left;
  font-family: var(--sans); font-size: 17px; font-weight: 500;
  color: var(--ink); gap: 16px;
}
.faq-q .plus {
  font-family: var(--serif); font-weight: 300;
  font-size: 26px; color: var(--ink-muted);
  transition: transform 250ms ease; flex-shrink: 0;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 350ms ease, margin 350ms ease;
  font-size: 15px; line-height: 1.6; color: var(--ink-soft);
}
.faq-item.open .faq-a { max-height: 400px; margin-top: 12px; }

.final {
  background: var(--bg-soft);
  padding: 130px 40px;
  border-top: 1px solid var(--line);
}
.final-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.final-headline {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1; letter-spacing: -0.015em; color: var(--ink);
  font-feature-settings: "kern" 1;
}
.final-headline em { font-style: italic; font-weight: 400; color: var(--accent); }
.final-sub {
  margin-top: 22px; font-size: 17px; color: var(--ink-soft);
  line-height: 1.55; max-width: 52ch;
  margin-left: auto; margin-right: auto;
}
.final-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 36px; justify-content: center;
}

.footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 40px 40px;
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand .logo { color: var(--bg); }
.footer-brand .logo-mark { color: #6FAD9A; }
.footer-tag {
  margin-top: 18px; font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 32ch; line-height: 1.6;
}
.footer-col-title {
  font-size: 12px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 600;
}
.footer-link {
  display: block; font-size: 14px;
  color: rgba(255,255,255,0.65); padding: 7px 0;
}
.footer-link:hover { color: var(--bg); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12.5px; color: rgba(255,255,255,0.5);
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }

/* Enhanced background orb animations - Taiga-inspired minimal aesthetic */
@keyframes floatOrbSlow {
  0%, 100% { transform: translate(0, 0); opacity: 0.35; }
  33% { transform: translate(30px, -40px); opacity: 0.45; }
  66% { transform: translate(-20px, 20px); opacity: 0.3; }
}

@keyframes floatOrbAlt {
  0%, 100% { transform: translate(0, 0); opacity: 0.25; }
  50% { transform: translate(-50px, 50px); opacity: 0.4; }
}

@keyframes glowPulse {
  0%, 100% { filter: blur(40px); }
  50% { filter: blur(60px); }
}

.industry-hero::before {
  animation: floatOrbSlow 8s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
}

.industry-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 84, 71, 0.25) 0%, transparent 65%);
  pointer-events: none;
  animation: floatOrbAlt 12s ease-in-out infinite reverse;
}

.testi-card::before {
  animation: floatOrbSlow 10s ease-in-out infinite;
}

.testi-card::after {
  content: '';
  position: absolute;
  bottom: -120px; left: 80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 173, 154, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: floatOrbAlt 14s ease-in-out infinite;
}

@media (max-width: 900px) {
  .partner-track { gap: 24px; }
  .partner-logo { width: 160px; }
  .partner-logo img { transform: scale(0.9); }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-hero { grid-template-columns: 1fr; gap: 28px; padding: 44px 36px; }
  .industry-hero-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-right: 0; padding-bottom: 28px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 1fr !important; gap: 32px; padding: 70px 0; }
  .service.flip { grid-template-areas: unset; }
  .payer-grid { grid-template-columns: 1fr; gap: 40px; }
  .testi-card { padding: 56px 36px; }
  .voices-grid { grid-template-columns: 1fr; gap: 24px; }
  .voices-head { margin-bottom: 36px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav {
    padding: 16px 20px;
    top: 0; left: 0; right: 0;
    max-width: 100%;
    margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    border-radius: 0;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.0);
    box-shadow: none;
    overflow: visible;
  }
  .nav.scrolled {
    top: 12px; left: 12px; right: 12px;
    max-width: calc(100% - 24px);
    margin: 0 auto;
    border-radius: 999px;
    border-color: rgba(217, 212, 199, 0.5);
    background: rgba(255, 255, 255, 0.48);
    box-shadow: 0 10px 34px rgba(15, 20, 17, 0.08);
    padding: 10px 14px 10px 20px;
  }
  .nav.open {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--line-strong);
  }
  .nav.open .nav-overlay {
    display: flex; position: absolute;
    top: calc(100% + 10px); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch;
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 22px; padding: 14px; gap: 2px;
    box-shadow: 0 16px 40px rgba(15, 20, 17, 0.12);
    animation: menuFadeIn 250ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .nav.scrolled.open .nav-overlay {
    left: 0;
    right: 0;
  }
  .nav-links, .nav-right .nav-signin, .nav-right .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  /* logo far left, menu icon far right */
  .nav-right { margin-left: auto; }
  .nav.open .nav-overlay a {
    font-family: var(--serif); font-weight: 400;
    font-size: 22px; color: var(--ink);
    padding: 11px 14px; border-radius: 12px;
  }
  .nav.open .nav-overlay a:active { background: var(--bg-soft); }
  .nav.open .nav-overlay .btn-primary {
    font-family: var(--sans); font-size: 15px; padding: 14px 28px;
    text-align: center; color: var(--bg); margin-top: 8px;
  }
  .nav.open .nav-overlay .btn-secondary {
    font-family: var(--sans); font-size: 15px; padding: 14px 28px;
    text-align: center; margin-top: 6px;
  }
  .nav.open .nav-overlay .btn-secondary:hover,
  .nav.open .nav-overlay .btn-secondary:active {
    background: var(--accent); border-color: var(--accent); color: var(--bg);
  }

  .hero { padding: 104px 22px 26px; }
  .hero-headline { font-size: clamp(32px, 8.5vw, 46px); line-height: 1.08; }
  .hero-sub { font-size: 16px; margin-top: 16px; }
  .hero-trust { font-size: 11px; gap: 6px; flex-wrap: wrap; justify-content: center; }
  .hero-pill { font-size: 12px; }
  .emr-band { padding: 32px 0 24px; }
  .emr-panel { padding: 38px 0 34px; }

  .about-band { padding: 64px 22px; }
  section.section { padding: 72px 22px; }
  .section-head { margin-bottom: 36px; }
  .section-headline { font-size: clamp(28px, 7vw, 40px); }
  .section-sub { font-size: 16px; }
  .cap-grid { grid-template-columns: 1fr; }
  .payer-band { padding: 64px 22px; }
  .testimonial { padding: 64px 22px; }
  .testi-card { padding: 44px 26px; border-radius: 22px; }
  .testi-head { font-size: clamp(26px, 6.5vw, 36px); }
  .final { padding: 72px 22px; }
  .final-headline { font-size: clamp(32px, 9vw, 52px); }
  .detail-title { font-size: clamp(30px, 8vw, 44px); }
  .about-title { font-size: clamp(26px, 7vw, 34px); }
  .footer { padding: 56px 22px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
}
@media (max-width: 480px) {
  section.section { padding: 60px 20px; }
  .about-band { padding: 52px 20px; }
  .payer-band { padding: 52px 20px; }
  .testimonial { padding: 48px 16px; }
  .testi-card { padding: 32px 22px; }
  .final { padding: 60px 20px; }
  .cap-card { padding: 24px 22px; }
  .post-card { padding: 24px 22px; }
  .detail-hero { padding: 96px 20px 32px; }
  .hero-pill { padding: 6px 12px 6px 7px; }
  .hero-pill span:not(.tag) { font-size: 11.5px; }
}

/* Contact modal */
.contact-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 20, 17, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; transition: opacity 0.2s ease;
}
.contact-overlay.open { display: flex; opacity: 1; }
.contact-modal {
  background: var(--bg); border-radius: 24px;
  width: 100%; max-width: 520px; max-height: calc(100vh - 48px);
  overflow-y: auto; padding: 40px 38px 34px;
  box-shadow: 0 30px 80px rgba(15, 20, 17, 0.25);
  border: 1px solid var(--line); position: relative;
  transform: translateY(8px); transition: transform 0.2s ease;
}
.contact-overlay.open .contact-modal { transform: translateY(0); }
.contact-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-soft); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); font-size: 18px; line-height: 1;
  transition: background 0.15s ease;
}
.contact-close:hover { background: var(--bg-cream); }
.contact-eyebrow {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 14px;
}
.contact-title {
  font-family: 'Fraunces', serif; font-size: 28px; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px;
}
.contact-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.contact-sub { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin-bottom: 22px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field label {
  font-size: 12px; font-weight: 500; color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.contact-field input, .contact-field textarea {
  font: inherit; font-size: 14px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-field input:focus, .contact-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-pale);
}
.contact-field textarea { resize: vertical; min-height: 96px; }
.contact-submit {
  margin-top: 6px; padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); border: none;
  font: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: opacity 0.15s ease;
}
.contact-submit:hover { opacity: 0.88; }
.contact-submit:disabled { opacity: 0.6; cursor: wait; }
.contact-status { font-size: 13px; margin-top: 4px; min-height: 18px; }
.contact-status.error { color: #b04848; }
.contact-status.success { color: var(--accent); }
.contact-fineprint { font-size: 11px; color: var(--ink-soft); margin-top: 10px; line-height: 1.5; }
@media (max-width: 520px) {
  .contact-modal { padding: 32px 24px 26px; border-radius: 20px; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-title { font-size: 24px; }
}

/* Sign-in modal — reuses contact-overlay/modal/close/title/sub/field styles */
.signin-google {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; width: 100%; padding: 12px 16px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.signin-google:hover { background: var(--bg-soft); border-color: var(--ink-soft); }
.signin-google svg { width: 18px; height: 18px; }
.signin-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-soft); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; margin: 18px 0 4px;
}
.signin-divider::before, .signin-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.signin-forgot {
  align-self: flex-end; font-size: 12px; color: var(--accent);
  text-decoration: none; margin-top: -2px;
}
.signin-forgot:hover { color: var(--accent-light); text-decoration: underline; }
.signin-footer {
  text-align: center; font-size: 13px; color: var(--ink-soft);
  margin-top: 16px;
}
.signin-footer a { color: var(--accent); text-decoration: none; font-weight: 500; }
.signin-footer a:hover { text-decoration: underline; }

/* ─── Detail pages ───────────────────────────────────────── */
.detail-hero {
  max-width: 1240px; margin: 0 auto;
  padding: 152px 40px 60px;
}
.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--ink-muted);
  margin-bottom: 30px;
}
.back-link:hover { color: var(--accent); }
.back-link .arrow { transition: transform 200ms ease; }
.back-link:hover .arrow { transform: translateX(-3px); }
.detail-hero .eyebrow { margin-bottom: 18px; }
.detail-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.03; letter-spacing: -0.015em;
  color: var(--ink); max-width: 17ch;
  font-feature-settings: "kern" 1;
}
.detail-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.detail-lead {
  margin-top: 24px; font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6; color: var(--ink-soft); max-width: 62ch;
}
.detail-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.steps { border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 28px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: var(--serif); font-size: 36px;
  color: var(--accent); line-height: 1;
}
.step-title {
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 8px; color: var(--ink);
}
.step-desc {
  font-size: 15.5px; line-height: 1.62;
  color: var(--ink-soft); max-width: 64ch;
}

.detail-quote {
  background: var(--bg-deep); color: var(--bg);
  border-radius: 24px; padding: 56px 64px;
  max-width: 1160px; margin: 0 auto;
}
.detail-quote p {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.32; letter-spacing: -0.01em;
}
.detail-quote .dq-source {
  margin-top: 22px; font-size: 13px;
  color: rgba(255, 255, 255, 0.55); font-family: var(--sans);
}

@media (max-width: 768px) {
  .detail-hero { padding: 118px 22px 44px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .step-num { font-size: 28px; }
  .detail-quote { padding: 40px 26px; border-radius: 18px; }
}

/* ─── Blog / Resources ───────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 28px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.post-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.post-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.post-title {
  font-family: var(--serif); font-weight: 600;
  font-size: 23px; line-height: 1.12; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 10px;
}
.post-excerpt { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.post-meta { margin-top: 18px; font-size: 12.5px; color: var(--ink-muted); }
.post-card .btn-link { margin-top: 16px; }

.article { max-width: 720px; margin: 0 auto; padding: 0 40px 40px; }
.article-body { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.article-body h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: 28px; line-height: 1.15; letter-spacing: -0.015em;
  color: var(--ink); margin: 42px 0 14px;
}
.article-body h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body ul { margin: 0 0 18px 20px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-meta { font-size: 13px; color: var(--ink-muted); margin-top: 16px; }

@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .post-grid { grid-template-columns: 1fr; }
  .article { padding: 0 22px 32px; }
}
