/* ================================================================
   ReimburseOS — Commure-inspired light theme (additive overlay)
   ----------------------------------------------------------------
   Activated by adding class="commure" to <body>.
   All rules below are scoped under .commure so legacy pages remain
   untouched. Pages that opt in get a Commure-style fidelity refresh:
     - Inter typography
     - White / light surface palette
     - Deep navy primary (#0F1B3D), blue accent (#3B82F6)
     - Subtle shadows, generous spacing, smooth motion
     - Alternating section backgrounds
     - Phone mockups + populated dashboard previews
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
body.commure {
  --c-bg:           #ffffff;
  --c-bg-soft:      #f7f9fc;
  --c-bg-tint:      #eef3f9;
  --c-bg-deep:      #0f1b3d;       /* deep navy hero / footer */
  --c-bg-deep-2:    #142454;
  --c-ink:          #0a1029;       /* near-black for headlines */
  --c-text:         #1f2a44;       /* primary body */
  --c-text-dim:     #4d5872;       /* secondary body — 7.0:1 on #fff */
  --c-text-faint:   #5f6b80;       /* tertiary / captions — AA on #fff and #f7f9fc */
  --c-border:       #e3e8ef;
  --c-border-soft:  #eef2f7;
  --c-accent:       #3b82f6;       /* blue */
  --c-accent-2:     #2563eb;       /* deeper blue */
  --c-accent-soft:  rgba(59,130,246,0.10);
  --c-accent-tint:  rgba(59,130,246,0.06);
  --c-success:      #10b981;
  --c-warn:         #f59e0b;
  --c-danger:       #ef4444;
  --c-violet:       #8b5cf6;

  --c-shadow-xs:    0 1px 2px rgba(15,27,61,0.04);
  --c-shadow-sm:    0 2px 6px rgba(15,27,61,0.05), 0 1px 2px rgba(15,27,61,0.04);
  --c-shadow-md:    0 8px 24px rgba(15,27,61,0.06), 0 2px 6px rgba(15,27,61,0.04);
  --c-shadow-lg:    0 24px 60px rgba(15,27,61,0.10), 0 6px 16px rgba(15,27,61,0.06);
  --c-shadow-xl:    0 40px 90px rgba(15,27,61,0.14), 0 12px 28px rgba(15,27,61,0.08);

  --c-radius-xs:    6px;
  --c-radius-sm:    10px;
  --c-radius-md:    14px;
  --c-radius-lg:    20px;
  --c-radius-xl:    28px;
  --c-radius-pill:  999px;

  --c-font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --c-mono:         'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --c-ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --c-ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --c-dur:          280ms;
  --c-dur-slow:     520ms;

  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--c-font);
  font-feature-settings: 'cv02','cv03','cv04','cv11','ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Remap legacy dark-theme tokens onto the light palette so inline rules
     that consume var(--bg-base) etc. inherit the new look automatically. */
  --bg-base:       var(--c-bg);
  --bg-elev-1:     #ffffff;
  --bg-elev-2:     var(--c-bg-soft);
  --bg-section:    var(--c-bg-soft);
  --text:          var(--c-text);
  --text-dim:      var(--c-text-dim);
  --text-faint:    var(--c-text-faint);
  --border:        var(--c-border);
  --border-soft:   var(--c-border-soft);
  /* Remaining legacy dark tokens remapped to light equivalents so inline
     rules consuming them never paint dark navy on a white surface. */
  --border-strong: #cdd5e2;
  --bg-elev-3:     var(--c-bg-tint);
  --accent:        var(--c-accent-2);
  --accent-glow:   rgba(59,130,246,0.45);
  --accent-soft:   var(--c-accent-tint);
  --success:       var(--c-success);
  --warn:          var(--c-warn);
  --danger:        var(--c-danger);
  --font-display:  'Inter', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, monospace;
  --radius:        var(--c-radius-md);
  --radius-lg:     var(--c-radius-lg);
  --radius-xl:     var(--c-radius-xl);
}

/* Hard reset for elements the legacy CSS may color via inherited tokens */
body.commure,
body.commure h1, body.commure h2, body.commure h3,
body.commure h4, body.commure h5, body.commure h6,
body.commure p, body.commure li, body.commure span,
body.commure td, body.commure th,
body.commure a, body.commure label, body.commure small,
body.commure strong, body.commure em, body.commure code {
  font-family: var(--c-font);
}

body.commure code,
body.commure pre,
body.commure .mono { font-family: var(--c-mono); }

body.commure {
  background: var(--c-bg);
  color: var(--c-text);
}

body.commure a { color: var(--c-accent-2); text-decoration: none; transition: color var(--c-dur) var(--c-ease); }
body.commure a:hover { color: var(--c-ink); }

/* ---------- Layout shell overrides ---------- */
html:has(body.commure) { background: #ffffff; }
body.commure { background: #ffffff !important; }
body.commure .mkt-shell { background: var(--c-bg); padding-top: 84px; }
body.commure main { background: transparent; }

/* ---------- Generic top nav variants (.nav used by pricing.html etc) ---------- */
body.commure nav.nav,
body.commure .topnav {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--c-border-soft) !important;
  box-shadow: var(--c-shadow-xs);
  color: var(--c-text);
}
body.commure nav.nav .brand,
body.commure nav.nav .brand span,
body.commure .topnav .brand { color: var(--c-ink) !important; font-weight: 700; }
body.commure nav.nav .brand span { color: var(--c-accent-2) !important; }
body.commure nav.nav a,
body.commure .topnav a { color: var(--c-text); }
body.commure nav.nav a:hover,
body.commure .topnav a:hover { color: var(--c-ink); }
body.commure nav.nav .nav-link.active { color: var(--c-accent-2); }

/* ---------- Top navigation ---------- */
body.commure .mkt-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--c-border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  height: 68px;
  box-shadow: var(--c-shadow-xs);
}
body.commure .mkt-nav .brand img {
  height: 28px;
  filter: none;
  content: url('/assets/img/reimburseos-lockup-dark.png?v=logo4');
}
body.commure .mkt-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
body.commure .mkt-nav-links a {
  color: var(--c-text);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
body.commure .mkt-nav-links a:hover { color: var(--c-ink); }
body.commure .mkt-nav-links a.active { color: var(--c-ink); font-weight: 600; }
body.commure .mkt-nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: var(--c-accent);
}

body.commure .mkt-nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Buttons ---------- */
body.commure .btn,
body.commure .btn.primary,
body.commure .btn.ghost,
body.commure .btn-launch,
body.commure .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--c-radius-pill);
  font-family: var(--c-font);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--c-dur) var(--c-ease);
  white-space: nowrap;
  text-transform: none;
  box-shadow: none;
}

body.commure .btn.primary,
body.commure .btn-launch {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}
body.commure .btn.primary:hover,
body.commure .btn-launch:hover {
  background: var(--c-bg-deep);
  border-color: var(--c-bg-deep);
  transform: translateY(-1px);
  box-shadow: var(--c-shadow-md);
  color: #fff;
}

body.commure .btn.ghost,
body.commure .btn-secondary {
  background: #fff;
  color: var(--c-ink);
  border-color: var(--c-border);
}
body.commure .btn.ghost:hover,
body.commure .btn-secondary:hover {
  background: var(--c-bg-soft);
  border-color: var(--c-text-faint);
  color: var(--c-ink);
}

body.commure .btn.full { width: 100%; }

/* Accent button variant */
body.commure .btn-accent {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
body.commure .btn-accent:hover {
  background: var(--c-accent-2);
  border-color: var(--c-accent-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(59,130,246,0.25);
  color: #fff;
}

/* Suite switch — keep functional, just reskin */
body.commure .suite-switch__btn {
  background: #fff;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-pill);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--c-font);
  letter-spacing: -0.005em;
}
body.commure .suite-switch__btn:hover { background: var(--c-bg-soft); border-color: var(--c-text-faint); }
body.commure .suite-switch__menu {
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--c-shadow-lg);
  border-radius: var(--c-radius-md);
  color: var(--c-text);
}
body.commure .suite-switch__head { color: var(--c-text-faint); font-family: var(--c-mono); }
body.commure .suite-switch__item { color: var(--c-text); border-radius: var(--c-radius-sm); }
body.commure .suite-switch__item:hover { background: var(--c-bg-soft); color: var(--c-ink); }
body.commure .suite-switch__item .name { color: var(--c-ink); font-weight: 600; }
body.commure .suite-switch__item .verb { color: var(--c-text-faint); font-size: 11px; }
body.commure .suite-switch__divider { background: var(--c-border-soft); }
body.commure .suite-switch__hub { color: var(--c-accent-2); }

body.commure .mkt-mobile-toggle {
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  border-radius: var(--c-radius-sm);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

body.commure .mobile-drawer {
  background: #fff;
  color: var(--c-text);
  border-left: 1px solid var(--c-border);
}
body.commure .mobile-drawer h4 { color: var(--c-text-faint); font-family: var(--c-font); }
body.commure .mobile-drawer a { color: var(--c-text); }
body.commure .mobile-drawer a.active,
body.commure .mobile-drawer a:hover { color: var(--c-accent-2); }

/* ---------- Sections ---------- */
body.commure .mkt-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 32px;
  position: relative;
}
body.commure .mkt-section.tight { padding: 84px 32px; }

/* Alternating section backgrounds. Two ways:
   1) Wrap section in <div class="c-section-tint"> for full-bleed bg
   2) Use mkt-section.tint / .deep directly (uses pseudo for full-bleed) */
body.commure .mkt-section.tint,
body.commure .mkt-section.deep { position: relative; }
body.commure .mkt-section.tint::before,
body.commure .mkt-section.deep::before {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 100vw;
  z-index: -1;
}
body.commure .mkt-section.tint::before { background: var(--c-bg-soft); }
body.commure .mkt-section.deep { color: #fff; }
body.commure .mkt-section.deep::before { background: linear-gradient(180deg, var(--c-bg-deep) 0%, var(--c-bg-deep-2) 100%); }
body.commure .mkt-section.deep h2,
body.commure .mkt-section.deep h3 { color: #fff; }
body.commure .mkt-section.deep .lede { color: rgba(255,255,255,0.78); }
body.commure .mkt-section.deep .pain-card,
body.commure .mkt-section.deep .feat-card,
body.commure .mkt-section.deep .icp-card,
body.commure .mkt-section.deep .step {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
body.commure .mkt-section.deep .pain-card h3,
body.commure .mkt-section.deep .feat-card h3,
body.commure .mkt-section.deep .step-body h3 { color: #fff; }
body.commure .mkt-section.deep .pain-card p,
body.commure .mkt-section.deep .feat-card p,
body.commure .mkt-section.deep .step-body p { color: rgba(255,255,255,0.7); }
body.commure .mkt-section.deep .icon-wrap { background: rgba(59,130,246,0.20); color: #93c5fd; }

body.commure .c-section-tint  { background: var(--c-bg-soft); }
body.commure .c-section-deep  { background: var(--c-bg-deep); color: #fff; }
body.commure .c-section-deep .mkt-eyebrow { color: rgba(255,255,255,0.7); }
body.commure .c-section-deep h1,
body.commure .c-section-deep h2,
body.commure .c-section-deep h3 { color: #fff; }
body.commure .c-section-deep .lede { color: rgba(255,255,255,0.78); }
body.commure .c-section-deep .pain-card,
body.commure .c-section-deep .feat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}
body.commure .c-section-deep .pain-card h3,
body.commure .c-section-deep .feat-card h3 { color: #fff; }
body.commure .c-section-deep .pain-card p,
body.commure .c-section-deep .feat-card p { color: rgba(255,255,255,0.7); }

body.commure .mkt-eyebrow {
  display: inline-block;
  background: var(--c-accent-soft);
  color: var(--c-accent-2);
  font-family: var(--c-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 6px 14px;
  border-radius: var(--c-radius-pill);
  margin-bottom: 24px;
  border: 1px solid rgba(59,130,246,0.18);
}

/* Hero eyebrow — soft live-glow + breathing pulse (commure aesthetic) */
body.commure .mkt-eyebrow.eyebrow-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 13px;
  background: linear-gradient(135deg, rgba(59,130,246,0.10) 0%, rgba(99,179,237,0.06) 100%);
  border: 1px solid rgba(59,130,246,0.28);
  box-shadow:
    0 0 0 4px rgba(59,130,246,0.04),
    0 4px 18px rgba(59,130,246,0.10);
  animation: eyebrow-breathe 3.4s ease-in-out infinite;
}
body.commure .mkt-eyebrow.eyebrow-glow .eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-accent, #2563eb);
  box-shadow: 0 0 8px rgba(59,130,246,0.65);
  animation: eyebrow-dot-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes eyebrow-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 4px rgba(59,130,246,0.04),
      0 4px 18px rgba(59,130,246,0.10);
    border-color: rgba(59,130,246,0.28);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(59,130,246,0.07),
      0 6px 26px rgba(59,130,246,0.22);
    border-color: rgba(59,130,246,0.45);
  }
}
@keyframes eyebrow-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px rgba(59,130,246,0.65); }
  50%      { opacity: 0.55; transform: scale(0.82); box-shadow: 0 0 14px rgba(59,130,246,0.95); }
}
@media (prefers-reduced-motion: reduce) {
  body.commure .mkt-eyebrow.eyebrow-glow,
  body.commure .mkt-eyebrow.eyebrow-glow .eyebrow-dot { animation: none; }
}
body.commure .mkt-eyebrow.green {
  background: rgba(16,185,129,0.10);
  color: #047857;
  border-color: rgba(16,185,129,0.22);
}

/* ---------- Typography ---------- */
body.commure h1,
body.commure .display {
  font-family: var(--c-font);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  margin: 0 0 24px;
}
body.commure h1 span,
body.commure .display span {
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

body.commure h2 {
  font-family: var(--c-font);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--c-ink);
  margin: 0 0 20px;
}

body.commure h3 {
  font-family: var(--c-font);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--c-ink);
  margin: 0 0 10px;
  text-transform: none;
}

body.commure p, body.commure li {
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.003em;
}

body.commure .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--c-text-dim);
  max-width: 720px;
  margin-bottom: 28px;
  letter-spacing: -0.006em;
  font-weight: 400;
}

/* ---------- Hero (gateway) ---------- */
body.commure .gateway,
body.commure .gateway--lockup {
  position: relative;
  padding: 88px 32px 60px;
  background:
    radial-gradient(1100px 600px at 50% -10%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(139,92,246,0.08), transparent 65%),
    linear-gradient(180deg, #fff 0%, var(--c-bg-soft) 100%);
  overflow: hidden;
}
body.commure .gateway::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,27,61,0.04) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(0deg, rgba(15,27,61,0.04) 1px, transparent 1px) 0 0 / 80px 80px;
  mask: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
body.commure .gateway-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 0 28px;
}
body.commure .gateway-inner h1 {
  max-width: 980px;
  margin: 0 auto 24px;
  text-align: center;
}
body.commure .gateway-inner .lede {
  margin: 0 auto 36px;
  text-align: center;
}
body.commure .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
body.commure .cta-trust {
  color: var(--c-text-faint) !important;
  font-family: var(--c-font) !important;
  letter-spacing: -0.003em !important;
}
body.commure .powered-by {
  margin-top: 28px;
  display: inline-block;
}
body.commure .powered-by .builder {
  font-family: var(--c-font);
  font-size: 13px;
  color: var(--c-text-faint);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-pill);
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.commure .powered-by .builder::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  display: inline-block;
}

/* ---------- Hero phone mockup (NEW) ---------- */
.c-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 32px 24px;
}
@media (max-width: 960px) {
  .c-hero-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 0; }
  .c-hero-grid .c-hero-copy { text-align: center; }
}

body.commure .c-hero-copy h1 { text-align: left; margin-left: 0; }
body.commure .c-hero-copy .lede { text-align: left; margin-left: 0; }
body.commure .c-hero-copy .cta-row { justify-content: flex-start; }

/* Trust-pill row — used in hero + guarantee + chiropractic */
.trust-pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
  justify-content: flex-start;
}
@media (max-width: 720px) {
  .trust-pill-row { justify-content: center; }
}
body.commure .c-hero-copy .trust-pill-row { margin: 8px 0 14px; }

/* Mobile fix: hide <br> inside hero headlines so text wraps naturally at narrow widths.
   Desktop keeps the curated line break; mobile gets clean automatic wrapping. */
@media (max-width: 720px) {
  body.commure h1 br,
  .trust-hero h1 br,
  .hero-h1 br,
  .mkt-section h1 br,
  .gateway-inner h1 br,
  .gateway h1 br,
  #hero-heading br { display: none; }
  /* Ensure space between fragments after removed <br> */
  body.commure h1 span,
  .trust-hero h1 span,
  .mkt-section h1 span,
  #hero-heading span,
  .hero-h1 span { display: inline; }
}
/* Cta-trust and powered-by spacing (moved from inline) */
body.commure .c-hero-copy .cta-trust { margin-top: 16px; font-size: 13px; color: var(--c-text-faint); line-height: 1.7; }
body.commure .c-hero-copy .powered-by { margin-top: 22px; }

@media (max-width: 960px) {
  body.commure .c-hero-copy h1,
  body.commure .c-hero-copy .lede,
  body.commure .c-hero-copy .cta-trust { text-align: center; }
  body.commure .c-hero-copy .cta-row,
  body.commure .c-hero-copy .trust-pill-row,
  body.commure .c-hero-copy .powered-by { justify-content: center; }
  body.commure .c-hero-copy .powered-by { display: flex; }
}

/* Phone frame */
.c-phone {
  position: relative;
  width: 320px;
  margin: 0 auto;
  border-radius: 44px;
  background: #0a1029;
  padding: 14px;
  box-shadow:
    0 30px 80px rgba(15,27,61,0.20),
    0 12px 24px rgba(15,27,61,0.12),
    inset 0 0 0 2px rgba(255,255,255,0.06);
}
.c-phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #0a1029;
  border-radius: 999px;
  z-index: 3;
}
.c-phone-screen {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  height: 620px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.c-phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px 6px;
  font-family: var(--c-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
}
.c-phone-statusbar .right { display: inline-flex; gap: 6px; align-items: center; }
.c-phone-statusbar .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-ink); opacity: 0.4;
}
.c-phone-header {
  padding: 14px 22px 12px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--c-border-soft);
}
.c-phone-header .logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: var(--c-ink);
  letter-spacing: -0.01em;
}
.c-phone-header .logo .badge {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-violet));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 800;
}
.c-phone-header .avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #ef4444);
  border: 2px solid #fff;
  box-shadow: var(--c-shadow-xs);
}
.c-phone-body {
  flex: 1;
  overflow: hidden;
  padding: 16px 18px 18px;
  background: var(--c-bg-soft);
}
.c-phone-greeting {
  font-size: 12px; color: var(--c-text-faint);
  font-weight: 500; letter-spacing: -0.005em;
}
.c-phone-greeting strong { color: var(--c-ink); font-weight: 700; }
.c-phone-title {
  font-size: 18px; font-weight: 700; color: var(--c-ink);
  letter-spacing: -0.02em; margin: 4px 0 14px;
}

/* KPI mini-tiles inside phone */
.c-phone-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.c-phone-kpi {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: 14px;
  padding: 12px 12px 10px;
  box-shadow: var(--c-shadow-xs);
}
.c-phone-kpi .lbl {
  font-size: 10px; color: var(--c-text-faint);
  letter-spacing: 0.02em; text-transform: uppercase; font-weight: 600;
}
.c-phone-kpi .val {
  font-size: 20px; font-weight: 800; color: var(--c-ink);
  letter-spacing: -0.025em; margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.c-phone-kpi .delta {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 600;
  color: var(--c-success); margin-top: 2px;
}
.c-phone-kpi .delta.neg { color: var(--c-danger); }

/* Mini chart card */
.c-phone-card {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: 14px;
  padding: 12px 14px 14px;
  box-shadow: var(--c-shadow-xs);
  margin-bottom: 10px;
}
.c-phone-card .row {
  display: flex; align-items: center; justify-content: space-between;
}
.c-phone-card .title {
  font-size: 12px; font-weight: 700; color: var(--c-ink);
  letter-spacing: -0.01em;
}
.c-phone-card .sub {
  font-size: 10px; color: var(--c-text-faint);
  font-family: var(--c-mono); margin-top: 2px;
}
.c-phone-card .bars {
  display: flex; align-items: flex-end; gap: 5px;
  height: 64px; margin-top: 10px;
}
.c-phone-card .bar {
  flex: 1;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--c-accent), #93c5fd);
}
.c-phone-card .bar.tall { background: linear-gradient(180deg, var(--c-accent-2), var(--c-accent)); }

/* Mini payer row */
.c-phone-list { background: #fff; border: 1px solid var(--c-border-soft); border-radius: 14px; padding: 10px 12px; box-shadow: var(--c-shadow-xs); }
.c-phone-list .li {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--c-border-soft);
}
.c-phone-list .li:last-child { border-bottom: 0; }
.c-phone-list .name { font-size: 12px; font-weight: 600; color: var(--c-ink); letter-spacing: -0.01em; }
.c-phone-list .name small { display: block; font-size: 10px; color: var(--c-text-faint); font-weight: 500; margin-top: 1px; letter-spacing: 0; }
.c-phone-list .gap {
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--c-danger);
}

/* Phone floating cards */
.c-phone-wrap { position: relative; padding: 20px 0; }
.c-phone-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-md);
  padding: 14px 18px;
  box-shadow: var(--c-shadow-lg);
  z-index: 2;
  animation: c-float 6s ease-in-out infinite;
}
.c-phone-float.tl { top: 16px; left: -40px; }
.c-phone-float.br { bottom: 40px; right: -40px; animation-delay: -3s; }
@keyframes c-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.c-phone-float .label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--c-text-faint);
}
.c-phone-float .value {
  font-size: 22px; font-weight: 800; color: var(--c-ink);
  letter-spacing: -0.025em; font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.c-phone-float .meta {
  font-size: 11px; color: var(--c-text-faint); margin-top: 2px;
}
.c-phone-float .meta strong { color: var(--c-success); font-weight: 700; }
@media (max-width: 960px) {
  .c-phone-float.tl, .c-phone-float.br { display: none; }
  .c-phone { width: 280px; }
  .c-phone-screen { height: 540px; }
}

/* ---------- Cards / grids ---------- */
body.commure .pain-grid,
body.commure .feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  body.commure .pain-grid,
  body.commure .feat-grid { grid-template-columns: 1fr; }
}

body.commure .pain-card,
body.commure .feat-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-lg);
  padding: 28px 28px;
  box-shadow: var(--c-shadow-xs);
  transition: all var(--c-dur) var(--c-ease);
  position: relative;
}
body.commure .pain-card:hover,
body.commure .feat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--c-shadow-md);
  border-color: var(--c-text-faint);
}
body.commure .pain-card .icon-wrap,
body.commure .feat-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--c-radius-md);
  background: var(--c-accent-soft);
  color: var(--c-accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 700;
}
body.commure .pain-card .pain-name,
body.commure .feat-card .num {
  font-family: var(--c-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-text-faint);
  text-transform: uppercase;
  margin-bottom: 8px;
}
body.commure .pain-card h3,
body.commure .feat-card h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  font-weight: 600;
  margin: 0 0 10px;
}
body.commure .pain-card p,
body.commure .feat-card p {
  color: var(--c-text-dim);
  font-size: 15px;
  line-height: 1.6;
}

body.commure .pain-callout {
  margin-top: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, var(--c-bg-deep), var(--c-bg-deep-2));
  border-radius: var(--c-radius-xl);
  padding: 36px 40px;
  color: #fff;
}
body.commure .pain-callout .number {
  font-size: 88px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  background: linear-gradient(135deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.commure .pain-callout .text { color: rgba(255,255,255,0.85); font-size: 17px; line-height: 1.55; }
body.commure .pain-callout .text strong { color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  body.commure .pain-callout { grid-template-columns: 1fr; padding: 28px; gap: 16px; }
  body.commure .pain-callout .number { font-size: 64px; }
}

/* ---------- Stat grid (live index) ---------- */
body.commure .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
@media (max-width: 800px) { body.commure .stat-grid { grid-template-columns: 1fr 1fr; } }
body.commure .stat-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--c-shadow-xs);
  transition: all var(--c-dur) var(--c-ease);
}
body.commure .stat-card:hover { box-shadow: var(--c-shadow-md); transform: translateY(-2px); }
body.commure .stat-card .big {
  font-family: var(--c-font);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--c-ink), var(--c-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.commure .stat-card .label {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text-dim);
  letter-spacing: -0.005em;
  line-height: 1.5;
  text-transform: none;
}

/* ---------- Percentile / leaderboard / example ---------- */
body.commure .spread-wrap,
body.commure .example-card,
body.commure .opp-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-lg);
  box-shadow: var(--c-shadow-sm);
}
body.commure .spread-wrap::after,
body.commure .example-card::after,
body.commure .opp-card::before { display: none; }
body.commure .spread-rule { background: linear-gradient(90deg, transparent, var(--c-border), transparent); }
body.commure .spread-track::before { background: var(--c-border); }
body.commure .spread-box {
  background: var(--c-accent-tint);
  border: 1px solid var(--c-accent);
  box-shadow: inset 0 0 18px rgba(59,130,246,0.06);
}
body.commure .spread-median {
  background: var(--c-accent-2);
  box-shadow: 0 0 16px rgba(59,130,246,0.45);
}
body.commure .spread-median-tag { color: var(--c-accent-2); }
body.commure .spread-whisker { background: var(--c-text-faint); }
body.commure .spread-whisker::before,
body.commure .spread-whisker::after { background: var(--c-text-faint); }
body.commure .spread-axis { color: var(--c-text-faint); font-family: var(--c-font); }
body.commure .spread-axis em { color: var(--c-text-faint) !important; }
body.commure .spread-axis em[style*="accent"] { color: var(--c-accent-2) !important; }
body.commure .spread-legend { color: var(--c-text-dim); font-family: var(--c-font); }
body.commure .spread-caption { color: var(--c-text-dim); font-family: var(--c-font); }
body.commure .spread-caption strong { color: var(--c-ink); }

body.commure .lb-row {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-xs);
}
body.commure .lb-row .lb-name { color: var(--c-ink); font-family: var(--c-font); font-weight: 700; text-transform: none; }
body.commure .lb-row .lb-name small { color: var(--c-text-faint); font-family: var(--c-font); font-weight: 500; text-transform: none; }
body.commure .lb-bar-wrap { background: var(--c-bg-tint); }
body.commure .lb-bar { background: linear-gradient(90deg, #fca5a5, #fecaca); }
body.commure .lb-row.is-top .lb-bar { background: linear-gradient(90deg, var(--c-accent-2), var(--c-accent)); }
body.commure .lb-row.is-best .lb-bar { background: linear-gradient(90deg, var(--c-success), #6ee7b7); }
body.commure .lb-rate { color: var(--c-ink); font-family: var(--c-font); font-weight: 700; }
body.commure .lb-rate small { color: var(--c-text-faint); font-family: var(--c-font); font-weight: 500; text-transform: none; }
body.commure .leaderboard-footnote { color: var(--c-text-faint); font-family: var(--c-font); text-transform: none; letter-spacing: 0; font-size: 13px; }

body.commure .example-card-head { border-bottom: 1px solid var(--c-border-soft); }
body.commure .example-card-eyebrow { color: var(--c-text-dim); font-family: var(--c-font); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
body.commure .example-card-sub { color: var(--c-text-faint); font-family: var(--c-font); text-transform: none; letter-spacing: 0; font-size: 12px; }
body.commure .example-table th { color: var(--c-text-faint); font-family: var(--c-font); font-weight: 600; text-transform: none; letter-spacing: 0; border-bottom: 1px solid var(--c-border); }
body.commure .example-table td { color: var(--c-text); font-family: var(--c-font); border-bottom: 1px solid var(--c-border-soft); }
body.commure .example-table .cpt-cell { color: var(--c-accent-2); font-weight: 700; }
body.commure .example-table .delta-pos { color: var(--c-danger); }
body.commure .example-table .delta-neg { color: var(--c-success); }
body.commure .example-bar { background: var(--c-bg-tint); }
body.commure .example-bar > span { background: linear-gradient(90deg, #fca5a5, #fecaca); }
body.commure .example-foot { background: var(--c-bg-soft); color: var(--c-text-dim); border-top: 1px solid var(--c-border-soft); font-size: 14px; }
body.commure .example-foot strong { color: var(--c-ink); }

/* ICP block */
body.commure .icp-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-lg);
  box-shadow: var(--c-shadow-xs);
  padding: 30px 32px;
}
body.commure .icp-card.fit::before { background: var(--c-accent-2); }
body.commure .icp-card.unfit::before { background: var(--c-text-faint); }
body.commure .icp-card h3 { color: var(--c-ink); font-family: var(--c-font); text-transform: none; letter-spacing: -0.015em; font-size: 18px; }
body.commure .icp-card .sub { color: var(--c-text-faint); font-family: var(--c-font); text-transform: none; letter-spacing: 0; font-size: 12px; }
body.commure .icp-chip {
  font-family: var(--c-font);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border-soft);
  color: var(--c-text);
  font-weight: 500;
  font-size: 13px;
  border-radius: var(--c-radius-pill);
  padding: 6px 14px;
}
body.commure .icp-card.fit .icp-chip {
  background: var(--c-accent-tint);
  border-color: rgba(59,130,246,0.18);
  color: var(--c-accent-2);
}
body.commure .icp-card.unfit .icp-chip { color: var(--c-text-faint); }

/* Steps */
body.commure .steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
  max-width: 920px;
}
body.commure .step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-lg);
  padding: 24px 28px;
  box-shadow: var(--c-shadow-xs);
  transition: all var(--c-dur) var(--c-ease);
}
body.commure .step:hover {
  transform: translateY(-1px);
  box-shadow: var(--c-shadow-md);
  border-color: var(--c-text-faint);
}
body.commure .num-circle {
  width: 44px; height: 44px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--c-font);
}
body.commure .step-body h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
body.commure .step-body p { color: var(--c-text-dim); font-size: 15px; }

/* Pricing */
body.commure .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 960px) { body.commure .pricing-grid { grid-template-columns: 1fr; } }
body.commure .tier {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-xl);
  padding: 32px 30px 28px;
  box-shadow: var(--c-shadow-sm);
  position: relative;
  transition: all var(--c-dur) var(--c-ease);
}
body.commure .tier:hover { transform: translateY(-2px); box-shadow: var(--c-shadow-md); }
body.commure .tier.popular {
  background: linear-gradient(135deg, var(--c-bg-deep), var(--c-bg-deep-2));
  color: #fff;
  border: 1px solid transparent;
  box-shadow: var(--c-shadow-xl);
  transform: translateY(-8px);
}
body.commure .tier.popular .tier-name,
body.commure .tier.popular .tier-best,
body.commure .tier.popular li,
body.commure .tier.popular .cta-trust { color: rgba(255,255,255,0.85) !important; }
body.commure .tier.popular .tier-price { color: #fff; }
body.commure .tier.popular .tier-price .strike-pre,
body.commure .tier.popular .tier-price span[style*="line-through"] {
  color: rgba(255,255,255,0.45) !important;
  text-decoration-color: rgba(255,255,255,0.45) !important;
}
body.commure .tier .badge-pop {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--c-accent-2);
  color: #fff;
  border-radius: var(--c-radius-pill);
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
  box-shadow: var(--c-shadow-md);
}
body.commure .tier-name {
  font-family: var(--c-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-text-faint);
  text-transform: uppercase;
  margin-bottom: 14px;
}
body.commure .tier-price {
  font-family: var(--c-font);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  line-height: 1.05;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
body.commure .tier-price .per {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-faint);
  letter-spacing: -0.005em;
  margin-left: 4px;
}
body.commure .tier-best {
  font-size: 14.5px;
  color: var(--c-text-dim);
  line-height: 1.55;
  margin-bottom: 22px;
  min-height: 60px;
}
body.commure .tier ul { list-style: none; padding: 0; margin: 0 0 24px; }
body.commure .tier li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.5;
  border-top: 1px solid var(--c-border-soft);
}
body.commure .tier.popular li { border-top-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
body.commure .tier li:first-child { border-top: 0; }
body.commure .tier li::before {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--c-accent-tint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/10px no-repeat;
}
body.commure .tier.popular li::before {
  background: rgba(147,197,253,0.18) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/10px no-repeat;
}

body.commure .bill-toggle {
  display: inline-flex;
  background: var(--c-bg-tint);
  border-radius: var(--c-radius-pill);
  padding: 4px;
  margin: 16px 0 0;
  border: 1px solid var(--c-border-soft);
}
body.commure .bill-toggle-opt {
  border: none;
  background: transparent;
  padding: 8px 18px;
  font-family: var(--c-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-dim);
  border-radius: var(--c-radius-pill);
  cursor: pointer;
  letter-spacing: -0.005em;
}
body.commure .bill-toggle-opt.is-active {
  background: #fff;
  color: var(--c-ink);
  box-shadow: var(--c-shadow-xs);
}
body.commure .bill-toggle-save {
  background: var(--c-success);
  color: #fff;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10px;
  margin-left: 4px;
  font-weight: 700;
}

/* FAQ */
body.commure .faq {
  margin-top: 40px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.commure .faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-md);
  padding: 18px 24px;
  box-shadow: var(--c-shadow-xs);
}
body.commure .faq-q {
  font-family: var(--c-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  position: relative;
  padding-right: 32px;
  letter-spacing: -0.012em;
  line-height: 1.4;
}
body.commure .faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 24px;
  color: var(--c-text-faint);
  font-weight: 400;
  transition: transform var(--c-dur) var(--c-ease);
}
body.commure .faq-item.open .faq-q::after { transform: rotate(45deg); }
body.commure .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--c-ease), padding-top 320ms var(--c-ease);
  color: var(--c-text-dim);
  font-size: 15px;
  line-height: 1.65;
}
body.commure .faq-item.open .faq-a {
  max-height: 600px;
  padding-top: 12px;
}

/* Big CTA */
body.commure .big-cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--c-bg-deep), var(--c-bg-deep-2));
  border-radius: var(--c-radius-xl);
  color: #fff;
  margin-top: 60px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
body.commure .big-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(59,130,246,0.25), transparent 60%),
    radial-gradient(500px 280px at 80% 90%, rgba(139,92,246,0.20), transparent 65%);
  pointer-events: none;
}
body.commure .big-cta > * { position: relative; z-index: 1; }
body.commure .big-cta h2,
body.commure .big-cta .display { color: #fff; }
body.commure .big-cta h2 span,
body.commure .big-cta .display span {
  background: linear-gradient(135deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.commure .big-cta .lede { color: rgba(255,255,255,0.78); max-width: 720px; margin: 0 auto 32px; }
body.commure .big-cta .btn.primary {
  background: #fff;
  color: var(--c-ink);
  border-color: #fff;
}
body.commure .big-cta .btn.primary:hover { background: var(--c-bg-soft); color: var(--c-ink); }
body.commure .big-cta .footnote { color: rgba(255,255,255,0.6); margin-top: 18px; }
body.commure .big-cta .footnote a { color: #93c5fd; }

/* Live feed */
body.commure .live-feed {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-pill);
  color: var(--c-text-dim);
  font-family: var(--c-font);
  max-width: 1100px;
  padding: 12px 22px;
  margin: 24px auto 48px;
  box-shadow: var(--c-shadow-xs);
}
body.commure .live-feed-label { color: var(--c-success); letter-spacing: 0.06em; }
body.commure .live-feed-body strong { color: var(--c-ink); }
body.commure .live-feed-body code {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
  font-family: var(--c-mono);
  border-radius: 4px;
}

/* Opportunities block */
body.commure .opp-card { padding: 32px 32px; box-shadow: var(--c-shadow-sm); }
body.commure .opp-card .lbl { color: var(--c-accent-2); font-family: var(--c-font); text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; font-weight: 700; }
body.commure .opp-card h3 { color: var(--c-ink); }
body.commure .opp-card p { color: var(--c-text-dim); }
body.commure .opp-card .big-num {
  background: linear-gradient(135deg, var(--c-ink), var(--c-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
body.commure .opp-card .big-sub { color: var(--c-text-faint); font-family: var(--c-font); text-transform: none; letter-spacing: 0; font-size: 12.5px; }
body.commure .qband-track::before { background: var(--c-border); }
body.commure .qband-box {
  background: var(--c-accent-tint);
  border-color: var(--c-accent);
}
body.commure .qband-median { background: var(--c-accent-2); box-shadow: 0 0 12px rgba(59,130,246,0.45); }
body.commure .qband-median-tag { color: var(--c-accent-2); }
body.commure .qband-whisker { background: var(--c-text-faint); }
body.commure .qband-whisker::before,
body.commure .qband-whisker::after { background: var(--c-text-faint); }

/* Negotiation target / annual uplift block */
body.commure .opp-target {
  margin-top: 24px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
}
body.commure .opp-target-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-family: var(--c-font);
}
body.commure .opp-target-row.opp-target-divider {
  border-top: 1px dashed #bfdbfe;
  margin-top: 6px;
  padding-top: 16px;
}
body.commure .opp-target-lbl {
  font-size: 14px;
  color: var(--c-text-dim);
  font-weight: 500;
}
body.commure .opp-target-sub {
  font-size: 11px;
  color: var(--c-text-faint);
  letter-spacing: 0.02em;
  font-weight: 400;
}
body.commure .opp-target-val {
  font-size: 18px;
  color: var(--c-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
body.commure .opp-target-accent {
  color: var(--c-accent-2);
}
body.commure .opp-target-big {
  font-size: 26px;
  font-weight: 800;
  color: #15803d;
  letter-spacing: -0.02em;
}

/* Legacy-theme styles (dark mode fallback) */
.opp-target {
  margin-top: 24px;
  padding: 22px 24px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 14px;
}
.opp-target-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.opp-target-row.opp-target-divider { border-top: 1px dashed rgba(0,212,255,0.18); margin-top: 6px; padding-top: 16px; }
.opp-target-lbl { font-size: 14px; color: var(--text-dim); font-weight: 500; }
.opp-target-sub { font-size: 11px; color: var(--text-faint); letter-spacing: 0.02em; font-weight: 400; }
.opp-target-val { font-size: 18px; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.opp-target-accent { color: var(--accent); }
.opp-target-big { font-size: 26px; font-weight: 800; color: #34d399; }
body.commure .qband-axis { color: var(--c-text-faint); font-family: var(--c-font); }
body.commure .qband-title { color: var(--c-ink); font-family: var(--c-font); font-weight: 700; }
body.commure .qband-n { color: var(--c-text-faint); font-family: var(--c-font); text-transform: none; letter-spacing: 0; }
body.commure .qband-legend { color: var(--c-text-dim); font-family: var(--c-font); }
body.commure .qband-legend strong { color: var(--c-ink); }
body.commure .opp-foot {
  background: var(--c-bg-soft);
  border-color: var(--c-border);
  border-left: 3px solid var(--c-success);
  color: var(--c-text-dim);
  font-size: 14px;
}
body.commure .opp-foot strong { color: var(--c-ink); }
body.commure .opp-foot .mono { color: var(--c-text-faint); font-family: var(--c-mono); }

/* Footer */
body.commure .mkt-footer {
  background: var(--c-bg-deep);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 28px;
  margin-top: 80px;
}
body.commure .mkt-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 36px;
  padding: 0 32px;
}
@media (max-width: 960px) {
  body.commure .mkt-footer-inner { grid-template-columns: 1fr 1fr; }
  body.commure .mkt-footer-inner .col-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body.commure .mkt-footer-inner { grid-template-columns: 1fr; }
}
body.commure .mkt-footer h4 {
  color: #fff;
  font-family: var(--c-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
body.commure .mkt-footer ul { list-style: none; padding: 0; }
body.commure .mkt-footer li { margin-bottom: 10px; }
body.commure .mkt-footer a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
body.commure .mkt-footer a:hover { color: #fff; }
body.commure .mkt-footer .col-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; margin: 16px 0; }
body.commure .mkt-footer .col-brand img {
  height: 28px;
  filter: brightness(0) invert(1);
}
body.commure .mkt-footer .dim { color: rgba(255,255,255,0.4); font-size: 12px; }
body.commure .mkt-footer .legal {
  max-width: 1240px;
  margin: 48px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 12.5px;
}
body.commure .mkt-footer .family-col .verb {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ---------- App / Audit dashboard look (NEW · used inline) ---------- */
.c-dashboard {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-xl);
  box-shadow: var(--c-shadow-xl);
  padding: 0;
  max-width: 1180px;
  margin: 56px auto 0;
  overflow: hidden;
}
.c-dashboard-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; background: #fff;
  border-bottom: 1px solid var(--c-border-soft);
}
.c-dashboard-bar .left { display: inline-flex; align-items: center; gap: 12px; }
.c-dashboard-bar .dots { display: inline-flex; gap: 5px; }
.c-dashboard-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.c-dashboard-bar .url {
  font-family: var(--c-mono); font-size: 12px; color: var(--c-text-faint);
  background: var(--c-bg-soft); padding: 5px 10px; border-radius: 6px;
}
.c-dashboard-body {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 0;
  min-height: 540px;
}
.c-dashboard-side {
  background: #fff;
  border-right: 1px solid var(--c-border-soft);
  padding: 20px 16px;
}
.c-dashboard-side .nav-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 8px 18px;
  border-bottom: 1px solid var(--c-border-soft);
  margin-bottom: 14px;
}
.c-dashboard-side .nav-brand .b {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-violet));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 12px;
}
.c-dashboard-side .nav-brand .t {
  font-weight: 700; font-size: 14.5px; color: var(--c-ink);
  letter-spacing: -0.01em;
}
.c-dashboard-side a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px;
  color: var(--c-text-dim); font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
}
.c-dashboard-side a:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.c-dashboard-side a.is-active { background: var(--c-accent-tint); color: var(--c-accent-2); font-weight: 600; }
.c-dashboard-side a .ico {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: currentColor;
}
.c-dashboard-side .sec { margin-top: 18px; font-size: 11px; font-weight: 600; color: var(--c-text-faint); letter-spacing: 0.04em; text-transform: uppercase; padding: 0 10px 8px; }

.c-dashboard-main {
  padding: 24px 24px 26px;
  background: var(--c-bg-soft);
}
.c-dashboard-main .head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.c-dashboard-main .head h3 {
  font-size: 22px; font-weight: 700; color: var(--c-ink);
  letter-spacing: -0.022em; margin: 0;
}
.c-dashboard-main .head .meta { font-size: 12.5px; color: var(--c-text-faint); }
.c-dashboard-main .kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 18px;
}
.c-dashboard-main .kpi {
  background: #fff; border: 1px solid var(--c-border-soft);
  border-radius: 12px; padding: 14px 16px; box-shadow: var(--c-shadow-xs);
}
.c-dashboard-main .kpi .lbl { font-size: 11.5px; color: var(--c-text-faint); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.c-dashboard-main .kpi .val { font-size: 24px; font-weight: 800; color: var(--c-ink); margin-top: 4px; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.c-dashboard-main .kpi .delta { font-size: 12px; font-weight: 600; color: var(--c-success); }
.c-dashboard-main .kpi .delta.neg { color: var(--c-danger); }
.c-dashboard-main .grid-2 {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px;
}
.c-dashboard-main .panel {
  background: #fff; border: 1px solid var(--c-border-soft);
  border-radius: 14px; padding: 18px 18px 18px;
  box-shadow: var(--c-shadow-xs);
}
.c-dashboard-main .panel .panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.c-dashboard-main .panel-title { font-size: 14.5px; font-weight: 700; color: var(--c-ink); letter-spacing: -0.01em; }
.c-dashboard-main .panel-sub { font-size: 11.5px; color: var(--c-text-faint); }
.c-dashboard-main .panel-bars {
  display: flex; align-items: flex-end; gap: 10px; height: 156px;
  padding-top: 10px;
}
.c-dashboard-main .panel-bars .b {
  flex: 1; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--c-accent), #93c5fd);
}
.c-dashboard-main .panel-bars .b.tall { background: linear-gradient(180deg, var(--c-accent-2), var(--c-accent)); }
.c-dashboard-main .panel-bars .label-row {
  display: flex; gap: 10px; margin-top: 6px;
}
.c-dashboard-main .panel-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
}
.c-dashboard-main .panel-table th {
  text-align: left; color: var(--c-text-faint); font-weight: 600;
  border-bottom: 1px solid var(--c-border-soft);
  padding: 8px 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.02em;
}
.c-dashboard-main .panel-table td {
  padding: 10px 4px; border-bottom: 1px solid var(--c-border-soft);
  color: var(--c-text); font-variant-numeric: tabular-nums;
}
.c-dashboard-main .panel-table tr:last-child td { border-bottom: 0; }
.c-dashboard-main .panel-table .gap-pos { color: var(--c-danger); font-weight: 700; }
.c-dashboard-main .panel-table .gap-neg { color: var(--c-success); font-weight: 700; }
.c-dashboard-main .panel-table .cpt { color: var(--c-accent-2); font-weight: 700; }

@media (max-width: 880px) {
  .c-dashboard-body { grid-template-columns: 1fr; }
  .c-dashboard-side { display: none; }
  .c-dashboard-main .kpis { grid-template-columns: 1fr 1fr; }
  .c-dashboard-main .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Trust strip / logo bar ---------- */
.c-trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 40px; padding: 32px;
  border-top: 1px solid var(--c-border-soft);
  border-bottom: 1px solid var(--c-border-soft);
  background: var(--c-bg);
}
.c-trust-strip .item {
  font-family: var(--c-font); font-weight: 600;
  color: var(--c-text-faint); font-size: 14.5px;
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0.85;
}
.c-trust-strip .item img { height: 26px; opacity: 0.8; }

/* ---------- Generic content sections (story / methodology / what-data-we-use) ---------- */
body.commure .content-prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-text);
}
body.commure .content-prose h2 { margin: 56px 0 16px; font-size: 32px; }
body.commure .content-prose h3 { margin: 36px 0 10px; font-size: 22px; }
body.commure .content-prose p { margin: 0 0 16px; color: var(--c-text-dim); }
body.commure .content-prose strong { color: var(--c-ink); font-weight: 600; }
body.commure .content-prose blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-accent);
  border-radius: 0 12px 12px 0;
  color: var(--c-text);
  font-style: italic;
}

/* ---------- Scroll reveal animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  body.commure [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms var(--c-ease-out), transform 700ms var(--c-ease-out);
  }
  body.commure [data-reveal].is-in {
    opacity: 1;
    transform: translateY(0);
  }
  body.commure [data-reveal][data-delay="1"] { transition-delay: 80ms; }
  body.commure [data-reveal][data-delay="2"] { transition-delay: 160ms; }
  body.commure [data-reveal][data-delay="3"] { transition-delay: 240ms; }
  body.commure [data-reveal][data-delay="4"] { transition-delay: 320ms; }
}

/* ---------- Audit banner + topbar overrides ---------- */
body.commure .audit-banner,
body.commure .persona-banner {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  font-family: var(--c-font);
  font-weight: 500;
}
body.commure .topbar {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--c-border-soft) !important;
  box-shadow: var(--c-shadow-xs);
}
body.commure .topbar .brand,
body.commure .topbar .brand span { color: var(--c-ink); }
body.commure .topbar .brand span { color: var(--c-accent-2); }
body.commure .topbar .tier {
  color: var(--c-accent-2);
  border-color: rgba(59,130,246,0.25);
  background: var(--c-accent-tint);
  font-family: var(--c-font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.commure .topbar .tier.admin {
  background: linear-gradient(135deg, var(--c-success), #059669);
  color: #fff;
  border-color: var(--c-success);
}
body.commure .topbar .nav a { color: var(--c-text); font-family: var(--c-font); }
body.commure .topbar .nav a:hover,
body.commure .topbar .nav a.active {
  color: var(--c-ink);
  border-bottom-color: var(--c-accent);
}
body.commure .topbar .who { color: var(--c-text-faint); font-family: var(--c-font); }
body.commure .topbar .logout {
  color: var(--c-text); font-family: var(--c-font);
  border-color: var(--c-border);
  background: #fff;
}
body.commure .topbar .logout:hover { border-color: var(--c-danger); color: var(--c-danger); }

/* Audit content area light-mode */
body.commure .audit-shell,
body.commure .app-shell,
body.commure .layout,
body.commure .page,
body.commure main { background: var(--c-bg) !important; color: var(--c-text); }
body.commure .card,
body.commure .panel,
body.commure .module,
body.commure .tile {
  background: #fff !important;
  border: 1px solid var(--c-border) !important;
  color: var(--c-text);
  box-shadow: var(--c-shadow-xs);
  border-radius: var(--c-radius-md);
}
body.commure h1, body.commure h2, body.commure h3, body.commure h4 { color: var(--c-ink); }

/* Sidebar nav inside app shells */
body.commure .sidebar,
body.commure .side-nav,
body.commure aside.nav {
  background: #fff;
  border-right: 1px solid var(--c-border-soft);
  color: var(--c-text);
}
body.commure .sidebar a,
body.commure .side-nav a {
  color: var(--c-text);
}
body.commure .sidebar a:hover,
body.commure .side-nav a:hover { background: var(--c-bg-soft); color: var(--c-ink); }
body.commure .sidebar a.is-active,
body.commure .side-nav a.is-active {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
}

/* Tables in app */
body.commure table {
  background: #fff;
  color: var(--c-text);
}
body.commure th {
  background: var(--c-bg-soft);
  color: var(--c-text-faint);
  border-bottom: 1px solid var(--c-border);
  font-weight: 600;
}
body.commure td { border-bottom: 1px solid var(--c-border-soft); }

/* Inputs */
body.commure input,
body.commure select,
body.commure textarea {
  background: #fff;
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-sm);
  font-family: var(--c-font);
}
body.commure input:focus,
body.commure select:focus,
body.commure textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-tint);
}

/* Helper containers */
.c-container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.c-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* Number / counter helpers */
body.commure .viz-num { font-variant-numeric: tabular-nums; }

/* Mobile spacing */
@media (max-width: 760px) {
  body.commure .mkt-section { padding: 72px 22px; }
  body.commure .mkt-section.tight { padding: 56px 22px; }
  body.commure .mkt-nav { padding: 12px 18px; }
  body.commure .mkt-nav-links { display: none; }
  body.commure .gateway, body.commure .gateway--lockup { padding: 56px 22px 40px; }
  body.commure .gateway-inner { padding: 24px 0 12px; }
  body.commure h1, body.commure .display { font-size: 38px; }
  body.commure h2 { font-size: 30px; }
  body.commure .lede { font-size: 17px; }
  body.commure .big-cta { padding: 56px 24px; margin: 40px 16px; }
}

/* ================================================================
   Phase 1 — Deep app-shell widget makeover
   ----------------------------------------------------------------
   Overrides legacy dark-theme widget styles (db-*, neg-*, ov-*, ac-*,
   drawer-*, pyramid-*, feed-*, kpi-*, stat-card, screen-card, etc.)
   to true Commure light-theme fidelity. Scope: body.commure only.
   ================================================================ */

/* ---------- Dashboard: rate database list ---------- */
body.commure .db-section { background: transparent; }
body.commure .db-eyebrow {
  font-family: var(--c-font);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  font-weight: 600;
}
body.commure .db-title {
  font-family: var(--c-font);
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
body.commure .db-subtitle {
  font-family: var(--c-font);
  font-size: 13px;
  color: var(--c-text-faint);
  letter-spacing: 0;
}
body.commure .db-filter-bar {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--c-border-soft);
  box-shadow: var(--c-shadow-xs);
}
body.commure .db-filter-bar.scrolled {
  box-shadow: 0 6px 20px rgba(15,27,61,0.06);
}
body.commure .db-tabs {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border-soft);
  border-radius: 10px;
}
body.commure .db-tab {
  font-family: var(--c-font);
  color: var(--c-text-faint);
  letter-spacing: 0.08em;
  border-radius: 8px;
}
body.commure .db-tab:hover { color: var(--c-text); background: transparent; }
body.commure .db-tab.active {
  background: var(--c-bg-deep);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15,27,61,0.18);
}
body.commure .db-search-wrap input {
  background: #ffffff;
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  border-radius: 10px;
  font-family: var(--c-font);
}
body.commure .db-search-wrap input::placeholder { color: var(--c-text-faint); }
body.commure .db-search-wrap input:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-tint);
}
body.commure .db-search-wrap .db-search-icon { color: var(--c-text-faint); }
body.commure .db-sort-wrap select {
  background: #ffffff;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  border-radius: 10px;
  font-family: var(--c-font);
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
}
body.commure .db-sort-wrap select:focus { border-color: var(--c-accent); }
body.commure .db-row-count {
  font-family: var(--c-mono);
  color: var(--c-text-faint);
}
body.commure .db-list-container {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
  overflow: clip;
}
body.commure .db-thead {
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-faint);
  font-family: var(--c-font);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 600;
}
body.commure .db-row {
  border-bottom: 1px solid var(--c-border-soft);
  border-left: 3px solid transparent;
  background: #ffffff;
  transition: background var(--c-dur) var(--c-ease), border-left-color var(--c-dur) var(--c-ease);
}
body.commure .db-row:hover {
  background: var(--c-bg-soft);
  border-left-color: var(--c-accent);
}
body.commure .db-row.db-row-unlocked {
  background: linear-gradient(180deg, rgba(16,185,129,0.05), rgba(16,185,129,0.01));
  border-left-color: var(--c-success);
}
body.commure .db-row.db-row-unlocked:hover {
  background: linear-gradient(180deg, rgba(16,185,129,0.09), rgba(16,185,129,0.02));
}
body.commure .db-row.db-row-expanded { border-left-color: var(--c-accent); }
body.commure .db-cpt { font-family: var(--c-mono); color: var(--c-accent-2); font-weight: 700; }
body.commure .db-desc { font-family: var(--c-font); color: var(--c-ink); font-weight: 500; }
body.commure .db-payer-chip { font-family: var(--c-mono); color: var(--c-text-faint); }
body.commure .db-payer-label { font-family: var(--c-font); color: var(--c-text-dim); }
body.commure .db-uplift-num {
  font-family: var(--c-mono);
  font-weight: 800;
  color: var(--c-success);
  letter-spacing: -0.01em;
}
body.commure .db-uplift-num.blurred {
  background: linear-gradient(90deg, rgba(15,27,61,0.06), rgba(15,27,61,0.03));
  color: var(--c-text-dim);
  filter: blur(6px);
}
body.commure .db-uplift-mo { font-family: var(--c-mono); color: var(--c-text-faint); }
body.commure .db-conf.high { background: var(--c-success); box-shadow: 0 0 0 3px rgba(16,185,129,0.16); }
body.commure .db-conf.mod  { background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-tint); }
body.commure .db-conf.low  { background: var(--c-warn); box-shadow: 0 0 0 3px rgba(245,158,11,0.16); }
body.commure .db-conf.unav { background: var(--c-text-faint); }
body.commure .db-action {
  font-family: var(--c-font);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-accent-2);
  background: var(--c-accent-tint);
  border: 1px solid rgba(59,130,246,0.30);
  border-radius: 8px;
  font-weight: 600;
  transition: all var(--c-dur) var(--c-ease);
}
body.commure .db-action:hover {
  background: var(--c-accent-2);
  color: #ffffff;
  border-color: var(--c-accent-2);
  transform: translateY(-1px);
  box-shadow: var(--c-shadow-sm);
}
body.commure .db-action.upsell {
  background: rgba(245,158,11,0.10);
  color: #b45309;
  border-color: rgba(245,158,11,0.32);
}
body.commure .db-action.upsell:hover { background: var(--c-warn); color: #fff; border-color: var(--c-warn); }
body.commure .db-action.unlocked {
  background: rgba(16,185,129,0.10);
  color: #047857;
  border-color: rgba(16,185,129,0.32);
}
body.commure .db-action.live {
  background: rgba(16,185,129,0.06);
  color: var(--c-success);
  border-color: rgba(16,185,129,0.24);
}
body.commure .db-pinned-head .dph-label {
  font-family: var(--c-font);
  color: var(--c-success);
  letter-spacing: 0.10em;
}
body.commure .db-pinned-head .dph-count {
  font-family: var(--c-mono);
  color: var(--c-text-faint);
}

/* Row expand panel — light surface */
body.commure .db-expand {
  background: var(--c-bg-soft) !important;
  border-top: 1px solid var(--c-border-soft);
  color: var(--c-text);
}
body.commure .db-expand-label {
  font-family: var(--c-font);
  color: var(--c-text-faint);
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 600;
}
body.commure .db-expand-val { font-family: var(--c-mono); color: var(--c-ink); font-weight: 600; }
body.commure .db-expand-sub { font-family: var(--c-font); color: var(--c-text-faint); }
body.commure .db-expand-math { font-family: var(--c-font); color: var(--c-text-dim); }
body.commure .db-expand-math strong { color: var(--c-ink); }
body.commure .db-uplift-big {
  font-family: var(--c-mono);
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-success), #059669);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: none;
  letter-spacing: -0.02em;
}

/* Volume / target inputs inside expand */
body.commure .db-vol-input {
  background: #ffffff;
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  font-family: var(--c-mono);
  border-radius: 8px;
}
body.commure .db-vol-input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-tint); }
body.commure .db-vol-label { font-family: var(--c-font); color: var(--c-text-faint); letter-spacing: 0.04em; }

/* Rate scale visualization — light surface */
body.commure .db-scale-container {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  box-shadow: var(--c-shadow-sm);
  backdrop-filter: none;
}
body.commure .db-scale-caption { font-family: var(--c-font); color: var(--c-text-dim); }
body.commure .db-scale-caption .cap-star { color: var(--c-warn); }
body.commure .db-scale-title {
  font-family: var(--c-font);
  color: var(--c-ink);
  letter-spacing: 0.06em;
  font-size: 13px;
}
body.commure .db-scale-title strong { color: var(--c-accent-2); }
body.commure .db-scale-title span { color: var(--c-text-faint); }
body.commure .db-scale-track {
  background: #eef2f7;
  box-shadow: inset 0 0 0 1px var(--c-border-soft);
}
body.commure .db-scale-zone.red     { background: rgba(239,68,68,0.10); }
body.commure .db-scale-zone.neutral { background: rgba(59,130,246,0.10); }
body.commure .db-scale-zone.green   { background: rgba(16,185,129,0.10); }
body.commure .db-scale-iqr {
  background: linear-gradient(90deg, var(--c-accent-2), var(--c-accent));
  box-shadow: 0 0 0 1px rgba(59,130,246,0.20);
}
body.commure .db-scale-dot {
  border: 2px solid #ffffff;
  box-shadow: var(--c-shadow-md);
}
body.commure .db-scale-dot.yours {
  background: var(--c-ink);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15,27,61,0.10), var(--c-shadow-md);
}
body.commure .db-scale-dot.median {
  background: var(--c-text-faint);
  border: none;
}
body.commure .db-scale-dot.target {
  background: transparent;
  color: #d97706;
  border: none;
  text-shadow: 0 1px 8px rgba(217,119,6,0.45);
}
body.commure .db-scale-dot.target:hover {
  text-shadow: 0 2px 12px rgba(217,119,6,0.65);
}
body.commure .db-scale-label { font-family: var(--c-mono); color: var(--c-text-faint); }
body.commure .db-scale-label.target-lbl { color: #b45309; font-weight: 700; }
body.commure .db-scale-label.yours-lbl { color: var(--c-ink); font-weight: 700; }
body.commure .db-scale-axis { font-family: var(--c-mono); color: var(--c-text-faint); }
body.commure .db-scale-gap-row {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.22);
  border-radius: 10px;
}
body.commure .db-scale-gap-lbl { font-family: var(--c-mono); color: #b45309; font-weight: 700; }
body.commure .db-scale-gap-detail { font-family: var(--c-font); color: var(--c-text-faint); }

/* Empty / not-ready state */
body.commure .db-empty {
  background: #ffffff;
  border: 1px dashed var(--c-border);
  color: var(--c-text-faint);
  font-family: var(--c-font);
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-xs);
}
body.commure .db-empty .dbe-title { font-family: var(--c-font); color: var(--c-ink); font-weight: 700; }
body.commure .db-empty .dbe-sub { color: var(--c-text-dim); }

/* Upgrade strip */
body.commure .db-upgrade-strip {
  background: linear-gradient(135deg, var(--c-accent-tint), rgba(139,92,246,0.06));
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: var(--c-radius-md);
}
body.commure .db-upgrade-strip .dus-text { color: var(--c-text-dim); font-family: var(--c-font); }
body.commure .db-upgrade-strip .dus-text strong { color: var(--c-ink); }
body.commure .db-upgrade-strip a {
  background: var(--c-accent-2);
  color: #ffffff;
  border-color: var(--c-accent-2);
  font-family: var(--c-font);
  letter-spacing: 0.06em;
  transition: all var(--c-dur) var(--c-ease);
}
body.commure .db-upgrade-strip a:hover {
  background: var(--c-bg-deep);
  border-color: var(--c-bg-deep);
  transform: translateY(-1px);
  box-shadow: var(--c-shadow-sm);
}

/* ---------- Dashboard: negotiation panel (neg-*) ---------- */
body.commure .neg-panel,
body.commure .neg-strategy {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
  backdrop-filter: none;
}
body.commure .neg-panel-title {
  font-family: var(--c-font);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  font-weight: 700;
}
body.commure .neg-panel-title .np-badge {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
  border-color: rgba(59,130,246,0.30);
  font-family: var(--c-font);
  font-weight: 600;
}
body.commure .neg-winning {
  background: linear-gradient(135deg, rgba(16,185,129,0.10), rgba(16,185,129,0.02));
  border: 1px solid rgba(16,185,129,0.30);
}
body.commure .neg-winning .nw-text { color: #047857; font-family: var(--c-font); }
body.commure .neg-winning .nw-text strong { color: var(--c-ink); }
body.commure .neg-tier-divider { background: var(--c-border-soft); }
body.commure .neg-row.primary .nr-label,
body.commure .neg-row.secondary .nr-label,
body.commure .neg-row.regulatory .nr-label {
  font-family: var(--c-font);
  color: var(--c-text-faint);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 11.5px;
}
body.commure .neg-row.primary .nr-val { font-family: var(--c-mono); color: var(--c-ink); font-weight: 700; }
body.commure .neg-row.primary .nr-val.your-rate { color: var(--c-ink); }
body.commure .neg-row.primary .nr-val.local-median { color: var(--c-accent-2); }
body.commure .neg-row.primary .nr-val.local-p75,
body.commure .neg-row.primary .nr-val.target { color: #b45309; }
body.commure .neg-row.primary .nr-note { font-family: var(--c-font); color: var(--c-text-faint); }
body.commure .neg-row.primary .nr-star { color: #d97706; }
body.commure .neg-row.secondary .nr-val { font-family: var(--c-mono); color: var(--c-text-dim); font-weight: 600; }
body.commure .neg-row.secondary .nr-note { font-family: var(--c-font); color: var(--c-text-faint); }
body.commure .neg-row.regulatory .nr-val { font-family: var(--c-mono); color: var(--c-text-faint); font-weight: 500; }
body.commure .neg-row.regulatory .nr-note { font-family: var(--c-font); color: var(--c-text-faint); }
body.commure .neg-tier-heading {
  font-family: var(--c-font);
  color: var(--c-text-faint);
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--c-border-soft);
}
body.commure .neg-computing {
  font-family: var(--c-font);
  color: var(--c-accent-2);
  background: var(--c-accent-tint);
  border: 1px solid rgba(59,130,246,0.28);
}
body.commure .neg-tip-icon {
  background: #ffffff;
  border: 1px solid var(--c-border);
  color: var(--c-text-faint);
  font-family: var(--c-mono);
}
body.commure .neg-tip-icon:hover { border-color: var(--c-accent); color: var(--c-accent-2); }
body.commure .neg-tip-panel {
  background: #ffffff;
  border: 1px solid var(--c-border);
  box-shadow: var(--c-shadow-lg);
  color: var(--c-text);
}
body.commure .neg-tip-panel .ntp-label { font-family: var(--c-font); color: var(--c-accent-2); letter-spacing: 0.08em; font-weight: 700; }
body.commure .neg-tip-panel .ntp-body { color: var(--c-text); }
body.commure .neg-tip-panel .ntp-source { font-family: var(--c-mono); color: var(--c-text-faint); border-top: 1px solid var(--c-border-soft); }
body.commure .neg-detail-panel {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border-soft);
  border-radius: 10px;
}
body.commure .neg-detail-label { font-family: var(--c-font); color: var(--c-accent-2); letter-spacing: 0.08em; font-weight: 700; }
body.commure .neg-detail-body { color: var(--c-text); }
body.commure .neg-detail-source { font-family: var(--c-mono); color: var(--c-text-faint); border-top: 1px solid var(--c-border-soft); }
body.commure .neg-drill-btn { color: var(--c-accent-2); font-family: var(--c-font); }
body.commure .neg-strategy-title { font-family: var(--c-font); color: var(--c-accent-2); letter-spacing: 0.04em; font-weight: 700; }
body.commure .nstr-body { font-family: var(--c-font); color: var(--c-text); line-height: 1.7; }
body.commure .nstr-body strong { color: var(--c-ink); }
body.commure .nstr-num { font-family: var(--c-mono); color: #b45309; }

/* Counteroffer memo upsell card */
body.commure .neg-memo-card {
  background: #ffffff;
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
  transition: box-shadow var(--c-dur) var(--c-ease), transform var(--c-dur) var(--c-ease);
}
body.commure .neg-memo-card:hover {
  box-shadow: var(--c-shadow-md);
  transform: translateY(-1px);
}
body.commure .nmc-title { color: var(--c-ink); font-family: var(--c-font); font-weight: 700; }
body.commure .nmc-body { color: var(--c-text-dim); font-family: var(--c-font); }
body.commure .nmc-price { font-family: var(--c-mono); color: var(--c-text-faint); }
body.commure .nmc-btn {
  background: var(--c-accent-2);
  color: #ffffff;
  border: 1px solid var(--c-accent-2);
  font-family: var(--c-font);
  border-radius: 10px;
}
body.commure .nmc-btn:hover {
  background: var(--c-bg-deep);
  border-color: var(--c-bg-deep);
  box-shadow: var(--c-shadow-sm);
}

/* ---------- KPI tiles, stat cards, screen cards ---------- */
body.commure .stat-card,
body.commure .kpi-card,
body.commure .screen-card {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
  padding: 22px;
  transition: transform var(--c-dur) var(--c-ease), box-shadow var(--c-dur) var(--c-ease);
}
body.commure .stat-card:hover,
body.commure .kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--c-shadow-md);
}
body.commure .stat-card .lbl,
body.commure .kpi-label,
body.commure .sc-title {
  font-family: var(--c-font);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  font-weight: 600;
}
body.commure .stat-card .val,
body.commure .kpi-value,
body.commure .sc-num {
  font-family: var(--c-font);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1.05;
}
body.commure .stat-card .val.accent,
body.commure .kpi-value.accent {
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.commure .stat-card .sub,
body.commure .kpi-sub,
body.commure .sc-desc {
  font-family: var(--c-font);
  color: var(--c-text-dim);
  font-size: 13px;
  margin-top: 6px;
}
body.commure .stat-card .src-lbl {
  font-family: var(--c-mono);
  color: var(--c-text-faint);
}

/* ---------- Admin: overview hero + KPIs ---------- */
body.commure .ov-hero {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--c-radius-lg);
  box-shadow: var(--c-shadow-md);
}
body.commure .ov-hero::before {
  background: radial-gradient(ellipse 60% 80% at -10% 50%, rgba(59,130,246,0.08) 0%, transparent 70%);
}
body.commure .ov-hero-mrr-label,
body.commure .ov-hero-stat-label,
body.commure .ov-hero-pulse-label {
  font-family: var(--c-font);
  color: var(--c-text-faint);
  letter-spacing: 0.10em;
  font-weight: 600;
}
body.commure .ov-hero-mrr-value {
  font-family: var(--c-font);
  font-weight: 900;
  color: var(--c-ink);
  letter-spacing: -0.03em;
}
body.commure .ov-hero-mrr-value.has-mrr {
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: none;
}
body.commure .ov-hero-stat-value,
body.commure .ov-hero-pulse-value {
  font-family: var(--c-font);
  font-weight: 800;
  color: var(--c-ink);
}
body.commure .ov-hero-stat-sub,
body.commure .ov-hero-pulse-sub {
  font-family: var(--c-font);
  color: var(--c-text-dim);
}
body.commure .ov-hero-divider { background: var(--c-border); }
body.commure .ov-kpi {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
  transition: transform var(--c-dur) var(--c-ease), box-shadow var(--c-dur) var(--c-ease);
}
body.commure .ov-kpi:hover { transform: translateY(-2px); box-shadow: var(--c-shadow-md); }
body.commure .ov-kpi-label { font-family: var(--c-font); color: var(--c-text-faint); letter-spacing: 0.10em; }
body.commure .ov-kpi-value { font-family: var(--c-font); color: var(--c-ink); font-weight: 800; }
body.commure .ov-kpi-sub { font-family: var(--c-font); color: var(--c-text-dim); }

/* ---------- Admin: sidebar + topbar overrides ---------- */
body.commure .sidebar,
body.commure aside.sidebar {
  background: #ffffff !important;
  border-right: 1px solid var(--c-border-soft) !important;
  color: var(--c-text);
}
body.commure .sidebar-brand,
body.commure .sidebar-logo {
  color: var(--c-ink);
  font-family: var(--c-font);
}
body.commure .sidebar-head { border-bottom: 1px solid var(--c-border-soft); }
body.commure .sidebar-user {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border-soft);
  border-radius: 10px;
}
body.commure .sidebar-name { color: var(--c-ink); font-family: var(--c-font); font-weight: 600; }
body.commure .sidebar-email { color: var(--c-text-faint); font-family: var(--c-mono); }
body.commure .sidebar-nav { gap: 2px; }
body.commure .nav-item {
  color: var(--c-text);
  font-family: var(--c-font);
  border-radius: 10px;
  font-size: 13px;
}
body.commure .nav-item:hover {
  background: var(--c-bg-soft);
  color: var(--c-ink);
}
body.commure .nav-item.active,
body.commure .nav-item.is-active {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
}
body.commure .nav-badge {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
  border: 1px solid rgba(59,130,246,0.24);
  font-family: var(--c-font);
}
body.commure .nav-badge.warn {
  background: rgba(245,158,11,0.12);
  color: #b45309;
  border-color: rgba(245,158,11,0.28);
}
body.commure .sidebar-footer { border-top: 1px solid var(--c-border-soft); color: var(--c-text-faint); }
body.commure .sidebar-shortcuts { color: var(--c-text-faint); font-family: var(--c-mono); }
body.commure .sidebar-shortcut-hint kbd {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  color: var(--c-text-dim);
  font-family: var(--c-mono);
}

/* Admin topbar (id=#topbar) — distinct from .topbar */
body.commure #topbar {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--c-border-soft) !important;
  box-shadow: var(--c-shadow-xs);
}
body.commure .admin-banner {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  color: #92400e;
  border-bottom: 1px solid #fed7aa;
  font-family: var(--c-font);
  font-weight: 500;
}

/* ---------- Admin: tables ---------- */
body.commure th {
  background: var(--c-bg-soft) !important;
  color: var(--c-text-faint) !important;
  border-bottom: 1px solid var(--c-border) !important;
  font-family: var(--c-font);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
body.commure tbody tr td { color: var(--c-text); }
body.commure tbody tr:hover td {
  background: var(--c-bg-soft) !important;
  color: var(--c-ink);
}

/* Pills & badges */
body.commure .pill.trial,
body.commure .tier-badge.trial,
body.commure .cs-chip.trial {
  background: rgba(107,114,128,0.12);
  color: #4b5563;
  border: 1px solid rgba(107,114,128,0.22);
}
body.commure .pill.paid,
body.commure .tier-badge.snapshot_paid,
body.commure .cs-chip.paid {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
  border: 1px solid rgba(59,130,246,0.28);
}
body.commure .pill.pro,
body.commure .tier-badge.pro,
body.commure .cs-chip.pro {
  background: rgba(16,185,129,0.12);
  color: #047857;
  border: 1px solid rgba(16,185,129,0.26);
}
body.commure .pill.enterprise,
body.commure .tier-badge.enterprise,
body.commure .cs-chip.enterprise {
  background: rgba(139,92,246,0.12);
  color: #6d28d9;
  border: 1px solid rgba(139,92,246,0.26);
}
body.commure .cs-chip.mrr {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
  border: 1px solid rgba(59,130,246,0.24);
  font-weight: 700;
}
body.commure .risk-badge {
  background: rgba(245,158,11,0.12);
  color: #b45309;
  border: 1px solid rgba(245,158,11,0.28);
  font-family: var(--c-font);
  font-weight: 700;
}
body.commure .urgency-badge.high {
  background: rgba(239,68,68,0.10);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.28);
}
body.commure .urgency-badge.med {
  background: rgba(245,158,11,0.10);
  color: #b45309;
  border: 1px solid rgba(245,158,11,0.28);
}
body.commure .urgency-badge.low {
  background: rgba(16,185,129,0.10);
  color: #047857;
  border: 1px solid rgba(16,185,129,0.28);
}
body.commure .grade-A {
  background: rgba(16,185,129,0.14);
  color: #047857;
  border: 2px solid rgba(16,185,129,0.32);
}
body.commure .grade-B {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
  border: 2px solid rgba(59,130,246,0.30);
}
body.commure .grade-C {
  background: rgba(245,158,11,0.12);
  color: #b45309;
  border: 2px solid rgba(245,158,11,0.30);
}
body.commure .ca-badge {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
  border: 1px solid rgba(59,130,246,0.24);
  font-family: var(--c-mono);
}

/* ---------- Admin: drawer ---------- */
body.commure #drawer-overlay {
  background: rgba(15,27,61,0.36);
  backdrop-filter: blur(4px);
}
body.commure #customer-drawer {
  background: #ffffff !important;
  border-left: 1px solid var(--c-border) !important;
  box-shadow: var(--c-shadow-xl);
}
body.commure .drawer-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--c-border-soft);
  backdrop-filter: blur(12px);
}
body.commure .drawer-avatar {
  background: linear-gradient(135deg, var(--c-accent-tint), rgba(139,92,246,0.16));
  border: 1px solid rgba(59,130,246,0.30);
  color: var(--c-accent-2);
  font-family: var(--c-font);
}
body.commure .drawer-name { color: var(--c-ink); font-family: var(--c-font); }
body.commure .drawer-email { color: var(--c-text-faint); font-family: var(--c-mono); }
body.commure .drawer-copy-btn { color: var(--c-text-faint); }
body.commure .drawer-copy-btn:hover { color: var(--c-accent-2); }
body.commure .drawer-close {
  background: #ffffff;
  border: 1px solid var(--c-border);
  color: var(--c-text-dim);
}
body.commure .drawer-close:hover { border-color: var(--c-accent); color: var(--c-accent-2); }
body.commure .drawer-section-title {
  font-family: var(--c-font);
  color: var(--c-text-faint);
  letter-spacing: 0.10em;
  font-weight: 700;
  border-bottom: 1px solid var(--c-border-soft);
}
body.commure .drawer-field .lbl { color: var(--c-text-faint); font-family: var(--c-font); }
body.commure .drawer-field .val { color: var(--c-text); font-family: var(--c-mono); }
body.commure .drawer-field .val.em { color: var(--c-ink); font-weight: 700; }
body.commure .drawer-snap-row {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border-soft);
  border-radius: 10px;
}
body.commure .drawer-snap-date { font-family: var(--c-mono); color: var(--c-text-faint); }
body.commure .drawer-snap-val { font-family: var(--c-mono); color: var(--c-success); font-weight: 700; }

/* Modals */
body.commure .modal-overlay {
  background: rgba(15,27,61,0.50);
  backdrop-filter: blur(6px);
}
body.commure .modal,
body.commure .modal-body {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  color: var(--c-text);
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-xl);
}
body.commure .modal-header,
body.commure .modal-footer {
  border-color: var(--c-border-soft) !important;
}
body.commure .modal-title { color: var(--c-ink); font-family: var(--c-font); font-weight: 700; }
body.commure .modal-close { color: var(--c-text-dim); }
body.commure .modal-close:hover { color: var(--c-ink); }

/* ---------- Admin: action queue + feed ---------- */
body.commure .action-queue,
body.commure .ac-item {
  border-radius: 10px;
}
body.commure .ac-item:hover,
body.commure .ac-item.focused {
  background: var(--c-bg-soft) !important;
}
body.commure .ac-name { color: var(--c-ink); font-family: var(--c-font); font-weight: 600; }
body.commure .ac-meta { color: var(--c-text-faint); font-family: var(--c-mono); }
body.commure .ac-badge {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
  border: 1px solid rgba(59,130,246,0.24);
  font-family: var(--c-font);
}
body.commure .ac-badge.no-data {
  background: rgba(107,114,128,0.10);
  color: var(--c-text-faint);
  border: 1px solid rgba(107,114,128,0.22);
}
body.commure .feed-item {
  border-bottom: 1px solid var(--c-border-soft);
}
body.commure .feed-item:hover {
  background: var(--c-bg-soft) !important;
}
body.commure .feed-time { font-family: var(--c-mono); color: var(--c-text-faint); }
body.commure .feed-desc { font-family: var(--c-font); color: var(--c-text); }
body.commure .feed-recovery { font-family: var(--c-mono); color: var(--c-success); font-weight: 700; }
body.commure .feed-dot { background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-tint); }

/* Health score */
body.commure .health-score-bar-bg {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border-soft);
}
body.commure .health-score-bar-fill {
  background: linear-gradient(90deg, var(--c-success), #34d399);
}

/* Pyramid (revenue tier bars) */
body.commure .pyramid-tier:hover { background: var(--c-bg-soft) !important; }
body.commure .pyramid-bar-bg {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border-soft);
}
body.commure .pyramid-bar-fill {
  background: linear-gradient(90deg, var(--c-accent-2), var(--c-accent));
}
body.commure .pyramid-label { color: var(--c-ink); font-family: var(--c-font); }
body.commure .pyramid-count { color: var(--c-text); font-family: var(--c-mono); }
body.commure .pyramid-mrr { color: var(--c-success); font-family: var(--c-mono); font-weight: 700; }

/* Spark dots / status */
body.commure .spark-dot.off { background: var(--c-border); }
body.commure .api-status-dot { box-shadow: 0 0 0 3px rgba(16,185,129,0.16); }

/* ---------- Tease section (CPT teaser table) ---------- */
body.commure .tease-eyebrow {
  font-family: var(--c-font);
  color: var(--c-accent-2);
  letter-spacing: 0.16em;
  font-weight: 600;
}
body.commure .tease-h2 { font-family: var(--c-font); color: var(--c-ink); font-weight: 800; }
body.commure .tease-subcopy { color: var(--c-text-dim); font-family: var(--c-font); }
body.commure .tease-filter {
  background: #ffffff;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-family: var(--c-font);
  border-radius: 10px;
}
body.commure .tease-filter:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-tint); }
body.commure .tease-table {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
}
body.commure .tease-row {
  border-bottom: 1px solid var(--c-border-soft);
  font-family: var(--c-font);
}
body.commure .tease-row:hover { background: var(--c-bg-soft); }
body.commure .r-code { font-family: var(--c-mono); color: var(--c-accent-2); font-weight: 700; }
body.commure .r-desc { color: var(--c-ink); font-family: var(--c-font); }

/* ---------- Common practice/profile/onboarding components ---------- */
body.commure .practice-context-card,
body.commure .preview-card,
body.commure .confirm-card,
body.commure .callout-card,
body.commure .milestone-card,
body.commure .hero-recovery-card {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
  color: var(--c-text);
}
body.commure .pcc-name { color: var(--c-ink); font-family: var(--c-font); font-weight: 700; }
body.commure .pcc-meta { color: var(--c-text-faint); font-family: var(--c-mono); }
body.commure .pcc-stat-label { color: var(--c-text-faint); font-family: var(--c-font); letter-spacing: 0.08em; }
body.commure .pcc-stat-val { color: var(--c-ink); font-family: var(--c-mono); font-weight: 700; }

/* Hero amount, hero chips, gap chips */
body.commure .hero-eyebrow {
  font-family: var(--c-font);
  color: var(--c-accent-2);
  letter-spacing: 0.16em;
  font-weight: 600;
}
body.commure .hero-h1 { color: var(--c-ink); font-family: var(--c-font); font-weight: 800; }
body.commure .hero-lede { color: var(--c-text-dim); font-family: var(--c-font); }
body.commure .hero-amount {
  font-family: var(--c-font);
  font-weight: 900;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
body.commure .hero-sub { color: var(--c-text-dim); font-family: var(--c-font); }
body.commure .hero-chip,
body.commure .gap-chip,
body.commure .proof-chip {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
  border: 1px solid rgba(59,130,246,0.24);
  font-family: var(--c-font);
  font-weight: 600;
  border-radius: var(--c-radius-pill);
}

/* Form fields, inputs, labels */
body.commure .form-group .form-label,
body.commure .field .lbl,
body.commure .form-label {
  color: var(--c-text-faint);
  font-family: var(--c-font);
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
}
body.commure .form-input,
body.commure .search-input,
body.commure .cc-input {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  color: var(--c-ink) !important;
  font-family: var(--c-font);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}
body.commure .form-input:focus,
body.commure .search-input:focus,
body.commure .cc-input:focus {
  border-color: var(--c-accent) !important;
  box-shadow: 0 0 0 3px var(--c-accent-tint) !important;
  outline: none;
}
body.commure .field-help { color: var(--c-text-faint); font-family: var(--c-font); }

/* CPT picker / autocomplete */
body.commure .autocomplete-drop,
body.commure .cpt-results {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  box-shadow: var(--c-shadow-md);
}
body.commure .cpt-result-row { color: var(--c-text); font-family: var(--c-font); }
body.commure .cpt-result-row:hover { background: var(--c-bg-soft); color: var(--c-ink); }
body.commure .cpt-code-list { background: var(--c-bg-soft); border-radius: 10px; }
body.commure .cpt-code-row,
body.commure .cpt-one-code {
  font-family: var(--c-mono);
  color: var(--c-accent-2);
  font-weight: 700;
}
body.commure .cpt-one-desc { color: var(--c-text); font-family: var(--c-font); }
body.commure .cpt-one-info { color: var(--c-text-faint); font-family: var(--c-mono); }
body.commure .cpt-picker-label { color: var(--c-ink); font-family: var(--c-font); font-weight: 600; }
body.commure .cpt-picker-sub { color: var(--c-text-faint); font-family: var(--c-font); }

/* Coverage hero, customer stats bar */
body.commure .coverage-hero,
body.commure .customer-stats-bar {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
}
body.commure .cov-stat-label { color: var(--c-text-faint); font-family: var(--c-font); letter-spacing: 0.08em; }
body.commure .cov-stat-val { color: var(--c-ink); font-family: var(--c-font); font-weight: 800; }
body.commure .cov-stat-sub { color: var(--c-text-dim); font-family: var(--c-font); }

/* Search tabs / filter tabs */
body.commure .filter-tabs,
body.commure .search-tabs,
body.commure .mob-tabs {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border-soft);
  border-radius: 10px;
  padding: 3px;
}
body.commure .filter-tab,
body.commure .mob-tab {
  font-family: var(--c-font);
  color: var(--c-text-faint);
  letter-spacing: 0.06em;
  border-radius: 8px;
}
body.commure .filter-tab:hover,
body.commure .mob-tab:hover { color: var(--c-text); }
body.commure .filter-tab.active,
body.commure .mob-tab.active {
  background: var(--c-bg-deep);
  color: #ffffff;
}

/* Empty state */
body.commure .empty-state,
body.commure .empty {
  background: #ffffff;
  border: 1px dashed var(--c-border);
  color: var(--c-text-faint);
  border-radius: var(--c-radius-md);
  font-family: var(--c-font);
  padding: 48px 24px;
  text-align: center;
}
body.commure .empty-title { color: var(--c-ink); font-family: var(--c-font); font-weight: 700; }
body.commure .empty-sub { color: var(--c-text-dim); font-family: var(--c-font); }
body.commure .empty-icon { color: var(--c-text-faint); }

/* Skeleton loaders — light variant */
body.commure .skel,
body.commure .skel-text,
body.commure .skel-line,
body.commure .skel-pill,
body.commure .skel-row,
body.commure .skel-card {
  background: linear-gradient(90deg, var(--c-bg-soft) 0%, rgba(15,27,61,0.04) 50%, var(--c-bg-soft) 100%);
  background-size: 200% 100%;
  animation: cShimmer 1.6s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes cShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Welcome flash banner */
body.commure .welcome-flash {
  background: linear-gradient(135deg, var(--c-success), #34d399);
  color: #ffffff;
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-md);
  font-family: var(--c-font);
}

/* Method callout (audit pages) */
body.commure .method-callout {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
  color: var(--c-text);
}

/* Bundle grid (app-bundles) */
body.commure .bundle-grid .bundle,
body.commure .bundle {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
  transition: transform var(--c-dur) var(--c-ease), box-shadow var(--c-dur) var(--c-ease);
}
body.commure .bundle:hover { transform: translateY(-2px); box-shadow: var(--c-shadow-md); }

/* Memo iframe topbar (contract review) */
body.commure .memo-topbar {
  background: #ffffff !important;
  border-bottom: 1px solid var(--c-border-soft) !important;
  color: var(--c-text);
}
body.commure .memo-iframe {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
}

/* Section headers in app pages */
body.commure .section-eyebrow,
body.commure .sec-hd {
  font-family: var(--c-font);
  color: var(--c-accent-2);
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
}
body.commure .section-h,
body.commure .sec-title {
  font-family: var(--c-font);
  color: var(--c-ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Login / set-password page polish */
body.commure .anon-strip,
body.commure .as-icon,
body.commure .anon {
  color: var(--c-text-faint);
  font-family: var(--c-font);
}
body.commure .err-msg,
body.commure .err {
  background: rgba(239,68,68,0.08);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.24);
  border-radius: 10px;
  font-family: var(--c-font);
  padding: 10px 14px;
}

/* Persona / role badges */
body.commure .prov-tag {
  background: var(--c-accent-tint);
  color: var(--c-accent-2);
  border: 1px solid rgba(59,130,246,0.24);
  font-family: var(--c-font);
  border-radius: var(--c-radius-pill);
}

/* Data source tag */
body.commure .data-source-tag,
body.commure .ds-dot {
  font-family: var(--c-mono);
  color: var(--c-text-faint);
}

/* CPT/rate row utilities */
body.commure .cpt-code,
body.commure .r-code {
  font-family: var(--c-mono);
  color: var(--c-accent-2);
  font-weight: 700;
}
body.commure .cpt-desc { color: var(--c-text); font-family: var(--c-font); }

/* Cards within audit pages */
body.commure .demo-note,
body.commure .audit-banner {
  background: #fff7ed !important;
  color: #9a3412 !important;
  border-color: #fed7aa !important;
  font-family: var(--c-font);
  font-weight: 500;
}

/* Profile fields */
body.commure .profile-field,
body.commure .pf-lbl,
body.commure .pf-val {
  font-family: var(--c-font);
}
body.commure .pf-lbl { color: var(--c-text-faint); letter-spacing: 0.06em; }
body.commure .pf-val { color: var(--c-ink); font-family: var(--c-mono); font-weight: 600; }

/* Title block */
body.commure .title-block { color: var(--c-ink); }

/* Section header (admin-style) */
body.commure .section-header {
  background: transparent;
  border-bottom: 1px solid var(--c-border-soft);
  color: var(--c-ink);
  font-family: var(--c-font);
}

/* Generic dim/muted/em helpers */
body.commure .dim,
body.commure .muted { color: var(--c-text-faint); }
body.commure .em { color: var(--c-ink); font-weight: 700; }

/* Funnel rows */
body.commure .funnel-row,
body.commure .funnel-step {
  background: #ffffff;
  border: 1px solid var(--c-border-soft);
  border-radius: 10px;
  color: var(--c-text);
}
body.commure .funnel-arrow { color: var(--c-text-faint); }

/* Quick links */
body.commure .quick-link-btn,
body.commure .ql-icon {
  background: #ffffff;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  border-radius: 10px;
  font-family: var(--c-font);
  transition: all var(--c-dur) var(--c-ease);
}
body.commure .quick-link-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-accent-2);
  transform: translateY(-1px);
  box-shadow: var(--c-shadow-sm);
}

/* Customer stats bar small helpers */
body.commure .api-status-dot { background: var(--c-success); }

/* Apply hint (settings save buttons) */
body.commure .apply-hint { color: var(--c-text-faint); font-family: var(--c-mono); }

/* Add row button (admin) */
body.commure .add-row-btn,
body.commure .del-btn,
body.commure .pay-btn,
body.commure .run-snap-btn {
  background: var(--c-accent-2);
  color: #ffffff;
  border: 1px solid var(--c-accent-2);
  border-radius: 10px;
  font-family: var(--c-font);
  font-weight: 600;
  padding: 8px 14px;
  transition: all var(--c-dur) var(--c-ease);
}
body.commure .add-row-btn:hover,
body.commure .pay-btn:hover,
body.commure .run-snap-btn:hover {
  background: var(--c-bg-deep);
  border-color: var(--c-bg-deep);
  transform: translateY(-1px);
  box-shadow: var(--c-shadow-sm);
}
body.commure .del-btn {
  background: #ffffff;
  color: #b91c1c;
  border-color: rgba(239,68,68,0.30);
}
body.commure .del-btn:hover {
  background: var(--c-danger);
  color: #ffffff;
  border-color: var(--c-danger);
}

/* Deployment check rows (admin) */
body.commure .deploy-row,
body.commure .deploy-check {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border-soft);
  border-radius: 10px;
  color: var(--c-text);
  font-family: var(--c-font);
}
body.commure .deploy-row.ok,
body.commure .deploy-check.ok { color: var(--c-success); }
body.commure .deploy-row.err,
body.commure .deploy-check.err { color: var(--c-danger); }

/* Health dot variants */
body.commure .health-dot.on { background: var(--c-success); box-shadow: 0 0 0 3px rgba(16,185,129,0.18); }
body.commure .health-dot.off { background: var(--c-text-faint); }
body.commure .health-dot.warn { background: var(--c-warn); box-shadow: 0 0 0 3px rgba(245,158,11,0.18); }

/* Misc safety: any inline rgba(255,255,255,.02-.08) hover that was meant for dark
   would be invisible on white. We catch the most common pattern explicitly: */
body.commure tbody tr:hover td { background: var(--c-bg-soft) !important; }

/* Ensure SVG icons inside light surfaces inherit ink/accent */
body.commure .stat-card svg,
body.commure .kpi-card svg,
body.commure .nav-item svg,
body.commure .sidebar svg {
  color: currentColor;
  fill: currentColor;
}

/* ---------- Phase 2: audit-* widgets ---------- */
/* Audit pages reuse most of the same widget classes. A few extras: */
body.commure .audit-shell .stat-card,
body.commure .audit-shell .kpi-card,
body.commure .audit-shell .screen-card {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
}
body.commure .persona-banner {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  color: #92400e;
  border: 1px solid #fed7aa;
  font-family: var(--c-font);
}
body.commure .rp-money {
  font-family: var(--c-mono);
  color: var(--c-success);
  font-weight: 700;
}

/* Anything that was originally rgba(8,13,24,*) panel surface — catch-all */
body.commure [style*="background:rgba(8,13,24"],
body.commure [style*="background: rgba(8,13,24"],
body.commure [style*="background:rgba(10,15,28"],
body.commure [style*="background: rgba(10,15,28"],
body.commure [style*="background:rgba(14,20,34"],
body.commure [style*="background: rgba(14,20,34"] {
  background: #ffffff !important;
  border-color: var(--c-border) !important;
}

/* ---------- Phase 3: marketing polish ---------- */
/* Generic muted blocks on chiropractic/methodology/hipaa/etc */
body.commure .method-callout,
body.commure .callout-card {
  background: #ffffff !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--c-radius-md);
  box-shadow: var(--c-shadow-sm);
  padding: 24px 28px;
}
body.commure .method-callout strong,
body.commure .callout-card strong { color: var(--c-ink); }

/* Pricing tier price block */
body.commure .price-big {
  font-family: var(--c-font);
  font-weight: 900;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
body.commure .price-meta { color: var(--c-text-faint); font-family: var(--c-font); }

/* News feed page */
body.commure .feed-list .feed-item {
  background: #ffffff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--c-radius-md);
  margin-bottom: 12px;
  padding: 18px 20px;
}

/* ---------- Phase 4: mobile responsive ---------- */
@media (max-width: 720px) {
  body.commure .ov-hero {
    padding: 18px 18px;
    gap: 18px;
  }
  body.commure .ov-kpi-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  body.commure .stat-card,
  body.commure .kpi-card,
  body.commure .screen-card { padding: 16px; }
  body.commure .stat-card .val,
  body.commure .kpi-value,
  body.commure .sc-num { font-size: 24px; }
  body.commure .neg-panel,
  body.commure .neg-strategy { padding: 16px 16px 12px; }
  body.commure .db-list-container { border-radius: 12px; }
  body.commure .db-row { padding: 11px 14px; }
  body.commure .db-filter-bar { padding-left: 14px; padding-right: 14px; }
  body.commure .neg-memo-card { padding: 14px 16px; }
  body.commure .drawer-header { padding: 16px 16px 12px; }
  body.commure .drawer-body { padding: 14px; }
  body.commure #customer-drawer { width: min(100vw, 380px); }
}
@media (max-width: 480px) {
  body.commure .ov-kpi-row { grid-template-columns: 1fr; }
  body.commure .hero-h1 { font-size: 26px; }
  body.commure .stat-card .val,
  body.commure .kpi-value,
  body.commure .sc-num { font-size: 22px; }
  body.commure .db-filter-bar { padding: 10px 14px; }
  body.commure .db-tabs { flex-wrap: wrap; }
  body.commure .neg-panel-title { font-size: 12px; }
  body.commure #customer-drawer { width: 100vw; }
}

/* ---------- Final safety: any element with inline border:1px solid rgba(255,255,255,*)
   should pick up a soft commure border instead ---------- */
body.commure [style*="border:1px solid rgba(255,255,255"],
body.commure [style*="border: 1px solid rgba(255,255,255"] {
  border-color: var(--c-border) !important;
}
body.commure [style*="border:1px solid rgba(0,0,0"],
body.commure [style*="border: 1px solid rgba(0,0,0"] {
  border-color: var(--c-border) !important;
}

/* ================================================================
   PHASE R2 — Juiced visuals, motion, trust polish (2026-05-14)
   Builds on the existing commure overlay. All rules respect
   prefers-reduced-motion via :where() and @media guards.
   ================================================================ */

/* ---------- Negotiation target pin on .qband ---------- */
.qband { position: relative; }
.qband-target {
  position: absolute;
  top: -2px;
  width: 2px;
  height: calc(100% - 16px);
  background: transparent;
  z-index: 6;
  pointer-events: none;
}
.qband-target::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 18px;
  width: 2px;
  background-image: linear-gradient(to bottom, #2563eb 0, #2563eb 5px, transparent 5px, transparent 9px);
  background-size: 2px 9px;
  background-repeat: repeat-y;
  border-radius: 1px;
}
.qband-target-flag {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -2px);
  font-family: var(--c-font, 'Inter'), -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  padding: 5px 9px 5px 9px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(37,99,235,0.32), 0 2px 4px rgba(37,99,235,0.18);
  z-index: 7;
}
.qband-target-flag::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #1d4ed8;
}
.qband-target-flag small {
  display: block;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.78;
  margin-bottom: 1px;
}
/* Current-rate marker (red dot below the box) */
.qband-current {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  pointer-events: none;
}
.qband-current-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(239,68,68,0.45), 0 0 0 4px rgba(239,68,68,0.12);
}
.qband-current-tag {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--c-font, 'Inter'), sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Pulse animation on the target flag — eye-catching but not gaudy */
@media (prefers-reduced-motion: no-preference) {
  .qband-target-flag {
    animation: qbandTargetPulse 2.6s var(--c-ease-out, ease-in-out) infinite;
  }
  @keyframes qbandTargetPulse {
    0%, 100% { box-shadow: 0 6px 16px rgba(37,99,235,0.32), 0 2px 4px rgba(37,99,235,0.18), 0 0 0 0 rgba(37,99,235,0); }
    50% { box-shadow: 0 6px 20px rgba(37,99,235,0.45), 0 2px 6px rgba(37,99,235,0.28), 0 0 0 6px rgba(37,99,235,0.10); }
  }
  /* Reveal target pin only after the parent .qband has drawn in */
  .qband-target { opacity: 0; transition: opacity 500ms ease-out 0ms; }
  .qband-target.is-in { opacity: 1; }
}

/* ---------- qband chart draw-in ---------- */
@media (prefers-reduced-motion: no-preference) {
  .qband--prep .qband-box {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 600ms var(--c-ease-out, cubic-bezier(0.16,1,0.3,1)) 60ms;
  }
  .qband--prep .qband-median {
    opacity: 0;
    transition: opacity 350ms ease-out 620ms;
  }
  .qband--prep .qband-whisker {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 320ms ease-out 720ms;
  }
  .qband--prep.qband--in .qband-box { transform: scaleX(1); }
  .qband--prep.qband--in .qband-median { opacity: 1; }
  .qband--prep.qband--in .qband-whisker { transform: scaleX(1); }
}

/* ---------- Juiced opp-target uplift card ---------- */
body.commure .opp-target {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 1px 0 rgba(59,130,246,0.04), 0 8px 24px rgba(15,27,61,0.04);
  transition: box-shadow 320ms var(--c-ease-out), transform 320ms var(--c-ease-out);
}
body.commure .opp-target::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(59,130,246,0.10), transparent 55%),
              radial-gradient(circle at 0% 100%, rgba(16,185,129,0.10), transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}
body.commure .opp-target:hover {
  box-shadow: 0 1px 0 rgba(59,130,246,0.06), 0 16px 36px rgba(15,27,61,0.08);
  transform: translateY(-1px);
}
body.commure .opp-target .opp-target-big {
  background: linear-gradient(135deg, #047857 0%, #10b981 55%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}
/* Animated gradient sheen on the big number — slow, premium */
@media (prefers-reduced-motion: no-preference) {
  body.commure .opp-target .opp-target-big {
    background-size: 200% 200%;
    animation: opTargetSheen 14s ease-in-out infinite;
  }
  @keyframes opTargetSheen {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
}
body.commure .opp-target-disclaimer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #bfdbfe;
  font-family: var(--c-font);
  font-size: 11px;
  line-height: 1.55;
  color: var(--c-text-faint);
  letter-spacing: 0;
}
/* Mini arrow between current → target rows */
.opp-target-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 6px;
  color: var(--c-accent-2, #2563eb);
  font-weight: 700;
  font-size: 13px;
}
@media (prefers-reduced-motion: no-preference) {
  .opp-target-arrow svg {
    animation: arrowNudge 2.2s ease-in-out infinite;
  }
  @keyframes arrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
  }
}

/* ---------- Animated counters need tabular nums everywhere ---------- */
[data-count-up] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* ---------- Hero parallax base — let JS set transforms ---------- */
.c-phone-wrap,
.c-phone-float.tl,
.c-phone-float.br {
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .c-phone-wrap,
  .c-phone-float.tl,
  .c-phone-float.br { transform: none !important; }
}

/* ---------- Hover micro-interactions (consistent everywhere) ---------- */
body.commure .feat-card,
body.commure .icp-card,
body.commure .opp-card,
body.commure .pricing-tier,
body.commure .price-card,
body.commure .tier-card,
body.commure .callout-card,
body.commure .method-callout {
  transition: transform 320ms var(--c-ease-out), box-shadow 320ms var(--c-ease-out), border-color 320ms var(--c-ease-out);
}
@media (prefers-reduced-motion: no-preference) {
  body.commure .feat-card:hover,
  body.commure .icp-card:hover,
  body.commure .opp-card:hover,
  body.commure .pricing-tier:hover,
  body.commure .price-card:hover,
  body.commure .tier-card:hover,
  body.commure .callout-card:hover,
  body.commure .method-callout:hover {
    transform: translateY(-4px);
    box-shadow: var(--c-shadow-lg);
    border-color: rgba(59,130,246,0.32);
  }
}

/* Primary CTA subtle scale + gradient shift */
body.commure .btn.primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  transition: transform 280ms var(--c-ease-out), box-shadow 280ms var(--c-ease-out), background-position 600ms ease-out, filter 280ms ease-out;
  box-shadow: 0 6px 18px rgba(37,99,235,0.28), 0 1px 3px rgba(37,99,235,0.12);
}
@media (prefers-reduced-motion: no-preference) {
  body.commure .btn.primary:hover {
    transform: translateY(-1px) scale(1.025);
    background-position: 100% 50%;
    box-shadow: 0 12px 26px rgba(37,99,235,0.36), 0 2px 6px rgba(37,99,235,0.18);
  }
  body.commure .btn.primary:active {
    transform: translateY(0) scale(1.0);
  }
}

/* CTA pulse — eye-catching big-cta primary */
@media (prefers-reduced-motion: no-preference) {
  body.commure .btn.primary.is-pulsing {
    animation: ctaPulse 3.5s var(--c-ease-out) 2;
  }
  @keyframes ctaPulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(37,99,235,0.28), 0 0 0 0 rgba(37,99,235,0); }
    50% { box-shadow: 0 12px 28px rgba(37,99,235,0.4), 0 0 0 14px rgba(37,99,235,0); }
  }
}

/* Pill / chip micro-interactions */
body.commure .icp-chip,
body.commure .hero-chip,
body.commure .gap-chip,
body.commure .proof-chip,
body.commure .specialty-pill,
body.commure .payer-pill {
  transition: transform 200ms var(--c-ease-out), background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out;
}
@media (prefers-reduced-motion: no-preference) {
  body.commure .icp-chip:hover,
  body.commure .hero-chip:hover,
  body.commure .gap-chip:hover,
  body.commure .proof-chip:hover,
  body.commure .specialty-pill:hover,
  body.commure .payer-pill:hover {
    transform: translateY(-1px);
    border-color: var(--c-accent);
    color: var(--c-accent-2);
  }
}

/* ---------- Animated gradients (slow aurora) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Hero band navy gradient — slow shift */
  body.commure .gateway,
  body.commure .gateway--lockup,
  body.commure .navy-band,
  body.commure .deep-band {
    background-size: 200% 200% !important;
    animation: auroraShift 22s ease-in-out infinite;
  }
  /* Dashboard preview frame */
  body.commure .dashboard-preview-frame,
  body.commure .preview-frame,
  body.commure .c-phone-statusbar {
    background-size: 220% 220%;
    animation: auroraShift 28s ease-in-out infinite;
  }
  @keyframes auroraShift {
    0%, 100% { background-position: 0% 30%; }
    50% { background-position: 100% 70%; }
  }
}

/* Big-num gradient text already exists for opp-card; ensure consistent */
body.commure .big-num,
body.commure .hero-amount,
body.commure .stat-val,
body.commure .kpi-val {
  font-variant-numeric: tabular-nums;
}

/* ---------- Stagger reveal: data-reveal-stagger children ---------- */
@media (prefers-reduced-motion: no-preference) {
  body.commure [data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms var(--c-ease-out), transform 600ms var(--c-ease-out);
  }
  body.commure [data-reveal-stagger].is-in > *,
  body.commure [data-reveal-stagger] > .is-in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Marquee / scrolling payer logos ---------- */
.payer-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 26px 0;
  background: linear-gradient(180deg, transparent, rgba(247,249,252,0.7), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.payer-marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  align-items: center;
}
.payer-marquee-item {
  font-family: var(--c-font, 'Inter'), sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #6b7689;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0.78;
  transition: opacity 200ms ease-out, color 200ms ease-out;
}
.payer-marquee-item:hover { opacity: 1; color: var(--c-ink, #0a1029); }
@media (prefers-reduced-motion: no-preference) {
  .payer-marquee-track { animation: payerMarqueeScroll 38s linear infinite; }
  @keyframes payerMarqueeScroll {
    0% { transform: translate3d(0,0,0); }
    100% { transform: translate3d(-50%,0,0); }
  }
}

/* ---------- Loading skeletons (shimmer) ---------- */
.riq-skel {
  display: inline-block;
  background: linear-gradient(90deg, #eef2f7 0%, #f6f8fb 40%, #eef2f7 80%);
  background-size: 200% 100%;
  border-radius: 6px;
  color: transparent !important;
  user-select: none;
}
@media (prefers-reduced-motion: no-preference) {
  .riq-skel { animation: riqShimmer 1.6s linear infinite; }
  @keyframes riqShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
  }
}

/* ---------- Trust badges (juiced) ---------- */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--c-font, 'Inter'), sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-text, #1f2a44);
  background: #fff;
  border: 1px solid var(--c-border, #e3e8ef);
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow: var(--c-shadow-xs, 0 1px 2px rgba(15,27,61,0.04));
}
.trust-pill.is-strong { background: var(--c-accent-tint, rgba(59,130,246,0.06)); border-color: rgba(59,130,246,0.32); color: var(--c-accent-2, #2563eb); }
.trust-pill.is-promise { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.trust-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.8; }

/* ---------- Reduced motion master kill switch ---------- */
@media (prefers-reduced-motion: reduce) {
  body.commure *,
  body.commure *::before,
  body.commure *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
  }
}

/* ---------- Mobile safety: qband target flag at <420px ---------- */
@media (max-width: 600px) {
  .qband-target-flag {
    font-size: 9.5px;
    padding: 4px 7px;
    max-width: 50vw;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
  .qband-target-flag small { font-size: 7.5px; }
}
@media (max-width: 480px) {
  body.commure .opp-target { padding: 18px 16px; }
  body.commure .opp-target .opp-target-big { font-size: 24px; }
  body.commure .opp-target-row {
    flex-wrap: wrap;
    gap: 4px;
  }
  .qband-track { height: 70px; }
  .qband-current-tag { font-size: 8.5px; padding: 1px 5px; }
}

/* ---------- Make qband-track allow overflow so the flag pin can extend ---------- */
.qband-track { overflow: visible; }
.qband { overflow: visible; }
/* Give the track itself a top margin so the floating flag has room above it
   without pushing the head/title down. */
.qband .qband-track { margin-top: 38px; }

/* ---------- Ensure phone parallax doesn't clip floating cards ---------- */
.gateway, .gateway--lockup { overflow: visible; }
.opp-card { overflow: visible !important; }
