/* ==========================================================================
   SOFTWARE FOR CA — CLEAN FINANCIAL & PAYMENT-PAGE DESIGN SYSTEM
   Standard: Modern SaaS / Payment-Grade UI (Crisp, High-Legibility, Zero Clutter)
   Typography: Inter (Clean Sans-Serif with Tabular Numerals & Optical Sizing)
   ========================================================================== */

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

:root {
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --text-main: #0F172A;
  --text-ink: #0F172A;
  --text-muted: #334155;
  --text-muted-dark: #334155;
  --text-dim: #64748B;
  --text-subtle: #94A3B8;

  --brand-blue: #2563EB;
  --brand-blue-hover: #1D4ED8;
  --brand-blue-soft: #EFF6FF;
  --brand-navy: #0F172A;
  
  --accent-mint: #10B981;
  --accent-mint-dark: #059669;
  --accent-mint-soft: #ECFDF5;
  --border-mint: #A7F3D0;

  --accent-gold: #D97706;
  --accent-gold-soft: #FFFBEB;
  --border-gold: #FDE68A;

  --border-subtle: #E2E8F0;
  --border-card: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-color: #E2E8F0;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 2px 4px -1px rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 12px 24px -6px rgba(15, 23, 42, 0.08), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-stamp: 0 4px 14px rgba(16, 185, 129, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  /* overflow-x: hidden here would force overflow-y to "auto" per spec (you can't set
     one axis without the other resolving away from visible), turning body into its
     own nested scroll container and breaking the sticky header. overflow-x: clip
     prevents horizontal overflow without that side effect. */
  overflow-x: clip;
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(at 0% 0%, rgba(224, 242, 254, 0.3) 0px, transparent 40%),
    radial-gradient(at 100% 0%, rgba(243, 232, 255, 0.25) 0px, transparent 40%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.48;
  letter-spacing: -0.011em;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'tnum';
}

/* ==========================================================================
   TYPE SCALE — use these instead of ad-hoc inline font-size declarations.
   Page H1s had drifted to 8 different sizes (2.3rem-3.2rem) before this;
   pick the closest role below rather than eyeballing a new value.
   ========================================================================== */
.site-hero-h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 8px 0 16px;
}

.page-hero-h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.page-h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

@media (max-width: 640px) {
  .site-hero-h1 { font-size: 2.2rem; }
  .page-hero-h1 { font-size: 2rem; }
  .page-h1 { font-size: 1.9rem; }
}



h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-top: 0;
}

h1 { font-weight: 800; letter-spacing: -0.03em; }
h2 { font-weight: 800; letter-spacing: -0.025em; }
h3 { font-weight: 700; letter-spacing: -0.02em; }

.mono-num {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.container-page {
  max-width: 1260px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 1536px) {
  .container-page {
    max-width: 1340px;
  }
}

/* ==========================================================================
   MOTION GRAPHICS & SHIMMER EFFECTS
   ========================================================================== */
@keyframes goldShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

.trophy-shine {
  display: inline-block;
  animation: pulseGlow 2.5s infinite ease-in-out;
}

.compare-header-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  min-height: 56px;
  box-sizing: border-box;
  text-align: center;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.compare-header-cell:hover {
  background: #FFFFFF;
  border-color: var(--border-strong);
}

/* Header & Nav */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-badge {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  display: block;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.site-nav-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav-link:hover, .site-nav-link.active {
  color: var(--brand-blue);
}

/* Categories Nav Mega-Menu */
.nav-has-dropdown {
  padding: 12px 0;
}

.category-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 2px solid var(--border-strong);
  box-shadow: 0 30px 60px -10px rgba(15, 23, 42, 0.28);
  padding: 24px 0 28px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  transition-delay: 0.1s;
  z-index: 1002;
}

/* Full Page Dimmed Backdrop that hides/blurs page background */
.mega-menu-backdrop {
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: calc(100vh - 61px);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s;
  z-index: 999;
}

.nav-has-dropdown:hover .category-mega-menu,
.nav-has-dropdown:focus-within .category-mega-menu,
.category-mega-menu:hover,
.category-mega-menu.menu-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.mega-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-live-card {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mega-live-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.mega-live-card--mint,
.mega-live-card--blue,
.mega-live-card--gold {
  border-color: var(--border-subtle);
  background: #FFFFFF;
  color: var(--text-main);
}

.mega-live-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: inherit;
  display: block;
  margin-bottom: 4px;
}

.mega-live-card-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 10px;
}

.review-toc-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 4px;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  background: transparent;
}

.review-toc-link.active {
  background: #EFF6FF;
  color: #1D4ED8;
  font-weight: 800;
}

.feature-val-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-val-pill--yes {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.feature-val-pill--no {
  background: #F8FAFC;
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
  font-weight: 700;
}

.feature-val-pill--info {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.feature-val-pill--sm {
  padding: 3px 12px;
  font-size: 0.8rem;
}

.feature-val-pill--xs {
  padding: 3px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.view-toggle-btn {
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.error-page-link-row {
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.view-toggle-btn.active {
  font-weight: 800;
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.spec-mini-box {
  padding: 10px 12px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.mega-live-card-footer {
  font-size: 0.72rem;
  color: inherit;
  font-weight: 700;
  border-top: 1px dashed;
  padding-top: 8px;
}

.mega-live-card-footer { border-top-color: var(--border-subtle); color: var(--brand-blue); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: var(--text-main) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--bg-page);
  border-color: var(--text-dim);
  transform: translateY(-1px);
}

.btn-vendor-nav,
.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

.btn-lg {
  padding: 13px 32px;
  font-size: 0.95rem;
  font-weight: 800;
}

.btn-pill {
  border-radius: var(--radius-pill) !important;
}

.showdown-tab-btn,
.filter-tab-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
  background: #F8FAFC;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}

.showdown-tab-btn.active,
.filter-tab-btn.active {
  font-weight: 800;
  border-color: #0F172A;
  background: #0F172A;
  color: #FFFFFF;
}

.compare-preview-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1.5px solid var(--border-subtle);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

/* Chips & Badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.chip-gold {
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
}

.chip-blue {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border: 1px solid #BFDBFE;
}

.chip-green {
  background: var(--accent-mint-soft);
  color: var(--accent-mint-dark);
  border: 1px solid var(--border-mint);
}

.chip-muted {
  background: #FFFFFF;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* Cards & Layout */
.card-clean {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-clean:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #CBD5E1;
}

/* Marquee Ticker */
.live-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 9px 0;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}

.live-ticker-track {
  display: inline-flex;
  gap: 36px;
  animation: tickerSlide 40s linear infinite;
}

.live-ticker-wrap:hover .live-ticker-track {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 8px var(--accent-mint);
}

/* Status dot - replaces 🟢/🟡/⚪ status emoji sitewide */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--live { background: var(--accent-mint, #10B981); }
.status-dot--progress { background: var(--brand-blue, #2563EB); }
.status-dot--planned { background: #CBD5E1; }

/* Floating Compare Tray */
.floating-compare-tray {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: #0F172A;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.floating-compare-tray.tray-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.tray-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent-mint);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.tray-count {
  font-size: 0.95rem;
  font-weight: 800;
}

.tray-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-compare-launch {
  background: var(--accent-mint) !important;
  color: #FFFFFF !important;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
}

/* Footer Grid */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 12px;
}

.footer-meta {
  font-size: 0.78rem;
  color: #64748B;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.85rem;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col ul a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Responsive Rules */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

/* ==========================================================================
   CATEGORY HUB & DIRECT ANSWER UTILITY CLASSES (Phase 2 & Phase 3)
   ========================================================================== */

/* ==========================================================================
   ENHANCED CATEGORY VENDOR CARD STYLING (Screenshot 2 Fix)
   ========================================================================== */

.vendor-grid-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vendor-grid-card[hidden] {
  display: none !important;
}


.card-pricing-badge {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}


/* ==========================================================================
   HUMAN TYPOGRAPHY & PRICING FONT OVERHAUL (No Raw Mono in Prose/Pricing)
   ========================================================================== */

.card-pricing-badge {
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  color: var(--text-main);
}

/* Global Header Search */
.nav-search-wrap {
  position: relative;
  flex: 1;
  max-width: 420px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search-wrap svg {
  flex-shrink: 0;
  opacity: 0.55;
}

@media (max-width: 900px) {
  .nav-search-wrap {
    display: none;
  }
}

.payment-bullet-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.payment-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.81rem;
  line-height: 1.38;
  color: var(--text-muted);
}

.payment-bullet-item strong {
  color: var(--text-main);
  font-weight: 700;
}

.payment-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.65rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.card-pricing-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #047857;
  background: #ECFDF5;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid #A7F3D0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   SPRINT 3: COMMAND-K MODAL & ADVANCED COMPARE STYLES
   ========================================================================== */

/* Command-K Shortcut Badge in Nav */
.cmdk-trigger-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}

.cmdk-trigger-btn:hover {
  border-color: var(--brand-blue);
  color: var(--text-main);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cmdk-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  color: var(--text-muted);
  margin-left: auto;
}

/* Command-K Modal Overlay */
.cmdk-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.cmdk-overlay.cmdk-open {
  display: flex;
  opacity: 1;
}

.cmdk-modal {
  width: 100%;
  max-width: 580px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: cmdkPop 0.15s ease-out;
}

@keyframes cmdkPop {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cmdk-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
}

.cmdk-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: transparent;
}

.cmdk-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px 0;
}

.cmdk-group-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 8px 16px 4px;
}

.cmdk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.1s ease;
  cursor: pointer;
}

.cmdk-item:hover, .cmdk-item.cmdk-active {
  background: #F8FAFC;
}

.cmdk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #F8FAFC;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* Print / Partner PDF Export Optimization */
@media print {
  header, footer, nav, .btn-primary, .btn-outline, #matrix-search, .cmdk-overlay, #sticky-compare-bar, #triple-sticky-header {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }
  .container-page {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .card-clean {
    box-shadow: none !important;
    border: 1px solid #CBD5E1 !important;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 16px !important;
  }
  .feature-cluster-body {
    display: grid !important;
  }
}

/* Breadcrumb Navigation System */
.breadcrumb-nav, .breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.breadcrumb-nav a, .breadcrumb-trail a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.breadcrumb-nav a:hover, .breadcrumb-trail a:hover {
  text-decoration: underline;
}

.breadcrumb-nav .sep, .breadcrumb-trail .sep {
  color: #94A3B8;
  font-size: 0.75rem;
  user-select: none;
}

.breadcrumb-nav .current, .breadcrumb-trail .current {
  color: var(--text-main);
  font-weight: 700;
}

/* ==========================================================================
   AUTHENTIC TECHJOCKEY DESIGN SYSTEM (CATEGORY LISTING & PRODUCT DETAIL)
   ========================================================================== */

/* Category Page Dark Navy Hero Banner */
.tj-category-hero {
  background: #0B2265;
  color: #FFFFFF;
  padding: 32px 0 36px;
  position: relative;
}

.tj-hero-breadcrumb {
  font-size: 0.78rem;
  color: #93C5FD;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tj-hero-breadcrumb a {
  color: #93C5FD;
  text-decoration: none;
}

.tj-hero-breadcrumb a:hover {
  text-decoration: underline;
}

.tj-hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.tj-hero-desc {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.6;
  max-width: 860px;
  margin: 0;
}

.tj-hero-guide-link {
  color: #60A5FA;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.tj-hero-guide-link:hover {
  text-decoration: underline;
}

/* 2-Column Category Layout (72% Main + 28% Sidebar) */
.tj-category-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: flex-start;
}

/* Category Header Bar above Products */
.tj-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.tj-list-count {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.tj-list-subcount {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  display: block;
}

/* TechJockey Authentic Product Card */
.tj-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 120px 1fr 180px;
  gap: 18px;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  position: relative;
  min-height: unset;
  height: auto;
}

.tj-card:hover {
  border-color: #93C5FD;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.1);
}

.tj-card.rank-1-pick {
  border-color: #86EFAC;
  background: #FFFFFF;
}

/* Card Left: Logo + Compare */
.tj-card-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tj-logo-box {
  width: 120px;
  height: 80px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  position: relative;
}

.tj-heart-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.85rem;
  color: #94A3B8;
  cursor: pointer;
}

.tj-heart-icon:hover {
  color: #EF4444;
}

.tj-card-compare {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

/* Card Middle: Info */
.tj-card-info-area {
  min-width: 0;
}

.tj-card-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.tj-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.02em;
}

.tj-card-title a {
  color: inherit;
  text-decoration: none;
}

.tj-card-title a:hover {
  color: var(--brand-blue);
}

.tj-card-brand {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.tj-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.tj-card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Right: Pricing & CTA */
.tj-card-action-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  min-width: 170px;
  gap: 10px;
}

.tj-card-price-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  white-space: nowrap;
}

.tj-card-plans-link {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  display: block;
  margin-top: 2px;
}

.tj-card-plans-link:hover {
  text-decoration: underline;
}

.tj-btn-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.tj-btn-primary {
  background: var(--brand-blue);
  color: #FFFFFF !important;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.tj-btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
}

/* Sidebar Widgets */
.tj-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tj-sidebar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.tj-widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 6px;
}

.tj-widget-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 16px;
}

.tj-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.15s ease;
}

.tj-btn-outline:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}

/* Comparison Mini Card */
.tj-compare-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.tj-compare-mini:hover {
  border-color: #93C5FD;
  background: #EFF6FF;
  color: var(--brand-blue);
}

/* ==========================================================================
   TECHJOCKEY VOLOPAY-STYLE PRODUCT DETAIL PAGE
   ========================================================================== */

.tj-detail-hero {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.tj-detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: flex-start;
  margin-top: 32px;
}

.tj-detail-media-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tj-main-preview {
  width: 100%;
  height: 240px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tj-main-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tj-thumbs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tj-thumb-item {
  height: 56px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 700;
  cursor: pointer;
}

.tj-thumb-item:hover, .tj-thumb-item.active {
  border-color: var(--brand-blue);
  background: #EFF6FF;
  color: var(--brand-blue);
}

/* Detail Info Area */
.tj-detail-info {
  min-width: 0;
}

.tj-detail-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.tj-detail-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.02em;
}

.tj-detail-brand {
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.tj-detail-rating-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.tj-detail-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.tj-detail-price-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
}

.tj-detail-cta-row {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}


/* Responsive Collapse */
@media (max-width: 980px) {
  .tj-category-grid-layout {
    grid-template-columns: 1fr;
  }
  .tj-sidebar {
    display: none;
  }
  .tj-detail-hero {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .tj-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .tj-card-logo-area {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  .tj-card-action-area {
    align-items: stretch;
    text-align: left;
    border-top: 1px solid var(--border-subtle);
    padding-top: 12px;
  }
  .tj-btn-row {
    width: 100%;
  }
  .tj-btn-primary {
    flex: 1;
  }
}

/* TechJockey Sticky Action Sidebar */
.tj-review-sidebar-sticky {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tj-action-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

.tj-action-price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.tj-action-price-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
}

.tj-action-price-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 4px 0 16px;
  line-height: 1.35;
}

.tj-action-specs-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-main);
  border-top: 1px dashed var(--border-subtle);
  border-bottom: 1px dashed var(--border-subtle);
  padding: 12px 0;
}

.tj-action-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tj-alt-tool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.tj-alt-tool-row:hover {
  border-color: #93C5FD;
  background: #EFF6FF;
  color: var(--brand-blue);
}

/* Practice Management Calculator */
.btn-calculate-match {
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  transition: all 150ms ease;
  letter-spacing: -0.01em;
}

.btn-calculate-match:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

/* Core Baseline Banner */
.core-features-banner {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 18px;
}

/* Categorized Feature Grid */
.feature-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 860px) {
  .feature-categories-grid {
    grid-template-columns: 1fr;
  }
}

.feature-group-card {
  background: #F8FAFC;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.feature-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.fg-icon {
  font-size: 1.1rem;
}

.feature-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition: all 140ms ease;
}

.feature-checkbox-item:hover {
  border-color: var(--border-strong);
}

.feature-checkbox-item.active {
  background: #EFF6FF;
  border-color: #93C5FD;
}

.feature-checkbox-item input[type="checkbox"] {
  margin: 0;
  accent-color: var(--brand-blue);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.feat-title {
  font-size: 0.84rem;
  color: var(--text-ink);
  font-weight: 700;
  line-height: 1.3;
}

.feature-checkbox-item.active .feat-title {
  color: #1E40AF;
  font-weight: 800;
}

/* Ranked Cards Grid */
.verdict-section-title-row {
  margin-bottom: 20px;
}

.verdict-section-h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-ink);
  margin: 0 0 4px;
}

.verdict-section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.ranked-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .ranked-cards-grid {
    grid-template-columns: 1fr;
  }
}

.ranked-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 180ms ease;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.ranked-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

.ranked-card.winner-card {
  border: 2px solid #10B981;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 35%);
  box-shadow: 0 12px 32px -8px rgba(16, 185, 129, 0.18);
}

.ranked-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.ranked-tag {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.badge-gold {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.badge-silver {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
}

.badge-bronze {
  background: #FFF7ED;
  color: #9A3412;
  border: 1px solid #FFEDD5;
}

.score-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-dim);
}

.score-badge strong {
  font-size: 0.95rem;
  color: var(--brand-blue);
}

.ranked-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.vendor-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-ink);
  margin: 0;
}

.deployment-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}

.vendor-pos {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 18px;
  min-height: 48px;
}

/* Price Box */
.price-box {
  background: #F8FAFC;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.winner-price {
  background: #FFFFFF;
  border-color: #A7F3D0;
}

.price-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.price-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-ink);
  line-height: 1.15;
  margin: 4px 0 2px;
}

.price-unit {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
}

.price-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.savings-tag {
  margin-top: 8px;
  padding: 4px 8px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  color: #065F46;
  text-align: center;
}

.reasons-list-wrap {
  margin-bottom: 22px;
  flex: 1;
}

.reasons-header {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.reasons-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reasons-list li {
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.45;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.check-green {
  color: #10B981;
  font-weight: 900;
  flex-shrink: 0;
}

.cross-red {
  color: #EF4444;
  font-weight: 900;
  flex-shrink: 0;
}

.con-item {
  color: #991B1B !important;
  font-size: 0.8rem !important;
}

.card-action-row {
  display: flex;
  gap: 8px;
}

.btn-read-audit {
  flex: 1;
  background: var(--brand-blue);
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: opacity 120ms ease;
}

.btn-read-audit:hover {
  opacity: 0.9;
}

.btn-official-site {
  background: #FFFFFF;
  color: var(--text-ink);
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
}

.btn-official-site:hover {
  background: #F8FAFC;
}

/* Compare Table Section */
.compare-table-section {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.table-title-row {
  margin-bottom: 20px;
}

.table-h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-ink);
  margin: 0 0 4px;
}

.table-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.table-scroll-wrap {
  overflow-x: auto;
}

.advisor-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.advisor-table th {
  padding: 14px 16px;
  font-size: 0.8rem;
  border-bottom: 1.5px solid var(--border-color);
  vertical-align: bottom;
  background: #F8FAFC;
}

.advisor-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  vertical-align: middle;
}

.advisor-table tr:last-child td {
  border-bottom: none;
}

.param-name-cell {
  color: var(--text-ink);
}

.winner-table-cell {
  background: #F0FDF4;
  font-weight: 700;
  color: #065F46;
}

.other-table-cell {
  color: var(--text-main);
}

.pill-green {
  color: #065F46;
  background: #D1FAE5;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
}

.pill-red {
  color: #475569;
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
}

.pill-gray {
  color: var(--text-dim);
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
}

/* Calculator Advisor Controls */
.advisor-root {
  max-width: 1080px;
  margin: 0 auto;
}

.advisor-header {
  text-align: center;
  margin-bottom: 32px;
}

.advisor-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B45309;
  background: #FEF3C7;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid #FDE68A;
  margin-bottom: 10px;
}

.advisor-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-ink);
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.advisor-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted-dark);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.advisor-controls-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
}

.control-group {
  margin-bottom: 0;
}

.control-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 28px 0;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.control-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-ink);
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.team-size-pill {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: #EFF6FF;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #BFDBFE;
}

.selection-count-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: #065F46;
  background: #D1FAE5;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.team-preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.preset-pill {
  flex: 1;
  min-width: 110px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 140ms ease;
  text-align: center;
}

.preset-pill:hover {
  border-color: var(--border-strong);
  background: #F1F5F9;
}

.preset-pill.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.advisor-slider {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #CBD5E1;
  outline: none;
  cursor: pointer;
  accent-color: var(--brand-blue);
}

.client-size-pill {
  font-size: 1.1rem;
  font-weight: 800;
  color: #059669;
  background: #ECFDF5;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #A7F3D0;
}

.client-preset-pill {
  flex: 1;
  min-width: 100px;
  padding: 8px 12px;
  background: #F8FAFC;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 140ms ease;
  text-align: center;
}

.client-preset-pill:hover {
  border-color: var(--border-strong);
  background: #F1F5F9;
}

.client-preset-pill.active {
  background: #065F46;
  color: #FFFFFF;
  border-color: #065F46;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.2);
}

.btn-select-preset {
  background: #F1F5F9;
  border: 1px solid var(--border-subtle);
  color: var(--text-ink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 120ms ease;
}

.btn-select-preset:hover {
  background: #E2E8F0;
}

/* Alternatives Listing Page */
.tj-hero-strip {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  padding: 28px 0 32px;
}

.tj-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #94A3B8;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tj-breadcrumb a {
  color: #CBD5E1;
  text-decoration: none;
  font-weight: 600;
}

.tj-breadcrumb a:hover {
  color: #FFFFFF;
}

.tj-listing-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .tj-listing-grid {
    grid-template-columns: 1fr;
  }
}

.tj-cards-stack {
  display: flex;
  flex-direction: column;
}

.tj-card-media-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tj-card-logo-box {
  width: 80px;
  height: 56px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tj-card-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tj-card-info-col {
  min-width: 0;
}

.tj-card-brand-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.tj-card-bullets {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}

.tj-card-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.4;
}

.tj-card-bullet-icon {
  color: #10B981;
  font-weight: 900;
  flex-shrink: 0;
}

.tj-card-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.tj-card-price-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.tj-card-price-sub {
  font-size: 0.76rem;
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 700;
  margin-top: 2px;
}

.tj-card-price-sub:hover {
  text-decoration: underline;
}

.tj-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--brand-blue);
  border-radius: var(--radius-pill);
  border: none;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.tj-btn-cta:hover {
  background: #1D4ED8;
}

@media (max-width: 640px) {
  .tj-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tj-card-action-area {
    align-items: center;
    text-align: center;
  }

  .tj-card-price-block {
    align-items: center;
    text-align: center;
  }
}

/* Compare Tray */
.tray-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.compare-select-checkbox {
  width: 17px;
  height: 17px;
  accent-color: var(--brand-blue);
  cursor: pointer;
}

/* Breadcrumb Separator */
.breadcrumb-separator {
  color: var(--text-dim);
}

/* Footer Brand Column */
.footer-col-brand {
  max-width: 320px;
}

/* Sponsorship / Disclosure Badge */
.badge-sponsored {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* Prose Typography (contact page, blog post body) */
.prose-article,
.prose-body {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.75;
}

.prose-article p,
.prose-body p {
  margin: 0 0 16px;
}

.prose-body h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 32px 0 14px;
  letter-spacing: -0.02em;
}

.prose-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 26px 0 12px;
}

.prose-body ul,
.prose-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose-body li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.prose-body a {
  color: var(--brand-blue);
  text-decoration: underline;
}

.prose-body code {
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}

.prose-body blockquote {
  margin: 0 0 16px;
  padding: 10px 18px;
  border-left: 3px solid var(--border-strong);
  background: #F8FAFC;
  color: var(--text-muted);
}

/* Gradient Hero Text */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--accent-mint-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-blue);
}

/* Collapsible Feature Clusters (vendor review page) */
.feature-cluster {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.feature-cluster-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--text-main);
  background: #F8FAFC;
  user-select: none;
}

.feature-cluster-summary::-webkit-details-marker {
  display: none;
}

.feature-cluster-summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 10px;
  color: var(--text-dim);
  transition: transform 0.15s ease;
  font-size: 0.8rem;
}

.feature-cluster[open] > .feature-cluster-summary::before {
  transform: rotate(90deg);
}

.feature-cluster-name {
  font-size: 0.98rem;
  flex: 1;
}

.feature-cluster-count {
  font-size: 0.78rem;
  font-weight: 800;
  color: #15803D;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.feature-cluster-body {
  border-top: 1px solid var(--border-subtle);
}

/* Vendor Logo Box — 3 named sizes instead of a new bespoke pixel value
   per page. Pick the closest fit rather than hand-tuning a new one. */
.vendor-logo-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.vendor-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vendor-logo-box--sm {
  width: 32px;
  height: 26px;
  padding: 2px;
  box-shadow: var(--shadow-sm);
}

.vendor-logo-box--md {
  width: 60px;
  height: 42px;
  padding: 4px 6px;
  box-shadow: var(--shadow-sm);
}

.vendor-logo-box--sq {
  width: 40px;
  height: 40px;
  padding: 3px;
  box-shadow: var(--shadow-sm);
}

/* Mobile Navigation — hamburger + off-canvas panel.
   The header previously had zero responsive behavior: the nav list had
   flex-shrink:0 and the search trigger a fixed 220px width, which forced
   every single page on the site to a ~656px minimum width and required
   horizontal scrolling on any phone. This is the fix. */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 84vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -12px 0 32px -8px rgba(15, 23, 42, 0.18);
  z-index: 1100;
  padding: 76px 8px 24px;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  overflow-y: auto;
}

.mobile-nav-panel.open {
  display: block;
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-list a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.mobile-nav-list a.mobile-nav-cta {
  margin-top: 10px;
  background: var(--brand-blue);
  color: #FFFFFF;
  text-align: center;
}

@media (max-width: 860px) {
  .desktop-nav,
  .nav-search-wrap span,
  .cmdk-kbd {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .cmdk-trigger-btn {
    width: auto;
    padding: 8px;
  }

  .header-container {
    gap: 10px;
  }

  .nav-search-wrap {
    flex: 0 0 auto;
    max-width: none;
  }

  .tj-detail-layout {
    grid-template-columns: 1fr !important;
  }

  .pair-hero-cards {
    grid-template-columns: 1fr !important;
  }
}


