/* Pricing and download pages. Uses the variables of site.css. */
.page .wide { width: min(1120px, 100% - 40px); margin-inline: auto; }
.page .lead { max-width: 64ch; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--raised); border: 1px solid var(--hair); border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column; }
.plan.best { border-color: var(--s1); box-shadow: var(--shadow); }
.page .plan h2 { font-size: 22px; margin: 0; }
.page .plan-sub { margin-top: 6px; font-size: 15.5px; min-height: 3em; }
.page .price { margin-top: 18px; color: var(--ink); font-size: 16px; }
.price b { font-size: 38px; font-weight: 820; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.page .price-fine { margin-top: 4px; font-size: 14.5px; color: var(--muted); min-height: 4.4em; }
.page ul.plan-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 15.5px; }
.plan-list svg { width: 16px; height: 16px; margin-top: 4px; color: var(--good-ink); }
.page .plan .btn { margin-top: 26px; align-self: stretch; }
.page .fine { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.page h2.sec { font-size: 26px; margin: 64px 0 10px; }
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.addon { border-top: 2px solid var(--hair); padding-top: 18px; display: flex; flex-direction: column; }
.page .addon .addon-buy { margin-top: auto; padding-top: 8px; }
.addon h3 { font-size: 18px; }
.page .addon-price { margin: 4px 0 10px; color: var(--ink); font-size: 15px; }
.addon-price b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.page .addon p { font-size: 15.5px; }
.qa { margin-top: 18px; max-width: 760px; }
.qa dt { font-weight: 750; color: var(--ink); margin-top: 24px; scroll-margin-top: 90px; }
.qa dd { margin: 6px 0 0; color: var(--ink-2); }
.page pre.cmd { margin: 16px 0 0; padding: 16px 18px; background: #0b1015; color: #e7ecf0; border-radius: var(--r); overflow-x: auto; font-size: 15px; max-width: 760px; }
.page pre.cmd code { font-family: var(--sans); font-variation-settings: "MONO" 1; }
.page .links { margin-top: 28px; }
.page .links.pk { margin-top: 12px; }
.page p .btn { margin-top: 18px; }
@media (max-width: 900px) {
  .plans, .addons { grid-template-columns: 1fr; }
  .page .plan-sub, .page .price-fine { min-height: 0; }
}
.page .plan .buy-alt { margin-top: 12px; text-align: center; font-size: 14.5px; color: var(--ink-2); }
.page .addon .btn.small { margin-top: 6px; }
a[aria-busy="true"] { opacity: .6; pointer-events: none; }
/* Paddle's payment window. Paddle sets these as an inline style, which this site's
   Content-Security-Policy refuses, so the same placement is given here. */
iframe.paddle-frame-overlay { color-scheme: light; position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 2147483647; display: block; border: 0; margin: 0; padding: 0; background: transparent; }
/* A time-limited offer (promo.js puts .promo-on on <html> inside its dates). */
.p-promo { display: none; }
.promo-on .p-reg { display: none; }
.promo-on .p-promo { display: inline; }
.p-promo s { color: var(--muted); font-size: 20px; font-weight: 600; text-decoration-thickness: 2px; margin-right: 6px; white-space: nowrap; }
.price .p-promo b, .addon-price .p-promo b { white-space: nowrap; }
.promo-on .p-first { display: block; font-size: 14.5px; color: var(--good-ink); font-weight: 600; margin-top: 2px; }
.addon-price .p-promo s { font-size: 16px; }

/* Download page: the table of systems keeps to the text column. */
.page .table-wrap.sys { max-width: 760px; }
.page .table-wrap.sys td:last-child, .page .table-wrap.sys th:last-child { white-space: nowrap; }
