/**
 * /partners/earn/ — campaign page on top of landing-partners tokens.
 */

body:has(.o30pe) .page-header,
body.page:has(.o30pe) .page-header,
body.page:has(.o30pe) .page-header .entry-title {
	display: none !important;
}

.o30pe .pe-hero {
	padding-top: 28px;
	padding-bottom: 48px;
}

.o30pe .pe-hero__copy {
	max-width: 760px;
	margin: 0 auto 36px;
	text-align: center;
}

.o30pe .pe-hero__title {
	font-weight: 800;
	font-size: 48px;
	letter-spacing: -.03em;
	line-height: 1.08;
	margin-bottom: 18px;
}

.o30pe .pe-hero__title .pt-earn-amt {
	display: inline;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.o30pe .pe-hero__lead {
	font-size: 17px;
	line-height: 1.55;
	color: #4a463f;
	max-width: 640px;
	margin: 0 auto 22px;
}

.o30pe .pe-hero__actions {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}

.o30pe .pe-hero__under {
	font-size: 15px;
	font-weight: 700;
	color: var(--pt-ink);
	margin-bottom: 10px;
}

.o30pe .pe-hero .pt-hero__trust {
	font-size: 14px;
}

/* FIND → REDESIGN → SEND → EARN */
.o30pe .pe-loop {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 10px;
	align-items: stretch;
}

.o30pe .pe-loop__card {
	background: #fff;
	border: 1px solid var(--pt-line);
	border-radius: 18px;
	padding: 14px 12px 16px;
	box-shadow: 0 18px 36px -28px rgba(22, 21, 19, .35);
	min-width: 0;
}

.o30pe .pe-loop__card--earn {
	background: #161513;
	border-color: #161513;
	color: #fff;
}

.o30pe .pe-loop__label {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--pt-muted);
	margin-bottom: 12px;
}

.o30pe .pe-loop__card--earn .pe-loop__label {
	color: #c9c5c5;
}

.o30pe .pe-loop__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 800;
	color: var(--pt-ink);
}

.o30pe .pe-site {
	border: 1px solid var(--pt-line);
	border-radius: 12px;
	overflow: hidden;
	background: #f4f1ea;
}

.o30pe .pe-site__chrome {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 8px;
	background: #fff;
	border-bottom: 1px solid var(--pt-line);
}

.o30pe .pe-site__chrome i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #e7e2d7;
}

.o30pe .pe-site__chrome span {
	flex: 1;
	font-size: 11px;
	font-weight: 700;
	color: var(--pt-muted);
	background: var(--pt-paper);
	border-radius: 99px;
	padding: 3px 8px;
}

.o30pe .pe-site__old {
	padding: 14px 12px 16px;
	min-height: 148px;
	background:
		repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(22, 21, 19, .04) 19px, rgba(22, 21, 19, .04) 20px),
		#e8e0cf;
	font-family: Georgia, 'Times New Roman', serif;
}

.o30pe .pe-site__old b {
	display: block;
	font-size: 13px;
	letter-spacing: .08em;
	margin-bottom: 8px;
}

.o30pe .pe-site__old em {
	display: block;
	font-style: italic;
	font-size: 15px;
	margin-bottom: 10px;
}

.o30pe .pe-site__old span {
	display: block;
	height: 7px;
	width: 78%;
	background: #c8bda8;
	margin-bottom: 6px;
}

.o30pe .pe-site__old u {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	color: #1a3a8a;
}

.o30pe .pe-dirs {
	position: relative;
	height: 168px;
}

.o30pe .pe-thumb {
	position: absolute;
	width: 58%;
	aspect-ratio: 4 / 5;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--pt-line);
	padding: 8px;
	box-shadow: 0 14px 28px -18px rgba(22, 21, 19, .45);
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.o30pe .pe-thumb em {
	display: block;
	height: 42%;
	border-radius: 7px;
	background: var(--pt-ink);
}

.o30pe .pe-thumb i {
	display: block;
	height: 6px;
	border-radius: 4px;
	background: #e7e2d7;
}

.o30pe .pe-thumb--a { left: 0; top: 18px; z-index: 1; transform: rotate(-6deg); }
.o30pe .pe-thumb--b { left: 21%; top: 0; z-index: 3; }
.o30pe .pe-thumb--c { right: 0; top: 14px; z-index: 2; transform: rotate(7deg); background: #161513; border-color: #161513; }
.o30pe .pe-thumb--c em { background: var(--pt-accent); }
.o30pe .pe-thumb--c i { background: #3a352e; }
.o30pe .pe-thumb.is-static { position: relative; width: 100%; transform: none; left: auto; right: auto; top: auto; }

.o30pe .pe-share,
.o30pe .pe-earn {
	border-radius: 12px;
	padding: 14px 12px;
	min-height: 148px;
}

.o30pe .pe-share {
	background: var(--pt-paper);
	border: 1px solid var(--pt-line);
}

.o30pe .pe-share__url {
	font-size: 12px;
	font-weight: 700;
	background: #fff;
	border: 1px solid var(--pt-line);
	border-radius: 9px;
	padding: 9px 10px;
	margin-bottom: 10px;
	word-break: break-all;
}

.o30pe .pe-share__btn,
.o30pe .pe-mini em,
.o30pe .pe-preview-ui__btns em {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--pt-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	border-radius: 9px;
	padding: 9px 12px;
	font-style: normal;
}

.o30pe .pe-share p,
.o30pe .pe-earn p {
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--pt-muted);
}

.o30pe .pe-earn {
	background: transparent;
	padding: 4px 0 0;
}

.o30pe .pe-earn__row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 14px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.o30pe .pe-earn__row span { color: #c9c5c5; }
.o30pe .pe-earn__row b { color: var(--pt-accent); font-size: 18px; letter-spacing: -.02em; }
.o30pe .pe-loop__card--earn .pe-earn p { color: #9c968a; }

.o30pe .pe-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.o30pe .pe-step { padding: 22px; }
.o30pe .pe-step__num {
	font-family: 'Inter', monospace;
	font-size: 13px;
	font-weight: 800;
	color: var(--pt-soft);
	margin-bottom: 10px;
}
.o30pe .pe-step__kicker {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--pt-muted);
	margin-bottom: 8px;
}
.o30pe .pe-step h3 {
	font-size: 20px;
	letter-spacing: -.02em;
	margin-bottom: 10px;
}
.o30pe .pe-step p {
	font-size: 15px;
	line-height: 1.5;
	color: var(--pt-muted);
}

.o30pe .pe-mini {
	margin-top: 16px;
	border: 1px solid var(--pt-line);
	border-radius: 12px;
	padding: 12px;
	background: var(--pt-paper);
}
.o30pe .pe-mini--map span {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: #fff;
	border: 1px solid var(--pt-line);
	border-radius: 99px;
	padding: 3px 8px;
	margin-bottom: 8px;
}
.o30pe .pe-mini b { display: block; font-size: 14px; }
.o30pe .pe-mini--map em { display: block; font-style: normal; font-size: 13px; color: var(--pt-muted); margin-top: 4px; }
.o30pe .pe-mini--form span {
	display: block;
	background: #fff;
	border: 1px solid var(--pt-line);
	border-radius: 9px;
	padding: 10px;
	font-size: 13px;
	color: var(--pt-soft);
	margin-bottom: 8px;
}
.o30pe .pe-mini--send { display: flex; flex-wrap: wrap; gap: 8px; }
.o30pe .pe-mini em.is-ghost,
.o30pe .pe-preview-ui__btns em.is-ghost {
	background: #fff;
	color: var(--pt-ink);
	border: 1.5px solid #d8d3c9;
}

.o30pe .pe-preview-ui { padding: 0; overflow: hidden; }
.o30pe .pe-preview-ui__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--pt-line);
	font-size: 13px;
	font-weight: 700;
	color: var(--pt-muted);
}
.o30pe .pe-preview-ui__dots {
	width: 34px;
	height: 8px;
	border-radius: 99px;
	background: linear-gradient(90deg, #e7e2d7 8px, transparent 8px, transparent 13px, #e7e2d7 13px, #e7e2d7 21px, transparent 21px, transparent 26px, #e7e2d7 26px);
}
.o30pe .pe-preview-ui__meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: 16px 20px 0;
}
.o30pe .pe-preview-ui__meta span {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--pt-muted);
}
.o30pe .pe-preview-ui__meta b { font-size: 16px; }
.o30pe .pe-preview-ui__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 20px;
	padding: 18px 20px 24px;
}
.o30pe .pe-preview-ui__dirs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}
.o30pe .pe-dir span {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}
.o30pe .pe-preview-ui__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.o30pe .pe-preview-note {
	text-align: center;
	max-width: 520px;
	margin: 22px auto 0;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.25;
}

.o30pe .pe-why {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.o30pe .pe-why article { padding: 22px; }
.o30pe .pe-why h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 10px; }
.o30pe .pe-why p { font-size: 15px; line-height: 1.5; color: var(--pt-muted); }

.o30pe .pt-head .pe-comm__sum {
	max-width: 640px;
	margin: 16px auto 0;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.3;
	color: var(--pt-ink);
}

.o30pe .pe-comms {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.o30pe .pe-comm { padding: 24px; }
.o30pe .pe-comm__label {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--pt-muted);
	margin-bottom: 10px;
}
.o30pe .pe-comm b {
	display: block;
	font-size: 36px;
	letter-spacing: -.03em;
	margin-bottom: 10px;
}
.o30pe .pe-comm p,
.o30pe .pe-comm__example {
	font-size: 15px;
	line-height: 1.5;
	color: var(--pt-muted);
}
.o30pe .pe-comm__example {
	text-align: center;
	max-width: 640px;
	margin: 22px auto 10px;
	font-weight: 700;
	color: var(--pt-ink);
}

.o30pe .pe-path {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.o30pe .pe-path__col {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--pt-line);
	border-radius: 18px;
	overflow: hidden;
}
.o30pe .pe-path__col li {
	padding: 18px 20px;
	border-bottom: 1px solid var(--pt-line);
}
.o30pe .pe-path__col li:last-child { border-bottom: 0; }
.o30pe .pe-path__col span {
	display: block;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--pt-muted);
	margin-bottom: 4px;
}
.o30pe .pe-path__col b { font-size: 18px; letter-spacing: -.02em; }
.o30pe .pe-path__col--earn { background: #161513; border-color: #161513; color: #fff; }
.o30pe .pe-path__col--earn span { color: #9c968a; }
.o30pe .pe-path__col--earn li { border-bottom-color: rgba(255, 255, 255, .1); }

.o30pe .pe-who {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.o30pe .pe-who span {
	background: #fff;
	border: 1px solid var(--pt-line);
	border-radius: 999px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 700;
}
.o30pe .pe-who__reseller {
	text-align: center;
	margin-top: 28px;
	font-size: 16px;
	font-weight: 700;
}
.o30pe .pe-who__reseller a { color: inherit; }

.o30pe .pe-dash,
.o30px .pe-dash { padding: 22px; }
.o30pe .pe-dash__top,
.o30px .pe-dash__top {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	margin-bottom: 18px;
}
.o30pe .pe-dash__top strong,
.o30px .pe-dash__top strong { display: block; font-size: 20px; }
.o30pe .pe-dash__top span,
.o30px .pe-dash__top span { display: block; font-size: 14px; color: var(--pt-muted); margin-top: 4px; }
.o30pe .pe-dash__top em,
.o30px .pe-dash__top em {
	font-style: normal;
	background: var(--pt-accent);
	color: var(--pt-ink);
	font-size: 14px;
	font-weight: 800;
	border-radius: 10px;
	padding: 11px 16px;
	white-space: nowrap;
}
.o30pe .pe-dash__metrics,
.o30px .pe-dash__metrics {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 16px;
}
.o30pe .pe-dash__metrics div,
.o30px .pe-dash__metrics div {
	background: var(--pt-paper);
	border: 1px solid var(--pt-line);
	border-radius: 12px;
	padding: 12px;
}
.o30pe .pe-dash__metrics dt,
.o30px .pe-dash__metrics dt { font-size: 13px; font-weight: 700; color: var(--pt-muted); }
.o30pe .pe-dash__metrics dd,
.o30px .pe-dash__metrics dd { margin: 4px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.o30pe .pe-dash__rows > div,
.o30px .pe-dash__rows > div {
	display: grid;
	grid-template-columns: 1.1fr .9fr 1.2fr;
	gap: 10px;
	padding: 14px 4px;
	border-top: 1px solid var(--pt-line);
	font-size: 14px;
}
.o30pe .pe-dash__rows > div.is-lead,
.o30px .pe-dash__rows > div.is-lead {
	background: linear-gradient(transparent, transparent), var(--pt-paper);
	border-radius: 10px;
	padding: 14px 10px;
	border-top: 1px solid var(--pt-line);
	box-shadow: inset 3px 0 0 var(--pt-accent);
}
.o30pe .pe-dash__rows em,
.o30px .pe-dash__rows em { font-style: normal; color: var(--pt-muted); }
.o30pe .pe-dash__plans,
.o30px .pe-dash__plans {
	max-width: 720px;
	margin: 18px auto 0;
	text-align: center;
	font-size: 15px;
	line-height: 1.5;
	color: var(--pt-muted);
}

.o30pe .pe-proof {
	padding: 22px 22px 26px;
	text-align: center;
}
.o30pe .pe-proof__meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	text-align: left;
	margin-bottom: 18px;
}
.o30pe .pe-proof__meta span {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--pt-muted);
}
.o30pe .pe-proof__meta b { font-size: 16px; }
.o30pe .pe-proof__unit {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--pt-muted);
	text-align: left;
}
.o30pe .pe-proof__dirs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
.o30pe .pe-proof__dirs figure { margin: 0; }
.o30pe .pe-proof__dirs img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: top;
	border-radius: 14px;
	background: #f4f1ea;
	border: 1px solid var(--pt-line);
}
.o30pe .pe-proof__dirs figcaption {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 700;
}
.o30pe .pe-proof .pt-cta { display: inline-flex; }

.o30pe .pe-trust {
	max-width: 720px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.o30pe .pe-trust li {
	position: relative;
	padding: 14px 0 14px 28px;
	border-bottom: 1px solid var(--pt-line);
	font-size: 16px;
	line-height: 1.5;
	color: var(--pt-muted);
}
.o30pe .pe-trust li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 22px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--pt-accent);
	border: 1px solid var(--pt-ink);
}
.o30pe .pe-final .pe-final__earn {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--pt-accent);
	margin: 8px 0 22px;
}
.o30pe .pe-preview__lead {
	font-size: 18px;
	font-weight: 800;
	margin-bottom: 14px;
}

@media (max-width: 1100px) {
	.o30pe .pe-hero__title { font-size: 40px; }
	.o30pe .pe-steps,
	.o30pe .pe-why,
	.o30pe .pe-comms { grid-template-columns: 1fr 1fr; }
	.o30pe .pe-loop {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin: 0 auto;
	}
	.o30pe .pe-loop__arrow { transform: rotate(90deg); height: 22px; }
	.o30pe .pe-preview-ui__grid,
	.o30pe .pe-path,
	.o30pe .pe-proof__meta,
	.o30pe .pe-proof__dirs,
	.o30pe .pe-dash__metrics,
	.o30px .pe-dash__metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	.o30pe .pe-hero__title { font-size: 32px; }
	.o30pe .pt-eyebrow { font-size: 14px; }
	.o30pe .pe-hero__lead,
	.o30pe .pe-step p,
	.o30pe .pe-why p,
	.o30pe .pe-comm p,
	.o30pe .pe-trust li { font-size: 15px; }
	.o30pe .pe-steps,
	.o30pe .pe-why,
	.o30pe .pe-comms,
	.o30pe .pe-preview-ui__grid,
	.o30pe .pe-preview-ui__meta,
	.o30pe .pe-preview-ui__dirs,
	.o30pe .pe-path,
	.o30pe .pe-proof__meta,
	.o30pe .pe-proof__dirs,
	.o30pe .pe-dash__metrics,
	.o30px .pe-dash__metrics,
	.o30pe .pe-dash__rows > div,
	.o30px .pe-dash__rows > div { grid-template-columns: 1fr; }
	.o30pe .pe-comm b { font-size: 30px; }
	.o30pe .pt-head .pe-comm__sum { font-size: 19px; }
	.o30pe .pe-dash__top,
	.o30px .pe-dash__top { flex-direction: column; align-items: flex-start; }
	.o30pe .pe-preview-note { font-size: 18px; }
	.o30pe .pe-loop__label,
	.o30pe .pe-step__num,
	.o30pe .pe-step__kicker,
	.o30pe .pe-comm__label,
	.o30pe .pe-site__chrome span,
	.o30pe .pe-site__old b,
	.o30pe .pe-site__old em,
	.o30pe .pe-site__old u,
	.o30pe .pe-share__url,
	.o30pe .pe-share__btn,
	.o30pe .pe-share p,
	.o30pe .pe-earn p,
	.o30pe .pe-mini span,
	.o30pe .pe-mini em,
	.o30pe .pe-dash__metrics dt,
	.o30px .pe-dash__metrics dt { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.o30pe .pe-thumb--a,
	.o30pe .pe-thumb--c { transform: none; }
}

/* ---------- Proof block: NY Roofing demo (shared public dataset) ---------- */

.o30pe .pe-proof__field {
	display: block;
	font-style: normal;
	font-size: 13px;
	font-weight: 600;
	color: var(--pt-soft);
}

.o30pe .pe-proof__dirs figure a {
	display: block;
	border-radius: 14px;
	outline-offset: 3px;
}

.o30pe .pe-proof__n {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	color: var(--pt-soft);
	margin-right: 2px;
}

.o30pe .pe-proof__note {
	margin: 14px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--pt-soft);
}

@media (max-width: 720px) {
	.o30pe .pe-proof__dirs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.o30pe .pe-proof__dirs figcaption { font-size: 12.5px; line-height: 1.3; }
	.o30pe .pe-proof .pt-cta { width: 100%; justify-content: center; }
	.o30pe .pe-proof__note { font-size: 14px; }
}
