/* Pricing page: reuses landing.css (plans, section heads, final band, footer) and page-hero.css, and adds the comparison table and the questions. */

.pricing-page .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pricing-page .main a[aria-current="page"] { color: var(--ink); }

/* The hero comes from page-hero.css, shared with About. */
.pricing-plans { padding-top: 0; }
.plan .plan-name { margin: 0; font-size: 18px; font-weight: 500; }
.plans-note { margin: 20px 0 0; color: var(--ink-3); font-size: 13px; }
.faq details p a { color: var(--ink); text-underline-offset: 3px; }

/* Comparison: a quiet ruled table; the Pro column carries the same lifted surface as its plan card. */
.compare-section { border-top: 1px solid var(--line); }
.compare-scroll { overflow-x: auto; border-block: 1px solid var(--line); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; padding-block: 22px; font-size: 16px; font-weight: 500; color: var(--ink); }
.compare tbody th[scope="row"] { width: 40%; font-weight: 400; color: var(--ink-2); }
.compare td { color: var(--ink); }
.compare .pop { background: var(--surface); }
.compare .group th {
  padding-top: 34px; color: var(--ink); font-size: 16px; font-weight: 500; border-top: 0;
}
.compare td.yes, .compare td.no { font-size: 0; }
.compare td.yes::before { content: '✓'; font-size: 14px; color: var(--ink); }
.compare td.no::before { content: '·'; font-size: 14px; color: var(--ink-3); }
/* The words stay for screen readers; the marks are what sighted readers scan. */
.compare td.yes, .compare td.no { color: transparent; }
@media (forced-colors: active) {
  .compare td.yes, .compare td.no { font-size: 14px; color: CanvasText; }
  .compare td.yes::before, .compare td.no::before { content: none; }
}

/* Questions: native disclosure rows. */
.faq-section { border-top: 1px solid var(--line); }
.faq { border-block: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ink-3); font-family: var(--mono); font-size: 18px; transition: rotate 200ms cubic-bezier(.16,1,.3,1); }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.faq details p { max-width: 62ch; margin: 0 0 24px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

@media (max-width: 760px) {
  .compare th, .compare td { padding: 14px 14px; }
  .compare tbody th[scope="row"] { width: auto; }
}
