/* The price list on /pricing, on top of legal.css: a wider column, the
   duration cards and the capacity table. */

.doc--wide { max-width: 1040px; }
.topbar__inner--wide { max-width: 1040px; }

.doc section { margin-top: 8px; }
.doc h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); }

.tag {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
  vertical-align: middle;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.plans__wait { color: var(--ink-3); }

.plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.plan--best { border: 2px solid var(--accent); padding: 17px; }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.plan__off {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
}
.doc .plan__price { margin: 6px 0 0; color: var(--ink); font-size: 21px; font-weight: 800; line-height: 1.6; }
.doc .plan__per { margin: 0 0 12px; color: var(--ink-3); font-size: 14px; }
.plan__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  text-decoration: none;
}
.plan__buy:hover { text-decoration: none; opacity: 0.9; }

.table {
  margin-top: 14px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.table thead th { color: var(--ink-3); font-size: 13.5px; font-weight: 700; }
.table tbody th { color: var(--ink); font-weight: 800; white-space: nowrap; }
.table tbody tr:last-child > * { border-bottom: 0; }

.start { margin: 40px 0 0; text-align: center; }
.start__btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.start__btn:hover { text-decoration: none; opacity: 0.92; }

@media (prefers-reduced-motion: no-preference) {
  .plan__buy, .start__btn { transition: opacity 0.15s ease; }
}
