/* /pricing: title row, lab tabs and search, the model table (cards on phones), private models, how it is priced */

.pr-top { padding: 80px 48px 28px; }
.pr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.pr-title { display: grid; gap: 14px; max-width: 680px; }
.pr-title .lede { max-width: 560px; }
.pr-meta { font: 400 13px/1.5 var(--mono); color: var(--mute); text-align: right; max-width: 420px; }
.pr-meta b { color: var(--or-2); font-weight: 500; }

.pr-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.pr-tabs { justify-content: flex-start; }
.pr-tabs button { white-space: nowrap; }
.pr-tabs img { width: 16px; height: 16px; border-radius: 4px; }
.pr-tabs .ct { font: 500 11.5px/1 var(--mono); color: var(--dim); min-width: 1ch; }
.pr-tabs .ct:empty { display: none; }
.pr-tabs [aria-selected='true'] .ct { color: rgba(255, 251, 245, .75); }
.pr-search { position: relative; display: block; width: min(300px, 100%); }
.pr-search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 15px; height: 15px; color: var(--dim); pointer-events: none; }
.pr-search .input { border-radius: 999px; padding-left: 38px; min-height: 42px; }
.pr-search .input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }

.pr-list { padding: 0 48px 56px; }
.pr-box { background: var(--bg); }
.pr-tbl { table-layout: auto; }
.pr-tbl th { white-space: nowrap; padding: 14px 16px; background: var(--bg-1); }
.pr-tbl thead th.c-list, .pr-tbl thead th.c-ctx { color: var(--dim); }
.pr-tbl td { vertical-align: middle; padding: 12px 16px; }
.pr-tbl tbody tr:last-child td { border-bottom: 0; }
.pr-tbl tbody tr:not(.pr-empty):hover td { background: rgba(240, 227, 222, 0.03); }
.pr-tbl .r { text-align: right; }
.pr-tbl .num { font: 400 13.5px/1.3 var(--mono); white-space: nowrap; }
.pr-tbl .c-model { width: 38%; }
.pr-tbl .c-list { color: var(--dim); }
.pr-tbl .c-ours b { color: var(--head); font-weight: 600; }
.pr-tbl .m-list { display: none; }
.pr-tbl .c-ctx { color: var(--mute); }
.pr-tbl .c-host .badge { gap: 5px; }
.pm { display: inline-flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; }
.pm .mi, .pm .mi-t { width: 22px; height: 22px; border-radius: 6px; }
.pm .mi-t { font-size: 11px; }
.pm-t { display: grid; gap: 3px; min-width: 0; }
.pm-t b { color: var(--head); font-weight: 500; font-size: 15px; line-height: 1.25; }
.pm-t code { font: 400 12px/1.3 var(--mono); color: var(--dim); overflow-wrap: anywhere; }
.pm:hover b { color: var(--or-2); }
.pr-empty td { padding: 40px 16px; text-align: center; color: var(--mute); }
.pr-empty .link { display: inline; font: inherit; color: var(--or-2); }
.pr-foot { margin-top: 18px; font-size: 13.5px; color: var(--dim); max-width: 760px; }

.pr-priv .sec-head { margin-bottom: 32px; }
.pr-priv .eyebrow svg { color: var(--or); }

.pr-links { display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 36px; }
.pr-cta-wrap { padding: 40px 8px 8px; }

@media (max-width: 1000px) {
  .pr-top { padding: 64px 32px 24px; }
  .pr-meta { text-align: left; }
  .pr-list { padding: 0 32px 48px; }
  .pr-tbl th, .pr-tbl td { padding-left: 12px; padding-right: 12px; }
  .pr-tbl .c-list { display: none; }
  .pr-tbl .m-list { display: block; font-size: 11.5px; color: var(--dim); margin-bottom: 2px; }
  .pr-tbl .num { font-size: 13px; }
  .pr-tbl .c-model { width: auto; }
  .pr-bar { flex-direction: column; align-items: stretch; }
  .pr-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 18px; }
  .pr-tabs button { justify-content: center; min-height: 40px; padding: 7px 8px; font-size: 14px; }
  .pr-search { width: 100%; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .pr-how .cell:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* phones: the list prices fold into the ours cells, each row becomes a compact card */
@media (max-width: 760px) {
  .pr-top { padding: 52px 18px 20px; }
  .pr-meta { text-align: left; }
  .pr-bar { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .pr-search .input { min-height: 44px; }
  .pr-list { padding: 0 12px 40px; }
  .pr-foot { padding: 0 6px; }

  .pr-tbl, .pr-tbl tbody { display: block; }
  .pr-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pr-tbl tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; padding: 14px; border-bottom: 1px solid var(--line); }
  .pr-tbl tbody tr:last-child { border-bottom: 0; }
  .pr-tbl td { display: block; padding: 0; border: 0; text-align: left; min-width: 0; }
  .pr-tbl .r { text-align: left; }
  .pr-tbl .c-model { grid-column: 1 / -1; width: auto; }
  .pr-tbl .c-list { display: none; }
  .pr-tbl td[data-l]::before { content: attr(data-l); display: block; margin-bottom: 4px; font: 500 10.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
  .pr-tbl .m-list { display: block; font-size: 11.5px; color: var(--dim); margin-bottom: 1px; }
  .pr-tbl .num { font-size: 13px; white-space: normal; }
  .pr-tbl .c-host .badge { font-size: 10.5px; padding: 3px 6px; }
  .pr-tbl tbody tr:not(.pr-empty):hover td { background: none; }
  .pr-empty { display: block !important; }
  .pr-empty td { padding: 32px 8px; }
  .pm { align-items: flex-start; }
  .pm-t b { font-size: 15.5px; }
}
@media (max-width: 480px) {
  .pr-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .pr-tbl tr { gap: 10px 6px; padding: 12px 10px; }
  .pr-tbl .num { font-size: 12px; }
}
