/* ====================================================
   KNOWLEDGE BASE — cluster article components
   (page-kb-article.php + inc/kb/*.php; related cards also on the pillar)
   Loaded after pillar.css, reuses its tokens and .pg-* base components.
==================================================== */

/* Hero: cluster variant + parent-guide pill */
.pg-hero.is-cluster { padding-bottom: 72px; }
.pg-hero.is-cluster h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.pg-parent-pill {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
	width: fit-content; max-width: 100%;
	margin-top: 34px; padding: 10px 16px;
	border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md);
	background: rgba(255,255,255,.03);
	font-size: 13.5px; transition: border-color .2s, background .2s;
}
.pg-parent-pill span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-light); }
.pg-parent-pill strong { color: #fff; font-weight: 700; }
.pg-parent-pill:hover { border-color: rgba(249,115,22,.5); background: rgba(249,115,22,.08); }

/* Read-next line */
.pg-readnext {
	margin: 18px 0 0 !important; padding: 12px 16px;
	background: #fff7ed; border: 1px solid rgba(249,115,22,.25); border-radius: var(--radius-sm);
	font-size: 15px;
}
.pg-readnext::before { content: '→ '; color: var(--orange); font-weight: 800; }

/* Method index tiles (Lead Capture Methods page) */
.pg-article .pg-jump-hint {
	margin: 4px 0 12px !important;
	font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--slate);
}
.pg-jump {
	list-style: none;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
	margin: 0 0 34px;
}
@media (max-width: 1180px) and (min-width: 1021px) { .pg-jump { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .pg-jump { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pg-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
/* .pg-jump-link raises specificity above the article's generic underlined link style */
.pg-article .pg-jump a.pg-jump-link {
	position: relative;
	display: flex; flex-direction: column; height: 100%;
	padding: 14px 14px 16px;
	background: #fff; border: 1px solid var(--support); border-radius: var(--radius-md);
	color: var(--navy); text-decoration: none; font-weight: 400;
	box-shadow: 0 2px 6px rgba(15,23,42,.03);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pg-article .pg-jump a.pg-jump-link:hover,
.pg-article .pg-jump a.pg-jump-link:focus-visible {
	border-color: rgba(249,115,22,.55);
	box-shadow: 0 14px 30px rgba(15,23,42,.08);
	transform: translateY(-3px);
	color: var(--navy);
}
.pg-jump-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pg-jump-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 10px;
	background: #fff7ed; border: 1px solid rgba(249,115,22,.2);
	transition: background .2s, border-color .2s;
}
.pg-jump-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--orange-hover); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.pg-jump-link:hover .pg-jump-icon { background: var(--orange); border-color: var(--orange); }
.pg-jump-link:hover .pg-jump-icon svg { stroke: #fff; }
.pg-jump-num { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1; color: var(--support); transition: color .2s; }
.pg-jump-link:hover .pg-jump-num { color: rgba(249,115,22,.35); }
.pg-jump-name { font-size: 14.5px; font-weight: 800; line-height: 1.3; color: var(--navy); margin-bottom: 4px; }
.pg-jump-use { font-size: 12.5px; line-height: 1.4; color: var(--slate); padding-right: 16px; }
.pg-jump-arrow {
	position: absolute; right: 12px; bottom: 12px;
	font-size: 13px; font-weight: 800; color: var(--orange);
	opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s;
}
.pg-jump-link:hover .pg-jump-arrow { opacity: 1; transform: none; }
@media (max-width: 600px) {
	.pg-article .pg-jump a.pg-jump-link { padding: 12px; }
	.pg-jump-top { margin-bottom: 10px; }
	.pg-jump-icon { width: 32px; height: 32px; border-radius: 9px; }
	.pg-jump-icon svg { width: 16px; height: 16px; }
	.pg-jump-num { font-size: 1.15rem; }
	.pg-jump-name { font-size: 13.5px; }
	.pg-jump-use { font-size: 12px; padding-right: 0; }
	.pg-jump-arrow { display: none; }
}
@media (hover: none) { .pg-jump-arrow { display: none; } }

/* Method / approach block */
.pg-method-block {
	background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg);
	padding: 26px; margin-top: 20px;
	box-shadow: 0 10px 30px rgba(15,23,42,.035);
}
@media (max-width: 560px) { .pg-method-block { padding: 20px 18px; } }
.pg-method-head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; margin-bottom: 14px; }
.pg-method-head .pg-method-icon { grid-row: span 2; }
.pg-method-n { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-hover); }
.pg-article .pg-method-head h3 { margin: 0; font-size: 1.25rem; }
.pg-method-block > p { font-size: 16px; }

/* Advantages / limitations */
.pg-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
@media (max-width: 640px) { .pg-proscons { grid-template-columns: 1fr; } }
.pg-pros, .pg-cons { border-radius: var(--radius-md); padding: 16px 18px; }
.pg-pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.pg-cons { background: #fff7f5; border: 1px solid #fed7cc; }
.pg-pc-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pg-pros .pg-pc-label { color: #15803d; }
.pg-cons .pg-pc-label { color: #c2410c; }
.pg-proscons ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 0; }
.pg-proscons li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: #334155; }
.pg-pros li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 800; }
.pg-cons li::before { content: '–'; position: absolute; left: 3px; top: 0; color: #ea580c; font-weight: 800; }
.pg-cons p { font-size: 14.5px; line-height: 1.55; margin-bottom: .6em !important; }
.pg-cons ul { margin-top: 4px; }
.pg-proscons.is-flip .pg-cons li::before { content: '✕'; left: 1px; font-size: 12px; top: 2px; }

/* Best-for / verdict boxes */
.pg-bestfor, .pg-verdict {
	display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
	margin-top: 16px; padding: 16px 18px;
	background: var(--navy); color: #cbd5e1; border-radius: var(--radius-md);
}
@media (max-width: 520px) { .pg-bestfor, .pg-verdict { grid-template-columns: 1fr; gap: 6px; } }
.pg-bestfor-label, .pg-verdict-label {
	font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	color: var(--orange-light); white-space: nowrap; padding-top: 4px;
}
.pg-bestfor p, .pg-verdict p { margin: 0 0 .5em !important; font-size: 15px; line-height: 1.6; }
.pg-bestfor p:last-child, .pg-verdict p:last-child { margin-bottom: 0 !important; }
.pg-bestfor strong, .pg-verdict strong { color: #fff; }
.pg-article .pg-verdict a { color: var(--orange-light); }

/* Comparison table */
.pg-table-wrap {
	margin: 18px 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch;
	background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg);
	box-shadow: 0 10px 30px rgba(15,23,42,.04);
}
.pg-table-wrap:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.pg-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.45; }
.pg-table th, .pg-table td { padding: 12px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--support); }
.pg-table thead th { background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; }
.pg-table tbody th { font-weight: 700; color: var(--navy); background: #fff; position: sticky; left: 0; z-index: 1; }
.pg-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
.pg-table tbody tr:nth-child(even) td, .pg-table tbody tr:nth-child(even) th { background: var(--surface-light); }
.pg-table tbody tr:last-child th, .pg-table tbody tr:last-child td { border-bottom: none; }
.pg-table td { color: var(--slate-mid); }
.pg-lvl { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pg-lvl[data-level="vhigh"] { background: #15803d; color: #fff; }
.pg-lvl[data-level="high"]  { background: #dcfce7; color: #15803d; }
.pg-lvl[data-level="mhigh"] { background: #ecfccb; color: #4d7c0f; }
.pg-lvl[data-level="med"]   { background: #fef9c3; color: #a16207; }
.pg-lvl[data-level="lmed"]  { background: #ffedd5; color: #c2410c; }
.pg-lvl[data-level="low"]   { background: #fee2e2; color: #b91c1c; }
/* Small screens: each row becomes a card (label left, value right) — no hidden columns */
@media (max-width: 640px) {
	.pg-table-wrap { overflow: visible; background: none; border: none; box-shadow: none; }
	.pg-table { min-width: 0; font-size: 14px; }
	.pg-table, .pg-table tbody, .pg-table tr, .pg-table th, .pg-table td { display: block; width: 100%; }
	.pg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.pg-table tbody { display: flex; flex-direction: column; gap: 10px; }
	.pg-table tr {
		background: #fff; border: 1px solid var(--support); border-radius: var(--radius-md);
		overflow: hidden; box-shadow: 0 2px 8px rgba(15,23,42,.04);
	}
	.pg-table tbody th {
		position: static; padding: 11px 14px;
		background: var(--navy); color: #fff; font-size: 14.5px;
		border-bottom: none;
	}
	.pg-table tbody tr:nth-child(even) td { background: #fff; }
	.pg-table tbody tr:nth-child(even) th { background: var(--navy); }
	.pg-table td {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px 14px; border-bottom: 1px solid var(--support);
		color: var(--navy); font-weight: 600; text-align: right;
	}
	.pg-table td::before {
		content: attr(data-label);
		flex: 0 0 auto; max-width: 48%;
		text-align: left; font-size: 12.5px; font-weight: 700; color: var(--slate);
	}
	.pg-table tr td:last-child { border-bottom: none; }
	.pg-table tbody tr:last-child td { border-bottom: 1px solid var(--support); }
	.pg-table tbody tr:last-child td:last-child { border-bottom: none; }
}

/* Combination cards */
.pg-combos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 24px; }
@media (max-width: 640px) { .pg-combos { grid-template-columns: 1fr; } }
.pg-combo { background: #fff; border: 1px solid var(--support); border-radius: var(--radius-md); padding: 18px; }
.pg-combo-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.pg-combo-pair b { padding: 5px 11px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; }
.pg-combo-pair i { font-style: normal; font-weight: 800; color: var(--orange); }
.pg-combo p { margin: 0 !important; font-size: 14.5px; line-height: 1.6; color: var(--slate-mid); }

/* Definition-grid variants */
.pg-defs.is-questions > div { border-left-color: var(--navy); }
.pg-defs.is-questions dt::before {
	content: 'Q'; display: inline-flex; align-items: center; justify-content: center;
	width: 20px; height: 20px; margin-right: 8px; border-radius: 6px;
	background: rgba(249,115,22,.12); color: var(--orange-hover); font-size: 11px; font-weight: 800; vertical-align: 1px;
}
.pg-defs.is-warn > div { border-left-color: #ef4444; }

/* Mistake / best-practice grid */
.pg-mistakes.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 680px) { .pg-mistakes.is-grid { grid-template-columns: 1fr; } }
.pg-mistakes.is-grid .pg-mistake { padding: 20px 20px 16px 72px; }
.pg-mistakes.is-grid .pg-mistake-num { left: 18px; top: 18px; width: 38px; height: 38px; font-size: 1.05rem; }
@media (max-width: 560px) { .pg-mistakes.is-grid .pg-mistake { padding: 64px 18px 16px; } }
.pg-mistakes.is-grid .pg-mistake p { font-size: 15px; margin-bottom: .55em; }
.pg-mistakes.is-grid .pg-mistake p:last-child { margin-bottom: 0; }
.pg-article .pg-mistakes.is-grid .pg-mistake h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.pg-mistakes.is-good .pg-mistake-num { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }

/* Paired definition / when-to cards rendered as sections */
.pg-defs-pair, .pg-when { margin-top: 48px; align-items: start; }
.pg-article .pg-card-h2 { font-size: 1.3rem; margin: 0 0 14px; }
.pg-defs-pair .pg-compare-card p, .pg-when .pg-compare-card p { font-size: 15.5px; }

/* App vs scanner factors */
.pg-factor { margin-top: 34px; padding-top: 30px; border-top: 1px dashed var(--slate-lighter); }
.pg-factor:first-of-type { border-top: none; padding-top: 0; margin-top: 18px; }
.pg-factor-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pg-factor-n {
	flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
	background: linear-gradient(135deg, var(--orange), var(--orange-hover)); color: #fff;
	font-family: var(--font-display); font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 18px rgba(249,115,22,.25);
}
.pg-article .pg-factor-head h3 { margin: 0; }
.pg-factor .pg-compare { margin: 14px 0 6px; }
.pg-factor .pg-compare-card { padding: 20px; }

/* Hot/Warm/Cold/Lost chips */
.pg-tempchips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.pg-tempchips li { padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pg-tempchips .is-hot  { background: #fef2f2; color: #dc2626; }
.pg-tempchips .is-warm { background: #fffbeb; color: #b45309; }
.pg-tempchips .is-cold { background: #eff6ff; color: #2563eb; }
.pg-tempchips .is-lost { background: #f1f5f9; color: var(--slate-mid); }

/* Numbered question list */
.pg-qlist { list-style: none; counter-reset: q; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 10px; }
@media (max-width: 640px) { .pg-qlist { grid-template-columns: 1fr; } }
.pg-qlist li {
	counter-increment: q; position: relative;
	padding: 14px 16px 14px 54px; background: #fff; border: 1px solid var(--support); border-radius: var(--radius-md);
}
.pg-qlist li::before {
	content: counter(q, decimal-leading-zero); position: absolute; left: 14px; top: 14px;
	width: 28px; height: 22px; border-radius: 6px; background: rgba(249,115,22,.1);
	font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--orange-hover);
	display: flex; align-items: center; justify-content: center;
}
.pg-qlist strong { display: block; font-size: 15px; line-height: 1.4; margin-bottom: 4px; }
.pg-qlist span { font-size: 14.5px; color: var(--slate-mid); line-height: 1.5; }

/* Decision framework rows */
.pg-decide { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 22px; }
.pg-decide > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--support); }
@media (max-width: 600px) { .pg-decide > div { grid-template-columns: 1fr; } }
.pg-decide-q { padding: 14px 18px; background: #fff; font-weight: 800; color: var(--navy); font-size: 15px; }
.pg-decide-a { padding: 14px 18px; background: var(--navy); color: #fff; font-size: 15px; }
.pg-decide-a::before { content: '→ '; color: var(--orange); font-weight: 800; }


/* "What a conversation reveals" / OCR field groups */
.pg-reveal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 22px; }
.pg-reveal-grid.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .pg-reveal-grid.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pg-reveal-grid, .pg-reveal-grid.is-four { grid-template-columns: 1fr; } }
.pg-reveal { background: #fff; border: 1px solid var(--support); border-top: 3px solid var(--orange); border-radius: var(--radius-md); padding: 18px; }
.pg-article .pg-reveal h3 { margin: 0 0 8px; font-size: 1.05rem; }
.pg-reveal p { font-size: 14.5px; margin-bottom: .6em !important; color: var(--slate-mid); }
.pg-reveal .pg-checklist { margin: 6px 0 0; gap: 7px; }
.pg-reveal .pg-checklist li { font-size: 14.5px; }

/* Single record + AI field list */
.pg-records.is-single { grid-template-columns: minmax(0, 520px); }
.pg-ai-fields { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.pg-ai-fields > div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 15px; }
.pg-ai-fields dt { color: var(--slate-light); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.pg-ai-fields dd { color: #fff; font-weight: 600; }
@media (max-width: 480px) {
	.pg-ai-fields > div, .pg-fields > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Step list (numbered how-to) */
.pg-steplist { list-style: none; counter-reset: st; margin: 18px 0 10px; }
.pg-steplist > li { counter-increment: st; position: relative; padding: 0 0 26px 58px; }
.pg-steplist > li::before {
	content: counter(st); position: absolute; left: 0; top: 0; z-index: 1;
	width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff;
	font-family: var(--font-display); font-weight: 700; font-size: 17px;
	display: flex; align-items: center; justify-content: center;
}
.pg-steplist > li::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--support); }
.pg-steplist > li:last-child::after { display: none; }
.pg-article .pg-steplist h3 { margin: 8px 0 10px; font-size: 1.15rem; }
.pg-steplist p { font-size: 16px; }
@media (max-width: 480px) {
	.pg-steplist > li { padding-left: 48px; }
	.pg-steplist > li::before { width: 34px; height: 34px; font-size: 15px; }
	.pg-steplist > li::after { left: 16px; top: 38px; }
}

/* Numbered mini-grid (manual processing steps) */
.pg-numgrid { list-style: none; counter-reset: ng; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 14px 0 22px; }
@media (max-width: 760px) { .pg-numgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pg-numgrid li {
	counter-increment: ng; position: relative;
	padding: 12px 12px 12px 36px; background: #fff; border: 1px solid var(--support); border-radius: var(--radius-sm);
	font-size: 14px; font-weight: 600; color: var(--slate-mid); line-height: 1.35;
}
.pg-numgrid li::before { content: counter(ng); position: absolute; left: 12px; top: 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: #dc2626; }

/* OCR demo: card → structured record */
.pg-ocr-demo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr); gap: 16px; align-items: center; margin: 22px 0 26px; }
@media (max-width: 700px) { .pg-ocr-demo { grid-template-columns: 1fr; } .pg-ocr-arrow { justify-self: center; transform: rotate(90deg); } }
.pg-ocr-card {
	position: relative; overflow: hidden;
	aspect-ratio: 1.75 / 1; max-width: 100%;
	padding: 20px 22px; border-radius: 14px;
	background: linear-gradient(135deg, #1e293b, #0f172a); color: #fff;
	display: flex; flex-direction: column; justify-content: center; gap: 2px;
	box-shadow: 0 22px 44px rgba(15,23,42,.22);
}
.pg-ocr-logo {
	position: absolute; right: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%;
	border: 1.5px solid var(--orange); color: var(--orange);
	font-family: var(--font-display); font-size: 11px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.pg-article .pg-ocr-card strong { font-size: 18px; color: #fff; }
.pg-ocr-card em { font-style: normal; font-size: 13px; color: var(--orange-light); margin-bottom: 8px; }
.pg-ocr-co { font-size: 13px; font-weight: 700; color: #e2e8f0; }
.pg-ocr-line { font-family: var(--font-mono); font-size: 12px; color: var(--slate-light); }
.pg-ocr-scan {
	position: absolute; left: 0; right: 0; top: 6%; height: 2px;
	background: linear-gradient(90deg, transparent, var(--orange), transparent);
	box-shadow: 0 0 14px rgba(249,115,22,.8);
	animation: pgScan 2.6s ease-in-out infinite;
}
@keyframes pgScan { 0%, 100% { top: 6%; } 50% { top: 94%; } }
@media (prefers-reduced-motion: reduce) { .pg-ocr-scan { animation: none; top: 50%; } }
.pg-ocr-arrow { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--orange-hover); white-space: nowrap; }

/* Volume scale tiles */
.pg-scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 22px; }
@media (max-width: 640px) { .pg-scale { grid-template-columns: 1fr; } }
.pg-scale-card { background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; }
.pg-scale-card p { margin: 10px 0 0 !important; font-size: 14.5px; line-height: 1.55; color: var(--slate-mid); }
.pg-scale-card.is-mid { border-color: rgba(249,115,22,.35); }
.pg-scale-card.is-high { background: var(--navy); border-color: var(--navy); }
.pg-scale-card.is-high .pg-vs-big { color: var(--orange); }
.pg-scale-card.is-high .pg-vs-unit, .pg-scale-card.is-high p { color: #cbd5e1; }

/* Related guides */
.pg-related { padding: 24px var(--px) 40px; }
.pg-related-inner { max-width: var(--max-w); margin: 0 auto; }
.pg-related h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy); margin: 0 0 22px; }
.pg-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.pg-related-card {
	display: flex; flex-direction: column; gap: 8px; height: 100%;
	padding: 20px; background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg);
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pg-related-card:hover { transform: translateY(-3px); border-color: rgba(249,115,22,.45); box-shadow: 0 16px 34px rgba(15,23,42,.08); }
.pg-related-card.is-pillar { background: var(--navy); border-color: var(--navy); }
.pg-related-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-hover); }
.pg-related-card.is-pillar .pg-related-tag { color: var(--orange-light); }
.pg-related-card strong { font-size: 16px; line-height: 1.35; color: var(--navy); }
.pg-related-card.is-pillar strong { color: #fff; }
.pg-related-sum { font-size: 14px; line-height: 1.55; color: var(--slate-mid); flex: 1; }
.pg-related-card.is-pillar .pg-related-sum { color: var(--slate-light); }
.pg-related-more { font-size: 13px; font-weight: 700; color: var(--orange-hover); }
.pg-related-card.is-pillar .pg-related-more { color: var(--orange-light); }

/* Short-item checklists (pg-cols-4): wrapping pill chips sized to their text,
   instead of equal-width boxes with uneven heights and empty slots. */
.pg-article .pg-checklist.pg-cols-4 { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 22px; }
.pg-article .pg-checklist.pg-cols-4 li {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 14px 7px 8px;
	background: #fff; border: 1px solid var(--support); border-radius: 999px;
	font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--navy);
	box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.pg-article .pg-checklist.pg-cols-4 .pg-tick { width: 18px; height: 18px; margin-top: 0; border-radius: 50%; }
.pg-article .pg-checklist.pg-cols-4 .pg-tick::after { left: 6.5px; top: 3.5px; width: 4px; height: 8px; }

/* Versus definition cards (App vs. Badge Scanner) */
.pg-versus {
	display: grid; grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1fr); column-gap: 26px;
	align-items: stretch; margin: 48px 0 8px;
}
.pg-vcard {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg);
	padding: 24px; box-shadow: 0 12px 32px rgba(15,23,42,.05);
	position: relative; overflow: hidden;
}
.pg-vcard::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--slate-lighter); }
.pg-vcard.is-app::before { background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.pg-vcard.is-app { border-color: rgba(249,115,22,.35); }
.pg-vcard-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.pg-vcard-icon {
	flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 12px; background: var(--navy);
}
.pg-vcard.is-app .pg-vcard-icon { background: linear-gradient(135deg, var(--orange), var(--orange-hover)); box-shadow: 0 8px 18px rgba(249,115,22,.28); }
.pg-vcard-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-vcard-tag { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.pg-vcard.is-app .pg-vcard-tag { color: var(--orange-hover); }
.pg-article .pg-vcard .pg-card-h2 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.pg-vcard p { font-size: 15px; line-height: 1.65; margin-bottom: .9em !important; }
.pg-article .pg-vcard .pg-vcard-def {
	font-size: 15.5px; color: var(--navy);
	padding: 12px 14px; margin-bottom: 16px !important;
	background: var(--surface-light); border-radius: var(--radius-sm);
}
.pg-vcard.is-app .pg-vcard-def { background: #fff7ed; }
.pg-vcard-block { margin: 0 0 14px; }
.pg-vcard-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--slate-mid); }
.pg-article .pg-vcard .pg-checklist.pg-cols-4 { margin: 0; gap: 6px; }
.pg-article .pg-vcard .pg-checklist.pg-cols-4 li { font-size: 13px; padding: 6px 12px 6px 7px; background: var(--surface-light); box-shadow: none; }
.pg-article .pg-vcard .pg-vcard-note { margin: 8px 0 0 !important; font-size: 13px; font-style: italic; color: var(--slate); }
.pg-vcard-foot {
	margin-top: auto; padding: 14px 16px;
	background: var(--navy); border-radius: var(--radius-md);
}
.pg-vcard-foot .pg-vcard-label { margin-bottom: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-light); }
.pg-vcard-foot.is-limit .pg-vcard-label { color: #fca5a5; }
.pg-article .pg-vcard-foot p { margin: 0 !important; color: #e2e8f0; font-size: 14.5px; }
.pg-article .pg-vcard-foot strong { color: #fff; }
.pg-vs-badge {
	align-self: center; justify-self: center; z-index: 2;
	width: 50px; height: 50px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--navy); color: #fff; border: 4px solid var(--surface-light);
	font-family: var(--font-display); font-size: 15px; font-weight: 700;
	box-shadow: 0 8px 20px rgba(15,23,42,.18);
}
@media (max-width: 760px) {
	.pg-versus { grid-template-columns: 1fr; row-gap: 0; }
	.pg-vs-badge { margin: -14px 0; }
	.pg-vcard { padding: 20px 18px; }
}

/* "When to choose" rows inside versus cards */
.pg-versus.is-when { margin-top: 56px; }
.pg-vlist { list-style: none; margin: 0 0 18px; border-top: 1px solid var(--support); }
.pg-vlist li {
	display: flex; align-items: flex-start; gap: 10px;
	padding: 10px 2px; border-bottom: 1px solid var(--support);
	font-size: 14.5px; line-height: 1.45; color: var(--navy); font-weight: 500;
}
.pg-vlist .pg-tick { margin-top: 0; border-radius: 50%; }
.pg-vcard.is-scanner .pg-vlist .pg-tick { background: rgba(15,23,42,.07); }
.pg-vcard.is-scanner .pg-vlist .pg-tick::after { border-color: var(--navy); }

/* "Can you use both?" — answer badge + two-lane hand-off diagram */
.pg-article .pg-answer { font-size: 17.5px; color: var(--navy); }
.pg-answer-yes {
	display: inline-block; margin-right: 8px; padding: 3px 12px; border-radius: 999px;
	background: #dcfce7; color: #15803d; font-weight: 800; font-size: 15px; vertical-align: 1px;
}
.pg-handoff {
	display: grid; grid-template-columns: minmax(0, 2fr) auto minmax(0, 4fr); gap: 12px;
	align-items: stretch; margin: 16px 0 24px;
}
.pg-lane { border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; }
.pg-lane.is-scanner { background: var(--navy); }
.pg-lane.is-app { background: #fff7ed; border: 1px solid rgba(249,115,22,.35); }
.pg-lane-tag {
	margin-bottom: 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase;
}
.pg-lane.is-scanner .pg-lane-tag { color: var(--orange-light); }
.pg-lane.is-app .pg-lane-tag { color: var(--orange-hover); }
.pg-lane-steps { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 12px; }
.pg-lane-steps li {
	display: flex; flex-direction: column; gap: 8px;
	padding: 12px; border-radius: var(--radius-md);
	font-size: 13.5px; font-weight: 700; line-height: 1.3;
}
.pg-lane.is-scanner .pg-lane-steps li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; }
.pg-lane.is-app .pg-lane-steps li { background: #fff; border: 1px solid rgba(249,115,22,.25); color: var(--navy); }
.pg-lane-steps li span {
	width: 24px; height: 24px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-mono); font-size: 12px; font-weight: 700;
}
.pg-lane.is-scanner .pg-lane-steps li span { background: rgba(255,255,255,.12); color: #fff; }
.pg-lane.is-app .pg-lane-steps li span { background: var(--orange); color: #fff; }
.pg-article .pg-lane p { margin: auto 0 0 !important; font-size: 14px; line-height: 1.5; }
.pg-lane.is-scanner p { color: #cbd5e1; }
.pg-lane.is-app p { color: var(--slate-mid); }
.pg-handoff-arrow {
	align-self: center; display: flex; flex-direction: column; align-items: center; gap: 2px;
	font-size: 22px; font-weight: 800; color: var(--orange);
}
.pg-handoff-arrow span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
@media (max-width: 760px) {
	.pg-handoff { grid-template-columns: 1fr; }
	.pg-handoff-arrow { transform: none; flex-direction: row; gap: 8px; justify-self: center; }
	.pg-handoff-arrow { font-size: 0; }
	.pg-handoff-arrow::after { content: '↓'; font-size: 22px; }
	.pg-handoff-arrow span { font-size: 10px; }
	.pg-lane-steps { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pg-lane-steps li { flex-direction: row; align-items: center; }
}

/* Capture → understand gap (Conversation Capture) */
.pg-gap {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, .8fr) minmax(0, 1fr);
	align-items: center; gap: 10px;
	margin: 22px 0 18px; padding: 16px;
	background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg);
	box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.pg-gap-end {
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
	padding: 14px; border-radius: var(--radius-md);
	background: var(--surface-light); border: 1px solid var(--support);
}
.pg-gap-end.is-goal { background: var(--navy); border-color: var(--navy); }
.pg-gap-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; margin-bottom: 4px; border-radius: 9px; background: #fff; border: 1px solid var(--support);
}
.pg-gap-end.is-goal .pg-gap-icon { background: var(--orange); border-color: var(--orange); }
.pg-gap-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--navy); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pg-gap-end.is-goal .pg-gap-icon svg { stroke: #fff; }
.pg-article .pg-gap-end strong { font-size: 14.5px; line-height: 1.3; color: var(--navy); }
.pg-article .pg-gap-end.is-goal strong { color: #fff; }
.pg-gap-end em { font-style: normal; font-size: 12.5px; line-height: 1.4; color: var(--slate); }
.pg-gap-end.is-goal em { color: var(--slate-light); }
.pg-gap-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pg-gap-line { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, #ef4444 0 6px, transparent 6px 11px); }
.pg-gap-mid b {
	padding: 4px 10px; border-radius: 999px; background: #fef2f2; border: 1px solid #fecaca;
	color: #dc2626; font-size: 11.5px; font-weight: 800; white-space: nowrap;
}
@media (max-width: 560px) {
	.pg-gap { grid-template-columns: 1fr; gap: 0; padding: 12px; }
	.pg-gap-end { flex-direction: row; align-items: center; flex-wrap: wrap; column-gap: 10px; }
	.pg-gap-end .pg-gap-icon { margin-bottom: 0; }
	.pg-gap-end em { flex-basis: 100%; padding-left: 42px; margin-top: -4px; }
	.pg-gap-mid { flex-direction: row; padding: 10px 0; }
	.pg-gap-line { flex: 1; width: auto; }
}

/* Before/after lead-record comparison */
.pg-ba {
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 12px; align-items: stretch; margin: 18px 0 24px;
}
.pg-ba-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg);
	padding: 18px; box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.pg-ba-card.is-after { border-color: rgba(34,197,94,.45); box-shadow: 0 14px 34px rgba(34,197,94,.1); }
.pg-ba-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pg-ba-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.pg-ba-status { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: #f1f5f9; color: var(--slate-mid); }
.is-after .pg-ba-status { background: #dcfce7; color: #15803d; }
.pg-ba-person { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--support); }
.pg-ba-avatar {
	flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #e2e8f0; color: var(--slate-mid); font-weight: 800; font-size: 14px;
}
.is-after .pg-ba-avatar { background: linear-gradient(135deg, var(--orange), var(--orange-hover)); color: #fff; }
.pg-article .pg-ba-person strong { display: block; font-size: 15.5px; color: var(--navy); line-height: 1.3; }
.pg-ba-person em { font-style: normal; font-size: 13px; color: var(--slate); }
.pg-ba-fields { margin: 0; display: flex; flex-direction: column; }
.pg-ba-fields > div {
	display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: baseline;
	padding: 9px 8px; margin: 0 -8px; border-bottom: 1px dashed var(--support); border-radius: 6px;
}
.pg-ba-fields > div:last-child { border-bottom: none; }
.pg-ba-fields dt { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); }
.pg-ba-fields dd { font-size: 14.5px; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.pg-ba-fields .is-missing dt { color: var(--slate-lighter); }
.pg-ba-fields .is-missing dd { font-weight: 500; font-style: italic; color: var(--slate-lighter); }
.pg-ba-fields .is-added { background: #f0fdf4; border-bottom-color: transparent; margin-bottom: 2px; }
.pg-ba-fields .is-added dd::before { content: '+ '; color: #16a34a; font-weight: 800; }
.pg-ba-bridge { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 92px; text-align: center; }
.pg-ba-bridge span { font-size: 11.5px; font-weight: 800; line-height: 1.3; color: #15803d; }
.pg-ba-bridge i {
	font-style: normal; width: 34px; height: 34px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #16a34a; color: #fff; font-weight: 800; box-shadow: 0 6px 16px rgba(22,163,74,.3);
}
@media (max-width: 720px) {
	.pg-ba { grid-template-columns: 1fr; }
	.pg-ba-bridge { flex-direction: row; max-width: none; justify-self: center; }
	.pg-ba-bridge i { transform: rotate(90deg); }
}
@media (max-width: 420px) { .pg-ba-fields > div { grid-template-columns: 1fr; gap: 2px; } }

/* ====================================================
   CLUSTER 3 — follow-up guides
==================================================== */

/* 3-up reason cards */
/* 3-up reason cards → numbered full-width rows (readable line length) */
.pg-reveal-grid.is-three {
	grid-template-columns: 1fr; gap: 0; counter-reset: rrow;
	background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.pg-reveal-grid.is-three .pg-reveal {
	counter-increment: rrow; position: relative;
	display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px;
	padding: 22px 24px; border: none; border-radius: 0; border-top: 1px solid var(--support);
	transition: background .2s;
}
.pg-reveal-grid.is-three .pg-reveal:first-child { border-top: none; }
.pg-reveal-grid.is-three .pg-reveal:hover { background: #fffaf5; }
.pg-reveal-grid.is-three .pg-reveal::before {
	content: counter(rrow, decimal-leading-zero);
	grid-row: 1 / span 10; align-self: start;
	width: 52px; height: 52px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--orange), var(--orange-hover)); color: #fff;
	font-family: var(--font-display); font-size: 18px; font-weight: 700;
	box-shadow: 0 8px 18px rgba(249,115,22,.25);
}
.pg-reveal-grid.is-three .pg-reveal::after {
	content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px;
	border-radius: 0 3px 3px 0; background: var(--orange); opacity: 0; transition: opacity .2s;
}
.pg-reveal-grid.is-three .pg-reveal:hover::after { opacity: 1; }
.pg-article .pg-reveal-grid.is-three .pg-reveal h3 { grid-column: 2; margin: 4px 0 8px; font-size: 1.1rem; line-height: 1.35; }
.pg-reveal-grid.is-three .pg-reveal p { grid-column: 2; font-size: 15.5px; line-height: 1.7; color: var(--slate-mid); margin-bottom: .6em !important; }
.pg-reveal-grid.is-three .pg-reveal p:last-child { margin-bottom: 0 !important; }
@media (max-width: 560px) {
	.pg-reveal-grid.is-three .pg-reveal { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 18px 16px; }
	.pg-reveal-grid.is-three .pg-reveal::before { width: 40px; height: 40px; border-radius: 11px; font-size: 15px; }
	.pg-reveal-grid.is-three .pg-reveal p { font-size: 15px; }
}

.pg-article .pg-sub-h { margin: 22px 0 10px; font-size: 1rem; }

/* Channel cards */
.pg-channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 20px; }
@media (max-width: 760px) { .pg-channel-grid { grid-template-columns: 1fr; } }
.pg-channel-card { background: #fff; border: 1px solid var(--support); border-radius: var(--radius-md); padding: 18px; }
.pg-article .pg-channel-card h4 { margin: 12px 0 6px; }
.pg-channel-card p { margin: 0 !important; font-size: 14.5px; line-height: 1.6; color: var(--slate-mid); }

/* Email anatomy (4 numbered essentials) */
.pg-anatomy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 20px; }
@media (max-width: 860px) { .pg-anatomy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pg-anatomy { grid-template-columns: 1fr; } }
.pg-anatomy > div { background: #fff; border: 1px solid var(--support); border-radius: var(--radius-md); padding: 16px; }
.pg-anatomy span {
	display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: 10px;
	border-radius: 8px; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700;
}
.pg-anatomy strong { display: block; font-size: 15px; margin-bottom: 4px; }
.pg-anatomy p { margin: 0 !important; font-size: 14px; line-height: 1.55; color: var(--slate-mid); }

/* Temperature card extras */
.pg-article .pg-temp-h { margin: 0 0 8px; font-size: 1.02rem; line-height: 1.35; }
.pg-article .pg-temp a.pg-temp-link { display: inline-block; margin-top: 8px; font-size: 13.5px; text-decoration: none; color: var(--tc); }
.pg-temp.is-later { --tc: #7c3aed; --tbg: #f5f3ff; }
.pg-temps.is-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .pg-temps.is-grid-2 { grid-template-columns: 1fr; } }

/* Compact jump tiles (templates index) */
.pg-jump.is-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .pg-jump.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pg-jump.is-compact .pg-jump-top { margin-bottom: 6px; }
.pg-jump.is-compact .pg-jump-num { color: var(--orange-hover); font-size: 1rem; }

/* Email template cards */
.pg-email { margin-top: 26px; scroll-margin-top: 96px; }
.pg-email-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.pg-email-n {
	flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px;
	display: flex; align-items: center; justify-content: center;
	background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700;
}
.pg-email.is-hot .pg-email-n { background: #dc2626; }
.pg-email.is-warm .pg-email-n { background: #d97706; }
.pg-email.is-cold .pg-email-n { background: #2563eb; }
.pg-article .pg-email-head h3 { margin: 2px 0 6px; font-size: 1.15rem; }
.pg-article .pg-email-when { margin: 0 !important; font-size: 14.5px; line-height: 1.55; color: var(--slate-mid); }
.pg-email-when span {
	display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 6px;
	background: #fff7ed; color: var(--orange-hover); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; vertical-align: 1px;
}
.pg-email-window {
	background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.pg-email-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--surface-light); border-bottom: 1px solid var(--support); }
.pg-email-dots { display: flex; gap: 6px; }
.pg-email-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.pg-email-dots i:first-child { background: #fca5a5; }
.pg-email-dots i:nth-child(2) { background: #fcd34d; }
.pg-email-dots i:last-child { background: #86efac; }
.pg-email-copy {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border-radius: 8px; border: 1px solid var(--support); background: #fff;
	font-size: 12.5px; font-weight: 700; color: var(--navy); transition: border-color .2s, background .2s, color .2s;
}
.pg-email-copy::before { content: '\29C9'; font-size: 13px; color: var(--orange-hover); }
.pg-email-copy:hover { border-color: var(--orange); }
.pg-email-copy.is-copied { background: #dcfce7; border-color: #86efac; color: #15803d; }
.pg-email-copy.is-copied::before { content: '\2713'; color: #15803d; }
.pg-email-subject { display: flex; gap: 12px; align-items: baseline; padding: 14px 20px; border-bottom: 1px solid var(--support); }
.pg-email-subject span { flex-shrink: 0; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.pg-article .pg-email-subject strong { font-size: 15px; color: var(--navy); }
.pg-email-body { padding: 18px 20px 20px; }
.pg-article .pg-email-body p { margin: 0 0 .85em !important; font-size: 15px; line-height: 1.65; color: #334155; }
/* Sign-off block: last 3 lines tight, gap above them */
.pg-article .pg-email-body p:nth-last-child(-n+3) { margin-bottom: .1em !important; }
.pg-article .pg-email-body p:nth-last-child(3) { margin-top: 1.1em !important; }
mark.pg-ph { background: #fff7ed; color: var(--orange-hover); font-weight: 700; padding: 0 1px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (max-width: 560px) {
	.pg-email-subject { flex-direction: column; gap: 4px; padding: 12px 16px; }
	.pg-email-body { padding: 14px 16px 16px; }
}

/* Timing windows */
.pg-windows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0 24px; }
@media (max-width: 960px) { .pg-windows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pg-windows { grid-template-columns: 1fr; } }
.pg-window { --wc: var(--orange); background: #fff; border: 1px solid var(--support); border-top: 4px solid var(--wc); border-radius: var(--radius-md); padding: 16px; }
.pg-window.is-now { --wc: #dc2626; }
.pg-window.is-48 { --wc: #d97706; }
.pg-window.is-later { --wc: #2563eb; }
.pg-window-time { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.pg-article .pg-window h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.35; }
.pg-window p { font-size: 14px; line-height: 1.6; color: var(--slate-mid); margin-bottom: .7em !important; }
.pg-window p:last-child { margin-bottom: 0 !important; }

/* Capture / qualify / convert stages */
.pg-stages3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 16px 0 20px; }
@media (max-width: 700px) { .pg-stages3 { grid-template-columns: 1fr; } }
.pg-stages3 > div { position: relative; background: #fff; border: 1px solid var(--support); border-radius: var(--radius-md); padding: 18px; }
.pg-stages3 > div.is-accent { background: var(--navy); border-color: var(--navy); }
.pg-stage3-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: #fff7ed; color: var(--orange-hover); font-weight: 800; }
.is-accent .pg-stage3-n { background: var(--orange); color: #fff; }
.pg-article .pg-stages3 strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.pg-article .pg-stages3 .is-accent strong { color: #fff; }
.pg-stages3 p { margin: 0 !important; font-size: 14.5px; line-height: 1.55; color: var(--slate-mid); }
.pg-stages3 .is-accent p { color: #cbd5e1; }
@media (min-width: 701px) {
	.pg-stages3 > div:not(:last-child)::after {
		content: '\2192'; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); z-index: 1;
		width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff;
		font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
	}
}

/* Metrics grid */
.pg-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 10px 0 20px; }
@media (max-width: 860px) { .pg-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pg-metrics { grid-template-columns: 1fr; } }
.pg-metrics > div { background: #fff; border: 1px solid var(--support); border-radius: var(--radius-md); padding: 16px; }
.pg-metric-ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 8px; border-radius: 9px; background: var(--navy); color: var(--orange-light); font-weight: 800; font-size: 14px; }
.pg-article .pg-metrics strong { display: block; font-size: 15px; margin-bottom: 4px; }
.pg-metrics p { margin: 0 !important; font-size: 14px; line-height: 1.55; color: var(--slate-mid); }

/* Text-heavy lead-temperature cards → full-width rows
   (left: badge + title, right: explanation + link; coloured side bar) */
.pg-temps.is-rows {
	grid-template-columns: 1fr; gap: 0;
	background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.pg-temps.is-rows .pg-temp {
	display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 28px; align-items: start;
	padding: 22px 24px 22px 28px; position: relative;
	border: none; border-top: 1px solid var(--support); border-radius: 0;
	transition: background .2s;
}
.pg-temps.is-rows .pg-temp:first-child { border-top: none; }
.pg-temps.is-rows .pg-temp::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--tc); }
.pg-temps.is-rows .pg-temp:hover { background: var(--tbg); }
.pg-temps.is-rows .pg-temp-badge { grid-column: 1; grid-row: 1; justify-self: start; margin-bottom: 10px; }
.pg-article .pg-temps.is-rows .pg-temp-h { grid-column: 1; grid-row: 2; margin: 0; font-size: 1.05rem; line-height: 1.35; }
.pg-temps.is-rows .pg-temp p { grid-column: 2; grid-row: 1 / span 3; margin: 0 !important; font-size: 15.5px; line-height: 1.7; color: var(--slate-mid); }
.pg-article .pg-temps.is-rows .pg-temp a.pg-temp-link {
	grid-column: 2; grid-row: 4; justify-self: start; margin-top: 12px;
	padding: 6px 12px; border-radius: 8px; background: var(--tbg); font-weight: 700;
}
.pg-article .pg-temps.is-rows .pg-temp a.pg-temp-link:hover { filter: brightness(.96); }
@media (max-width: 680px) {
	.pg-temps.is-rows .pg-temp { grid-template-columns: 1fr; grid-template-rows: none; padding: 18px 16px 18px 22px; }
	.pg-temps.is-rows .pg-temp-badge,
	.pg-article .pg-temps.is-rows .pg-temp-h,
	.pg-temps.is-rows .pg-temp p,
	.pg-article .pg-temps.is-rows .pg-temp a.pg-temp-link { grid-column: 1; grid-row: auto; }
	.pg-article .pg-temps.is-rows .pg-temp-h { margin-bottom: 8px; }
}

/* Timing windows → stacked timeline rows (time pill left, content right) */
.pg-windows {
	grid-template-columns: 1fr !important; gap: 0; position: relative;
	background: #fff; border: 1px solid var(--support); border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.pg-window {
	display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 26px;
	padding: 22px 24px 22px 28px; position: relative;
	border: none; border-top: 1px solid var(--support); border-radius: 0;
}
.pg-window:first-child { border-top: none; }
.pg-window::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--wc); }
.pg-window-time { grid-column: 1; grid-row: 1 / span 2; justify-self: start; align-self: start; margin: 2px 0 0; background: var(--wc); }
.pg-article .pg-window h3 { grid-column: 2; margin: 0 0 8px; font-size: 1.08rem; }
.pg-window p { grid-column: 2; font-size: 15.5px; line-height: 1.7; }
@media (max-width: 600px) {
	.pg-window { grid-template-columns: 1fr; grid-template-rows: none; padding: 18px 16px 18px 22px; }
	.pg-window-time { grid-column: 1; grid-row: auto; margin-bottom: 10px; }
	.pg-article .pg-window h3, .pg-window p { grid-column: 1; }
}
