/* Pricing cards' Monthly/Annual switch, yearly-total note, and the plan
   comparison table (front/partials/pricing-cards + plan-compare). Loaded by
   the homepage and the pricing page. */

.ss-billing-toggle {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 4px;
  gap: 4px;
  border: 1px solid #dbe5ee;
  border-radius: 999px;
  background: #fff;
}
.ss-billing-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
}
.ss-billing-toggle button.is-active { background: #00A86B; color: #fff; }
.ss-billing-toggle em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e7f7ef;
  color: #0b7a4d;
}
.ss-billing-toggle button.is-active em { background: rgba(255, 255, 255, .22); color: #fff; }
.ss-billing-toggle button:focus-visible { outline: 2px solid #0b7a4d; outline-offset: 2px; }

.pricing-card .ss-price { margin-bottom: 6px; }
.ss-price-note {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #0b7a4d;
}

.ss-compare-link { text-align: center; margin: 26px 0 0; font-weight: 600; }
.ss-compare-link a { color: #0b7a4d; }

/* Comparison table: feature column + four equal plan columns, compact rows. */
.ss-compare { margin-top: 56px; }
.ss-compare-scroll {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.ss-compare-table { width: 100%; min-width: 640px; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.ss-compare-col-feature { width: 32%; }
.ss-compare-col-plan { width: 17%; }
.ss-compare-table th,
.ss-compare-table td { padding: 8px 12px; border-bottom: 1px solid #eef2f6; text-align: center; vertical-align: middle; line-height: 1.35; }
.ss-compare-table tbody tr:last-child th,
.ss-compare-table tbody tr:last-child td { border-bottom: 0; }
.ss-compare-table tbody th[scope="row"] { text-align: left; font-weight: 500; color: #0f172a; }
.ss-compare-table thead th { vertical-align: top; padding-top: 14px; padding-bottom: 12px; border-bottom: 2px solid #e2e8f0; }
.ss-compare-table thead strong { display: block; font-size: 15.5px; color: #0f172a; }
.ss-compare-table thead small { display: block; margin-top: 2px; font-size: 12.5px; color: #64748b; font-weight: 600; }
.ss-compare-cta { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: #0b7a4d; }
.ss-compare-table .is-featured { background: #f3fbf7; }
.ss-compare-section th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
  padding-top: 7px;
  padding-bottom: 7px;
}
.ss-compare-table .fa-check { color: #00A86B; font-size: 15px; }
.ss-compare-no { color: #cbd5e1; font-size: 16px; }
.ss-compare-text { font-size: 12.5px; font-weight: 600; color: #334155; }
/* Keep the feature names visible while the plan columns scroll on phones. */
.ss-compare-table tbody th[scope="row"],
.ss-compare-table thead th:first-child { position: sticky; left: 0; background: #fff; z-index: 1; }

.ss-compare-hint { display: none; text-align: center; font-size: 13px; color: #64748b; margin: 0 0 10px; }
@media (max-width: 720px) {
  .ss-compare-hint { display: block; }
}

@media (max-width: 575px) {
  .ss-billing-toggle button { padding: 8px 14px; font-size: 14px; }
  .ss-compare { margin-top: 40px; }
  .ss-compare-table { min-width: 560px; }
  .ss-compare-col-feature { width: 30%; }
  .ss-compare-col-plan { width: 17.5%; }
  .ss-compare-table th, .ss-compare-table td { padding: 7px 8px; }
}
