/* ============================================================
   MASEST / VertKleen Design System v2 (taste-skill applied)
   Theme lock: LIGHT, one dark color-block at page end.
   Accent lock: single desaturated teal (#0e7c86). Brand
   purple>teal gradient appears ONLY in the logo mark.
   Shape rule: buttons = pill, cards/panels = 16px, inputs = 10px.
   Type: Satoshi (Fontshare, font-display swap).
   Icons: Phosphor (web), strokeWeight regular, one family.
   ============================================================ */

@import url("../vendor/satoshi/satoshi.css");

:root {
  --ink: #15171c;
  --ink-soft: #393d44;
  --muted: #5f656d;          /* darkened from #6b7077 for AA body contrast */
  --line: #e4e6e9;
  --line-soft: #eef0f2;
  --bg: #fafbfc;
  --surface: #ffffff;
  --panel: #f1f3f4;
  --accent: #0e7c86;
  --accent-ink: #0a5b62;
  --accent-soft: #e3f0f1;
  --accent-tint: #f1f8f8;
  --brand-grad: linear-gradient(118deg, #6d28c9, #149aa6);

  /* Elevation: soft, layered, low-opacity — the Apple-grade material */
  --shadow-xs: 0 1px 2px rgba(20,24,32,.04), 0 1px 1px rgba(20,24,32,.03);
  --shadow-sm: 0 2px 6px rgba(20,24,32,.05), 0 1px 2px rgba(20,24,32,.04);
  --shadow-md: 0 10px 30px -8px rgba(20,24,32,.10), 0 4px 10px -4px rgba(20,24,32,.06);
  --shadow-lg: 0 28px 64px -16px rgba(20,24,32,.16), 0 10px 24px -12px rgba(20,24,32,.10);

  /* Radii */
  --r-card: 16px;
  --r-lg: 22px;
  --r-input: 10px;
  --r-pill: 999px;

  /* Fluid spacing scale */
  --space-section: clamp(72px, 9vw, 116px);
  --maxw: 1180px;

  /* Easing — exponential ease-out, no bounce */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-out-soft: cubic-bezier(.22, .61, .36, 1);

  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
i.ph, i.ph-fill { line-height: 1; }
::selection { background: var(--accent); color: #fff; }

/* Consistent, visible keyboard focus across the system */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font); letter-spacing: -0.022em; line-height: 1.06; font-weight: 700; text-wrap: balance; }
.display {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 900;
  letter-spacing: -0.035em; line-height: 1.02;
}
.headline { font-size: clamp(1.75rem, 3.4vw, 2.55rem); font-weight: 700; letter-spacing: -0.028em; }
.subhead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); font-weight: 400;
  line-height: 1.55; max-width: 62ch; text-wrap: pretty;
}
/* Tabular, lined-up figures for all data numerics */
.display, .stat .big, .big-fig, .hmis-row .val, .zero-lockup, .cmp-table td { font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 16px;
}
/* ---------- Nav (height 64px, one line) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,251,252,.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(20,24,32,.02), 0 8px 24px -18px rgba(20,24,32,.3);
}
/* Dark glass variant while the nav overlaps the dark story opener */
.nav.over-dark {
  background: rgba(11,13,18,.92);
}
.nav.over-dark.scrolled {
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.nav.over-dark .nav-logo { color: #f4f6f8; }
.nav.over-dark .nav-links { color: #f4f6f8; }
.nav.over-dark .nav-links a:hover, .nav.over-dark .nav-links a.active { color: #fff; }
.nav.over-dark .nav-cta { background: #fff; color: var(--ink); }
.nav.over-dark .nav-cta:hover { background: #e8eaed; }
.nav.over-dark .nav-burger span { background: #f4f6f8; }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; font-family: var(--font); font-weight: 900; font-size: 1.05rem; letter-spacing: .04em; }
/* Both logo PNGs share an identical square canvas, so a single height fills
   the header top-to-bottom and renders the same size on either background. */
.nav-logo .logo-image { height: 52px; width: auto; display: block; }
/* Logo swaps by nav background for contrast: dark-ink mark on the default
   (light) nav, gradient mark when the nav rides over a dark hero. */
.nav-logo .logo-ink  { display: block; }
.nav-logo .logo-grad { display: none; }
.nav.over-dark .nav-logo .logo-ink  { display: none; }
.nav.over-dark .nav-logo .logo-grad { display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.28)); }
.nav-logo .logo-mark {
 position: relative; width: 31px; height: 31px; border-radius: 9px; background: var(--ink);
  display: grid; place-items: center; font-size: .85rem; font-weight: 900;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.nav-logo .logo-mark span {
 position: relative; z-index: 1;
 color: #fff;
}
.nav-links { display: flex; gap: 30px; font-size: .92rem; color: var(--ink-soft); }
.nav-links a { position: relative; transition: color .2s; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--accent); border-radius: 2px; transition: right .35s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { font-weight: 700; }
.nav-cta {
  background: var(--ink); color: #fff; padding: 10px 20px; border-radius: var(--r-pill);
  font-size: .88rem; font-weight: 700; box-shadow: var(--shadow-sm);
  transition: background .2s, box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav-cta:hover { background: var(--ink-soft); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 34px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* ---------- Buttons (pill, one accent) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px;
  border-radius: var(--r-pill); font-size: .97rem; font-weight: 700; cursor: pointer;
  border: 0; white-space: nowrap; font-family: var(--font); letter-spacing: -.01em;
  transition: transform .35s var(--ease-out), background .25s var(--ease-out),
              border-color .25s var(--ease-out), box-shadow .35s var(--ease-out), color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(10,91,98,.25), 0 8px 20px -8px rgba(14,124,134,.55); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 2px 4px rgba(10,91,98,.28), 0 14px 28px -10px rgba(14,124,134,.62); transform: translateY(-1px); }
.btn:disabled { cursor: progress; opacity: .68; transform: none; box-shadow: none; }
.btn-ink {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-ink:hover {
  background: var(--accent-soft);
  border-color: rgba(14, 124, 134, .34);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .87rem; }

/* On-dark variants */
.on-dark .btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.3); box-shadow: none; }
.on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transform: none; }
}

/* ---------- Sections ---------- */
section { padding: var(--space-section) 0; }
.section-slim { padding-top: 0; padding-bottom: clamp(44px, 6vw, 70px); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .subhead { margin-top: 14px; }

/* Single dark color-block (used once, at page end) */
.block-dark {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  background-image:
    radial-gradient(90% 130% at 12% 0%, rgba(14,124,134,.32) 0%, transparent 55%),
    radial-gradient(70% 120% at 100% 100%, rgba(109,40,201,.18) 0%, transparent 55%);
}
.block-dark .subhead { color: rgba(255,255,255,.72); }
.block-dark .wrap { position: relative; z-index: 1; }

/* ---------- Split hero (light) ---------- */
.hero-split {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(120% 90% at 88% 0%, var(--accent-tint) 0%, transparent 55%),
    var(--bg);
}
/* Faint precision dot-grid: the only decorative texture, scoped to the hero */
.hero-split::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20,24,32,.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(105% 80% at 80% 8%, #000 0%, transparent 62%);
  mask-image: radial-gradient(105% 80% at 80% 8%, #000 0%, transparent 62%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero-copy .subhead { margin: 22px 0 34px; max-width: 30ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Signature Triple-Zero lockup: the brand argument as the hero's hero. */
.zero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-lg);
}
.zero-card .panel-title {
  display: flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
.zero-card .panel-title::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.zero-lockup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.zero-unit {
  position: relative; text-align: center;
  padding: 20px 8px 18px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--accent-tint), var(--surface));
  border: 1px solid var(--line-soft);
}
.zero-unit .digit {
  font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 900; line-height: 1;
  letter-spacing: -.05em; color: var(--ink);
}
.zero-unit .cap {
  display: block; margin-top: 12px;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted);
}
.zero-card .panel-foot {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--muted); line-height: 1.6;
}
.zero-card .panel-foot b { color: var(--ink-soft); font-weight: 700; }

/* Legacy .hmis-panel kept for interior product pages (refined) */
.hmis-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--shadow-lg);
}
.hmis-panel .panel-title { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.hmis-rows { display: grid; gap: 14px; }
.hmis-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hmis-row .lbl { font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.hmis-row .val {
  width: 46px; height: 46px; border-radius: var(--r-input); display: grid; place-items: center;
  font-size: 1.35rem; font-weight: 900; background: var(--accent-soft); color: var(--accent-ink);
}
.hmis-panel .panel-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- Trust strip (hairlines, no dots) ---------- */
.trust-strip { background: var(--surface); }
.trust-cols {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-cols > div {
  padding: 22px 18px; text-align: center; font-size: .9rem; font-weight: 700; color: var(--ink-soft);
}
.trust-cols > div + div { border-left: 1px solid var(--line); }
.trust-cols span { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); margin-top: 2px; }

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-cell {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 32px 30px; box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease-out);
}
.bento-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-cell.lg { grid-column: span 2; grid-row: span 1; }
.bento-cell.tint { background: var(--accent-soft); border-color: transparent; }
.bento-cell.ink {
  background: var(--ink); color: #fff; border-color: transparent;
  background-image: radial-gradient(130% 120% at 100% 0%, rgba(14,124,134,.4) 0%, transparent 50%);
  box-shadow: var(--shadow-md);
}
.bento-cell.ink:hover { box-shadow: var(--shadow-lg); }
.bento-cell.ink p { color: rgba(255,255,255,.72); }
.bento-cell i { font-size: 1.7rem; color: var(--accent); display: block; margin-bottom: 16px; }
.bento-cell.ink i { color: #7adfe7; }
.bento-cell h3 { font-size: 1.18rem; margin-bottom: 8px; }
.bento-cell p { color: var(--muted); font-size: .94rem; }
.bento-cell .big-fig { font-size: 2.7rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; color: var(--accent-ink); }

/* ---------- Category split ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cat-card {
  border-radius: var(--r-lg); padding: 48px 40px; position: relative; overflow: hidden;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: transform .45s var(--ease-out), border-color .3s var(--ease-out), box-shadow .45s var(--ease-out);
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(80% 70% at 85% 0%, var(--accent-tint), transparent 60%);
  transition: opacity .45s var(--ease-out);
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card:hover::after { opacity: 1; }
.cat-card > * { position: relative; z-index: 1; }
.cat-card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.cat-card p { color: var(--muted); margin-bottom: 20px; max-width: 420px; }
.cat-card .link { font-weight: 700; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 7px; }
.cat-card .link::after { content: "\2192"; transition: transform .35s var(--ease-out); }
.cat-card:hover .link::after { transform: translateX(4px); }
.cat-card i.cat-ico { font-size: 2.2rem; color: var(--accent); position: absolute; top: 40px; left: 40px; z-index: 1; }

/* ---------- Products: featured asymmetric ---------- */
.feat-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.feat-side { display: grid; gap: 22px; }

.prod-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 32px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-xs);
  transition: transform .45s var(--ease-out), border-color .3s var(--ease-out), box-shadow .45s var(--ease-out);
}
.prod-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prod-card .prod-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.prod-card .prod-top i { font-size: 2rem; color: var(--accent); }
.hmis-badge {
  font-size: .7rem; font-weight: 900; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
}
.hmis-badge.note { background: var(--panel); color: #3f444b; }
.prod-card .replaces { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.prod-card h3 { font-size: 1.3rem; }
.prod-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.prod-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

.buyer-router {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.buyer-router .subhead { margin-bottom: 0; }
.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.route-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), background .25s var(--ease-out);
}
.route-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.route-card i {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 1.15rem;
}
.route-card span {
  font-weight: 800;
  line-height: 1.2;
}
.route-card b {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}
.route-card-strong {
  grid-column: 1 / -1;
  background: var(--accent-soft);
  border-color: rgba(14, 124, 134, .32);
  color: var(--ink);
}
.route-card-strong i {
  background: var(--surface);
  color: var(--accent-ink);
}
.route-card-strong b { color: var(--muted); }
.route-card-strong:hover {
  background: var(--surface);
  border-color: rgba(14, 124, 134, .34);
}

.buyer-router .route-card {
  border-color: #dde3e6;
  background: linear-gradient(180deg, var(--surface) 0%, #f7f9fa 100%);
}
.buyer-router .route-card:hover {
  border-color: rgba(14, 124, 134, .42);
  background: var(--surface);
}
.buyer-router .route-card i {
  background: #eef5f5;
  box-shadow: inset 0 0 0 1px rgba(14, 124, 134, .12);
}
.buyer-router .route-card-strong {
  border-color: rgba(14, 124, 134, .24);
  background: linear-gradient(180deg, #f7fbfb 0%, #edf6f6 100%);
}
.buyer-router .route-card-strong:hover {
  background: var(--surface);
}

.conversion-proof {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--ink);
  color: #fff;
}
.conversion-proof-head {
  padding: 10px 12px;
}
.conversion-proof-head .eyebrow {
  color: #7dd6dc;
}
.conversion-proof-head .headline {
  color: #fff;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
}
.proof-chip {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 120px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transition: background .25s var(--ease-out), transform .25s var(--ease-out);
}
.proof-chip:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}
.proof-chip span {
  color: #7dd6dc;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.proof-chip b {
  font-size: .95rem;
  line-height: 1.35;
}
.conversion-proof > .btn {
  align-self: center;
  white-space: nowrap;
  background: #fff;
  color: var(--ink);
}

.proof-decision-strip {
  display: grid;
  grid-template-columns: minmax(230px, .85fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.proof-decision-strip .headline {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
}
.proof-decision {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), background .25s var(--ease-out);
}
.proof-decision:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.proof-decision span {
  color: var(--accent-ink);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.proof-decision b {
  font-size: .94rem;
  line-height: 1.35;
}
.proof-decision-strip > .btn {
  align-self: center;
  white-space: nowrap;
}

.resource-disclosure {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 0;
  margin-block: clamp(28px, 5vw, 58px);
}
.section-slim + .resource-disclosure { margin-top: clamp(36px, 6vw, 70px); }
.resource-disclosure + section { margin-top: clamp(34px, 5vw, 64px); }
.resource-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
}
.resource-disclosure summary::-webkit-details-marker { display: none; }
.resource-disclosure summary strong {
  display: block;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  letter-spacing: -.02em;
}
.resource-disclosure summary b {
  white-space: normal;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .9rem;
}
.resource-disclosure-body {
  padding: 0 28px 28px;
}
.resource-disclosure-body .section-head {
  margin-bottom: 22px;
}

@media (max-width: 820px) {
  .buyer-router {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .route-grid {
    grid-template-columns: 1fr;
  }
  .conversion-proof {
    grid-template-columns: 1fr;
  }
  .proof-decision-strip {
    grid-template-columns: 1fr;
  }
  .conversion-proof > .btn {
    justify-self: start;
  }
  .proof-decision-strip > .btn {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .buyer-router {
    padding: 18px;
  }
  .resource-disclosure summary {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
  .resource-disclosure-body {
    padding: 0 20px 20px;
  }
  .conversion-proof {
    padding: 14px;
  }
  .proof-decision-strip {
    padding: 14px;
  }
}
.prod-card.hero-card { padding: 44px; }
.prod-card.hero-card h3 { font-size: 1.9rem; }
.prod-card.hero-card .prod-top i { font-size: 3rem; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* A single product in a category spans the row as a hero-card variant */
.prod-grid .prod-card:only-child { grid-column: 1 / -1; }

/* ---------- Stat band (hairline, light) ---------- */
.stat-band { background: var(--surface); padding: 56px 0; }
.stat-band .stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .big { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.stat .lbl { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ---------- Industry scroller (scroll-snap) ---------- */
.snap-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-top: 6px; padding-bottom: 14px; margin: -6px -28px 0; padding-left: 28px; padding-right: 28px;
  scrollbar-width: thin;
}
.snap-row:focus-visible { outline: 3px solid rgba(14,124,134,.38); outline-offset: 6px; border-radius: 14px; }
.snap-card {
  scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 28px 26px; min-height: 180px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease-out);
}
.snap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.snap-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 14px; }
.snap-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.snap-card p { font-size: .87rem; color: var(--muted); flex: 1; }

/* ---------- Buyer path strips ---------- */
.decision-strip,
.quote-assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.decision-strip > div,
.quote-assurance > div {
  padding: 24px 26px;
  border-left: 1px solid var(--line);
}
.decision-strip > div:first-child,
.quote-assurance > div:first-child { border-left: 0; }
.decision-strip span,
.quote-assurance span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-ink);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.decision-strip b,
.quote-assurance b { display: block; margin-bottom: 8px; color: var(--ink); }
.decision-strip p,
.quote-assurance p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.product-flow {
  display: grid;
  grid-template-columns: 1.05fr .95fr .95fr;
  gap: clamp(14px, 2.2vw, 22px);
  margin-top: clamp(24px, 4vw, 42px);
}
.flow-item {
  min-height: 176px;
  padding: clamp(22px, 2.8vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background:
    linear-gradient(180deg, rgba(14,124,134,.07), rgba(14,124,134,0) 62%),
    var(--surface);
  box-shadow: var(--shadow-xs);
}
.flow-item:nth-child(2) { margin-top: clamp(18px, 3vw, 34px); }
.flow-item:nth-child(3) { margin-top: clamp(36px, 5vw, 68px); }
.flow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid rgba(14,124,134,.24);
  border-radius: 999px;
  color: var(--accent-ink);
  background: rgba(14,124,134,.08);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.flow-item b { display: block; margin-bottom: 8px; color: var(--ink); }
.flow-item p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* ---------- Process (vertical, no number circles) ---------- */
.process { display: grid; gap: 0; max-width: 760px; }
.process-item { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px 0; }
.process-item + .process-item { border-top: 1px solid var(--line); }
.process-item i { font-size: 1.9rem; color: var(--accent); margin-top: 2px; }
.process-item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.process-item p { color: var(--muted); font-size: .96rem; max-width: 56ch; }

/* ---------- Comparison table ---------- */
.cmp-table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); }
.cmp-table th, .cmp-table td { padding: 16px 18px; text-align: left; }
.cmp-table thead th {
  font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--ink);
}
.cmp-table tbody tr + tr td { border-top: 1px solid var(--line); }
.cmp-table .haz { color: #a63a2e; font-weight: 700; }
.cmp-table .safe { color: var(--accent-ink); font-weight: 700; }
.cmp-table a b { color: var(--accent-ink); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
.table-scroll .cmp-table { min-width: 760px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 46px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-input);
  border: 1.5px solid #c9ccd1; font-family: var(--font); font-size: .95rem;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #6f757c; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,124,134,.15);
}
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.field-err { display: block; margin-top: 6px; font-size: .8rem; font-weight: 700; color: #a63a2e; }
.field [aria-invalid="true"] { border-color: #a63a2e; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success i { font-size: 3rem; color: var(--accent); margin-bottom: 12px; }

/* ---------- Page hero (interior, light) ---------- */
.page-hero { padding: 76px 0 64px; }
.page-hero .subhead { margin-top: 16px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Row cards (industries page) ---------- */
.row-card {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 26px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 32px; box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease-out);
}
.row-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.row-card i { font-size: 1.9rem; color: var(--accent); }
.row-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.row-card p { color: var(--muted); font-size: .94rem; max-width: 64ch; }
.row-card.has-photo { grid-template-columns: 56px 1fr 168px auto; }
.row-thumb {
  display: block; width: 168px; height: 104px; overflow: hidden;
  border-radius: var(--r-input); border: 1px solid var(--line);
  transition: border-color .3s var(--ease-out);
}
.row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-card:hover .row-thumb { border-color: var(--accent); }

.row-card.has-photo {
  grid-template-columns: 56px minmax(0, 1fr) 168px auto;
}

/* ---------- Detail page ---------- */
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec-item {
  display: flex; gap: 14px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-input); padding: 18px 20px;
}
.spec-item i { font-size: 1.35rem; color: var(--accent); margin-top: 2px; }
.spec-item b { display: block; font-size: .95rem; }
.spec-item span { font-size: .86rem; color: var(--muted); }

.doc-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-input);
  padding: 16px 20px; margin-bottom: 12px;
}
.doc-row b { font-size: .95rem; }
.doc-row span { font-size: .8rem; color: var(--muted); display: block; }

/* ---------- Photography ---------- */
figure.photo {
  margin: 0; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
}
figure.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
figure.photo figcaption {
  padding: 14px 18px; font-size: .85rem; color: var(--muted); background: var(--surface);
  border-top: 1px solid var(--line);
}
.photo-tall img { aspect-ratio: 3 / 4; }
.photo-wide img { aspect-ratio: 16 / 7; }
.photo-std img { aspect-ratio: 4 / 3; }

/* Field-proof split section */
.field-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }

@media (max-width: 680px) {
  #quoteForm .field-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
  }
}

/* Product card photo header */
.prod-photo {
  margin: -32px -32px 18px; border-bottom: 1px solid var(--line);
  border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden;
}
.prod-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.prod-card.hero-card .prod-photo { margin: -44px -44px 22px; }

/* Product detail hero photo inside panel */
.hmis-panel .panel-photo { margin: -34px -34px 24px; border-bottom: 1px solid var(--line); overflow: hidden; border-radius: var(--r-card) var(--r-card) 0 0; }
.hmis-panel .panel-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Screen-reader-only text */
.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;
}

/* No-JS fallback nav (chrome is normally JS-injected) */
.nojs-nav {
  display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center;
  padding: 16px 28px; border-bottom: 1px solid var(--line); background: var(--surface);
  font-size: .92rem; font-weight: 700;
}
.nojs-logo img { width: 50px; height: auto; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.22)); }
.nojs-nav a:hover { color: var(--accent-ink); }

/* ---------- Contact cards ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px;
  box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease-out);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.contact-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 14px; display: block; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: .92rem; line-height: 1.7; }
.contact-card a { color: var(--accent-ink); font-weight: 700; }

/* ---------- Footer (part of the single dark end-block) ---------- */
footer { background: var(--ink); color: rgba(255,255,255,.74); padding: 72px 0 38px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 48px; }
.foot-title { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.foot-grid a { display: block; padding: 4px 0; color: #f4f6f8; transition: color .2s; }
.foot-grid a:hover { color: #fff; }
.foot-kicker { margin-top: 22px; color: rgba(255, 255, 255, .58); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.foot-quote { display: inline-flex !important; margin-top: 10px; padding: 10px 18px !important; color: var(--ink) !important; }
.foot-secondary { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 16px; }

@media (max-width: 700px) {
  .industry-router .route-grid,
  .resource-router .route-grid,
  .why-router .route-grid,
  .about-router .route-grid { grid-template-columns: 1fr; }
  .industry-router .route-card { min-height: 92px; }
  .resource-router .route-card { min-height: 92px; }
  .why-router .route-card { min-height: 92px; }
  .about-router .route-card { min-height: 92px; }
  .resource-router .route-card {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
  .why-router .route-card {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
  .about-router .route-card {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
  .resource-router .route-card span {
    grid-row: 1 / span 2;
  }
  .why-router .route-card span {
    grid-row: 1 / span 2;
  }
  .about-router .route-card span {
    grid-row: 1 / span 2;
  }
  .resource-router .route-card strong,
  .resource-router .route-card b,
  .why-router .route-card strong,
  .why-router .route-card b,
  .about-router .route-card strong,
  .about-router .route-card b {
    grid-column: 2;
  }
  .resources-reference-disclosure summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .resources-reference-disclosure summary b {
    white-space: normal;
    line-height: 1.45;
  }
  .why-comparison-disclosure summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .why-comparison-disclosure summary b {
    white-space: normal;
    line-height: 1.45;
  }
  .about-services-disclosure summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .about-services-disclosure summary b {
    white-space: normal;
    line-height: 1.45;
  }
}
.foot-logo-link { display: inline-block; margin-bottom: 16px; }
.foot-logo { width: 84px; height: auto; display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.foot-brand { font-weight: 900; color: #fff; font-size: 1.15rem; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.75); }

/* ---------- Narrative: lead statement ---------- */
.lead-statement { max-width: 980px; }
.lead-statement .big-line {
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.025em;
  line-height: 1.22; text-wrap: balance; color: var(--ink);
}
.lead-statement .big-line .em { color: var(--accent-ink); }
.lead-statement .attrib { margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* ---------- Soft section (the problem) ---------- */
.section-soft { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Pain points: colored top-rule, no card chrome (distinct from bento) */
.pain-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 8px; }
.pain-item { padding-top: 20px; border-top: 2px solid #e4b6ad; }
.pain-item i { font-size: 1.6rem; color: #a63a2e; display: block; margin-bottom: 14px; }
.pain-item h3 { font-size: 1.06rem; margin-bottom: 6px; }
.pain-item p { color: var(--muted); font-size: .92rem; }

/* Why it wins: three pillars, tile icon + text (borderless) */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.why-col .ico {
  width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 20px;
}
.why-col h3 { font-size: 1.18rem; margin-bottom: 8px; }
.why-col p { color: var(--muted); font-size: .95rem; }
.why-col .tag { display: block; margin-top: 14px; font-size: .82rem; font-weight: 700; color: var(--accent-ink); }

/* The difference: "zero, in plain terms" list */
.diff-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.diff-list { display: grid; gap: 0; }
.diff-item {
  display: flex; align-items: center; gap: 18px; padding: 18px 0;
  font-size: clamp(1.1rem, 1.9vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; color: var(--ink);
}
.diff-item + .diff-item { border-top: 1px solid var(--line); }
.diff-item .chk {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 1rem;
}
.diff-aside {
  background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 40px 36px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  background-image: radial-gradient(120% 120% at 100% 0%, rgba(14,124,134,.42) 0%, transparent 55%);
}
.diff-aside .big-zero { font-size: clamp(4rem, 8vw, 6rem); font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.diff-aside h3 { font-size: 1.25rem; margin: 14px 0 10px; }
.diff-aside p { color: rgba(255,255,255,.74); font-size: .96rem; line-height: 1.6; }

/* Comparison helper note under the homepage table */
.cmp-note { margin-top: 16px; font-size: .86rem; color: var(--muted); max-width: 70ch; line-height: 1.6; }
.cmp-table .job { font-weight: 700; color: var(--ink); }
.cmp-table .hmis-tag { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; word-break: keep-all; overflow-wrap: normal; hyphens: none; }

/* ---------- Reveal (motion 4: fluid CSS, reduced-motion safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  body.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  body.reveal-ready .reveal.in { opacity: 1; transform: none; }
  /* Staggered children: set --i on the container; children fade up in sequence */
  .stagger.in > * { animation: rise .7s var(--ease-out) both; }
  .stagger.in > *:nth-child(1) { animation-delay: .02s; }
  .stagger.in > *:nth-child(2) { animation-delay: .09s; }
  .stagger.in > *:nth-child(3) { animation-delay: .16s; }
  .stagger.in > *:nth-child(4) { animation-delay: .23s; }
  .stagger.in > *:nth-child(5) { animation-delay: .30s; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  /* Hero entrance — animates UP TO the visible default, so no-JS / hidden-tab renders stay visible */
  .hero-anim { animation: heroRise .9s var(--ease-out) both; }
  .hero-anim.d1 { animation-delay: .06s; }
  .hero-anim.d2 { animation-delay: .14s; }
  .hero-anim.d3 { animation-delay: .22s; }
  .hero-anim.d4 { animation-delay: .30s; }
  @keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .zero-unit { animation: zeroPop .8s var(--ease-out) both; }
  .zero-unit:nth-child(1) { animation-delay: .34s; }
  .zero-unit:nth-child(2) { animation-delay: .42s; }
  .zero-unit:nth-child(3) { animation-delay: .50s; }
  @keyframes zeroPop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-cell.lg { grid-column: span 2; }
  .feat-grid, .prod-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .stat-band .stats { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .trust-cols { grid-template-columns: 1fr 1fr; }
  .trust-cols > div:nth-child(3) { border-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pain-row { grid-template-columns: 1fr 1fr; }
  .product-flow { grid-template-columns: 1fr 1fr; }
  .flow-item:nth-child(2),
  .flow-item:nth-child(3) { margin-top: 0; }
  .flow-item:nth-child(3) { grid-column: 1 / -1; min-height: 150px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .diff-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  section { padding: 60px 0; }
  .grid-2, .bento, .feat-grid, .prod-grid, .form-grid, .spec-list, .contact-cards { grid-template-columns: 1fr; }
  .product-flow { grid-template-columns: 1fr; }
  .flow-item,
  .flow-item:nth-child(3) { min-height: 0; grid-column: auto; }
  .pain-row { grid-template-columns: 1fr; }
  .bento-cell.lg { grid-column: span 1; }
  .nav-links {
    display: none; position: fixed; top: 66px; left: 0; right: 0;
    background: #fff;
    flex-direction: column; gap: 0;
    padding: 12px 28px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    z-index: 85;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 1.05rem; }
  /* dropdown panel is white even in the over-dark nav state */
  .nav.over-dark .nav-links { color: var(--ink-soft); }
  .nav.over-dark .nav-links a:hover, .nav.over-dark .nav-links a.active { color: var(--ink); }
  .nav-burger { display: block; }
  .hero-split { padding: 48px 0 60px; }
  .row-card, .row-card.has-photo { grid-template-columns: 1fr; gap: 14px; }
  .row-thumb { width: 100%; height: 180px; order: -1; }
  .form-card { padding: 28px 22px; }
  .stat + .stat { border-left: 0; }
  .stat { padding: 0; }
  .trust-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .nav-inner { padding: 0 14px; gap: 8px; }
  .nav-logo { gap: 8px; font-size: .92rem; }
  .nav-cta { padding: 9px 13px; font-size: .78rem; white-space: nowrap; }
  .nav-burger { width: 30px; height: 30px; }
}

/* ---------- Refinement overrides ---------- */
.quote-section { padding-bottom: clamp(58px, 7vw, 88px); }
.quote-assurance { margin-top: 22px; }

@media (max-width: 940px) {
  .decision-strip,
  .quote-assurance { grid-template-columns: 1fr; }
  .decision-strip > div,
  .quote-assurance > div { border-left: 0; border-top: 1px solid var(--line); }
  .decision-strip > div:first-child,
.quote-assurance > div:first-child { border-top: 0; }
}

@media (max-width: 680px) {
  .nav.over-dark .nav-logo { color: var(--ink); }
  .nav.over-dark .nav-cta { background: var(--ink); color: #fff; }
  .nav.over-dark .nav-burger span { background: var(--ink); }
}

/* Site image polish. Source photos remain documentary; this layer improves
   rendered clarity and makes mixed proof assets feel like one evidence set. */
.photo img,
.proof-card figure img {
  filter: saturate(1.03) contrast(1.07) brightness(1.02);
}

.photo.photo-wide {
  background: #f0f2f3;
  border-color: #d6dade;
  box-shadow: 0 24px 70px -54px rgba(21, 23, 28, .52);
}

.proof-card figure {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(245, 247, 248, .94));
  border-color: #d9dde1;
}

.proof-card figure img {
  transform: scale(1.01);
}

@media (max-width: 680px) {
  .nav.over-dark .nav-logo,
  .nav.over-dark .nav-links a {
    color: #fff;
  }

  .nav.over-dark .nav-burger span {
    background: #fff;
  }
}

.proof-section { padding-top: clamp(40px, 5vw, 72px); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proof-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
}
.proof-card figure {
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #f1f3f4;
}
.proof-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.proof-card div { padding: 22px; }
.proof-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-ink);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.proof-card h3 { margin-bottom: 8px; font-size: 1.16rem; }
.proof-card p { color: var(--muted); font-size: .94rem; line-height: 1.58; }

@media (max-width: 940px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { grid-template-columns: minmax(160px, .85fr) 1fr; grid-template-rows: auto; }
  .proof-card figure { border-bottom: 0; border-right: 1px solid var(--line); }
  .proof-card img { height: 100%; min-height: 190px; }
}

@media (max-width: 560px) {
  .proof-card { grid-template-columns: 1fr; }
  .proof-card figure { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-card img { min-height: 0; }
}
/* QA hardening: target size and mobile table layout overrides. */
.nav-logo,
.nav-links a,
.nav-cta,
.btn,
.btn-sm,
.breadcrumb a,
.cmp-table a {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
}
/* Footer column links stay stacked (block-level flex) while keeping the 44px touch target. */
.foot-grid a {
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
}
.nav-burger {
  width: 44px !important;
  height: 44px !important;
}
@media (max-width: 680px) {
  .table-scroll {
    overflow-x: visible !important;
  }
  .table-scroll .cmp-table,
  .cmp-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
  }
  .cmp-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }
  .cmp-table tbody {
    display: grid !important;
    gap: 12px !important;
  }
  .cmp-table tr {
    display: grid !important;
    gap: 10px !important;
    padding: 18px !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-card) !important;
    background: var(--surface) !important;
  }
  .cmp-table th,
  .cmp-table td {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .cmp-table td::before {
    color: var(--muted);
    content: "";
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
    margin-bottom: 4px;
    text-transform: uppercase;
  }
  .cmp-table td:nth-child(1)::before { content: "Function"; }
  .cmp-table td:nth-child(2)::before { content: "Legacy"; }
  .cmp-table td:nth-child(3)::before { content: "Legacy HMIS"; }
  .cmp-table td:nth-child(4)::before { content: "VertKleen"; }
.cmp-table td:nth-child(5)::before { content: "VertKleen HMIS"; }
  .cmp-table.responsive-labels td::before { content: attr(data-label); }
}

.home-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-strip .trust-cols {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.trust-strip {
  padding: clamp(28px, 4vw, 52px) 0;
}

.trust-cols > div {
  padding-block: 10px;
}

.home-industry-grid .cat-card {
  min-height: 250px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 22px;
}

.contact-card i {
  color: var(--accent);
  font-size: 1.35rem;
}

.contact-card h3 {
  margin: 12px 0 6px;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-card a {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-top: 6px;
}

@media (max-width: 920px) {
  .home-industry-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hero-ctas .btn {
    justify-content: center;
    width: 100%;
  }

  .trust-strip .trust-cols {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .zero-lockup {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zero-unit .digit {
    font-size: clamp(2rem, 14vw, 3rem);
  }

  .zero-unit {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
  }
}

/* ============================================================
   Phase 2 — visual proof: product shots, before/after slider,
   proof page, credential strip, scroll-snap gallery
   ============================================================ */

/* Product photo inside the detail HMIS panel */
.product-shot {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--r-input);
  border: 1px solid var(--line);
  margin-bottom: 18px;
  background: #fff;
  padding: 10px;
}

/* ---- Before / after slider ---- */
.ba {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--panel);
  --pos: 50%;
  touch-action: none;
}
.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
}
.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}
.ba-range:focus-visible + .ba-handle {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
  z-index: 2;
  pointer-events: none;
}
.ba-handle::after {
  content: "\2194";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.ba-tag {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }

.ba-figure { display: grid; gap: 12px; }
.ba-figure figcaption { color: var(--muted); font-size: .9rem; }

/* ---- Proof: case grid ---- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
}
.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--panel);
}
.case-card .case-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.case-card .case-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.case-card h3 { font-size: 1.12rem; line-height: 1.3; }
.case-card .case-result { color: var(--muted); font-size: .95rem; }
.case-card .case-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 6px;
}
.case-chip {
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.case-source { font-size: .75rem; color: var(--muted); }

.proof-library {
}
.proof-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 22px;
}
.proof-filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  padding: 0 16px;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}
.proof-filter.active,
.proof-filter:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.proof-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.proof-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
}
.proof-card[hidden] {
  display: none;
}
.proof-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef1f3;
}
.proof-card div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}
.proof-card span {
  color: var(--accent-ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.proof-card h3 {
  font-size: 1.1rem;
  line-height: 1.25;
}
.proof-card p {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.45;
}
.proof-card b {
  margin-top: auto;
  color: var(--ink);
  font-size: .85rem;
}

/* ---- Credential strip (cert marks as chips) ---- */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cred-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
}
.cred-chip i { color: var(--accent); font-size: 1.05rem; }
.cred-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 16px; }

.claim-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.claim-status {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 18px;
  text-align: left;
}
.claim-status strong {
  display: block;
  margin: 12px 0 6px;
  color: var(--ink);
}
.claim-status p {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-pill.confirmed {
  background: #e4f5f1;
  color: #075e56;
}
.status-pill.request {
  background: #edf1f7;
  color: #354157;
}
.status-pill.pending {
  background: #fff1df;
  color: #8a4a00;
}

/* ---- Proof thumbnails band (home) ---- */
.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.proof-thumb {
  position: relative;
  display: block;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--panel);
}
.proof-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.proof-thumb:hover img { transform: scale(1.04); }
.proof-thumb span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

/* ---- Industry proof gallery (scroll-snap row) ---- */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
}

@media (max-width: 820px) {
  .case-grid { grid-template-columns: 1fr; }
  .proof-band { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .gallery-row { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .proof-thumb img { transition: none; }
}

/* ---- Service program tiers (programs.html) ---- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.tier-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 24px;
}
.tier-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(14, 124, 134, .10);
}
.tier-badge {
  align-self: flex-start;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tier-name { font-weight: 800; font-size: 1.18rem; }
.tier-sub { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.tier-price { font-size: 1.6rem; font-weight: 900; margin: 14px 0 0; letter-spacing: -0.02em; }
.tier-price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.tier-annual { color: var(--muted); font-size: .85rem; margin: 2px 0 14px; }
.tier-list { list-style: none; display: grid; gap: 9px; margin: 4px 0 16px; padding: 14px 0 0; border-top: 1px solid var(--line); flex: 1; }
.tier-list li { display: flex; gap: 9px; font-size: .9rem; color: var(--ink-soft); line-height: 1.4; }
.tier-list li i { color: var(--accent); margin-top: 3px; flex: none; }
.tier-foot { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.tier-foot b { color: var(--ink-soft); font-weight: 600; }
@media (max-width: 1100px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tier-grid { grid-template-columns: 1fr; } }

@media (max-width: 820px) {
  .claim-matrix,
  .proof-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .claim-matrix,
  .proof-card-grid {
    grid-template-columns: 1fr;
  }
  .proof-filterbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .proof-filter {
    width: 100%;
  }
  .cmp-table td::before,
  .cmp-table.responsive-labels td::before {
    display: block;
    margin: 0 0 6px;
    line-height: 1.2;
  }
}

/* ── Industry landing pages ─────────────────────────────────────── */
.hero-split .eyebrow a { color: var(--accent); text-decoration: none; }
.hero-split .eyebrow a:hover { text-decoration: underline; }

.ind-intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.ind-intro-copy .ind-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: var(--r-input);
  background: var(--accent-tint); color: var(--accent);
  font-size: 1.7rem; margin-bottom: 16px;
}
.ind-intro-copy h2 { margin-bottom: 12px; }
.ind-intro-copy p { color: var(--muted); max-width: 60ch; margin-bottom: 22px; }
.ind-intro-photo { margin: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-md); }
.ind-intro-photo img { display: block; width: 100%; height: 100%; max-height: 380px; object-fit: cover; }
.ind-intro-photo figcaption {
  padding: 12px 16px; font-size: .86rem; color: var(--muted);
  background: var(--surface); border-top: 1px solid var(--line);
}
@media (max-width: 760px) {
  .ind-intro { grid-template-columns: 1fr; }
  .ind-intro-photo { order: -1; }
}

/* ── Industry field gallery ─────────────────────────────────────── */
.ind-gallery-sec .section-head { margin-bottom: 26px; }
.ind-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ind-shot {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.ind-shot img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.ind-shot:hover img { transform: scale(1.04); }
.ind-shot figcaption {
  padding: 11px 15px; font-size: .85rem; color: var(--muted);
}
@media (max-width: 760px) {
  .ind-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 460px) {
  .ind-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ind-shot img { transition: none; }
  .ind-shot:hover img { transform: none; }
}

/* ── 4-way CTA tiles (industry pages, dark block) ───────────────── */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; margin-top: 26px;
}
.cta-tile {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 20px; border-radius: var(--r-card);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  color: #fff; text-decoration: none;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.cta-tile i { font-size: 1.7rem; color: #fff; margin-bottom: 6px; }
.cta-tile-t { font-weight: 700; font-size: 1.06rem; }
.cta-tile-s { font-size: .86rem; color: rgba(255,255,255,.66); }
.cta-tile:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }

/* ── Request page: 4-path intent chooser + adaptive groups ──────── */
.cta-chooser {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; margin-bottom: 26px;
}
.cta-choice {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--r-input);
  background: var(--surface); border: 1.5px solid var(--line);
  color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.cta-choice i { font-size: 1.3rem; color: var(--muted); transition: color .25s var(--ease-out); }
.cta-choice:hover { border-color: var(--accent); }
.cta-choice.active { border-color: var(--accent); background: var(--accent-tint); box-shadow: var(--shadow-xs); }
.cta-choice.active i { color: var(--accent); }
[data-intent-group][hidden] { display: none; }
.sample-picker {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 18px; margin-top: 8px;
}
.sample-picker label {
  display: flex; align-items: center; gap: 8px; font-size: .92rem;
  color: var(--ink); font-weight: 500; cursor: pointer;
}
.sample-picker input { width: auto; accent-color: var(--accent); }
.sample-hint { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.sample-hint.err { color: #b3261e; font-weight: 600; }

/* ── Document/report previews: clipped thumbnail (uniform card rows); badge + click open the PDF ── */
.doc-link { display: block; position: relative; background: #f1f3f4; line-height: 0; cursor: pointer; overflow: hidden; height: 100%; }
.doc-link img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
.doc-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 7px; border-radius: 6px;
  background: rgba(11, 18, 32, .86); color: #fff;
  font: 700 .66rem/1 var(--sans, system-ui); letter-spacing: .05em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.doc-badge svg { display: block; }
.doc-link:hover .doc-badge, .doc-link:focus-visible .doc-badge { background: var(--accent); }
.doc-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Click-to-enlarge cursor for content photos (lightbox), excluding docs + sliders ── */
.proof-card img, .case-card img, .ind-gallery img, figure.photo img { cursor: zoom-in; }
[data-ba] img, .prod-photo img, .hmis-panel img { cursor: default; }
.doc-link, .doc-link img, .doc-badge { cursor: pointer; }

/* ── Lightbox ── */
#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; color: #e9edf5; }
#lightbox::backdrop { background: rgba(8, 11, 18, .9); }
#lightbox .lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
#lightbox .lb-img { max-width: 96vw; max-height: 88vh; display: block; border-radius: 8px; box-shadow: 0 12px 48px rgba(0, 0, 0, .55); }
#lightbox .lb-cap { margin-top: 12px; max-width: 70ch; padding: 0 16px; text-align: center; font-size: .88rem; color: #cfd6e4; }
#lightbox .lb-close {
  position: fixed; top: 16px; right: 20px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
#lightbox .lb-close:hover { background: rgba(255, 255, 255, .24); }
@media (prefers-reduced-motion: no-preference) {
  #lightbox[open] { animation: lbfade .18s ease; }
  @keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
}

/* Buyer routers: keep numbered choices as real cards, never inline text. */
.route-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 14px;
  align-items: center;
}
.route-card span {
  grid-row: 1 / span 2;
}
.route-card strong,
.route-card b {
  grid-column: 2;
}
.resource-disclosure {
  max-width: var(--maxw);
  margin-inline: auto;
}

/* Site-wide Impeccable cleanup: reduce detector-slop patterns without
   changing the existing industrial design language. */
.hero-kicker {
  color: var(--accent-ink);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.display {
  font-size: 4rem;
  font-size: clamp(3rem, 5.8vw, 5rem);
  font-weight: 900;
  letter-spacing: -.035em;
}

.headline,
.buyer-router h2,
.section-head h2 {
  font-size: 2.5rem;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.nav-logo .logo-mark span {
  font-family: Georgia, "Times New Roman", serif;
}

.btn-primary {
  box-shadow: 0 1px 2px rgba(20,24,32,.18), 0 10px 22px -14px rgba(20,24,32,.42);
}
.btn-primary:hover {
  box-shadow: 0 2px 6px rgba(20,24,32,.20), 0 14px 28px -16px rgba(20,24,32,.46);
}

.table-scroll {
  padding: 16px !important;
}
.table-scroll .cmp-table {
  border-radius: calc(var(--r-card) - 4px);
}

.stat-band .stat {
  padding-inline: clamp(20px, 3vw, 36px) !important;
}
.stat-band .stat:first-child {
  padding-left: 0;
}

.product-flow .flow-item,
.flow-item {
  padding: clamp(26px, 3vw, 36px) !important;
}

.resource-disclosure-body {
  padding: 24px !important;
}

.trust-strip {
  padding-block: clamp(36px, 5vw, 58px);
}

.block-dark .btn-primary,
.on-dark .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.block-dark .btn-primary:hover,
.on-dark .btn-primary:hover {
  background: #edf2f3;
  color: var(--ink);
  box-shadow: none;
}

/* Products router: override generic CTA tile route-card rules near EOF. */
.buyer-router .route-grid > .route-card {
  align-items: center;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 7px 14px;
  justify-items: start;
  min-height: 92px;
  padding: 16px 18px;
  text-align: left;
}
.buyer-router .route-grid > .route-card i {
  align-self: center;
  grid-column: 1;
  grid-row: 1 / 3;
  justify-self: center;
  width: 38px;
  height: 38px;
}
.buyer-router .route-grid > .route-card span {
  align-self: end;
  grid-column: 2;
  grid-row: 1;
  line-height: 1.16;
  text-align: left;
}
.buyer-router .route-grid > .route-card strong,
.buyer-router .route-grid > .route-card b {
  align-self: start;
  grid-column: 2;
  grid-row: 2;
  line-height: 1.3;
  text-align: left;
}

.buyer-router .route-grid > .route-card:has(strong) {
  grid-template-columns: minmax(64px, auto) minmax(0, 1fr);
}
.buyer-router .route-grid > .route-card:has(strong) span {
  align-self: center;
  grid-column: 1;
  grid-row: 1 / 3;
  color: var(--accent-ink);
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.15;
  text-align: left;
}
.buyer-router .route-grid > .route-card:has(strong) strong {
  align-self: end;
  grid-column: 2;
  grid-row: 1;
  line-height: 1.2;
}
.buyer-router .route-grid > .route-card:has(strong) b {
  align-self: start;
  grid-column: 2;
  grid-row: 2;
  line-height: 1.35;
}
