/* ==========================================================================
   Comparison Pages — Dedicated Styles
   Layered on top of global styles.css for /compare/ pages.
   Design reference: comparator-reference (Lovable prototype)
   ========================================================================== */

:root {
  /* Comparison page tokens */
  --cmp-orange: #007aff;
  --cmp-orange-dark: #0062cc;
  --cmp-orange-light: #e6f2ff;
  --cmp-accent-on-dark: #4da3ff;
  --cmp-navy: hsl(214, 100%, 14%);
  --cmp-navy-light: hsl(214, 60%, 20%);
  --cmp-navy-dark: hsl(214, 100%, 9%);
  --cmp-success: hsl(142, 71%, 45%);
  --cmp-warning: hsl(38, 92%, 50%);
  --cmp-verdict-bg: hsl(207, 89%, 96%);
  --cmp-verdict-border: hsl(207, 70%, 75%);
  --cmp-shadow-card: 0 4px 24px -4px hsl(214 100% 14% / 0.12);
  --cmp-shadow-orange: 0 4px 20px -4px hsl(212 100% 50% / 0.35);
  --cmp-gradient-hero: radial-gradient(120% 120% at 75% 82%, #02315f 0%, #001a37 35%, #000711 65%, #000000 100%);
  --cmp-gradient-cta: radial-gradient(120% 120% at 50% 115%, #033063 0%, #00152c 45%, #000206 100%);
}

/* Hero — dark navy gradient with breadcrumb */
.cmp-hero {
  background: var(--cmp-gradient-hero);
  padding: 5rem 0 4rem;
}

.cmp-hero .cmp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cmp-hero .cmp-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.cmp-hero .cmp-breadcrumb a:hover {
  color: var(--cmp-accent-on-dark);
}

.cmp-hero .cmp-breadcrumb .cmp-bc-current {
  color: rgba(255, 255, 255, 0.9);
}

.cmp-hero .cmp-breadcrumb .cmp-bc-sep {
  opacity: 0.5;
}

.cmp-hero h1 {
  color: #fff;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 48rem;
}

.cmp-hero h1 .cmp-accent {
  color: var(--cmp-accent-on-dark);
}

.cmp-hero .cmp-hero-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.cmp-hero .cmp-hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cmp-success);
  box-shadow: 0 0 0 3px hsl(142 71% 45% / 0.25);
}

.cmp-hero .cmp-hero-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

/* Verdict Box */
.cmp-verdict {
  background: var(--cmp-verdict-bg);
  border: 1.5px solid var(--cmp-verdict-border);
  border-left: 4px solid var(--cmp-orange);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
}

.cmp-verdict-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cmp-orange);
}

.cmp-verdict-label svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cmp-verdict p {
  color: var(--text-primary, #1e293b);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.cmp-verdict .cmp-price-highlight {
  color: var(--cmp-orange);
  font-weight: 700;
}

.cmp-verdict .cmp-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero CTA group (rendered directly on the hero, not in the verdict box) */
.cmp-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Shared CTA Buttons */
.cmp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--cmp-orange);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--cmp-shadow-orange);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cmp-btn-primary:hover {
  background: var(--cmp-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px -4px hsl(212 100% 50% / 0.45);
}

.cmp-btn-ghost-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--cmp-navy);
  color: var(--cmp-navy);
  background: transparent;
  text-decoration: none;
  transition: background 0.2s;
}

.cmp-btn-ghost-navy:hover {
  background: hsl(214, 100%, 14%, 0.06);
}

.cmp-btn-ghost-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s;
}

.cmp-btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Comparison Matrix Table */
.cmp-matrix {
  padding: 5rem 0;
  background: #fff;
}

.cmp-matrix .cmp-section-header {
  margin-bottom: 3rem;
}

.cmp-section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cmp-orange);
  margin-bottom: 0.5rem;
}

.cmp-section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  color: var(--cmp-navy);
  margin-bottom: 1rem;
}

.cmp-section-header p {
  color: var(--text-secondary, #64748b);
  max-width: 44rem;
  margin: 0;
}

.cmp-table-wrap {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: var(--cmp-shadow-card);
}

.cmp-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.cmp-table thead th {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.cmp-table thead th:first-child {
  text-align: left;
  background: var(--bg-surface, #f8fafc);
  color: var(--text-secondary, #64748b);
  width: 33%;
  border-top-left-radius: 0.75rem;
}

.cmp-table thead th.cmp-th-werx {
  text-align: center;
  background: var(--cmp-navy);
  color: #fff;
  width: 33%;
}

.cmp-table thead th.cmp-th-werx .cmp-th-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cmp-table thead th.cmp-th-werx .cmp-th-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.25rem;
  background: var(--cmp-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cmp-table thead th:last-child {
  text-align: center;
  background: var(--bg-surface, #f8fafc);
  color: var(--text-secondary, #64748b);
  border-top-right-radius: 0.75rem;
}

.cmp-table tbody td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  border-top: 1px solid var(--border, #e2e8f0);
}

.cmp-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary, #1e293b);
}

.cmp-table tbody td:not(:first-child) {
  text-align: center;
}

.cmp-table tbody tr:nth-child(even) {
  background: var(--bg-surface, #f8fafc);
}

.cmp-cell-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-weight: 500;
}

.cmp-cell-check .cmp-icon-check {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--cmp-success);
  flex-shrink: 0;
}

.cmp-cell-check .cmp-icon-warn {
  width: 1rem;
  height: 1rem;
  color: var(--cmp-warning);
  flex-shrink: 0;
}

/* Workflow / Feature Cards Section */
.cmp-workflow {
  padding: 5rem 0;
  background: var(--bg-surface, #f8fafc);
}

.cmp-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .cmp-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cmp-card-feature {
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: var(--cmp-shadow-card);
}

.cmp-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--cmp-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.cmp-card-icon svg,
.cmp-card-icon i {
  color: var(--cmp-orange);
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.5rem;
}

.cmp-card-feature h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cmp-navy);
  margin-bottom: 0.75rem;
}

.cmp-card-feature p {
  color: var(--text-secondary, #64748b);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.cmp-card-feature .cmp-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cmp-orange);
}

/* Industry Wins */
.cmp-industry-wins {
  padding: 5rem 0;
  background: #fff;
}

.cmp-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.cmp-industry-card {
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-surface, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cmp-industry-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cmp-shadow-card);
}

.cmp-industry-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cmp-navy);
  margin-bottom: 0.5rem;
}

.cmp-industry-card p {
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.6;
}

/* Pricing Comparison Section */
.cmp-pricing {
  padding: 5rem 0;
  background: var(--bg-surface, #f8fafc);
}

.cmp-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .cmp-pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cmp-price-card {
  border-radius: 1rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  position: relative;
  overflow: hidden;
}

.cmp-price-card.cmp-price-werx {
  border: 2px solid var(--cmp-orange);
  box-shadow: var(--cmp-shadow-orange);
}

.cmp-price-card .cmp-price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--cmp-orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.cmp-price-card .cmp-price-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary, #64748b);
  margin-bottom: 0.25rem;
}

.cmp-price-card .cmp-price-value {
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.cmp-price-card.cmp-price-werx .cmp-price-value {
  color: var(--cmp-navy);
}

.cmp-price-card.cmp-price-competitor .cmp-price-value {
  color: var(--text-secondary, #64748b);
}

.cmp-price-card.cmp-price-competitor {
  opacity: 0.8;
}

.cmp-price-card .cmp-price-period {
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1rem;
}

.cmp-price-card .cmp-price-desc {
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
}

/* Pricing Win List */
.cmp-win-list {
  border-radius: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: var(--cmp-shadow-card);
}

.cmp-win-list h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cmp-navy);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cmp-win-list h3 .cmp-star {
  color: var(--cmp-orange);
}

.cmp-win-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cmp-win-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-primary, #1e293b);
}

.cmp-win-list li .cmp-icon-check {
  width: 1.0625rem;
  height: 1.0625rem;
  color: var(--cmp-success);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.cmp-price-note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary, #64748b);
  max-width: 60ch;
}

/* FAQ Section */
.cmp-faq {
  padding: 5rem 0;
  background: #fff;
}

.cmp-faq-list {
  max-width: 48rem;
  margin: 3rem 0 0;
  border-radius: 1rem;
  padding: 0 1.5rem;
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: var(--cmp-shadow-card);
}

.cmp-faq-item {
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.cmp-faq-item:last-child {
  border-bottom: none;
}

.cmp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cmp-navy);
  cursor: pointer;
  list-style: none;
}

.cmp-faq-item summary::-webkit-details-marker {
  display: none;
}

.cmp-faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cmp-orange);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.cmp-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.cmp-faq-item .cmp-faq-answer {
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.7;
}

/* Final CTA Section */
.cmp-final-cta {
  background: var(--cmp-gradient-cta);
  padding: 6rem 0;
  text-align: center;
}

.cmp-final-cta .cmp-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.cmp-final-cta .cmp-stars svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: var(--cmp-accent-on-dark);
  color: var(--cmp-accent-on-dark);
}

.cmp-final-cta .cmp-stars span {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.cmp-final-cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.cmp-final-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

.cmp-final-cta .cmp-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cmp-final-cta .cmp-fine-print {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .cmp-hero {
    padding: 3rem 0 2.5rem;
  }

  .cmp-verdict {
    padding: 1.25rem;
  }

  .cmp-section-header h2 {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Hub Page — Competitor Card Grid
   ========================================================================== */

.cmp-hub-grid-section {
  padding: 5rem 0;
  background: var(--bg-surface, #f8fafc);
}

.cmp-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.cmp-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: var(--cmp-shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}

.cmp-hub-card:hover:not(.cmp-hub-card-disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px -6px hsl(214 100% 14% / 0.15);
  border-color: var(--cmp-orange);
}

.cmp-hub-card-disabled {
  opacity: 0.6;
  cursor: default;
}

.cmp-hub-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.cmp-hub-badge-live {
  background: hsl(142, 71%, 92%);
  color: hsl(142, 71%, 30%);
}

.cmp-hub-badge-soon {
  background: hsl(214, 30%, 92%);
  color: hsl(214, 30%, 45%);
}

.cmp-hub-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cmp-navy);
  margin-bottom: 0.25rem;
  margin-top: 0.25rem;
}

.cmp-hub-card-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cmp-orange);
  margin-bottom: 0.5rem;
}

.cmp-hub-card-tagline {
  font-size: 0.8125rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}

.cmp-hub-card-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border, #e2e8f0);
}

.cmp-hub-score-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cmp-hub-dots {
  display: flex;
  gap: 0.3rem;
}

.cmp-hub-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--border, #e2e8f0);
  transition: background 0.2s;
}

.cmp-hub-dot-active {
  background: var(--cmp-orange);
}

.cmp-hub-card-arrow {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cmp-orange);
}

/* ==========================================================================
   Hub Page — Snapshot Comparison Table
   ========================================================================== */

.cmp-snapshot-section {
  padding: 5rem 0;
  background: #fff;
}

.cmp-snapshot-table thead th {
  padding: 0.875rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary, #64748b);
  background: var(--bg-surface, #f8fafc);
  text-align: center;
  white-space: nowrap;
}

.cmp-snapshot-table thead th:first-child {
  text-align: left;
}

.cmp-snapshot-table tbody td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  text-align: center;
  border-top: 1px solid var(--border, #e2e8f0);
  white-space: nowrap;
}

.cmp-snapshot-table tbody td:first-child {
  text-align: left;
}

.cmp-snapshot-name {
  font-weight: 500;
  color: var(--text-primary, #1e293b);
}

.cmp-snapshot-werx {
  background: hsl(212, 100%, 97%) !important;
}

.cmp-snapshot-werx td {
  border-top-color: var(--cmp-orange) !important;
}

.cmp-snapshot-werx .cmp-snapshot-name {
  font-weight: 700;
  color: var(--cmp-navy);
}

.cmp-snapshot-yes {
  color: var(--cmp-success);
}

.cmp-snapshot-yes svg {
  width: 1.125rem;
  height: 1.125rem;
  display: inline-block;
  vertical-align: middle;
}

.cmp-snapshot-no {
  color: var(--text-secondary, #94a3b8);
  font-weight: 500;
}

.cmp-snapshot-partial {
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Highlighted Werx price — blue and larger so it reads first */
.cmp-snapshot-werx-price {
  color: var(--cmp-orange);
  font-size: 1.0625rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Clickable competitor rows */
.cmp-snapshot-row-link {
  cursor: pointer;
  transition: background 0.15s;
}

.cmp-snapshot-row-link:hover {
  background: hsl(212, 100%, 97%);
}

.cmp-snapshot-name a {
  color: var(--text-primary, #1e293b);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.cmp-snapshot-row-link:hover .cmp-snapshot-name a {
  color: var(--cmp-orange);
}

.cmp-snapshot-note {
  margin: 1.5rem auto 0;
  max-width: 60rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-secondary, #64748b);
}

@media (max-width: 640px) {
  .cmp-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Hub Page — Grouped Card Categories
   ========================================================================== */

.cmp-hub-group {
  margin-top: 2.75rem;
}

.cmp-hub-group:first-of-type {
  margin-top: 3rem;
}

.cmp-hub-group-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cmp-navy);
  padding-bottom: 0.625rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--cmp-orange);
  display: inline-block;
}

.cmp-hub-group .cmp-hub-grid {
  margin-top: 0;
}

/* ==========================================================================
   Hub Page — Grouped Feature Matrix
   ========================================================================== */

.cmp-hub-matrix-section {
  padding: 5rem 0;
  background: var(--bg-surface, #f8fafc);
}

.cmp-hub-matrix-table {
  min-width: 880px;
}

.cmp-hub-matrix-table thead th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 2;
}

.cmp-hub-matrix-table tbody td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}

.cmp-hub-matrix-table tbody tr:nth-child(even) td:first-child {
  background: var(--bg-surface, #f8fafc);
}

/* Group separator rows */
.cmp-matrix-group-row td {
  background: var(--cmp-navy) !important;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem !important;
  text-align: left !important;
  position: sticky;
  left: 0;
}

/* Pinned, highlighted Werx row */
.cmp-matrix-werx-row td {
  background: hsl(212, 100%, 95%) !important;
  border-top: 2px solid var(--cmp-orange) !important;
  border-bottom: 2px solid var(--cmp-orange) !important;
}

.cmp-matrix-werx-row td:first-child {
  background: hsl(212, 100%, 95%) !important;
}

.cmp-matrix-werx-row .cmp-snapshot-name strong {
  color: var(--cmp-navy);
}
