/*
Theme Name: DK Pro Theme
Theme URI: https://generatepress.com/
Description: A professional GeneratePress child theme with editable DK Pro Gutenberg elements and responsive premium components.
Author: DK Pro
Template: generatepress
Version: 2.0.0
Text Domain: dk-pro-theme
*/

/**
 * PureGPL — homepage.
 *
 * Continues the header's Aurora surface through the whole page and out into the
 * footer. There is no light band anywhere, so there is no seam to get wrong:
 * the page reads as one object rather than three stacked ones.
 *
 * Tokens come from chrome.css, which is always enqueued before this file. The
 * few defined here are homepage-specific.
 */

/*
 * GeneratePress paints the body rgb(247,248,249). The dark sections cover most
 * of it, but it shows through anywhere they do not reach — above the header on
 * a rubber-band scroll, and in the gap below the footer on a short viewport —
 * as a light band that breaks the illusion of one continuous surface.
 *
 * Scoped to .home so every other page keeps its light background.
 */
/*
 * The page is LIGHT, between dark chrome.
 *
 * A near-black page hid the one thing this store sells: product screenshots.
 * Theme art is bright, colourful and detailed, and on a dark ground every tile
 * became a glowing rectangle competing with its neighbours. On white the art
 * supplies the colour and the interface stays quiet — which is how every
 * marketplace worth copying handles a catalogue of visual products.
 *
 * Dark header and footer bracketing a light body is deliberate, not a
 * compromise: the chrome reads as the frame, the page as the merchandise.
 */
body.home {
	background-color: #fff;
}

.ph {
	/*
	 * A real system, imposed late.
	 *
	 * Before this the page carried 24 distinct size/weight pairs and 13 different
	 * corner radii — 4px, 5.6px, 9px, 10.368px, 13px, 26px and so on — because
	 * every section had been designed on its own and invented its own values.
	 * That is what reads as "basic" no matter how well any single section is
	 * drawn: nothing rhymes with anything else.
	 *
	 * Two families, one scale, four radii.
	 */

	/*
	 * Bricolage Grotesque was already being loaded by the site chrome and never
	 * used here — every heading rendered in Poppins, which is the most-used
	 * geometric sans on the web and the closest thing to a default a page can
	 * have. Bricolage has real character in its wide, slightly odd caps, and it
	 * costs nothing extra because the font is already on the wire.
	 */
	--ph-display: "Bricolage Grotesque", "Poppins", system-ui, sans-serif;

	/*
	 * A modular scale, not twenty-four guesses.
	 *
	 * Sized so BODY copy lands at 16px. The first pass put it on --t-sm and it
	 * rendered at 13.6px — which was the original complaint, just expressed
	 * through a token. Small body copy is the most reliable way to make a page
	 * feel cheap: it reads as "we had a lot to fit in" rather than "we chose
	 * what mattered".
	 */
	--t-3xl: clamp(2.5rem, 5.2vw, 4.2rem);
	--t-2xl: clamp(1.85rem, 3.4vw, 2.7rem);
	--t-xl: clamp(1.3rem, 2vw, 1.6rem);
	--t-lg: 1.15rem;
	--t-md: 1rem;
	--t-sm: 0.925rem;
	--t-xs: 0.8rem;

	/* Four radii. Sharp for chips, soft for panels, round for pills. */
	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 22px;
	--r-full: 999px;

	--ph-bg: #ffffff;
	/* A tint carrying a trace of the accent, so it never reads as flat grey. */
	--ph-tint: #f6f7fd;
	--ph-panel: #ffffff;
	--ph-line: rgba(11, 14, 28, 0.09);
	--ph-line-2: rgba(11, 14, 28, 0.06);
	--ph-ink: #0b0e1c;
	--ph-mute: #55607d;
	/*
	 * #8791a8 measured 3.16:1 on white — below AA for the small text this token
	 * carries (category counts, eyebrows, stat labels, brand counts). Darkened
	 * until every one of them passes; still clearly secondary to --ph-mute.
	 */
	--ph-mute-2: #66708b;
	--ph-live: #16a34a;

	position: relative;
	color: var(--ph-mute);
	background: var(--ph-bg);
	font-size: var(--t-lg);
	line-height: 1.6;
}

.ph-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 max(1rem, env(safe-area-inset-left));
}

/* GeneratePress wraps the page in a container that would fight this layout. */
.home .site-content,
.home .content-area,
.home .site-main {
	max-width: none;
	margin: 0;
	padding: 0;
}

.home .site-content {
	display: block;
}

/* --- Buttons -------------------------------------------------------------- */

.ph .ph-btn {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.6rem;
	color: #fff;
	font-size: var(--t-md);
	font-weight: 700;
	text-decoration: none;
	border-radius: 999px;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

/*
 * The transparent border is load-bearing: --ghost carries a real 1px border, so
 * without a matching one here the two buttons differ by 2px in height and sit
 * on different baselines wherever they appear side by side.
 */
.ph .ph-btn--solid {
	background: var(--pgpl-ultra);
	border: 1px solid transparent;
	box-shadow: 0 16px 34px -16px rgba(60, 80, 255, 0.95);
}

.ph .ph-btn--ghost {
	color: var(--ph-ink);
	background: #fff;
	border: 1px solid rgba(11, 14, 28, 0.14);
}

@media (hover: hover) and (pointer: fine) {
	.ph .ph-btn--solid:hover { background: var(--pgpl-ultra-deep); transform: translateY(-1px); }
	.ph .ph-btn--ghost:hover { background: var(--ph-tint); border-color: rgba(11, 14, 28, 0.24); }
}

.ph .ph-btn svg { transition: transform 0.15s ease; }
.ph .ph-btn:hover svg { transform: translateX(2px); }

/* --- Hero ----------------------------------------------------------------- */

.ph-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(1.6rem, 3vw, 2.6rem) 0 clamp(1.6rem, 3vw, 2.4rem);
}

/*
 * A fine dot grid, static, faded out where the copy sits. The cheapest way to
 * make a large area read as a considered surface rather than as blank space.
 */
.ph-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(11, 14, 28, 0.13) 1px, transparent 1px);
	background-size: 26px 26px;
	-webkit-mask-image: radial-gradient(ellipse 60% 55% at 26% 40%, transparent 26%, #000 76%);
	mask-image: radial-gradient(ellipse 60% 55% at 26% 40%, transparent 26%, #000 76%);
	opacity: 0.75;
	pointer-events: none;
}

/* --- Aurora --------------------------------------------------------------- */

/*
 * Three colour fields drifting on long, deliberately unequal cycles. Every one
 * animates TRANSFORM only, so the browser composites them on the GPU and the
 * main thread does nothing per frame. Animating a filter or a gradient stop
 * instead forces a repaint every frame — the difference between atmosphere and
 * a hero that stutters while the page is still loading.
 */
.ph-aurora {
	position: absolute;
	inset: -20% -10% auto -10%;
	height: 130%;
	overflow: hidden;
	pointer-events: none;
}

.ph-aurora span {
	position: absolute;
	display: block;
	border-radius: 50%;
	will-change: transform;
}

.ph-aurora__a {
	top: -12%;
	left: 2%;
	width: 44vw;
	height: 44vw;
	max-width: 700px;
	max-height: 700px;
	background: radial-gradient(circle at 50% 50%, rgba(108, 134, 255, 0.42), transparent 66%);
	animation: ph-float-a 34s ease-in-out infinite;
}

.ph-aurora__b {
	top: 4%;
	right: 2%;
	width: 40vw;
	height: 40vw;
	max-width: 640px;
	max-height: 640px;
	background: radial-gradient(circle at 50% 50%, rgba(0, 182, 122, 0.22), transparent 66%);
	animation: ph-float-b 43s ease-in-out infinite;
}

.ph-aurora__c {
	top: 34%;
	left: 30%;
	width: 34vw;
	height: 34vw;
	max-width: 560px;
	max-height: 560px;
	background: radial-gradient(circle at 50% 50%, rgba(168, 120, 255, 0.3), transparent 66%);
	animation: ph-float-c 51s ease-in-out infinite;
}

@keyframes ph-float-a {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	50%      { transform: translate3d(9%, 7%, 0) scale(1.14); }
}

@keyframes ph-float-b {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1.06); }
	50%      { transform: translate3d(-11%, 9%, 0) scale(0.92); }
}

@keyframes ph-float-c {
	0%, 100% { transform: translate3d(0, 0, 0) scale(0.95); }
	50%      { transform: translate3d(7%, -8%, 0) scale(1.12); }
}

/* --- Split layout --------------------------------------------------------- */

.ph-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	gap: clamp(1.2rem, 3vw, 2.4rem);
	align-items: center;
	min-height: 0;
}

.ph-hero__copy { min-width: 0; }

.ph-hero__title {
	font-family: var(--ph-display);
	margin: 0;
	color: var(--ph-ink);
	font-size: clamp(2.2rem, 4.6vw, 3.6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}

.ph-hero__title span { display: block; }

/*
 * Line two steps back so line one and the price both come forward. A headline
 * set at one flat weight reads as a wall of text however large it is; the whole
 * job of a display size is to create a hierarchy inside itself.
 */
.ph-hero__l2 { color: rgba(11, 14, 28, 0.62); }

/*
 * The tag is taller than the line box it sits in — padding pushes it past the
 * text baseline — so at line-height 1 its top edge ran into the descender of
 * "plugins" above. This buys the clearance back.
 */
.ph-hero__l3 {
	display: flex !important;
	gap: 0.4em;
	align-items: center;
	margin-top: 0.24em;
}

.ph-hero__from {
	display: inline !important;
	color: rgba(11, 14, 28, 0.62);
}

/*
 * The price as a shop tag.
 *
 * Written inline it was the sentence continuing in a different colour — the
 * most important fact on the page carried by nothing but a hue change. A tag is
 * the object a price belongs on, and on a store whose entire argument is cost,
 * that is the detail worth spending craft on.
 *
 * The tilt is 1.5deg. Enough to read as a physical thing pinned to the page;
 * more and it looks like a mistake.
 */
.ph-hero__tag {
	font-family: var(--ph-display);
	display: inline-flex !important;
	position: relative;
	align-items: center;
	padding: 0.07em 0.4em 0.07em 0.55em;
	color: #fff;
	background: linear-gradient(135deg, var(--pgpl-ultra), #5b32e8);
	border-radius: 0.18em;
	box-shadow:
		0 10px 24px -10px rgba(60, 80, 255, 0.75),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transform: rotate(-1.5deg);
}

/* The punch-hole, which is what makes it read as a tag rather than a button. */
.ph-hero__tag-hole {
	width: 0.13em;
	height: 0.13em;
	margin-right: 0.28em;
	background: rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	box-shadow: inset 0 0.02em 0.03em rgba(11, 14, 28, 0.5);
}

.ph-hero__lede {
	max-width: 44ch;
	margin: 1.15rem 0 0;
	color: var(--ph-mute);
	font-size: clamp(0.98rem, 1.2vw, 1.06rem);
	text-wrap: pretty;
}

.ph-hero__cta {
	display: flex;
	gap: 0.6rem;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}

/* --- Guarantees ----------------------------------------------------------- */

/*
 * Three facts the store can stand behind, in place of a review count. Each
 * answers an objection a GPL buyer actually arrives with — will I get it now,
 * can I use it on client sites, has it been tampered with.
 */
.ph-hero__promises {
	display: flex;
	gap: 1.1rem;
	flex-wrap: wrap;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.ph-hero__promises li {
	display: flex;
	gap: 0.4rem;
	align-items: center;
	color: var(--ph-mute);
	font-size: var(--t-xs);
	font-weight: 600;
}

.ph-hero__promises svg { color: #16a34a; flex: 0 0 auto; }

/* --- Entrance ------------------------------------------------------------- */

/*
 * A short staggered rise, once, on load. Pure CSS with per-element delays —
 * no observer, no script. Only transform and opacity animate, so the whole
 * sequence runs on the compositor and cannot delay anything else rendering.
 */
.ph-hero__l1,
.ph-hero__l2,
.ph-hero__l3,
.ph-hero__lede,
.ph-hero__cta,
.ph-hero__promises {
	animation: ph-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.ph-hero__l1        { animation-delay: 0.06s; }
.ph-hero__l2        { animation-delay: 0.13s; }
.ph-hero__l3        { animation-delay: 0.2s; }
.ph-hero__lede      { animation-delay: 0.28s; }
.ph-hero__cta       { animation-delay: 0.36s; }
.ph-hero__promises  { animation-delay: 0.44s; }

@keyframes ph-rise {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* --- The product wall ----------------------------------------------------- */

/*
 * Three columns of real catalogue artwork, tilted into perspective and drifting
 * vertically at different speeds in alternating directions.
 *
 * This is the piece the hero was missing. A store selling things people buy
 * with their eyes was showing brand logos and no products; a wall of actual
 * screenshots proves the inventory in the first screen instead of describing
 * it, and the depth is what stops it reading as a plain grid.
 */
.ph-wall {
	position: relative;
	height: clamp(27rem, 46vw, 38rem);
	/*
	 * Load-bearing. Each column stacks twelve tiles and is far taller than the
	 * frame by design — that overflow is what there is to scroll. Without this
	 * the columns expand the grid instead, and the hero grows to 5,297px.
	 */
	overflow: hidden;
	/* The vanishing point sits left, so the wall recedes toward the copy. */
	perspective: 1400px;
	perspective-origin: 10% 50%;
	/* A shallower fade than before, so more of the wall is legible. */
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 7%, #000 92%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 7%, #000 92%, transparent);
}

.ph-wall__stage {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.45rem;
	height: 100%;
	/*
	 * scale(1.2) was slicing the outer columns off.
	 *
	 * rotateY already widens the stage's horizontal footprint — the near edge
	 * swings toward the viewer — and scaling up on top of that pushed both outer
	 * columns past the clip, slicing the left and right logos in half.
	 *
	 * Scaling DOWN to 0.86 fits the whole stage inside the frame, and the density
	 * that the old scale was buying comes back from a fifth column of smaller
	 * tiles. The translateX corrects the offset the rotation leaves behind:
	 * without it the stage sits 37px from the left edge and 4px from the right.
	 */
	transform: rotateY(-14deg) rotateX(4deg) rotateZ(-1.5deg) scale(0.86) translateX(-4.8%);
	transform-style: preserve-3d;
}

.ph-wall__col {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	will-change: transform;
}

/*
 * Alternating directions and unequal durations. Matched, the three columns
 * would slide as one sheet; opposed, the wall reads as depth.
 */
.ph-wall__col--0 { animation: ph-wall-up 46s linear infinite; }
.ph-wall__col--1 { animation: ph-wall-down 58s linear infinite; }
.ph-wall__col--2 { animation: ph-wall-up 52s linear infinite; }
.ph-wall__col--3 { animation: ph-wall-down 64s linear infinite; }
.ph-wall__col--4 { animation: ph-wall-up 57s linear infinite; }

/* Each column holds its tiles twice, so 50% lands on an identical frame. */
@keyframes ph-wall-up {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(0, -50%, 0); }
}

@keyframes ph-wall-down {
	from { transform: translate3d(0, -50%, 0); }
	to   { transform: translate3d(0, 0, 0); }
}

/*
 * Square plates now, holding brand marks rather than product screenshots.
 *
 * object-fit: contain, not cover — the set mixes portrait cards with square
 * avatars, and cover sliced the ends off the wide ones. A brand wall that crops
 * brand names is worse than no brand wall.
 */
/*
 * Edge to edge, no padding.
 *
 * These logos are not transparent marks needing a card behind them — each one
 * is already a finished plate with its own background and its own margins baked
 * in. Framing them in white added a second border around a border, and the wall
 * read as a grid of frames rather than a grid of brands.
 */
.ph-wall__tile {
	display: block;
	flex: 0 0 auto;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--ph-tint);
	border-radius: var(--r-sm);
	box-shadow:
		0 0 0 1px rgba(11, 14, 28, 0.06),
		0 14px 26px -18px rgba(11, 14, 28, 0.45);
}

/*
 * cover, not contain. The set is overwhelmingly square, so cover fills the tile
 * with almost nothing lost; contain would letterbox the few portrait plates and
 * reintroduce exactly the empty margins this removes.
 */
.ph-wall__tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The proof row is gone; the wall carries the brand signal on its own. */

/* --- Foot: segments + stats ----------------------------------------------- */

.ph-hero__foot {
	position: relative;
	z-index: 2;
	margin-top: clamp(1.4rem, 3vw, 2.2rem);
}

/* --- Proof band ----------------------------------------------------------- */

/*
 * Dark, deliberately.
 *
 * The hero previously ended by fading out into white, which left the numbers —
 * the most substantiated thing on the page — sitting in the weakest position on
 * it. On the header and footer's own surface they close the section instead of
 * trailing off, and the page reads as bracketed rather than merely stopped.
 */
.ph-proof {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	border-radius: var(--r-lg);
	box-shadow: 0 24px 50px -30px rgba(11, 14, 28, 0.75);
}

/* One glow, matching the header's, so the band is not a flat slab. */
.ph-proof::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(70% 160% at 18% 0%, rgba(108, 134, 255, 0.35), transparent 60%),
		var(--pgpl-aurora, #0b0e1c);
	pointer-events: none;
}

.ph-proof > div {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column-reverse;
	gap: 0.3rem;
	padding: 1.25rem 1.2rem;
	background: transparent;
}

/* The 1px grid lines come from the gap; these give them something to sit on. */
.ph-proof > div + div {
	box-shadow: -1px 0 0 rgba(255, 255, 255, 0.08);
}

.ph-proof dt {
	color: rgba(226, 230, 255, 0.58);
	font-size: 0.73rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.ph-proof dd {
	margin: 0;
	font-family: var(--ph-display);
	color: #fff;
	font-size: clamp(1.45rem, 2.6vw, 2rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.025em;
	/* Columns of digits that do not jitter as the counts change. */
	font-variant-numeric: tabular-nums;
}

/*
 * Below this width there is no room for two columns. The wall goes rather than
 * shrinking: a 3D perspective grid squeezed into a phone is unreadable, and the
 * product grid further down shows the same artwork at a size that works.
 */
@media (max-width: 62rem) {
	.ph-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		text-align: center;
	}

	.ph-hero__lede { margin-inline: auto; }
	.ph-hero__promises { justify-content: center; }
	.ph-hero__cta,
	.ph-hero__proof { justify-content: center; }
	.ph-wall { display: none; }
	.ph-hero::before { mask-image: none; -webkit-mask-image: none; opacity: 0.5; }

	/*
	 * The price line is a flex row, so the centring above — which is text-align —
	 * passed straight over it and "from $3.49" stayed pinned to the left under a
	 * centred headline. Flex rows have to be told separately.
	 */
	.ph-hero__l3 { justify-content: center; }
}

@media (max-width: 48rem) {
	.ph-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ph-hero__cta .ph-btn { flex: 1 1 100%; }

	/*
	 * A second glow, low and right.
	 *
	 * One gradient pinned to 18% 0% lit the top-left corner and left everything
	 * below it flat — which on a single row is the whole band, but on two rows is
	 * only half of it, so the lower half read as a plain black rectangle with two
	 * figures loose in it. The pair is the same device the reviews band uses
	 * further down: ultra at the top, a trace of green at the bottom.
	 */
	.ph-proof::before {
		background:
			radial-gradient(85% 70% at 10% 0%, rgba(108, 134, 255, 0.34), transparent 62%),
			radial-gradient(75% 65% at 95% 100%, rgba(0, 182, 122, 0.15), transparent 60%),
			var(--pgpl-aurora, #0b0e1c);
	}

	/*
	 * Redrawn as a 2x2, not dropped.
	 *
	 * Losing the rules altogether left four figures floating in a large dark
	 * rectangle with nothing to say which belonged to which — a stat block only
	 * reads as a table of figures if it is ruled like one. A hairline down the
	 * middle and another between the rows costs nothing and restores it.
	 *
	 * Drawn as insets rather than left to the 1px grid gap: ::before paints the
	 * band's surface across the whole box, so the gap shows that gradient through
	 * rather than a light line.
	 */
	.ph-proof > div + div { box-shadow: none; }

	.ph-proof > div:nth-child(2n) {
		box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08);
	}

	.ph-proof > div:nth-child(n + 3) {
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	}

	.ph-proof > div:nth-child(2n):nth-child(n + 3) {
		box-shadow:
			inset 1px 0 0 rgba(255, 255, 255, 0.08),
			inset 0 1px 0 rgba(255, 255, 255, 0.08);
	}

	/*
	 * column-reverse puts the flex START at the bottom, so each cell packed its
	 * contents downward. On one row that is invisible; on two it is not — a label
	 * wrapping to a second line ("refreshed this month") pushed its own number up
	 * and left the number beside it sitting 19px lower. Packing to the top instead
	 * lands every figure on the same line whatever its label does.
	 */
	.ph-proof > div {
		justify-content: flex-end;
		gap: 0.4rem;
		padding: 1.15rem 1rem 1.25rem;
	}

	/*
	 * The figures carry this band, and at 23px against 105px-tall cells they were
	 * not carrying it — the block was mostly ground. Larger, and tracked in, so
	 * "16,718" and "Unlimited" both hold their cell without touching its rule.
	 */
	.ph-proof dd { font-size: clamp(1.45rem, 6.4vw, 2rem); }

	/*
	 * "Refreshed this month" cannot fit one line at this width without dropping
	 * the label below a legible size, so it is set to wrap well instead: balanced
	 * over two lines, with the tracking eased so the pair does not read as looser
	 * than the one-line labels beside it.
	 */
	.ph-proof dt {
		font-size: 0.71rem;
		letter-spacing: 0.055em;
		line-height: 1.32;
		text-wrap: balance;
	}
}

/* --- Reviews -------------------------------------------------------------- */

/*
 * Dark, and full-bleed.
 *
 * The page runs white from the hero to the footer, and white review cards on a
 * white ground had nothing to be seen against — the section read as more page
 * rather than as its own thing. Dropping it onto the same near-black surface as
 * the header, footer and proof band gives the page a rhythm, and it puts the
 * one green element on the page where green actually carries: the stars.
 */
.ph-reviews {
	position: relative;
	z-index: 1;
	margin-top: clamp(1.6rem, 4vw, 2.6rem);
	padding: clamp(1.5rem, 3vw, 2.2rem) 0;
	overflow: hidden;
	background: var(--pgpl-aurora, #0b0e1c);
}

/* One glow, matching the proof band above, so the surface is not a flat slab. */
.ph-reviews::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 120% at 15% 0%, rgba(108, 134, 255, 0.28), transparent 62%),
		radial-gradient(50% 110% at 88% 100%, rgba(0, 182, 122, 0.14), transparent 62%);
	pointer-events: none;
}

/* Trustpilot's own green, which finally has a ground dark enough to sing on. */
.ph-stars {
	display: inline-flex;
	gap: 1px;
	color: #00d68f;
	line-height: 0;
}

.ph-rmarquee {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	/*
	 * The padding is load-bearing, not spacing.
	 *
	 * mask-image clips to this element's own box, so a card lifting 2px on hover
	 * moved outside it and had its top row of pixels masked away — the card
	 * appeared to be sliced off. This reserves room inside the mask for the
	 * lift; the negative margin cancels it so the section's rhythm is unchanged.
	 */
	padding: 6px 0;
	margin: -6px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ph-rtrack {
	display: flex;
	gap: 0.6rem;
	width: max-content;
	/*
	 * flex-start, not stretch. Letting each card size to its own text keeps the
	 * row compact — with stretch, one four-line review sets the height of every
	 * card beside it.
	 */
	align-items: flex-start;
	will-change: transform;
}

/*
 * Opposite directions at unequal durations. Two rows moving the same way read
 * as one block sliding past; two moving against each other read as a field.
 */
.ph-rtrack--a { animation: ph-drift-r 78s linear infinite; }
.ph-rtrack--b { animation: ph-drift-l 92s linear infinite; }

/* Each row holds its cards twice, so 50% lands on an identical frame. */
@keyframes ph-drift-r {
	from { transform: translateX(-50%); }
	to   { transform: translateX(0); }
}

@keyframes ph-drift-l {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/*
 * The rows do not pause on hover. focus-within is kept and is not the same
 * thing: a keyboard user has deliberately tabbed INTO a card, and letting it
 * slide away leaves the page focused on something they can no longer see.
 */
.ph-rmarquee:focus-within .ph-rtrack {
	animation-play-state: paused;
}

/*
 * ON PHONES THE MARQUEE IS A SWIPER, NOT AN ANIMATION.
 *
 * Each track is a ~4,000px composited layer drifting for 78–92s, and iOS
 * Safari rasterises the tiles of large moving layers LAZILY — on a phone the
 * first row rendered blank on load and the cards only appeared once WebKit
 * got around to painting that part of the layer. Desktop Chrome never shows
 * it, which is exactly why it shipped.
 *
 * So below 48rem the animation is off and each row is a native horizontal
 * scroller with snap points: no giant layer to rasterise (nothing to paint
 * late), and a phone user can actually hold and read a review instead of
 * chasing it — swiping is the better interaction at that size anyway.
 *
 * The aria-hidden cards are the marquee's seam copies. In a swiper they are
 * not decoration, they are the same six reviews twice — hidden.
 */
@media (max-width: 48rem) {
	.ph-rtrack--a,
	.ph-rtrack--b {
		animation: none;
	}

	/*
	 * No snap, and the seam copies STAY: the drift on phones is JavaScript
	 * walking scrollLeft (see main-page.js), because scroll content is
	 * painted eagerly where a transform layer is rasterised lazily. The
	 * duplicates are what let the walk wrap invisibly, exactly as they do
	 * for the desktop keyframes; snap would fight the sub-pixel steps.
	 */
	.ph-rtrack {
		width: auto;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-inline: 0.9rem;
		will-change: auto;
	}

	.ph-rtrack::-webkit-scrollbar { display: none; }

	.ph-review {
		flex-basis: min(76vw, 300px);
	}

	/* Ease the fade so a snapped first card is not dimmed. */
	.ph-rmarquee {
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
		mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
	}
}

/*
 * Glass, not a white slab. A solid card would punch a hole in the dark surface;
 * a translucent one lets the glow behind it through, so the row sits IN the
 * section rather than on top of it.
 */
.ph-review {
	position: relative;
	display: flex;
	flex: 0 0 clamp(214px, 19vw, 256px);
	flex-direction: column;
	gap: 0.45rem;
	margin: 0;
	padding: 0.8rem 0.9rem 0.75rem;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--r-md);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

/*
 * The quotation mark, set large and faint. It is the oldest signal in print for
 * "these are someone else's words", and it does that job without spending a
 * single word of the card on saying so.
 */
.ph-review::before {
	content: "\201C";
	position: absolute;
	top: 0.2rem;
	right: 0.6rem;
	color: rgba(255, 255, 255, 0.12);
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1;
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
	.ph-review:hover {
		transform: translateY(-2px);
		background: rgba(255, 255, 255, 0.09);
		border-color: rgba(255, 255, 255, 0.2);
	}
}

/*
 * Explicitly reset, not inherited. GeneratePress styles <blockquote> with an
 * italic face and a left rule; that arrived here by accident and would have
 * changed silently on a theme update.
 */
.ph .ph-review__text {
	position: relative;
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: var(--t-xs);
	font-style: normal;
	line-height: 1.5;
	letter-spacing: -0.005em;
	border: 0;
	quotes: none;
}

.ph .ph-review__text::before,
.ph .ph-review__text::after { content: none; }

.ph-review__by {
	display: flex;
	gap: 0.45rem;
	align-items: center;
	margin-top: 0.1rem;
	padding-top: 0.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/*
 * A monogram, not a stock photo. These are real people who did not supply a
 * portrait, and inventing a face for a real reviewer is not a small liberty.
 *
 * The hue still comes from the name, but the lightness is inverted for the dark
 * ground — a pale disc that worked on white would be the brightest object in
 * the section here and would pull the eye off the words.
 */
.ph-review__avatar {
	display: inline-flex;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
	color: hsl(var(--h, 230) 90% 84%);
	font-size: 0.68rem;
	font-weight: 800;
	background: hsl(var(--h, 230) 55% 24%);
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px hsl(var(--h, 230) 70% 40%);
}

/* min-width:0 lets a long name ellipsis rather than widen the card. */
.ph-review__who { min-width: 0; }

.ph-review__name {
	font-family: var(--ph-display);
	display: block;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ph-review__meta {
	display: block;
	color: rgba(226, 230, 255, 0.6);
	font-size: 0.67rem;
	font-weight: 500;
}

/* --- Sections ------------------------------------------------------------- */

/*
 * 7vw resolved to 88px top and bottom at desktop width, which on top of the
 * reviews section's own bottom padding left a 126px void above the products
 * heading. Sections need separating, not isolating.
 */
.ph-sec {
	padding: clamp(2rem, 4vw, 3rem) 0;
}

.ph-sec--tight { padding-top: 0; }

.ph-sec--alt {
	background: var(--ph-tint);
}

.ph-sec__head {
	display: flex;
	gap: 1.5rem;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.ph-sec__head--center {
	justify-content: center;
	text-align: center;
}

.ph-eyebrow {
	display: block;
	color: var(--ph-mute-2);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ph-sec__title {
	font-family: var(--ph-display);
	margin: 0.5rem 0 0;
	color: var(--ph-ink);
	font-size: var(--t-2xl);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.028em;
	text-wrap: balance;
}


/* --- Tabs ----------------------------------------------------------------- */

.ph-tabs {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
	padding: 0.3rem;
	background: var(--ph-tint);
	border: 1px solid var(--ph-line);
	border-radius: 999px;
}

.ph-tab {
	padding: 0.5rem 1.05rem;
	color: var(--ph-mute);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	background: none;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.ph-tab.is-active {
	color: #fff;
	background: var(--ph-ink);
	box-shadow: 0 6px 16px -8px rgba(11, 14, 28, 0.55);
}

@media (hover: hover) and (pointer: fine) {
	.ph-tab:not(.is-active):hover { color: var(--ph-ink); background: #fff; }
}

/* --- Product grid --------------------------------------------------------- */

.ph-grid[hidden] { display: none; }

.ph-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.15rem;
}

.ph .ph-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background: #fff;
	border-radius: var(--r-lg);
	box-shadow:
		0 0 0 1px rgba(11, 14, 28, 0.07),
		0 10px 24px -18px rgba(11, 14, 28, 0.45);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
	.ph .ph-card:hover {
		transform: translateY(-4px);
		box-shadow:
			0 0 0 1px rgba(108, 134, 255, 0.4),
			0 26px 44px -24px rgba(11, 14, 28, 0.5);
	}
}

.ph-card__art {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--ph-tint);
}

.ph-card__art img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ph .ph-card:hover .ph-card__art img { transform: scale(1.05); }

/*
 * Sits under the image; only ever seen when the image file is missing — the
 * library has records pointing at deleted files, and a broken <img> with an
 * empty alt renders as nothing at all.
 */
.ph-card__art::before {
	content: attr(data-letter);
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(11, 14, 28, 0.14);
	font-size: 3.2rem;
	font-weight: 800;
}

/*
 * The category, on the artwork.
 *
 * Beneath it, this was a grey line competing with the product name for the same
 * job and pushing the price further down. As a label on the image it costs the
 * body no height at all.
 */
.ph-card__cat {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	max-width: 60%;
	padding: 0.24rem 0.6rem;
	color: var(--ph-ink);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/*
 * The price as a tag on the artwork, matching the hero's.
 *
 * Beneath the title it was a line of text under a rule, competing with the
 * product name for the same moment. Up here it is the first thing read after
 * the picture — which on a store whose whole argument is $3.49 is where it
 * belongs — and it repeats the hero's device, so the page has one idea about
 * how a price looks rather than two.
 */
.ph-card__price {
	font-family: var(--ph-display);
	position: absolute;
	right: 0.65rem;
	bottom: 0.65rem;
	padding: 0.22rem 0.6rem;
	color: #fff;
	font-size: var(--t-md);
	font-weight: 800;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(135deg, var(--pgpl-ultra), #5b32e8);
	border-radius: 0.35rem;
	box-shadow: 0 8px 18px -8px rgba(60, 80, 255, 0.85);
	/* The same 1.5deg tilt as the hero tag, so they read as the same object. */
	transform: rotate(-1.5deg);
}

.ph-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.85rem;
	padding: 0.9rem 0.9rem 0.9rem;
}

.ph-card__name {
	font-family: var(--ph-display);
	display: -webkit-box;
	overflow: hidden;
	color: var(--ph-ink);
	font-size: var(--t-md);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/*
 * A real button, full width, pinned to the bottom.
 *
 * margin-top:auto keeps every button on the same line across a row whatever the
 * title height — which is what the old rule-and-price row was doing, without
 * the empty gap it left when a title ran to one line.
 */
.ph-card__btn {
	display: flex;
	gap: 0.4rem;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 0.6rem 0.9rem;
	color: var(--ph-ink);
	font-size: var(--t-xs);
	font-weight: 700;
	background: var(--ph-tint);
	border-radius: var(--r-sm);
	transition: color 0.18s ease, background-color 0.18s ease;
}

.ph-card__btn svg { transition: transform 0.18s ease; }

/*
 * Driven by hovering the CARD, not the button. The whole card is the link, so
 * lighting up only when the pointer crosses the button would suggest the rest
 * of it is not clickable.
 */
@media (hover: hover) and (pointer: fine) {
	.ph .ph-card:hover .ph-card__btn {
		color: #fff;
		background: var(--pgpl-ultra);
	}

	.ph .ph-card:hover .ph-card__btn svg { transform: translateX(3px); }
}

/* --- The "browse all" tile ------------------------------------------------ */

/*
 * The eighth cell of the grid, not a pill underneath it.
 *
 * A lone ghost button below the products was the weakest position on the page
 * for the one link that moves someone into the catalogue: after eight cards the
 * eye has already left. As a cell it completes the row, and it can carry the
 * shelf count — which is the argument for clicking, and a button reading
 * "Browse all Premium Plugins" has no room to make it.
 */
.ph .ph-more {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	overflow: hidden;
	padding: 1.4rem 1.3rem;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(150deg, var(--pgpl-ultra), #4a1fd0 65%, #2a0f8a);
	border-radius: var(--r-lg);
	/* Contains the mosaic's blend, or it would composite against the page. */
	isolation: isolate;
	box-shadow: 0 18px 36px -22px rgba(60, 80, 255, 0.9);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/*
 * The mosaic: nine real products from the shelf this links to.
 *
 * The tile asserted "152 more" over a flat gradient. A wall of the actual
 * products makes the same claim visually — and because it is drawn from the
 * shelf itself, it cannot advertise something that is not there.
 */
.ph-more__mosaic {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	gap: 2px;
	/* Slightly oversized and offset, so no tile reads as a neat framed edge. */
	transform: scale(1.12) rotate(-3deg);
	/*
	 * Explicit stacking. ::before is generated as the FIRST child, so without
	 * this the mosaic — a real element, later in the DOM — paints on top of the
	 * scrim and the type sits directly on the artwork.
	 */
	z-index: 0;
	/*
	 * Duotone, not a curtain.
	 *
	 * Covering the mosaic with a 94% wash made the type legible and the pictures
	 * pointless — the tile was a flat gradient again, only slower to render.
	 * Blending on luminosity keeps every shape and edge of the artwork while
	 * forcing it into the tile's own blue, so the products stay clearly visible
	 * AND white text still holds over them.
	 */
	mix-blend-mode: luminosity;
	opacity: 0.6;
	filter: contrast(1.12) brightness(1.08);
	pointer-events: none;
}

.ph-more__mosaic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * A scrim over the TEXT ONLY.
 *
 * Weighted to the left where the number, label and button sit, and gone by 60%
 * so the right of the tile shows the mosaic at full strength. The previous
 * version covered the whole tile evenly, which is exactly why nothing behind it
 * could be made out.
 */
.ph .ph-more--art::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(28, 16, 160, 0.82) 6%, rgba(34, 19, 172, 0.46) 40%, transparent 60%);
	z-index: 1;
	pointer-events: none;
}

/* Without artwork the tile keeps its own bloom rather than rendering flat. */
.ph .ph-more:not(.ph-more--art)::before {
	content: "";
	position: absolute;
	top: -30%;
	right: -20%;
	width: 70%;
	height: 90%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
	.ph .ph-more:hover {
		transform: translateY(-4px);
		box-shadow: 0 30px 48px -22px rgba(60, 80, 255, 0.95);
	}
}

.ph-more__n {
	font-family: var(--ph-display);
	position: relative;
	z-index: 2;
	color: #fff;
	font-size: clamp(2rem, 3.4vw, 2.7rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.035em;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 2px 14px rgba(12, 6, 60, 0.55);
}

.ph-more__label {
	position: relative;
	z-index: 2;
	margin-top: 0.2rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: var(--t-sm);
	font-weight: 600;
	line-height: 1.3;
	text-shadow: 0 1px 10px rgba(12, 6, 60, 0.5);
}

.ph-more__go {
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
	position: relative;
	z-index: 2;
	margin-top: 1rem;
	padding: 0.45rem 0.9rem;
	color: var(--pgpl-ultra);
	font-size: var(--t-xs);
	font-weight: 800;
	background: #fff;
	border-radius: 999px;
	align-self: flex-start;
	transition: transform 0.18s ease;
}

.ph .ph-more:hover .ph-more__go { transform: translateX(3px); }

/* --- Section lede --------------------------------------------------------- */

.ph-sec__lede {
	max-width: 56ch;
	margin: 0.9rem auto 0;
	color: var(--ph-mute);
}

/* --- How it works: three mocked moments ----------------------------------- */

/*
 * Each step shows its moment rather than describing it.
 *
 * A numbered rail with a paragraph underneath was still three blocks of prose,
 * and two of the three were re-stating what the pricing section and the FAQ
 * already cover. Drawing the actual moment gives the section information the
 * rest of the page does not have — and it is the only place the product is
 * shown in use.
 *
 * Every mock is HTML and CSS: no screenshots to go stale, nothing extra to
 * download, and they restyle with the rest of the page.
 */
.ph-flow {
	/*
	 * Shared by the frames, the badges and the rail that threads them, so the
	 * three cannot drift apart — the rail's position is derived from the frame
	 * height rather than guessed alongside it.
	 */
	--flow-mock-h: 132px;
	--flow-mock-mb: 1.1rem;
	--flow-n: 30px;

	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/*
 * The rail.
 *
 * Three steps drawn as three columns are three separate things, and the numbers
 * were doing all the work of saying otherwise — 1, 2 and 3 floating with nothing
 * between them. A line through the badge centres makes the section a route
 * rather than a set, which is the whole claim the heading makes.
 *
 * It can sit at one fixed height because every badge lands at the same height:
 * the frames above them share one. Each badge then punches the line with a ring
 * in the band's own colour, so the rail reads as passing behind the stations.
 *
 * Faded at both ends rather than stopped at the outer badges — those centres sit
 * a sixth of the row in from each edge and would have to be recomputed for every
 * column count the grid takes.
 */
.ph-flow::before {
	content: "";
	position: absolute;
	top: calc(var(--flow-mock-h) + var(--flow-mock-mb) + (var(--flow-n) / 2));
	left: 0;
	right: 0;
	height: 1px;
	/* top is the badge centre, so the 1px band is pulled back onto it. */
	transform: translateY(-0.5px);
	background: linear-gradient(90deg, transparent, var(--ph-line) 14%, var(--ph-line) 86%, transparent);
	pointer-events: none;
}

/*
 * No card. Each step already contains a framed mock, so wrapping that in a
 * white box was a frame inside a frame — and it made this section look exactly
 * like the pricing table, which shared the same tinted band.
 */
.ph-flow__step {
	position: relative;
	padding: 0;
}

/* --- The mock frame --- */

.ph-flow__mock {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.4rem;
	height: var(--flow-mock-h);
	margin-bottom: var(--flow-mock-mb);
	padding: 0.8rem;
	overflow: hidden;
	/*
	 * A trace of a gradient rather than flat #fff. These are meant to read as
	 * screens, and on a tinted band three flat white rectangles read as three
	 * holes cut in it.
	 */
	background: linear-gradient(180deg, #ffffff, #fbfbff);
	border-radius: var(--r-md);
	box-shadow:
		0 0 0 1px rgba(11, 14, 28, 0.06),
		0 10px 22px -18px rgba(11, 14, 28, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/*
 * Driven by the STEP, not the frame. The prose under each mock belongs to it,
 * and lighting up only when the pointer happens to cross the picture would
 * suggest the two are separate things.
 */
@media (hover: hover) and (pointer: fine) {
	.ph-flow__step:hover .ph-flow__mock {
		transform: translateY(-3px);
		box-shadow:
			0 0 0 1px rgba(108, 134, 255, 0.35),
			0 22px 36px -24px rgba(11, 14, 28, 0.5);
	}
}

.ph-flow__n {
	position: relative;
	z-index: 1;
	/*
	 * flex, not inline-flex. As an inline box the badge sat on a text baseline
	 * and the strut above it pushed it 1.5px below where the rail's arithmetic
	 * says it is — which on a 1px line is the difference between threaded and
	 * nearly threaded. Block-level, its top is exactly the frame plus its margin.
	 */
	display: flex;
	width: var(--flow-n);
	height: var(--flow-n);
	align-items: center;
	justify-content: center;
	margin-bottom: 0.6rem;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	background: var(--pgpl-ultra);
	border-radius: 999px;
	/*
	 * Three shadows doing three jobs: the first is the band's own colour and is
	 * what cuts the rail cleanly either side of the badge; the second is the
	 * accent at low alpha, so the badge has a halo instead of sitting on the line
	 * like a bead; the third grounds it against the band.
	 */
	box-shadow:
		0 0 0 4px var(--ph-tint),
		0 0 0 5px rgba(108, 134, 255, 0.26),
		0 6px 14px -6px rgba(60, 80, 255, 0.65);
}

.ph-flow__title {
	font-family: var(--ph-display);
	margin: 0 0 0.3rem;
	color: var(--ph-ink);
	font-size: var(--t-lg);
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ph-flow__body {
	margin: 0;
	color: var(--ph-mute);
	font-size: var(--t-md);
	line-height: 1.5;
}

/* --- 1. Choosing a plan --- */

.ph-mockplan {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	padding: 0.42rem 0.6rem;
	background: var(--ph-tint);
	border-radius: var(--r-sm);
	box-shadow: inset 0 0 0 1px rgba(11, 14, 28, 0.07);
}

.ph-mockplan span {
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px rgba(11, 14, 28, 0.2);
}

.ph-mockplan b {
	flex: 1 1 auto;
	color: var(--ph-ink);
	font-size: 0.72rem;
	font-weight: 700;
}

.ph-mockplan i {
	color: var(--ph-mute-2);
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* The chosen one. A ring plus a filled dot, so it reads as a radio, not a hover. */
.ph-mockplan.is-on {
	box-shadow: inset 0 0 0 1.5px var(--pgpl-ultra);
}

.ph-mockplan.is-on span {
	background: var(--pgpl-ultra);
	box-shadow: inset 0 0 0 2.5px #fff, 0 0 0 1.5px var(--pgpl-ultra);
}

.ph-mockplan.is-on i { color: var(--pgpl-ultra); }

/* --- 2. Searching --- */

.ph-mocksearch {
	display: flex;
	gap: 0.4rem;
	align-items: center;
	padding: 0.45rem 0.6rem;
	color: var(--ph-mute-2);
	font-size: 0.74rem;
	background: var(--ph-tint);
	border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px rgba(108, 134, 255, 0.45);
}

.ph-mocksearch span { color: var(--ph-ink); font-weight: 600; }

.ph-mockrow {
	display: flex;
	gap: 0.45rem;
	align-items: center;
	padding: 0.35rem 0.45rem;
	background: var(--ph-tint);
	border-radius: var(--r-sm);
	box-shadow: inset 0 0 0 1px rgba(11, 14, 28, 0.06);
}

/* The second result is half-faded, so the list reads as continuing. */
.ph-mockrow--fade { opacity: 0.45; }

.ph-mockrow__art {
	flex: 0 0 26px;
	height: 20px;
	background: linear-gradient(135deg, #c9d2ff, #a9baff);
	border-radius: var(--r-sm);
}

.ph-mockrow__lines { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; }

.ph-mockrow__lines i {
	display: block;
	height: 4px;
	background: rgba(11, 14, 28, 0.14);
	border-radius: 999px;
}

.ph-mockrow__lines i:first-child { width: 78%; }
.ph-mockrow__lines i:last-child  { width: 44%; }

.ph-mockrow__price {
	color: var(--ph-ink);
	font-size: 0.68rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

/* --- 3. Installing --- */

.ph-mockzip {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	padding: 0.5rem 0.6rem;
	color: var(--pgpl-ultra);
	background: var(--ph-tint);
	border-radius: var(--r-sm);
	box-shadow: inset 0 0 0 1px rgba(11, 14, 28, 0.07);
}

.ph-mockzip b {
	color: var(--ph-ink);
	font-size: 0.72rem;
	font-weight: 700;
}

.ph-mockbar {
	display: block;
	height: 6px;
	overflow: hidden;
	background: rgba(11, 14, 28, 0.08);
	border-radius: 999px;
}

.ph-mockbar i {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--pgpl-ultra), #7b83ff);
	border-radius: 999px;
}

.ph-mockdone {
	display: inline-flex;
	gap: 0.3rem;
	align-items: center;
	align-self: flex-start;
	padding: 0.28rem 0.6rem;
	color: #15803d;
	font-size: 0.7rem;
	font-weight: 700;
	background: #dcfce7;
	border-radius: 999px;
}

/* --- Pricing -------------------------------------------------------------- */

/*
 * What every plan shares, said once.
 *
 * "All 16,718 products" and "Instant auto-updates" appeared in all four cards,
 * so three quarters of every feature list was identical and the eye had to work
 * to find what actually differed. Lifting the common ground out is why this
 * reads as considered rather than generated.
 */
.ph-common {
	display: flex;
	gap: 0.75rem 1.4rem;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 1.8rem;
	padding: 0.85rem 1.4rem;
	background: var(--ph-tint);
	border-radius: var(--r-full);
	box-shadow: inset 0 0 0 1px rgba(11, 14, 28, 0.06);
}

.ph-common__label {
	color: var(--ph-mute-2);
	font-size: var(--t-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ph-common ul {
	display: flex;
	gap: 0.4rem 1.3rem;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ph-common li {
	display: flex;
	gap: 0.35rem;
	align-items: center;
	color: var(--ph-ink);
	font-size: var(--t-sm);
	font-weight: 600;
}

.ph-common svg { color: #16a34a; flex: 0 0 auto; }

/* --- The cards ------------------------------------------------------------ */

.ph-plans {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	/* Room for the flag and for the recommended card's negative margin. */
	padding: 1.4rem 0.2rem 0.6rem;
	align-items: stretch;
	/*
	 * NOT align-items:start. Cards must stretch to a common height, otherwise
	 * margin-top:auto pins each button to its own card's bottom and the four
	 * CTAs land on four different lines.
	 */
}

.ph-plan {
	display: flex;
	flex-direction: column;
	position: relative;
	padding: 1.5rem 1.4rem;
	background: #fff;
	border-radius: var(--r-lg);
	/* Firmer edge: these now sit on white rather than on the tinted band. */
	box-shadow:
		0 0 0 1px rgba(11, 14, 28, 0.1),
		0 14px 30px -22px rgba(11, 14, 28, 0.45);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
	.ph-plan:not(.is-best):hover {
		transform: translateY(-3px);
		box-shadow:
			0 0 0 1px rgba(11, 14, 28, 0.14),
			0 22px 38px -22px rgba(11, 14, 28, 0.45);
	}
}

/*
 * The recommended plan is a different object, not the same card with a ring.
 *
 * An outline said "this one" quietly enough that the eye still had to compare
 * four equal things. On the page's own near-black — the surface the header,
 * reviews and proof band already use — it stops being one of four and becomes
 * the answer, with the others as alternatives to it. That is the whole job of a
 * recommended plan.
 */
.ph-plan.is-best {
	position: relative;
	z-index: 1;
	margin: -0.6rem -0.2rem;
	padding: 2.1rem 1.6rem;
	background:
		radial-gradient(80% 120% at 20% 0%, rgba(108, 134, 255, 0.35), transparent 60%),
		var(--pgpl-aurora, #0b0e1c);
	box-shadow: 0 34px 60px -30px rgba(30, 20, 140, 0.85);
}

.ph-plan.is-best .ph-plan__name,
.ph-plan.is-best .ph-plan__price { color: #fff; }

.ph-plan.is-best .ph-plan__note,
.ph-plan.is-best .ph-plan__price small,
.ph-plan.is-best .ph-plan__each { color: rgba(226, 230, 255, 0.6); }

.ph-plan.is-best .ph-plan__sub { color: #6ee7a8; }

.ph-plan.is-best .ph-plan__rate { border-top-color: rgba(255, 255, 255, 0.14); }
.ph-plan.is-best .ph-plan__rate-n { color: rgba(226, 230, 255, 0.7); }
.ph-plan.is-best .ph-plan__rate-n b { color: #fff; }
.ph-plan.is-best .ph-plan__bar { background: rgba(255, 255, 255, 0.14); }
.ph-plan.is-best .ph-plan__bar i { background: linear-gradient(90deg, #7b83ff, #a9baff); }

.ph-plan.is-best .ph-plan__feats li { color: rgba(226, 230, 255, 0.82); }
.ph-plan.is-best .ph-plan__feats li::before { border-color: #6ee7a8; }

/* White button on dark, so it is the brightest thing in the section. */
.ph .ph-plan.is-best .ph-plan__cta,
.ph .ph-plan.is-best .ph-plan__cta:hover {
	color: var(--pgpl-aurora, #0b0e1c);
	background: #fff;
	border-color: transparent;
}

.ph-plan__flag {
	position: absolute;
	top: -0.72rem;
	left: 1.4rem;
	padding: 0.24rem 0.7rem;
	color: #fff;
	font-size: var(--t-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--pgpl-ultra);
	border-radius: var(--r-full);
	box-shadow: 0 6px 16px -6px rgba(60, 80, 255, 0.9);
}

.ph-plan__name {
	margin: 0;
	color: var(--ph-ink);
	font-size: var(--t-lg);
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ph-plan__note {
	margin: 0.1rem 0 1rem;
	color: var(--ph-mute-2);
	font-size: var(--t-sm);
}

/*
 * The period sits BELOW the amount, not beside it.
 *
 * Inline on a baseline, "₹11,346.98 one time" wrapped the label onto a second
 * line and knocked that card's rows out of step with the other three. Stacking
 * it means the layout holds for any currency and any length — which a row of
 * four cards has to, since one long price breaks all of them.
 */
.ph-plan__price {
	display: flex;
	flex-direction: column;
	margin: 0;
	color: var(--ph-ink);
}

.ph-plan__price span {
	font-family: var(--ph-display);
	/* Shrinks as the string lengthens, so ₹11,347 still fits one line. */
	font-size: clamp(1.9rem, 2.6vw, 2.6rem);
	white-space: nowrap;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}

.ph-plan__price small {
	margin-top: 0.15rem;
	color: var(--ph-mute-2);
	font-size: var(--t-sm);
	font-weight: 600;
}

/*
 * Always present, even when empty. Only two of the four plans have a savings
 * line, and without a reserved slot the rows below sat at two different heights
 * across the grid — which reads as a broken table.
 */
.ph-plan__sub {
	min-height: 1.3rem;
	margin: 0.5rem 0 0;
	color: #16a34a;
	font-size: var(--t-sm);
	font-weight: 600;
}

/*
 * What it works out at per product.
 *
 * The number this store owns and had never stated: $99 across 16,718 products
 * is six tenths of a penny each. Computed from the live catalogue count, so it
 * cannot drift, and phrased as "under a cent" below one cent because "$0.01"
 * there would be a rounding lie.
 */
.ph-plan__each {
	margin: 0.35rem 0 0;
	color: var(--ph-mute-2);
	font-size: var(--t-xs);
	font-weight: 600;
	letter-spacing: 0.01em;
}

/* --- The download rate, drawn to scale ------------------------------------ */

/*
 * The one real difference between these plans.
 *
 * As four identical grey pills reading "30 / 35 / 100 downloads a day", a
 * threefold difference looked like a rounding error. A bar shows the ratio at a
 * glance, which is the actual decision being made here.
 */
.ph-plan__rate {
	margin: 1.2rem 0 0;
	padding-top: 1.1rem;
	border-top: 1px solid var(--ph-line-2);
}

.ph-plan__rate-n {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--ph-mute);
	font-size: var(--t-sm);
	font-weight: 600;
}

.ph-plan__rate-n b {
	font-family: var(--ph-display);
	color: var(--ph-ink);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.ph-plan__bar {
	display: block;
	height: 6px;
	overflow: hidden;
	background: rgba(11, 14, 28, 0.07);
	border-radius: var(--r-full);
}

.ph-plan__bar i {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #a9baff, var(--pgpl-ultra));
	border-radius: var(--r-full);
}

.ph-plan.is-best .ph-plan__bar i {
	background: linear-gradient(90deg, var(--pgpl-ultra), #5b32e8);
}

/* --- What differs --------------------------------------------------------- */

.ph-plan__feats {
	margin: 1.1rem 0 1.4rem;
	padding: 0;
	list-style: none;
}

.ph-plan__feats li {
	position: relative;
	margin-bottom: 0.5rem;
	padding-left: 1.4rem;
	color: var(--ph-mute);
	font-size: var(--t-sm);
	line-height: 1.45;
}

/* A drawn tick, so the list needs no icon font and no extra markup. */
.ph-plan__feats li::before {
	content: "";
	position: absolute;
	top: 0.36rem;
	left: 0.15rem;
	width: 0.4rem;
	height: 0.7rem;
	border: solid #16a34a;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* margin-top:auto keeps every button on one line whatever the list length. */
.ph .ph-plan__cta {
	margin-top: auto;
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: var(--t-md);
}

/* --- Reassurance ---------------------------------------------------------- */

.ph-plans__foot {
	display: flex;
	gap: 0.45rem;
	align-items: center;
	justify-content: center;
	margin: 1.6rem 0 0;
	color: var(--ph-mute-2);
	font-size: var(--t-sm);
	font-weight: 600;
}

.ph-plans__foot svg { color: #16a34a; flex: 0 0 auto; }

/* --- FAQ ------------------------------------------------------------------ */

/*
 * Two columns, because a single centred one wasted the page.
 *
 * Six short rows stacked in a 900px column left most of the width empty and
 * gave the section no shape at all. The heading beside the questions uses the
 * measure, and the aside carries what a FAQ should always end with: a way to
 * ask the thing it did not answer.
 */
.ph-faq-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.ph-faq-aside {
	position: sticky;
	top: 6rem;
}

.ph-faq-aside .ph-sec__title { margin: 0.5rem 0 0; }

.ph-faq-aside__body {
	max-width: 34ch;
	margin: 1rem 0 1.4rem;
	color: var(--ph-mute);
	font-size: var(--t-md);
}

.ph .ph-faq-aside__link {
	display: inline-flex;
	gap: 0.4rem;
	align-items: center;
	padding: 0.6rem 1.1rem;
	color: var(--ph-ink);
	font-size: var(--t-sm);
	font-weight: 700;
	text-decoration: none;
	background: #fff;
	border-radius: var(--r-full);
	box-shadow: 0 0 0 1px rgba(11, 14, 28, 0.1);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.ph-faq-aside__link svg { transition: transform 0.15s ease; }

@media (hover: hover) and (pointer: fine) {
	.ph .ph-faq-aside__link:hover {
		transform: translateY(-1px);
		box-shadow:
			0 0 0 1px rgba(108, 134, 255, 0.45),
			0 12px 22px -12px rgba(11, 14, 28, 0.45);
	}

	.ph .ph-faq-aside__link:hover svg { transform: translateX(3px); }
}

.ph-faq {
	border-top: 1px solid var(--ph-line);
}

.ph-faq__item {
	border-bottom: 1px solid var(--ph-line);
}

.ph-faq__q {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding: 1.15rem 0.25rem;
	color: var(--ph-ink);
	font-size: var(--t-lg);
	font-weight: 700;
	letter-spacing: -0.01em;
	cursor: pointer;
	list-style: none;
	transition: color 0.15s ease;
}

.ph-faq__q::-webkit-details-marker { display: none; }

@media (hover: hover) and (pointer: fine) {
	.ph-faq__q:hover { color: var(--pgpl-ultra); }
}

.ph-faq__sign {
	display: inline-flex;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	color: var(--ph-mute);
	background: #fff;
	border-radius: var(--r-full);
	box-shadow: inset 0 0 0 1px var(--ph-line);
	transition: color 0.18s ease, background-color 0.18s ease;
}

/* The plus loses its vertical stroke and becomes a minus. */
.ph-faq__bar { transition: opacity 0.18s ease, transform 0.18s ease; }

.ph-faq__item[open] .ph-faq__bar {
	opacity: 0;
	transform: rotate(90deg);
	transform-origin: center;
}

.ph-faq__item[open] .ph-faq__sign {
	color: #fff;
	background: var(--pgpl-ultra);
	box-shadow: none;
}

.ph-faq__a {
	padding: 0 3rem 1.4rem 0.25rem;
}

.ph-faq__a p {
	margin: 0;
	color: var(--ph-mute);
	font-size: var(--t-md);
	line-height: 1.65;
}

/* --- Reviews from the blog ------------------------------------------------ */

.ph-journal__all {
	display: inline-flex;
	gap: 0.4rem;
	align-items: center;
	color: var(--ph-ink);
	font-size: var(--t-sm);
	font-weight: 700;
	text-decoration: none;
}

.ph-journal__all svg { transition: transform 0.15s ease; }
.ph .ph-journal__all:hover svg { transform: translateX(3px); }

.ph-journal__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.15rem;
}

/*
 * No card.
 *
 * The white box with a border and a shadow is what made these read as a
 * template — every blog ships that card. Letting the artwork and type sit
 * directly on the page is how an editorial site does it, and it moves the
 * attention onto the screenshot rather than the container around it.
 */
/*
 * A review card, not a blog card.
 *
 * The old version showed a thumbnail and a headline — the same object every
 * blog ships. These posts are reviews OF something, and the site's own
 * generator already records what: item type and item name. Leading with the
 * product is what turns a blog roll into a review index, and it is information
 * no amount of card styling could have added.
 */
.ph .ph-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background: #fff;
	border-radius: var(--r-lg);
	box-shadow:
		0 0 0 1px rgba(11, 14, 28, 0.08),
		0 12px 28px -20px rgba(11, 14, 28, 0.45);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
	.ph .ph-post:hover {
		transform: translateY(-5px);
		box-shadow:
			0 0 0 1px rgba(108, 134, 255, 0.45),
			0 30px 50px -26px rgba(11, 14, 28, 0.5);
	}
}

/*
 * Shorter than before. These are vendor marketing banners, busy and loud — the
 * less of each one on screen, the less four of them fight each other. The card
 * now earns its space with what it says, not with how much picture it shows.
 */
.ph-post__art {
	display: block;
	position: relative;
	aspect-ratio: 2 / 1;
	overflow: hidden;
	background: var(--ph-tint);
}

.ph-post__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ph .ph-post:hover .ph-post__art img { transform: scale(1.05); }

/* What was reviewed — Theme, Plugin — read straight from the post. */
.ph-post__kind {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	padding: 0.2rem 0.6rem;
	color: #fff;
	font-size: var(--t-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(11, 14, 28, 0.72);
	border-radius: var(--r-full);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.ph-post__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.1rem 0.95rem;
}

/*
 * The product name, in the accent and above the headline.
 *
 * Someone scanning for "is Foxiz any good" is looking for the product, not the
 * article title — so the product is what they should hit first.
 */
.ph-post__item {
	color: var(--pgpl-ultra);
	font-size: var(--t-xs);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ph-post__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--ph-ink);
	font-family: var(--ph-display);
	font-size: var(--t-md);
	font-weight: 700;
	line-height: 1.26;
	letter-spacing: -0.02em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
	.ph .ph-post:hover .ph-post__title { color: var(--pgpl-ultra); }
}

/* The store's own meta description: a written summary, not a truncated intro. */
.ph-post__desc {
	display: -webkit-box;
	overflow: hidden;
	color: var(--ph-mute);
	font-size: var(--t-sm);
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/*
 * margin-top:auto pins this row to the bottom whatever the title height, so the
 * dates line up across the row.
 */
.ph-post__foot {
	display: flex;
	gap: 0.45rem;
	align-items: center;
	margin-top: auto;
	padding-top: 0.85rem;
	color: var(--ph-mute-2);
	font-size: var(--t-xs);
	font-weight: 600;
	border-top: 1px solid var(--ph-line-2);
}

/* A dot rather than a "·", which sits on the baseline and reads as a typo. */
.ph-post__dot {
	width: 3px;
	height: 3px;
	background: currentColor;
	border-radius: 50%;
	opacity: 0.6;
}

.ph-post__go {
	display: inline-flex;
	width: 26px;
	height: 26px;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	color: var(--ph-mute);
	background: var(--ph-tint);
	border-radius: var(--r-full);
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.ph .ph-post:hover .ph-post__go {
	color: #fff;
	background: var(--pgpl-ultra);
	transform: translateX(2px);
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 68rem) {
	.ph-grid,
	.ph-plans,
	.ph-journal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/*
	 * One column turns the sequence on its side.
	 *
	 * Stacked, each step arrived as picture, then number, then prose — the mock
	 * landed before the reader knew which step they were looking at — and the
	 * horizontal rail had nothing left to thread. Re-ordered into a timeline: the
	 * number and its title on one line, the claim under it, the mock beneath as
	 * the evidence, with the rail running down the gutter the badges already sit
	 * in and carrying the eye from one step to the next.
	 *
	 * Grid placement only. The markup order is untouched, so the order a screen
	 * reader announces is the order it always had.
	 */
	.ph-flow {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.6rem;
	}

	.ph-flow::before { display: none; }

	.ph-flow__step {
		display: grid;
		grid-template-columns: var(--flow-n) minmax(0, 1fr);
		column-gap: 0.85rem;
		align-items: start;
	}

	.ph-flow__n {
		grid-area: 1 / 1;
		align-self: center;
		margin-bottom: 0;
	}

	.ph-flow__title {
		grid-area: 1 / 2;
		align-self: center;
		margin: 0;
	}

	/*
	 * Capped to a measure. Freed from its column the line ran the full width of a
	 * tablet — 90-odd characters for a sentence of eleven, which is a harder read
	 * than the three-column version it replaced.
	 */
	.ph-flow__body {
		grid-area: 2 / 2;
		max-width: 46ch;
		margin-top: 0.3rem;
	}

	/*
	 * Capped, not full-bleed. At the top of this range the frame would run most
	 * of a tablet's width at 132px tall, which is a letterbox rather than a
	 * screen; the cap keeps its proportions close to what the three-column
	 * layout gives it, and phones are narrower than the cap anyway.
	 */
	.ph-flow__mock {
		grid-area: 3 / 2;
		max-width: 30rem;
		margin: 0.85rem 0 0;
	}

	/* The rail, vertical now: badge to badge, clearing both. */
	.ph-flow__step:not(:last-child)::before {
		content: "";
		position: absolute;
		top: var(--flow-n);
		bottom: -1.6rem;
		left: calc(var(--flow-n) / 2);
		width: 1px;
		background: var(--ph-line);
		transform: translateX(-0.5px);
		pointer-events: none;
	}
}

@media (max-width: 48rem) {
	.ph-sec__head {
		align-items: flex-start;
		flex-direction: column;
	}

	/* The tab strip scrolls rather than wrapping into a second row. */
	.ph-tabs {
		width: 100%;
		overflow-x: auto;
		flex-wrap: nowrap;
		scrollbar-width: none;
		/*
		 * Snapping is the affordance. The strip is 478px of chips in 358px of
		 * room, and without it a flick lands mid-chip — which reads as a layout
		 * fault rather than as "there is more to the right".
		 */
		scroll-snap-type: x proximity;
		scroll-padding-left: 0.3rem;
		-webkit-overflow-scrolling: touch;
	}

	.ph-tabs::-webkit-scrollbar { display: none; }

	.ph-tab {
		white-space: nowrap;
		scroll-snap-align: start;
		/* Tighter chips fit two and a half in view, so the third is visibly there. */
		padding: 0.55rem 0.9rem;
	}

	.ph-hero__cta .ph-btn { flex: 1 1 100%; }

	/*
	 * A pill radius needs a pill's proportions. Stacked to four rows this box is
	 * 174px tall, and 999px corners turned it into a stadium whose curve cut into
	 * the first and last lines of its own list.
	 */
	.ph-common {
		padding: 1.1rem 1.25rem;
		border-radius: var(--r-lg);
	}

	.ph-common ul { gap: 0.5rem 1.3rem; }

	/*
	 * The recommended card's overhang only works across a row.
	 *
	 * Stacked, the -0.6rem block margin pulled it up into the card above until
	 * the "most chosen" flag — which hangs 0.72rem past the card's own top edge —
	 * overlapped the monthly plan by 5px, and the -0.2rem inline margin left the
	 * other three cards sitting 3px narrower than it. Both are lateral devices;
	 * in a single column the row gap does the same job honestly.
	 */
	.ph-plans {
		gap: 1.75rem 1rem;
		padding: 1.1rem 0 0.6rem;
	}

	.ph-plan.is-best {
		margin: 0;
		padding: 1.7rem 1.4rem;
	}

	/* The 3rem right gutter was reserving room for a sign that is no longer beside it. */
	.ph-faq__a { padding-right: 0.25rem; }

	/* 38px was under the 44px touch minimum once these became the full card width. */
	.ph-card__btn { padding: 0.7rem 0.9rem; }
}

@media (max-width: 30rem) {
	/*
	 * Two columns put the journal cards at 170px — a headline clamped to two
	 * lines that had room for three words, and a footer where "1 Aug 2026" and
	 * "10 min" each broke over two lines. A review index that cannot show what
	 * was reviewed is worth less than the half page-height it saves.
	 */
	.ph-grid,
	.ph-plans,
	.ph-journal__grid { grid-template-columns: minmax(0, 1fr); }

	/*
	 * 35px set the headline flush to both gutters, so the page had no margin left
	 * to breathe in. The cap keeps the larger phones where they were.
	 */
	.ph-hero__title { font-size: clamp(1.75rem, 8.5vw, 2.2rem); }

	.ph-hero__promises { gap: 0.55rem 0.9rem; }

	.ph-sec__head { margin-bottom: 1.4rem; }

	/*
	 * The savings slot is reserved so four cards keep their rows in step. In one
	 * column there is no row to keep step with, and the two plans that save
	 * nothing were left holding an inch of empty card.
	 */
	.ph-plan__sub { min-height: 0; }
	.ph-plan__sub:empty { margin: 0; }

	.ph-proof > div { padding: 1.05rem 0.9rem; }

	/* 16/10 is a lot of banner once the card runs the full width of the screen. */
	.ph-post__art { aspect-ratio: 16 / 9; }

	/*
	 * At one per row the tile flattened to 358x150 and the mosaic behind it — nine
	 * cells stretched across that band — became stripes rather than products.
	 *
	 * The grid stays at three columns and is NOT widened to four: the shelf art is
	 * exactly nine images, so three columns fill three rows precisely, and a
	 * fourth column leaves the last row three cells short — bare gradient across
	 * the bottom of the tile, which is worse than any amount of letterboxing.
	 *
	 * The height is what fixes the squeeze instead. 14rem puts each cell at
	 * roughly 119x75 — the same 16:10 the product cards crop their artwork to — so
	 * the mosaic reads as a wall of products rather than as stripes.
	 */
	.ph-more { min-height: 14rem; }

	.ph-faq-grid { grid-template-columns: minmax(0, 1fr); }
	.ph-faq-aside { position: static; }
}

@media (prefers-reduced-motion: reduce) {
	.ph .ph-card,
	.ph-card__art img,
	.ph .ph-btn,
	.ph-card__btn { transition: none; }

	.ph .ph-card:hover { transform: none; }
	.ph .ph-card:hover .ph-card__art img { transform: none; }
}

/* ========================================================================== *
   DK PRO THEME — Gutenberg block bridge
   The supplied design system stays above this layer. These classes make its
   components safe inside Gutenberg's generated wrappers while keeping every
   content element editable.
   ========================================================================== */

:root {
  --dkp-primary: #3c50ff;
  --dkp-primary-deep: #2716c6;
  --dkp-ink: #0b0e1c;
  --dkp-mute: #55607d;
  --dkp-tint: #f6f7fd;
  --dkp-line: rgba(11, 14, 28, .09);
  --dkp-white: #fff;
  --dkp-max: 1240px;
  --dkp-gap: clamp(.75rem, 1.6vw, 1.15rem);
  --dkp-radius: 22px;
}

.dkp-element,
.dkp-element * { box-sizing: border-box; }

.dkp-element { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.dkp-element figure,
.dkp-element .wp-block-image { margin: 0; }
.dkp-element img { max-width: 100%; height: auto; }
.dkp-element .wp-block-group { min-width: 0; }
.dkp-element .wp-block-heading,
.dkp-element .wp-block-paragraph { margin-block-start: 0; }

/* Gutenberg's default editor wrappers must not create horizontal overflow. */
.editor-styles-wrapper .dkp-element,
.wp-site-blocks .dkp-element,
.site-content .dkp-element { max-width: 100%; }

.dkp-editor-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  z-index: 20;
  margin: 0 0 .5rem;
  padding: .22rem .55rem;
  color: var(--dkp-primary);
  background: rgba(60,80,255,.08);
  border: 1px solid rgba(60,80,255,.14);
  border-radius: 999px;
  font: 700 .68rem/1.1 system-ui, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Gutenberg editor should look like the actual component instead of a stack of
   unstyled blocks. The small label disappears on the public site. */
.editor-styles-wrapper .dkp-element {
  position: relative;
  isolation: isolate;
}
.editor-styles-wrapper .dkp-element .wp-block-button a {
  pointer-events: auto;
}
body:not(.block-editor-page) .dkp-editor-label { display: none; }

.dkp-proof-block .ph-wrap,
.dkp-product-grid-block .ph-wrap,
.dkp-flow-block .ph-wrap,
.dkp-pricing-block .ph-wrap,
.dkp-reassurance-block .ph-wrap,
.dkp-faq-block .ph-wrap,
.dkp-journal-block .ph-wrap,
.dkp-feature-grid-block .ph-wrap,
.dkp-mini-row-block .ph-wrap,
.dkp-section-header-block .ph-wrap,
.dkp-tabs-block .ph-wrap,
.dkp-browse-block .ph-wrap,
.dkp-cta-block .ph-wrap,
.dkp-aurora-section-block .ph-wrap { max-width: var(--dkp-max); margin-inline: auto; }

/* Proof / stats */
.dkp-proof-block .ph-proof { width: 100%; }
.dkp-proof-item { min-width: 0; }
.dkp-proof-value {
  margin: 0;
  color: #fff;
  font-family: var(--ph-display, system-ui, sans-serif);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
}
.dkp-proof-label {
  margin: .42rem 0 0;
  color: rgba(226,230,255,.65);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Product cards */
.dkp-product-grid-block .ph-grid { align-items: stretch; }
.dkp-product-grid-block .ph-card { min-width: 0; height: 100%; }
.dkp-card .ph-card__body .wp-block-button,
.dkp-card .ph-card__body .wp-block-button__link { width: 100%; }
.dkp-card .ph-card__art .wp-block-image { height: 100%; }
.dkp-card .ph-card__art .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dkp-card .ph-card__price { display: inline-block; }
.dkp-meta { color: var(--ph-mute-2, #66708b); }

/* Browse tile */
.dkp-browse-tile { min-height: 100%; }
.dkp-browse-tile .ph-more__mosaic { pointer-events: none; }
.dkp-browse-tile .ph-more__mosaic .wp-block-image { overflow: hidden; min-width: 0; }
.dkp-browse-tile .ph-more__mosaic .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }

/* How it works */
.dkp-flow-block .ph-flow > .wp-block-group { min-width: 0; }
.dkp-flow-block .ph-mock {
  min-width: 0;
  overflow: hidden;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--ph-line, rgba(11,14,28,.09));
  border-radius: var(--r-lg, 22px);
  box-shadow: 0 18px 42px -28px rgba(11,14,28,.45);
}
.dkp-flow-block .ph-mock .wp-block-image { margin: 0 0 .8rem; }
.dkp-flow-block .ph-mock .wp-block-image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-sm, 10px); }
.dkp-flow-block .ph-mock__label { margin: 0 0 .35rem; color: var(--ph-mute-2,#66708b); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.dkp-flow-block .ph-mock__title { margin: 0 0 .35rem; color: var(--ph-ink,#0b0e1c); font-weight: 800; }
.dkp-flow-block .ph-mock__copy { margin: 0; color: var(--ph-mute,#55607d); font-size: .9rem; }
.dkp-flow-block .ph-flow__badge { display: flex; justify-content: center; margin-top: 1rem; }
.dkp-flow-block .ph-flow__number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0; color: #fff; background: var(--dkp-primary); border: 4px solid var(--ph-bg,#fff); border-radius: 999px; font-weight: 800; }

/* Pricing */
.dkp-pricing-block .ph-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--dkp-gap); }
.dkp-price-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.2rem, 2.3vw, 1.7rem);
  background: #fff;
  border: 1px solid var(--ph-line, rgba(11,14,28,.09));
  border-radius: var(--r-lg, 22px);
  box-shadow: 0 22px 50px -34px rgba(11,14,28,.45);
}
.dkp-price-card.ph-plan--featured {
  border-color: rgba(60,80,255,.45);
  box-shadow: 0 28px 58px -32px rgba(60,80,255,.45);
  transform: translateY(-3px);
}
.dkp-price-card .ph-plan__name { margin: 0; color: var(--ph-ink,#0b0e1c); font-size: 1.1rem; }
.dkp-price-card .ph-plan__price { margin: .5rem 0; color: var(--ph-ink,#0b0e1c); font-family: var(--ph-display,system-ui,sans-serif); font-size: clamp(2rem,4vw,2.65rem); font-weight: 800; line-height: 1; }
.dkp-price-card .ph-plan__lede { margin: 0; color: var(--ph-mute,#55607d); font-size: .9rem; }
.dkp-price-card .ph-plan__features { display: grid; gap: .5rem; margin: 1.2rem 0; }
.dkp-price-card .ph-plan__feature { margin: 0; color: var(--ph-ink,#0b0e1c); font-size: .9rem; }
.dkp-price-card .ph-plan__cta { margin-top: auto; }
.dkp-price-card .wp-block-button,
.dkp-price-card .wp-block-button__link { width: 100%; }

/* Trust row */
.dkp-common-item { margin: 0; color: var(--ph-ink,#0b0e1c); font-size: var(--t-sm, .925rem); font-weight: 600; }

/* FAQ */
.dkp-faq-block .ph-faq { display: grid; gap: .65rem; }
.dkp-faq-block details.ph-faq__item {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--ph-line, rgba(11,14,28,.09));
  border-radius: var(--r-md,16px);
  overflow: hidden;
}
.dkp-faq-block details.ph-faq__item summary { cursor: pointer; padding: 1rem 3rem 1rem 1rem; color: var(--ph-ink,#0b0e1c); font-weight: 750; list-style-position: inside; }
.dkp-faq-block details.ph-faq__item > .wp-block-paragraph { margin: 0; padding: 0 1rem 1rem; color: var(--ph-mute,#55607d); }

/* Reviews / glass cards */
.dkp-reviews-block .ph-sec__title,
.dkp-reviews-block .ph-eyebrow,
.dkp-cta-block .ph-eyebrow,
.dkp-aurora-section-block .ph-eyebrow { color: #fff; }
.dkp-reviews-block .ph-sec__lede { color: rgba(226,230,255,.72); }
.dkp-review { min-width: 0; }
.dkp-review .wp-block-paragraph { margin: 0; }
.dkp-review .ph-stars { color: #00d68f; }
.dkp-review .ph-review__avatar { flex: 0 0 24px; }

/* Journal cards */
.dkp-journal-block .ph-journal__grid { align-items: stretch; }
.dkp-journal-block .ph-post { min-width: 0; height: 100%; }
.dkp-journal-block .ph-post .wp-block-image { margin: 0; }
.dkp-journal-block .ph-post .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dkp-journal-block .ph-post__type { margin-top: 1rem; }
.dkp-journal-block .ph-post__title { margin: .35rem 0; }
.dkp-journal-block .ph-post__excerpt { margin: 0 0 1rem; }

/* Features */
.dkp-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--dkp-gap); }
.dkp-feature {
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  background: #fff;
  border: 1px solid var(--ph-line, rgba(11,14,28,.09));
  border-radius: var(--r-lg, 22px);
  box-shadow: 0 18px 42px -30px rgba(11,14,28,.4);
}
.dkp-feature-number { margin: 0; color: var(--dkp-primary); font-weight: 800; }
.dkp-feature-title { margin: .45rem 0 .55rem; color: var(--ph-ink,#0b0e1c); }
.dkp-feature-copy { margin: 0; color: var(--ph-mute,#55607d); }

/* Mini row */
.dkp-mini-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; background: var(--ph-tint,#f6f7fd); border: 1px solid var(--ph-line,rgba(11,14,28,.09)); border-radius: var(--r-lg,22px); overflow: hidden; }
.dkp-mini-item { display: flex; gap: .75rem; align-items: flex-start; min-width: 0; padding: 1rem 1.1rem; }
.dkp-mini-item + .dkp-mini-item { border-left: 1px solid var(--ph-line,rgba(11,14,28,.09)); }
.dkp-mini-icon { margin: .05rem 0 0; color: var(--dkp-primary); font-size: 1.2rem; line-height: 1; }
.dkp-mini-title { margin: 0 0 .2rem; color: var(--ph-ink,#0b0e1c); }
.dkp-mini-copy { margin: 0; color: var(--ph-mute,#55607d); font-size: .82rem; }

/* CTA */
.dkp-cta-inner { display: flex; gap: 1.25rem; align-items: end; justify-content: space-between; flex-wrap: wrap; padding: clamp(1.5rem, 3vw, 2.3rem); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg,22px); backdrop-filter: blur(10px); }
.dkp-cta-title, .dkp-aurora-title { margin: .45rem 0 0; color: #fff; font-family: var(--ph-display,system-ui,sans-serif); font-size: var(--t-2xl,2.2rem); line-height: 1.05; }
.dkp-cta-copy, .dkp-aurora-copy { max-width: 60ch; margin: .75rem 0 0; color: rgba(226,230,255,.72); }

/* Tabs */
.dkp-tabs-block .ph-tabs { width: fit-content; max-width: 100%; }
.dkp-tab-panel { margin-top: 1rem; padding: clamp(1rem,2.2vw,1.5rem); background: #fff; border: 1px solid var(--ph-line,rgba(11,14,28,.09)); border-radius: var(--r-lg,22px); }
.dkp-tab-title { margin: 0; color: var(--ph-ink,#0b0e1c); }
.dkp-tab-copy { color: var(--ph-mute,#55607d); }
.dkp-tab-image img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--r-md,16px); }

/* Ensure Core Buttons inherit the supplied premium button system. */
.dkp-element .ph-btn .wp-block-button__link,
.dkp-element .wp-block-button.ph-btn .wp-block-button__link {
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.dkp-element .ph-btn--solid .wp-block-button__link { background: var(--dkp-primary); color: #fff; box-shadow: 0 16px 34px -16px rgba(60,80,255,.95); }
.dkp-element .ph-btn--ghost .wp-block-button__link { background: #fff; color: var(--ph-ink,#0b0e1c); border: 1px solid rgba(11,14,28,.14); }

/* Tablet */
@media (max-width: 980px) {
  .dkp-pricing-block .ph-plans,
  .dkp-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dkp-mini-row { grid-template-columns: 1fr; }
  .dkp-mini-item + .dkp-mini-item { border-left: 0; border-top: 1px solid var(--ph-line,rgba(11,14,28,.09)); }
}

/* Phone */
@media (max-width: 640px) {
  .dkp-element { width: 100%; max-width: 100vw; }
  .dkp-element .ph-wrap { width: 100%; padding-inline: 1rem; }
  .dkp-editor-label { font-size: .62rem; }
  .dkp-pricing-block .ph-plans,
  .dkp-feature-grid { grid-template-columns: 1fr; }
  .dkp-price-card.ph-plan--featured { transform: none; }
  .dkp-proof-block .ph-proof { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dkp-cta-inner { align-items: stretch; }
  .dkp-cta-inner .wp-block-button,
  .dkp-cta-inner .wp-block-button__link { width: 100%; }
  .dkp-tabs-block .ph-tabs { width: 100%; border-radius: 16px; }
  .dkp-tabs-block .ph-tab { flex: 1 1 auto; text-align: center; }
  .dkp-journal-block .ph-journal__grid { grid-template-columns: 1fr; }
  .dkp-product-grid-block .ph-grid { grid-template-columns: repeat(1,minmax(0,1fr)); }
  .dkp-flow-block .ph-flow { grid-template-columns: 1fr; gap: 1rem; }
  .dkp-flow-block .ph-flow::before { display: none; }
  .dkp-flow-block .ph-flow__step { padding-bottom: .25rem; }
  .dkp-flow-block .ph-flow__badge { margin-top: .75rem; }
  .dkp-aurora-title,
  .dkp-cta-title { font-size: clamp(1.7rem,8vw,2.25rem); }
  .dkp-element .wp-block-buttons { width: 100%; }
  .dkp-element .wp-block-buttons .wp-block-button { flex: 1 1 100%; width: 100%; }
  .dkp-element .wp-block-buttons .wp-block-button__link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dkp-element *,
  .dkp-element *::before,
  .dkp-element *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
