/*
 * BladeCP demo site: the identity of the WHMCS demo, adapted to WordPress.
 * Light theme, system font, indigo accents and the dark night-to-indigo band.
 */

:root {
	--bcp-ink: #121a2b;
	--bcp-ink-2: #172033;
	--bcp-body: #303846;
	--bcp-text: #546072;
	--bcp-muted: #5b6472;
	--bcp-soft: #7c8699;
	--bcp-nav: #3f4a5c;
	--bcp-indigo: #4f46e5;
	--bcp-indigo-700: #4338ca;
	--bcp-indigo-50: #eef2ff;
	--bcp-indigo-100: #e0e7ff;
	--bcp-indigo-200: #c7d2fe;
	--bcp-indigo-300: #a5b4fc;
	--bcp-button: #1e2939;
	--bcp-night: #111827;
	--bcp-line: #e3e7ef;
	--bcp-line-2: #e6e8ec;
	--bcp-cloud: #f7f8fb;
	--bcp-band: linear-gradient(135deg, #111827 0%, #1f2345 60%, #3730a3 100%);
	--bcp-brand: linear-gradient(90deg, #8b5cf6 0%, #636ff6 70%, #3b82f6 100%);
	--bcp-shadow: 0 12px 28px rgba(18, 26, 43, 0.05);
	--bcp-shadow-lift: 0 18px 40px rgba(18, 26, 43, 0.1);
	--bcp-gutter: max(1.25rem, env(safe-area-inset-left));
	--bcp-section: clamp(3rem, 7vw, 6.5rem);
	--bcp-ease: cubic-bezier(0.4, 0.02, 0.15, 1);
	/* Button heights: every large button, and the compact one of the header. */
	--bcp-btn-height: 48px;
	--bcp-btn-height-compact: 42px;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 1rem;
}

body {
	color: var(--bcp-ink-2);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Sections are full width and carry their own spacing. */
body .wp-site-blocks {
	padding: 0;
}

body .wp-site-blocks > *,
body .bcp-main > *,
body .bcp-canvas > *,
body .bcp-header > *,
body .bcp-header__bar > *,
body .bcp-footer > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Space above the closing rule of the footer (beats the reset above). */
body .bcp-footer > .bcp-footer__bottom {
	margin-block-start: 2.5rem;
}

body .bcp-main {
	margin: 0;
}

.bcp-shell {
	width: min(100% - 2 * var(--bcp-gutter), 1140px);
	margin-inline: auto;
}

.bcp-shell--narrow {
	width: min(100% - 2 * var(--bcp-gutter), 760px);
}

.bcp-icon {
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	flex: 0 0 auto;
	vertical-align: -0.2em;
}

.bcp-flip {
	transform: scaleX(-1);
}

:where(.bcp-main) :focus-visible,
:where(.bcp-header, .bcp-footer) :focus-visible {
	outline: 2px solid var(--bcp-indigo);
	outline-offset: 3px;
	border-radius: 0.35rem;
}

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

.bcp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/*
 * One size for every large button of the site (hero, steps, plugin band, 404
 * and the blog pagination). The border is part of the height.
 */
.bcp-btn,
.bcp-pagination a {
	box-sizing: border-box;
	height: var(--bcp-btn-height);
	min-height: var(--bcp-btn-height);
	padding-block: 0;
}

.bcp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding-inline: 1.05rem;
	border: 1px solid transparent;
	border-radius: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bcp-btn .bcp-icon {
	width: 1.1em;
	height: 1.1em;
	transition: transform 160ms ease;
}

.bcp-btn:hover .bcp-icon:last-child {
	transform: translateX(2px);
}

.bcp-btn--dark,
.bcp-btn--dark:visited {
	border-color: var(--bcp-button);
	background: var(--bcp-button);
	color: #fff;
}

.bcp-btn--dark:hover,
.bcp-btn--dark:focus-visible {
	border-color: var(--bcp-night);
	background: var(--bcp-night);
	box-shadow: 0 10px 22px rgba(30, 41, 57, 0.2);
	color: #fff;
}

.bcp-btn--ghost,
.bcp-btn--ghost:visited {
	border-color: #d8dce6;
	background: #fff;
	color: #293449;
}

.bcp-btn--ghost:hover,
.bcp-btn--ghost:focus-visible {
	border-color: #b9c0ce;
	background: #f8f9fc;
	color: var(--bcp-ink-2);
}

.bcp-btn--light,
.bcp-btn--light:visited {
	border-color: #fff;
	background: #fff;
	color: var(--bcp-ink);
}

.bcp-btn--light:hover,
.bcp-btn--light:focus-visible {
	border-color: var(--bcp-indigo-50);
	background: var(--bcp-indigo-50);
	color: var(--bcp-ink);
}

.bcp-btn--outline-light,
.bcp-btn--outline-light:visited {
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.bcp-btn--outline-light:hover,
.bcp-btn--outline-light:focus-visible {
	border-color: rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

/* Header ------------------------------------------------------------------ */

.bcp-header {
	position: relative;
	z-index: 20;
	background: #fff;
}

.bcp-header__bar {
	display: flex;
	align-items: center;
	gap: 1rem 1.25rem;
	min-height: 76px;
	padding-block: 0.7rem;
}

.bcp-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	flex: 0 0 auto;
	color: inherit;
	text-decoration: none;
}

.bcp-brand__logo {
	display: block;
	width: 123px;
	height: 22px;
	flex: 0 0 auto;
}

.bcp-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0.25rem 0.6rem;
	border: 1px solid rgba(79, 70, 229, 0.25);
	border-radius: 999px;
	background: rgba(79, 70, 229, 0.08);
	color: var(--bcp-indigo-700);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

.bcp-badge--dark {
	border-color: rgba(165, 180, 252, 0.35);
	background: rgba(165, 180, 252, 0.12);
	color: var(--bcp-indigo-200);
}

.bcp-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.bcp-nav .wp-block-navigation__container {
	gap: 0.15rem;
}

.bcp-nav .wp-block-navigation-item__content {
	padding: 0.55rem 0.65rem;
	border-radius: 0.5rem;
	color: var(--bcp-nav);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 160ms ease, color 160ms ease;
}

.bcp-nav .wp-block-navigation-item__content:hover,
.bcp-nav .wp-block-navigation-item__content:focus-visible {
	background: #f5f6fb;
	color: var(--bcp-button);
	text-decoration: none;
}

.bcp-nav .current-menu-item > .wp-block-navigation-item__content {
	background: var(--bcp-indigo-50);
	color: var(--bcp-indigo-700);
}

.bcp-nav .bcp-nav__external > .wp-block-navigation-item__content::after {
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	margin-left: 0.3em;
	background: currentColor;
	content: "";
	opacity: 0.6;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Same 42 px square as the header action; the border is part of the size. */
.bcp-nav .wp-block-navigation__responsive-container-open,
.bcp-nav .wp-block-navigation__responsive-container-close {
	box-sizing: border-box;
	width: var(--bcp-btn-height-compact);
	height: var(--bcp-btn-height-compact);
	align-items: center;
	justify-content: center;
	border: 1px solid var(--bcp-line);
	border-radius: 0.5rem;
	background: #fff;
	color: var(--bcp-nav);
}

.bcp-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.25rem var(--bcp-gutter) 2rem;
}

.bcp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4rem;
}

.bcp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0.25rem;
}

.bcp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
}

.bcp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: flex;
	width: 100%;
	padding: 0.95rem 1rem;
	font-size: 1.125rem;
}

.bcp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	top: 1.25rem;
	right: var(--bcp-gutter);
}

.bcp-header__tools {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-left: auto;
	flex: 0 0 auto;
}

.bcp-header__lang--compact {
	display: none;
}

/* Fixed height at every width: centered in the bar, never stretched by it. */
.bcp-header .bcp-header__cta {
	align-self: center;
	flex: 0 0 auto;
	height: var(--bcp-btn-height-compact);
	min-height: var(--bcp-btn-height-compact);
	padding-inline: 0.95rem;
}

.bcp-header__banner {
	border-top: 1px solid var(--bcp-line-2);
}

/*
 * The open menu needs the whole 1140 px column: logo, badge, the four items,
 * the language pill and the main action measure up to about 1055 px (the
 * Portuguese and Spanish labels are the longest). Below 1180 px the menu
 * stays behind its button.
 */
@media (min-width: 600px) and (max-width: 1179.98px) {
	.bcp-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.bcp-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

@media (max-width: 1179.98px) {
	.bcp-nav {
		order: 3;
		flex: 0 0 auto;
	}

	.bcp-header__tools {
		order: 2;
	}
}

@media (max-width: 899.98px) {
	/* Tablets: compact language pill and the badge under the logo. */
	.bcp-header__lang--full {
		display: none;
	}

	.bcp-header__lang--compact {
		display: block;
	}

	.bcp-header .bcp-brand {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.25rem;
	}
}

@media (max-width: 640px) {
	.bcp-header__bar {
		flex-wrap: wrap;
		gap: 0.75rem;
	}

	/* The tools join the bar, so the main action can take a row of its own. */
	.bcp-header__tools {
		display: contents;
	}

	.bcp-header__lang--full {
		display: none;
	}

	.bcp-header__lang--compact {
		display: block;
		order: 2;
		margin-left: auto;
	}

	.bcp-header .bcp-header__cta {
		order: 4;
		flex: 1 0 100%;
	}
}

@media (max-width: 575.98px) {
	.bcp-header .bcp-brand {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.25rem;
	}

	.bcp-header .bcp-brand__logo {
		width: 112px;
		height: 20px;
	}

	.bcp-header .bcp-badge {
		min-height: 19px;
		padding: 0.18rem 0.45rem;
		font-size: 0.52rem;
	}
}

/* Section headings ---------------------------------------------------------- */

.bcp-demo-section-label {
	margin: 0 0 0.65rem;
	color: var(--bcp-indigo-700);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}

.bcp-demo-section-heading {
	max-width: 700px;
}

.bcp-demo-section-heading h2 {
	margin: 0;
	color: var(--bcp-ink);
	font-size: clamp(1.7rem, 3vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.bcp-demo-section-heading > p:not(.bcp-demo-section-label) {
	margin: 0.8rem 0 0;
	color: var(--bcp-muted);
	line-height: 1.6;
}

.bcp-demo-section-heading--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	flex-wrap: wrap;
	max-width: none;
}

.bcp-demo-lead {
	max-width: 640px;
	margin: 1.25rem 0 0;
	color: var(--bcp-text);
	font-size: 1.125rem;
	line-height: 1.65;
}

.bcp-demo-icon {
	display: inline-grid;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	place-items: center;
	border-radius: 0.65rem;
	background: var(--bcp-indigo-50);
	color: var(--bcp-indigo-700);
}

.bcp-demo-icon .bcp-icon {
	width: 22px;
	height: 22px;
}

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

.bcp-demo-hero {
	overflow: hidden;
	padding-block: var(--bcp-section);
	background:
		radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.18), transparent 28rem),
		linear-gradient(135deg, #f8f8ff 0%, #fff 55%, #eef2ff 100%);
}

.bcp-demo-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
}

.bcp-demo-hero__copy {
	max-width: 640px;
}

.bcp-demo-hero h1,
.bcp-demo-page-hero h1,
.bcp-demo-post__title {
	margin: 0;
	color: var(--bcp-ink);
	font-size: clamp(2.15rem, 4vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
	text-wrap: balance;
}

.bcp-demo-hero .bcp-demo-lead {
	margin-bottom: 1.75rem;
}

.bcp-demo-hero__facts {
	display: grid;
	gap: 0.55rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--bcp-text);
	font-size: 0.9rem;
}

.bcp-demo-hero__facts li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.bcp-demo-hero__facts .bcp-icon {
	color: var(--bcp-indigo);
}

/* Migration card (hero illustration) -------------------------------------- */

.bcp-mig {
	position: relative;
	display: flex;
	min-height: 25rem;
	align-items: center;
	justify-content: center;
	perspective: 1400px;
}

.bcp-mig__halo {
	position: absolute;
	inset: 6% 4%;
	border-radius: 50%;
	background: radial-gradient(circle at center, rgba(99, 82, 255, 0.34) 0%, rgba(85, 66, 255, 0) 66%);
	animation: bcp-breathe 5.5s ease-in-out infinite;
}

/*
 * Padding and border stay inside the width, so the card never passes its
 * column. 28.125rem (450 px) is the size it already had on wide screens:
 * 25.5rem of content, 1.25rem of padding on each side and the border.
 */
.bcp-mig__card {
	position: relative;
	box-sizing: border-box;
	width: min(100%, 28.125rem);
	padding: 1.15rem 1.25rem 1.25rem;
	border: 1px solid rgba(199, 210, 254, 0.9);
	border-radius: 1.1rem;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(246, 247, 255, 0.95));
	box-shadow: 0 36px 70px -28px rgba(49, 46, 129, 0.45), 0 14px 30px rgba(18, 26, 43, 0.08);
	transform: rotateX(7deg) rotateY(-13deg);
	transition: transform 900ms var(--bcp-ease);
	animation: bcp-float 6s ease-in-out infinite;
}

.bcp-demo-hero:hover .bcp-mig__card {
	transform: rotateX(0) rotateY(0);
}

.bcp-mig__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid #eceff6;
}

.bcp-mig__dots {
	display: inline-flex;
	gap: 0.3rem;
}

.bcp-mig__dots i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #dfe3ec;
}

.bcp-mig__dots i:first-child {
	background: var(--bcp-indigo-300);
}

.bcp-mig__title {
	color: var(--bcp-soft);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bcp-mig__route {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(3.5rem, 0.8fr) minmax(0, 1fr);
	align-items: center;
	gap: 0.6rem;
	padding: 1.15rem 0 1rem;
}

.bcp-mig__node {
	display: grid;
	justify-items: center;
	gap: 0.15rem;
	min-width: 0;
	text-align: center;
}

.bcp-mig__node-icon {
	display: grid;
	width: 46px;
	height: 46px;
	margin-bottom: 0.35rem;
	place-items: center;
	border-radius: 0.8rem;
	background: var(--bcp-indigo-50);
	color: var(--bcp-indigo-700);
}

.bcp-mig__node--bladecp .bcp-mig__node-icon {
	background: var(--bcp-button);
	box-shadow: 0 10px 22px rgba(30, 41, 57, 0.25);
}

.bcp-mig__node-icon img {
	display: block;
	width: 22px;
	height: auto;
}

.bcp-mig__node strong {
	overflow: hidden;
	max-width: 100%;
	color: var(--bcp-ink-2);
	font-size: 0.86rem;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bcp-mig__node small {
	color: var(--bcp-soft);
	font-size: 0.72rem;
}

.bcp-mig__wire {
	position: relative;
	height: 30px;
	margin-top: -1.6rem;
}

.bcp-mig__wire::before {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--bcp-indigo-300) 0 6px, transparent 6px 11px);
	content: "";
}

.bcp-mig__packet {
	position: absolute;
	top: 50%;
	left: 0;
	display: grid;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	place-items: center;
	border-radius: 0.55rem;
	background: var(--bcp-indigo);
	box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14), 0 8px 18px rgba(79, 70, 229, 0.35);
	color: #fff;
	animation: bcp-packet 2.8s var(--bcp-ease) infinite;
}

.bcp-mig__packet .bcp-icon {
	width: 16px;
	height: 16px;
}

.bcp-mig__steps {
	display: grid;
	gap: 0.15rem;
	margin: 0;
	padding: 0.35rem 0 0;
	border-top: 1px solid #eceff6;
	list-style: none;
}

.bcp-mig__steps li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.45rem 0;
	color: var(--bcp-soft);
	font-size: 0.86rem;
	font-weight: 500;
}

.bcp-mig__steps li.is-done {
	color: var(--bcp-ink-2);
}

.bcp-mig__steps li.is-active {
	color: var(--bcp-indigo-700);
	font-weight: 600;
}

.bcp-mig__steps em {
	margin-left: auto;
	font-style: normal;
	font-variant-numeric: tabular-nums;
}

.bcp-mig__mark {
	display: grid;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	place-items: center;
	border: 2px solid #d6dbe6;
	border-radius: 50%;
	color: #fff;
}

.bcp-mig__mark .bcp-icon {
	width: 12px;
	height: 12px;
	stroke-width: 3;
}

.is-done .bcp-mig__mark {
	border-color: var(--bcp-indigo);
	background: var(--bcp-indigo);
}

.is-active .bcp-mig__mark {
	border-color: var(--bcp-indigo);
	background: radial-gradient(circle, var(--bcp-indigo) 0 4px, transparent 4.5px);
	animation: bcp-pulse 1.8s ease-in-out infinite;
}

.bcp-mig__bar {
	overflow: hidden;
	height: 8px;
	margin-top: 0.7rem;
	border-radius: 999px;
	background: var(--bcp-indigo-50);
}

.bcp-mig__bar span {
	display: block;
	width: 64%;
	height: 100%;
	border-radius: inherit;
	background: var(--bcp-brand);
	background-size: 200% 100%;
	animation: bcp-shimmer 2.4s linear infinite;
}

.bcp-mig__meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 1rem 0 0;
	border: 1px solid #eceff6;
	border-radius: 0.7rem;
	background: #fff;
}

.bcp-mig__meta div {
	min-width: 0;
	padding: 0.6rem 0.75rem;
}

.bcp-mig__meta div + div {
	border-left: 1px solid #eceff6;
}

.bcp-mig__meta dt {
	color: var(--bcp-soft);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bcp-mig__meta dd {
	margin: 0.15rem 0 0;
	overflow: hidden;
	color: var(--bcp-ink-2);
	font-size: 0.95rem;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bcp-mig__chip {
	position: absolute;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	max-width: 15rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--bcp-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 12px 28px rgba(18, 26, 43, 0.1);
	color: var(--bcp-ink-2);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.25;
	animation: bcp-float 6s ease-in-out infinite;
}

.bcp-mig__chip .bcp-icon {
	width: 16px;
	height: 16px;
	color: var(--bcp-indigo);
}

.bcp-mig__chip--top {
	top: 4%;
	left: -2%;
	animation-delay: -2s;
}

.bcp-mig__chip--bottom {
	right: -3%;
	bottom: 3%;
	animation-delay: -4s;
}

@keyframes bcp-float {
	0%,
	100% {
		translate: 0 0;
	}

	50% {
		translate: 0 -8px;
	}
}

@keyframes bcp-breathe {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.72;
		transform: scale(0.92);
	}
}

@keyframes bcp-packet {
	0% {
		left: 0;
		opacity: 0;
	}

	12%,
	82% {
		opacity: 1;
	}

	100% {
		left: calc(100% - 30px);
		opacity: 0;
	}
}

@keyframes bcp-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.3);
	}

	50% {
		box-shadow: 0 0 0 5px rgba(79, 70, 229, 0);
	}
}

@keyframes bcp-shimmer {
	from {
		background-position: 100% 0;
	}

	to {
		background-position: -100% 0;
	}
}

/* What goes with the migration ---------------------------------------------- */

.bcp-demo-catalog {
	padding-block: var(--bcp-section);
	background: #fff;
}

/* Every row takes the height of the tallest card, so the six cards line up. */
.bcp-demo-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 1.25rem;
	margin-top: 2.25rem;
}

.bcp-demo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 1.75rem;
	border: 1px solid var(--bcp-line);
	border-radius: 0.85rem;
	background: #fff;
	box-shadow: var(--bcp-shadow);
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.bcp-demo-card.has-link:hover,
.bcp-demo-card.has-link:focus-within {
	border-color: var(--bcp-indigo-200);
	box-shadow: var(--bcp-shadow-lift);
	transform: translateY(-2px);
}

.bcp-demo-card__top {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.bcp-demo-card__label {
	color: var(--bcp-soft);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bcp-demo-card__value {
	margin: 1.25rem 0 0;
	overflow-wrap: anywhere;
	color: var(--bcp-ink);
	font-size: clamp(1.6rem, 2.6vw, 2.25rem);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.bcp-demo-card__text {
	margin: 0.55rem 0 1.25rem;
	color: var(--bcp-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.bcp-demo-card__text code,
.bcp-demo-prose code {
	padding: 0.1em 0.38em;
	border-radius: 0.3rem;
	background: var(--bcp-indigo-50);
	color: var(--bcp-indigo-700);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.88em;
}

.bcp-demo-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: auto;
	color: var(--bcp-indigo-700);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.bcp-demo-card__link .bcp-icon {
	width: 1.05em;
	height: 1.05em;
	transition: transform 160ms ease;
}

.bcp-demo-card__link:hover {
	color: var(--bcp-indigo);
	text-decoration: none;
}

.bcp-demo-card__link:hover .bcp-icon,
.bcp-demo-card:hover .bcp-demo-card__link .bcp-icon {
	transform: translateX(3px);
}

/* The whole card follows its link. */
.bcp-demo-card .bcp-demo-card__link::after {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	content: "";
}

/* Plugin band ---------------------------------------------------------------- */

.bcp-demo-module {
	position: relative;
	overflow: hidden;
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	background: var(--bcp-band);
	color: #fff;
}

.bcp-demo-module::before {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 88% 30%, rgba(129, 140, 248, 0.32), transparent 22rem),
		linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 28px 28px;
	content: "";
	-webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
	pointer-events: none;
}

.bcp-demo-module__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.bcp-demo-module__copy {
	max-width: 680px;
}

.bcp-demo-module .bcp-demo-section-label {
	color: var(--bcp-indigo-300);
}

.bcp-demo-module h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.7rem, 3vw, 2.65rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.bcp-demo-module__copy > p:last-child {
	margin: 0.85rem 0 0;
	color: #d8deec;
	line-height: 1.65;
}

.bcp-demo-module__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 0.75rem;
}

.bcp-demo-module__actions .bcp-btn {
	min-width: 150px;
}

/* How it works ------------------------------------------------------------- */

.bcp-demo-steps {
	padding-block: var(--bcp-section);
	background: var(--bcp-cloud);
}

.bcp-wizard {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.bcp-wizard__step {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 1.5rem 1.4rem 1.6rem;
	border-top: 3px solid var(--bcp-indigo);
	background: #fff;
	box-shadow: var(--bcp-shadow);
}

.bcp-wizard__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.1rem;
}

.bcp-wizard__num {
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	place-items: center;
	border-radius: 50%;
	background: var(--bcp-indigo);
	box-shadow: 0 0 0 5px var(--bcp-indigo-50);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.bcp-wizard__line {
	height: 2px;
	flex: 1 1 auto;
	background: repeating-linear-gradient(90deg, var(--bcp-indigo-200) 0 6px, transparent 6px 11px);
}

.bcp-wizard__step:last-child .bcp-wizard__line {
	background: linear-gradient(90deg, var(--bcp-indigo-200), transparent);
}

.bcp-wizard__shot {
	display: grid;
	min-height: 8.75rem;
	margin-bottom: 1.25rem;
	padding: 0.9rem;
	place-items: center;
	border: 1px solid #e7eaf0;
	border-radius: 0.7rem;
	background:
		radial-gradient(circle at 85% 0%, rgba(79, 70, 229, 0.08), transparent 9rem),
		linear-gradient(180deg, #fafbfe 0%, #f4f5fa 100%);
}

.bcp-wizard__step h3 {
	margin: 0;
	color: var(--bcp-ink);
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.bcp-wizard__step p {
	margin: 0.7rem 0 0;
	color: var(--bcp-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.bcp-demo-steps__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2.25rem;
}

/*
 * Mini screens inside the steps. Padding and border stay inside the width, so
 * the frame around them keeps its padding; the largest size is the one they
 * already had (13.5rem of content, 0.8rem of padding on each side, border).
 */
.bcp-shot {
	display: grid;
	box-sizing: border-box;
	width: 100%;
	max-width: calc(15.1rem + 2px);
	gap: 0.5rem;
	padding: 0.8rem;
	border: 1px solid #e3e7ef;
	border-radius: 0.6rem;
	background: #fff;
	box-shadow: 0 8px 20px rgba(18, 26, 43, 0.06);
	font-size: 0.7rem;
}

.bcp-shot--login {
	justify-items: center;
	text-align: center;
}

.bcp-shot__avatar {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: var(--bcp-indigo-50);
	color: var(--bcp-indigo-700);
}

.bcp-shot__avatar .bcp-icon {
	width: 18px;
	height: 18px;
}

.bcp-shot__pill {
	padding: 0.15rem 0.5rem;
	border: 1px solid rgba(79, 70, 229, 0.25);
	border-radius: 999px;
	background: rgba(79, 70, 229, 0.08);
	color: var(--bcp-indigo-700);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bcp-shot__line {
	width: 70%;
	height: 6px;
	border-radius: 999px;
	background: #edf0f5;
}

.bcp-shot__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: 100%;
	padding: 0.45rem 0.5rem;
	border-radius: 0.4rem;
	background: var(--bcp-button);
	color: #fff;
	font-weight: 600;
}

.bcp-shot__button .bcp-icon {
	width: 13px;
	height: 13px;
}

.bcp-shot__title {
	color: var(--bcp-ink-2);
	font-weight: 700;
}

.bcp-shot__row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.5rem;
	border: 1px solid #e7eaf0;
	border-radius: 0.45rem;
	color: var(--bcp-soft);
}

.bcp-shot__row .bcp-icon {
	width: 14px;
	height: 14px;
}

.bcp-shot__row i {
	height: 5px;
	flex: 1 1 auto;
	border-radius: 999px;
	background: #edf0f5;
}

.bcp-shot__row b {
	width: 11px;
	height: 11px;
	flex: 0 0 11px;
	border: 2px solid #d6dbe6;
	border-radius: 50%;
}

.bcp-shot__row.is-selected {
	border-color: var(--bcp-indigo-300);
	background: var(--bcp-indigo-50);
	color: var(--bcp-indigo-700);
}

.bcp-shot__row.is-selected i {
	background: var(--bcp-indigo-200);
}

.bcp-shot__row.is-selected b {
	border-color: var(--bcp-indigo);
	background: radial-gradient(circle, var(--bcp-indigo) 0 2.5px, transparent 3px);
}

.bcp-shot__meter {
	display: grid;
	gap: 0.3rem;
	color: var(--bcp-muted);
	font-weight: 600;
}

.bcp-shot__meter i {
	position: relative;
	overflow: hidden;
	height: 6px;
	border-radius: 999px;
	background: var(--bcp-indigo-50);
}

.bcp-shot__meter i::after {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--bcp-fill, 0%);
	border-radius: inherit;
	background: var(--bcp-brand);
	content: "";
}

.bcp-shot--live {
	padding: 0;
	overflow: hidden;
}

.bcp-shot__browser {
	display: flex;
	gap: 0.25rem;
	padding: 0.45rem 0.6rem;
	border-bottom: 1px solid #edf0f5;
	background: #f8f9fc;
}

.bcp-shot__browser i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #dfe3ec;
}

.bcp-shot__page {
	display: grid;
	gap: 0.35rem;
	padding: 0.6rem 0.7rem 0;
}

.bcp-shot__page b {
	height: 6px;
	border-radius: 999px;
	background: #edf0f5;
}

.bcp-shot__page b:first-child {
	width: 60%;
	height: 9px;
	background: var(--bcp-indigo-100);
}

.bcp-shot__page b:last-child {
	width: 80%;
}

.bcp-shot__badge {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	gap: 0.3rem;
	margin: 0.2rem 0.7rem 0.75rem;
	padding: 0.25rem 0.55rem;
	border: 1px solid #a7f3d0;
	border-radius: 999px;
	background: #ecfdf5;
	color: #047857;
	font-weight: 700;
}

.bcp-shot__badge .bcp-icon {
	width: 12px;
	height: 12px;
	stroke-width: 3;
}

/* Posts --------------------------------------------------------------------- */

.bcp-demo-latest {
	padding-block: var(--bcp-section);
	background: #fff;
}

.bcp-demo-latest .wp-block-query,
.bcp-demo-section .wp-block-query {
	margin-top: 2.25rem;
}

body .bcp-post-grid {
	gap: 1.25rem;
	margin: 0;
	padding: 0;
}

.bcp-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--bcp-line);
	border-radius: 0.85rem;
	background: #fff;
	box-shadow: var(--bcp-shadow);
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.bcp-post-card:hover,
.bcp-post-card:focus-within {
	border-color: var(--bcp-indigo-200);
	box-shadow: var(--bcp-shadow-lift);
	transform: translateY(-2px);
}

body .bcp-post-card > * {
	margin: 0;
}

.bcp-post-card__media {
	overflow: hidden;
	margin: 0;
	background: var(--bcp-indigo-50);
}

.bcp-post-card__media img {
	display: block;
	width: 100%;
	transition: transform 600ms var(--bcp-ease);
}

.bcp-post-card:hover .bcp-post-card__media img {
	transform: scale(1.04);
}

.bcp-post-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.55rem;
	padding: 1.25rem 1.4rem 1.5rem;
}

body .bcp-post-card__body > * {
	margin: 0;
}

.bcp-post-card__date {
	color: var(--bcp-soft);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bcp-post-card__title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

.bcp-post-card__title a {
	color: var(--bcp-ink);
	text-decoration: none;
}

.bcp-post-card__title a::after {
	position: absolute;
	inset: 0;
	content: "";
}

.bcp-post-card:hover .bcp-post-card__title a {
	color: var(--bcp-indigo-700);
}

.bcp-post-card__excerpt {
	color: var(--bcp-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.bcp-post-card__excerpt p {
	margin: 0;
}

.bcp-post-card__excerpt .wp-block-post-excerpt__more-text {
	display: none;
}

.bcp-empty {
	padding: 2rem;
	border: 1px dashed var(--bcp-indigo-200);
	border-radius: 0.85rem;
	background: #fafbff;
	color: var(--bcp-muted);
	text-align: center;
}

.bcp-pagination {
	margin-top: 2.25rem;
}

.bcp-pagination a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding-inline: 1rem;
	border: 1px solid #d8dce6;
	border-radius: 0.5rem;
	background: #fff;
	color: #293449;
	font-weight: 600;
	text-decoration: none;
}

.bcp-pagination a:hover {
	border-color: #b9c0ce;
	background: #f8f9fc;
}

/* Page hero and sections ---------------------------------------------------- */

.bcp-demo-page-hero {
	padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
	background:
		radial-gradient(circle at 85% 0%, rgba(79, 70, 229, 0.14), transparent 26rem),
		linear-gradient(135deg, #f8f8ff 0%, #fff 60%, #f3f5ff 100%);
}

.bcp-demo-page-hero__copy {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}

.bcp-demo-page-hero__copy .bcp-demo-lead {
	margin-inline: auto;
}

.bcp-demo-page-hero--compact .bcp-demo-page-hero__copy,
.bcp-demo-page-hero--compact .bcp-shell--narrow {
	text-align: left;
	margin-inline: auto;
}

.bcp-demo-page-hero--compact .bcp-demo-lead {
	margin-inline: 0;
}

.bcp-demo-page-hero .wp-block-post-title,
.bcp-demo-page-hero .wp-block-query-title {
	margin: 0;
	color: var(--bcp-ink);
	font-size: clamp(2rem, 3.6vw, 3.25rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.bcp-demo-page-hero__media {
	margin-top: clamp(2rem, 5vw, 3.25rem);
}

.bcp-demo-wide-image {
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(199, 210, 254, 0.7);
	border-radius: 1.1rem;
	box-shadow: 0 30px 60px -30px rgba(49, 46, 129, 0.45);
}

.bcp-demo-wide-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2560 / 1170;
	object-fit: cover;
}

.bcp-demo-wide-image--short img {
	aspect-ratio: 2560 / 820;
}

.bcp-demo-section {
	padding-block: var(--bcp-section);
	background: #fff;
}

.bcp-demo-section--tint {
	background: var(--bcp-cloud);
}

.bcp-demo-section--top {
	padding-top: clamp(2rem, 4vw, 3rem);
}

.bcp-demo-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.bcp-demo-feature-list {
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bcp-demo-feature-list li {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--bcp-line);
	border-radius: 0.85rem;
	background: #fff;
	box-shadow: var(--bcp-shadow);
	color: var(--bcp-body);
	line-height: 1.5;
}

/* Sample media gallery. */
body .bcp-demo-gallery.wp-block-gallery.has-nested-images {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2.25rem;
}

body .bcp-demo-gallery.wp-block-gallery.has-nested-images figure.wp-block-image {
	position: relative;
	width: auto !important;
	margin: 0;
	overflow: hidden;
	border-radius: 0.85rem;
	box-shadow: var(--bcp-shadow);
	aspect-ratio: 1;
}

body .bcp-demo-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--bcp-ease);
}

body .bcp-demo-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:hover img {
	transform: scale(1.04);
}

body .bcp-demo-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	right: auto;
	bottom: 0.75rem;
	left: 0.75rem;
	width: auto;
	max-height: none;
	margin: 0;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 6px 16px rgba(18, 26, 43, 0.12);
	color: var(--bcp-ink-2);
	font-size: 0.8rem;
	font-weight: 600;
	text-shadow: none;
}

body .bcp-demo-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
	display: none;
}

/* Moved and not moved. */
.bcp-demo-compare {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 2.25rem;
}

.bcp-demo-compare__col,
.bcp-demo-needs {
	padding: 1.75rem;
	border: 1px solid var(--bcp-line);
	border-radius: 0.85rem;
	background: #fff;
	box-shadow: var(--bcp-shadow);
}

.bcp-demo-compare h3,
.bcp-demo-needs h3 {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	color: var(--bcp-ink);
	font-size: 1.2rem;
	font-weight: 700;
}

.bcp-demo-icon--ok {
	width: 34px;
	height: 34px;
	flex-basis: 34px;
	border-radius: 50%;
	background: var(--bcp-indigo);
	color: #fff;
}

.bcp-demo-icon--muted {
	width: 34px;
	height: 34px;
	flex-basis: 34px;
	border-radius: 50%;
	background: #f1f3f7;
	color: var(--bcp-soft);
}

.bcp-demo-icon--ok .bcp-icon,
.bcp-demo-icon--muted .bcp-icon {
	width: 16px;
	height: 16px;
	stroke-width: 2.6;
}

.bcp-demo-compare ul,
.bcp-demo-needs ul {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bcp-demo-compare li,
.bcp-demo-needs li {
	position: relative;
	padding-left: 1.25rem;
	color: var(--bcp-body);
	line-height: 1.55;
}

.bcp-demo-compare li::before,
.bcp-demo-needs li::before {
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bcp-indigo-300);
	content: "";
}

.bcp-demo-needs {
	margin-top: 1.25rem;
	background:
		radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.07), transparent 18rem),
		#fff;
}

.bcp-demo-needs h3 .bcp-icon {
	width: 24px;
	height: 24px;
	color: var(--bcp-indigo);
}

.bcp-demo-needs ul {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem 2rem;
}

/* Frequently asked questions. */
.bcp-demo-faq {
	max-width: 860px;
}

body .bcp-demo-faq > * {
	margin-block: 0;
}

.bcp-demo-faq__title {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0 0 0.75rem;
	color: var(--bcp-ink);
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

body .bcp-demo-faq > .bcp-demo-faq__title {
	margin-bottom: 0.75rem;
}

body .bcp-demo-faq__item + .bcp-demo-faq__title {
	margin-top: 3rem;
}

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

.bcp-demo-faq__item summary {
	position: relative;
	padding: 1.15rem 2.5rem 1.15rem 0;
	color: var(--bcp-ink-2);
	cursor: pointer;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
}

.bcp-demo-faq__item summary::-webkit-details-marker {
	display: none;
}

.bcp-demo-faq__item summary::after {
	position: absolute;
	top: 50%;
	right: 0.25rem;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background:
		linear-gradient(var(--bcp-indigo-700), var(--bcp-indigo-700)) center / 11px 2px no-repeat,
		linear-gradient(var(--bcp-indigo-700), var(--bcp-indigo-700)) center / 2px 11px no-repeat,
		var(--bcp-indigo-50);
	content: "";
	transition: transform 200ms ease;
}

.bcp-demo-faq__item[open] summary::after {
	background:
		linear-gradient(var(--bcp-indigo-700), var(--bcp-indigo-700)) center / 11px 2px no-repeat,
		var(--bcp-indigo-50);
	transform: rotate(180deg);
}

.bcp-demo-faq__item summary:hover {
	color: var(--bcp-indigo-700);
}

.bcp-demo-faq__item p {
	max-width: 720px;
	margin: 0 0 1.25rem;
	color: var(--bcp-muted);
	line-height: 1.7;
}

/* Single post ----------------------------------------------------------------- */

.bcp-demo-post__header {
	padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.25rem);
	background:
		radial-gradient(circle at 85% 0%, rgba(79, 70, 229, 0.14), transparent 26rem),
		linear-gradient(135deg, #f8f8ff 0%, #fff 60%, #f3f5ff 100%);
}

body .bcp-demo-post__header .bcp-shell > * {
	margin-block: 0;
}

.bcp-demo-back {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 1.5rem !important;
	color: var(--bcp-muted);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.bcp-demo-back:hover {
	color: var(--bcp-indigo-700);
}

.bcp-demo-post__date {
	margin-bottom: 0.85rem !important;
	color: var(--bcp-indigo-700);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bcp-demo-post__title {
	font-size: clamp(2rem, 4vw, 3.25rem);
}

.bcp-demo-post__lead {
	margin-top: 1.1rem !important;
	color: var(--bcp-text);
	font-size: 1.15rem;
	line-height: 1.6;
}

.bcp-demo-post__lead p {
	margin: 0;
}

.bcp-demo-post__media {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.bcp-demo-post__cover {
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(199, 210, 254, 0.7);
	border-radius: 1.1rem;
	box-shadow: 0 30px 60px -30px rgba(49, 46, 129, 0.4);
}

.bcp-demo-post__cover img {
	display: block;
	width: 100%;
	height: auto;
}

.bcp-demo-prose {
	padding-block: clamp(2rem, 4vw, 3rem) var(--bcp-section);
	color: var(--bcp-body);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.bcp-demo-page-body {
	padding-top: clamp(2rem, 4vw, 3rem);
}

.bcp-demo-prose h2 {
	margin-top: 2.5rem;
	margin-bottom: 0;
	color: var(--bcp-ink);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.bcp-demo-prose h3 {
	margin-top: 2rem;
	font-size: 1.25rem;
}

.bcp-demo-prose p,
.bcp-demo-prose ul,
.bcp-demo-prose ol {
	margin-top: 1rem;
	margin-bottom: 0;
}

.bcp-demo-prose ul {
	padding-left: 0;
	list-style: none;
}

.bcp-demo-prose ul li {
	position: relative;
	padding-left: 1.4rem;
}

.bcp-demo-prose ul li + li {
	margin-top: 0.5rem;
}

.bcp-demo-prose ul li::before {
	position: absolute;
	top: 0.72em;
	left: 0.2rem;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bcp-indigo);
	content: "";
}

.bcp-demo-prose a {
	color: var(--bcp-indigo-700);
	text-underline-offset: 3px;
}

.bcp-demo-prose figure.wp-block-image {
	margin: 2rem 0 0;
}

.bcp-demo-prose figure.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0.85rem;
	box-shadow: var(--bcp-shadow);
}

.bcp-demo-prose figcaption {
	margin-top: 0.75rem;
	color: var(--bcp-soft);
	font-size: 0.875rem;
	text-align: center;
}

.bcp-demo-prose blockquote {
	margin: 2rem 0 0;
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 3px solid var(--bcp-indigo);
	color: var(--bcp-ink-2);
	font-weight: 500;
}

/* 404 ------------------------------------------------------------------------- */

.bcp-demo-404 {
	padding-block: clamp(4rem, 10vw, 8rem);
}

.bcp-demo-404 .bcp-actions {
	justify-content: center;
	margin-top: 2rem;
}

/* Footer ---------------------------------------------------------------------- */

.bcp-footer {
	padding-block: clamp(2.75rem, 6vw, 4rem) 1.5rem;
	background: var(--bcp-band);
	color: #c7cce0;
}

.bcp-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 2rem 3rem;
}

.bcp-footer__brand p {
	max-width: 380px;
	margin: 1rem 0 0;
	color: #c7cce0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.bcp-brand--light .bcp-brand__logo {
	filter: brightness(0) invert(1);
}

.bcp-footer__col h2 {
	margin: 0 0 0.9rem;
	color: var(--bcp-indigo-300);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.bcp-footer__col ul {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bcp-footer__col a {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: #e5e8f5;
	font-size: 0.9375rem;
	text-decoration: none;
}

.bcp-footer__col a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bcp-footer__ext {
	width: 0.85em;
	height: 0.85em;
	opacity: 0.65;
}

.bcp-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	flex-wrap: wrap;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8125rem;
}

.bcp-footer__bottom p {
	margin: 0;
}

.bcp-footer__notice {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	max-width: 640px;
	line-height: 1.5;
}

.bcp-footer__notice .bcp-icon {
	margin-top: 0.1rem;
	color: var(--bcp-indigo-300);
}

.bcp-footer__copy {
	color: #a9b0c9;
}

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

@media (max-width: 991.98px) {
	.bcp-demo-hero__grid {
		grid-template-columns: 1fr;
	}

	.bcp-mig {
		min-height: 0;
		padding-block: 2rem 1rem;
	}

	.bcp-demo-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bcp-wizard {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bcp-demo-module__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.bcp-demo-split,
	.bcp-demo-compare {
		grid-template-columns: 1fr;
	}

	.bcp-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bcp-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.bcp-demo-card-grid,
	.bcp-wizard,
	.bcp-demo-needs ul {
		grid-template-columns: 1fr;
	}

	/* Stacked cards keep their own height. */
	.bcp-demo-card-grid {
		grid-auto-rows: auto;
	}

	body .bcp-demo-gallery.wp-block-gallery.has-nested-images {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
	}

	.bcp-mig__chip {
		position: static;
		margin-top: 0.75rem;
	}

	.bcp-mig {
		flex-direction: column;
	}

	.bcp-mig__card {
		transform: none;
	}

	.bcp-actions .bcp-btn,
	.bcp-demo-steps__cta .bcp-btn,
	.bcp-demo-module__actions .bcp-btn {
		flex: 1 1 100%;
	}

	.bcp-demo-module__actions {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.bcp-demo-card,
	.bcp-demo-compare__col,
	.bcp-demo-needs {
		padding: 1.4rem;
	}
}

@media (max-width: 420px) {
	.bcp-footer__grid {
		grid-template-columns: 1fr;
	}

	.bcp-mig__meta dd {
		font-size: 0.85rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.bcp-mig__card,
	.bcp-mig__chip,
	.bcp-mig__halo,
	.bcp-mig__packet,
	.bcp-mig__bar span,
	.is-active .bcp-mig__mark {
		animation: none;
	}

	.bcp-mig__packet {
		left: calc(50% - 15px);
	}

	.bcp-mig__card,
	.bcp-demo-card,
	.bcp-post-card,
	.bcp-post-card__media img,
	body .bcp-demo-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img {
		transition: none;
	}
}
