/* ==========================================================================
   FlowClaim RCM LLC, stylesheet
   Poppins display + Inter UI, in the style of leading US/Pakistan medical
   billing sites: navy headings, sky-blue structure (labels, borders, icons,
   links, emphasis), white and light-blue surfaces, and a single green used
   only on primary buttons so the call to action never competes.
   All text/background pairs verified against WCAG AA, see tools/check-contrast.js.
   ========================================================================== */

:root {
  /* Ink scale */
  --ink: #0F2A47;
  --ink-deep: #0B2140;
  --ink-mid: #123560;
  --ink-soft: #274A70;
  --body: #4B5B6E;
  --body-light: #5F6E80;

  /* Brand: sky blue (the logo's "Claim" azure) carries structure: labels,
     icons, borders, links, emphasis. #0A6FB5 clears 5:1 on white; the bright
     tint is for dark backgrounds only. */
  --accent: #0A6FB5;
  --accent-dark: #085A93;
  --accent-bright: #38BDF8;
  --accent-wash: #EAF5FD;
  --accent-line: #B6DDF5;

  /* Action: green, used only on primary buttons. #15803D clears 5:1 with
     white label text. */
  --cta: #15803D;
  --cta-dark: #166534;


  /* Surfaces */
  --surface: #FFFFFF;
  --panel: #F0F7FC;
  --panel-deep: #E3F0FA;
  --sky-wash: #EAF4FB;
  --line: #DAE6F0;
  --line-soft: #EAF1F7;
  --line-dark: #1E3E63;

  /* Layout */
  --max: 1180px;
  --max-wide: 1320px;
  --max-text: 720px;
  --radius: 8px;
  --radius-lg: 14px;

  /* Elevation, used sparingly */
  --lift: 0 1px 2px rgba(15, 42, 71, 0.04), 0 8px 24px -12px rgba(15, 42, 71, 0.12);
  --lift-hover: 0 1px 2px rgba(15, 42, 71, 0.06), 0 18px 40px -18px rgba(15, 42, 71, 0.22);

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);

  --section-y: 120px;
  --section-y-sm: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 130px; /* utility bar + header + 16px */
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--accent-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
svg { display: block; }

/* ---- Type ---- */
h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -0.015em;
}
h1, h2 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.0rem; }

.display {
  font-size: clamp(2.1rem, 3.5vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  color: var(--body);
}

strong { color: var(--ink); font-weight: 600; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* Colored keywords inside headings. Both clear AA against white and against
   the ink backgrounds they are used on. */
.hl { color: var(--accent); font-style: normal; }
.hl-teal { color: var(--accent); font-style: normal; }
.section--ink .hl, .hero .hl, .cta-band .hl { color: var(--accent-bright); }
.section--ink .hl-teal, .hero .hl-teal, .cta-band .hl-teal { color: var(--accent-bright); }

/* Focus ring, everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
details:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-dark a:focus-visible,
.on-dark button:focus-visible { outline-color: var(--accent-bright); }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---- Layout ---- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 28px; }
.text-col { max-width: var(--max-text); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

section.section { padding: var(--section-y) 0; }
.section--panel { background: var(--panel); }
.section--wash { background: var(--accent-wash); }
/* Tinted alternates so sections read as colored bands, not grey ones */
.section--teal-wash { background: var(--accent-wash); }
.section--sky { background: var(--sky-wash); }
.section--flame-wash { background: var(--accent-wash); }
.section--teal-wash .card, .section--sky .card, .section--flame-wash .card { background: #fff; }
.section--ink {
  background: var(--ink-deep);
  color: #A9BECD;
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

@media (max-width: 900px) {
  section.section { padding: var(--section-y-sm) 0; }
  .wrap, .wrap-wide { padding: 0 20px; }
}

/* Section label: small rule + sentence-case text, not a tracked-out eyebrow */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.section-label--flame { color: var(--accent); }
.section-label--flame::before { background: var(--accent); }
.section--ink .section-label { color: var(--accent-bright); }
.section--ink .section-label::before { background: var(--accent-bright); }

.section-head { margin-bottom: 56px; max-width: var(--max-text); }
.section-head p { font-size: 1.08rem; }
.section-head--wide { max-width: 900px; }

.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: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  position: relative;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform 0.25s var(--ease); flex: none; }
.btn:hover svg.arrow { transform: translateX(3px); }

/* Action button: the one green on the site, with a soft sheen and a colored
   shadow rather than a flat fill. White label text clears 5:1. */
.btn-primary {
  background: linear-gradient(180deg, var(--cta) 0%, var(--cta-dark) 100%);
  color: #fff;
  border-color: var(--cta-dark);
  box-shadow: 0 1px 2px rgba(22, 101, 52, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--cta-dark) 0%, var(--cta-dark) 100%);
  border-color: var(--cta-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(21, 128, 61, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
/* Secondary action, flat blue (no gradient) */
.btn-teal {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 1px 2px rgba(8, 90, 147, 0.2);
}
.btn-teal:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(8, 90, 147, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(15, 42, 71, 0.02);
}
.on-dark .btn-outline,
.section--ink .btn-outline,
.hero .btn-outline,
.cta-band .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.on-dark .btn-outline:hover,
.section--ink .btn-outline:hover,
.hero .btn-outline:hover,
.cta-band .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Text link with sliding arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Page transitions ----
   Native cross-document view transitions where supported (Chrome, Edge,
   Safari 18+): the page content crossfades on navigation while the sticky
   bars stay put. main.js adds html.no-vt elsewhere and drives a plain
   opacity fade instead. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-fade-out 140ms ease-out both; }
::view-transition-new(root) { animation: page-fade-in 260ms var(--ease) both; }
.utility-bar { view-transition-name: utility-bar; }
.site-header { view-transition-name: site-header; }
@keyframes page-fade-out { to { opacity: 0; } }
@keyframes page-fade-in { from { opacity: 0; transform: translateY(10px); } }
html.no-vt body { animation: page-fade-in-flat 260ms var(--ease) both; }
html.no-vt.page-leave body { animation: page-fade-out 140ms ease-out both; }
@keyframes page-fade-in-flat { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root), html.no-vt body { animation: none !important; }
}

/* ---- Utility bar (sticks to the top; the header sticks just below it) ---- */
.utility-bar {
  position: relative;
  top: auto;
  z-index: auto;
  height: 38px;
  overflow: hidden;
  background: var(--ink-deep);
  color: #BCD0E4;
  font-size: 0.84rem;
  line-height: 1.3;
}
.utility-bar > .wrap {
  max-width: var(--max-wide);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.utility-contact { display: flex; align-items: center; gap: 22px; }
.utility-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}
.utility-contact a:hover { color: var(--accent-bright); }
.utility-contact svg, .utility-note svg { width: 15px; height: 15px; color: var(--accent-bright); flex: none; }
.utility-note { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 900px) { .utility-note { display: none; } }
@media (max-width: 480px) {
  .utility-bar { font-size: 0.78rem; }
  .utility-contact { width: 100%; justify-content: space-between; gap: 12px; }
}
@media (max-width: 400px) {
  .utility-bar { font-size: 0.72rem; }
  .utility-contact a { gap: 5px; }
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header[data-scrolled="true"] {
  box-shadow: 0 1px 20px -6px rgba(15, 42, 71, 0.16);
}
.site-header > .wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--max-wide);
}
.wordmark {
  display: flex;
  align-items: center;
  height: 76px; /* matches .site-header > .wrap so the header never grows */
  flex-shrink: 0;
  overflow: hidden; /* clips the SVG's transparent top/bottom padding */
}
/* The SVG canvas (1152x768) has ~29% empty space above and below the
   artwork, so the image box is taller than the header while the visible
   logo is ~42px. The small translate re-centres the artwork optically. */
.wordmark-logo {
  display: block;
  height: 100px;
  width: auto;
  transform: translateY(2px);
}
@media (max-width: 480px) {
  .wordmark-logo { height: 88px; }
}

.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link,
.nav-item-dropdown > button {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 9px 14px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
  position: relative;
}
.main-nav a.nav-link::after,
.nav-item-dropdown > button::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a.nav-link:hover::after,
.nav-item-dropdown > button:hover::after { transform: scaleX(1); }
.main-nav a.nav-link:hover, .nav-item-dropdown > button:hover { color: var(--accent); }
.main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-item-dropdown > button [aria-current="page"] { color: var(--accent); }

.nav-item-dropdown { position: relative; }
.nav-item-dropdown svg { width: 11px; height: 11px; transition: transform 0.2s var(--ease); }
.nav-item-dropdown[data-open="true"] svg { transform: rotate(180deg); }
.nav-item-dropdown[data-open="true"] > button { color: var(--accent); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -20px;
  width: 720px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 20px;
  box-shadow: var(--lift-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav-item-dropdown[data-open="true"] .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-panel a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--body);
  font-size: 0.875rem;
  line-height: 1.4;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.dropdown-panel a:hover { background: var(--accent-wash); color: var(--accent-dark); }
.dropdown-group-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 10px 8px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 6px;
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 20px; font-size: 0.9rem; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .header-cta .btn-primary-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 114px 0 0 0; /* utility bar 38px + header 76px; main.js refines this on open */
  background: #fff;
  z-index: 400;
  overflow-y: auto;
  padding: 24px 20px calc(60px + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.mobile-nav[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a:not(.btn) {
  display: block;
  padding: 15px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.mobile-services-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  padding: 15px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.mobile-services-toggle svg { width: 12px; height: 12px; transition: transform 0.2s var(--ease); }
.mobile-services-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-services-group {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
  padding-left: 14px;
  border-left: 1px solid var(--accent-line);
  margin-left: 4px;
}
/* Collapsed content must not be keyboard-focusable or announced. visibility
   is transitioned with a delay so the height animation still completes. */
.mobile-services-group > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.28s;
}
.mobile-services-group[data-open="true"] > div {
  visibility: visible;
  transition-delay: 0s;
}
.mobile-services-group[data-open="true"] { grid-template-rows: 1fr; }
.mobile-services-group a { font-size: 0.95rem; font-weight: 400; color: var(--body); padding: 12px 4px; }
.mobile-nav .btn { margin-top: 24px; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--body-light);
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb a { color: var(--body-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { color: var(--ink); }
.breadcrumb .sep { padding: 0 8px; color: var(--line); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0B2140 0%, #0F3A6E 55%, #12457F 100%);
  color: #BCD0E4;
  overflow: hidden;
  padding: 104px 0 112px;
}
.hero::before {
  /* hairline grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  /* two low-intensity blue glows so the dark ground has color in it */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 560px at 88% 92%, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
    radial-gradient(520px 520px at 8% 8%, rgba(56, 189, 248, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero > .wrap {
  position: relative;
  z-index: 2;
  max-width: var(--max-wide);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  color: var(--accent-bright);
}
.hero .lede { color: #9FB5C4; margin-bottom: 34px; max-width: 520px; font-size: 1.14rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #C7D8E3;
  border-radius: 100px;
  padding: 7px 16px 7px 12px;
  font-size: 0.83rem;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  flex: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.28);
}
.hero-trust {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 14px 28px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #8DA5B6;
}
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--accent-bright); flex: none; }

@media (max-width: 1040px) {
  .hero { padding: 72px 0 80px; }
  .hero > .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero .lede { max-width: none; }
}

/* ---- Hero dashboard panel ---- */
.snapshot {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.snapshot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.snapshot-head h2, .snapshot-head .snapshot-title {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0;
}
.snapshot-head .tag {
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 3px 10px;
}
.snapshot-body { padding: 22px; }
.snapshot-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.snapshot-stat { background: #fff; padding: 16px 18px; }
.snapshot-stat .k {
  font-size: 0.74rem;
  color: var(--body-light);
  margin-bottom: 4px;
}
.snapshot-stat .v {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.snapshot-stat .v small { font-size: 0.9rem; font-weight: 500; color: var(--accent); margin-left: 4px; }

.chart-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.78rem;
  color: var(--body-light);
  margin-bottom: 14px;
}
.chart-label strong { color: var(--ink); font-size: 0.84rem; font-weight: 600; }

.ar-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
  height: 108px;
  margin-bottom: 10px;
}
.ar-bar { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.ar-bar .bar {
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  width: 100%;
  transform-origin: bottom;
  animation: bar-rise 0.9s var(--ease) backwards;
}
/* Bar color carries meaning: fresh AR is light blue, aged AR darkens to ink. */
.ar-bar:nth-child(1) .bar { background: var(--accent-bright); animation-delay: 0.1s; }
.ar-bar:nth-child(2) .bar { background: var(--accent); animation-delay: 0.2s; }
.ar-bar:nth-child(3) .bar { background: var(--ink-mid); animation-delay: 0.3s; }
.ar-bar:nth-child(4) .bar { background: var(--ink); animation-delay: 0.4s; }
@keyframes bar-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.ar-axis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  font-size: 0.72rem;
  color: var(--body-light);
  padding-top: 8px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.snapshot-foot {
  border-top: 1px solid var(--line);
  padding: 12px 22px;
  font-size: 0.73rem;
  color: var(--body-light);
  background: var(--panel);
}

/* ==========================================================================
   METRICS STRIP
   ========================================================================== */
/* ---- Trust strip (credentials under the hero) ---- */
.trust-strip { background: #fff; border-top: 1px solid var(--line); }
.trust-strip > .wrap {
  max-width: var(--max-wide);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 56px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.trust-badge { display: flex; align-items: center; gap: 14px; min-width: 0; }
.trust-badge > div { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.trust-badge strong { font-family: "Poppins", "Inter", sans-serif; font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.trust-badge span { font-size: 0.84rem; color: var(--body-light); }
.trust-icon { width: 50px; height: 50px; flex: none; filter: drop-shadow(0 8px 14px rgba(10, 111, 181, 0.28)); }
@media (max-width: 680px) {
  .trust-strip > .wrap { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
}

.metrics-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.metrics-strip .wrap { max-width: var(--max-wide); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 56px 0 22px;
}
.metric-item { padding: 0 30px; border-left: 1px solid var(--line); }
.metric-item:first-child { border-left: none; padding-left: 0; }
.metric-figure {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(2.1rem, 3.4vw, 2.7rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.metric-figure .pre { color: var(--ink); }
.metric-figure .unit { color: var(--accent); }
/* Alternate the figure color across the strip so it reads as a set */
.metric-item:nth-child(even) .metric-figure { color: var(--accent); }
.metric-item:nth-child(even) .metric-figure .unit { color: var(--accent); }
.metric-label { font-size: 0.9rem; color: var(--body); line-height: 1.5; }
.metric-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--accent-dark);
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 3px 10px;
  margin-top: 12px;
}
.metric-item:nth-child(even) .metric-tag {
  color: var(--accent-dark);
  background: var(--accent-wash);
  border-color: var(--accent-line);
}
.metrics-note {
  font-size: 0.92rem;
  color: var(--body);
  padding: 0 0 48px;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
}
@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 0; padding-top: 44px; }
  .metric-item:nth-child(3) { border-left: none; padding-left: 0; }
  .metric-item { padding: 0 20px; }
}
@media (max-width: 520px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-item { border-left: none; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 24px; }
  .metric-item:first-child { border-top: none; padding-top: 0; }
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--surface);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; line-height: 1.6; }
.card-hover:hover {
  border-color: var(--accent-line);
  box-shadow: var(--lift);
  transform: translateY(-2px);
}
.section--panel .card { background: #fff; }

.icon-tile {
  width: 46px;
  height: 46px;
  border: 1px solid var(--accent-line);
  background: var(--accent-wash);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.icon-tile svg { width: 22px; height: 22px; }
/* Warm variant, alternated across grids so icon rows carry both brand colors */
.icon-tile--flame {
  border-color: var(--accent-line);
  background: var(--accent-wash);
  color: var(--accent);
}
.card-hover:hover .icon-tile {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.card-hover:hover .icon-tile--flame {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--accent);
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Leak blocks: numbered, with accent rail */
.leak-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.leak-block {
  padding: 34px 28px 34px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.leak-block:last-child { border-right: none; }
.leak-block:not(:first-child) { padding-left: 28px; }
.leak-block::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--accent);
}
.leak-block:nth-child(even)::before { background: var(--accent); }
.leak-block:not(:first-child)::before { left: 28px; }
.leak-block h3 { font-size: 1.06rem; margin-bottom: 12px; }
.leak-block p { font-size: 0.93rem; color: var(--body); line-height: 1.62; }
@media (max-width: 980px) {
  .leak-grid { grid-template-columns: repeat(2, 1fr); }
  .leak-block:nth-child(2) { border-right: none; }
  .leak-block:nth-child(3) { border-top: 1px solid var(--line); padding-left: 0; }
  .leak-block:nth-child(3)::before { left: 0; }
  .leak-block:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .leak-grid { grid-template-columns: 1fr; }
  .leak-block { border-right: none; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .leak-block::before { left: 0 !important; }
  .leak-block:first-child { border-top: none; }
}

/* ==========================================================================
   SERVICE GROUPS
   ========================================================================== */
.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 980px) { .service-groups { grid-template-columns: 1fr; } }

.service-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.service-group:hover { border-color: var(--accent-line); box-shadow: var(--lift); }
.service-group-head {
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.service-group-step {
  font-size: 0.75rem;
  color: var(--accent-dark);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-group-step::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--accent-line);
}
.service-group h3 { font-size: 1.1rem; margin-bottom: 6px; }
.service-group .service-group-sub { font-size: 0.85rem; color: var(--body-light); margin: 0; }
.service-group ul { padding: 8px 14px 14px; }
.service-group ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  color: var(--body);
  font-size: 0.93rem;
  border-radius: var(--radius);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.service-group ul li a svg { width: 14px; height: 14px; opacity: 0; transform: translateX(-4px); transition: all 0.2s var(--ease); flex: none; }
.service-group ul li a:hover { background: var(--accent-wash); color: var(--accent-dark); }
.service-group ul li a:hover svg { opacity: 1; transform: translateX(0); }

/* services.html cards */
.service-card-group { margin-bottom: 64px; }
.service-card-group:last-child { margin-bottom: 0; }
.service-card-group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.service-card-group-head h2 {
  font-size: 1.45rem;
  margin: 0;
}
.service-card-group-head .count { font-size: 0.85rem; color: var(--body-light); margin-left: auto; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .service-cards { grid-template-columns: 1fr; } }
.service-cards .card { padding: 26px; display: flex; flex-direction: column; }
.service-cards .card h3 { font-size: 1.05rem; }
.service-cards .card p { flex: 1; font-size: 0.9rem; }

/* ==========================================================================
   PROCESS / STEP RAIL
   ========================================================================== */
.step-list { position: relative; }
.step-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  padding: 0 0 44px;
  position: relative;
}
.step-item:last-child { padding-bottom: 0; }
.step-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--accent-wash);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  flex: none;
  z-index: 2;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.step-item:hover .step-num { background: var(--accent); color: #fff; border-color: var(--accent); }
.step-line {
  width: 1px;
  flex: 1;
  background: var(--line);
  margin-top: 8px;
}
.step-item:last-child .step-line { display: none; }
.step-body { padding-top: 8px; padding-bottom: 8px; }
.step-meta {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--accent-dark);
  background: var(--accent-wash);
  border-radius: 100px;
  padding: 3px 12px;
  margin-bottom: 12px;
  font-weight: 500;
}
.step-body h3 { font-size: 1.2rem; margin-bottom: 12px; }
.step-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}
.step-col-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.step-col-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.step-cols p { font-size: 0.92rem; line-height: 1.6; }
@media (max-width: 680px) {
  .step-item { grid-template-columns: 44px 1fr; gap: 18px; }
  .step-num { width: 40px; height: 40px; font-size: 0.85rem; }
  .step-cols { grid-template-columns: 1fr; gap: 16px; }
}

/* Compact numbered list (home "how we work") */
.step-compact { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step-compact-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
  transition: background 0.2s var(--ease);
}
.step-compact-item .n {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 1.5rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.step-compact-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-compact-item p { font-size: 0.93rem; }

/* ==========================================================================
   SPECIALTIES
   ========================================================================== */
.specialty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 980px) { .specialty-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .specialty-grid { grid-template-columns: 1fr; } }
.specialty-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  background: #fff;
  transition: all 0.22s var(--ease);
}
.specialty-grid a svg { width: 15px; height: 15px; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: all 0.22s var(--ease); }
.specialty-grid a > span:not(.spec-icon-tile) { flex: 1; }
/* Specialty icon tile, shared by the home grid and the specialties page */
.spec-icon-tile {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-wash);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.spec-icon-tile svg, .specialty-grid a .spec-icon-tile svg { width: 18px; height: 18px; opacity: 1; transform: none; color: inherit; }
.specialty-grid a:hover .spec-icon-tile { background: var(--accent); color: #fff; }
.specialty-grid a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-wash);
  box-shadow: var(--lift);
  transform: translateY(-2px);
}
.specialty-grid a:hover svg { opacity: 1; transform: translateX(0); }

.specialty-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.specialty-block:first-child { border-top: none; }
.specialty-block h2 {
  font-size: 1.42rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.specialty-block p { font-size: 1rem; line-height: 1.68; margin: 0; }
@media (max-width: 820px) {
  .specialty-block { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .specialty-block h2 { position: static; font-size: 1.25rem; }
}

/* ==========================================================================
   LOGO MARQUEE
   ========================================================================== */
.marquee-section { overflow: hidden; }
.marquee-track-wrap {
  --fade: 120px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 68px;
  width: max-content;
  animation: marquee-left 46s linear infinite;
  padding: 22px 0;
}
.marquee-track-wrap + .marquee-track-wrap { margin-top: 14px; }
.marquee-track.marquee-reverse { animation-name: marquee-right; animation-duration: 56s; }
.marquee-track-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 30px;
  width: auto;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.3s var(--ease);
}
.marquee-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 640px) { .marquee-track-wrap { --fade: 48px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  font-weight: 500;
  color: var(--ink);
  font-size: 1.06rem;
  position: relative;
  transition: color 0.2s var(--ease);
}
.faq-item summary:hover { color: var(--accent-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after,
.faq-item summary::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  background: var(--accent);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.faq-item summary::before { width: 13px; height: 1.5px; transform: translateY(-50%); right: 6px; }
.faq-item summary::after { width: 1.5px; height: 13px; transform: translateY(-50%); right: 11.75px; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.faq-item .faq-answer {
  padding: 0 60px 26px 0;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--body);
  animation: faq-open 0.3s var(--ease);
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .faq-item .faq-answer { padding-right: 24px; }
  .faq-item summary { font-size: 1rem; }
}

/* ==========================================================================
   PRICING / SPLIT PANELS
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.panel-list { border-top: 1px solid var(--line); }
.panel-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.97rem;
}
.panel-list li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }

.highlight-card {
  border: 1px solid var(--accent-line);
  background: var(--accent-wash);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.highlight-card h3 { font-size: 1.15rem; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(160deg, #0F3A6E 0%, #0B2A52 60%, #0B2140 100%);
  color: #C9DCF0;
  padding: 104px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 100% at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 0%, #000, transparent 70%);
}
.cta-band > .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 20px; }
.cta-band p { color: #B4CBE4; max-width: 580px; margin: 0 auto 34px; }
.cta-band .btn-row { justify-content: center; }
@media (max-width: 900px) { .cta-band { padding: 72px 0; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink-deep);
  color: #8DA5B6;
  padding-top: 76px;
  border-top: 1px solid var(--line-dark);
}
.site-footer .wrap { max-width: var(--max-wide); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.75fr 1fr 0.8fr;
  gap: 44px;
  padding-bottom: 56px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
/* Footer columns use h2 (top level inside the footer landmark). These
   overrides keep the previous visual size and weight. */
.footer-col h2 {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.footer-col p { font-size: 0.9rem; line-height: 1.65; color: #8DA5B6; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: 0.9rem; color: #8DA5B6; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-wordmark {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.footer-wordmark span { color: var(--accent-bright); }
.footer-service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 620px) { .footer-service-cols { grid-template-columns: 1fr; } }
.footer-contact { margin-top: 22px; font-size: 0.9rem; }
.footer-contact div {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact svg { width: 15px; height: 15px; color: var(--accent-bright); flex: none; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #6B8497;
}
.footer-bottom a { color: #6B8497; }
.footer-bottom a:hover { color: var(--accent-bright); }

/* ==========================================================================
   SERVICE DETAIL PAGES
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--sky-wash) 0%, var(--panel) 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 76px;
}
.page-hero .wrap { max-width: var(--max-wide); }
.page-hero-inner { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .page-hero-inner { grid-template-columns: 1fr; gap: 32px; } }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lede { font-size: 1.16rem; color: var(--ink); line-height: 1.55; }
.cycle-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.cycle-chip .k { font-size: 0.75rem; color: var(--body-light); margin-bottom: 8px; }
.cycle-chip .v { font-size: 0.98rem; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.cycle-chip .pos { font-size: 0.85rem; color: var(--body); }

.detail-section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 32px;
}
.detail-section-head h2 { font-size: 1.75rem; margin: 0; }
.detail-section-head .rule { flex: 1; height: 1px; background: var(--line); }

.deliverable-list { border-top: 1px solid var(--line); }
.deliverable-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
  align-items: flex-start;
}
.deliverable-list li svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 3px; }

.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
@media (max-width: 680px) { .prevnext { grid-template-columns: 1fr; } }
.prevnext a {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  background: #fff;
  display: block;
  transition: all 0.25s var(--ease);
}
.prevnext a:hover { border-color: var(--accent-line); box-shadow: var(--lift); transform: translateY(-2px); }
.prevnext .dir {
  font-size: 0.78rem;
  color: var(--body-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.prevnext .dir svg { width: 14px; height: 14px; }
.prevnext .name { font-size: 1.02rem; color: var(--ink); font-weight: 600; }
.prevnext .next-card { text-align: right; }
.prevnext .next-card .dir { justify-content: flex-end; }

/* Numbered "how we handle it" list */
.process-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
@media (max-width: 820px) { .process-points { grid-template-columns: 1fr; gap: 0; } }
.process-point {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.process-point .pn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  margin-top: 1px;
}
.process-point p { font-size: 0.96rem; line-height: 1.62; }

/* ==========================================================================
   CONTACT / FORMS
   ========================================================================== */
/* Form column is first in the DOM so it comes first on mobile, and is the
   wider of the two on desktop. */
.contact-layout { display: grid; grid-template-columns: 1.3fr 0.85fr; gap: 56px; align-items: start; }
@media (max-width: 980px) {
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
}
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  background: #fff;
  box-shadow: var(--lift);
}
@media (max-width: 620px) { .form-card { padding: 26px 20px; } }

/* Form card heading block. Sits above the form inside the white card. */
.form-card-title {
  font-size: 1.5rem;
  margin: 0 0 6px;
}
.form-card-sub {
  font-size: 0.95rem;
  color: var(--body);
  margin: 0 0 26px;
}

/* Quiet note under the submit button. */
.form-foot-note {
  font-size: 0.82rem;
  color: var(--body-light);
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.5;
}

.contact-details { border-top: 1px solid var(--line); }
.contact-detail {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.contact-detail .ci { color: var(--accent); margin-top: 2px; }
.contact-detail .ci svg { width: 19px; height: 19px; }
.contact-detail-label { font-size: 0.78rem; color: var(--body-light); margin: 0 0 4px; font-weight: 500; }
.contact-detail a, .contact-detail .value { font-size: 1rem; color: var(--ink); font-weight: 500; }
.contact-detail a:hover { color: var(--accent); }
.contact-note {
  border: 1px solid var(--accent-line);
  background: var(--accent-wash);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 28px;
  color: var(--ink);
}
.contact-note strong {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  color: var(--ink);
}
/* Inline icons inside body copy must be constrained, an unsized SVG fills its box. */
.contact-note strong svg { width: 17px; height: 17px; flex: none; color: var(--accent); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
/* Keep inputs on the same baseline when one label wraps to two lines. */
.form-grid > .form-field > label { min-height: 40px; }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid > .form-field > label { min-height: 0; }
}
.form-field { margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-field label .opt { color: var(--body-light); font-weight: 400; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234A5A66' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 38px;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 111, 181, 0.15);
  outline: none;
}
/* Base rule is unscoped so every .error-text starts hidden, including the
   consent error which lives outside .form-field. */
.error-text {
  display: none;
  color: #A3312A;
  font-size: 0.82rem;
  margin: 7px 0 0;
}
.error-text.is-visible { display: block; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #A3312A; }
.form-field.has-error input:focus,
.form-field.has-error select:focus { box-shadow: 0 0 0 3px rgba(163, 49, 42, 0.1); }
.form-field.has-error .error-text { display: block; }

.req { color: var(--accent); font-weight: 600; margin-left: 1px; }
.form-required-note {
  font-size: 0.82rem;
  color: var(--body-light);
  margin: 0 0 20px;
}

/* #12 fieldset replaces the plain div so the checkbox group has a real
   accessible name. Reset UA borders so the layout is unchanged. */
.checkbox-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.checkbox-fieldset > legend {
  padding: 0;
  float: left;
  width: 100%;
}
.checkbox-fieldset > .checkbox-group { clear: both; }

.field-group-label {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 620px) { .checkbox-group { grid-template-columns: 1fr; } }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.checkbox-row:hover { border-color: var(--accent-line); background: var(--accent-wash); }
.checkbox-row input { accent-color: var(--accent); width: 15px; height: 15px; flex: none; }
.checkbox-row label { font-weight: 400; color: var(--body); cursor: pointer; margin: 0; }

.consent-row { display: flex; align-items: flex-start; gap: 12px; margin: 26px 0 16px; }
.consent-row input { accent-color: var(--accent); width: 16px; height: 16px; margin-top: 3px; flex: none; }
.consent-row label { font-size: 0.9rem; font-weight: 400; color: var(--body); line-height: 1.55; }

.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  padding: 15px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  margin-bottom: 22px;
  display: none;
}
.form-status.form-status--error {
  display: block;
  border-color: #E3B9B5;
  color: #8C2A24;
  background: #FBEEED;
}

/* ==========================================================================
   PROSE (about, privacy, hipaa)
   ========================================================================== */
.prose p, .prose li { font-size: 1.02rem; line-height: 1.72; }
.prose h2 { margin-top: 52px; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; }
.prose ul, .prose ol { list-style: none; padding-left: 0; margin-bottom: 20px; }
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-line);
}
.prose ol { counter-reset: pl; }
.prose ol li { position: relative; padding-left: 30px; margin-bottom: 10px; counter-increment: pl; }
.prose ol li::before {
  content: counter(pl) ".";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 8px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }

.bullet-list { display: grid; gap: 14px; }
.bullet-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.97rem; }
.bullet-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---- 404 ---- */
.error-page { text-align: center; padding: 140px 0 150px; }
.error-page .error-code {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 500;
  color: var(--panel-deep);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}
.error-page h1 { margin-top: -20px; }

/* ---- Thank you ---- */
.confirm-mark {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 28px;
}
.confirm-mark svg { width: 30px; height: 30px; }

/* ==========================================================================
   MOTION
   ========================================================================== */
/* Reveals are progressive enhancement only: the opacity:0 start state is
   scoped to .js, which an inline script in <head> sets. Without JS (or if
   the script fails), every section renders normally and visibly. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
  .ar-bar .bar { animation: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .faq-item .faq-answer { animation: none !important; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Safety: an inline SVG with no explicit size expands to fill its container.
   Give icons inside body copy a sane default so that can never happen. */
p > svg, li > svg, strong > svg, .value > svg { width: 18px; height: 18px; }

/* Visually hidden but available to screen readers. Used for structural
   headings that the visual design does not show. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 0.85rem; color: var(--body-light); }
hr.rule { border: none; border-top: 1px solid var(--line); margin: 48px 0; }
.stack-lg > * + * { margin-top: 28px; }

/* ==========================================================================
   DIAGRAMS
   Authored inline SVG. Each scales to its container and scrolls horizontally
   on narrow screens rather than shrinking into illegibility.
   ========================================================================== */
.diagram {
  margin: 0 0 48px;
  padding: 0;
}
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption {
  font-size: 0.87rem;
  color: var(--body-light);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

/* Wide process diagrams keep a minimum legible width and scroll if needed */
.diagram--wide {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.diagram--wide svg { min-width: 720px; }
@media (max-width: 780px) {
  .diagram--wide { padding-bottom: 8px; }
  .diagram--wide figcaption { min-width: 720px; }
}

/* Cycle ring on the services page */
.diagram--ring { margin-bottom: 0; }
.cycle-ring {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 24px 24px 20px;
}
.cycle-ring svg { max-width: 260px; margin: 0 auto 18px; }
.ring-legend { border-top: 1px solid var(--line-soft); padding-top: 14px; }
.ring-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.87rem;
  color: var(--body);
}
.ring-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ring-legend-name { flex: 1; }
.ring-legend-count { color: var(--ink); font-weight: 600; }

/* Cycle position strip inside the service page chip */
.cycle-strip {
  width: 100%;
  height: auto;
  margin: 14px 0 12px;
}

/* ==========================================================================
   PRINT (#37)
   Drops interactive chrome and decoration, keeps the content readable on
   paper, and exposes link targets that are otherwise only hoverable.
   ========================================================================== */
@media print {
  .site-header,
  .mobile-nav,
  .skip-link,
  .menu-toggle,
  .marquee-section,
  .cta-band,
  .site-footer,
  .form-status,
  .hp-field { display: none !important; }

  html, body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
  }

  /* Dark and tinted bands waste toner and hurt legibility on paper. */
  .hero, .section--ink, .section--panel, .section--sky,
  .section--teal-wash, .section--flame-wash, .page-hero {
    background: #fff !important;
    color: #000 !important;
  }
  .hero::before, .hero::after, .cta-band::before { display: none !important; }
  .hero h1, .section--ink h2, .hero .lede { color: #000 !important; }

  section.section, .hero { padding: 12pt 0 !important; }
  .wrap, .wrap-wide { max-width: none; padding: 0; }

  /* Keep card structure but remove shadows and hover-dependent affordances. */
  .card, .form-card, .cycle-chip, .highlight-card, .snapshot, .prevnext a {
    box-shadow: none !important;
    border: 1pt solid #999 !important;
    break-inside: avoid;
  }

  a { color: #000 !important; text-decoration: underline; }
  /* Reveal the destination of content links, which paper cannot hover. */
  .prose a[href^="http"]::after,
  .prose a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 9pt; }

  h1, h2, h3, h4 { break-after: avoid; color: #000 !important; }
  p, li { orphans: 3; widows: 3; }

  /* All reveal animations must be settled when printing. */
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }

  /* FAQ answers are inside <details>; force them open so the content prints. */
  .faq-item .faq-answer { display: block !important; }

  .diagram svg, .cycle-ring svg { max-width: 100%; break-inside: avoid; }
}
