/*
 * Plugin pages: the long layout (inc/product-page.php).
 *
 *  1. The page        full width sections on paper, tint and ink
 *  2. The top         icon, name, facts and a screenshot
 *  3. Section links   the bar that rides under the header
 *  4. Parts           headings, screenshots, lists, code, questions
 *  5. Layouts         one per kind of section; each page uses its own mix
 *  6. Demos           things a visitor can try
 *  7. Arrivals        how sections come into view
 *
 * Built on market.css (tokens, tags, buttons) and brought to life by
 * assets/js/product.js. Also loaded on a page built from the same sections
 * (Pricing).
 */

/* ---------- 1. The page -------------------------------------------------- */
.cr-pp {
	--cr-pp-gap: clamp(3.25rem, 7vw, 6rem);

	clear: both;
}

.cr-pp-sec {
	position: relative;
	padding-block: var(--cr-pp-gap);
	scroll-margin-top: calc(var(--cr-pp-top, 4.5rem) + 3.25rem);
}

.cr-pp > .cr-tiers {
	padding-block: var(--cr-pp-gap) calc(var(--cr-pp-gap) * 0.6);
	scroll-margin-top: calc(var(--cr-pp-top, 4.5rem) + 3.25rem);
}

/* A background from one edge of the window to the other. */
.cr-pp-sec--tint,
.cr-pp-sec--ink {
	clip-path: inset(0 -100vmax);
}

.cr-pp-sec--tint {
	background: var(--dl-color-surface);
	box-shadow: 0 0 0 100vmax var(--dl-color-surface);
}

.cr-pp-sec--ink {
	--cr-line: rgb(255 255 255 / 13%);
	--dl-color-text-muted: rgb(255 255 255 / 68%);

	background: var(--cr-ink);
	box-shadow: 0 0 0 100vmax var(--cr-ink);
	color: #fff;
}

.cr-pp-sec--ink h2,
.cr-pp-sec--ink h3 {
	color: #fff;
}

.cr-pp-sec--ink .cr-eyebrow {
	color: #ff8dc0;
}

.cr-pp-sec--ink code {
	background: rgb(255 255 255 / 10%);
	color: #ffd3e6;
}

.cr-pp-sec--lead {
	padding-block-start: clamp(2.5rem, 5vw, 4rem);
}

.cr-pp-sec--band {
	padding-block: 0 var(--cr-pp-gap);
}

.cr-pp-sec--tint + .cr-pp-sec--band,
.cr-pp-sec--ink + .cr-pp-sec--band {
	padding-block-start: var(--cr-pp-gap);
}

/* The theme spaces the items of a list in running text; these lists space themselves. */
.cr-pp :is(ul, ol) > li {
	margin-block-start: 0;
}

.cr-pp code {
	padding: 0.1em 0.35em;
	border-radius: 5px;
	background: rgb(27 16 22 / 6%);
	font-size: 0.875em;
}

.cr-pp kbd {
	padding: 0.1rem 0.4rem;
	border: 1px solid var(--cr-line);
	border-block-end-width: 2px;
	border-radius: 6px;
	background: #fff;
	font-size: 0.8125em;
}

.cr-pp pre code {
	padding: 0;
	background: none;
	color: inherit;
	font-size: inherit;
}

.cr-pp-sec a:not([class]) {
	color: var(--cr-brand);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.cr-pp-sec--ink a:not([class]) {
	color: #ff8dc0;
}

.cr-long-product .cr-more {
	margin-block-start: 0;
}

/* ---------- 2. The top --------------------------------------------------- */
.cr-long-product.woocommerce div.product .cr-product-hero {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
	position: relative;
	isolation: isolate;
	padding-block: clamp(2rem, 4.5vw, 3.5rem);
	background: var(--cr-paper);
	box-shadow: 0 0 0 100vmax var(--cr-paper);
}

.cr-long-product .cr-product-hero::before {
	--cr-grid-line: rgb(27 16 22 / 5%);

	content: "";
	position: absolute;
	inset: 0 calc(50% - 50vw);
	z-index: -1;
	background: var(--cr-grid);
	mask-image: radial-gradient(60% 90% at 72% 40%, #000 0%, transparent 78%);
	pointer-events: none;
}

.cr-product-id {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	margin-block: 0.25rem 1rem;
}

.cr-product-id .cr-icon-tile {
	width: 4rem;
}

.cr-product-id__by {
	display: block;
	color: var(--dl-color-text-muted);
	font-family: var(--dl-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-long-product.woocommerce div.product .product_title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
	line-height: 1.05;
}

.cr-product-media {
	position: relative;
	order: 2;
}

.cr-product-media .cr-pp-shot {
	rotate: 0.6deg;
}

.cr-product-media__more {
	position: absolute;
	inset-block-end: -1.5rem;
	inset-inline-start: -1.75rem;
	width: 46%;
	rotate: -2.5deg;
}

.cr-product-media--art {
	max-width: 26rem;
	justify-self: end;
}

.cr-product-media--art img {
	border-radius: 22px;
	box-shadow: 0 30px 60px -30px rgb(27 16 22 / 45%);
}

/* ---------- 3. Section links --------------------------------------------- */
.cr-pp-nav {
	position: sticky;
	inset-block-start: var(--cr-pp-top, 4.5rem);
	z-index: 40;
}

/* Its background and rules, from one edge of the window to the other. */
.cr-pp-nav::before {
	content: "";
	position: absolute;
	inset: 0 calc(50% - 50vw);
	z-index: -1;
	border-block: 1px solid var(--cr-line);
	background: rgb(251 248 246 / 90%);
	backdrop-filter: saturate(1.6) blur(14px);
	pointer-events: none;
}

.cr-pp-nav__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: 3.25rem;
}

.cr-pp-nav__name {
	flex: none;
	max-width: 0;
	overflow: hidden;
	font-family: var(--dl-font-heading);
	font-weight: 700;
	letter-spacing: -0.02em;
	white-space: nowrap;
	opacity: 0;
	transition: max-width 0.5s var(--cr-ease-out, ease), opacity 0.3s ease, margin 0.5s var(--cr-ease-out, ease);
}

.cr-pp-nav.is-stuck .cr-pp-nav__name {
	max-width: 16rem;
	opacity: 1;
}

.cr-pp-nav__list {
	display: flex;
	flex: 1;
	gap: 0.25rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
	mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent);
}

.cr-pp-nav__list::-webkit-scrollbar {
	display: none;
}

.cr-pp-nav__list a {
	position: relative;
	display: block;
	padding: 0.5rem 0.75rem;
	border-radius: 8px;
	color: var(--dl-color-text-muted);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, background 0.2s ease;
}

.cr-pp-nav__list a:hover {
	color: var(--cr-ink);
}

.cr-pp-nav__list a[aria-current] {
	background: var(--cr-ink);
	color: #fff;
}

.woocommerce .cr-pp-nav a.cr-pp-nav__cta {
	flex: none;
	padding: 0.55rem 1rem;
	opacity: 0;
	translate: 0 0.25rem;
	pointer-events: none;
	transition: opacity 0.3s ease, translate 0.4s var(--cr-ease-out, ease);
}

.woocommerce .cr-pp-nav.is-stuck a.cr-pp-nav__cta {
	opacity: 1;
	translate: 0 0;
	pointer-events: auto;
}

/* ---------- 4. Parts ------------------------------------------------------ */
.cr-pp-head {
	max-width: 40rem;
	margin-block-end: clamp(1.75rem, 3.5vw, 2.5rem);
}

.cr-pp-head h2 {
	margin: 0;
	font-size: clamp(1.75rem, 3.6vw, 2.75rem);
	line-height: 1.02;
}

.cr-pp-sec--lead .cr-pp-head h2 {
	font-size: clamp(2rem, 4.4vw, 3.5rem);
}

.cr-pp-head__text {
	margin: 1rem 0 0;
	color: var(--dl-color-text-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.cr-pp-head--center {
	margin-inline: auto;
	text-align: center;
}

.cr-pp-head--center.cr-pp-head {
	max-width: 46rem;
}

.cr-pp-h3,
.cr-pp-sec h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1875rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.cr-pp-aside {
	max-width: 38rem;
	margin: 1.5rem 0 0;
	padding-inline-start: 1rem;
	border-inline-start: 2px solid var(--cr-brand);
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.cr-pp-checks {
	gap: 0.85rem;
	max-width: 38rem;
}

.cr-pp-checks li {
	color: var(--dl-color-text-muted);
}

.cr-pp-checks strong {
	color: var(--dl-color-text);
}

.cr-pp-sec--ink .cr-pp-checks strong {
	color: #fff;
}

.cr-pp-sec--ink .cr-checks li::before {
	background: rgb(255 141 192 / 18%);
}

.cr-pp-sec--ink .cr-checks li::after {
	background: #ff8dc0;
}

.cr-pp-more {
	margin: 2rem 0 0;
}

.cr-pp-head--center ~ .cr-pp-more {
	text-align: center;
}

/* An icon in a small tile. */
.cr-pp-ico {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 11px;
	background: var(--cr-tint);
	color: var(--cr-brand);
}

.cr-pp-ico svg {
	width: 1.25rem;
	height: 1.25rem;
}

.cr-pp-sec--tint .cr-pp-ico {
	background: #fff;
	box-shadow: 0 0 0 1px var(--cr-line);
}

.cr-pp-sec--ink .cr-pp-ico {
	background: rgb(255 141 192 / 14%);
	color: #ff8dc0;
}

/* A screenshot in a window. */
.cr-pp-shot {
	margin: 0;
}

.cr-pp-shot__open {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgb(27 16 22 / 14%);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 0 rgb(27 16 22 / 4%), 0 34px 60px -34px rgb(27 16 22 / 50%);
	cursor: zoom-in;
	transition: box-shadow 0.4s ease, translate 0.6s var(--cr-ease-out, ease);
}

.cr-pp-shot__open:hover {
	box-shadow: 0 2px 0 rgb(27 16 22 / 4%), 0 44px 70px -34px rgb(192 38 109 / 55%);
	translate: 0 -3px;
}

.cr-pp-shot__open:focus-visible {
	outline: 2px solid var(--cr-brand);
	outline-offset: 3px;
}

.cr-pp-shot__bar {
	display: flex;
	gap: 0.3125rem;
	padding: 0.5rem 0.75rem;
	border-block-end: 1px solid rgb(27 16 22 / 8%);
	background: #f6f2ef;
}

.cr-pp-shot__bar i,
.cr-pp-code__dots i {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: rgb(27 16 22 / 16%);
}

.cr-pp-shot__img {
	display: block;
	width: 100%;
	height: auto;
}

.cr-pp-shot__zoom {
	position: absolute;
	inset-block-end: 0.75rem;
	inset-inline-end: 0.75rem;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 10px;
	background: var(--cr-ink);
	color: #fff;
	opacity: 0;
	scale: 0.85;
	transition: opacity 0.25s ease, scale 0.4s var(--cr-ease-out, ease);
}

.cr-pp-shot__zoom svg {
	width: 1.125rem;
	height: 1.125rem;
}

.cr-pp-shot__open:hover .cr-pp-shot__zoom,
.cr-pp-shot__open:focus-visible .cr-pp-shot__zoom {
	opacity: 1;
	scale: 1;
}

.cr-pp-shot figcaption {
	margin-block-start: 0.875rem;
	color: var(--dl-color-text-muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

.cr-pp-viewer {
	max-width: min(100% - 2rem, 1500px);
	max-height: calc(100dvh - 2rem);
	padding: 0;
	overflow: visible;
	border: 0;
	border-radius: 14px;
	background: none;
}

.cr-pp-viewer::backdrop {
	background: rgb(27 16 22 / 82%);
	backdrop-filter: blur(4px);
}

.cr-pp-viewer img {
	display: block;
	max-width: 100%;
	max-height: calc(100dvh - 2rem);
	border-radius: 14px;
	box-shadow: 0 40px 90px -30px #000;
}

.cr-pp-viewer__close {
	position: absolute;
	inset-block-start: -0.75rem;
	inset-inline-end: -0.75rem;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--cr-ink);
	font-size: 1.375rem;
	line-height: 1;
	cursor: pointer;
}

/* A window of code. */
.cr-pp-code,
.cr-pp-term {
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: 16px;
	background: var(--cr-ink);
	box-shadow: 0 34px 60px -34px rgb(27 16 22 / 70%);
	color: #f3e9ee;
}

.cr-pp-code__bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.625rem 0.875rem;
	border-block-end: 1px solid rgb(255 255 255 / 10%);
	color: rgb(255 255 255 / 60%);
}

.cr-pp-code__dots {
	display: flex;
	gap: 0.3125rem;
}

.cr-pp-code__dots i {
	background: rgb(255 255 255 / 22%);
}

.cr-pp-code [role="tablist"] {
	display: flex;
	gap: 0.25rem;
}

.cr-pp-code [role="tab"] {
	padding: 0.3rem 0.625rem;
	border: 0;
	border-radius: 7px;
	background: none;
	color: rgb(255 255 255 / 60%);
	font-family: var(--dl-font-mono);
	font-size: 0.75rem;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.cr-pp-code [role="tab"]:hover {
	color: #fff;
}

.cr-pp-code [role="tab"][aria-selected="true"] {
	background: rgb(255 255 255 / 12%);
	color: #fff;
}

.cr-pp-code pre,
.cr-pp-term pre {
	margin: 0;
	border: 0;
	border-radius: 0;
	padding: 1.25rem;
	overflow-x: auto;
	background: none;
	color: inherit;
	font-size: 0.8125rem;
	line-height: 1.75;
	tab-size: 4;
}

.cr-pp-code pre[hidden] {
	display: none;
}

.cr-pp-term pre {
	max-height: 28rem;
	white-space: pre-wrap;
	word-break: break-word;
}

.cr-pp-term__comment {
	color: rgb(255 255 255 / 45%);
}

.cr-pp-term__prompt {
	color: #ff8dc0;
	user-select: none;
}

/* Small chips of words. */
.cr-pp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin: 0.625rem 0 0;
	padding: 0;
	list-style: none;
}

.cr-pp-chips li {
	padding: 0.3rem 0.625rem;
	border: 1px solid var(--cr-line);
	border-radius: 8px;
	background: #fff;
	font-size: 0.8125rem;
	font-weight: 500;
}

.cr-pp-sec .cr-pp-chips a {
	color: inherit;
	text-decoration: none;
}

.cr-pp-sec .cr-pp-chips a:hover {
	color: var(--cr-brand);
}

.cr-pp-chips--code li {
	font-size: 0.75rem;
}

.cr-pp .cr-pp-chips--code code {
	padding: 0;
	background: none;
	font-size: inherit;
}

/* Notes in a row under a block. */
.cr-pp-notes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1.5rem 2.5rem;
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: clamp(1.5rem, 3vw, 2rem) 0 0;
	border-block-start: 1px solid var(--cr-line);
	list-style: none;
}

.cr-pp-notes li {
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.cr-pp-notes strong {
	color: var(--dl-color-text);
}

.cr-pp-sec--ink .cr-pp-notes strong {
	color: #fff;
}

/* Questions. */
.cr-pp-faq {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.cr-pp-faq__aside {
	position: sticky;
	inset-block-start: calc(var(--cr-pp-top, 4.5rem) + 5rem);
}

.cr-pp-faq__item {
	border-block-end: 1px solid var(--cr-line);
}

.cr-pp-faq__item:first-child {
	border-block-start: 1px solid var(--cr-line);
}

.cr-pp-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.125rem 0;
	font-family: var(--dl-font-heading);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	list-style: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.cr-pp-faq__item summary::-webkit-details-marker {
	display: none;
}

.cr-pp-faq__item summary::after {
	content: "";
	flex: none;
	width: 0.625rem;
	height: 0.625rem;
	margin-inline-end: 0.25rem;
	border-block-end: 2px solid currentColor;
	border-inline-end: 2px solid currentColor;
	rotate: 45deg;
	transition: rotate 0.35s var(--cr-ease-out, ease);
}

.cr-pp-faq__item summary:hover,
.cr-pp-faq__item[open] summary {
	color: var(--cr-brand);
}

.cr-pp-faq__item[open] summary::after {
	rotate: 225deg;
}

.cr-pp-faq__answer {
	padding: 0 2rem 1.25rem 0;
	color: var(--dl-color-text-muted);
	line-height: 1.7;
}

.cr-pp-faq__answer p {
	margin: 0;
}

.cr-pp-faq__item::details-content {
	block-size: 0;
	overflow: clip;
	transition: block-size 0.45s var(--cr-ease-out, ease), content-visibility 0.45s allow-discrete;
}

.cr-pp-faq__item[open]::details-content {
	block-size: auto;
}

/* ---------- 5. Layouts ----------------------------------------------------- */

/* Text beside something. */
.cr-pp-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.cr-pp-split--flip {
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.cr-pp-split--demo,
.cr-pp-split--code {
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
}

.cr-pp-head ~ .cr-pp-split,
.cr-pp-flow + .cr-pp-split,
.cr-pp-hub + .cr-pp-split {
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
}

/* Two screenshots, one over the corner of the other. */
.cr-pp-stack {
	position: relative;
	padding: 0 12% 14% 0;
}

.cr-pp-stack__front {
	position: absolute;
	inset-block-end: 0;
	inset-inline-end: 0;
	width: 62%;
}

/* Overview: a statement over a row of numbers. */
.cr-pp-nums {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: 0;
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-card);
	background: #fff;
	list-style: none;
}

.cr-pp-nums li {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.cr-pp-nums li + li {
	border-inline-start: 1px solid var(--cr-line);
}

.cr-pp-nums strong {
	font-family: var(--dl-font-heading);
	font-size: clamp(1.75rem, 3.6vw, 2.75rem);
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.cr-pp-nums span {
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
}

/* Overview: a statement beside a list. */
.cr-pp-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.cr-pp-intro--wide {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cr-pp-intro .cr-pp-head {
	margin-block-end: 0;
}

.cr-pp-sec--lead .cr-pp-intro .cr-pp-head h2 {
	font-size: clamp(2rem, 3.6vw, 3rem);
}

.cr-pp-uses {
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-card);
	background: #fff;
	box-shadow: var(--cr-shadow-card);
}

.cr-pp-uses > p {
	margin: 0 0 0.75rem;
	color: var(--dl-color-text-muted);
}

.cr-pp-uses ul {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-pp-uses li {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.5rem;
	border-radius: 12px;
	font-size: 0.9375rem;
	line-height: 1.45;
	transition: background 0.25s ease;
}

.cr-pp-uses li:hover {
	background: var(--dl-color-surface);
}

/* Overview: a road with three stops. */
.cr-pp-road {
	position: relative;
	display: grid;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-pp-road::before {
	content: "";
	position: absolute;
	inset-block: 1rem;
	inset-inline-start: 0.9375rem;
	width: 2px;
	background: repeating-linear-gradient(180deg, var(--cr-line) 0 6px, transparent 6px 12px);
}

.cr-pp-road li {
	position: relative;
	padding-inline-start: 3.25rem;
}

.cr-pp-road li p {
	margin: 0;
	color: var(--dl-color-text-muted);
}

.cr-pp-road__dot {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border: 2px solid var(--cr-line);
	border-radius: 50%;
	background: var(--cr-paper);
	color: #fff;
}

.cr-pp-road__dot svg {
	width: 1rem;
	height: 1rem;
}

.cr-pp-road .is-done .cr-pp-road__dot {
	border-color: var(--cr-ink);
	background: var(--cr-ink);
}

.cr-pp-road .is-now .cr-pp-road__dot {
	border-color: var(--cr-brand);
}

.cr-pp-road .is-now .cr-pp-road__dot::after {
	content: "";
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 50%;
	background: var(--cr-brand);
}

/* Steps as tabs, beside the screenshot of the chosen one. */
.cr-pp-steps {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.cr-pp-steps__list {
	display: grid;
	gap: 0.5rem;
}

.cr-pp-steps [role="tab"] {
	position: relative;
	display: flex;
	gap: 1rem;
	width: 100%;
	padding: 1.125rem 1.25rem;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: var(--cr-radius-card);
	background: none;
	color: inherit;
	font: inherit;
	text-align: start;
	cursor: pointer;
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cr-pp-steps [role="tab"]:hover {
	background: rgb(255 255 255 / 60%);
}

.cr-pp-steps [role="tab"][aria-selected="true"] {
	border-color: var(--cr-line);
	background: #fff;
	box-shadow: var(--cr-shadow-card);
}

.cr-pp-steps [role="tab"]:focus-visible {
	outline: 2px solid var(--cr-brand);
	outline-offset: 2px;
}

.cr-pp-steps__n {
	display: grid;
	flex: none;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--cr-line);
	border-radius: 9px;
	background: #fff;
	font-family: var(--dl-font-mono);
	font-size: 0.8125rem;
	font-weight: 600;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cr-pp-steps [aria-selected="true"] .cr-pp-steps__n {
	border-color: var(--cr-brand);
	background: var(--cr-brand);
	color: #fff;
}

.cr-pp-steps__text {
	display: grid;
	gap: 0.375rem;
}

.cr-pp-steps__text strong {
	font-family: var(--dl-font-heading);
	font-size: 1.1875rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

/* Only the chosen step spells itself out. */
.cr-pp-steps__text span {
	display: block;
	max-height: 0;
	overflow: hidden;
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
	opacity: 0;
	transition: max-height 0.55s var(--cr-ease-out, ease), opacity 0.35s ease;
}

.cr-pp-steps [aria-selected="true"] .cr-pp-steps__text span {
	max-height: 12rem;
	opacity: 1;
}

/* The time left before the next step shows itself. */
.cr-pp-steps__bar {
	position: absolute;
	inset-block-end: 0;
	inset-inline: 0;
	height: 3px;
	background: var(--cr-brand);
	scale: 0 1;
	transform-origin: 0 50%;
}

.cr-pp-steps.is-playing [aria-selected="true"] .cr-pp-steps__bar {
	animation: cr-pp-fill var(--cr-pp-every, 6s) linear both;
}

@keyframes cr-pp-fill {
	to {
		scale: 1 1;
	}
}

.cr-pp-steps__stage [role="tabpanel"]:not([hidden]) {
	animation: cr-pp-swap 0.6s var(--cr-ease-out, ease) both;
}

@keyframes cr-pp-swap {
	from {
		opacity: 0;
		translate: 1.25rem 0;
		scale: 0.985;
	}
}

/* A ruled list: a name, then what it is. */
.cr-pp-rows {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: cr-row;
}

.cr-pp-rows li {
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 0.5rem 1rem;
	align-items: baseline;
	padding: 0.9rem 0;
	border-block-start: 1px solid var(--cr-line);
	counter-increment: cr-row;
	transition: padding 0.4s var(--cr-ease-out, ease), background 0.3s ease;
}

.cr-pp-rows li:last-child {
	border-block-end: 1px solid var(--cr-line);
}

.cr-pp-rows li::before {
	content: counter(cr-row, decimal-leading-zero);
	color: var(--cr-brand);
	font-family: var(--dl-font-mono);
	font-size: 0.75rem;
}

.cr-pp-rows li:hover {
	padding-inline-start: 0.5rem;
}

.cr-pp-rows strong {
	font-family: var(--dl-font-heading);
	font-size: 1.0625rem;
	letter-spacing: -0.015em;
}

.cr-pp-rows span {
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
}

/* Every field type at once, by group. */
.cr-pp-fields__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.375rem;
	margin-block-end: 1.5rem;
}

.cr-pp-fields__filters button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-control);
	background: none;
	color: rgb(255 255 255 / 80%);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cr-pp-fields__filters button b {
	font-family: var(--dl-font-mono);
	font-size: 0.6875rem;
	font-weight: 500;
	opacity: 0.7;
}

.cr-pp-fields__filters button:hover {
	border-color: #fff;
	color: #fff;
}

.cr-pp-fields__filters button[aria-pressed="true"] {
	border-color: #fff;
	background: #fff;
	color: var(--cr-ink);
}

.cr-pp-fields__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.5rem;
	max-width: 62rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

/* Below the base rule, so it wins: as many columns as fit, never five squeezed ones. */
@media (width < 900px) {
	.cr-pp-fields__grid {
		grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
	}
}

.cr-pp-fields__grid li {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.8rem 0.875rem;
	border: 1px solid var(--cr-line);
	border-radius: 12px;
	background: rgb(255 255 255 / 4%);
	font-size: 0.9375rem;
	font-weight: 500;
	transition: opacity 0.35s ease, scale 0.45s var(--cr-ease-out, ease), background 0.25s ease, border-color 0.25s ease;
}

.cr-pp-fields__grid li:hover {
	border-color: rgb(255 255 255 / 40%);
	background: rgb(255 255 255 / 9%);
}

.cr-pp-fields__grid li.is-dim {
	opacity: 0.22;
	scale: 0.97;
}

.cr-pp-fields__grid i {
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 2px;
	background: #ff8dc0;
	rotate: 45deg;
}

.cr-pp-fields__grid [data-group="advanced"] i {
	background: #ffd166;
}

.cr-pp-fields__grid [data-group="pricing"] i {
	background: #7ee0b4;
}

.cr-pp-fields__grid [data-group="layout"] i {
	background: #9db8ff;
}

/* A line of names passing by. */
.cr-pp-marquee {
	display: flex;
	gap: 0.625rem;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.cr-pp-marquee ul {
	display: flex;
	flex: none;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-pp-marquee li {
	padding: 0.7rem 1.125rem;
	border: 1px solid var(--cr-line);
	border-radius: 12px;
	background: rgb(255 255 255 / 5%);
	font-family: var(--dl-font-heading);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	white-space: nowrap;
}

/* Two things side by side, each under its screenshot. */
.cr-pp-duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
}

.cr-pp-duo__item h3 {
	margin-block: 1.5rem 0.875rem;
	font-size: 1.375rem;
}

/* Cells of different sizes. */
.cr-pp-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-pp-bento__item {
	padding: 1.5rem;
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-card);
	background: #fff;
	transition: border-color 0.3s ease, box-shadow 0.4s ease, translate 0.5s var(--cr-ease-out, ease);
}

.cr-pp-bento__item:hover {
	border-color: rgb(27 16 22 / 26%);
	box-shadow: var(--cr-shadow-lift);
	translate: 0 -3px;
}

.cr-pp-bento__item--wide {
	grid-column: span 2;
}

.cr-pp-bento__item:first-child {
	background: var(--cr-hero-gradient);
	border-color: transparent;
	color: #fff;
}

.cr-pp-bento__item:first-child h3 {
	color: #fff;
	font-size: 1.5rem;
}

.cr-pp-bento__item:first-child p {
	color: rgb(255 255 255 / 78%);
}

.cr-pp-bento__item:first-child .cr-pp-ico {
	background: rgb(255 255 255 / 14%);
	color: #fff;
}

.cr-pp-bento__item h3 {
	margin-block: 1.125rem 0.5rem;
}

.cr-pp-bento__item p {
	margin: 0;
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Free beside Pro. */
.cr-pp-compare {
	max-width: 52rem;
	margin-inline: auto;
	overflow: hidden;
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-card);
	background: #fff;
	box-shadow: var(--cr-shadow-card);
}

.cr-pp-compare table,
.cr-pp-recipes table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.cr-pp-compare th,
.cr-pp-compare td {
	padding: 0.875rem 1.25rem;
	border: 0;
	border-block-start: 1px solid var(--cr-line);
	background: none;
	text-align: center;
}

.cr-pp-compare thead th {
	border-block-start: 0;
	font-family: var(--dl-font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-pp-compare tbody th {
	font-weight: 500;
	text-align: start;
}

.cr-pp-compare th:last-child,
.cr-pp-compare td:last-child {
	background: var(--cr-tint);
}

.cr-pp-compare tbody tr {
	transition: background 0.2s ease;
}

.cr-pp-compare tbody tr:hover {
	background: var(--dl-color-surface);
}

.cr-pp-yes,
.cr-pp-no {
	display: inline-grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
}

.cr-pp-yes {
	background: var(--cr-brand);
	color: #fff;
}

.cr-pp-yes svg,
.cr-pp-no svg {
	width: 0.875rem;
	height: 0.875rem;
	stroke-width: 3;
}

.cr-pp-no {
	color: var(--dl-color-text-muted);
}

/* Payments: five steps on one line. */
.cr-pp-flow {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-pp-flow::before,
.cr-pp-flow::after {
	content: "";
	position: absolute;
	inset-block-start: 1.125rem;
	inset-inline: 1.125rem;
	height: 2px;
	background: var(--cr-line);
}

.cr-pp-flow::after {
	background: linear-gradient(90deg, #ff8dc0, var(--cr-brand));
	scale: 0 1;
	transform-origin: 0 50%;
	transition: scale 2.2s var(--cr-ease-soft, ease) 0.2s;
}

.cr-pp-flow.is-in::after {
	scale: 1 1;
}

.cr-pp-flow li {
	position: relative;
	z-index: 1;
}

.cr-pp-flow__n {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-block-end: 1.125rem;
	border: 2px solid rgb(255 255 255 / 28%);
	border-radius: 50%;
	background: var(--cr-ink);
	font-family: var(--dl-font-mono);
	font-size: 0.8125rem;
	font-weight: 600;
	transition: border-color 0.4s ease, background 0.4s ease;
}

.cr-pp-flow.is-in .cr-pp-flow__n {
	border-color: #ff8dc0;
}

.cr-pp-flow.is-in li:last-child .cr-pp-flow__n {
	background: var(--cr-brand);
	border-color: var(--cr-brand);
	transition-delay: 2.2s;
}

.cr-pp-flow li:nth-child(2) .cr-pp-flow__n { transition-delay: 0.55s; }
.cr-pp-flow li:nth-child(3) .cr-pp-flow__n { transition-delay: 1.1s; }
.cr-pp-flow li:nth-child(4) .cr-pp-flow__n { transition-delay: 1.65s; }

.cr-pp-flow p {
	margin: 0;
	color: var(--dl-color-text-muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

/* Three settings in a column. */
.cr-pp-trio {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-pp-trio li {
	display: flex;
	gap: 1rem;
}

.cr-pp-trio h3 {
	margin-block-end: 0.25rem;
	font-size: 1.0625rem;
}

.cr-pp-trio p {
	margin: 0;
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Integrations: one source, five destinations. */
.cr-pp-hub {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.cr-pp-hub__source {
	position: relative;
	padding: 1.75rem;
	border-radius: var(--cr-radius-card);
	background: var(--cr-hero-gradient);
	color: #fff;
}

.cr-pp-hub__source h3 {
	margin-block: 1.125rem 0.5rem;
	color: #fff;
	font-size: 1.5rem;
}

.cr-pp-hub__source p {
	margin: 0;
	color: rgb(255 255 255 / 78%);
	line-height: 1.6;
}

.cr-pp-hub__source .cr-pp-ico {
	background: rgb(255 255 255 / 14%);
	color: #fff;
}

.cr-pp-hub__source .cr-pp-hub__key {
	margin-block-start: 1.125rem;
	padding-block-start: 1.125rem;
	border-block-start: 1px solid rgb(255 255 255 / 16%);
	font-size: 0.875rem;
}

/* The line an entry travels along. */
.cr-pp-hub__source::after {
	content: "";
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: 100%;
	width: clamp(2rem, 6vw, 6rem);
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--cr-brand) 0 6px, transparent 6px 12px);
	animation: cr-pp-dash 0.9s linear infinite;
}

@keyframes cr-pp-dash {
	to {
		background-position: 12px 0;
	}
}

.cr-pp-hub__targets {
	display: grid;
	margin: 0;
	padding: 0 0 0 1.5rem;
	border-inline-start: 2px solid var(--cr-line);
	list-style: none;
}

.cr-pp-hub__targets li {
	position: relative;
	display: flex;
	gap: 1rem;
	padding: 1rem 0;
}

.cr-pp-hub__targets li + li {
	border-block-start: 1px solid var(--cr-line);
}

.cr-pp-hub__targets li::before {
	content: "";
	position: absolute;
	inset-block-start: 1.875rem;
	inset-inline-start: calc(-1.5rem - 6px);
	width: 10px;
	height: 10px;
	border: 2px solid var(--cr-brand);
	border-radius: 50%;
	background: var(--cr-paper);
}

.cr-pp-hub__targets h3 {
	margin-block-end: 0.25rem;
	font-size: 1.0625rem;
}

.cr-pp-hub__targets p {
	margin: 0;
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Recipes: I want to… / use / how. */
.cr-pp-recipes th,
.cr-pp-recipes td {
	padding: 1.125rem 1rem 1.125rem 0;
	border: 0;
	border-block-start: 1px solid var(--cr-line);
	background: none;
	color: var(--dl-color-text-muted);
	text-align: start;
	vertical-align: baseline;
}

.cr-pp-recipes thead th {
	padding-block: 0 0.75rem;
	border: 0;
	color: rgb(255 255 255 / 55%);
	font-family: var(--dl-font-mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-pp-recipes tbody th {
	width: 38%;
	color: #fff;
	font-family: var(--dl-font-heading);
	font-size: 1.1875rem;
	font-weight: 600;
	letter-spacing: -0.015em;
}

.cr-pp-recipes td strong {
	color: #fff;
}

.cr-pp-recipes .cr-tag {
	border-color: rgb(255 141 192 / 40%);
	background: rgb(255 141 192 / 12%);
	color: #ffb3d4;
}

.cr-pp-install {
	margin: 0;
}

/* Relocate: steps that a screenshot follows down the page. */
.cr-pp-scroll {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

/* On a short window the list runs on a little past its last step, so the
   screenshot is still in place while that step is being read. */
.cr-pp-scroll__steps {
	margin: 0;
	padding: 0 0 max(0px, calc(31rem - 47vh));
	list-style: none;
}

.cr-pp-scroll__step {
	padding-block: clamp(1.5rem, 3vw, 2.25rem);
	border-block-start: 1px solid var(--cr-line);
	transition: opacity 0.4s ease;
}

.cr-pp-scroll.is-live .cr-pp-scroll__step:not(.is-active) {
	opacity: 0.42;
}

.cr-pp-scroll__n {
	display: block;
	margin-block-end: 0.625rem;
	color: var(--cr-brand);
	font-family: var(--dl-font-mono);
	font-size: 0.8125rem;
	font-weight: 600;
}

.cr-pp-scroll__step h3 {
	font-size: 1.5rem;
}

.cr-pp-scroll__step p {
	margin: 0;
	color: var(--dl-color-text-muted);
	line-height: 1.7;
}

.cr-pp-scroll__inline {
	display: none;
	margin-block-start: 1.25rem;
}

.cr-pp-scroll__stage {
	position: sticky;
	inset-block-start: calc(var(--cr-pp-top, 4.5rem) + 5rem);
	display: grid;
}

.cr-pp-scroll__frame {
	grid-area: 1 / 1;
	align-self: center;
	opacity: 0;
	scale: 0.97;
	translate: 0 1rem;
	pointer-events: none;
	transition: opacity 0.45s ease, scale 0.7s var(--cr-ease-out, ease), translate 0.7s var(--cr-ease-out, ease);
}

/* Never taller than the room under the header and the bar of links. */
.cr-pp-scroll__frame .cr-pp-shot__img {
	max-height: calc(100vh - var(--cr-pp-top, 4.5rem) - 11rem);
	object-fit: cover;
	object-position: left top;
}

.cr-pp-scroll__frame.is-active {
	opacity: 1;
	scale: 1;
	translate: 0 0;
	pointer-events: auto;
}

/* Relocate: what a plain replace does to a serialized value. */
.cr-pp-serial {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.cr-pp-serial__card {
	margin: 0;
	padding: 1.25rem;
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-card);
	background: rgb(255 255 255 / 4%);
}

.cr-pp-serial__card figcaption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 1.5rem;
	color: rgb(255 255 255 / 60%);
}

.cr-pp-serial__card pre {
	margin: 1rem 0;
	border: 0;
	padding: 1rem;
	overflow-x: auto;
	border-radius: 10px;
	background: rgb(0 0 0 / 28%);
	color: #f3e9ee;
	font-size: 0.8125rem;
	line-height: 1.7;
	white-space: pre-wrap;
	word-break: break-all;
}

.cr-pp-serial__card pre b {
	display: inline-block;
	padding-inline: 0.2em;
	border-radius: 4px;
	background: rgb(255 255 255 / 14%);
	color: #fff;
	transition: background 0.4s ease, rotate 0.32s ease, opacity 0.32s ease;
}

.cr-pp-serial__card mark {
	border-radius: 3px;
	background: rgb(255 141 192 / 28%);
	color: inherit;
}

.cr-pp-serial__card p {
	margin: 0;
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.cr-pp-serial__card--bad {
	border-color: rgb(255 107 107 / 45%);
}

.cr-pp-serial__card--bad pre b {
	background: rgb(255 107 107 / 30%);
	text-decoration: line-through;
}

.cr-pp-serial__card--bad .cr-pp-no {
	background: rgb(255 107 107 / 20%);
	color: #ff8f8f;
}

.cr-pp-serial__card--good {
	border-color: rgb(126 224 180 / 50%);
}

.cr-pp-serial__card--good .cr-pp-yes {
	background: #2fbf86;
}

.cr-pp-serial__card pre b.is-flipping {
	opacity: 0;
	rotate: x 90deg;
}

.cr-pp-serial__card pre b.is-flipped {
	background: rgb(126 224 180 / 30%);
}

/* Relocate: a table worked through in batches. */
.cr-pp-batches {
	padding: 1.5rem;
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-card);
	background: #fff;
	box-shadow: var(--cr-shadow-card);
}

.cr-pp-batches__head,
.cr-pp-batches__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin: 0;
}

.cr-pp-batches__head b {
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
	background: rgb(47 191 134 / 14%);
	color: #177a54;
	font-size: 0.8125rem;
	font-weight: 600;
	transition: background 0.3s ease, color 0.3s ease;
}

.cr-pp-batches[data-state="stop"] .cr-pp-batches__head b {
	background: rgb(220 38 38 / 12%);
	color: #b42318;
}

.cr-pp-batches[data-state="resume"] .cr-pp-batches__head b {
	background: var(--cr-tint);
	color: var(--cr-brand-deep);
}

.cr-pp-batches__grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 0.5rem;
	margin-block: 1.25rem;
}

.cr-pp-batches__grid i {
	aspect-ratio: 1;
	border: 1px solid var(--cr-line);
	border-radius: 9px;
	background: var(--dl-color-surface);
	transition: background 0.3s ease, border-color 0.3s ease, scale 0.4s var(--cr-ease-out, ease);
}

.cr-pp-batches__grid i.is-done {
	border-color: var(--cr-brand);
	background: var(--cr-brand);
}

.cr-pp-batches__grid i.is-running {
	border-color: var(--cr-brand);
	animation: cr-pp-pulse 0.7s ease-in-out infinite alternate;
}

.cr-pp-batches__grid i.is-stopped {
	border-color: #dc2626;
	border-style: dashed;
	background: rgb(220 38 38 / 8%);
}

@keyframes cr-pp-pulse {
	to {
		background: var(--cr-tint);
		scale: 0.9;
	}
}

.cr-pp-batches__foot {
	color: var(--dl-color-text-muted);
	font-family: var(--dl-font-mono);
	font-size: 0.75rem;
}

/* Relocate: six measures, numbered. */
.cr-pp-safety {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-pp-safety li {
	padding-block: 1.5rem;
	border-block-start: 2px solid var(--cr-ink);
}

.cr-pp-safety__n {
	display: block;
	margin-block-end: 1.5rem;
	color: var(--cr-brand);
	font-family: var(--dl-font-mono);
	font-size: 0.8125rem;
	font-weight: 600;
}

.cr-pp-safety p {
	margin: 0;
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.cr-pp-safety--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* A heading beside a form. */
.cr-pp-split--form {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: start;
}

.cr-pp-backup {
	margin: 1.5rem 0 0;
	background: #fff;
}

/* ---------- Pricing (inc/pricing.php) --------------------------------------- */

/* A page built from these sections, rather than a plugin's page. */
.cr-pp--page > .cr-pp-sec:first-child {
	padding-block-start: clamp(1rem, 3vw, 2rem);
}

/* Which plugin's plans are showing. */
.cr-price__switch {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-block-end: 1.5rem;
}

.cr-price__switch [role="tab"] {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem 1rem 0.625rem 0.625rem;
	border: 1px solid var(--cr-line);
	border-radius: 16px;
	background: rgb(255 255 255 / 55%);
	color: inherit;
	font: inherit;
	text-align: start;
	cursor: pointer;
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.35s ease, translate 0.45s var(--cr-ease-out, ease);
}

.cr-price__switch [role="tab"]:hover {
	border-color: rgb(27 16 22 / 35%);
	translate: 0 -2px;
}

.cr-price__switch [role="tab"][aria-selected="true"] {
	border-color: var(--cr-ink);
	background: #fff;
	box-shadow: var(--cr-shadow-card);
}

.cr-price__switch [role="tab"]:focus-visible {
	outline: 2px solid var(--cr-brand);
	outline-offset: 2px;
}

.cr-price__switch .cr-icon-tile {
	width: 2.5rem;
}

.cr-price__tab {
	display: grid;
	gap: 0.1rem;
}

.cr-price__tab strong {
	font-family: var(--dl-font-heading);
	font-size: 1rem;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.cr-price__tab > span {
	color: var(--dl-color-text-muted);
	font-size: 0.8125rem;
}

.cr-price__panel {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--cr-line);
	border-radius: 26px;
	background: var(--dl-color-surface);
}

.cr-price__panel[hidden] {
	display: none;
}

.cr-price__for {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.25rem;
	margin-block-end: clamp(1.25rem, 3vw, 2rem);
}

.cr-price__for > div {
	flex: 1 1 20rem;
}

.cr-price__for h3 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.25rem;
	font-size: 1.5rem;
}

.cr-price__for p {
	max-width: 46rem;
	margin: 0;
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.cr-price .cr-plans {
	gap: 1rem;
	align-items: stretch;
}

.cr-price .cr-plan {
	display: flex;
	flex-direction: column;
	border-color: var(--cr-line);
	transition: border-color 0.3s ease, box-shadow 0.4s ease, translate 0.5s var(--cr-ease-out, ease);
}

.cr-price .cr-plan:hover {
	box-shadow: var(--cr-shadow-lift);
	translate: 0 -4px;
}

.cr-price .cr-plan--featured {
	border-color: var(--cr-brand);
}

.cr-price .cr-plan__name {
	font-family: var(--dl-font-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-price .cr-plan__price {
	margin-block: 0.75rem 1.25rem;
}

.cr-price .cr-plan__price strong {
	font-family: var(--dl-font-heading);
	font-size: clamp(2.25rem, 4vw, 3rem);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.04em;
	line-height: 1;
}

.cr-price .cr-plan .cr-checks {
	margin-block-end: 1.5rem;
}

.cr-price .cr-plan__cta {
	margin-block-start: auto;
}

.cr-plan__soon {
	display: block;
	padding: 0.8rem 1rem;
	border: 1px dashed rgb(27 16 22 / 28%);
	border-radius: var(--cr-radius-control);
	color: var(--dl-color-text-muted);
	font-size: 0.875rem;
	font-weight: 500;
	text-align: center;
}

.cr-pp .cr-plans-note {
	margin: 1.25rem 0 0;
	color: var(--dl-color-text-muted);
	font-size: 0.875rem;
	text-align: center;
}

/* Every plugin on a line: its free version, its Pro add-on. */
.cr-price-list {
	border-block-start: 2px solid var(--cr-ink);
}

.cr-price-list table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.cr-price-list th,
.cr-price-list td {
	padding: 1rem 1rem 1rem 0;
	border: 0;
	border-block-end: 1px solid var(--cr-line);
	background: none;
	text-align: start;
	vertical-align: middle;
}

.cr-price-list thead th {
	padding-block: 0.75rem;
	color: var(--dl-color-text-muted);
	font-family: var(--dl-font-mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-pp-sec .cr-price-list a {
	color: inherit;
	text-decoration: none;
}

.cr-pp-sec .cr-price-list td a {
	color: var(--dl-color-text);
}

.cr-pp-sec .cr-price-list a:hover,
.cr-pp-sec .cr-price-list a:hover strong {
	color: var(--cr-brand);
}

.cr-price-list tbody th a {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	color: inherit;
	text-decoration: none;
}

.cr-price-list tbody th .cr-icon-tile {
	width: 2.75rem;
}

.cr-price-list tbody th strong {
	display: block;
	font-family: var(--dl-font-heading);
	font-size: 1.1875rem;
	letter-spacing: -0.02em;
	transition: color 0.2s ease;
}

.cr-price-list tbody th a:hover strong {
	color: var(--cr-brand);
}

.cr-price-list tbody th .cr-mono {
	color: var(--dl-color-text-muted);
}

.cr-price-list td {
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
}

.cr-price-list td a {
	color: var(--dl-color-text);
	font-weight: 600;
	text-decoration: none;
}

.cr-price-list td a:hover {
	color: var(--cr-brand);
}

.cr-price-list__from {
	margin-inline-start: 0.375rem;
	color: var(--dl-color-text);
	white-space: nowrap;
}

.cr-price-list tbody tr {
	transition: background 0.25s ease;
}

.cr-price-list tbody tr:hover {
	background: rgb(255 255 255 / 70%);
}

@media (prefers-reduced-motion: no-preference) {
	.cr-price__panel:not([hidden]) {
		animation: cr-pp-swap 0.5s var(--cr-ease-out, ease) both;
	}
}

@media (width < 900px) {
	.cr-price .cr-plans {
		grid-template-columns: minmax(0, 1fr);
	}

	.cr-price-list thead {
		display: none;
	}

	.cr-price-list tr {
		display: block;
		padding-block: 1rem;
		border-block-end: 1px solid var(--cr-line);
	}

	.cr-price-list th,
	.cr-price-list td {
		display: block;
		padding: 0;
		border: 0;
	}

	.cr-price-list td {
		margin-block-start: 0.625rem;
		padding-inline-start: 3.625rem;
	}

	.cr-price-list td::before {
		content: attr(data-label);
		display: block;
		font-family: var(--dl-font-mono);
		font-size: 0.6875rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}
}

/* ---------- Help: the documentation's and support's front pages ----------- */

/* A choice of two routes, each a row of numbered steps. */
.cr-help-tracks [role="tablist"] {
	display: inline-flex;
	gap: 0.25rem;
	margin-block-end: 1.5rem;
	padding: 0.25rem;
	border: 1px solid var(--cr-line);
	border-radius: 14px;
	background: #fff;
}

.cr-pp-head--center + .cr-help-tracks {
	text-align: center;
}

.cr-help-tracks [role="tab"] {
	padding: 0.625rem 1.125rem;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--dl-color-text-muted);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
}

.cr-help-tracks [role="tab"]:hover {
	color: var(--cr-ink);
}

.cr-help-tracks [role="tab"][aria-selected="true"] {
	background: var(--cr-ink);
	color: #fff;
}

.cr-help-tracks [role="tab"]:focus-visible {
	outline: 2px solid var(--cr-brand);
	outline-offset: 2px;
}

.cr-help-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: start;
	counter-reset: cr-help;
}

.cr-help-steps[hidden] {
	display: none;
}

.cr-help-steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-card);
	background: #fff;
	counter-increment: cr-help;
}

.cr-help-steps li::before {
	content: counter(cr-help, decimal-leading-zero);
	margin-block-end: 1.5rem;
	color: var(--cr-brand);
	font-family: var(--dl-font-mono);
	font-size: 0.8125rem;
	font-weight: 600;
}

/* An arrow from each step to the next. */
.cr-help-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	inset-block-start: 1.75rem;
	inset-inline-end: 1.5rem;
	width: 1.5rem;
	height: 0.625rem;
	background: var(--cr-line);
	clip-path: polygon(0 40%, 70% 40%, 70% 0, 100% 50%, 70% 100%, 70% 60%, 0 60%);
}

.cr-help-steps h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1875rem;
}

.cr-help-steps p {
	margin: 0;
	color: var(--dl-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.cr-help-steps li > a {
	margin-block-start: auto;
	padding-block-start: 1rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.cr-help-done {
	max-width: 44rem;
	margin: 1.5rem auto 0;
	color: var(--dl-color-text-muted);
	text-align: center;
}

/* The guides, one to a row. */
.cr-help-guides {
	margin: 0;
	padding: 0;
	border-block-start: 2px solid var(--cr-ink);
	list-style: none;
}

.cr-pp-sec .cr-help-guides a {
	display: grid;
	grid-template-columns: auto minmax(0, 0.7fr) minmax(0, 1.3fr) auto;
	gap: 1.25rem;
	align-items: center;
	padding: 1.125rem 0.5rem;
	border-block-end: 1px solid var(--cr-line);
	color: inherit;
	text-decoration: none;
	transition: background 0.3s ease, padding 0.5s var(--cr-ease-out, ease);
}

.cr-pp-sec .cr-help-guides a:hover {
	padding-inline: 1.25rem;
	background: #fff;
}

.cr-help-guides strong {
	font-family: var(--dl-font-heading);
	font-size: 1.3125rem;
	letter-spacing: -0.02em;
}

.cr-help-guides a > span:not(.cr-pp-ico) {
	color: var(--dl-color-text-muted);
}

.cr-help-guides em {
	color: var(--cr-brand);
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 600;
	white-space: nowrap;
}

/* Support: say what you need, see where to go. */
.cr-triage {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: start;
}

.cr-triage__list {
	display: grid;
	gap: 0.5rem;
}

.cr-triage [role="tab"] {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	padding: 1rem 1.125rem;
	border: 1px solid var(--cr-line);
	border-radius: 16px;
	background: rgb(255 255 255 / 55%);
	color: inherit;
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 600;
	text-align: start;
	cursor: pointer;
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.35s ease, translate 0.45s var(--cr-ease-out, ease);
}

.cr-triage [role="tab"]:hover {
	border-color: rgb(27 16 22 / 35%);
	translate: 0.25rem 0;
}

.cr-triage [role="tab"][aria-selected="true"] {
	border-color: var(--cr-ink);
	background: #fff;
	box-shadow: var(--cr-shadow-card);
}

.cr-triage [role="tab"][aria-selected="true"] .cr-pp-ico {
	background: var(--cr-brand);
	color: #fff;
}

.cr-triage [role="tab"]:focus-visible {
	outline: 2px solid var(--cr-brand);
	outline-offset: 2px;
}

.cr-triage__panel {
	position: sticky;
	inset-block-start: calc(var(--cr-pp-top, 4.5rem) + 1.5rem);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: 22px;
	background: var(--cr-hero-gradient);
	color: #fff;
}

.cr-triage__panel[hidden] {
	display: none;
}

.cr-triage__panel .cr-mono {
	color: #ff8dc0;
}

.cr-triage__panel h3 {
	margin: 0.5rem 0 0.75rem;
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.05;
}

.cr-triage__panel > p {
	margin: 0 0 1.25rem;
	color: rgb(255 255 255 / 80%);
	line-height: 1.6;
}

.cr-triage__panel ul {
	display: grid;
	gap: 0.625rem;
	margin: 0 0 1.75rem;
	padding: 1.25rem 0 0;
	border-block-start: 1px solid rgb(255 255 255 / 18%);
	list-style: none;
}

.cr-triage__panel li {
	position: relative;
	padding-inline-start: 1.5rem;
	color: rgb(255 255 255 / 88%);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.cr-triage__panel li::before {
	content: "";
	position: absolute;
	inset-block-start: 0.5em;
	inset-inline-start: 0.125rem;
	width: 0.4375rem;
	height: 0.4375rem;
	border-radius: 2px;
	background: #ff8dc0;
	rotate: 45deg;
}

/* Who gets what: two cards side by side. */
.cr-help-who {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-help-who li {
	padding: 1.5rem;
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-card);
	background: rgb(255 255 255 / 4%);
}

.cr-help-who h3 {
	margin: 0.75rem 0 0.5rem;
	font-size: 1.3125rem;
}

.cr-help-who p {
	margin: 0;
	color: var(--dl-color-text-muted);
	line-height: 1.6;
}

@media (prefers-reduced-motion: no-preference) {
	.cr-help-steps:not([hidden]) li,
	.cr-triage__panel:not([hidden]) {
		animation: cr-pp-swap 0.5s var(--cr-ease-out, ease) both;
	}

	.cr-help-steps:not([hidden]) li:nth-child(2) { animation-delay: 0.07s; }
	.cr-help-steps:not([hidden]) li:nth-child(3) { animation-delay: 0.14s; }
	.cr-help-steps:not([hidden]) li:nth-child(4) { animation-delay: 0.21s; }
}

@media (width < 900px) {
	.cr-triage,
	.cr-help-who {
		grid-template-columns: minmax(0, 1fr);
	}

	.cr-triage__panel {
		position: static;
	}

	.cr-pp-sec .cr-help-guides a {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.cr-help-guides a > span:not(.cr-pp-ico),
	.cr-help-guides em {
		grid-column: 2;
	}

	.cr-help-steps li:not(:last-child)::after {
		display: none;
	}
}

/* ---------- A plugin's guide (templates/page-documentation-<plugin>.php) ---- */
.cr-manual {
	display: grid;
	grid-template-columns: 17.5rem minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
	padding-block: clamp(1.5rem, 4vw, 3rem) var(--cr-pp-gap);
}

/* The side: where you are, which plugin, and the chapters. */
.cr-manual__side {
	position: sticky;
	inset-block-start: calc(var(--cr-pp-top, 4.5rem) + 1.5rem);
	display: grid;
	gap: 1rem;
	max-height: calc(100vh - var(--cr-pp-top, 4.5rem) - 3rem);
	overflow-y: auto;
	scrollbar-width: thin;
}

.cr-manual .cr-manual__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--dl-color-text-muted);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}

.cr-manual__back svg {
	width: 1rem;
	height: 1rem;
	rotate: 180deg;
}

.cr-manual .cr-manual__back:hover {
	color: var(--cr-brand);
}

.cr-manual__card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.875rem;
	align-items: center;
	padding: 1rem;
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-card);
	background: #fff;
}

.cr-manual__card .cr-icon-tile {
	width: 2.75rem;
}

.cr-manual__name {
	display: grid;
	gap: 0.15rem;
	margin: 0;
}

.cr-manual .cr-manual__name a {
	color: inherit;
	font-family: var(--dl-font-heading);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	text-decoration: none;
}

.cr-manual__name .cr-mono {
	color: var(--dl-color-text-muted);
}

.woocommerce .cr-manual .cr-manual__get,
.cr-manual .cr-manual__get {
	grid-column: 1 / -1;
	justify-content: center;
	padding: 0.6rem 1rem;
	border-radius: var(--cr-radius-control);
	background: var(--cr-brand);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.cr-manual__toc {
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius-card);
	background: #fff;
}

.cr-manual__toc summary {
	padding: 0.875rem 1rem;
	color: var(--dl-color-text-muted);
	font-family: var(--dl-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.cr-manual__toc ol {
	margin: 0;
	padding: 0 0.5rem 0.5rem;
	list-style: none;
	counter-reset: cr-chapter;
}

.cr-manual__toc li {
	counter-increment: cr-chapter;
}

.cr-manual .cr-manual__toc a {
	display: grid;
	grid-template-columns: 1.5rem minmax(0, 1fr);
	gap: 0.375rem;
	padding: 0.45rem 0.5rem;
	border-radius: 8px;
	color: var(--dl-color-text);
	font-size: 0.9375rem;
	line-height: 1.35;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.cr-manual__toc a::before {
	content: counter(cr-chapter);
	color: var(--dl-color-text-muted);
	font-family: var(--dl-font-mono);
	font-size: 0.75rem;
	line-height: 1.7;
}

.cr-manual .cr-manual__toc a:hover {
	background: var(--dl-color-surface);
}

.cr-manual .cr-manual__toc a[aria-current] {
	background: var(--cr-ink);
	color: #fff;
}

.cr-manual__toc a[aria-current]::before {
	color: #ff8dc0;
}

.cr-manual__help {
	margin: 0;
	color: var(--dl-color-text-muted);
	font-size: 0.875rem;
	line-height: 1.55;
}

/* The chapters. */
.cr-manual__body {
	max-width: 46rem;
	font-size: 1.0625rem;
	line-height: 1.7;
}

.cr-manual__intro {
	margin: 0 0 2.5rem;
	color: var(--dl-color-text-muted);
	font-size: 1.25rem;
	line-height: 1.6;
}

.cr-manual__chapter {
	padding-block: 2.5rem;
	border-block-start: 2px solid var(--cr-ink);
	scroll-margin-top: calc(var(--cr-pp-top, 4.5rem) + 1rem);
}

.cr-manual__n {
	margin: 0 0 0.5rem;
	color: var(--cr-brand);
	font-family: var(--dl-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-manual__chapter > h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.625rem, 3.2vw, 2.25rem);
	line-height: 1.08;
}

.cr-manual__lead {
	margin: 0 0 1.5rem;
	color: var(--dl-color-text-muted);
	font-size: 1.125rem;
}

.cr-manual__chapter > h3 {
	margin: 2rem 0 0.75rem;
	font-size: 1.3125rem;
}

.cr-manual__chapter > p {
	margin: 0 0 1rem;
}

/* Numbered steps: one action each. */
.cr-manual__steps {
	display: grid;
	gap: 0.75rem;
	margin: 1rem 0 1.5rem;
	padding: 0;
	list-style: none;
	counter-reset: cr-step;
}

.cr-manual__steps > li {
	position: relative;
	padding: 1.125rem 1.25rem 1.125rem 4rem;
	border: 1px solid var(--cr-line);
	border-radius: 16px;
	background: #fff;
	counter-increment: cr-step;
}

.cr-manual__steps > li::before {
	content: counter(cr-step);
	position: absolute;
	inset-block-start: 1rem;
	inset-inline-start: 1.125rem;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--cr-ink);
	color: #fff;
	font-family: var(--dl-font-mono);
	font-size: 0.875rem;
	font-weight: 500;
}

.cr-manual .cr-manual__steps h3 {
	margin: 0.15rem 0 0.375rem;
	font-size: 1.125rem;
	letter-spacing: -0.015em;
}

.cr-manual__steps > li > div {
	color: var(--dl-color-text-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.cr-manual__steps strong,
.cr-manual__words strong,
.cr-manual__list strong {
	color: var(--dl-color-text);
}

.cr-manual__shot {
	margin: 1rem 0 0.25rem;
}

.cr-manual__chapter > .cr-manual__shot {
	margin-block: 1.25rem 1.5rem;
}

/* Notes: what you should see, a tip, a warning. */
.cr-manual__note {
	margin: 1.25rem 0;
	padding: 1rem 1.25rem;
	border-inline-start: 4px solid var(--cr-brand);
	border-radius: 12px;
	background: var(--cr-tint);
	font-size: 1rem;
	line-height: 1.6;
}

.cr-manual__note p {
	margin: 0;
}

.cr-manual__note-title {
	margin-block-end: 0.25rem !important;
	font-family: var(--dl-font-mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-manual__note--see {
	border-color: #2fbf86;
	background: rgb(47 191 134 / 10%);
}

.cr-manual__note--see .cr-manual__note-title {
	color: #14654a;
}

.cr-manual__note--tip .cr-manual__note-title {
	color: var(--cr-brand-deep);
}

.cr-manual__note--warn {
	border-color: #d97706;
	background: rgb(217 119 6 / 9%);
}

.cr-manual__note--warn .cr-manual__note-title {
	color: #92400e;
}

.cr-manual__list {
	display: grid;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	padding-inline-start: 1.25rem;
}

.cr-manual__list li {
	color: var(--dl-color-text-muted);
}

/* A word, or a problem, and what it means. */
.cr-manual__words {
	display: grid;
	margin: 1rem 0 1.5rem;
	border-block-start: 1px solid var(--cr-line);
}

.cr-manual__words > div {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
	gap: 0.5rem 1.5rem;
	padding: 0.875rem 0;
	border-block-end: 1px solid var(--cr-line);
}

.cr-manual__words dt {
	font-weight: 600;
}

.cr-manual__words dd {
	margin: 0;
	color: var(--dl-color-text-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.cr-manual__code {
	margin: 1rem 0;
	padding: 1.125rem 1.25rem;
	overflow-x: auto;
	border: 0;
	border-radius: 14px;
	background: var(--cr-ink);
	color: #f3e9ee;
	font-size: 0.8125rem;
	line-height: 1.75;
}

.cr-manual__top {
	margin: 1.5rem 0 0;
	font-size: 0.875rem;
}

/* The link from a plugin's page to its guide. */
.cr-product-guide {
	margin: 1rem 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
}

.cr-product-guide a {
	color: var(--cr-brand);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

@media (width < 1000px) {
	.cr-manual {
		grid-template-columns: minmax(0, 1fr);
	}

	.cr-manual__side {
		position: static;
		max-height: none;
		overflow: visible;
	}

	.cr-manual__top {
		display: block;
	}
}

@media (width >= 1000px) {
	.cr-manual__top {
		display: none;
	}
}

@media (width < 640px) {
	.cr-manual__steps > li {
		padding: 3.5rem 1rem 1rem;
	}

	.cr-manual__words > div {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- 6. Demos -------------------------------------------------------- */
.cr-pp-demo {
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid var(--cr-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--cr-shadow-lift);
	color: var(--cr-ink);
}

.cr-pp-demo__label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	color: var(--dl-color-text-muted);
	font-size: 0.8125rem;
}

.cr-pp-demo__label span {
	padding: 0.2rem 0.5rem;
	border-radius: 6px;
	background: var(--cr-brand);
	color: #fff;
	font-family: var(--dl-font-mono);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-pp-demo input[type="number"],
.cr-pp-demo input[type="text"],
.cr-pp-demo input[type="email"] {
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid #d9d0cb;
	border-radius: var(--cr-demo-radius, 9px);
	background: #fff;
	color: inherit;
	font: inherit;
	font-size: 0.9375rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, border-radius 0.2s ease;
}

.cr-pp-demo input:focus-visible {
	border-color: var(--cr-demo-accent, var(--cr-brand));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--cr-demo-accent, var(--cr-brand)) 18%, transparent);
	outline: none;
}

.cr-pp-demo input[type="radio"],
.cr-pp-demo input[type="checkbox"] {
	width: 1.0625rem;
	height: 1.0625rem;
	margin: 0;
	accent-color: var(--cr-demo-accent, var(--cr-brand));
}

.cr-pp-demo fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.cr-pp-demo legend {
	margin-block-end: 0.5rem;
	padding: 0;
	font-size: 0.875rem;
	font-weight: 600;
}

.cr-pp-order__title {
	margin: 0 0 1rem;
	font-family: var(--dl-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.cr-pp-order__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 1rem;
	align-items: center;
	padding-block: 0.75rem;
	border-block-end: 1px solid var(--cr-line);
}

.cr-pp-order__name {
	font-weight: 600;
}

.cr-pp-order__price,
.cr-pp-order__choice b {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.cr-pp-order__row label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--dl-color-text-muted);
	font-size: 0.8125rem;
}

.cr-pp-order__row input {
	width: 4.25rem;
}

.cr-pp-order__choice {
	display: grid;
	gap: 0.5rem;
	padding-block: 1rem !important;
}

.cr-pp-order__choice label {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 0.9375rem;
	cursor: pointer;
}

.cr-pp-order__choice label span {
	flex: 1;
}

.cr-pp-order__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 0.875rem 1rem;
	border-radius: 12px;
	background: var(--cr-tint);
	font-weight: 600;
	transition: background 0.3s ease;
}

.cr-pp-order__total output {
	color: var(--cr-brand-deep);
	font-family: var(--dl-font-heading);
	font-size: 1.625rem;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.cr-pp-order.is-changing .cr-pp-order__total {
	background: #f9dcea;
}

/* A rule and the form it acts on. */
.cr-pp-logic {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
}

.cr-pp-logic__sentence {
	margin: 0 0 0.75rem;
	font-size: 1.0625rem;
	line-height: 1.6;
}

.cr-pp-logic__sentence b {
	padding: 0.1rem 0.45rem;
	border: 1px solid var(--cr-line);
	border-radius: 6px;
	background: var(--dl-color-surface);
	font-weight: 600;
}

.cr-pp-logic__line {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin: 0;
}

.cr-pp-logic__line span {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--cr-line);
	border-radius: 9px;
	font-size: 0.875rem;
	font-weight: 500;
}

.cr-pp-logic__state {
	display: flex;
	gap: 0.625rem;
	margin: 1.25rem 0 0;
	padding: 0.75rem 0.875rem;
	border-radius: 10px;
	background: var(--dl-color-surface);
	color: var(--dl-color-text-muted);
	font-size: 0.875rem;
	transition: background 0.3s ease, color 0.3s ease;
}

.cr-pp-logic__state::before {
	content: "";
	flex: none;
	width: 0.625rem;
	height: 0.625rem;
	margin-block-start: 0.35em;
	border-radius: 50%;
	background: #b9aeb3;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.cr-pp-logic.is-matched .cr-pp-logic__state {
	background: rgb(47 191 134 / 12%);
	color: #14654a;
}

.cr-pp-logic.is-matched .cr-pp-logic__state::before {
	background: #2fbf86;
	box-shadow: 0 0 0 4px rgb(47 191 134 / 22%);
}

.cr-pp-logic__form {
	padding: 1.25rem;
	border: 1px solid var(--cr-line);
	border-radius: 14px;
	background: var(--cr-paper);
}

.cr-pp-logic__form fieldset {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem 1rem;
}

.cr-pp-logic__form legend {
	grid-column: 1 / -1;
}

.cr-pp-logic__form label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	cursor: pointer;
}

.cr-pp-logic__reveal {
	margin-block-start: 1rem;
	animation: cr-pp-unfold 0.5s var(--cr-ease-out, ease) both;
}

.cr-pp-logic__reveal[hidden] {
	display: none;
}

.cr-pp-logic__reveal label {
	flex-wrap: wrap;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: default;
}

.cr-pp-logic__reveal input {
	flex-basis: 100%;
}

@keyframes cr-pp-unfold {
	from {
		opacity: 0;
		translate: 0 -0.5rem;
	}
}

.cr-pp-logic__button,
.cr-pp-styler__submit span {
	display: inline-block;
	margin: 1rem 0 0;
	padding: 0.625rem 1.125rem;
	border-radius: var(--cr-demo-radius, 9px);
	background: var(--cr-demo-accent, #4f46e5);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	transition: background 0.3s ease, border-radius 0.2s ease;
}

/* The styler: settings beside the form they change. */
.cr-pp-styler {
	--cr-demo-accent: #4f46e5;
	--cr-demo-radius: 10px;
	--cr-demo-align: start;

	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	max-width: 56rem;
	margin-inline: auto;
}

.cr-pp-styler__controls {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}

.cr-pp-styler__controls .cr-pp-demo__label {
	margin: 0;
}

.cr-pp-styler__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cr-pp-styler__swatches legend {
	flex-basis: 100%;
}

.cr-pp-styler__swatches label {
	position: relative;
	cursor: pointer;
}

.cr-pp-styler__swatches input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.cr-pp-styler__swatches span:not(.screen-reader-text) {
	display: block;
	width: 2.25rem;
	height: 2.25rem;
	border: 3px solid #fff;
	border-radius: 10px;
	box-shadow: 0 0 0 1px var(--cr-line);
	transition: box-shadow 0.2s ease, scale 0.35s var(--cr-ease-out, ease);
}

.cr-pp-styler__swatches input:checked + span {
	box-shadow: 0 0 0 2px var(--cr-ink);
	scale: 1.08;
}

.cr-pp-styler__swatches input:focus-visible + span {
	box-shadow: 0 0 0 2px var(--cr-brand);
}

.cr-pp-styler__range {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.cr-pp-styler__range output {
	color: var(--dl-color-text-muted);
	font-family: var(--dl-font-mono);
	font-size: 0.75rem;
	font-weight: 400;
}

.cr-pp-styler__range input {
	grid-column: 1 / -1;
	width: 100%;
	accent-color: var(--cr-ink);
}

.cr-pp-styler__align {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.cr-pp-styler__align legend {
	flex-basis: 100%;
}

.cr-pp-styler__align label {
	position: relative;
	cursor: pointer;
}

.cr-pp-styler__align input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.cr-pp-styler__align span {
	display: block;
	padding: 0.45rem 0.875rem;
	border: 1px solid var(--cr-line);
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 500;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cr-pp-styler__align input:checked + span {
	border-color: var(--cr-ink);
	background: var(--cr-ink);
	color: #fff;
}

.cr-pp-styler__align input:focus-visible + span {
	outline: 2px solid var(--cr-brand);
	outline-offset: 2px;
}

.cr-pp-styler__preview {
	display: grid;
	gap: 0.875rem;
	padding: 1.5rem;
	border: 1px solid var(--cr-line);
	border-radius: 14px;
	background: var(--cr-paper);
}

.cr-pp-styler__preview .cr-pp-order__title {
	margin: 0;
}

.cr-pp-styler__preview label {
	display: grid;
	gap: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.cr-pp-styler__preview .cr-pp-styler__check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 400;
}

.cr-pp-styler__submit {
	display: flex;
	justify-content: var(--cr-demo-align);
	margin: 0;
}

.cr-pp-styler__submit span {
	margin: 0;
}

/* A limit filling up. */
.cr-pp-meter {
	max-width: 30rem;
	margin-block-start: 1.75rem;
	padding: 1.125rem 1.25rem;
	border: 1px solid var(--cr-line);
	border-radius: 14px;
	background: #fff;
}

.cr-pp-meter__label {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 0.625rem;
	font-size: 0.875rem;
}

.cr-pp-meter__label b {
	font-variant-numeric: tabular-nums;
}

.cr-pp-meter__track {
	height: 0.5rem;
	overflow: hidden;
	border-radius: 999px;
	background: var(--dl-color-surface);
}

.cr-pp-meter__track i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #ff8dc0, var(--cr-brand));
	scale: var(--cr-meter, 0) 1;
	transform-origin: 0 50%;
}

.cr-pp-meter__note {
	max-height: 0;
	margin: 0;
	overflow: hidden;
	color: var(--dl-color-text-muted);
	font-size: 0.8125rem;
	line-height: 1.5;
	opacity: 0;
	transition: max-height 0.6s var(--cr-ease-out, ease), opacity 0.4s ease 0.15s, margin 0.6s var(--cr-ease-out, ease);
}

.cr-pp-meter.is-full .cr-pp-meter__note {
	max-height: 5rem;
	margin-block-start: 0.75rem;
	opacity: 1;
}

/* Find and replace, typed out. */
.cr-pp-ticker {
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid var(--cr-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--cr-shadow-lift);
}

.cr-pp-ticker__cases {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin-block-end: 1.25rem;
}

.cr-pp-ticker__cases button {
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--cr-line);
	border-radius: 8px;
	background: none;
	color: var(--dl-color-text-muted);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cr-pp-ticker__cases button:hover {
	border-color: var(--cr-ink);
	color: var(--cr-ink);
}

.cr-pp-ticker__cases button[aria-pressed="true"] {
	border-color: var(--cr-ink);
	background: var(--cr-ink);
	color: #fff;
}

.cr-pp-ticker__field {
	display: grid;
	gap: 0.375rem;
	margin: 0;
}

.cr-pp-ticker__field span {
	color: var(--dl-color-text-muted);
	font-family: var(--dl-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-pp .cr-pp-ticker__field code {
	display: block;
	min-height: 2.875rem;
	padding: 0.75rem 0.875rem;
	overflow: hidden;
	border: 1px solid var(--cr-line);
	border-radius: 10px;
	background: var(--cr-paper);
	font-size: 0.875rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cr-pp-ticker__field code.is-typing::after {
	content: "";
	display: inline-block;
	width: 2px;
	height: 1em;
	margin-inline-start: 2px;
	background: var(--cr-brand);
	vertical-align: -0.15em;
	animation: cr-pp-blink 0.8s steps(2) infinite;
}

@keyframes cr-pp-blink {
	50% {
		opacity: 0;
	}
}

.cr-pp-ticker__arrow {
	display: grid;
	place-items: center;
	margin: 0.5rem 0;
	color: var(--cr-brand);
}

.cr-pp-ticker__arrow svg {
	width: 1.25rem;
	height: 1.25rem;
	rotate: 90deg;
}

.cr-pp-ticker__note {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1.25rem 0 0;
	color: var(--dl-color-text-muted);
	font-size: 0.8125rem;
}

.cr-pp-ticker__note svg {
	flex: none;
	width: 1rem;
	height: 1rem;
	color: #2fbf86;
}

/* ---------- 7. Arrivals ------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
	html.cr-motion .cr-reveal--left:not(.cr-in) {
		translate: -2.5rem 0;
	}

	html.cr-motion .cr-reveal--right:not(.cr-in) {
		translate: 2.5rem 0;
	}

	.cr-pp-marquee ul {
		animation: cr-pp-marquee 36s linear infinite;
	}

	.cr-pp-marquee:hover ul {
		animation-play-state: paused;
	}

	@keyframes cr-pp-marquee {
		to {
			translate: calc(-100% - 0.625rem) 0;
		}
	}

	.cr-pp-viewer[open] {
		animation: cr-pp-zoom 0.4s var(--cr-ease-out, ease);
	}

	@keyframes cr-pp-zoom {
		from {
			opacity: 0;
			scale: 0.94;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.cr-pp-hub__source::after,
	.cr-pp-batches__grid i.is-running {
		animation: none;
	}

	.cr-pp-flow::after {
		scale: 1 1;
		transition: none;
	}
}

/* ---------- Smaller screens --------------------------------------------------- */
@media (width < 1024px) {
	.cr-long-product.woocommerce div.product .cr-product-hero,
	.cr-pp-split,
	.cr-pp-split--flip,
	.cr-pp-split--demo,
	.cr-pp-split--code,
	.cr-pp-intro,
	.cr-pp-intro--wide,
	.cr-pp-steps,
	.cr-pp-hub,
	.cr-pp-faq,
	.cr-pp-logic,
	.cr-pp-split--form,
	.cr-pp-scroll {
		grid-template-columns: minmax(0, 1fr);
	}

	.cr-pp-split--flip > :first-child {
		order: 2;
	}

	.cr-pp-faq__aside,
	.cr-pp-scroll__stage {
		position: static;
	}

	.cr-pp-scroll__stage {
		display: none;
	}

	.cr-pp-scroll__inline {
		display: block;
	}

	.cr-pp-scroll__steps {
		padding-block-end: 0;
	}

	.cr-pp-scroll.is-live .cr-pp-scroll__step:not(.is-active) {
		opacity: 1;
	}

	.cr-pp-hub__source::after {
		display: none;
	}

	.cr-pp-bento,
	.cr-pp-safety,
	.cr-pp-safety--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cr-pp-serial {
		grid-template-columns: minmax(0, 1fr);
	}

	.cr-pp-flow {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.cr-pp-flow::before,
	.cr-pp-flow::after {
		inset: 1.125rem auto 1.125rem 1.0625rem;
		width: 2px;
		height: auto;
	}

	.cr-pp-flow::after {
		scale: 1 0;
		transform-origin: 50% 0;
	}

	.cr-pp-flow li {
		padding: 0 0 1.5rem 3.5rem;
	}

	.cr-pp-flow__n {
		position: absolute;
		inset-inline-start: 0;
		margin: 0;
	}

	.cr-product-media__more {
		inset-inline-start: 0;
	}
}

@media (width < 700px) {
	.cr-pp-nums {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cr-pp-nums li:nth-child(3) {
		border-inline-start: 0;
	}

	.cr-pp-nums li:nth-child(n + 3) {
		border-block-start: 1px solid var(--cr-line);
	}

	.cr-pp-bento,
	.cr-pp-safety,
	.cr-pp-duo,
	.cr-pp-styler {
		grid-template-columns: minmax(0, 1fr);
	}

	.cr-pp-bento__item--wide {
		grid-column: auto;
	}

	.cr-pp-rows li {
		grid-template-columns: 2.25rem minmax(0, 1fr);
	}

	.cr-pp-rows span {
		grid-column: 2;
	}

	.cr-pp-nav__name,
	.woocommerce .cr-pp-nav a.cr-pp-nav__cta {
		display: none;
	}

	.cr-pp-compare th,
	.cr-pp-compare td {
		padding: 0.75rem 0.625rem;
		font-size: 0.875rem;
	}

	/* Recipes: each row becomes a card. */
	.cr-pp-recipes thead {
		display: none;
	}

	.cr-pp-recipes tr,
	.cr-pp-recipes th,
	.cr-pp-recipes td {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
	}

	.cr-pp-recipes tr {
		padding-block: 1.125rem;
		border-block-start: 1px solid var(--cr-line);
	}

	.cr-pp-recipes td {
		margin-block-start: 0.5rem;
	}

	.cr-pp-order__row {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.cr-pp-order__row label {
		grid-column: 1 / -1;
	}

	.cr-pp-stack {
		padding: 0 6% 22% 0;
	}

	.cr-pp-stack__front {
		width: 74%;
	}
}
