/* ═══════════════════════════════════════════════════════════════════════
   PROOF · re-skinned to the main marketing aesthetic
   Reuses tokens from styles.css (Inter + Bricolage Grotesque · brand blue ·
   ink scale · soft shadows · rounded cards). No newsprint serif.
   ═══════════════════════════════════════════════════════════════════════ */

.pf-body {
  font-family: var(--font-sans);
  background: var(--ink-50);
  color: var(--ink-900);
}
.pf-wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ─── Section eyebrow + KICKER (pill style, matches main hero-eyebrow) ─── */
.pf-section-eyebrow,
.pf-hero-eyebrow {
  display: inline-flex; align-items: center;
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 5px 11px;
  border-radius: var(--r-full);
  border: 1px solid var(--brand-100);
  margin-bottom: 18px;
}

/* ─── Redact bar ─── */
.pf-redact {
  font-family: var(--font-mono);
  background: var(--ink-900);
  color: var(--ink-900);
  padding: 0 6px;
  border-radius: 2px;
  letter-spacing: -0.04em;
  user-select: none;
}

/* ═════ HERO (mirrors main hero) ═════ */
.pf-hero {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(37, 99, 235, 0.10), transparent 60%),
    linear-gradient(180deg, var(--ink-50) 0%, white 100%);
  border-bottom: 1px solid var(--ink-200);
}
.pf-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(28, 25, 23, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 75%);
  pointer-events: none;
}
.pf-hero > * { position: relative; z-index: 1; }

.pf-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  max-width: 18ch;
  margin-bottom: 18px;
  text-wrap: balance;
}
.pf-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand-600), var(--violet-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pf-hero-lede {
  font-size: var(--text-lg);
  color: var(--ink-700);
  line-height: 1.55;
  max-width: 56ch;
  margin-bottom: 32px;
  text-wrap: pretty;
}

.pf-hero-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 768px) { .pf-hero-bar { grid-template-columns: repeat(4, 1fr); } }

.pf-hero-stat {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}
.pf-hero-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  letter-spacing: -0.022em;
  color: var(--ink-900);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
  white-space: nowrap;
}
.pf-hero-stat-num small {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-500);
  margin-left: 4px;
  letter-spacing: 0;
  white-space: nowrap;
}
.pf-hero-stat-lbl {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-600);
  letter-spacing: 0.02em;
}

/* ═════ INDEX HEAD ═════ */
.pf-index-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 10px;
  padding: 56px 0 28px;
}
.pf-index-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink-900);
}
.pf-index-head-meta {
  font-size: var(--text-sm);
  color: var(--ink-600);
  font-variant-numeric: tabular-nums;
}

/* ═════ CASE CARD ═════ */
.pf-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: 56px;
}
@media (min-width: 768px)  { .pf-cases { grid-template-columns: 1fr 1fr; } }

.pf-card {
  position: relative;
  display: flex; flex-direction: column;
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-2xl);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease-out, box-shadow 0.18s, border-color 0.18s;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.pf-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--brand-500), var(--violet-500));
  opacity: 0.85;
}
.pf-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}

.pf-stamp {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grow-700);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--r-md);
  padding: 5px 9px;
  display: flex; flex-direction: column; align-items: center;
  line-height: 1.2;
  text-align: center;
}
.pf-stamp strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--grow-700);
  letter-spacing: -0.01em;
  margin: 1px 0;
}

.pf-card-head {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.pf-tier-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-full);
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.pf-tier-badge.is-growth   { background: hsl(140, 60%, 96%); color: var(--grow-700); border-color: hsl(140, 50%, 88%); }
.pf-tier-badge.is-dominator{ background: hsl(270, 70%, 96%); color: var(--violet-700); border-color: hsl(270, 60%, 90%); }
.pf-tier-badge.is-empire   { background: var(--ink-900);     color: white;             border-color: var(--ink-900); }

.pf-vertical {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}

.pf-subject {
  margin-bottom: 6px;
}
.pf-subject-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  display: inline-flex; align-items: center; gap: 4px;
}
.pf-subject-meta {
  font-size: var(--text-sm);
  color: var(--ink-600);
  margin-bottom: 14px;
  line-height: 1.5;
}
.pf-subject-meta strong { color: var(--ink-900); font-weight: 600; }

.pf-tier-blurb {
  font-size: var(--text-sm);
  color: var(--ink-700);
  line-height: 1.55;
  margin-bottom: 18px;
  text-wrap: pretty;
}

.pf-headline-stat {
  background: var(--ink-900);
  color: white;
  border-radius: var(--r-lg);
  padding: 16px 18px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.pf-headline-stat::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(400px 200px at 0% 100%, rgba(37, 99, 235, 0.20), transparent 60%);
  pointer-events: none;
}
.pf-headline-stat > * { position: relative; }
.pf-headline-stat-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: white;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
  white-space: nowrap;
}
.pf-headline-stat-val small {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-300);
  margin-left: 4px;
  letter-spacing: 0;
  white-space: nowrap;
}
.pf-headline-stat-lbl {
  font-size: var(--text-sm);
  color: var(--ink-300);
  line-height: 1.45;
}

.pf-mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.pf-mini {
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 10px 12px;
}
.pf-mini-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: -0.015em;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-bottom: 2px;
  line-height: 1.15;
}
.pf-mini-val em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-left: 4px;
  white-space: nowrap;
}
.pf-mini-lbl {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-600);
  letter-spacing: 0.02em;
}

.pf-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-600);
  align-self: flex-start;
  margin-top: auto;
  transition: gap 0.18s;
}
.pf-card:hover .pf-card-cta { gap: 10px; }

/* ═════ CTA STRIP (matches main page CTA aesthetic) ═════ */
.pf-cta-strip {
  background: var(--ink-900);
  color: white;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.pf-cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(600px 320px at 80% 100%, rgba(139, 92, 246, 0.18), transparent 60%);
  pointer-events: none;
}
.pf-cta-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.pf-cta-strip .gz-kicker,
.pf-cta-strip .pf-section-eyebrow {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: var(--brand-300);
}
.pf-cta-strip h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 16px 0 12px;
  color: white;
  text-wrap: balance;
}
.pf-cta-strip h3 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand-300), var(--violet-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pf-cta-strip p {
  font-size: var(--text-base);
  color: var(--ink-300);
  line-height: 1.6;
  margin-bottom: 24px;
}
.pf-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-base);
  height: 52px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: white;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(37,99,235,0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}
.pf-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,99,235,0.55); }

/* ═════ FOOT ═════ */
.pf-foot {
  background: white;
  border-top: 1px solid var(--ink-200);
  padding: 28px 0;
}
.pf-foot-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: var(--text-sm);
  color: var(--ink-600);
}
.pf-foot a { color: var(--ink-700); transition: color 0.15s; }
.pf-foot a:hover { color: var(--brand-600); }

/* ═══════════════════════════════════════════════════════════════════════
   CASE FILE PAGE (proof-case.html) — same marketing tokens
   ═══════════════════════════════════════════════════════════════════════ */

.pf-cover {
  position: relative;
  padding: 48px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(139, 92, 246, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(37, 99, 235, 0.10), transparent 60%),
    linear-gradient(180deg, var(--ink-50) 0%, white 100%);
  border-bottom: 1px solid var(--ink-200);
}
.pf-cover-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--ink-600);
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}
.pf-cover-meta strong { color: var(--ink-900); font-weight: 600; }
.pf-cover-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }
.pf-cover h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin-bottom: 14px;
  max-width: 22ch;
  text-wrap: balance;
}
.pf-cover-lede {
  font-size: var(--text-lg);
  color: var(--ink-700);
  line-height: 1.55;
  max-width: 56ch;
  text-wrap: pretty;
}

/* Section · re-skinned */
.pf-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--ink-200);
}
.pf-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink-900);
  margin-bottom: 14px;
  max-width: 24ch;
  text-wrap: balance;
}
.pf-section .pf-section-eyebrow { margin-bottom: 14px; }
.pf-section-lede {
  font-size: var(--text-base);
  color: var(--ink-700);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 28px;
}

/* Pricing table */
.pf-pricing {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  padding: 6px 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.pf-pricing-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-200);
}
.pf-pricing-row:last-child { border-bottom: 0; }
.pf-pricing-svc {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-900);
}
.pf-pricing-vol {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}
.pf-pricing-amt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.015em;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pf-pricing-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  background: var(--brand-50);
  border-top: 2px solid var(--brand-200);
  margin: 0 -18px -6px;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.pf-pricing-foot-lbl {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.pf-pricing-foot-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  letter-spacing: -0.02em;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Patches */
.pf-patches {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) { .pf-patches { grid-template-columns: 1fr 1fr; } }
.pf-patch {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}
.pf-patch-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.pf-patch-no {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
  padding: 4px 8px;
}
.pf-patch-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.pf-patch h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink-900);
  margin-bottom: 8px;
  text-wrap: balance;
}
.pf-patch p {
  font-size: var(--text-sm);
  color: var(--ink-600);
  line-height: 1.55;
}

/* Deltas */
.pf-deltas {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  padding: 6px 18px;
  box-shadow: var(--shadow-soft);
}
.pf-delta-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-200);
}
.pf-delta-row:last-child { border-bottom: 0; }
.pf-delta-label { font-size: var(--text-sm); color: var(--ink-700); }
.pf-delta-before, .pf-delta-after {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pf-delta-before { color: var(--ink-400); text-decoration: line-through; }
.pf-delta-after { color: var(--ink-900); }
.pf-delta-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
  color: var(--grow-700);
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--r-md);
  padding: 4px 10px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Weekly bars */
.pf-weekly {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.pf-weekly-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  align-items: end;
  height: 220px;
  margin-bottom: 14px;
}
.pf-bar {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
}
.pf-bar-fill {
  width: 100%;
  background: var(--ink-300);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  position: relative;
  transition: opacity 0.18s;
}
.pf-bar.is-after .pf-bar-fill {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.pf-bar.is-recent .pf-bar-fill {
  background: linear-gradient(180deg, var(--violet-500), var(--violet-700));
}
.pf-bar-wk {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0.04em;
}
.pf-weekly-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-200);
  font-size: var(--text-sm);
  color: var(--ink-700);
  font-variant-numeric: tabular-nums;
}
.pf-weekly-foot strong { color: var(--ink-900); font-weight: 600; }
.pf-weekly-delta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.015em;
  color: var(--grow-700);
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--r-md);
  padding: 4px 12px;
  white-space: nowrap;
}

/* Ledger */
.pf-ledger {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) { .pf-ledger { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .pf-ledger { grid-template-columns: repeat(4, 1fr); } }
.pf-ledger-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}
.pf-ledger-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  letter-spacing: -0.025em;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1;
  margin-bottom: 6px;
}
.pf-ledger-num small {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-500);
  margin-left: 4px;
  letter-spacing: 0;
  white-space: nowrap;
}
.pf-ledger-lbl {
  font-size: var(--text-sm);
  color: var(--ink-700);
  line-height: 1.4;
  margin-bottom: 8px;
}
.pf-ledger-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
}

/* Day timeline */
.pf-day {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.pf-day-who {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.pf-day-summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin-bottom: 18px;
  text-wrap: balance;
}
.pf-events {
  display: flex; flex-direction: column;
  gap: 12px;
}
.pf-event {
  display: grid;
  grid-template-columns: 64px 80px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-200);
}
.pf-event:last-child { border-bottom: 0; }
.pf-event-time {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-700);
  font-variant-numeric: tabular-nums;
}
.pf-event-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  text-align: center;
  align-self: start;
}
.tag-book     { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.tag-pay      { background: hsl(140, 60%, 96%); color: var(--grow-700); border: 1px solid hsl(140, 50%, 88%); }
.tag-comply   { background: hsl(270, 70%, 96%); color: var(--violet-700); border: 1px solid hsl(270, 60%, 90%); }
.tag-dispatch { background: hsl(38, 90%, 96%); color: #B45309; border: 1px solid hsl(38, 80%, 88%); }
.pf-event-text {
  font-size: var(--text-sm);
  color: var(--ink-800);
  line-height: 1.5;
}

/* Quote */
.pf-quote {
  padding: 56px 24px;
  text-align: center;
  background: var(--brand-50);
  border-top: 1px solid var(--brand-100);
  border-bottom: 1px solid var(--brand-100);
}
.pf-quote blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  line-height: 1.3;
  letter-spacing: -0.018em;
  max-width: 32ch;
  margin: 0 auto 18px;
  color: var(--ink-900);
  text-wrap: balance;
}
.pf-quote-cite {
  font-size: var(--text-sm);
  color: var(--ink-700);
  font-variant-numeric: tabular-nums;
}
.pf-quote-cite strong { color: var(--ink-900); font-weight: 600; }

/* Outcome */
.pf-outcome {
  background: var(--ink-900);
  color: white;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.pf-outcome::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(600px 320px at 80% 100%, rgba(139, 92, 246, 0.18), transparent 60%);
  pointer-events: none;
}
.pf-outcome > * { position: relative; }
.pf-outcome h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin-bottom: 14px;
  color: white;
  text-wrap: balance;
  max-width: 28ch;
}
.pf-outcome-copy {
  font-size: var(--text-base);
  color: var(--ink-300);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 32px;
}
.pf-outcome-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 768px) { .pf-outcome-stats { grid-template-columns: repeat(4, 1fr); } }
.pf-outcome-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 16px 18px;
}
.pf-outcome-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  letter-spacing: -0.022em;
  color: white;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-bottom: 4px;
}
.pf-outcome-stat-num small {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-300);
  margin-left: 4px;
  letter-spacing: 0;
  white-space: nowrap;
}
.pf-outcome-stat-lbl {
  font-size: var(--text-xs);
  color: var(--ink-300);
}

/* Subnav for case file */
.pf-subnav {
  position: sticky;
  top: 56px;
  z-index: 30;
  background: rgba(250,250,249,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-200);
}
.pf-subnav-inner {
  display: flex; align-items: center; gap: 6px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 24px;
  font-size: var(--text-xs);
  color: var(--ink-600);
  flex-wrap: wrap;
}
.pf-subnav-inner a {
  font-weight: 500;
  color: var(--ink-700);
  padding: 5px 10px;
  border-radius: var(--r-md);
  transition: all 0.15s;
}
.pf-subnav-inner a:hover { background: var(--ink-100); color: var(--brand-700); }
