/* ═══════════════════════════════════════════════════════════════════════
   The pricing page (templates/public/pricing.html), owner 2026-12-02,
   mock-up https://claude.ai/artifact/LfY5HccwiMqhgFE8rHS3Sg.

   The page has one fact: a plan is chosen by orders a month. So the plans
   hang under one order rail, and the handle on the rail lights the plan
   below it and that plan's column in the table (static/js/pricing.js).

   Only the pricing page loads this file, after site.css. It uses the shared
   look's tokens and parts (site.css) and never a colour of its own; every
   class here starts with `pr-`. The served page is the finished picture: an
   animation runs only under `.motion` or a class pricing.js sets (`tick`,
   `drag`), and every grid column is minmax(0, …).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── the opening and the plans under one rail ── */
.pr-hero-in { position: relative; padding-block: clamp(44px, 6vw, 84px) clamp(56px, 7vw, 96px); }
.pr-copy { max-width: 820px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pr-copy .lead { max-width: 620px; }

.pr-pick { position: relative; margin-top: clamp(32px, 4vw, 48px); box-shadow: var(--shadow); }
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px 6px; }
.pr-top p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.pr-sum { display: flex; align-items: baseline; gap: 12px; flex: none; padding: 9px 16px 9px 14px; border-radius: 14px; background: var(--panel); transition: background-color .18s; }
.pr-sum:hover { background: var(--line); }
.pr-sum b { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.pr-price { font-family: var(--display); font-weight: 600; font-size: 2.7rem; line-height: 1.05; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pr-price small { font-family: var(--body); font-size: 14px; font-weight: 400; letter-spacing: 0; opacity: .7; }
.pr-sum .pr-price { font-size: 1.55rem; white-space: nowrap; }
.pr-sum .pr-price small { font-size: 13px; }
.motion .pr-sum.tick > * { animation: pr-sum-in .38s cubic-bezier(.2, .8, .2, 1); }
@keyframes pr-sum-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* the order rail: --v is the handle's place, 0 to 1 */
.pr-rail { position: relative; height: 104px; touch-action: pan-y; user-select: none; -webkit-user-select: none; --x: calc(var(--v, .36) * 100%); }
.pr-rail.live { cursor: ew-resize; }
.pr-line { position: absolute; left: 0; right: 0; top: 61px; height: 6px; background: var(--panel); }
.pr-fill { position: absolute; left: 0; top: 61px; height: 6px; width: var(--x); background: var(--blue); }
.pr-tick { position: absolute; top: 44px; bottom: 0; width: 1px; background: var(--line); }
.pr-tick b { position: absolute; top: 30px; right: 9px; font-size: 12.5px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-tick.end { background: none; }
.pr-hand { position: absolute; top: 64px; left: clamp(18px, var(--x), calc(100% - 18px)); width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .4); transition: transform .15s; }
.pr-hand .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.pr-rail.drag .pr-hand { transform: scale(1.08); }
.pr-say { position: absolute; top: 4px; left: clamp(44px, var(--x), calc(100% - 44px)); transform: translateX(-50%); padding: 4px 11px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-say::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 9px; height: 9px; margin-left: -4.5px; background: var(--ink); transform: rotate(45deg); border-radius: 1px; }
/* the keyboard's and a screen reader's way to the rail: there, never seen */
.pr-rail input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.pr-rail:has(input:focus-visible) .pr-hand { outline: 2px solid var(--blue); outline-offset: 3px; }
.pr-names { display: none; }

/* the plans under the rail */
.pr-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pr-grid.bare { border-top: 0; }
.pr-col { position: relative; min-width: 0; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .3s, color .3s; scroll-margin-top: 90px; }
.pr-col.custom, .pr-col.end { border-right: 0; }
.pr-col h3 { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; display: flex; align-items: center; gap: 8px; }
.pr-col h3 .dot { visibility: hidden; }
.pr-col.on h3 .dot { visibility: visible; background: color-mix(in srgb, var(--blue) 55%, var(--on-ink)); }
.pr-col .pr-price { white-space: nowrap; }
.pr-col .pr-price small { white-space: nowrap; }
.pr-tagline { font-size: 14.5px; flex: 1; min-height: 66px; }
.pr-ord { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); transition: border-color .3s; }
.pr-ord dt { font-size: 13.5px; color: var(--muted); }
.pr-ord dd { font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-col.custom .pr-ord dd { font-size: 1.05rem; letter-spacing: -.01em; }
.pr-fair { font-size: 12.5px; line-height: 1.5; color: var(--faint); min-height: 38px; }
.pr-fair span { white-space: nowrap; }
.pr-col .btn { margin-top: 10px; }
.pr-more { font-size: 13px; text-align: center; color: var(--muted); }
.pr-more a { font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pr-col.on { background: var(--ink); color: var(--on-ink); }
.pr-col.on .muted, .pr-col.on .pr-ord dt, .pr-col.on .pr-more { color: color-mix(in srgb, var(--on-ink) 72%, transparent); }
.pr-col.on .pr-fair { color: color-mix(in srgb, var(--on-ink) 56%, transparent); }
.pr-col.on .pr-ord { border-color: color-mix(in srgb, var(--on-ink) 18%, transparent); }
.pr-col.on .btn-soft { background: var(--on-ink); color: var(--ink); }
.pr-col.on .btn-soft:hover { background: color-mix(in srgb, var(--on-ink) 88%, var(--ink)); }
.pr-col.on .checks .ic { color: color-mix(in srgb, var(--green) 65%, var(--on-ink)); }
.pr-base { grid-column: span var(--plans, 3); padding: 24px; border-right: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.pr-base:last-child { grid-column: 1 / -1; border-right: 0; }
.pr-base .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 22px; }
.pr-extra { padding: 24px; display: grid; gap: 16px; align-content: start; transition: background-color .3s; }
.pr-extra.on { background: var(--blue-tint); }
.pr-base .checks li, .pr-extra .checks li, .pr-col .checks li { font-size: 14px; }
.pr-col.custom .checks { display: none; }
.pr-foot { margin: 22px auto 0; max-width: 620px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 14px; color: var(--muted); }
.pr-hero .plans-none { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 1000px) {
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-col:nth-of-type(even) { border-right: 0; }
  .pr-col.end:nth-of-type(odd) { grid-column: 1 / -1; }
  .pr-base { grid-column: 1 / -1; border-right: 0; }
  .pr-base .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-extra { display: none; }
  .pr-col.custom .checks { display: grid; margin-top: 8px; }
  .pr-tagline { min-height: 0; }
  /* Narrower screens: each plan's stretch of the rail carries its name and
     limit in the middle, and the ticks are the lines between stretches, so a
     number never floats between a tick and a name (2026-12-02, iPhone). */
  .pr-rail { height: 136px; }
  .pr-names { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); position: absolute; left: 0; right: 0; top: 92px; text-align: center; }
  .pr-names span { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 0 4px; }
  .pr-names b, .pr-names small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
  .pr-names b { font-size: 12.5px; font-weight: 500; color: var(--muted); }
  .pr-names small { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
  .pr-names span.on b { color: var(--text); font-weight: 600; }
  .pr-names span.on small { color: var(--muted); }
  .pr-tick { top: 50px; bottom: 4px; }
  .pr-tick b, .pr-tick.end { display: none; }
}
@media (max-width: 640px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-col, .pr-col:nth-of-type(even) { border-right: 0; }
  .pr-base { order: 2; border-bottom: 1px solid var(--line); }
  .pr-base:last-child { border-bottom: 0; }
  .pr-base .checks { grid-template-columns: minmax(0, 1fr); }
  .pr-col.custom { order: 3; border-bottom: 0; }
  .pr-top { flex-direction: column; align-items: stretch; padding: 18px 18px 4px; gap: 12px; }
  .pr-sum { justify-content: space-between; }
  .pr-col, .pr-base { padding: 22px 18px; }
  .pr-fair { min-height: 0; }
  /* Phones: the handle picks one plan and only that plan's card shows,
     right under the rail; the table below compares all of them. Without
     the script (no `live`) every card shows. */
  .pr-pick.live .pr-sum { display: none; }
  .pr-pick.live .pr-col:not(.on) { display: none; }
  .pr-pick.live .pr-col.custom { order: 0; border-bottom: 1px solid var(--line); }
  .motion .pr-pick.live .pr-col.on { animation: pr-sum-in .38s cubic-bezier(.2, .8, .2, 1); }
}
@media (max-width: 380px) {
  .pr-names span { padding: 0 1px; }
  .pr-names b { font-size: 11.5px; }
  .pr-names small { font-size: 10.5px; letter-spacing: -.01em; }
}

/* a tag on a tinted section sits on a card of its own */
.pr-soft .tag.lg { background: var(--card); border: 1px solid var(--line); }

/* ── plans in one table ── */
.pr-cmp { max-width: 980px; margin: 44px auto 0; background: var(--panel); }
.pr-cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pr-cmp table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14.5px; }
.pr-cmp th, .pr-cmp td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.pr-cmp tbody tr:last-child > * { border-bottom: 0; }
.pr-cmp thead th { vertical-align: bottom; padding-block: 18px 16px; font-weight: 500; color: var(--muted); font-size: 13.5px; }
.pr-cmp thead th b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; color: var(--text); }
.pr-cmp tbody th { font-weight: 500; position: sticky; left: 0; background: var(--card); z-index: 1; }
.pr-cmp tbody th small { display: block; font-size: 12px; font-weight: 400; color: var(--faint); }
.pr-cmp td { font-variant-numeric: tabular-nums; }
.pr-cmp td b { font-weight: 600; }
.pr-cmp td .ic { width: 17px; height: 17px; color: var(--green); }
.pr-cmp tr.grp th { position: static; background: var(--soft); font-size: 12.5px; font-weight: 600; color: var(--muted); padding-block: 9px; }
.pr-cmp [data-pr-col].on { background: var(--blue-tint); }
/* phones: the whole table fits the screen, nothing scrolls sideways */
@media (max-width: 640px) {
  .pr-cmp table { min-width: 0; font-size: 13px; table-layout: fixed; }
  .pr-cmp th, .pr-cmp td { padding: 11px 6px; overflow-wrap: anywhere; }
  .pr-cmp tr > :first-child { width: 36%; padding-left: 14px; }
  .pr-cmp tr.grp th { width: auto; }
  .pr-cmp thead th b { font-size: clamp(11px, 3.3vw, 13.5px); letter-spacing: -.01em; overflow-wrap: normal; }
  .pr-cmp td .per { display: block; font-size: 11px; color: var(--muted); }
  .pr-cmp tbody th small { font-size: 11px; }
}

/* ── in every plan: three pictures ── */
.pr-bento { display: grid; gap: 18px; margin-top: 46px; }
@media (min-width: 900px) { .pr-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pr-bento .frame { display: flex; min-width: 0; background: var(--panel); }
.pr-bento .frame-in { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pr-pic { position: relative; min-height: 214px; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 10px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; }
.pr-txt { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.pr-txt p { font-size: 15px; color: var(--muted); }
.pr-txt .pr-txt-link { margin-top: 6px; color: var(--text); }
.pr-cap { text-align: center; font-size: 12.5px; color: var(--muted); }

/* the channels and couriers the card names, on their white tiles */
.pr-wall { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 10px; }
.pr-wall .mark { box-sizing: border-box; width: 84px; height: 44px; padding: 10px 13px; border-radius: 11px; }
.pr-wall .mark img { width: 58px; height: 24px; max-width: none; max-height: none; object-fit: contain; }
.motion .pr-bento .reveal.in .pr-wall .mark { animation: pr-mark-in .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 60ms + .15s); }
@keyframes pr-mark-in { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }

/* one prepared change and a person's click: ready, press, done */
.pr-job { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.pr-job-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--panel); flex: none; }
.pr-job-ic .ic { width: 16px; height: 16px; }
.pr-job-ic.blue { background: var(--blue-pale); color: var(--blue); }
.pr-job-main { min-width: 0; display: flex; flex-direction: column; }
.pr-job-main small { font-size: 11.5px; color: var(--muted); }
.pr-job-main b { font-weight: 600; }
.pr-job .btn, .pr-job .tag { grid-column: 2; justify-self: start; }
.pr-job .tag { background: var(--green-tint); }
.pr-job [data-on] { display: none; }
.pr-job[data-state="ready"] .btn[data-on], .pr-job[data-state="press"] .btn[data-on], .pr-job[data-state="done"] .tag[data-on] { display: inline-flex; }
.pr-job[data-state="press"] .btn { transform: scale(.94); background: var(--ink-2); }
.pr-job[data-state="done"] { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.pr-pointer { position: absolute; left: 104px; bottom: -20px; width: 22px; height: 22px; opacity: 0; transition: transform .7s cubic-bezier(.3, .7, .2, 1), opacity .3s; pointer-events: none; z-index: 3; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.pr-job[data-state="ready"] .pr-pointer { opacity: 1; transform: translate(2px, -19px); }
.pr-job[data-state="press"] .pr-pointer { opacity: 1; transform: translate(2px, -19px) scale(.86); }

/* each customer's own system behind HTTPS, and the nightly copy */
.pr-vault { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pr-vault-gate { justify-self: center; display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.pr-vault-gate .ic { width: 14px; height: 14px; color: var(--green); }
.pr-vault-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px; align-items: stretch; }
.pr-vault-box { border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 12px; color: var(--faint); min-width: 0; }
.pr-vault-box.mine { border: 1px solid var(--blue-pale); background: var(--blue-tint); color: var(--text); font-weight: 600; font-size: 13px; }
.pr-vault-box span { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.pr-vault-box .tag { font-style: normal; font-size: 11px; padding: 1px 8px; background: var(--card); }
.pr-vault-night { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.pr-vault-night .pr-job-ic { width: 30px; height: 30px; }
.pr-vault-night small { display: block; font-size: 11.5px; color: var(--muted); }
.pr-vault-night b { font-weight: 600; font-size: 13px; }
.pr-vault-night .dot { margin-left: auto; }

/* ── questions beside their heading ── */
.pr-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.pr-faq-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pr-faq .faq { margin: 0; max-width: none; }
@media (min-width: 960px) {
  .pr-faq { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 72px; }
  .pr-faq-head { position: sticky; top: 104px; align-self: start; }
}
