/* ============================================================
   "BEST {VERTICAL} CRM" LISTICLE PAGES — page-specific styles
   Inherits tokens (--cyan, --purple, --ink, --paper, --bg, --line,
   --line-2, --muted, --brand-grad, --font-mono) and global
   components (.nav, .btn, .foot, .demo-modal) from /styles.css.
   Reuses .cmp-hero, .cmp-table, .cmp-stats, .cmp-cta-dark,
   .cmp-section-h, .cmp-section-sub from /compare/compare.css.
   Adds only the listicle-specific surfaces below (bst- prefix).
============================================================ */

.bst-page{ background: var(--bg); }

/* ============ INTRO / "WHAT TO LOOK FOR" ============ */
.bst-intro{ padding: 8px 0 8px; }
.bst-intro-inner{ max-width: 820px; margin: 0 auto; padding: 0 32px; }
.bst-intro-inner > p{ font-size: 17px; line-height: 1.75; color: var(--ink); margin: 0 0 18px; }
.bst-intro-inner > p strong{ color: var(--ink); font-weight: 700; }

.bst-criteria{
  margin: 26px 0 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
}
.bst-criteria-h{
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px;
}
.bst-criteria ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bst-criteria li{ position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.bst-criteria li::before{
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: rgba(0,161,214,.12); color: var(--cyan);
}
.bst-criteria li b{ font-weight: 700; }

/* ============ QUICK PICKS (TL;DR) ============ */
.bst-picks{ padding: 40px 0 8px; }
.bst-picks-inner{ max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.bst-picks-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.bst-pick{
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 22px 24px;
}
.bst-pick.top{ border-color: rgba(0,161,214,.5); background: linear-gradient(180deg, rgba(0,161,214,.05), rgba(102,87,204,.04)); }
.bst-pick-lbl{ font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bst-pick.top .bst-pick-lbl{ color: var(--cyan); }
.bst-pick-name{ font-size: 19px; font-weight: 800; color: var(--ink); margin: 8px 0 6px; }
.bst-pick-for{ font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ============ RANKED COMPARISON MATRIX ============ */
.bst-matrix-wrap{ overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; }
table.bst-matrix{ width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.bst-matrix thead th{
  text-align: left; padding: 14px 16px; background: var(--paper);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.bst-matrix tbody td{ padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); line-height: 1.45; }
.bst-matrix tbody tr:last-child td{ border-bottom: none; }
.bst-matrix tbody tr.us td{ background: linear-gradient(90deg, rgba(0,161,214,.06), rgba(102,87,204,.05)); }
.bst-matrix .tool{ font-weight: 700; white-space: nowrap; }
.bst-matrix .tool .rank{ display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 11px; font-family: var(--font-mono); }
.bst-matrix tbody tr.us .tool .rank{ background: var(--brand-grad); }
.bst-matrix .yes{ color: var(--cyan); font-weight: 700; }
.bst-matrix .no{ color: var(--muted); }

/* ============ RANKED LIST (the listicle itself) ============ */
.bst-list{ padding: 40px 0 8px; }
.bst-list-inner{ max-width: 880px; margin: 0 auto; padding: 0 32px; display: grid; gap: 20px; }
.bst-card{
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px 30px;
}
.bst-card.us{ border-color: rgba(0,161,214,.5); background: linear-gradient(180deg, rgba(0,161,214,.045), rgba(102,87,204,.035)); }
.bst-card-top{ display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.bst-rank{
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; font-size: 17px;
  background: var(--ink); color: #fff;
}
.bst-card.us .bst-rank{ background: var(--brand-grad); }
.bst-card-headings{ flex: 1; min-width: 200px; }
.bst-card-name{ font-size: 22px; font-weight: 800; color: var(--ink); margin: 0; line-height: 1.2; }
.bst-card-cat{ font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.bst-badge{
  flex: none; align-self: flex-start; font-size: 12.5px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; background: rgba(102,87,204,.1); color: var(--purple);
  border: 1px solid rgba(102,87,204,.2);
}
.bst-card.us .bst-badge{ background: rgba(0,161,214,.12); color: var(--cyan); border-color: rgba(0,161,214,.25); }
.bst-card-body{ margin: 16px 0 0; }
.bst-card-body p{ font-size: 15.5px; line-height: 1.7; color: var(--ink); margin: 0 0 12px; }
.bst-card-meta{ display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.bst-meta-item{ font-size: 13.5px; color: var(--muted); }
.bst-meta-item b{ color: var(--ink); font-weight: 700; }
.bst-card-links{ margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.bst-card-links a{ font-size: 14px; font-weight: 600; color: var(--cyan); text-decoration: none; }
.bst-card-links a:hover{ text-decoration: underline; }
.bst-card .btn{ margin-top: 18px; }

/* ============ FAQ ACCORDION ============ */
.bst-faq{ padding: 48px 0 8px; }
.bst-faq-inner{ max-width: 820px; margin: 0 auto; padding: 0 32px; }
.bst-faq-list{ margin-top: 22px; display: grid; gap: 12px; }
.bst-faq-item{ background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bst-faq-item summary{
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-size: 16px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.bst-faq-item summary::-webkit-details-marker{ display: none; }
.bst-faq-item summary::after{ content: "+"; font-size: 22px; font-weight: 400; color: var(--cyan); flex: none; transition: transform .2s ease; }
.bst-faq-item[open] summary::after{ transform: rotate(45deg); }
.bst-faq-item .bst-faq-a{ padding: 0 22px 20px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.bst-faq-item .bst-faq-a p{ margin: 0 0 12px; }
.bst-faq-item .bst-faq-a p:last-child{ margin-bottom: 0; }
.bst-faq-item .bst-faq-a a{ color: var(--cyan); font-weight: 600; text-decoration: none; }
.bst-faq-item .bst-faq-a a:hover{ text-decoration: underline; }

/* ============ MORE GUIDES GRID ============ */
.bst-others{ padding: 56px 0 80px; }
.bst-others-inner{ max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.bst-others-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.bst-other-card{
  display: flex; flex-direction: column; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
.bst-other-card:hover{ border-color: var(--cyan); transform: translateY(-2px); }
.bst-other-lbl{ font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bst-other-name{ font-size: 16px; font-weight: 700; color: var(--ink); }
.bst-other-arrow{ font-size: 13.5px; font-weight: 600; color: var(--cyan); margin-top: auto; }

/* ============ RESPONSIVE ============ */
@media (max-width: 820px){
  .bst-picks-grid{ grid-template-columns: 1fr; }
  .bst-others-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .bst-intro-inner, .bst-picks-inner, .bst-list-inner, .bst-faq-inner, .bst-others-inner{ padding-left: 20px; padding-right: 20px; }
  .bst-card{ padding: 22px 20px; }
}
