/* plugpress.io v14 (2026-11-20) — the redesign: flat header with the mega
   menu, the homepage, the product pages and the footer.

   Layout after spacefast.com in a light version, approved as a mock on
   2026-11-19. Rules from Fahim that shaped it: a flat header (no rounded
   pill), no product colours on the page, no borders around numbers, big
   real screenshots or a clean placeholder, one icon shape everywhere.

   Tokens only (tokens.css): no raw hex here, weights only via --fw-*.
   Loads after sections.css and before blog.css. Class prefix: .pp- for the
   page parts, .hdr / .mega for the header. */

/* ---------- frame ---------- */
.pp-in {
	max-width: var(--content-max);
	margin-inline: auto;
	padding-inline: clamp(20px, 4.5vw, 64px);
}
/* the rounded panels sit 16px from the window edge, up to --frame-max */
.pp-hero,
.pp-panel {
	margin-inline: max(16px, calc((100% - var(--frame-max)) / 2));
	border-radius: 32px;
}
.pp-panel {
	background: var(--surface-alt);
	padding-block: clamp(56px, 7vw, 104px);
}
.pp-panel + .pp-panel { margin-top: 16px; }

/* ---------- shared bits ---------- */
.pp-h2 {
	margin: 0;
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.12;
	letter-spacing: -0.012em;
	font-weight: var(--fw-regular);
	text-wrap: balance;
}
.pp-lead {
	margin: 14px 0 0;
	max-width: 560px;
	color: var(--ink-soft);
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.55;
}
.pp-head { margin-bottom: clamp(36px, 4vw, 56px); }
.pp-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; flex-wrap: wrap; }
.pp-chip {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--surface);
	box-shadow: inset 0 0 0 1px var(--line-strong);
	color: var(--ink-soft);
	font-size: 13px;
	font-weight: var(--fw-medium);
	line-height: 1;
	white-space: nowrap;
}
.pp-go { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: var(--fw-medium); }
.pp-go:hover { color: var(--blue-hover); text-decoration: none; }
.pp-arrow { display: inline-block; transition: transform .15s ease; }
a:hover .pp-arrow { transform: translateX(3px); }

/* one icon shape everywhere: the same tile, size set where it is used */
.pp-icon {
	display: block;
	flex: none;
	border-radius: 24%;
	object-fit: cover;
	background: var(--surface);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
}

/* buttons: pills, like the rest of the site */
.pp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: var(--fw-medium);
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.pp-btn:hover { text-decoration: none; }
.pp-btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.pp-btn--ink { background: var(--ink); color: var(--surface); }
.pp-btn--ink:hover { background: color-mix(in srgb, var(--ink) 85%, var(--surface)); color: var(--surface); }
.pp-btn--white { background: var(--surface); color: var(--ink); }
.pp-btn--white:hover { background: var(--surface-alt); color: var(--ink); }
.pp-btn--clear { background: color-mix(in srgb, var(--on-photo) 16%, transparent); color: var(--on-photo); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-photo) 60%, transparent); }
.pp-btn--clear:hover { background: color-mix(in srgb, var(--on-photo) 26%, transparent); color: var(--on-photo); }
.pp-btn--line { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pp-btn--line:hover { background: var(--surface-alt); color: var(--ink); }

/* ---------- header ---------- */
.hdr {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--surface) 96%, transparent);
	border-bottom: 1px solid var(--line);
}
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hdr { top: 0; } }
.hdr__row {
	position: relative;
	max-width: var(--content-max);
	height: 68px;
	margin-inline: auto;
	padding-inline: clamp(20px, 4.5vw, 64px);
	display: flex;
	align-items: center;
	gap: 40px;
}
.hdr__brand { position: relative; }
.hdr__logo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--ink);
	font-size: 19px;
	font-weight: var(--fw-medium);
	letter-spacing: -0.01em;
}
.hdr__logo:hover { color: var(--ink); text-decoration: none; }
.hdr__logo img { width: 28px; height: 28px; }
.hdr__nav { flex: 1; height: 100%; display: flex; align-items: center; gap: 6px; }
.hdr__item { height: 100%; display: flex; align-items: center; }
.hdr__trigger,
.hdr__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	color: var(--ink-soft);
	font-size: 15px;
	font-weight: var(--fw-medium);
}
.hdr__trigger:hover,
.hdr__link:hover,
.hdr__item:hover .hdr__trigger,
.hdr__item:focus-within .hdr__trigger,
.hdr__link[aria-current] { color: var(--ink); text-decoration: none; }
.hdr__link--sheet { display: none; }
.hdr__chev { opacity: .7; transition: transform .18s ease; }
.hdr__item:hover .hdr__chev,
.hdr__item:focus-within .hdr__chev { transform: rotate(180deg); }
.hdr__end { display: flex; align-items: center; gap: 8px; }
.hdr__toggle {
	display: none;
	height: 40px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	font-size: 15px;
	font-weight: var(--fw-medium);
	cursor: pointer;
}

/* the mega menu */
.mega {
	position: absolute;
	left: clamp(20px, 4.5vw, 64px);
	right: clamp(20px, 4.5vw, 64px);
	top: 100%;
	margin-top: 1px;
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr .95fr;
	gap: 8px;
	padding: 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 0;
	border-radius: 0 0 20px 20px;
	box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--ink) 22%, transparent);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.hdr__item:hover .mega,
.hdr__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__col { padding: 8px; }
.mega__label { margin: 4px 10px 10px; color: var(--ink-faint); font-size: 12.5px; font-weight: var(--fw-medium); letter-spacing: .02em; }
.mega__label--next { margin-top: 18px; }
.mega__link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: var(--ink); }
.mega__link:hover { background: var(--surface-alt); color: var(--ink); text-decoration: none; }
.mega__link .pp-icon { width: 36px; height: 36px; }
.mega__t { display: block; font-size: 15px; font-weight: var(--fw-medium); line-height: 1.25; }
.mega__d { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.35; }
.mega__feat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border-radius: 16px;
	background: var(--surface-alt);
	color: var(--ink);
}
.mega__feat:hover { background: var(--surface-alt-2); color: var(--ink); text-decoration: none; }
.mega__tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--ink-soft); font-size: 12.5px; font-weight: var(--fw-medium); }
.mega__feat b { font-size: 17px; font-weight: var(--fw-medium); line-height: 1.3; }
.mega__ft { color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.mega__feat .pp-go { margin-top: auto; font-size: 14.5px; }
.mega__foot {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin: 4px 8px 0;
	padding: 14px 10px 2px;
	border-top: 1px solid var(--line);
	color: var(--ink-soft);
	font-size: 14px;
}
.mega__foot a { color: var(--ink); font-weight: var(--fw-medium); }
.mega__foot a:hover { color: var(--blue); text-decoration: none; }

/* ---------- hero (and the closing panel) ---------- */
.pp-hero {
	position: relative;
	margin-top: 16px;
	overflow: hidden;
	color: var(--on-photo);
	background-color: var(--sky);
	background-image: url(../img/canvas/sky.jpg);
	background-image: image-set(url(../img/canvas/sky.webp) type("image/webp"), url(../img/canvas/sky.jpg) type("image/jpeg"));
	background-size: cover;
	background-position: center 6%;
	background-repeat: no-repeat;
}
.pp-hero--closing { margin-top: clamp(72px, 9vw, 120px); background-position: center 40%; }
.pp-hero__in {
	max-width: var(--content-max);
	min-height: clamp(560px, 74vh, 720px);
	margin-inline: auto;
	padding: clamp(40px, 6vw, 80px) clamp(20px, 4.5vw, 64px) clamp(28px, 4vw, 44px);
}
.pp-hero--closing .pp-hero__in { min-height: clamp(420px, 52vh, 520px); display: flex; flex-direction: column; justify-content: flex-end; }
.pp-hero__title {
	margin: 0;
	max-width: 9.5em;
	font-size: clamp(52px, 8.6vw, 120px);
	line-height: .92;
	letter-spacing: -0.025em;
	font-weight: var(--fw-medium);
	text-wrap: balance;
}
.pp-hero__title--closing { max-width: 10em; font-size: clamp(44px, 6.4vw, 88px); line-height: .95; }
.pp-hero__sub { margin: 28px 0 0; max-width: 580px; color: var(--on-photo-soft); font-size: clamp(19px, 1.9vw, 26px); line-height: 1.35; }
.pp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pp-hero--closing .pp-hero__cta { margin-top: 28px; }

/* "Works with": plain text and logos, no pills */
.pp-works { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 28px 0 0; color: var(--ink-soft); font-size: 15px; }
.pp-works__app { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: var(--fw-medium); }
.pp-works__app img { width: 17px; height: 17px; }
.pp-works--hero { margin-top: 36px; color: var(--on-photo); }
.pp-works--hero .pp-works__lbl { opacity: .78; }
.pp-works--hero .pp-works__app { color: var(--on-photo); }
.pp-works--hero .pp-works__app img { filter: brightness(0) invert(1); }

/* ---------- intro and the numbers ---------- */
.pp-intro { padding-block: clamp(72px, 9vw, 120px); }
.pp-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.pp-intro__h { margin: 0; max-width: 11em; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.02em; font-weight: var(--fw-medium); text-wrap: balance; }
.pp-intro__p { margin: 0; max-width: 500px; color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; }
.pp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: clamp(56px, 7vw, 88px) 0 0; }
.pp-stats__i { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.pp-stats dd { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.025em; font-weight: var(--fw-medium); }
.pp-stats dd small { margin-left: 2px; color: var(--ink-faint); font-size: .45em; font-weight: var(--fw-regular); letter-spacing: 0; }
.pp-stats dt { margin-top: 10px; color: var(--ink-soft); font-size: 16px; line-height: 1.4; }

/* ---------- the three main plugins ---------- */
.pp-flags { display: grid; gap: 16px; }
.pp-flag { overflow: hidden; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px) 0; border-radius: 28px; background: var(--surface); }
.pp-flag__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.pp-flag__id { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 18px; font-weight: var(--fw-medium); }
.pp-flag__id .pp-icon { width: 40px; height: 40px; }
.pp-flag__title { margin: 0; max-width: 15em; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.018em; font-weight: var(--fw-medium); text-wrap: balance; }
.pp-flag__side p { margin: 0 0 20px; max-width: 440px; color: var(--ink-soft); font-size: 17px; }
.pp-flag__shot { display: flex; justify-content: center; max-height: 520px; margin-top: clamp(28px, 4vw, 44px); overflow: hidden; }
.pp-flag__shot img,
.pp-shot img {
	width: 100%;
	height: auto;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 24px 48px -32px color-mix(in srgb, var(--ink) 35%, transparent);
}

/* ---------- ask your AI ---------- */
.pp-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pp-tab {
	height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--ink-soft);
	font: inherit;
	font-size: 15px;
	font-weight: var(--fw-medium);
	cursor: pointer;
}
.pp-tab:hover { color: var(--ink); }
.pp-tab[aria-selected="true"] { background: var(--ink); color: var(--surface); }
.pp-sky {
	display: flex;
	justify-content: center;
	padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px) 0;
	border-radius: 24px;
	overflow: hidden;
	background-color: var(--sky);
	background-image: url(../img/canvas/sky.jpg);
	background-image: image-set(url(../img/canvas/sky.webp) type("image/webp"), url(../img/canvas/sky.jpg) type("image/jpeg"));
	background-size: cover;
	background-position: center 30%;
}
.pp-win {
	width: 100%;
	max-width: 680px;
	overflow: hidden;
	border-radius: 14px 14px 0 0;
	background: var(--surface);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 24px 50px -26px color-mix(in srgb, var(--ink) 45%, transparent);
}
.pp-win__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 12.5px; font-weight: var(--fw-medium); }
.pp-win__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-alt-2); }
.pp-win__bar span { flex: 1; padding-right: 44px; text-align: center; }
.pp-chat { display: flex; flex-direction: column; gap: 10px; min-height: 400px; padding: 20px; }
.pp-chat[hidden] { display: none; }
.pp-msg { max-width: 84%; margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.pp-msg--me { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--surface-alt); }
.pp-msg--ai { align-self: flex-start; padding-left: 0; }
.pp-msg--tool { align-self: flex-start; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 12.5px; }
.pp-chat__input { margin: auto 0 0; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--ink-faint); font-size: 14px; }

/* ---------- more plugins: minimal tiles ---------- */
.pp-more { padding-block: clamp(88px, 10vw, 136px); }
.pp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pp-tile {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 250px;
	padding: 28px;
	border-radius: 24px;
	background: var(--surface-alt);
	color: var(--ink);
	transition: background-color .15s ease;
}
.pp-tile:hover { background: var(--surface-alt-2); color: var(--ink); text-decoration: none; }
.pp-tile .pp-icon { width: 48px; height: 48px; margin-bottom: 12px; }
.pp-tile h3 { margin: 0; font-size: 20px; font-weight: var(--fw-medium); letter-spacing: -0.005em; }
.pp-tile p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.pp-tile__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; color: var(--ink-soft); font-size: 14px; }
.pp-tile__meta .pp-go { font-size: 15px; }

/* ---------- who makes this ---------- */
.pp-maker { padding-block: clamp(40px, 6vw, 72px) clamp(88px, 10vw, 136px); }
.pp-maker__big { margin: 0; max-width: 1120px; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.18; letter-spacing: -0.02em; font-weight: var(--fw-medium); }
.pp-maker__mute { color: var(--ink-faint); }
.pp-pill {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	height: 1.15em;
	padding: 0 .38em 0 .16em;
	border-radius: .3em;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line-strong), 0 6px 14px -10px color-mix(in srgb, var(--ink) 35%, transparent);
	color: var(--ink);
	font-size: .62em;
	letter-spacing: -0.01em;
	vertical-align: .08em;
	white-space: nowrap;
}
.pp-pill:hover { color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px var(--ink-faint), 0 6px 14px -10px color-mix(in srgb, var(--ink) 35%, transparent); }
.pp-pill .pp-icon { width: 1.25em; height: 1.25em; box-shadow: none; }
.pp-founder { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.pp-founder img { width: 48px; height: 48px; border-radius: 50%; }
.pp-founder b { display: block; font-weight: var(--fw-medium); }
.pp-founder span { color: var(--ink-soft); font-size: 15px; }
.pp-founder .pp-go { margin-left: 12px; }

/* ---------- questions ---------- */
.pp-faq { padding-block: 0 clamp(88px, 10vw, 136px); }
.pp-faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); margin-top: 40px; }
.pp-qa { padding: 26px 0; border-top: 1px solid var(--line); }
.pp-qa h3 { margin: 0; font-size: 19px; font-weight: var(--fw-medium); }
.pp-qa p { margin: 8px 0 0; max-width: 520px; color: var(--ink-soft); font-size: 16px; }

/* ---------- product page ---------- */
.pp-pp-hero { padding-block: clamp(40px, 6vw, 72px) clamp(40px, 5vw, 64px); }
.pp-crumbs { margin: 0 0 28px; color: var(--ink-soft); font-size: 14px; }
.pp-crumbs a { color: var(--ink-soft); }
.pp-crumbs a:hover { color: var(--ink); }
.pp-pp-id { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font-size: 22px; font-weight: var(--fw-medium); }
.pp-pp-id .pp-icon { width: 56px; height: 56px; }
.pp-pp-title { margin: 0; max-width: 13em; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.022em; font-weight: var(--fw-medium); text-wrap: balance; }
.pp-pp-sub { margin: 22px 0 0; max-width: 640px; color: var(--ink-soft); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.pp-pp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.pp-pp-proof { margin: 22px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.pp-pp-proof b { color: var(--ink); font-weight: var(--fw-medium); }
.pp-shot { display: flex; justify-content: center; max-height: 600px; overflow: hidden; padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 56px) 0; border-radius: 28px; background: var(--surface-alt); }
.pp-shot--ph { max-height: none; }
.pp-shot__ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 1040px;
	height: clamp(260px, 32vw, 420px);
	padding: 24px;
	border-radius: 14px 14px 0 0;
	background: var(--surface);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent);
	text-align: center;
}
.pp-shot__ph .pp-icon { width: 56px; height: 56px; margin-bottom: 6px; }
.pp-shot__ph b { font-size: 18px; font-weight: var(--fw-medium); }
.pp-shot__ph span { color: var(--ink-faint); font-size: 14.5px; }
.pp-pp-sec { padding-top: clamp(72px, 8vw, 112px); }
.pp-pp-sec > .pp-h2 { margin-bottom: 36px; }
.pp-pp-more { padding-bottom: clamp(72px, 8vw, 112px); }
.pp-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.pp-feat__i { padding: 24px 0 32px; border-top: 1px solid var(--line); }
.pp-feat__i h3 { margin: 0; font-size: 19px; font-weight: var(--fw-medium); }
.pp-feat__i p { margin: 8px 0 0; max-width: 360px; color: var(--ink-soft); font-size: 16px; }
.pp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.pp-step { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.pp-step h3 { margin: 0 0 8px; font-size: 19px; font-weight: var(--fw-medium); }
.pp-step h3::before {
	counter-increment: step;
	content: counter(step);
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--surface);
	font-size: 13px;
	vertical-align: 2px;
}
.pp-step p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- footer ---------- */
/* a hairline on top, like the one under the header (Fahim, 2026-11-22: the
   footer "look bad in support page docs pages" with nothing above it) */
.pp-ftr { padding-block: clamp(56px, 7vw, 88px) 40px; border-top: 1px solid var(--line); color: var(--ink-soft); }
/* the homepage ends on the sky panel, which already closes the page */
.home .pp-ftr { border-top: 0; }
.pp-ftr__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.pp-ftr__brand p { margin: 12px 0 0; color: var(--ink-soft); font-size: 15px; }
.pp-ftr__h { margin: 0 0 14px; color: var(--ink-faint); font-size: 13.5px; font-weight: var(--fw-regular); }
.pp-ftr ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15.5px; }
.pp-ftr ul a { color: var(--ink); }
.pp-ftr ul a:hover { color: var(--blue); text-decoration: none; }
.pp-ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.pp-ftr__bot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pp-ftr__bot a { color: var(--ink-soft); }
.pp-ftr__bot a:hover { color: var(--ink); }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
	.mega { grid-template-columns: 1fr 1fr; }
	.mega__feat { display: none; }
	.pp-ftr__top { grid-template-columns: 1fr 1fr; }
	.pp-ftr__brand { grid-column: 1 / -1; }
	.pp-feat, .pp-steps { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.hdr__row { justify-content: space-between; gap: 12px; }
	.hdr__nav { display: none; }
	.hdr__toggle { display: inline-flex; align-items: center; }
	.hdr.is-open .hdr__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		height: auto;
		max-height: calc(100vh - 80px);
		overflow: auto;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 12px clamp(20px, 4.5vw, 64px) 20px;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
	}
	.hdr.is-open .hdr__item { height: auto; flex-direction: column; align-items: stretch; }
	.hdr.is-open .mega { position: static; display: grid; grid-template-columns: 1fr; margin: 0; padding: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.hdr.is-open .mega__foot,
	.hdr.is-open .mega__feat,
	.hdr.is-open .hdr__trigger { display: none; }
	.hdr.is-open .hdr__link--sheet { display: inline-flex; }
	.pp-intro__grid, .pp-flag__top { grid-template-columns: 1fr; }
	.pp-stats { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.pp-grid3, .pp-faq__grid { grid-template-columns: 1fr; }
	/* on a phone the screenshot shows a readable part, running off the right */
	.pp-flag { padding-right: 0; }
	.pp-flag__top { padding-right: clamp(24px, 4vw, 48px); }
	.pp-flag__shot { justify-content: flex-start; max-height: 340px; }
	.pp-flag__shot img { flex: none; width: 180%; max-width: none !important; }
}
@media (max-width: 560px) {
	.hdr__contact { display: none; }
	.pp-works--hero { display: none; }
	.pp-tabs { display: flex; width: 100%; }
	.pp-tab { flex: 1; padding: 0 6px; font-size: 14px; }
	.pp-pill { font-size: .7em; }
}
@media (prefers-reduced-motion: reduce) {
	.mega, .pp-arrow, .hdr__chev, .pp-tile, .pp-btn { transition: none; }
}

/* a product page FAQ takes its top space from .pp-pp-sec; the next section adds its own */
.pp-faq.pp-pp-sec { padding-bottom: 0; }
