/* /pricing: the plans and the comparison with Otter, Fireflies and Notta on one page.
   Owner 2026-10-22, looking at /compare: "this has to be the pricing page, instead of our weak pricing table ... Don't use
   tons of air in pricing tables! It must fit the page". Dense on purpose: the three cards and the first table rows fit a
   1440x900 and a 1280x800 screen without scrolling (scripts/qa-pricing-page.mjs measures it). Only the site's own tokens
   (site.css :root); Google Stitch timed out on 2026-10-22, so the look is the site's plan cards and /compare table made
   smaller. Gate: scripts/invariants/pricing-page.mjs. */

.nav a[aria-current="page"], .nav-menu-list a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.pp-head { padding: 88px 0 10px; }
.pp-eyebrow { font: 600 12px/16px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-deep); }
.pp-head h1 { margin-top: 4px; font: 800 32px/38px var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.pp-lead { margin-top: 2px; font-size: 15px; line-height: 22px; color: var(--body); }

.pp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pp-card { position: relative; display: flex; flex-direction: column; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.pp-card.pp-best { padding: 15px 17px; border: 2px solid var(--orange-bright); box-shadow: var(--shadow-card); }
.pp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.pp-card h2 { font: 700 17px/22px var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.pp-badge { padding: 1px 9px; border-radius: 999px; border: 1px solid var(--orange-200); background: var(--orange-50); color: var(--orange-deep); font: 600 12px/18px var(--font-body); white-space: nowrap; }
.pp-price { margin-top: 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; }
.pp-price b { font: 800 30px/36px var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.pp-price span { font-size: 13px; line-height: 18px; color: var(--muted); }
/* The limits take the free space below them, so the small print and the three buttons line up at the bottom. */
.pp-limits { list-style: none; margin: 8px 0 auto; padding: 0 0 10px; display: grid; gap: 4px; }
.pp-limits li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 19px; color: var(--text); }
.pp-limits .ic { width: 18px; height: 18px; padding: 3px; margin-top: 0.5px; border-radius: 50%; color: var(--green); background: var(--green-50); stroke-width: 2.8; }
.pp-terms { list-style: none; margin: 0; padding: 0 0 10px; display: grid; gap: 2px; }
.pp-terms li { font-size: 11.5px; line-height: 16px; color: var(--muted); }
.pp-card .btn { padding: 9px 16px; font-size: 15px; line-height: 22px; }
.pp-note { margin-top: 8px; font-size: 12.5px; line-height: 18px; color: var(--muted); }
.pp-note b { margin-inline-end: 4px; color: var(--ink); font-weight: 700; }
.pp-note span + span { margin-inline-start: 4px; }

.pp-cmp { padding: 14px 0 44px; }
.pp-cmp-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }
.pp-cmp-head h2 { font: 700 19px/24px var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.pp-full { display: inline-flex; align-items: center; gap: 2px; font: 600 13.5px/20px var(--font-body); color: var(--orange-deep); text-decoration: none; white-space: nowrap; }
.pp-full:hover { text-decoration: underline; }
.pp-full .ic { width: 16px; height: 16px; }
[dir="rtl"] .pp-full .ic { transform: scaleX(-1); }

/* Only the table scrolls sideways on a narrow screen, never the page. */
.pp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); }
.pp-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pp-table th, .pp-table td { height: 38px; padding: 6px 10px; text-align: start; vertical-align: middle; border-top: 1px solid var(--line-soft); font-size: 12.5px; line-height: 18px; color: var(--body); }
.pp-table thead th, .pp-table thead td { height: 36px; border-top: 0; border-bottom: 1px solid var(--line); }
.pp-table .pp-corner { width: 18%; }
.pp-table thead .pp-ours { width: 22%; box-shadow: inset 0 3px 0 var(--orange-bright); }
.pp-name { font: 700 14px/18px var(--font-display); color: var(--ink); }
.pp-table tbody th { font: 600 12.5px/18px var(--font-body); color: var(--slate-700); }
.pp-table .pp-ours { background: var(--orange-50); }
.pp-table tbody .pp-ours { border-top-color: var(--orange-100); font-weight: 600; color: var(--ink); }
.pp-yes { width: 18px; height: 18px; padding: 3px; margin-inline-end: 6px; vertical-align: -4px; border-radius: 50%; color: var(--green); background: var(--green-50); stroke-width: 2.8; }
.pp-table .cmp-mark { width: 15px; height: 15px; margin-inline-end: 5px; vertical-align: -3px; color: var(--faint); stroke-width: 2.6; }
.pp-table [data-mark="yes"] .cmp-mark { color: var(--slate-700); }
.pp-table .cmp-cite { color: var(--body); }
.pp-table .cmp-cite:hover { color: var(--orange-deep); }
.pp-cmp-note { margin-top: 8px; font-size: 12px; line-height: 18px; color: var(--muted); }
.pp-cmp-note time { font-family: var(--font-mono); font-size: 11.5px; }

@media (max-width: 1100px) {
  .pp-head h1 { font-size: 30px; line-height: 36px; }
  .pp-cards { gap: 10px; }
  .pp-card { padding: 14px; }
  .pp-card.pp-best { padding: 13px; }
}
@media (max-width: 900px) {
  .pp-cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .pp-card.pp-best { order: -1; }
}
@media (max-width: 760px) {
  .pp-head { padding-top: 82px; }
  .pp-head h1 { font-size: 26px; line-height: 32px; }
  .pp-table { min-width: 680px; }
  .pp-table .pp-corner { width: 136px; }
  .pp-table tbody th, .pp-table .pp-corner { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--surface); box-shadow: inset -1px 0 0 var(--line); }
  [dir="rtl"] .pp-table tbody th, [dir="rtl"] .pp-table .pp-corner { box-shadow: inset 1px 0 0 var(--line); }
}
