/* /pricing — rate cards on the left, sticky Instant Quote on the right. */
.pr-promises { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pr-promises span { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.pr-promises i { color: var(--gold); }

.pr-main { padding: 12px 0 64px; }
.pr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 32px; align-items: start; }
.pr-cards { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pr-side { grid-column: 2; grid-row: 1; height: 100%; }
.pr-sticky { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 12px 36px rgba(26,35,50,0.08); }
.pr-sticky h2 { font-size: 24px; margin: 0 0 4px; }
.pr-sticky h2 i { color: var(--gold); font-size: 19px; margin-right: 4px; }
.pr-side-sub { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
#quote { scroll-margin-top: 90px; }

.pr-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-jump a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; background: #fff; }
.pr-jump a:hover { border-color: var(--gold); }

.pr-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; scroll-margin-top: 90px; }
.pr-card h2 { font-size: 27px; padding-bottom: 8px; margin-bottom: 10px; background: linear-gradient(var(--gold), var(--gold)) left bottom / 48px 2px no-repeat; }
.pr-card .sub { margin-bottom: 20px; font-size: 16px; }

.pr-switch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; }
.pr-switch button { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--muted); background: none; border: 0; border-radius: 8px; padding: 9px 6px; cursor: pointer; line-height: 1.25; }
.pr-switch button small { display: block; font-size: 12px; font-weight: 500; }
.pr-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(26,35,50,0.12); }
.pr-switch button[aria-pressed="true"] small { color: var(--gold); }

/* Rate tables: a rounded, bordered box with a cream header row. Price grids
   (.pr-grid-t) use equal centred price columns; .pr-hi-N tints column N (undergraduate,
   the most common order) with a faint gold wash. */
.pr-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pr-table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.pr-table caption { caption-side: top; text-align: left; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--gold); padding: 0 0 10px; }
.pr-scroll .pr-table caption { padding: 14px 18px 4px; background: #fff; }
.pr-table th, .pr-table td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(0,0,0,0.05); }
.pr-table thead th { background: var(--soft); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: var(--ink); border-bottom: 1px solid var(--line); white-space: nowrap; }
.pr-table tbody th { font-size: 16px; font-weight: 600; }
.pr-table tbody tr:last-child th, .pr-table tbody tr:last-child td { border-bottom: 0; }
.pr-table tbody tr { transition: background 0.15s; }
.pr-table tbody tr:hover { background: rgba(26,35,50,0.025); }
.pr-table .note { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.pr-table .num { text-align: right; white-space: nowrap; }
.pr-table td.num { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.pr-grid-t { table-layout: fixed; }
.pr-grid-t thead th:first-child { width: 33%; }
.pr-grid-t thead th.num { padding-left: 6px; padding-right: 6px; letter-spacing: 0.4px; }
.pr-grid-t .num { text-align: center; }
.pr-hi-3 tr > :nth-child(3), .pr-hi-2 tr > :nth-child(2) { background: rgba(183,121,31,0.06); }
.pr-hi-3 thead tr > :nth-child(3), .pr-hi-2 thead tr > :nth-child(2) { color: var(--gold); box-shadow: inset 0 3px 0 var(--gold); }
.pr-table td.na { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.3px; }
.pr-list td.num { font-size: 19px; }
.pr-list td.num { padding-left: 20px; }
.pr-table .sm { display: none; }
.pr-jump-quote { display: none; }

.pr-notes { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pr-notes li { font-size: 15px; color: var(--muted); padding-left: 16px; position: relative; }
.pr-notes li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 7px; height: 1.5px; background: var(--gold); }
.pr-notes a { color: var(--ink); font-weight: 600; }

.pr-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pr-tile { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.pr-tile.is-base { border-color: var(--gold); }
.pr-tile-k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--gold); }
.pr-tile strong { font-family: var(--serif); font-size: 24px; }
.pr-tile span:not(.pr-tile-k) { font-size: 15px; font-weight: 600; }
.pr-tile small { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

@media (max-width: 1020px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-side, .pr-cards { grid-column: 1; grid-row: auto; }
  .pr-side { order: 2; } /* phones/tablets: rate cards first, calculator after them */
  .pr-jump-quote { display: inline-flex; align-items: center; gap: 6px; border-color: var(--gold) !important; }
  .pr-jump-quote i { color: var(--gold); }
  .pr-sticky { position: static; max-width: 640px; max-height: none; overflow: visible; }
  .pr-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pr-card { padding: 20px 16px; }
  .pr-sticky { padding: 20px 16px; }
  .pr-table th, .pr-table td { padding: 12px 8px; }
  .pr-table th:first-child, .pr-table td:first-child { padding-left: 12px; }
  .pr-grid-t thead th:first-child { width: 34%; }
  .pr-table .lg { display: none; }
  .pr-table .sm { display: inline; }
  .pr-table thead th { white-space: normal; }
  .pr-table { font-size: 15px; }
  .pr-table td.num { font-size: 17px; }
  .pr-scroll .pr-table caption { padding: 12px 12px 2px; }
  .pr-table .note { font-size: 13px; }
  .pr-switch button { font-size: 14px; padding: 8px 2px; }
  .pr-switch button small { font-size: 11px; }
  .pr-promises span { font-size: 15px; }
}

/* This page is the one place we want width: rate tables + calculator side by side.
   Widen the nav, crumbs, hero and main grid to 1440px (FAQ and footer stay 1200). */
.sn-row, .paper .wrap, .pr-main .wrap { max-width: 1440px; }
@media (min-width: 1300px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr) 480px; gap: 40px; }
}
@media (min-width: 1480px) {
  .pr-tiles { grid-template-columns: repeat(4, 1fr); }
}

/* Slightly smaller type across the page (rate cards, tables, calculator). */
.hero-solo .lead { font-size: 18px; }
.pr-promises span { font-size: 15px; }
.pr-card h2 { font-size: 24px; }
.pr-card .sub, .pr-notes li { font-size: 15px; }
.pr-table { font-size: 15px; }
.pr-table tbody th { font-size: 15px; }
.pr-table td.num { font-size: 18px; }
.pr-list td.num { font-size: 17px; }
.pr-switch button { font-size: 14px; }
.pr-tile strong { font-size: 22px; }
.pr-tile span:not(.pr-tile-k) { font-size: 14px; }
.pr-sticky h2 { font-size: 22px; }
.pr-side-sub { font-size: 14px; }
.pr-sticky .qc-f > span { font-size: 13px; }
.pr-sticky .qc select, .pr-sticky .qc input[type="number"] { font-size: 15px; }
.pr-sticky .qc-price { font-size: 38px; }
.pr-sticky .qc-lines li { font-size: 13px; }
.pr-sticky .qc-wa { font-size: 15px; padding: 12px; }
.pr-sticky .qc-mail { font-size: 13px; }
.pr-sticky .qc-fine { font-size: 12px; }
@media (max-width: 600px) {
  .pr-table td.num { font-size: 16px; }
  .pr-sticky .qc select, .pr-sticky .qc input[type="number"] { font-size: 16px; } /* iOS zoom */
}
#data .pr-grid-t thead th:first-child { width: 42%; } /* long task descriptions */
@media (max-width: 600px) { #data .pr-grid-t thead th:first-child { width: 34%; } }
