/* Header, footer, fonts, colors and buttons come from the homepage styles. */
.pricing-main { padding-top: var(--header-h); }
.pricing-intro { padding: 72px 0 42px; }
.pricing-intro h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 22px;
}
.pricing-intro p { max-width: 600px; color: var(--ink-dim); }
.pricing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; }
.plan:nth-child(2) { border-color: var(--brand-edge); }
.plan h2 { font-size: 19px; margin: 0 0 20px; }
.price { font-size: 42px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 26px; }
.price span { font-size: 13px; letter-spacing: 0; font-weight: 400; color: var(--ink-dim); }
.plan ul { padding-left: 18px; flex: 1; margin: 0 0 28px; }
.plan li { margin: 12px 0; font-size: 14px; }
.plan-cta { justify-content: center; width: 100%; }
summary:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { width: 100%; }
.comparison { padding-top: 72px; }
.comparison h2, .pricing-questions h2 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 28px; }
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; }
.comparison table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 650px; }
.comparison th, .comparison td { padding: 16px 18px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: middle; width: 25%; }
.comparison tbody tr:last-child > * { border-bottom: 0; }
.comparison th { font-weight: 500; }
.comparison td { color: var(--ink-dim); }
.comparison tbody tr:not(.group):hover > * { background-color: var(--surface-2); }
.comparison thead th { background: var(--surface-2); border-bottom: 1px solid var(--rule); padding-top: 18px; padding-bottom: 18px; font: 500 11px var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-dim); vertical-align: bottom; }
.col-plan { display: block; font: 600 15px var(--font-sans); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.col-price { display: block; margin-top: 4px; font: 400 12px var(--font-mono); letter-spacing: 0; text-transform: none; color: var(--ink-dim); }
/* Maker column echoes the highlighted Maker card. */
.comparison thead th:nth-child(3), .comparison tbody td:nth-child(3) { background-color: var(--brand-soft); }
.comparison thead th:nth-child(3) { box-shadow: inset 0 2px 0 var(--brand); }
.comparison thead th:nth-child(3) .col-price { color: var(--brand-ink); }
.comparison tr.group th { padding: 22px 18px 8px; border-bottom: 1px solid var(--hairline); font: 500 11px var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--brand-ink); background: var(--surface); }
.comparison tbody th[scope="row"] { color: var(--ink); background: var(--surface); }
.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; }
.yes { display: inline-flex; align-items: center; gap: 6px; }
.check { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.no { color: var(--ink-mute); }
/* Hover/focus targets that carry an explanation (pricing.js renders the tooltip). */
.tip { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: help; }
.tip:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
.beta { font-size: 12px; color: var(--brand-ink); text-decoration: underline dotted; text-decoration-color: var(--brand-edge); text-underline-offset: 3px; }
.beta:hover { text-decoration-color: var(--brand); }
.chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 12px var(--font-mono); padding: 3px 9px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); }
.chip:hover { border-color: var(--brand-edge); color: var(--brand-ink); }
.floating-tip { position: fixed; z-index: 60; max-width: 260px; padding: 10px 12px; border-radius: 6px; background: var(--ink); color: #fafafa; font-size: 12.5px; line-height: 1.5; box-shadow: 0 8px 24px rgba(24, 24, 27, .18); pointer-events: none; }
.floating-tip[hidden] { display: none; }
.quality-key { margin-top: 18px; padding: 20px 22px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); }
.quality-key h3 { font: 500 11px var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; }
.quality-key ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
.quality-key li p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-dim); }
.quality-key li b { display: block; font-weight: 600; color: var(--ink); }
.pricing-questions { max-width: 760px; padding: 72px 0; }
.pricing-questions details { border-bottom: 1px solid var(--rule); padding: 19px 0; }
.pricing-questions summary { cursor: pointer; font-weight: 500; }
.pricing-questions p { font-size: 14px; color: var(--ink-dim); max-width: 650px; margin: 14px 0 4px; }
@media (max-width: 780px) {
  .pricing-plans { grid-template-columns: 1fr; }
  .pricing-intro { padding-top: 44px; }
  .plan { padding: 24px; }
  .pricing-questions { padding: 46px 0; }
  .comparison { padding-top: 46px; }
  /* Keep feature names visible while the table scrolls sideways. */
  .comparison tbody th[scope="row"], .comparison thead th:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--hairline); }
  .comparison tr.group th span { position: sticky; left: 18px; }
  .quality-key ul { grid-template-columns: 1fr; }
}
