/*
 * pricing.css — static commercial pricing page (pricing.html).
 * Same construction as index.html (static, no React); tokens only per CONVENTIONS §2.
 * Prefix: pr-*
 */

.pr-root { width: 100%; overflow-x: hidden; color: var(--ink); font-family: var(--font-sans); line-height: 1.55; background: var(--white); }
.pr-root * { box-sizing: border-box; }

.pr-root a:not(.pr-btn) { color: var(--text-link); text-decoration: none; }
.pr-root a:not(.pr-btn):hover { color: var(--green-800); }
.pr-root a:focus-visible, .pr-root button:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* wordmark */
.pr-wordmark { display: inline-flex; align-items: baseline; font-family: var(--font-sans); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.pr-wordmark .dot { color: var(--color-brand); }

/* header */
.pr-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--gray-200); }
.pr-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pr-nav { display: flex; align-items: center; gap: 32px; }
.pr-nav a { color: var(--gray-700); font-weight: 500; font-size: 15px; }

/* buttons — primary is INK; teal is the accent */
.pr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--white); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 160ms, border-color 160ms; font-family: inherit; font-weight: 700; white-space: nowrap; }
.pr-btn:hover { color: var(--white); }
.pr-btn--ink { background: var(--ink); border-color: var(--ink); }
.pr-btn--ink:hover { background: var(--gray-800); border-color: var(--gray-800); }
.pr-btn--green { background: var(--color-brand); border-color: var(--color-brand); }
.pr-btn--green:hover { background: var(--color-brand-hover); border-color: var(--color-brand-hover); }
.pr-btn--ghost { background: var(--white); color: var(--ink); border-color: var(--gray-300); }
.pr-btn--ghost:hover { background: var(--gray-50); color: var(--ink); }
.pr-btn--lg { height: 52px; padding: 0 24px; border-radius: 12px; font-size: 16px; }
.pr-btn--md { height: 42px; padding: 0 18px; border-radius: 10px; font-size: 15px; }

/* hero */
.pr-hero { max-width: 1200px; margin: 0 auto; padding: clamp(44px, 6vw, 80px) 24px clamp(24px, 3vw, 40px); text-align: center; }
.pr-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--green-50); color: var(--green-900); font-weight: 600; font-size: 13px; margin-bottom: 22px; }
.pr-h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin: 0 auto 16px; max-width: 22ch; }
.pr-lead { font-size: clamp(16px, 2vw, 19px); line-height: 1.55; color: var(--gray-700); margin: 0 auto 8px; max-width: 58ch; }
.pr-terms { font-size: 15px; color: var(--gray-600); margin: 0 auto; max-width: 60ch; }

/* two plan summary cards */
.pr-plans { max-width: 900px; margin: 0 auto; padding: clamp(24px, 3vw, 40px) 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pr-plan { border: 1px solid var(--gray-200); border-radius: 16px; padding: clamp(24px, 3vw, 32px); background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.pr-plan--paid { background: var(--green-50); border-color: var(--green-200); }
.pr-plan-name { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--gray-600); }
.pr-plan--paid .pr-plan-name { color: var(--green-800); }
.pr-plan-price { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.pr-plan-price .pr-per { font-size: 15px; font-weight: 600; color: var(--gray-600); letter-spacing: 0; }
.pr-plan-blurb { font-size: 14.5px; line-height: 1.55; color: var(--gray-700); margin: 4px 0 14px; }
.pr-plan .pr-btn { margin-top: auto; }

/* comparison table */
.pr-compare { max-width: 900px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) 24px; }
.pr-compare-h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 8px; text-align: center; }
.pr-compare-sub { text-align: center; color: var(--gray-600); font-size: 15px; margin: 0 0 32px; }
.pr-tablewrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: 16px; background: var(--white); }
.pr-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.pr-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pr-table th, .pr-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--gray-200); }
.pr-table thead th { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--gray-600); background: var(--gray-50); }
.pr-table thead th:first-child { border-top-left-radius: 16px; }
.pr-table thead th:last-child { border-top-right-radius: 16px; }
.pr-table tbody th[scope="row"] { font-weight: 600; color: var(--ink); width: 46%; }
.pr-table tbody tr:last-child th, .pr-table tbody tr:last-child td { border-bottom: none; }
.pr-table td { color: var(--gray-800); }
.pr-yes { display: inline-flex; align-items: center; gap: 7px; color: var(--green-800); font-weight: 600; }
.pr-no { display: inline-flex; align-items: center; gap: 7px; color: var(--gray-500); }
.pr-yes svg, .pr-no svg { flex-shrink: 0; }
.pr-cell-note { display: block; font-size: 13px; font-weight: 400; color: var(--gray-600); margin-top: 2px; }

/* notes under the table */
.pr-notes { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pr-notes li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--gray-700); }
.pr-notes li svg { flex-shrink: 0; margin-top: 2px; }

/* closing CTA band */
.pr-cta-band { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.pr-cta-band-inner { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 72px) 24px; text-align: center; }
.pr-cta-band h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 10px; }
.pr-cta-band p { color: var(--gray-700); font-size: 16px; margin: 0 auto 24px; max-width: 52ch; }
.pr-cta-band .pr-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* footer (same skeleton as index.html) */
.pr-footer { background: var(--white); padding: clamp(48px, 6vw, 72px) 0 40px; }
.pr-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pr-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 40px 24px; }
.pr-footer-brand { grid-column: 1 / -1; max-width: 320px; margin-bottom: 8px; }
.pr-footer-brand p { font-size: 14px; line-height: 1.55; color: var(--gray-600); margin: 14px 0 0; }
.pr-footer-col-title { font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.pr-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pr-footer ul a { font-size: 14px; color: var(--gray-700); }
.pr-footer-legal { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.pr-footer-legal span { font-size: 13px; color: var(--gray-500); }

@media (max-width: 840px) {
  .pr-nav { display: none; }
}
