/* Pricing page (.pr-*). Builds on the shared kit in rlm.css. */

.r-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* header */
.pr-disclaimer { margin: 28px 0 0; padding-left: 18px; border-left: 3px solid var(--r-blue); max-width: 44em; font-size: 17px; line-height: 1.6; color: var(--r-ink-2); }
.pr-disclaimer a { color: var(--r-blue); font-weight: 600; }

/* sticky section switcher */
.pr-jump-bar { position: sticky; top: 80px; z-index: 20; background: var(--r-paper); border-bottom: 1px solid var(--r-line); padding: 10px 0; }
.pr-jump { flex-wrap: wrap; }
.pr-sec { scroll-margin-top: 150px; }

/* tables sit on any band */
.r-table-box { color: var(--r-ink); }
.r-table td { color: var(--r-ink-2); }
.r-table td.r-from { color: var(--r-ink); white-space: nowrap; }
.r-table td { min-width: 90px; }
.r-table td:nth-child(2) { min-width: 260px; }
.r-table tbody tr:last-child th, .r-table tbody tr:last-child td { border-bottom: 0; }
.r-table th[scope="row"] { min-width: 170px; }
.r-badge { display: inline-block; margin-top: 6px; margin-left: 0; }
.r-table th[scope="row"] .r-badge { margin-left: 0; }
@media (min-width: 900px) { .r-table th[scope="row"] .r-badge { margin-left: 10px; margin-top: 0; } }

/* sub heading + intro */
.pr-sub { margin: 56px 0 24px; font: 700 26px/1.15 var(--r-display); letter-spacing: -0.02em; }
.pr-sub-gap { margin-top: 72px; margin-bottom: 12px; }
.pr-intro { margin: 0 0 28px; max-width: 44em; font-size: 17px; line-height: 1.6; color: var(--r-ink-2); }
.pr-desc { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--r-muted); }
.r-row > :last-child.pr-desc, .r-row .pr-desc { font-size: 16px; color: var(--r-muted); }

/* package inclusions: three columns, one featured panel */
.pr-incl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 24px; align-items: stretch; }
.pr-pack { display: flex; flex-direction: column; padding: 24px 4px 4px; }
.pr-pack-plain { border-top: 3px solid var(--r-ink); }
.pr-pack h4 { margin: 0; font: 700 24px/1.15 var(--r-display); letter-spacing: -0.02em; }
.pr-pack-price { display: block; margin-top: 4px; font: 600 16px var(--r-body); letter-spacing: 0; color: var(--r-muted); }
.pr-pack-flag { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--r-blue); }
.pr-pack.r-panel { padding: 28px 24px; color: var(--r-ink); }
.pr-pack .pr-list { margin-top: 16px; flex: 1 1 auto; }
.pr-cta { margin-top: 24px; align-self: flex-start; }
.r-row .pr-cta { margin-top: 18px; }

.pr-list { margin: 0; padding: 0; list-style: none; }
.pr-list li { padding: 11px 0; border-top: 1px solid var(--r-line); font-size: 16px; line-height: 1.45; color: var(--r-ink-2); }
.pr-list li:last-child { border-bottom: 1px solid var(--r-line); }
.pr-list-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); column-gap: 32px; }
.pr-list-2 { border-bottom: 1px solid var(--r-line); }
.pr-list-2 li, .pr-list-2 li:last-child { border-bottom: 0; }
.r-row ul.pr-list { margin: 0; padding-left: 0; }
.r-row p + ul.pr-list { margin-top: 18px; }
.r-row > :last-child p { margin: 0; }

/* on the blue band */
.r-band-blue .pr-pack-plain { border-top-color: #fff; }
.r-band-blue .pr-pack-plain .pr-pack-price { color: #DCE5FF; }
.r-band-blue .pr-pack-plain .pr-list li { border-color: rgba(255, 255, 255, 0.28); color: #E6ECFF; }
.r-band-blue .pr-pack.r-panel { box-shadow: none; }
.r-band-blue .pr-pack.r-panel h4 { color: var(--r-ink); }
.r-band-blue .pr-pack.r-panel .pr-list li { border-color: var(--r-line); color: var(--r-ink-2); }
.r-band-blue .pr-pack-flag { color: var(--r-blue); }
[data-theme="dark"] .r-band-blue .pr-pack.r-panel .pr-pack-flag { color: var(--r-blue-hover); }
.r-band-blue .r-btn-ink { background: var(--r-ink); color: #fff; }
[data-theme="dark"] .r-band-blue .r-btn-ink { background: var(--r-blue); }

/* price lines in spec rows */
.pr-price { margin: 14px 0 0; font: 800 34px/1 var(--r-display); letter-spacing: -0.02em; color: var(--r-ink); }
.pr-from { display: block; margin-bottom: 4px; font: 500 14px var(--r-body); letter-spacing: 0; color: var(--r-muted); }
.pr-per { font: 600 17px var(--r-body); color: var(--r-muted); letter-spacing: 0; }
.pr-price .r-tag { font-size: 14px; padding: 6px 14px; }
.pr-tag-soft { background: var(--r-ink); color: var(--r-paper); }

/* ledger: label, leader, price */
.pr-ledger { margin: 18px 0 0; padding: 0; list-style: none; flex: 1 1 auto; }
.pr-ledger li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--r-line); font-size: 16px; line-height: 1.4; color: var(--r-ink-2); }
.pr-ledger li:last-child { border-bottom: 1px solid var(--r-line); }
.pr-ledger em { font-style: normal; color: var(--r-muted); font-size: 14px; }
.pr-ledger strong { font: 700 17px var(--r-display); color: var(--r-ink); white-space: nowrap; }

/* combos: receipts on the yellow band */
.pr-combos { gap: 32px 48px; }
.pr-combo { display: flex; flex-direction: column; padding-top: 22px; border-top: 3px solid #1E2227; color: #1E2227; }
.pr-combo h3 { margin: 0; font: 700 26px/1.1 var(--r-display); letter-spacing: -0.02em; color: #1E2227; }
.pr-combo .pr-desc { color: #2E2A1A; }
.pr-combo .pr-ledger li { border-color: rgba(30, 34, 39, 0.28); color: #1E2227; }
.pr-combo .pr-ledger em { color: #4A3A00; }
.pr-combo .pr-ledger strong { color: #1E2227; }
.pr-total { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 3px solid #1E2227; margin-top: -1px; }
.pr-total span { font: 600 15px var(--r-body); color: #2E2A1A; }
.pr-total strong { font: 800 36px/1 var(--r-display); letter-spacing: -0.02em; color: #1E2227; }
.pr-combo .pr-ledger li:last-child { border-bottom: 0; }
.pr-combo .r-btn-ink { background: #1E2227; color: #fff; }
.pr-combo .r-btn-ink:hover { background: #fff; color: #1E2227; }

/* payment note */
.pr-pay-note { margin-top: 36px; max-width: 52em; }
.pr-pay-note p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--r-muted); }
.pr-pay-note strong { color: var(--r-ink-2); }

@media (max-width: 720px) {
    .pr-jump-bar { top: 70px; padding: 8px 0; }
    .pr-jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
    .pr-jump::-webkit-scrollbar { display: none; }
    .pr-jump a { flex: 0 0 auto; white-space: nowrap; }
    .pr-sec { scroll-margin-top: 130px; }
    .pr-sub { margin-top: 40px; }
    .pr-sub-gap { margin-top: 56px; }
    .pr-price { font-size: 30px; }
    .pr-total strong { font-size: 32px; }
}
