.pricing-block {
  margin-top: var(--space-2xl);
}

.pricing-block .section-head p {
  max-width: 65ch;
}

.pricing-table-wrap {
  max-width: 900px;
  margin-inline: auto;
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pricing-table thead th {
  background: var(--color-charcoal-900);
  color: #fff;
  text-align: left;
  padding: 0.9em 1.2em;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-table tbody td {
  padding: 0.9em 1.2em;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

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

.pricing-table tbody tr:nth-child(even) td {
  background: var(--color-surface-tint);
}

.pricing-price {
  font-weight: 700;
  color: var(--color-charcoal-900);
  text-align: right;
  white-space: nowrap;
}

/* Below ~560px a rigid 2-column table forces the price column to clip
   with no visible scroll affordance, which reads as a broken layout.
   Stack each row into a label/value block instead — no horizontal
   scrolling needed, nothing gets cut off. */
@media (max-width: 560px) {
  .pricing-table-wrap {
    overflow-x: visible;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table tbody tr {
    padding: 0.85em 1.1em;
    border-bottom: 1px solid var(--color-border);
  }

  .pricing-table tbody tr:last-child {
    border-bottom: none;
  }

  .pricing-table tbody td {
    padding: 0.15em 0;
    border-bottom: none;
    white-space: normal;
  }

  .pricing-price {
    text-align: left;
    font-size: 1.05rem;
  }
}
