/* proof.css (package F, .pf- prefix): Fig. 6 dashboard vs analyst, where it lands (briefing, Fig. 9 memo and its print view),
   the pilot plan and scrubber, the draft brief, trust status, people and trust.html. Colours are theme tokens only.
   Shared components (.btn, .chip, .tag, .fig, .fig-tabs, .kicker, .stamp, .total, .data-table, .motif) come from style.css. */

/* ---------- shared bits ---------- */
.pf-fig { padding: 16px; }
.pf-fig > .kicker { margin-bottom: 6px; }
.pf-fig-title { margin: 0 0 16px; max-width: 48ch; color: var(--ink); font-family: var(--font-display); font-weight: var(--display-wght);
  font-size: clamp(1.1875rem, 1.05rem + .6vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; font-variation-settings: "SOFT" 0; text-wrap: balance; }
.pf-cap { margin: 14px 0 0; color: var(--ink-2); font-size: .9375rem; }
.pf-fig > figcaption { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--grid); }
.pf-fig > figcaption .stamp { margin: 0; }
.pf-k, .pf-an-k, .pf-b-k, .pf-price-k, .pf-ph-k, .pf-status-k, .pf-p-role, .pf-scrub-l {
  font: 500 .75rem/1.25 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- versus (C8, Fig. 6) ---------- */
.pf-vs-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 18px; }
.pf-seg { display: inline-flex; gap: 2px; max-width: 100%; padding: 3px; border: var(--rule-w) solid var(--rule); border-radius: var(--radius-m); background: var(--surface-2); }
.pf-seg [role="radio"] { flex: 1 1 auto; min-height: 44px; padding: 0 14px; border: 1px solid transparent; border-radius: var(--radius-s);
  background: transparent; color: var(--ink-2); font: 500 .9375rem/1.2 var(--font-text); white-space: nowrap; cursor: pointer; }
.pf-seg [role="radio"]:hover { color: var(--ink); }
.pf-seg [aria-checked="true"] { background: var(--surface); border-color: var(--axis); color: var(--ink); font-weight: 600; }
.pf-hint { margin: 0; color: var(--muted); font-size: .875rem; }

/* the foil: a grey wireframe sketch in system-ui, strokes only */
.pf-sk-wrap { color: var(--muted); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-variant-numeric: tabular-nums lining-nums; }
.pf-sk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-size: .8125rem; }
.pf-sk-label { font-weight: 600; }
.pf-sk-pill { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; white-space: nowrap; }
.pf-sk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pf-tile { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; min-height: 100px; padding: 12px 12px 10px; }
.pf-edge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pf-sk, .pf-edge { fill: none; stroke: var(--muted); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.pf-sk *, .pf-edge * { vector-effect: non-scaling-stroke; }
.pf-sk .pf-sk-bold { stroke-width: 2.5; }
.pf-t-l { font-size: .8125rem; line-height: 1.3; }
.pf-t-v { color: var(--ink-2); font-size: 1.375rem; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.pf-t-v.pf-t-sm { font-size: 1rem; }
.pf-t-d { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; }
.pf-tri { flex: none; }
.pf-spark { display: block; width: 100%; height: 22px; margin-top: auto; padding-top: 4px; }
.pf-gauge { display: block; width: 100%; max-width: 116px; height: auto; margin: 6px 0 2px; }
.pf-donut { display: block; width: 52px; height: 52px; margin: 6px 0 2px; }
@media (max-width: 399.98px) { .pf-tile-x { display: none; } }

/* the answer: a paper sheet */
.pf-an { display: grid; gap: 18px; padding: 18px 16px; background: var(--raised); border: var(--rule-w) solid var(--rule); border-radius: var(--radius-m); }
.pf-an > div > * { margin: 0 0 12px; }
.pf-an > div > :last-child { margin-bottom: 0; }
.pf-an-q { color: var(--ink); font-family: var(--font-display); font-weight: var(--display-wght); font-size: 1.25rem; line-height: 1.25;
  font-variation-settings: "SOFT" 0; text-wrap: balance; }
.pf-an-v { color: var(--ink); }
.pf-an-tile { padding-top: 12px; border-top: var(--rule-w) solid var(--rule); color: var(--ink); }
.pf-an-k { display: block; margin-bottom: 4px; color: var(--muted); }
.pf-an-memo { color: var(--ink); line-height: 1.55; }
.pf-an-memo p { margin: 0 0 10px; max-width: 64ch; }
.pf-an-link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* morph: only the visible view carries the names, and only during its own transition */
html.vt-versus .pf-vs-view:not([hidden]) .pf-vt-1 { view-transition-name: pf-vt-1; }
html.vt-versus .pf-vs-view:not([hidden]) .pf-vt-2 { view-transition-name: pf-vt-2; }
html.vt-versus::view-transition-group(pf-vt-1), html.vt-versus::view-transition-group(pf-vt-2) { animation-duration: 450ms; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
html.vt-versus::view-transition-old(root), html.vt-versus::view-transition-new(root) { animation-duration: 240ms; }

/* ---------- lands (C12): briefing ---------- */
.pf-tabs { margin: 0 0 20px; }
.pf-chat { max-width: 760px; overflow: hidden; background: var(--surface); border: var(--rule-w) solid var(--rule); border-radius: var(--radius-l); }
.pf-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--surface-2); border-bottom: var(--rule-w) solid var(--rule); }
.pf-chat-head .stamp { margin: 0; }
.pf-chan { color: var(--ink); font: 600 .9375rem/1.3 var(--font-text); }
.pf-thread { margin: 0; padding: 4px 16px; list-style: none; }
.pf-msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--grid); }
.pf-msg:first-child { border-top: 0; }
.pf-av { display: grid; place-items: center; width: 36px; height: 36px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m); color: var(--ink); font: 600 .8125rem/1 var(--font-text); }
.pf-msg-you .pf-av { border-radius: 50%; background: var(--surface-2); }
.pf-msg-b { min-width: 0; }
.pf-msg-b > * { margin: 0 0 8px; }
.pf-msg-b > :last-child { margin-bottom: 0; }
.pf-msg-h { color: var(--ink); font-size: .9375rem; }
.pf-msg-h time { margin-left: 4px; color: var(--muted); font-size: .8125rem; }
.pf-bul { padding-left: 1.15em; }
.pf-bul li { margin: 4px 0; }
.pf-fake-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-fake-btns span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: 1px solid var(--rule); border-radius: var(--radius-s); color: var(--ink-2); font-size: .8125rem; font-weight: 600; }
.pf-chat-t caption { color: var(--ink); font-weight: 600; }
.pf-chat-t th, .pf-chat-t td { padding: 6px 8px; }
.pf-chat-t thead th:first-child, .pf-chat-t tbody th, .pf-chat-t tfoot th { padding-left: 0; }
.pf-chat-t tfoot th, .pf-memo-t tfoot th { color: var(--ink); font-size: inherit; text-transform: none; letter-spacing: 0; }
.pf-chat-foot { margin: 0; padding: 8px 16px 12px; border-top: 1px solid var(--grid); }
/* below 560px the reply table stacks (proof.js sets explicit roles so it stays a table): client and amount on one line,
   then the contract note with the tag at the right; amounts and the total stay right-aligned, nothing scrolls sideways */
@media (max-width: 559.98px) {
  .pf-chat-t, .pf-chat-t caption, .pf-chat-t tbody, .pf-chat-t tfoot { display: block; }
  .pf-chat-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pf-chat-t tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--grid); }
  .pf-chat-t tfoot tr { border-bottom: 0; }
  .pf-chat-t :is(th, td) { padding: 0; border: 0; }
  .pf-chat-t .pf-ct-note { grid-column: 1; grid-row: 2; color: var(--ink-2); }
  .pf-chat-t .pf-ct-st { grid-column: 2; grid-row: 2; justify-self: end; }
  .pf-chat-t td:empty { display: none; }
}

/* ---------- lands (C12): the one-page memo, Fig. 9 ---------- */
.pf-pg-side { max-width: 64ch; margin: 0 0 16px; color: var(--ink-2); font-size: .9375rem; }
.pf-pg-side p { margin: 0 0 8px; }
.pf-pg-side .kicker { margin-bottom: 6px; }
.pf-pg-act { margin: 14px 0 0; }
.pf-sheet { position: relative; background: var(--raised); border: var(--rule-w) solid var(--rule); border-radius: var(--radius-m); }
.pf-memo { max-width: 760px; padding: 20px 16px 18px; color: var(--ink); font-size: .9375rem; line-height: 1.5; }
/* header rows sit on the 28px grid of the Paper ledger motif: every line box is 28px and the motif layer starts so that
   each rule falls on a baseline (--pf-bl: baseline depth in a 28px line box; the Re line is nudged to the same depth) */
.pf-memo-hd { --pf-pt: 20px; --pf-bl: 19px; margin: -20px -16px 14px; padding: var(--pf-pt) 16px 12px; border-bottom: 2px solid var(--ink); border-radius: var(--radius-m) var(--radius-m) 0 0; }
.pf-memo-hd.motif::before { top: calc(var(--pf-pt) + var(--pf-bl) - 27px); }
.pf-memo-kind { margin: 0; color: var(--muted); font: 500 .75rem/28px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.pf-memo-meta { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; font-size: .875rem; line-height: 28px; }
.pf-memo-meta div { display: flex; gap: 6px; }
.pf-memo-meta dt { color: var(--muted); }
.pf-memo-meta dd { margin: 0; }
.pf-memo-re { position: relative; top: calc(4.5px - .3615em); margin: 0; font-size: clamp(1.1875rem, 1.05rem + .6vw, 1.5rem); line-height: 28px; font-variation-settings: "SOFT" 0; }
.pf-memo-re span { color: var(--muted); font-family: var(--font-text); font-size: .875em; font-weight: 400; }
.pf-memo h4 { margin: 16px 0 6px; color: var(--accent); font: 500 .75rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.pf-memo p { margin: 0; }
.pf-memo-line { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.45; font-variation-settings: "SOFT" 0; }
.pf-memo-t th, .pf-memo-t td { padding: 5px 8px; }
.pf-memo-t thead th:first-child, .pf-memo-t tbody th, .pf-memo-t tfoot th { padding-left: 0; }
.pf-memo-ol, .pf-memo-ul { margin: 0; padding-left: 1.25em; }
.pf-memo-ol li, .pf-memo-ul li { margin: 3px 0; }
.pf-memo-own { color: var(--muted); }
.pf-memo-stamp { margin-top: 18px !important; }

/* Print this memo: only the sheet, always in Paper (proof.js sets data-theme="paper" on it while printing) */
@media print {
  body.pf-print-memo::before { display: none !important; }
  body.pf-print-memo :not(:has(.pf-memo)):not(.pf-memo):not(.pf-memo *) { display: none !important; }
  body.pf-print-memo :has(.pf-memo) { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; min-height: 0 !important; max-width: none !important; }
  body.pf-print-memo .pf-memo { max-width: none; aspect-ratio: auto; padding: 0; border: 0; background: none; font-size: 11pt;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.pf-print-memo .pf-memo-hd { margin: 0 0 16px; padding: 0 0 12px; }
  body.pf-print-memo .pf-memo-hd::before { display: none; }
}

/* ---------- pilot (C13) ---------- */
.pf-pilot { display: grid; gap: 32px; }
.pf-plan { min-width: 0; }
.pf-total { margin: 0 0 20px; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.35; font-variation-settings: "SOFT" 0; }
.pf-scrub-l { display: block; margin: 0 0 4px; color: var(--muted); }
.pf-range { position: relative; padding-bottom: 22px; }
.pf-range input { --p: 0; display: block; width: 100%; height: 44px; margin: 0; padding: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.pf-range input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px;
  background: linear-gradient(to right, var(--accent) calc(12px + (100% - 24px) * var(--p)), var(--rule) 0); }
.pf-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 2px solid var(--accent); border-radius: 50%; background: var(--surface); }
.pf-range input::-moz-range-track { height: 6px; border-radius: 3px; background: var(--rule); }
.pf-range input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.pf-range input::-moz-range-thumb { box-sizing: border-box; width: 24px; height: 24px; border: 2px solid var(--accent); border-radius: 50%; background: var(--surface); }
.pf-range input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pf-ticks { position: absolute; right: 0; bottom: 0; left: 0; height: 18px; color: var(--muted); font: 500 .75rem/18px var(--font-mono); }
.pf-ticks span { position: absolute; top: 0; left: calc(12px + (100% - 24px) * var(--d) / 30); transform: translateX(-50%); }
.pf-ticks span::before { content: ""; position: absolute; top: -7px; left: 50%; width: 1px; height: 6px; background: var(--axis); }
.pf-miles { display: flex; gap: 8px; margin: 12px -16px 0; padding: 2px 16px 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: thin; }
.pf-mile { flex: 0 0 auto; gap: 6px; scroll-snap-align: start; }
.pf-mile-d { color: var(--muted); font: 500 .75rem/1 var(--font-mono); }
.pf-phase { margin: 18px 0 0; padding-top: 16px; border-top: 2px solid var(--ink); }
.pf-ph-k { margin: 0; color: var(--accent); }
.pf-ph-h { margin: 6px 0 14px; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); }
.pf-ph-cols { display: grid; gap: 14px; }
.pf-ph-cols > div { padding-top: 10px; border-top: var(--rule-w) solid var(--rule); }
.pf-ph-cols h4 { margin: 0 0 4px; color: var(--ink-2); font: 600 .875rem/1.3 var(--font-text); }
.pf-ph-cols p { margin: 0; }
.pf-ph-time { margin: 14px 0 0; color: var(--ink-2); font-size: .9375rem; }
.pf-ph-time strong { color: var(--ink); }
.pf-doc { padding: 20px 18px; background: var(--surface); border-top: var(--rule-w) solid var(--rule); border-radius: var(--radius-m); }
.pf-doc-h { margin: 0 0 12px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.pf-doc-dl { margin: 0; }
.pf-doc-dl > div { padding: 10px 0; border-top: 1px solid var(--grid); }
.pf-doc-dl dt { margin-bottom: 3px; color: var(--muted); font: 500 .6875rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.pf-doc-dl dd { margin: 0; font-size: .9375rem; }
.pf-check { margin: 2px 0 0; padding: 0; list-style: none; }
.pf-check li { position: relative; margin: 6px 0; padding-left: 24px; }
.pf-check li::before { content: ""; position: absolute; top: .22em; left: 0; width: 14px; height: 14px; border: 1.5px solid var(--axis); border-radius: 3px; }
.pf-doc .stamp { margin: 12px 0 0; }
.pf-price { padding-top: 16px; border-top: 2px solid var(--ink); }
.pf-price p { margin: 0 0 10px; max-width: 64ch; }
.pf-price-k { color: var(--accent); }
.pf-price-cap { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; font-variation-settings: "SOFT" 0; }
.pf-price .pf-price-no { margin: 0; }
.pf-tiers { margin: 4px 0 12px; }

/* ---------- brief (C13) ---------- */
.pf-brief { padding: 20px 18px; background: var(--surface); border: 1.5px dashed var(--axis); border-radius: var(--radius-m); }
.pf-brief-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.pf-brief-h { margin: 0; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.pf-brief-h:focus { outline: none; }
.pf-brief-h:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pf-b-meta { margin: 0; color: var(--muted); font-size: .875rem; }
.pf-b-empty { margin: 0; max-width: 64ch; color: var(--ink-2); }
.pf-bqs { margin: 0; padding: 0; list-style: none; counter-reset: pf-bq; }
.pf-bqs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--grid); counter-increment: pf-bq; }
.pf-bq { min-width: 0; }
.pf-bq::before { content: counter(pf-bq) ". "; color: var(--muted); }
.pf-bq-s { color: var(--muted); }
.pf-b-k { display: block; margin-bottom: 2px; color: var(--muted); }
.pf-bsys, .pf-bsz { margin: 0; padding: 10px 0; border-top: 1px solid var(--grid); }
.pf-bsz { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.pf-bsz > p { margin: 0; flex: 1 1 260px; }
.pf-bsz .pf-b-k { flex-basis: 100%; }
.pf-rm { flex: none; }
.pf-b-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pf-b-send { margin: 12px 0 0; }
.pf-b-note { margin: 12px 0 0; color: var(--muted); font-size: .875rem; }
.pf-copy-fb { display: grid; gap: 6px; margin-top: 12px; color: var(--ink-2); font-size: .875rem; }
.pf-copy-fb textarea { width: 100%; padding: 8px; background: var(--paper); border: 1px solid var(--axis); border-radius: var(--radius-s); color: var(--ink); font: .8125rem/1.5 var(--font-mono); }

/* ---------- trust status (C14) and people (§3.10) ---------- */
.pf-status { display: grid; gap: 8px; max-width: 72ch; padding-top: 14px; border-top: var(--rule-w) solid var(--rule); }
.pf-status p { margin: 0; }
.pf-status-k { margin-right: 6px; color: var(--accent); }
.pf-status-why { color: var(--ink-2); font-size: .9375rem; }
.pf-cite { color: var(--muted); }
.pf-people { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.pf-person { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; padding-top: 16px; border-top: var(--rule-w) solid var(--rule); }
.pf-person p { margin: 0; }
.pf-ini { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink-2); border-radius: 50%; color: var(--ink);
  font: 600 1.0625rem/1 var(--font-display); font-variation-settings: "SOFT" 0; }
.pf-ini-tbc { border-style: dashed; border-color: var(--axis); }
.pf-p-name { margin-bottom: 4px !important; color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; font-weight: var(--display-wght); line-height: 1.25; }
.pf-p-role { margin-bottom: 6px !important; color: var(--muted); }
.pf-p-bg { max-width: 52ch; color: var(--ink-2); }

/* ---------- trust.html ---------- */
.pf-tp { padding-bottom: 24px; }
.pf-tp-hero { padding: 32px 0 28px; }
.pf-tp-hero h1 { max-width: 20ch; margin: 0 0 16px; font-size: clamp(2rem, 1.35rem + 2.9vw, 3.25rem); line-height: 1.06; }
.pf-tp-lede { margin: 0 0 24px; color: var(--ink-2); }
.pf-tp-glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; margin: 0 0 20px; }
.pf-tp-glance > div { padding: 12px 0 14px; border-top: var(--rule-w) solid var(--rule); }
.pf-tp-glance dt { color: var(--ink); font: 500 .9375rem/1.3 var(--font-mono); }
.pf-tp-glance dd { margin: 2px 0 0; color: var(--ink-2); font-size: .875rem; line-height: 1.4; }
.pf-tp-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.pf-tp-toc p { margin: 0; color: var(--muted); font: 500 .75rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.pf-tp-toc ul { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 0; padding: 0; list-style: none; }
.pf-tp-toc a { display: inline-flex; align-items: center; min-height: 44px; }
.pf-tp-sec { display: grid; gap: 10px 32px; padding: 32px 0; border-top: var(--rule-w) solid var(--rule); scroll-margin-top: 16px; }
.pf-tp-sec h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem); line-height: 1.15; letter-spacing: -0.015em; }
.pf-tp-body { min-width: 0; }
.pf-tp-body > * { max-width: 64ch; margin: 0 0 12px; }
.pf-tp-body > :last-child { margin-bottom: 0; }
.pf-tp-body > .table-scroll, .pf-tp-body > .pf-flow { max-width: none; }
.pf-tp-list { padding-left: 1.2em; }
.pf-tp-list li { margin: 6px 0; }
.pf-tp-status { max-width: 32rem; color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; font-variation-settings: "SOFT" 0; } /* the body column's measure, not 64ch of the larger face */
.pf-tp-check { padding-top: 10px; border-top: 1px solid var(--grid); color: var(--ink-2); font-size: .9375rem; }
.pf-tp-check span { display: block; margin-bottom: 2px; color: var(--muted); font: 500 .6875rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.pf-tp-end { padding: 40px 0 8px; border-top: var(--rule-w) solid var(--rule); }
.pf-tp-end h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem); }
.pf-tp-end p { max-width: 64ch; margin: 0 0 16px; color: var(--ink-2); }
.pf-tp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pf-tp-cta a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }

/* data-flow diagram: vertical on phones and tablets, horizontal from 1024px */
.pf-flow { margin: 0; padding: 16px; background: var(--surface); border-top: var(--rule-w) solid var(--rule); border-radius: var(--radius-m); }
.pf-flow svg { display: block; width: 100%; height: auto; overflow: visible; }
.pf-df-v { max-width: 420px; margin: 0 auto; }
.pf-df-h { display: none !important; }
.pf-df text { font-family: var(--font-text); font-variant-numeric: tabular-nums lining-nums; }
.pf-df-box { fill: var(--surface-2); stroke: var(--axis); stroke-width: 1.5; }
.pf-df-t { fill: var(--ink); font-size: 17px; font-weight: 600; }
.pf-df-s { fill: var(--ink-2); font-size: 14px; }
.pf-df-a { fill: none; stroke: var(--ink-2); stroke-width: 1.75; }
.pf-df-ret { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 4; }
.pf-df-x { stroke: var(--critical); stroke-width: 2.5; stroke-linecap: round; }
.pf-df-xl { fill: var(--critical); font-size: 14px; font-weight: 600; }
.pf-df-ah { fill: var(--ink-2); }
.pf-df-ahr { fill: var(--muted); }
.pf-flow figcaption { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; }

/* ---------- breakpoints ---------- */
@media (min-width: 560px) {
  .pf-ph-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .pf-tp-glance { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .pf-fig { padding: 24px; }
  .pf-sk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .pf-tile { min-height: 118px; padding: 14px 16px 12px; }
  .pf-t-v { font-size: 1.625rem; }
  .pf-memo { aspect-ratio: 1 / 1.414; padding: 40px 48px 32px; }
  .pf-memo-hd { --pf-pt: 40px; margin: -40px -48px 18px; padding: var(--pf-pt) 48px 14px; }
  .pf-miles { flex-wrap: wrap; margin: 12px 0 0; padding: 0; overflow: visible; }
  .pf-people { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .pf-brief { padding: 24px 28px; }
  .pf-doc { padding: 24px 28px; }
  .pf-tp-hero { padding: 48px 0 32px; }
  .pf-tp-sec { padding: 44px 0; }
}
@media (min-width: 1024px) {
  .pf-an { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; padding: 28px 32px; }
  .pf-pilot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: start; }
  .pf-plan, .pf-price { grid-column: 1; }
  .pf-doc { grid-column: 2; grid-row: 1 / span 2; }
  .pf-pg { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 40px; align-items: start; }
  .pf-pg-main { grid-column: 1; grid-row: 1 / span 2; }
  .pf-pg-side { grid-column: 2; grid-row: 1; margin: 0; }
  .pf-pg-act { grid-column: 2; grid-row: 2; align-self: start; }
  .pf-tp-glance { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 0; }
  .pf-tp-glance > div { padding: 2px 16px 4px; border-top: 0; border-left: var(--rule-w) solid var(--rule); }
  .pf-tp-glance > div:first-child { padding-left: 0; border-left: 0; }
  .pf-tp-sec { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); padding: 56px 0; }
  .pf-tp-flow .pf-flow { grid-column: 1 / -1; }
  .pf-df-h { display: block !important; }
  .pf-df-v { display: none !important; }
}
