/* ---- front-end demo bar ---- */
.bpe-demo-bar {
	background: #0b3b2e;
	color: #d1fae5;
	font-size: 14px;
}
.bpe-demo-bar__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 9px 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
}
.bpe-demo-bar__label {
	font-weight: 700;
	color: #ffffff;
}
.bpe-demo-bar__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-left: auto;
}
.bpe-demo-bar__links a {
	color: #a7f3d0;
	text-decoration: none;
	font-weight: 600;
}
.bpe-demo-bar__links a:hover {
	color: #ffffff;
	text-decoration: underline;
}
.bpe-demo-bar__links a.bpe-demo-bar__primary {
	background: #059669;
	color: #ffffff;
	padding: 3px 12px;
	border-radius: 4px;
}

/* ---- editor page banner ---- */
.bpe-demo-editor-banner {
	border-left-color: #059669;
}

/* ---- admin guide ---- */
.bpe-demo-guide__intro {
	font-size: 15px;
	max-width: 760px;
}
.bpe-demo-scenarios {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
	margin: 16px 0 28px;
	max-width: 1100px;
}
.bpe-demo-scenario {
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	padding: 16px 18px;
}
.bpe-demo-scenario h3 {
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.bpe-demo-scenario h3 span {
	background: #059669;
	color: #ffffff;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	flex-shrink: 0;
}
.bpe-demo-scenario ol {
	margin: 0 0 0 18px;
}
.bpe-demo-scenario li {
	margin-bottom: 4px;
}
.bpe-demo-scenario code {
	background: #eef7f2;
	padding: 1px 5px;
	border-radius: 3px;
}

/* ---- landing ---- */
/* The theme nav points at homepage anchors that do not exist on the demo
   domain — the landing is a focused page, so hide the nav and keep the logo. */
body.home .main-navigation,
body.home .site-header nav,
body.home .site-header .bpe-header-cta,
body.home header a[href$="#how-it-works"],
body.home header a[href$="#features"],
body.home header a[href$="#faq"],
body.home header a[href$="#pricing"],
body.home header a[href$="/contact-us"] {
	display: none !important;
}

.bpe-demo-landing {
	--bpe-ink: #1e293b;
	--bpe-muted: #64748b;
	--bpe-line: #e2e8f0;
	--bpe-green: #059669;
	--bpe-green-dark: #047857;
	color: var(--bpe-ink);
	/* the theme header is fixed: clear it like the theme's own hero (pt-28 / lg:pt-40) */
	padding: 128px 20px 88px;
}
@media (min-width: 1024px) {
	.bpe-demo-landing { padding-top: 168px; }
}

/* hero */
.bpe-demo-hero {
	max-width: 1216px;
	margin: 0 auto 96px;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: center;
}
@media (max-width: 960px) {
	.bpe-demo-hero { grid-template-columns: 1fr; gap: 40px; }
}
.bpe-demo-hero h1 {
	font-size: clamp(2rem, 4vw, 2.9rem);
	line-height: 1.12;
	font-weight: 800;
	margin: 0 0 16px;
}
.bpe-demo-lede {
	font-size: 1.1em;
	color: var(--bpe-muted);
	line-height: 1.6;
	margin: 0 0 32px;
	max-width: 34em;
}

/* the MotoPress form, restyled */
.bpe-demo-form .mp-start-demo {
	background: #ffffff;
	border: 1px solid var(--bpe-line);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
	padding: 18px 20px;
	max-width: 480px;
}
.bpe-demo-form .try-demo br { display: none; }
.bpe-demo-form .try-demo .input-wrapper { margin: 0 0 12px; }
.bpe-demo-form .try-demo label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
}
.bpe-demo-form .try-demo input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
}
.bpe-demo-form .try-demo input[type="email"]:focus {
	outline: none;
	border-color: var(--bpe-green);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(5, 150, 105, .15);
}
.bpe-demo-form .try-demo i {
	display: block;
	font-style: normal;
	font-size: 12.5px;
	color: var(--bpe-muted);
	margin-top: 8px;
}
.bpe-demo-form .try-demo p:last-of-type { margin: 0; }
.bpe-demo-form .try-demo input[type="submit"],
.bpe-demo-form .try-demo .mp-submit {
	width: 100%;
	cursor: pointer;
	background: var(--bpe-green);
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	border: 0;
	border-radius: 8px;
	padding: 13px 22px;
	transition: background .15s;
}
.bpe-demo-form .try-demo input[type="submit"]:hover { background: var(--bpe-green-dark); }
.bpe-demo-form .mp-start-demo .error,
.bpe-demo-form .mp-start-demo .mp-demo-error {
	color: #b91c1c;
	font-size: 14px;
}
.bpe-demo-form .mp-start-demo .success,
.bpe-demo-form .mp-start-demo .mp-demo-success {
	color: var(--bpe-green-dark);
	font-weight: 600;
}

/* checklist */
.bpe-demo-points {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}
.bpe-demo-points li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 9px;
	color: #334155;
	font-weight: 500;
}
.bpe-demo-points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--bpe-green);
	font-weight: 800;
}

/* editor mock */
.bpe-demo-mock {
	background: #ffffff;
	border: 1px solid var(--bpe-line);
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
	overflow: hidden;
	font-size: 14px;
}
.bpe-demo-mock__chrome {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 11px 16px;
	background: #f8fafc;
	border-bottom: 1px solid var(--bpe-line);
}
.bpe-demo-mock__chrome span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e2e8f0;
}
.bpe-demo-mock__chrome span:nth-child(1) { background: #fca5a5; }
.bpe-demo-mock__chrome span:nth-child(2) { background: #fcd34d; }
.bpe-demo-mock__chrome span:nth-child(3) { background: #86efac; }
.bpe-demo-mock__chrome em {
	font-style: normal;
	font-size: 11.5px;
	color: #94a3b8;
	margin-left: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bpe-demo-mock__body { padding: 16px 18px; }
.bpe-demo-mock__row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-weight: 700;
	padding: 8px 0;
}
.bpe-demo-mock__row b {
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--bpe-green);
	color: #ffffff;
	font-size: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.bpe-demo-chip {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--bpe-green-dark);
	background: #ecfdf5;
	border-radius: 4px;
	padding: 3px 8px;
}
.bpe-demo-mock__row code {
	font-size: 12px;
	background: #f1f5f9;
	border: 1px solid var(--bpe-line);
	border-radius: 5px;
	padding: 3px 8px;
	font-weight: 600;
}
.bpe-demo-mock__table {
	border: 1px solid var(--bpe-line);
	border-radius: 8px;
	margin: 8px 0 12px;
	overflow: hidden;
}
.bpe-demo-mock__line {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 12px;
	font-size: 12.5px;
	border-bottom: 1px solid #f1f5f9;
}
.bpe-demo-mock__line:last-child { border-bottom: 0; }
.bpe-demo-mock__line s { color: #94a3b8; }
.bpe-demo-mock__line mark {
	background: #fef9c3;
	border-radius: 3px;
	padding: 1px 5px;
	font-weight: 700;
	color: var(--bpe-ink);
}
.bpe-demo-mock__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: var(--bpe-muted);
}
.bpe-demo-mock__btn {
	background: #1e293b;
	color: #ffffff;
	font-weight: 700;
	font-size: 12px;
	border-radius: 6px;
	padding: 6px 14px;
}

/* scenario cards */
.bpe-demo-cards {
	max-width: 1216px;
	margin: 0 auto 72px;
	text-align: center;
}
.bpe-demo-cards h2 {
	font-size: 1.7em;
	font-weight: 800;
	margin: 0 0 24px;
}
.bpe-demo-cards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	text-align: left;
}
.bpe-demo-card {
	background: #f8fafc;
	border: 1px solid var(--bpe-line);
	border-radius: 12px;
	padding: 20px 22px;
}
.bpe-demo-card h3 {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 1.05em;
	font-weight: 800;
	margin: 0 0 10px;
}
.bpe-demo-card h3 span {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--bpe-green);
	color: #ffffff;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.bpe-demo-card p {
	margin: 0;
	color: var(--bpe-muted);
	font-size: .95em;
	line-height: 1.55;
}
.bpe-demo-card code {
	background: #ecfdf5;
	color: var(--bpe-green-dark);
	border-radius: 4px;
	padding: 1px 5px;
	font-size: .9em;
}

/* footer links */
.bpe-demo-footer-links {
	max-width: 1216px;
	margin: 0 auto;
	text-align: center;
	padding-top: 26px;
	border-top: 1px solid var(--bpe-line);
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 28px;
}
.bpe-demo-footer-links a {
	color: var(--bpe-green-dark);
	font-weight: 700;
	text-decoration: none;
}
.bpe-demo-footer-links a:hover { text-decoration: underline; }
