/* Pricing page (pricing.html). Builds on landing.css: same tokens, type scale, list and FAQ styles. Solid colours only. */
.pp main, .pp #app { display: block; }
.pp-head { text-align: center; padding: 88px 24px 8px; max-width: 760px; margin: 0 auto; }
.pp-head h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 18px; text-wrap: balance; }
.pp-head > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0 auto; max-width: 600px; text-wrap: pretty; }

.pp-usage { max-width: 880px; margin: 32px auto 0; padding: 0 24px; }
.pp-usage .card { padding: 16px 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.pp-usage .card div { font-size: 13px; color: var(--muted); min-width: 0; }
.pp-usage .card b { display: block; font-size: 16px; color: var(--text); margin-top: 2px; }
.pp-pastdue { max-width: 760px; margin: 24px auto 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }

.pp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto; padding: 48px 24px 0; }
.pp .price-card { display: flex; flex-direction: column; padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); position: relative; }
.pp .price-card.featured { border: 2px solid var(--accent); box-shadow: var(--lp-shadow, var(--shadow-lg)); }
.pp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-card-top h2 { font-size: 20px; margin: 0; letter-spacing: -.01em; }
.pp-tag, .pp-current { font-size: 12px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.pp-blurb { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }
.pp-price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 24px; }
.pp-price b { font-size: 52px; line-height: 1; letter-spacing: -.045em; }
.pp-price span { color: var(--muted); font-size: 15px; }
.pp .price-card .btn { width: 100%; height: 48px; border-radius: 11px; font-size: 15px; }
.pp-actions { display: grid; gap: 8px; }
.pp .price-card .lp-list { margin: 26px 0 0; padding-top: 24px; border-top: 1px solid var(--border); }
.pp-business { text-align: center; color: var(--muted); font-size: 14.5px; margin: 24px auto 0; padding: 0 24px; }
.pp-continue { text-align: center; margin: 24px 0 0; }
.pp-continue a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.pp-compare { max-width: 880px; margin: 0 auto; padding: 112px 24px 0; }
.pp-compare .lp-h2 { text-align: center; margin-bottom: 36px; }
.pp-table-wrap { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow-x: auto; }
.pp-table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-compare table { width: 100%; border-collapse: collapse; }
.pp-compare th, .pp-compare td { padding: 14px 20px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14.5px; color: var(--text-2); font-weight: 400; vertical-align: middle; }
.pp-compare td, .pp-compare thead th:not(:first-child) { text-align: center; width: 24%; }
.pp-compare thead th { background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 15px; padding-top: 16px; padding-bottom: 16px; }
.pp-compare tbody th { color: var(--text); font-weight: 500; }
.pp-compare .pp-pro { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.pp-compare thead .pp-pro { color: var(--accent-text); }
.pp-compare tr.pp-group th { background: var(--surface); color: var(--accent-text); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding-top: 22px; padding-bottom: 10px; }
.pp-compare tbody:last-child tr:last-child th, .pp-compare tbody:last-child tr:last-child td { border-bottom: 0; }
.pp-yes, .pp-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; }
.pp-yes { background: var(--accent); color: var(--on-accent); }
.pp-no { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.pp-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 18px 0 0; }

.pp-faq { max-width: 1120px; margin: 0 auto; padding: 112px 24px 120px; }
.pp-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 72px; align-items: start; }
.pp-faq-grid > div:first-child { position: sticky; top: calc(var(--header-h, 60px) + 32px); }
.pp-faq-more { color: var(--muted); font-size: 16px; margin: 0; }
.pp-faq-more a { font-weight: 600; }
.pp-faq .faq { max-width: none; margin: 0; }

@media (max-width: 900px) {
  .pp-usage .card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pp-faq-grid > div:first-child { position: static; }
}
@media (max-width: 760px) {
  .pp-cards { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
}
@media (max-width: 600px) {
  .pp-head { padding: 48px 16px 0; }
  .pp-head > p:last-child { font-size: 16.5px; }
  .pp-cards { padding: 36px 16px 0; gap: 16px; }
  .pp-usage { padding: 0 16px; }
  .pp .price-card { padding: 24px; }
  .pp-price b { font-size: 44px; }
  .pp-compare { padding: 80px 16px 0; }
  .pp-compare th, .pp-compare td { padding: 12px 10px; font-size: 13.5px; }
  .pp-compare tbody th { padding-left: 14px; }
  .pp-compare td, .pp-compare thead th:not(:first-child) { width: 25%; }
  .pp-faq { padding: 80px 16px 88px; }
}
