/*
 * Pete Panel case study (/petepanel), page-scoped styles.
 *
 * Same structure as assets/roaslink.css (the ROAS Link landing): navy hero
 * band, warm paper ground, one accent colour on light ground. The palette and
 * type are Pete Panel's own, taken from deploypete.com: blue #3d71b8 and
 * green #6dc937 from the wordmark, Space Grotesk for headings and Inter for
 * body, both bundled under assets/petepanel/fonts (OFL).
 */

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("petepanel/fonts/space-grotesk-400.woff2") format("woff2");
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("petepanel/fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("petepanel/fonts/space-grotesk-700.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("petepanel/fonts/inter-400.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("petepanel/fonts/inter-500.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("petepanel/fonts/inter-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:where(.petepanel-page, body:has(.petepanel-page) .ozone-header) {
	--pp-blue:        #3d71b8;
	--pp-blue-deep:   #2f5b96;
	--pp-navy:        #0b1c3d;
	--pp-navy-deep:   #071429;
	--pp-blue-line:   #2f4a9a;
	--pp-blue-tint:   #eef3fb;
	--pp-blue-tint-2: #dbe6f6;
	--pp-sky:         #8fb0e0;
	--pp-sky-2:       #a5c0e8;
	--pp-ice:         #dbe6f6;
	--pp-ice-2:       #b9cdee;
	--pp-coral:       #ff6b00;
	--pp-green:       #4f9e24;
	--pp-green-bright: #6dc937;
	--pp-ink:         #1f2430;
	--pp-ink-2:       #4b5260;
	--pp-muted:       #7a8290;
	--pp-line:        #e5e7eb;
	--pp-ground:      #fafafa;
	--pp-surface:     #ffffff;
	--pp-font-heading: "Space Grotesk", "Trebuchet MS", system-ui, sans-serif;
	--pp-font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--pp-font-mono:    ui-monospace, SFMono-Regular, Menlo, monospace;
	--pp-wrap: none;
	--pp-gutter: 0px;
}
body:has(.petepanel-page) .ozone-header { background-color: var(--pp-navy); }

/* ---------- Page ground and resets ---------- */
.petepanel-page {
	background-color: var(--pp-ground);
	color: var(--pp-ink);
	font-family: var(--pp-font-body);
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: normal;
	font-variant-numeric: proportional-nums;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.petepanel-page .wp-block-group.alignfull { max-width: none; }
.petepanel-page :where(.is-layout-flow, .is-layout-constrained) > *,
.petepanel-page.is-layout-flow > * { margin-block-start: 0; margin-block-end: 0; }
.petepanel-page :where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; }
.petepanel-page p { letter-spacing: normal; }
.petepanel-page a { color: var(--pp-blue); text-decoration: none; }
.petepanel-page a:hover { color: var(--pp-blue-deep); text-decoration: underline; }

/* ---------- Anchor motion ---------- */
/* The hero's "Launch now" anchors to #pricing. This sheet
   is enqueued only on /petepanel/, so the html rule reaches no other page.
   Off for readers who asked for reduced motion. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
#pricing { scroll-margin-top: 24px; }

/* ---------- Layout primitives ---------- */
.petepanel-section { padding: 88px var(--pp-gutter); border-bottom: 1px solid var(--pp-line); box-sizing: border-box; }
.pp-wrap { width: 80%; max-width: var(--pp-wrap); margin: 0 auto; }
.pp-wrap--split { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 64px; align-items: start; }
.pp-wrap--split-narrow { grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); }

.petepanel-page p.petepanel-eyebrow,
.petepanel-eyebrow {
	font-family: var(--pp-font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--pp-muted);
	margin: 0 0 16px;
}
/* Section eyebrows: the five labels above the Space Grotesk headlines, as on /secondorder:
   larger, ink, with a blue rule on the same baseline. */
.petepanel-page p.petepanel-eyebrow--section,
.petepanel-eyebrow--section {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--pp-font-body);
	font-size: 19px;
	font-weight: 500;
	letter-spacing: .08em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--pp-ink);
	margin: 0 0 12px;
	white-space: nowrap;
}
.petepanel-eyebrow--section::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--pp-blue);
	flex: none;
}
.petepanel-page .petepanel-problem p.petepanel-eyebrow--section { margin-bottom: 12px; }
@media (max-width: 640px) {
	.petepanel-page p.petepanel-eyebrow--section,
	.petepanel-eyebrow--section { font-size: 15px; letter-spacing: .1em; white-space: normal; }
	.petepanel-eyebrow--section::before { width: 22px; }
}

body .petepanel-page h2.wp-block-heading,
body .petepanel-page h2 {
	font-family: var(--pp-font-heading);
	font-weight: 700;
	font-size: 34px;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--pp-ink);
	max-width: 18.5ch;
	margin: 0 0 20px;
	text-wrap: balance;
}
body .petepanel-page h3.wp-block-heading,
body .petepanel-page h3 {
	font-family: var(--pp-font-heading);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.25;
	color: var(--pp-ink);
	margin: 0 0 10px;
}
.petepanel-page p.petepanel-lead { font-size: 16px; line-height: 1.65; color: var(--pp-ink-2); max-width: 66ch; margin: 0 0 40px; text-wrap: pretty; }
.petepanel-page p.petepanel-body { font-size: 14px; line-height: 1.6; color: var(--pp-ink-2); margin: 0; text-wrap: pretty; }
.petepanel-page p.petepanel-fine { font-size: 13px; line-height: 1.6; color: var(--pp-muted); margin: 0; }

/* Buttons: 46px, 8px radius. Primary is white on navy, blue on light. */
.petepanel-page .wp-block-buttons { gap: 12px; }
.petepanel-page .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	box-sizing: border-box;
	font-family: var(--pp-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	color: #fff;
	background: var(--pp-blue);
	border: 1px solid var(--pp-blue);
	border-radius: 8px;
	padding: 0 22px;
	box-shadow: none;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.petepanel-page .wp-block-button__link:hover { background: var(--pp-blue-deep); border-color: var(--pp-blue-deep); color: #fff; text-decoration: none; }
.petepanel-page .is-style-outline .wp-block-button__link { color: var(--pp-blue); background: transparent; border-color: var(--pp-line); font-weight: 500; }
.petepanel-page .is-style-outline .wp-block-button__link:hover { background: var(--pp-blue-tint); border-color: var(--pp-blue-tint-2); color: var(--pp-blue); }
.petepanel-page .petepanel--on-navy .wp-block-button__link { color: var(--pp-navy); background: #fff; border-color: #fff; }
.petepanel-page .petepanel--on-navy .wp-block-button__link:hover { background: var(--pp-blue-tint-2); border-color: var(--pp-blue-tint-2); color: var(--pp-navy); }
.petepanel-page .petepanel--on-navy .is-style-outline .wp-block-button__link { color: #fff; background: transparent; border-color: var(--pp-blue-line); font-weight: 500; }
.petepanel-page .petepanel--on-navy .is-style-outline .wp-block-button__link:hover { background: var(--pp-blue); border-color: var(--pp-blue); color: #fff; }
.petepanel-page form { display: contents; }

/* ---------- Hero ---------- */
.petepanel-hero { background: var(--pp-navy); color: #fff; padding: 72px var(--pp-gutter) 80px; overflow: hidden; border-bottom: 0; }
.petepanel-hero .pp-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.petepanel-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.petepanel-hero__logo { height: 44px; width: auto; display: block; }
.petepanel-page p.petepanel-hero__case { font-size: 13px; color: var(--pp-ice-2); margin: 0; }
.petepanel-page .petepanel-hero__case a { color: var(--pp-sky-2); }
body .petepanel-page h1.petepanel-hero__title {
	font-family: var(--pp-font-heading);
	font-weight: 700;
	font-size: 56px;
	line-height: 1.02;
	letter-spacing: -.03em;
	color: #fff;
	margin: 0;
	text-wrap: balance;
}
.petepanel-page p.petepanel-hero__lead { font-size: 17px; line-height: 1.6; color: var(--pp-ice); max-width: 660px; margin: 0; text-wrap: pretty; }
.petepanel-page p.petepanel-hero__lead strong { color: #fff; font-weight: 700; }
.petepanel-hero .wp-block-buttons { margin-top: 4px; }
.petepanel-page p.petepanel-hero__note { font-size: 13px; color: var(--pp-sky-2); max-width: 520px; margin: 4px 0 0; }
.petepanel-hero__shot {
	min-width: 0;
	border-radius: 12px;
	border: 1px solid var(--pp-blue-line);
	background: var(--pp-navy-deep);
	padding: 10px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.petepanel-hero__shot .wp-block-image { margin: 0; }
.petepanel-hero__shot img { display: block; width: 100%; height: auto; border-radius: 6px; }

/* ---------- The challenge ---------- */
.petepanel-page .petepanel-problem p.petepanel-eyebrow { margin-bottom: 24px; }
.petepanel-page .petepanel-problem p.petepanel-eyebrow.petepanel-eyebrow--section { margin-bottom: 12px; }
.petepanel-page p.petepanel-problem__figure {
	font-family: var(--pp-font-body);
	font-weight: 700;
	font-size: 72px;
	line-height: 1;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
	color: var(--pp-ink);
	margin: 0;
}
.petepanel-page .petepanel-problem__bench p.petepanel-body { margin-top: 16px; }
.petepanel-page .petepanel-problem__copy p.petepanel-lead { font-size: 16px; margin: 0 0 16px; }
.petepanel-page .petepanel-problem__copy p.petepanel-lead:last-child { margin-bottom: 0; }

/* ---------- Results ---------- */
body .petepanel-page h2.petepanel-h2--two { max-width: none; text-wrap: initial; }
@media (min-width: 901px) { .petepanel-h2__line { display: block; } }
.petepanel-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.petepanel-stat { background: var(--pp-surface); border: 1px solid var(--pp-line); border-radius: 8px; padding: 18px 20px; min-width: 0; box-sizing: border-box; }
.petepanel-page .petepanel-stat p.petepanel-eyebrow { margin: 0; line-height: 1.4; }
.petepanel-page p.petepanel-stat__value {
	font-family: var(--pp-font-body);
	font-size: 45px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.01em;
	font-variant-numeric: tabular-nums;
	color: var(--pp-ink);
	margin: 4px 0 0;
}
.petepanel-page p.petepanel-stat__value.petepanel-stat__value--hero { color: var(--pp-green); font-size: 68px; }

/* ---------- What we built ---------- */
.petepanel-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--pp-line); border: 1px solid var(--pp-line); border-radius: 8px; overflow: hidden; }
.petepanel-feature { background: var(--pp-surface); padding: 28px; }
.petepanel-feature__icon { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 10px; background: var(--pp-blue-tint); color: var(--pp-blue); margin: 0 auto 18px; }
.petepanel-feature__icon svg { width: 33px; height: 33px; display: block; }

/* ---------- Proof band ---------- */
.petepanel-case { padding: 56px 0; background: var(--pp-surface); }
.petepanel-case .pp-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; }
body .petepanel-page .petepanel-case h2 { font-size: 22px; letter-spacing: -.02em; max-width: none; margin: 0 0 8px; }
.petepanel-page .petepanel-case p.petepanel-body { max-width: 56ch; }
.petepanel-case .wp-block-buttons { flex: 0 0 auto; }

/* ---------- Seats (same layout as /secondorder) ---------- */
.petepanel-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: stretch; }
.petepanel-plan { min-width: 0; background: var(--pp-surface); border: 1px solid var(--pp-line); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; }
.petepanel-page .petepanel-plan p.petepanel-eyebrow, .petepanel-page .petepanel-keep p.petepanel-eyebrow { margin: 0; }
.petepanel-page p.petepanel-figure { font-family: var(--pp-font-heading); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--pp-ink); margin: 12px 0 0; }
.petepanel-page .petepanel-plan p.petepanel-fine, .petepanel-page .petepanel-keep p.petepanel-fine { margin-top: 8px; }
.petepanel-plan__body { display: flex; flex-direction: column; gap: 14px; }
.petepanel-plan__cta { margin-top: auto; }
.petepanel-plan__cta .wp-block-buttons, .petepanel-plan__cta .wp-block-button, .petepanel-plan__cta .wp-block-button__link { width: 100%; }
.petepanel-keep { margin-top: 24px; background: var(--pp-surface); border: 1px solid var(--pp-line); border-radius: 8px; padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; align-items: start; }
.petepanel-page .petepanel-keep p.petepanel-body { max-width: 76ch; }
.petepanel-fit__ask { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.petepanel-page .petepanel-fit__ask p.petepanel-body { flex: 1 1 320px; min-width: 0; }
.petepanel-page p.petepanel-fit__terms { font-size: 13px; line-height: 1.6; color: var(--pp-muted); max-width: none; margin: 24px 0 0; }

/* ---------- Getting started ---------- */
body .petepanel-page .petepanel-start h2 { margin-bottom: 16px; max-width: 28ch; }
.petepanel-weeks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1px; background: var(--pp-line); border: 1px solid var(--pp-line); border-radius: 6px; overflow: hidden; }
.petepanel-week { background: var(--pp-surface); padding: 24px; }
.petepanel-page .petepanel-week p.petepanel-eyebrow { margin-bottom: 12px; }

/* ---------- Questions ---------- */
.petepanel-faq__list { max-width: 760px; margin-top: 20px; border-top: 1px solid var(--pp-line); }
.petepanel-page .wp-block-details { border-bottom: 1px solid var(--pp-line); margin: 0; padding: 0; background: transparent; }
.petepanel-page .wp-block-details > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	font-family: var(--pp-font-body);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--pp-ink);
}
.petepanel-page .wp-block-details > summary::-webkit-details-marker { display: none; }
.petepanel-page .wp-block-details > summary::after { content: "+"; flex: 0 0 auto; font-size: 20px; line-height: 1; color: var(--pp-blue); transition: transform .16s; }
.petepanel-page .wp-block-details[open] > summary::after { transform: rotate(45deg); }
.petepanel-page .wp-block-details > p { margin: 0 0 22px; font-size: 15px; line-height: 1.68; color: var(--pp-ink-2); max-width: 72ch; text-wrap: pretty; }

/* ---------- CTA ---------- */
.petepanel-cta { padding: 72px var(--pp-gutter); background: var(--pp-navy); color: #fff; border-bottom: 0; }
/* Same block as /revive: a centred column, no mark, the headline on one line
   at desktop. Space Grotesk 34px needs about 845px for that line, so the column is
   900px here against Revive's 760px; the lead and terms keep Revive's 760px
   measure inside it. */
.petepanel-cta .pp-wrap { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pp-wrap--narrow { max-width: 900px; }
body .petepanel-page .petepanel-cta h2 { color: #fff; max-width: none; margin: 0; text-wrap: pretty; }
.petepanel-page p.petepanel-cta__lead { font-size: 16px; line-height: 1.6; color: var(--pp-ice); max-width: 760px; margin: 0 0 12px; text-wrap: pretty; }
.petepanel-cta .wp-block-buttons { justify-content: center; }
.petepanel-page p.petepanel-cta__terms { font-size: 13px; color: var(--pp-sky-2); max-width: 760px; margin: 4px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.pp-wrap--split, .pp-wrap--split-narrow { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.petepanel-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.petepanel-hero .pp-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	body .petepanel-page h1.petepanel-hero__title { font-size: 42px; }
	.petepanel-page p.petepanel-problem__figure { font-size: 56px; }
}
@media (max-width: 640px) {
	.petepanel-section { padding-top: 56px; padding-bottom: 56px; }
	.petepanel-hero { padding-top: 48px; }
	body .petepanel-page h1.petepanel-hero__title { font-size: 36px; }
	body .petepanel-page h2.wp-block-heading, body .petepanel-page h2 { font-size: 28px; }
	.petepanel-page .wp-block-button { width: 100%; }
	.petepanel-page .wp-block-button__link { width: 100%; }
	.petepanel-features { grid-template-columns: minmax(0, 1fr); }
	.petepanel-page p.petepanel-stat__value { font-size: 36px; }
	.petepanel-page p.petepanel-stat__value.petepanel-stat__value--hero { font-size: 54px; }
}

/* ---------- Hero wordmark chip ---------- */
/* The Pete Panel logo is a two-colour wordmark, so on the navy band it sits on
   a white chip instead of being recoloured. */
.petepanel-hero__chip {
	display: inline-flex;
	align-items: center;
	background: var(--pp-surface);
	border-radius: 10px;
	padding: 10px 16px;
	box-shadow: 0 2px 10px rgba(11, 28, 61, .25);
}
.petepanel-hero__chip img { display: block; width: 168px; height: auto; }
.petepanel-page p.petepanel-stat__value--green { color: var(--pp-green); }
