/* /plans — the features-by-plan tables. */

.plans-table {
  margin-top: var(--space-24);
  background: var(--color-surface);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.plans-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
  table-layout: fixed;
}

.plans-table caption {
  padding: var(--space-16) var(--space-16) var(--space-8);
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
}

.plans-table th,
.plans-table td {
  padding: var(--space-12) var(--space-8);
  border-top: 1px solid var(--color-hairline);
  vertical-align: middle;
}

.plans-table tbody th { overflow-wrap: anywhere; }

.plans-table thead th:first-child,
.plans-table tbody th {
  width: 40%;
  padding-left: var(--space-16);
  text-align: left;
}

.plans-table thead th {
  font-weight: 600;
  color: var(--color-text-secondary);
  text-align: center;
}

.plans-table tbody th { font-weight: 500; }

.plans-table tbody th a { color: var(--color-text); text-decoration: none; }

.plans-table tbody th a:hover { color: var(--color-accent-adaptive); text-decoration: underline; }

.plans-table td {
  text-align: center;
  color: var(--color-text-secondary);
}

.plans-infinity { font-size: 1.25rem; line-height: 1; }

.plans-table td svg { display: inline-block; color: var(--color-accent-adaptive); vertical-align: middle; }

@media (max-width: 560px) {
  .plans-table thead th:first-child,
  .plans-table tbody th { width: 36%; padding-left: var(--space-12); }
  .plans-table th,
  .plans-table td { padding-inline: var(--space-4); }
}
