/* Homepage only (enqueued by inc/helpers/assets.php). Tokens live in @wp-rollback/site-chrome/tokens.css, loaded globally by global.css. *//*
 * Homepage hero (HomeHeader.jsx) and its looping WP Rollback Pro walkthrough
 * (HeroWalkthrough.jsx, HeroDemoScreen.jsx). The demo window is drawn at a fixed
 * 1040×600 and scaled to fit with --wpr-demo-scale. Scene timing and the cursor's
 * path live in SCENES (HeroDemoScreen.jsx); the demo data comes from the Pro UI kit
 * (packages/pro-plugin/bin/ui-kit).
 */

.wpr-home-hero {
	position: relative;
	overflow: hidden;
	background: var(--wpr-surface);
	color: var(--wpr-text);
}

/* A still grid that fades out from the top. Nothing behind the demo moves. */
.wpr-home-hero__grid {
	position: absolute;
	inset: 0 0 auto;
	height: 1000px;
	background-image:
		linear-gradient(rgb(255 255 255 / 3.5%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 3.5%) 1px, transparent 1px);
	background-position: center top;
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 0%, #000 25%, transparent 78%);
	mask-image: radial-gradient(ellipse 62% 70% at 50% 0%, #000 25%, transparent 78%);
	pointer-events: none;
}

/* inc/setup.php forces `font-family: var(--font-primary) !important` on headings, so
   switch the face through the variable, as the blog and support pages do. */
.wpr-home-hero__title {
	--font-primary: var(--wpr-font-display);

	font-family: var(--font-primary);
	letter-spacing: -0.035em;
}

.wpr-home-hero__accent {
	background: var(--wpr-accent-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Kadence recolors a:focus/a:active (0,1,1); these links keep their own colors. */
.wpr-home-hero a.wpr-home-hero__pill,
.wpr-home-hero a.wpr-home-hero__pill:is(:focus, :active, :visited) {
	color: var(--wpr-soft);
}

.wpr-home-hero a.wpr-home-hero__link,
.wpr-home-hero a.wpr-home-hero__link:is(:focus, :active, :visited) {
	color: var(--wpr-muted);
	text-decoration: underline;
	text-decoration-color: var(--wpr-border-strong);
	text-underline-offset: 2px;
}

.wpr-home-hero a:is(.wpr-home-hero__pill, .wpr-home-hero__link):hover {
	color: #fff;
}

/* The free download button beside the Pro button: glass on the dark hero, with a download
   icon that settles on hover. It opens the Kadence popup (_download-modal.scss). Kadence
   recolors links on hover, focus and active (a:hover, 0,1,1). */
.wpr-home-hero a.wpr-home-hero__free {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 32px;
	border: 1px solid rgb(255 255 255 / 22%);
	border-radius: 6px;
	background: rgb(255 255 255 / 5%);
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wpr-home-hero a.wpr-home-hero__free,
.wpr-home-hero a.wpr-home-hero__free:is(:hover, :focus, :active, :visited) {
	color: #fff;
	text-decoration: none;
}

.wpr-home-hero__free svg {
	color: var(--wpr-accent-text);
	transition: transform 0.2s ease;
}

.wpr-home-hero a.wpr-home-hero__free:hover {
	border-color: var(--wpr-accent-border);
	background: rgb(139 92 246 / 14%);
}

.wpr-home-hero__free:where(:hover) svg {
	transform: translateY(2px);
}

.wpr-home-hero a.wpr-home-hero__free:focus-visible {
	outline: 2px solid var(--wpr-accent);
	outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * Step buttons under the demo. Two classes beat Kadence's button rules.
 * ------------------------------------------------------------------------ */

.wpr-home-hero__steps :is(.wpr-home-hero__step, .wpr-home-hero__toggle) {
	box-sizing: border-box;
	min-height: 56px;
	margin: 0;
	border: 1px solid var(--wpr-border);
	border-radius: 12px;
	background: rgb(255 255 255 / 2%);
	box-shadow: none;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.wpr-home-hero__steps button:is(.wpr-home-hero__step, .wpr-home-hero__toggle) {
	cursor: pointer;
}

.wpr-home-hero__steps button:is(.wpr-home-hero__step, .wpr-home-hero__toggle):not(.is-active):hover {
	border-color: var(--wpr-border-strong);
	background: rgb(255 255 255 / 4%);
}

.wpr-home-hero__steps :is(.wpr-home-hero__step, .wpr-home-hero__toggle):focus-visible {
	outline: 2px solid var(--wpr-accent-text);
	outline-offset: 3px;
}

.wpr-home-hero__steps .wpr-home-hero__step {
	position: relative;
	padding: 10px 14px;
	overflow: hidden;
	color: var(--wpr-dim);
	text-align: left;
}

.wpr-home-hero__steps .wpr-home-hero__step.is-active {
	border-color: rgb(139 92 246 / 70%);
	background: var(--wpr-accent-soft);
	color: #fff;
}

.wpr-home-hero__step-num {
	display: block;
	color: var(--wpr-faint);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
	line-height: 16px;
}

.is-active .wpr-home-hero__step-num {
	color: var(--wpr-accent-text);
}

.wpr-home-hero__step-label {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.wpr-home-hero__step-bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--wpr-accent);
	transform-origin: left center;
	animation: wpr-demo-grow linear both;
}

.wpr-home-hero__steps .wpr-home-hero__toggle {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	padding: 0;
	color: var(--wpr-soft);
}

.wpr-home-hero__steps .wpr-home-hero__toggle:hover {
	color: #fff;
}

/* ---------------------------------------------------------------------------
 * Stage and scaling
 * ------------------------------------------------------------------------ */

.wpr-demo {
	position: relative;
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: clamp(20px, 4.5vw, 56px) clamp(12px, 4vw, 48px) clamp(24px, 5vw, 64px);
	border-radius: clamp(16px, 2vw, 24px);
	background-color: #2b1a73;
	background-position: center;
	background-size: cover;
}

/* Keep the width in step with SCREEN_WIDTH in HeroDemoScreen.jsx. */
.wpr-demo__scaler {
	position: relative;
	flex: none;
	width: 1040px;
	height: 600px;
	zoom: var(--wpr-demo-scale, 1);
	color: #1e1e1e;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	font-size: 13px;
	line-height: normal;
	text-align: left;
}

.wpr-demo b {
	font-weight: 600;
}

/* ---------------------------------------------------------------------------
 * The WordPress admin window
 * ------------------------------------------------------------------------ */

.wpr-demo__window {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 12px;
	background: #f6f7f9;
	box-shadow: 0 40px 80px -24px rgb(8 4 24 / 65%), 0 0 0 1px rgb(255 255 255 / 8%);
}

.wpr-demo__push {
	margin-left: auto;
}

.wpr-demo__small {
	font-size: 12px;
}

.wpr-demo__adminbar {
	display: flex;
	flex: none;
	align-items: center;
	gap: 18px;
	height: 32px;
	padding: 0 12px;
	background: #1d2327;
	color: #f0f0f1;
}

.wpr-demo__adminbar-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.wpr-demo__adminbar-item svg {
	color: #c3c4c7;
}

/* The WordPress logo, in the admin bar's icon color. */
.wpr-demo__wp-logo {
	display: block;
	fill: #a7aaad;
}

.wpr-demo__body,
.wpr-demo__main {
	display: flex;
	flex: 1;
	min-height: 0;
}

.wpr-demo__menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 36px;
	padding-top: 14px;
	background: #1d2327;
}

.wpr-demo__menu-icon {
	width: 16px;
	height: 16px;
	border-radius: 4px;
	background: #50575e;
}

.wpr-demo__menu-current {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 30px;
	background: #2271b1;
}

.wpr-demo__menu-current .wpr-demo__menu-icon {
	background: #fff;
	opacity: 0.9;
}

.wpr-demo__app {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.wpr-demo__apphead {
	display: flex;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	height: 56px;
	padding: 0 20px;
	border-bottom: 1px solid #e2e4e7;
	background: #fff;
}

.wpr-demo__logo {
	display: block;
	width: 22px;
	height: 22px;
}

.wpr-demo__brand {
	color: var(--wpr-navy);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.wpr-demo__pro {
	padding: 0 5px;
	border: 1.5px solid var(--wpr-navy);
	border-radius: 999px;
	color: var(--wpr-navy);
	font-size: 9px;
	font-weight: 700;
	line-height: 13px;
}

.wpr-demo__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-sizing: border-box;
	height: 34px;
	padding: 0 18px;
	border: 1px solid #3858e9;
	border-radius: 2px;
	background: #3858e9;
	color: #fff;
	font-weight: 500;
}

.wpr-demo__btn--head {
	height: 32px;
	margin-left: auto;
	padding: 0 12px;
}

.wpr-demo__btn--outline {
	padding: 0 16px;
	background: #fff;
	color: #3858e9;
}

.wpr-demo__btn--row {
	height: 28px;
	margin-left: auto;
	padding: 0 10px;
	font-size: 12.5px;
}

.wpr-demo__btn--tall {
	height: 36px;
}

.wpr-demo__subnav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	box-sizing: border-box;
	width: 176px;
	padding: 14px 10px;
	border-right: 1px solid #e2e4e7;
	background: #fff;
}

.wpr-demo__subnav-item {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 34px;
	padding: 0 10px;
	border-radius: 6px;
	color: #3c434a;
}

.wpr-demo__subnav-item.is-current {
	background: #eef2ff;
	box-shadow: inset 0 0 0 1px #c9d4fb;
	color: #3858e9;
	font-weight: 600;
}

.wpr-demo__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	box-sizing: border-box;
	min-width: 0;
	padding: 18px 20px;
	overflow: hidden;
}

.wpr-demo__restore {
	position: relative;
	z-index: 2;
	padding: 15px 18px;
	border: 1px solid #d6def5;
	border-radius: 10px;
	background: #f7f9fe;
}

.wpr-demo__h {
	font-size: 15px;
	font-weight: 600;
	line-height: 20px;
}

.wpr-demo__desc {
	margin-top: 3px;
	color: #50575e;
	font-size: 12px;
	line-height: 16px;
}

.wpr-demo__search {
	position: relative;
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.wpr-demo__field {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #8c8f94;
	border-radius: 2px;
	background: #fff;
}

.wpr-demo__field-text {
	position: relative;
	display: inline-flex;
	flex: 1;
	align-items: center;
}

.wpr-demo__placeholder {
	color: #757575;
}

.wpr-demo__placeholder--over {
	position: absolute;
	left: 0;
}

.wpr-demo__caret {
	display: inline-block;
	width: 1px;
	height: 15px;
	margin-left: 1px;
	background: #1e1e1e;
	animation: wpr-demo-blink 1s steps(1) infinite;
}

.wpr-demo__segment {
	display: flex;
	padding: 3px;
	border-radius: 2px;
	background: #f0f0f1;
}

.wpr-demo__segment span {
	display: flex;
	align-items: center;
	padding: 0 14px;
	border-radius: 2px;
	color: #3858e9;
	font-weight: 500;
}

.wpr-demo__segment .is-on {
	background: #3858e9;
	color: #fff;
	font-weight: 600;
}

.wpr-demo__hint {
	margin-top: 9px;
	color: #50575e;
	font-size: 11.5px;
	line-height: 14px;
}

.wpr-demo__result {
	position: absolute;
	top: 44px;
	right: 0;
	left: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	height: 56px;
	padding: 0 16px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 28px -8px rgb(30 30 30 / 22%);
}

.wpr-demo__link {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	color: #3858e9;
	font-weight: 600;
}

.wpr-demo__cols {
	display: grid;
	flex: 1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	min-height: 0;
}

.wpr-demo__card {
	overflow: hidden;
	border: 1px solid #e2e4e7;
	border-radius: 10px;
	background: #fff;
}

.wpr-demo__card-head {
	padding: 12px 16px;
	border-bottom: 1px solid #f0f0f1;
}

.wpr-demo__card-title {
	font-size: 13.5px;
	font-weight: 600;
}

.wpr-demo__card-desc {
	margin-top: 2px;
	color: #757575;
	font-size: 12px;
}

.wpr-demo__row {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	height: 56px;
	padding: 0 16px;
	border-bottom: 1px solid #f0f0f1;
}

.wpr-demo__row:last-child {
	border-bottom: 0;
}

.wpr-demo__name {
	font-weight: 600;
	line-height: 17px;
}

.wpr-demo__meta {
	color: #50575e;
	font-size: 12px;
	line-height: 17px;
}

/* The search result's name and meta are a touch larger and lighter than a row's. */
.wpr-demo__result .wpr-demo__name {
	font-size: 13.5px;
}

.wpr-demo__result .wpr-demo__meta {
	color: #757575;
}

.wpr-demo__success {
	margin-left: auto;
	padding: 4px 8px;
	border-radius: 2px;
	background: #edfaef;
	color: #00701a;
	font-size: 12px;
}

.wpr-demo__new {
	max-height: 100px;
	overflow: hidden;
	padding: 10px 16px;
	border-bottom: 1px solid #f0f0f1;
	background: #fff;
}

.wpr-demo__new-line {
	display: flex;
	align-items: center;
}

.wpr-demo__new-note {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	color: #50575e;
	font-size: 11.5px;
	font-style: italic;
}

/* ---------------------------------------------------------------------------
 * Modals
 * ------------------------------------------------------------------------ */

.wpr-demo__backdrop {
	position: absolute;
	inset: 0;
	z-index: 10;
	background: rgb(30 30 30 / 38%);
}

.wpr-demo__modal {
	position: absolute;
	left: 260px;
	z-index: 20;
	box-sizing: border-box;
	width: 520px;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 24px 60px -12px rgb(0 0 0 / 40%);
}

.wpr-demo__modal--pad,
.wpr-demo__modal-section {
	padding: 22px;
}

.wpr-demo__modal-section {
	padding-bottom: 16px;
}

.wpr-demo__modal-head {
	display: flex;
	align-items: center;
	gap: 8px;
	line-height: 24px;
}

.wpr-demo__close {
	display: flex;
}

.wpr-demo__modal-title {
	font-size: 17px;
	font-weight: 600;
}

.wpr-demo__lede {
	margin-top: 8px;
	color: #3c434a;
	font-size: 13px;
	line-height: 18px;
}

.wpr-demo__lede--narrow {
	max-width: 380px;
}

.wpr-demo__lede--spaced {
	margin-top: 12px;
	color: #1e1e1e;
}

.wpr-demo__pills {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.wpr-demo__pill {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	height: 26px;
	padding: 0 11px;
	border-radius: 999px;
	background: #f0f6fc;
	font-size: 12px;
}

.wpr-demo__pill--dark {
	background: #1e1e1e;
	color: #fff;
}

.wpr-demo__versions-head {
	padding: 14px 22px 0;
	border-top: 1px solid #e2e4e7;
}

.wpr-demo__versions-title {
	font-size: 15px;
	font-weight: 500;
	line-height: 20px;
}

.wpr-demo__versions-note {
	margin-top: 4px;
	color: #3c434a;
	font-size: 12px;
	font-style: italic;
	line-height: 16px;
}

.wpr-demo__versions {
	margin-top: 12px;
}

.wpr-demo__version {
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	height: 46px;
	padding: 0 22px;
	border-top: 1px solid #e2e4e7;
	background: #fafafa;
}

.wpr-demo__version b {
	margin-right: auto;
	font-size: 15px;
}

.wpr-demo__version.is-picked {
	background: #eef3ff;
}

.wpr-demo__radio {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	border: 1.5px solid #1e1e1e;
	border-radius: 50%;
}

.is-picked .wpr-demo__radio {
	border-color: #3858e9;
}

.wpr-demo__radio-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3858e9;
}

.wpr-demo__tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 3px;
	background: #edfaef;
	color: #00701a;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.wpr-demo__tag--installed {
	background: #f0f0f1;
	color: #3c434a;
}

.wpr-demo__tag--vault {
	background: #e5ebff;
	color: #3858e9;
}

.wpr-demo__modal-foot,
.wpr-demo__actions {
	display: flex;
	gap: 10px;
}

.wpr-demo__modal-foot {
	padding: 14px 22px;
	border-top: 1px solid #e2e4e7;
}

.wpr-demo__actions {
	margin-top: 16px;
}

.wpr-demo__label {
	margin-top: 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 14px;
}

.wpr-demo__textarea {
	box-sizing: border-box;
	height: 96px;
	margin-top: 8px;
	padding: 10px 12px;
	border: 1px solid #8c8f94;
	border-radius: 2px;
	box-shadow: 0 0 0 1px #3858e9;
	line-height: 19px;
}

.wpr-demo__textarea div {
	width: -moz-max-content;
	width: max-content;
	white-space: nowrap;
}

.wpr-demo__help {
	margin-top: 8px;
	color: #757575;
	font-size: 12px;
	line-height: 16px;
}

.wpr-demo__notice {
	margin-top: 14px;
	padding: 12px 16px;
	border-left: 4px solid #00a32a;
	background: #f6f7f7;
}

.wpr-demo__notice-title {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 19px;
}

.wpr-demo__notice-sub {
	position: relative;
	height: 18px;
	margin-top: 4px;
	color: #50575e;
	font-size: 12.5px;
}

.wpr-demo__notice-sub span {
	position: absolute;
	top: 0;
	left: 0;
}

.wpr-demo__progress {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

.wpr-demo__track {
	flex: 1;
	height: 8px;
	overflow: hidden;
	border-radius: 99px;
	background: #edeff0;
}

.wpr-demo__bar {
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, #00a32a, #2fbf55);
}

.wpr-demo__percent {
	width: 36px;
	font-weight: 600;
	text-align: right;
}

.wpr-demo__checks {
	margin-top: 16px;
	border: 1px solid #e2e4e7;
	border-radius: 6px;
}

.wpr-demo__check {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid #f0f0f1;
	line-height: 17px;
}

.wpr-demo__check:last-child {
	border-bottom: 0;
}

.wpr-demo__check-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e6f6ea;
	color: #00701a;
}

.wpr-demo__check-title {
	font-weight: 500;
}

.wpr-demo__check-sub {
	color: #757575;
	font-size: 12px;
}

.wpr-demo__done {
	margin-top: 16px;
	padding: 28px 24px 22px;
	background: linear-gradient(#ecf7ee, #fff);
	text-align: center;
}

.wpr-demo__done-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto;
	border-radius: 50%;
	background: #00a32a;
	color: #fff;
}

.wpr-demo__done-title {
	margin-top: 16px;
	font-size: 19px;
	font-weight: 600;
}

.wpr-demo__done-text {
	margin-top: 6px;
	font-size: 13.5px;
	line-height: 20px;
}

/* ---------------------------------------------------------------------------
 * The emailed report that slides out over the window's left edge
 * ------------------------------------------------------------------------ */

.wpr-demo__report {
	position: absolute;
	top: 280px;
	left: -40px;
	z-index: 30;
	box-sizing: border-box;
	width: 350px;
	padding: 18px 20px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 30px 60px -16px rgb(8 4 24 / 55%), 0 0 0 1px rgb(0 0 0 / 4%);
}

.wpr-demo__report-head {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wpr-demo__report-logo {
	display: block;
}

.wpr-demo__report-brand {
	color: var(--wpr-navy);
	font-weight: 600;
}

.wpr-demo__report-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	color: #50575e;
	font-size: 11px;
}

.wpr-demo__report-site {
	margin-top: 10px;
	font-size: 15px;
	font-weight: 600;
}

.wpr-demo__report-dates {
	color: #757575;
	font-size: 12px;
}

.wpr-demo__report-heading {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #f0f0f1;
	font-weight: 600;
}

.wpr-demo__report-summary {
	margin: 2px 0 10px;
	color: #50575e;
	font-size: 12px;
}

.wpr-demo__report-row {
	margin: 0 -8px;
	padding: 8px;
	border-radius: 6px;
	background: #fff;
}

.wpr-demo__report-row + .wpr-demo__report-row {
	border-top: 1px solid #f0f0f1;
	border-radius: 0;
}

.wpr-demo__report-line {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
}

.wpr-demo__report-versions {
	color: #50575e;
}

.wpr-demo__report-tag {
	margin-left: auto;
	padding: 2px 6px;
	border-radius: 3px;
	background: #dcf7e3;
	color: #00701a;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.wpr-demo__report-by {
	margin-top: 2px;
	color: #8c8f94;
	font-size: 11.5px;
}

/* ---------------------------------------------------------------------------
 * Cursor and clicks. HeroDemoScreen moves the cursor with the Web Animations API.
 * ------------------------------------------------------------------------ */

.wpr-demo__cursor {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 40;
	width: 24px;
	height: 24px;
	pointer-events: none;

	/* Clicks shrink the cursor around its tip (TIP in HeroDemoScreen.jsx), so the tip stays put. */
	transform-origin: 4px 3px;
}

.wpr-demo__cursor svg {
	display: block;
	filter: drop-shadow(0 2px 3px rgb(0 0 0 / 25%));
}

.wpr-demo__ripple {
	position: absolute;
	z-index: 39;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgb(56 88 233 / 45%);
	opacity: 0;
	animation: wpr-demo-ripple 0.6s ease-out forwards;
	pointer-events: none;
}

/* ---------------------------------------------------------------------------
 * Animation classes. Each scene mounts fresh, so these replay every loop.
 * Click-synced delays (press, pick, tint) come inline from SCENES.
 * ------------------------------------------------------------------------ */

.wpr-anim-fade { animation: wpr-demo-fade-in 0.3s ease both; }

.wpr-anim-modal { animation: wpr-demo-modal-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

.wpr-anim-result { animation: wpr-demo-in-up 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 1.45s both; }

.wpr-anim-placeholder-out { animation: wpr-demo-fade-out 0.1s 0.66s forwards; }

.wpr-anim-type { animation: wpr-demo-reveal 0.6s steps(4) 0.7s both; }

.wpr-anim-press { animation: wpr-demo-press 0.25s; }

.wpr-anim-pick { animation: wpr-demo-pick 0.25s cubic-bezier(0.3, 1.6, 0.5, 1) both; }

.wpr-anim-tint { animation: wpr-demo-tint 0.3s both; }

.wpr-anim-line-1 { animation: wpr-demo-reveal 1.1s steps(28) 0.55s both; }

.wpr-anim-line-2 { animation: wpr-demo-reveal 0.6s steps(16) 1.7s both; }

.wpr-anim-bar { animation: wpr-demo-bar 2.6s cubic-bezier(0.4, 0, 0.3, 1) 0.2s both; }

.wpr-anim-swap-out { animation: wpr-demo-fade-out 0.2s 2.75s forwards; }

.wpr-anim-swap-in { animation: wpr-demo-fade-in 0.25s 2.8s both; }

.wpr-anim-pop { animation: wpr-demo-pop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }

.wpr-anim-new-row { animation: wpr-demo-row-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both, wpr-demo-highlight 2.8s ease 0.9s both; }

.wpr-anim-report { animation: wpr-demo-float-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s both; }

.wpr-anim-report-row { animation: wpr-demo-highlight 2.4s ease 1.4s both; }

/* The four package checks pass 0.6s apart; --wpr-check is each one's index. */
.wpr-anim-check,
.wpr-anim-check .wpr-demo__check-icon {
	animation-delay: calc(0.55s + var(--wpr-check) * 0.6s);
	animation-fill-mode: both;
}

.wpr-anim-check {
	animation-name: wpr-demo-check-on;
	animation-duration: 0.3s;
}

.wpr-anim-check .wpr-demo__check-icon {
	animation-name: wpr-demo-pop;
	animation-duration: 0.35s;
}

/*
 * Paused, or the visitor prefers reduced motion (HeroWalkthrough adds the class
 * for both): every scene shows its finished frame and the cursor goes away.
 */
.wpr-demo-still *,
.wpr-demo-still *::before,
.wpr-demo-still *::after {
	animation: none !important;
}

.wpr-demo-still :is(.wpr-demo__cursor, .wpr-demo__ripple, .wpr-demo__caret, .wpr-anim-placeholder-out, .wpr-anim-swap-out) {
	display: none;
}

@keyframes wpr-demo-fade-in { from { opacity: 0; } }

@keyframes wpr-demo-fade-out { to { opacity: 0; } }

@keyframes wpr-demo-in-up { from { opacity: 0; transform: translateY(8px); } }

@keyframes wpr-demo-modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

@keyframes wpr-demo-reveal { from { clip-path: inset(0 100% 0 0); } }

@keyframes wpr-demo-pick { from { transform: scale(0); } }

@keyframes wpr-demo-tint { from { background: #fafafa; } }

@keyframes wpr-demo-bar { from { transform: translateX(-100%); } }

@keyframes wpr-demo-check-on { from { opacity: 0.32; } }

@keyframes wpr-demo-pop { 0% { opacity: 0; transform: scale(0.3); }

 70% { opacity: 1; transform: scale(1.08); }

 100% { transform: scale(1); } }

@keyframes wpr-demo-row-in { from { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; } }

@keyframes wpr-demo-highlight { from { background: #eef2ff; } }

@keyframes wpr-demo-float-in { from { opacity: 0; transform: translate(-32px, 8px); } }

@keyframes wpr-demo-grow { from { transform: scaleX(0); } }

@keyframes wpr-demo-blink { 50% { opacity: 0; } }

@keyframes wpr-demo-press { 50% { transform: scale(0.95); } }

@keyframes wpr-demo-ripple { 0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.2); }

 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.9); } }

@media (prefers-reduced-motion: reduce) {
	.wpr-home-hero__free,
	.wpr-home-hero__free svg {
		transition: none;
		transform: none;
	}
}

/*
 * Homepage sections under the hero (components/pages/home/: HomeRewind, HomeReviews,
 * HomeFeatureIndex, HomePro). Tailwind does the layout. This file covers what it can't
 * reach: the mono face, Kadence's link, button and blockquote rules, the glows behind
 * the UI, the theme card's crossfade, the reviews marquee and the hand cursor. The
 * display face is the global `.wpr-display`. The UI shots are the Pro UI kit's crops in
 * assets/images/features/; the illustrations are in assets/images/home/.
 */

.wpr-home {
	background: var(--wpr-surface);
	color: var(--wpr-body);
}

.wpr-home__mono {
	font-family: var(--wpr-font-mono);
}

.wpr-home__eyebrow {
	color: var(--wpr-accent-text);
	font-family: var(--wpr-font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Lighter than --wpr-accent-gradient so the highlight keeps its contrast on the dark sections. */
.wpr-home__accent {
	background: linear-gradient(100deg, var(--wpr-accent-text), var(--wpr-pink-text));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* WP-admin's own face, for the screens drawn in markup. */
.wpr-home__wp {
	color: #1d2327;
	font-family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, sans-serif;
	line-height: 1.4;
}

/* Kadence styles blockquote; the hero's quote and the reviews are plain text. */
.wpr-home blockquote.wpr-home__quote {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
}

/* ---------------------------------------------------------------------------
 * Links. Kadence recolors links on hover, focus and active (a:hover, 0,1,1), so
 * link colors here start at .wpr-home a.class (0,2,1).
 * ------------------------------------------------------------------------ */

.wpr-home a:is(.wpr-home__tile, .wpr-home__feature, .wpr-home__link) {
	text-decoration: none;
}

.wpr-home a:is(.wpr-home__tile, .wpr-home__feature),
.wpr-home a:is(.wpr-home__tile, .wpr-home__feature):is(:hover, :focus, :active, :visited) {
	color: inherit;
}

.wpr-home a.wpr-home__link,
.wpr-home a.wpr-home__link:is(:focus, :active, :visited) {
	color: var(--wpr-accent-text);
}

.wpr-home a.wpr-home__link:hover {
	color: #fff;
}

.wpr-home :is(.wpr-home__tile, .wpr-home__feature, .wpr-home__link, .wpr-home__theme-tab, .wpr-home__pause):focus-visible {
	outline: 2px solid var(--wpr-accent-text);
	outline-offset: 3px;
}

/* The link label at the bottom of a tile that's a link as a whole. */
.wpr-home__more {
	color: var(--wpr-accent-text);
	transition: color 0.2s ease;
}

.wpr-home__tile:hover .wpr-home__more {
	color: #fff;
}

.wpr-home__go {
	flex: none;
	transition: transform 0.2s ease;
}

:is(.wpr-home__link, .wpr-home__tile):hover .wpr-home__go {
	transform: translateX(3px);
}

/* ---------------------------------------------------------------------------
 * Tiles (HomeRewind) and the glows behind their UI
 * ------------------------------------------------------------------------ */

.wpr-home__tile {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--wpr-border);
	border-radius: 24px;
	background: var(--wpr-surface-2);
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

a.wpr-home__tile:hover {
	border-color: var(--wpr-border-strong);
	box-shadow: 0 28px 56px -28px rgb(0 0 0 / 85%);
	transform: translateY(-4px);
}

.wpr-home__stage--vault {
	background:
		radial-gradient(70% 90% at 85% 0%, rgb(109 40 217 / 55%), transparent 70%),
		radial-gradient(50% 60% at 0% 100%, rgb(255 96 240 / 12%), transparent 70%);
}

.wpr-home__stage--themes {
	background:
		radial-gradient(70% 90% at 30% 0%, rgb(255 96 240 / 20%), transparent 70%),
		radial-gradient(60% 70% at 100% 100%, rgb(109 40 217 / 30%), transparent 70%);
}

.wpr-home__stage--notes {
	background: radial-gradient(70% 80% at 50% 0%, rgb(255 96 240 / 12%), transparent 70%);
}

.wpr-home__stage--wizard {
	background: radial-gradient(60% 80% at 30% 100%, rgb(109 40 217 / 40%), transparent 70%);
}

/* The hero's grid, faded out from the top right. */
.wpr-home__grid-lines {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgb(255 255 255 / 3.5%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 3.5%) 1px, transparent 1px);
	background-size: 32px 32px;
	-webkit-mask-image: radial-gradient(80% 80% at 60% 20%, #000, transparent);
	mask-image: radial-gradient(80% 80% at 60% 20%, #000, transparent);
	pointer-events: none;
}

/* The version steps art has its own dark ground; fade its ends into the tile. */
.wpr-home__version-steps {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

/* The wizard's scene fades into the tile on every side. */
.wpr-home__wizard {
	-webkit-mask-image: radial-gradient(70% 80% at 50% 45%, #000 55%, transparent 100%);
	mask-image: radial-gradient(70% 80% at 50% 45%, #000 55%, transparent 100%);
}

.wpr-home__step {
	background: rgb(14 12 25 / 80%);
	box-shadow: 0 16px 30px -14px rgb(0 0 0 / 70%);
}

/* ---------------------------------------------------------------------------
 * Buttons: the theme card's tabs and the reviews' pause button. Two classes beat
 * Kadence's button rules, hover background included.
 * ------------------------------------------------------------------------ */

.wpr-home button:is(.wpr-home__theme-tab, .wpr-home__pause),
.wpr-home button:is(.wpr-home__theme-tab, .wpr-home__pause):focus {
	box-sizing: border-box;
	margin: 0;
	border: 1px solid var(--wpr-border-strong);
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.wpr-home button:is(.wpr-home__theme-tab, .wpr-home__pause):hover {
	border-color: var(--wpr-faint);
}

.wpr-home button.wpr-home__theme-tab,
.wpr-home button.wpr-home__theme-tab:is(:hover, :focus) {
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgb(14 12 25 / 60%);
	color: var(--wpr-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1;
	text-transform: none;
}

.wpr-home button.wpr-home__theme-tab:hover {
	color: var(--wpr-text);
}

.wpr-home button.wpr-home__theme-tab.is-active {
	border-color: rgb(139 92 246 / 50%);
	background: rgb(139 92 246 / 20%);
	color: var(--wpr-text);
}

.wpr-home__theme-card {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.wpr-home__theme-card.is-active {
	opacity: 1;
	transform: none;
}

/* ---------------------------------------------------------------------------
 * Reviews (HomeReviews)
 * ------------------------------------------------------------------------ */

.wpr-home__featured {
	background:
		radial-gradient(70% 140% at 0% 0%, rgb(109 40 217 / 32%), transparent 60%),
		var(--wpr-surface-2);
}

/* The cards run twice in a row, so moving half the track's width loops seamlessly. */
@keyframes wpr-home-marquee {

	to {
		transform: translateX(-50%);
	}
}

.wpr-home__marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.wpr-home__marquee-track {
	display: flex;
	width: -moz-max-content;
	width: max-content;
	padding: 4px 0;
	animation: wpr-home-marquee 70s linear infinite;
}

.wpr-home__marquee:is(:hover, .is-paused, .is-offscreen) .wpr-home__marquee-track {
	animation-play-state: paused;
}

.wpr-home button.wpr-home__pause,
.wpr-home button.wpr-home__pause:is(:hover, :focus) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 3%);
	color: var(--wpr-soft);
}

.wpr-home button.wpr-home__pause:hover {
	color: #fff;
}

/* ---------------------------------------------------------------------------
 * Every feature (HomeFeatureIndex)
 * ------------------------------------------------------------------------ */

.wpr-home__feature {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px;
	border: 1px solid transparent;
	border-radius: 14px;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wpr-home__feature.is-active {
	border-color: var(--wpr-accent-border);
	background: rgb(139 92 246 / 10%);
}

.wpr-home__preview {
	background:
		radial-gradient(90% 70% at 50% 0%, rgb(109 40 217 / 42%), transparent 70%),
		var(--wpr-surface-2);
}

.wpr-home__preview-shot {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.wpr-home__preview-shot.is-active {
	opacity: 1;
}

.wpr-home__command {
	background: radial-gradient(60% 60% at 50% 40%, rgb(139 92 246 / 20%), transparent 70%);
}

.wpr-home__key {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 56px;
	height: 56px;
	border: 1px solid var(--wpr-border-strong);
	border-bottom-width: 3px;
	border-radius: 12px;
	background: var(--wpr-surface-2);
	color: var(--wpr-text);
	font-size: 22px;
	font-weight: 600;
}

/* ---------------------------------------------------------------------------
 * Why go Pro (HomePro)
 * ------------------------------------------------------------------------ */

.wpr-home__collage {
	background:
		radial-gradient(70% 70% at 70% 15%, rgb(109 40 217 / 48%), transparent 70%),
		radial-gradient(50% 50% at 5% 100%, rgb(255 96 240 / 14%), transparent 70%),
		var(--wpr-surface-2);
}

.wpr-home__shot {
	border-radius: 12px;
	box-shadow: 0 30px 60px -20px rgb(20 4 24 / 85%);
}

/* The pointing hand over the Rollback buttons (HandCursor). */
.wpr-home__hand {
	position: absolute;
	width: 30px;
	height: 30px;
	filter: drop-shadow(0 3px 4px rgb(0 0 0 / 35%));
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {

	.wpr-home__marquee {
		overflow-x: auto;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.wpr-home__marquee-track {
		padding-inline: var(--wpr-gutter);
		animation: none;
	}

	.wpr-home__review--copy {
		display: none;
	}

	:is(.wpr-home__theme-card, .wpr-home__preview-shot, .wpr-home__tile) {
		transition: none;
	}
}

/*
 * The closing call to action on grain (components/common/ClosingCta.jsx), shared by the
 * homepage and the features page.
 */

.wpr-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 32px;
	border-radius: 6px;
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Kadence recolors links on hover, focus and active (a:hover, 0,1,1). */
.wpr-cta a.wpr-cta__btn--white,
.wpr-cta a.wpr-cta__btn--white:is(:hover, :focus, :active, :visited) {
	background: #fff;
	color: #2b1a73;
}

.wpr-cta a.wpr-cta__btn--white:hover {
	background: #ede9fe;
}

.wpr-cta a.wpr-cta__btn--glass,
.wpr-cta a.wpr-cta__btn--glass:is(:hover, :focus, :active, :visited) {
	border: 1px solid rgb(255 255 255 / 35%);
	background: rgb(255 255 255 / 6%);
	color: #fff;
}

.wpr-cta a.wpr-cta__btn--glass:hover {
	border-color: #fff;
}

.wpr-cta a.wpr-cta__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
