/* ============================================================
   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;
  --danger: #a63a2e;          /* form errors, hazard markers — AA on white (6.4:1) */
  --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: var(--font);
}

* { 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; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; } /* alias of .wrap; commerce pages (cart, order-confirmed) use .container */

/* ---------- 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-actions { display: flex; align-items: center; gap: 12px; }
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 800;
  background: rgba(255,255,255,.78);
}
.nav-cart:hover { border-color: var(--accent); color: var(--accent-ink); }
.cart-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  line-height: 1;
}
.cart-count[hidden] { display: none; }
.nav.over-dark:not(.scrolled) .nav-cart { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.12); color: #fff; }
.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; min-width: 44px; 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: not-allowed; opacity: .55; transform: none; box-shadow: none; filter: grayscale(.25); }
.btn[hidden] { display: none !important; } /* .btn sets display:inline-flex, which otherwise overrides the hidden attr (e.g. self-gated #pBuyBtn) */
.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; }
.contact-hero .subhead { margin-top: clamp(32px, 4vw, 48px); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.cart-feedback {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}
.cart-feedback[hidden] { display: none !important; }
.cart-feedback a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 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: block;
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  border: none;
  border-radius: 0;
  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);
}
.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 {
  display: inline-block;
  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;
  }
}

@media (max-width: 560px) {
  .buyer-router {
    padding: 18px;
  }
  .resource-disclosure summary {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
  .resource-disclosure summary > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .resource-disclosure-body {
    padding: 0 20px 20px;
  }
  .conversion-proof {
    padding: 40px 0 30px;
  }
}
.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: var(--danger); 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: var(--danger); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success i { font-size: 3rem; color: var(--accent); margin-bottom: 12px; }
.form-success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
/* Beats the .btn `display: inline-flex !important` touch-target rule. */
.form-success-actions [hidden] { display: none !important; }
#formSuccessTitle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

/* ---------- 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; }
/* Form rows: top-align so an inline error growing one cell never vertically
   shifts its partner. The centered base is for the content image+text layout. */
#quoteForm .field-grid { grid-template-columns: 1fr 1fr; gap: 18px 24px; align-items: start; }

@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-nav span { color: var(--accent-ink); }
.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); }

/* Footer newsletter signup (Klaviyo) */
.foot-news { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; padding-top: 32px; padding-bottom: 4px; border-top: 1px solid rgba(255,255,255,.16); }
.foot-news-copy { max-width: 40ch; }
.foot-news-copy p { margin-top: 6px; font-size: .86rem; line-height: 1.6; color: rgba(255,255,255,.7); }
.foot-news-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 1; min-width: 280px; max-width: 460px; }
.foot-news-form input[type=email] { flex: 1; min-width: 200px; padding: 13px 15px; border-radius: var(--r-input); border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-family: var(--font); font-size: .95rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.foot-news-form input[type=email]::placeholder { color: rgba(255,255,255,.5); }
.foot-news-form input[type=email]:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.1); box-shadow: 0 0 0 3px rgba(14,124,134,.3); }
.foot-news-gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.foot-news-status { flex-basis: 100%; margin: 2px 0 0; font-size: .8rem; font-weight: 600; min-height: 1em; color: rgba(255,255,255,.7); }
.foot-news-status[data-state=ok] { color: #6ee7b7; }
.foot-news-status[data-state=err] { color: #fca5a5; }
@media (max-width: 640px) { .foot-news { flex-direction: column; gap: 18px; } }

/* ---------- 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: var(--danger); 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); }
.case-card[hidden] { display: none; }

/* ---- Case before/after diptych ---- */
.case-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
}
.case-ba figure { position: relative; margin: 0; overflow: hidden; }
.case-ba img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--panel);
}
.case-ba figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(22, 24, 29, .82);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---- Client wall (monochrome logo / wordmark strip) ---- */
.client-wall {
  list-style: none;
  margin: clamp(22px, 4vw, 36px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px) clamp(22px, 3.8vw, 48px);
}
.client-wall li {
  flex: 0 0 auto;
  width: clamp(116px, 14vw, 152px);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-wall img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: .74;
  transition: filter .25s ease, opacity .25s ease;
}
.client-wall li:hover img,
.client-wall li:focus-within img {
  filter: grayscale(0);
  opacity: 1;
}
@media (max-width: 640px) {
  .client-wall { gap: 14px 22px; justify-content: space-between; }
  .client-wall li { width: clamp(92px, 28vw, 130px); height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .client-wall img { transition: none; }
}

/* ---- Before/after pair ---- */
.ba-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}
.ba-duo .ba-figure { margin: 0; }
@media (max-width: 720px) {
  .ba-duo { grid-template-columns: 1fr; }
}

/* ---- Inline document link (lab report, etc.) ---- */
.proof-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--accent-ink);
  text-decoration: none;
}
.proof-doc-link:hover { text-decoration: underline; }
.proof-doc-link i { font-size: 1.05rem; }

.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: var(--danger); font-weight: 700; }

/* ── 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;
}

.nojs-nav[hidden] {
  display: none !important;
}

.prod-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  margin: -4px -4px 18px;
  padding: 12px;
  border-radius: calc(var(--r-card) - 4px);
  background: #fff;
  overflow: visible;
}

.prod-media img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  display: block;
}

.prod-card:has(.prod-media) .prod-top {
  margin-top: 0;
}

/* Product catalog refresh */
.product-catalog-hero {
  padding-bottom: clamp(44px, 7vw, 86px);
}

.product-catalog-hero .hero-grid {
  align-items: center;
}

.catalog-hero-media {
  display: grid;
  grid-template-columns: 1.2fr .85fr;
  grid-template-rows: repeat(2, minmax(140px, 1fr));
  gap: 14px;
}

.catalog-photo {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
}

.catalog-photo-large {
  grid-row: 1 / span 2;
  min-height: 380px;
}

.catalog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bottle-shot-frame {
  border-color: transparent;
  background: transparent;
  overflow: visible;
}

.bottle-shot-frame img,
.bottle-shot {
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.bottle-shot-frame img {
  padding: clamp(8px, 1.5vw, 18px);
}

.catalog-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(22, 24, 29, .82);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

.catalog-label {
  display: inline-block;
  color: var(--accent);
  font-size: .86rem;
  font-weight: 900;
  line-height: 1.25;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.conversion-proof .subhead,
.conversion-proof-head .subhead {
  color: rgba(255, 255, 255, .78);
}

.proof-pill {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 164px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, .08);
  color: inherit;
}

.proof-pill span {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.proof-pill b {
  font-size: 1.1rem;
}

.proof-pill em {
  color: rgba(255, 255, 255, .76);
  font-style: normal;
  line-height: 1.45;
}

@media (max-width: 920px) {
  .catalog-hero-media,
.proof-strip {
    grid-template-columns: 1fr;
  }

  .catalog-photo-large {
    grid-row: auto;
    min-height: 280px;
  }
}

@media (max-width: 620px) {

  .proof-pill {
    min-height: 0;
  }
}

@media (max-width: 920px) {
}

@media (max-width: 560px) {
}

.catalog-shelf-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.catalog-shelf-media img {
  width: 100%;
  height: 126px;
  object-fit: contain;
  display: block;
}

.catalog-shelf-media i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eef5f5;
  color: var(--accent-ink);
  font-size: 1.5rem;
}

.product-media-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 360px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.product-media-card {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
}

.product-media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  background: var(--bg);
}

.product-media-card figcaption {
  padding: 12px 14px 14px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.25;
}

@media (max-width: 720px) {

  .product-media-row {
    grid-auto-columns: minmax(250px, 84vw);
  }
}

#catalog,
.product-media-section {
  scroll-margin-top: 96px;
}

@media (max-width: 720px) {
}

@media (max-width: 720px) {
  .product-catalog-hero {
    padding-top: 92px;
    padding-bottom: 38px;
  }

  .product-catalog-hero .display {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  .catalog-hero-media {
    margin-top: 32px;
  }
}

.prod-card {
  display: flex;
  flex-direction: column;
}

.prod-card .catalog-type {
  display: block;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.product-fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.product-fit-list li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.1;
}

.product-proof-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.35;
}

.product-proof-line::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: .45em;
  border-radius: 999px;
  background: var(--accent);
}

.prod-card .prod-actions {
  margin-top: auto;
  padding-top: 20px;
}

@media (prefers-reduced-motion: no-preference) {
  body.reveal-ready .product-catalog .reveal,
body.reveal-ready .conversion-proof .reveal,
body.reveal-ready .matrix-disclosure.reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .product-fit-list li {
    max-width: 100%;
    font-size: .74rem;
  }

  .prod-card .btn-sm {
    width: 100%;
    justify-content: center;
  }
}

/* Shared hardening for missing/deferred documentary media. */
.media-fallback {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  background:
    linear-gradient(135deg, rgba(14,124,134,.12), rgba(21,23,28,.04)),
    repeating-linear-gradient(90deg, rgba(21,23,28,.035) 0 1px, transparent 1px 12px),
    var(--surface);
}

.media-fallback img[hidden] {
  display: none !important;
}

.media-fallback-label {
  max-width: min(28ch, calc(100% - 32px));
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.catalog-shelf-media.media-fallback {
  min-height: 128px;
  border-radius: 13px;
}

.proof-card figure.media-fallback,
.case-card figure.media-fallback,
.product-media-card.media-fallback,
.ind-gallery figure.media-fallback {
  aspect-ratio: 4 / 3;
}

@media (max-width: 680px) {
  .nav-links.open {
    box-shadow: 0 18px 38px -28px rgba(21,23,28,.45);
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-links a.active {
    color: var(--accent-ink);
  }

  .media-fallback {
    min-height: 132px;
  }
}

.hmis-tag.safe,
.cmp-table .safe {
  color: #062321;
}

/* Nav IA: proof + industries are one buying path, exposed as Use Cases. */
.nav-group {
  position: relative;
  display: grid;
  align-items: center;
}

.nav-group summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  color: inherit;
  font: inherit;
  font-weight: 500;
}

.nav-group summary::-webkit-details-marker { display: none; }

.nav-group summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .58;
}

.nav-group summary.active,
.nav-group.active summary {
  color: var(--ink);
  font-weight: 700;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 90;
  display: grid;
  gap: 2px;
  min-width: 178px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 42px -28px rgba(20, 24, 32, .48);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.nav-group[open] .nav-menu,
.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-menu a {
  display: block;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 9px;
  white-space: nowrap;
}

.nav-menu a::after { display: none; }
.nav-menu a:hover,
.nav-menu a.active { background: var(--accent-tint); }
/* Dropdown panel is always a light/white surface — keep its link text dark in every nav
   state. In over-dark, links inherit the light .nav-links color (#f4f6f8) → invisible on
   white, and the over-dark hover rule paints #fff; override both, scoped to the panel. */
.nav-menu a { color: var(--ink-soft); }
.nav-menu a:hover,
.nav-menu a.active { color: var(--ink); }
.nav.over-dark .nav-menu a { color: var(--ink-soft); }
.nav.over-dark .nav-menu a:hover,
.nav.over-dark .nav-menu a.active { color: var(--ink); }
.nav.over-dark .nav-group summary { color: #f4f6f8; }
.nav.over-dark .nav-group summary:hover,
.nav.over-dark .nav-group summary.active { color: #fff; }
/* over-dark bg stays dark even when scrolled, so summary stays light (matches the <a> links).
   Only the mobile open menu is a light panel, so darken summary there. */
.nav.over-dark .nav-links.open .nav-group summary { color: var(--ink); }

@media (max-width: 980px) {
  .nav-links.open {
    align-items: stretch;
  }

  .nav-group {
    width: 100%;
  }

  .nav-group summary {
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1.05rem;
  }

  .nav-menu {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 2px 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav-group[open] .nav-menu,
  .nav-group:hover .nav-menu,
  .nav-group:focus-within .nav-menu {
    transform: none;
  }

  .nav-menu a {
    box-sizing: border-box;
    width: 100%;
    min-height: 38px;
    padding: 9px 14px;
    text-align: left;
  }
}

/* Evidence bands: keep bordered data tiles from feeling inset from their rules. */
.stat-band {
  padding-block: clamp(44px, 6vw, 64px);
}

.stat {
  padding-inline: clamp(22px, 3vw, 36px);
}

.stat + .stat {
  padding-left: clamp(28px, 4vw, 44px);
}

.trust-strip {
  padding-block: clamp(18px, 3vw, 28px);
}

.trust-cols > div {
  padding-inline: clamp(18px, 3vw, 30px);
}

.page-hero .eyebrow {
  text-transform: none !important;
  letter-spacing: .045em !important;
}

.catalog-type {
  text-transform: none !important;
  letter-spacing: .045em !important;
}

body .page-hero span.eyebrow {
  text-transform: none !important;
  letter-spacing: .045em !important;
}

.ind-hero .eyebrow,
.industry-hero .eyebrow {
  text-transform: none !important;
  letter-spacing: .045em !important;
}

.wrap > .eyebrow {
  text-transform: none !important;
  letter-spacing: .045em !important;
}

@media (max-width: 680px) {
  .stat,
.stat + .stat,
.trust-cols > div {
    padding-inline: 0;
  }
}

/* Full-site audit pass: make compact controls meet target-size checks without
   changing the existing navigation,
filter,
or quote flow structure. */
.nav-links a {
  min-width: 44px !important;
  justify-content: center !important;
}

.proof-filter,
.contact-card a,
.eyebrow a {
  min-height: 44px !important;
  display: inline-flex;
  align-items: center;
}

.rail-btn {
  min-height: 44px;
}

.stat-band .stat {
  padding-inline: clamp(24px, 3.4vw, 42px) !important;
}

.stat-band .stat + .stat {
  padding-left: clamp(32px, 4.4vw, 52px) !important;
}

@media (max-width: 680px) {
  .stat-band .stat,
.stat-band .stat + .stat {
    padding-inline: 0 !important;
  }
}

/* ============================================================
   Products shop: replacement checker + e-commerce grid
   ============================================================ */

/* ---- Replacement checker (compact,
interactive matrix) ---- */
.swap-finder {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(14px, 2.4vw, 24px);
}

.swap-result[hidden] { display: none; }
.swap-result {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--r-card);
  background: var(--accent-tint);
  border: 1px solid var(--accent-soft);
}
.swap-result > i { color: var(--accent); font-size: 1.1rem; }
.swap-result em { display: block; font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.swap-result-q { font-weight: 800; color: var(--ink); }
.swap-result-a { font-weight: 700; color: var(--ink-soft); }
.swap-result-a a { color: var(--accent-ink); font-weight: 800; }
.swap-result-a a:hover { text-decoration: underline; }
.swap-clear {
  margin-left: auto;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  min-height: 40px;
}
.swap-clear:hover { border-color: var(--ink); box-shadow: var(--shadow-xs); }

.swap-matrix {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.swap-head,
.swap-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr) 28px minmax(0, 1.4fr);
  align-items: center;
  gap: 14px;
}

.swap-head {
  padding: 4px 16px 10px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.swap-row {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s var(--ease-out), background .18s var(--ease-out), transform .18s var(--ease-out);
}
.swap-row:hover { border-color: var(--accent); background: var(--accent-tint); transform: translateX(2px); }
.swap-row.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }

.swap-row em {
  display: none;
  font-style: normal;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.swap-legacy { font-weight: 700; }
.swap-job { color: var(--ink-soft); font-size: .94rem; }
.swap-arrow { color: var(--accent); justify-self: center; }
.swap-vk { font-weight: 800; color: var(--accent-ink); }

.swap-note { margin-top: 16px; font-size: .86rem; color: var(--muted); }
.swap-note a { color: var(--accent-ink); font-weight: 700; }
.swap-note a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .swap-head { display: none; }
  .swap-row { grid-template-columns: 1fr; gap: 10px; }
  .swap-row em { display: block; }
  .swap-arrow { display: none; }
}

/* ---- Shop toolbar (chips + sort) ---- */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  min-height: 40px;
  transition: border-color .18s var(--ease-out), color .18s var(--ease-out), background .18s var(--ease-out);
}
.shop-chip:hover { border-color: var(--ink); color: var(--ink); }
.shop-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.shop-sort { display: flex; align-items: center; gap: 10px; }
.shop-sort label { font-size: .85rem; font-weight: 700; color: var(--muted); }
.shop-select {
  padding: 9px 34px 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235f656d' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  min-height: 40px;
}
.shop-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shop-count { font-size: .85rem; color: var(--muted); margin-left: 4px; }

/* ---- Product grid (4–5 per row,
fully clickable cards) ---- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  color: var(--ink);
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.shop-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.shop-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

.shop-card-link { display: flex; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.shop-card-link:focus-visible { outline: none; }

.shop-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.shop-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.shop-card-media i { font-size: 3rem; color: var(--accent); }
.shop-card-media .hmis-badge { position: absolute; top: 10px; right: 10px; }

.shop-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  flex: 1;
}
.shop-card-type { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.shop-card-name { font-size: 1.12rem; font-weight: 800; line-height: 1.2; }
.shop-card-replaces { font-size: .88rem; color: var(--muted); flex: 1; }
.shop-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: .88rem;
  font-weight: 800;
  color: var(--accent-ink);
}
.shop-card-add {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin: 0 16px 16px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.shop-card-add:hover,
.shop-card-add:focus-visible {
  border-color: var(--accent);
  color: var(--accent-ink);
  outline: none;
}
.shop-card-add:disabled { cursor: wait; opacity: .72; }
.shop-card-commerce,
.commerce-slot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
}
.shop-card-commerce {
  margin: 0 16px 16px;
}
.shop-card-bulk {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 12px auto 0;
  padding: 8px 10px;
  border: 1px solid rgba(14, 124, 134, .24);
  border-radius: 10px;
  background: rgba(14, 124, 134, .08);
  color: var(--accent-ink);
  font-size: .98rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}
.shop-card-quote {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.shop-card-quote:hover,
.shop-card-quote:focus-visible {
  border-color: var(--accent);
  color: var(--accent-ink);
  outline: none;
}
/* Volume-variant buy control (select + add button), sits inside the z-indexed commerce slot. */
.commerce-buy { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.commerce-vol {
  min-height: 34px;
  max-width: 170px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
}
.commerce-vol:focus { outline: none; border-color: var(--accent); }
.commerce-unit-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(14, 124, 134, .1);
  color: var(--accent-ink);
  font-size: .95rem;
  font-weight: 900;
}
.shop-card-cta i { transition: transform .18s var(--ease-out); }
.shop-card:hover .shop-card-cta i { transform: translateX(3px); }

.shop-empty { margin-top: 28px; text-align: center; color: var(--muted); }
.shop-empty button {
  margin-left: 6px;
  border: none;
  background: none;
  font: inherit;
  font-weight: 800;
  color: var(--accent-ink);
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-card-name { font-size: 1rem; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-sort { justify-content: space-between; }
}
/* Commerce cart */
.cart-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 28px;
  align-items: start;
}
.cart-summary {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.cart-summary {
  position: sticky;
  top: 92px;
  padding: 24px;
}
.cart-lines { display: grid; gap: 14px; }

.cart-line-price {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.cart-estimate {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}

.cart-estimate[hidden] { display: none !important; }

.cart-estimate div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
}

.cart-estimate span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.cart-estimate strong {
  font-size: 1.35rem;
  line-height: 1;
}

.cart-estimate p {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.cart-line h3 { margin: 3px 0 6px; font-size: 1.08rem; }
.cart-line p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.cart-line label,
.field-label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cart-line input,
.cart-input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--line);
  border-radius: var(--r-input);
  padding: 12px 13px;
  font: inherit;
  background: #fff;
}
.cart-line input:focus,
.cart-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,124,134,.14);
}
.cart-status { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.cart-status[data-state=ok] { color: #087f5b; }
.cart-status[data-state=err] { color: #b42318; }
.cart-actions { display: grid; gap: 10px; margin-top: 18px; }
.cart-actions .btn { width: 100%; justify-content: center; }
.cart-actions .btn:disabled { cursor: not-allowed; }
.ship-est { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ship-est-out { margin: 8px 0 4px; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.ship-est-note { margin: 0; font-size: .76rem; color: var(--muted); }
.cart-empty {
  padding: clamp(26px, 5vw, 46px);
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
  color: var(--muted);
}
.cart-empty h3 { color: var(--ink); margin-bottom: 8px; }
.confirmation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.confirmation-grid .route-card {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 118px;
}
.confirmation-grid .route-card i {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.confirmation-grid .route-card span,
.confirmation-grid .route-card b {
  grid-column: 1;
}

@media (max-width: 860px) {
  .cart-shell,
  .confirmation-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-line { grid-template-columns: 1fr; }
  .cart-line .btn { justify-content: center; }
}

@media (max-width: 520px) {
  .nav-actions { gap: 7px; }
  .nav-cart {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }
  .nav-cart span {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

/* Commerce refinement: keep catalog and product decisions in scan range. */
body .product-catalog-hero {
  padding-bottom: clamp(28px, 4vw, 52px);
}

body .swap-finder-sec {
  padding-bottom: clamp(28px, 4vw, 46px);
}

body .swap-finder {
  padding: clamp(16px, 2vw, 24px);
}

body .swap-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body .swap-head {
  display: none;
}

body .swap-row {
  min-height: 0;
  padding: 10px 12px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  text-align: left;
}

body .swap-legacy,
body .swap-job,
body .swap-vk {
  min-width: 0;
}

body .swap-vk {
  justify-self: start;
}

body .shop-sec {
  padding-top: clamp(32px, 5vw, 58px);
}

body .page-hero {
  padding-top: clamp(44px, 5vw, 58px);
  padding-bottom: clamp(38px, 5vw, 54px);
}

body .page-hero .hero-grid {
  align-items: start;
}

body .page-hero .hmis-panel {
  justify-self: end;
  max-width: 430px;
  padding: 24px;
}

body .page-hero .product-shot {
  max-height: 240px;
  width: 100%;
  object-fit: contain;
}

main:has(#pMediaSection) > section:not(.page-hero):not(.block-dark) {
  padding-top: clamp(34px, 4vw, 48px);
  padding-bottom: clamp(34px, 4vw, 48px);
}

main:has(#pMediaSection) .section-head {
  margin-bottom: clamp(22px, 3vw, 34px);
}

@media (max-width: 720px) {
  body .catalog-hero-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 12px;
  }

  body .catalog-photo-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  body .catalog-photo img {
    aspect-ratio: 1 / 1;
    max-height: 220px;
  }

  body .swap-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 620px;
    overflow: auto;
    overscroll-behavior: contain;
    padding-right: 2px;
  }

  body .swap-row {
    padding: 11px;
    grid-template-columns: 1fr;
  }

  body .swap-row > span:not(.swap-legacy):not(.swap-vk),
  body .swap-job {
    display: none;
  }
}
