/**
 * /pricing/ page-local styles (S7 #70).
 *
 * The plan cards themselves come from `/components/plan-card.css`; this file
 * only adds page-level chrome: centered title block, FAQ 2×2 grid, and the
 * screen-reader-only heading helper.
 */

.p-pricing {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}

.p-price-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--space-9);
}

.p-price-head h1 {
  margin: 0 0 var(--space-2);
}

.p-price-head p {
  margin: 0;
}

/* Dashboard / Log in link in the pricing header — keep it visually aligned
   with the language toggle on the right side. */
#pricing-account-link {
  white-space: nowrap;
}

/* FAQ: 2 columns × 2 rows on desktop, 1 column ≤767.98px (matches the
   `.c-plan-grid` breakpoint in plan-card.css so the S7 layout collapses
   together). C2 (#76) owns the 640px responsive refinement. */
.p-faq {
  margin-top: var(--space-9);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-7);
}

@media (max-width: 767.98px) {
  .p-faq {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

.p-faq__item {
  background: var(--bg-primary);
  border: 0.5px solid var(--border-tertiary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.p-faq__q {
  margin: 0 0 var(--space-2);
  font-size: var(--font-size-h3);
  font-weight: 500;
  color: var(--text-primary);
}

.p-faq__a {
  margin: 0;
  font-size: var(--font-size-small);
  color: var(--text-secondary);
  line-height: 1.5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
