.bm-howto-order-body .site-main,
.bm-howto-order-body .entry-content,
.bm-howto-order-body .page-content {
	max-width: none;
	margin: 0;
	padding: 0;
}
.bm-howto-order-body .entry-header,
.bm-howto-order-body .page-header,
.bm-howto-order-body .entry-title {
	display: none !important;
}

.bm-howto-page {
	--bm-howto-blue: #4f6fcf;
	--bm-howto-blue-dark: #3d5cb8;
	--bm-howto-navy: #17213b;
	--bm-howto-ink: #1b2437;
	--bm-howto-muted: #5b6475;
	--bm-howto-soft: #e8eef8;
	--bm-howto-line: #d8e0ef;
	--bm-howto-paper: #f2f4f8;
	--bm-howto-header-offset: 115px;
	position: relative;
	width: min(1000px, calc(100% - 20px));
	margin: 0 auto;
	padding: 14px 0 48px;
	color: var(--bm-howto-ink);
	font-family: inherit;
}
.bm-howto-order-body,
.bm-howto-order-body .site,
.bm-howto-order-body .site-content,
.bm-howto-order-body #content,
.bm-howto-order-body .content-area,
.bm-howto-order-body .elementor-location-single,
.bm-howto-order-body .elementor {
	background-color: #f2f4f8 !important;
}
.bm-howto-order-body {
	background-image: repeating-linear-gradient(
		-12deg,
		transparent,
		transparent 11px,
		rgba(23, 33, 59, .015) 11px,
		rgba(23, 33, 59, .015) 12px
	);
}

.bm-howto-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .45s cubic-bezier(.22, 1, .36, 1);
}
.bm-howto-reveal.is-visible {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.bm-howto-reveal,
	.bm-howto-reveal.is-visible {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Hero — ink block, brand first, no soft-glow AI look */
.bm-howto-hero {
	display: grid;
	gap: 18px;
	align-items: stretch;
	padding: 0;
	border-radius: 18px;
	background: var(--bm-howto-navy);
	color: #fff;
	overflow: hidden;
	border: 1px solid #10182c;
	box-shadow: 0 12px 28px rgba(23, 33, 59, .18);
}
.bm-howto-hero__copy {
	display: grid;
	gap: 12px;
	justify-items: start;
	padding: 26px 22px 22px;
	background:
		linear-gradient(135deg, rgba(79, 111, 207, .18) 0%, transparent 42%),
		var(--bm-howto-navy);
}
.bm-howto-hero__brand {
	margin: 0;
	font-size: clamp(1.7rem, 4.8vw, 2.3rem);
	font-weight:700;
	letter-spacing: -.03em;
	line-height: 1.1;
	color: #fff;
}
.bm-howto-hero h1 {
	margin: 0;
	max-width: 16ch;
	font-size: clamp(1.15rem, 3vw, 1.45rem);
	font-weight: 700;
	line-height: 1.45;
	color: #d7def0;
}
.bm-howto-hero__lead {
	margin: 0;
	max-width: 34ch;
	color: rgba(255, 255, 255, .72);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.8;
}
.bm-howto-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2px;
}
.bm-howto-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 10px;
	overflow: hidden;
}
.bm-howto-hero__chips a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 12px;
	border: 0;
	border-inline-start: 1px solid rgba(255, 255, 255, .14);
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, .88) !important;
	font-size: 11.5px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color .18s ease;
}
.bm-howto-hero__chips a:first-child { border-inline-start: 0; }
.bm-howto-hero__chips a:hover {
	background: rgba(255, 255, 255, .1);
	transform: none;
}
.bm-howto-hero__chips strong {
	color: #fff;
	font-weight:700;
}
.bm-howto-hero__visual {
	position: relative;
	isolation: isolate;
	min-height: 280px;
	margin: 0;
	overflow: hidden;
	background: #0e1526;
}
.bm-howto-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(135deg, rgba(79, 111, 207, .18), transparent 45%),
		repeating-linear-gradient(
			-18deg,
			transparent,
			transparent 14px,
			rgba(255, 255, 255, .03) 14px,
			rgba(255, 255, 255, .03) 15px
		),
		#0e1526;
	/* Later: background-image: url(...); background-size: cover; */
}
.bm-howto-hero__stage {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: end;
	gap: 10px;
	height: 100%;
	min-height: 280px;
	padding: 22px 18px 18px;
}
.bm-howto-hero__device {
	display: flex;
	justify-content: center;
	transform: rotate(-7deg) translateY(8px);
	transform-origin: center bottom;
}
.bm-howto-hero__device-bezel {
	width: min(168px, 42vw);
	padding: 9px 7px 11px;
	border: 2px solid rgba(255, 255, 255, .22);
	border-radius: 26px;
	background: linear-gradient(180deg, #1a243a, #0b1220);
	box-shadow:
		0 18px 36px rgba(0, 0, 0, .35),
		inset 0 1px 0 rgba(255, 255, 255, .08);
}
.bm-howto-hero__device-notch {
	display: block;
	width: 54px;
	height: 6px;
	margin: 0 auto 8px;
	border-radius: 999px;
	background: #020617;
}
.bm-howto-hero__device-screen {
	aspect-ratio: .72;
	padding: 0;
	border-radius: 18px;
	background: #e8edf6;
	overflow: hidden;
}
.bm-howto-hero__aside {
	display: grid;
	align-content: end;
	justify-items: start;
	gap: 6px;
	padding-bottom: 12px;
}
.bm-howto-hero__big {
	line-height: .85;
	color: #fff;
	font-size: clamp(4.5rem, 14vw, 6.5rem);
	font-weight:700;
	letter-spacing: -.06em;
}
.bm-howto-hero__aside-label {
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	font-weight:700;
}
.bm-howto-hero__rail {
	display: block;
	width: 100%;
	max-width: 120px;
	height: 72px;
	margin-top: 8px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 10px;
	background: rgba(255, 255, 255, .06);
	/* Later: background-image */
}

.bm-howto-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight:700;
	text-decoration: none !important;
	transition: transform .16s ease, background-color .16s ease;
}
.bm-howto-btn:hover { transform: translateY(-1px); }
.bm-howto-btn--primary {
	background: #fff;
	color: var(--bm-howto-navy) !important;
	box-shadow: none;
}
.bm-howto-btn--ghost {
	background: transparent;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .35);
}

/* Path rail — flat, below header, always readable */
.bm-howto-path {
	position: relative;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 12px 0 16px;
	padding: 8px 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--bm-howto-line);
	box-shadow: 0 1px 0 rgba(23, 33, 59, .04);
}
.bm-howto-path.is-sticky {
	position: sticky;
	top: calc(var(--bm-howto-header-offset, 115px) + 8px);
	box-shadow: 0 8px 22px rgba(23, 33, 59, .1);
}
.bm-howto-path__status {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	margin: 0;
	flex: 0 0 auto;
	min-width: 7.5rem;
	color: var(--bm-howto-navy);
	font-size: 12px;
	font-weight:700;
	white-space: nowrap;
}
.bm-howto-path__status em {
	font-style: normal;
	color: var(--bm-howto-muted);
	font-weight: 700;
}
.bm-howto-path__track {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 0;
	margin: 0;
	padding: 0 4px;
	list-style: none;
	min-width: 0;
}
.bm-howto-path__track li {
	position: relative;
	z-index: 1;
	flex: 1 1 0;
	display: flex;
	justify-content: center;
}
.bm-howto-path__track a {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 8px;
	color: #fff !important;
	text-decoration: none !important;
	transition: transform .16s ease;
}
.bm-howto-path__track a:hover { transform: translateY(-1px); }
.bm-howto-path__num {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 8px;
	background: #cfd7e8;
	font-size: 11px;
	font-weight:700;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.bm-howto-path__track a.is-done .bm-howto-path__num {
	background: #1f9d57;
}
.bm-howto-path__track a.is-active .bm-howto-path__num {
	background: var(--bm-howto-navy);
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--bm-howto-navy);
}
.bm-howto-path__track::before {
	content: '';
	position: absolute;
	inset-inline: 6%;
	top: 50%;
	height: 1px;
	background: var(--bm-howto-line);
	transform: translateY(-50%);
	z-index: 0;
}
.bm-howto-path__track::after {
	content: '';
	position: absolute;
	inset-inline-start: 6%;
	top: 50%;
	height: 2px;
	width: var(--bm-howto-progress, 0%);
	max-width: 88%;
	background: var(--bm-howto-navy);
	transform: translateY(-50%);
	z-index: 0;
	transition: width .3s ease;
}

.bm-howto-phase {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 2px;
	color: var(--bm-howto-navy);
	font-size: 11px;
	font-weight:700;
	letter-spacing: .06em;
}
.bm-howto-phase::before,
.bm-howto-phase::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--bm-howto-line);
}
.bm-howto-phase span {
	padding: 0;
	border-radius: 0;
	background: transparent;
}

/* Steps — paper panels with timeline spine */
.bm-howto-step {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 22px;
	margin: 10px 0 14px;
	padding: 16px 16px 16px 16px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--bm-howto-line);
	box-shadow: none;
	transition: border-color .2s ease, background-color .2s ease;
}
.bm-howto-step.is-current {
	border-color: #b7c4e0;
	background: #fbfcff;
	box-shadow: none;
}
.bm-howto-step__copy {
	display: grid;
	justify-items: start;
	text-align: right;
	flex: 1 1 280px;
	max-width: 400px;
	min-width: min(100%, 240px);
}
.bm-howto-step__num {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: 0 0 10px;
	border-radius: 8px;
	background: var(--bm-howto-navy);
	color: #fff;
	font-size: 14px;
	font-weight:700;
}
.bm-howto-step__tip {
	margin: 0 0 6px;
	padding: 0 0 4px;
	border-radius: 0;
	background: transparent;
	color: var(--bm-howto-blue-dark);
	font-size: 12px;
	font-weight:700;
	border-bottom: 1px dashed #c5d0e6;
}
.bm-howto-phone {
	flex: 0 0 auto;
}
.bm-howto-step h2 {
	margin: 0 0 6px;
	font-size: clamp(1.08rem, 2.8vw, 1.28rem);
	font-weight:700;
	line-height: 1.4;
}
.bm-howto-step p {
	margin: 0;
	color: var(--bm-howto-muted);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.75;
}
.bm-howto-step p b,
.bm-howto-step__tip b,
.bm-howto-step h2 b {
	color: var(--bm-howto-blue);
	font-weight:700;
}
.bm-howto-step__next {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	margin-inline-start: auto;
	color: var(--bm-howto-blue-dark) !important;
	font-size: 12.5px;
	font-weight:700;
	line-height: 1;
	text-decoration: none !important;
	transition: gap .2s ease;
}
.bm-howto-step__next br { display: none; }
.bm-howto-step__next svg {
	display: block;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
}
.bm-howto-step__next:hover { gap: 9px; }
.bm-howto-step__next.is-final {
	padding: 8px 14px;
	border-radius: 10px;
	background: var(--bm-howto-blue);
	color: #fff !important;
	margin-inline-start: auto;
}
.bm-howto-step__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 12px 16px;
	margin-top: 12px;
	width: 100%;
}
.bm-howto-step__prev {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	color: var(--bm-howto-muted) !important;
	font-size: 12.5px;
	font-weight:700;
	line-height: 1;
	text-decoration: none !important;
}
.bm-howto-step__prev svg {
	display: block;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
}
.bm-howto-step__prev:hover { color: var(--bm-howto-navy) !important; }

/* Phone — fixed size for every device */
.bm-howto-phone {
	--bm-howto-device-w: 248px;
	--bm-howto-device-h: 470px;
	position: relative;
	display: flex;
	flex: 0 0 auto;
	justify-content: center;
	width: var(--bm-howto-device-w);
}
.bm-howto-phone__device {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	height: var(--bm-howto-device-h);
	padding: 10px 8px 12px;
	border: 2px solid #101828;
	border-radius: 28px;
	background: #0f172a;
	box-shadow: 0 16px 32px rgba(15, 23, 42, .16);
	display: flex;
	flex-direction: column;
}
.bm-howto-phone__notch {
	flex: 0 0 auto;
	width: 78px;
	height: 8px;
	margin: 0 auto 8px;
	border-radius: 999px;
	background: #020617;
}
.bm-howto-phone__screen {
	flex: 1 1 auto;
	display: block;
	min-height: 0;
	height: 100%;
	padding: 0;
	border-radius: 22px;
	background: #e8edf6;
	overflow: hidden;
}

/* Plain media placeholders — drop your images later via background-image on [data-slot] */
.bm-howto-ph {
	display: block;
	width: 100%;
	height: 100%;
	background: #e8edf6;
	background-size: cover;
	background-position: center;
}
.bm-howto-ph--screen {
	min-height: 100%;
}
.bm-howto-ph--cta {
	aspect-ratio: .85;
	height: auto;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .1);
}

/* CTA */
.bm-howto-cta {
	display: grid;
	gap: 14px;
	margin-top: 10px;
	padding: 20px 18px;
	border-radius: 14px;
	background: var(--bm-howto-navy);
	color: #fff;
	border: 1px solid #10182c;
	box-shadow: none;
}
.bm-howto-cta__eyebrow {
	margin: 0 0 4px;
	color: #9eb0e0;
	font-size: 11.5px;
	font-weight:700;
	letter-spacing: .04em;
}
.bm-howto-cta h2 {
	margin: 0 0 6px;
	font-size: clamp(1.2rem, 3.2vw, 1.5rem);
	font-weight:700;
}
.bm-howto-cta p {
	margin: 0;
	max-width: 34ch;
	color: rgba(255, 255, 255, .75);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.7;
}
.bm-howto-cta__mosaic {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.bm-howto-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@media (min-width: 700px) {
	.bm-howto-page {
		width: min(1000px, calc(100% - 36px));
		padding-top: 18px;
	}
	.bm-howto-hero {
		grid-template-columns: 1.05fr .95fr;
		min-height: 340px;
	}
	.bm-howto-hero__copy {
		padding: 32px 28px;
	}
	.bm-howto-hero__visual,
	.bm-howto-hero__stage {
		min-height: 100%;
	}
	.bm-howto-hero__device {
		transform: rotate(-8deg) translateY(18px);
	}
	.bm-howto-path {
		margin: 14px 0 18px;
		padding: 9px 14px;
	}
	.bm-howto-step {
		flex-wrap: nowrap;
		justify-content: center;
		gap: 20px 28px;
		padding: 18px 20px;
		margin: 10px 0 14px;
	}
	.bm-howto-step.is-flip {
		flex-direction: row-reverse;
	}
	.bm-howto-step__copy {
		flex: 0 1 380px;
		max-width: 380px;
	}
	.bm-howto-phone {
		--bm-howto-device-w: 258px;
		--bm-howto-device-h: 470px;
		width: var(--bm-howto-device-w);
		margin-inline: 0;
	}
	.bm-howto-cta {
		grid-template-columns: 1.05fr .95fr;
		grid-template-areas:
			"copy mosaic"
			"actions mosaic";
		align-items: center;
		padding: 24px 26px;
		gap: 12px 18px;
	}
	.bm-howto-cta__copy { grid-area: copy; }
	.bm-howto-cta__mosaic { grid-area: mosaic; }
	.bm-howto-cta__actions {
		grid-area: actions;
		align-self: start;
	}
}

@media (max-width: 767px) {
	.bm-howto-page { width: calc(100% - 16px); padding-bottom: 96px; }
	.bm-howto-hero { border-radius: 14px; }
	.bm-howto-hero__visual,
	.bm-howto-hero__stage { min-height: 260px; }
	.bm-howto-phone {
		--bm-howto-device-w: min(248px, calc(100vw - 48px));
		--bm-howto-device-h: 470px;
		width: var(--bm-howto-device-w);
	}
	.bm-howto-path {
		margin: 10px 0 14px;
		padding: 8px 10px;
		gap: 8px;
	}
	.bm-howto-path.is-sticky {
		top: calc(var(--bm-howto-header-offset, 100px) + 6px);
	}
	.bm-howto-path__status { min-width: 0; }
	.bm-howto-path__status em {
		max-width: 4.5rem;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.bm-howto-step { border-radius: 12px; }
	.bm-howto-cta { border-radius: 14px; }
}
