/*
 * Pricing — full comparison table. Paper background with 12 feature
 * rows × 4 columns (Feature / Starter / Pro / Enterprise). Pro column
 * is highlighted via a paper-2 fill.
 *
 * Mobile sweep: at <=768 the table overflows horizontally inside a
 * scroll container so the 4-col format survives without re-stacking
 * (which would lose the side-by-side comparison value). A subtle
 * scrim on the right edge hints at the scroll affordance.
 */

.pricing-compare-section {
  background: var(--paper);
  color: var(--ink-0);
  padding: 120px 48px;
}
.pricing-compare-inner { max-width: var(--max-w-narrow); margin: 0 auto; }
.pricing-compare-head { text-align: center; margin-bottom: 56px; }
.pricing-compare-head .b-eyebrow-amber { color: var(--amber-2); }
.pricing-h2-dark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink-0);
  margin-top: 12px;
  text-wrap: balance;
}

.pricing-compare-scroll {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}
.pricing-compare-table th {
  padding: 18px 20px;
  border-bottom: 2px solid var(--ink-0);
}
.pricing-compare-table th.pricing-th-feat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-1);
  font-weight: 600;
}
.pricing-compare-table th.pricing-th-tier {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.01em;
}
.pricing-compare-table th.pricing-th-tier--pro {
  background: var(--ink-0);
  color: var(--paper);
}
.pricing-compare-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--paper-line);
  text-align: center;
  font-family: var(--mono);
}
.pricing-compare-table td.pricing-td-feat {
  font-size: 14px;
  color: var(--ink-1);
  font-weight: 500;
  text-align: left;
  font-family: var(--body);
}
.pricing-compare-table td.pricing-td--pro {
  background: var(--paper-2);
  font-weight: 500;
  color: var(--ink-0);
}

@media (max-width: 1024px) {
  .pricing-compare-section { padding: 96px 32px; }
  .pricing-h2-dark { font-size: 38px; }
}
@media (max-width: 768px) {
  .pricing-compare-section { padding: 72px 20px; }
  .pricing-h2-dark { font-size: 28px; }
  .pricing-compare-head { margin-bottom: 32px; }
  /* Right-edge fade affordance for horizontal scroll */
  .pricing-compare-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 32px;
    background: linear-gradient(to right, transparent, var(--paper));
    pointer-events: none;
  }
  .pricing-compare-table th { padding: 14px 12px; }
  .pricing-compare-table td { padding: 12px 12px; font-size: 13px; }
  .pricing-compare-table th.pricing-th-tier { font-size: 15px; }
}
