/*
 * BharatPost marketing pages: home, integrations, how it works, features, pricing.
 * Page-only additions to the bp- component library (bp.css). Classes use the bp-mk- prefix.
 */

/* ---------- Shared ---------- */
.bp-mk-split {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
}

.bp-mk-split > * {
	flex: 1 1 420px;
	min-width: 0;
}

.bp-mk-split--top {
	align-items: flex-start;
}

.bp-mk-check-grid {
	display: grid;
	gap: 28px 32px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.bp-mk-note {
	font-size: 14px;
	line-height: 1.6;
	color: var(--bp-muted);
}

/* ---------- Home hero ---------- */
.bp-mk-hero {
	background: var(--bp-soft);
}

.bp-mk-hero__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
	padding-top: 48px;
	padding-bottom: 48px;
}

@media (min-width: 768px) {
	.bp-mk-hero__inner {
		padding-top: 72px;
		padding-bottom: 72px;
	}
}

.bp-mk-hero__copy {
	flex: 1 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
	align-items: flex-start;
}

.bp-mk-hero__copy .bp-lead {
	font-size: 19px;
	max-width: 560px;
}

.bp-mk-track {
	flex: 1 1 420px;
	min-width: 0;
	scroll-margin-top: calc(var(--bp-header-h, 76px) + 16px);
}

.bp-mk-track__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bp-mk-track__title {
	font-family: var(--bp-font-head);
	font-weight: 800;
	font-size: 24px;
	color: var(--bp-navy);
}

.bp-mk-track__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bp-mk-track__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bp-mk-track__input {
	flex: 1 1 200px;
	min-width: 0;
	height: 52px;
	border-radius: 12px;
	font-size: 17px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bp-mk-track__input::placeholder {
	text-transform: none;
	letter-spacing: 0;
}

.bp-mk-track__row .bp-btn {
	height: 52px;
}

/* ---------- Platform tiles ---------- */
.bp-mk-tile {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px;
	background: var(--bp-white);
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-14);
	min-width: 0;
}

.bp-mk-tile__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.bp-mk-tile__name {
	font-size: 16px;
	font-weight: 700;
	color: var(--bp-ink);
	overflow-wrap: anywhere;
}

.bp-mk-tile .bp-icon-tile {
	flex: none;
}

.bp-mk-band-gap {
	margin-top: 28px;
}

/* ---------- Steps (home) ---------- */
.bp-mk-step {
	background: var(--bp-white);
	border-radius: var(--bp-r-16);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bp-mk-step__title {
	font-family: var(--bp-font-body);
	font-size: 20px;
	font-weight: 700;
	color: var(--bp-navy);
}

/* ---------- Plans (home + pricing) ---------- */
.bp-mk-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	background: var(--bp-white);
	border: 2px solid var(--bp-line);
	border-radius: var(--bp-r-14);
	min-width: 0;
}

.bp-mk-plan.is-featured,
.bp-mk-plan.is-best {
	border-color: var(--bp-saffron);
}

.bp-mk-plan__name {
	font-size: 15px;
	font-weight: 700;
	color: var(--bp-navy);
}

.bp-mk-plan__price {
	font-family: var(--bp-font-head);
	font-size: 30px;
	font-weight: 900;
	color: var(--bp-ink);
	line-height: 1.15;
}

.bp-mk-plan__price small {
	font-family: var(--bp-font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-muted);
}

.bp-mk-plan__parcels {
	font-size: 14px;
	color: var(--bp-text);
}

.bp-mk-plan__note {
	font-size: 13px;
	line-height: 1.5;
	color: var(--bp-muted);
}

.bp-mk-plan--lg {
	padding: 22px;
	gap: 10px;
	border-radius: var(--bp-r-16);
}

.bp-mk-plan--lg .bp-mk-plan__name {
	font-size: 17px;
}

.bp-mk-plan--lg .bp-mk-plan__price {
	font-size: 32px;
}

.bp-mk-plan--lg .bp-mk-plan__parcels {
	font-size: 15px;
	font-weight: 600;
	color: var(--bp-ink);
}

.bp-mk-plan__list {
	margin: 0;
	padding-left: 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bp-text);
}

.bp-mk-plan__cta {
	margin-top: auto;
}

.bp-mk-plan__flag {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: var(--bp-r-pill);
	background: var(--bp-saffron);
	color: var(--bp-ink);
	font-size: 12px;
	font-weight: 700;
}

.bp-mk-plan__flag[hidden] {
	display: none;
}

/* ---------- Integrations page ---------- */
.bp-mk-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.bp-mk-filter__btn {
	min-height: 44px;
	padding: 0 16px;
	border-radius: var(--bp-r-pill);
	border: 1.5px solid var(--bp-border);
	background: var(--bp-white);
	color: var(--bp-navy);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.bp-mk-filter__btn[aria-pressed="true"] {
	background: var(--bp-navy);
	border-color: var(--bp-navy);
	color: var(--bp-white);
}

/* Without JavaScript the buttons are not rendered; the cards are always visible. */
.bp-mk-filter {
	display: none;
}

html.bp-js .bp-mk-filter {
	display: flex;
}

.bp-mk-int-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.bp-mk-int-card[hidden] {
	display: none;
}

.bp-mk-int-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.bp-mk-int-card__head .bp-icon-tile {
	width: 48px;
	height: 48px;
	flex: none;
	font-size: 22px;
}

.bp-mk-int-card__name {
	font-size: 19px;
	font-weight: 700;
	color: var(--bp-ink);
	margin-bottom: 4px;
}

.bp-mk-int-card__desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--bp-text);
}

.bp-mk-int-card__points {
	margin: 0;
	padding-left: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bp-text);
}

.bp-mk-int-card__foot {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--bp-line);
}

.bp-mk-int-card__setup {
	font-size: 13px;
	color: var(--bp-muted);
}

.bp-mk-code {
	margin: 0;
	padding: 24px;
	border-radius: var(--bp-r-16);
	background: var(--bp-footer);
	color: #E4E6F5;
	font-family: var(--bp-font-mono);
	font-size: 14px;
	line-height: 1.7;
	overflow-x: auto;
	min-width: 0;
}

/* ---------- How it works ---------- */
.bp-mk-video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border-radius: var(--bp-r-20);
	background: var(--bp-navy);
	box-shadow: var(--bp-shadow);
}

.bp-mk-video-cap {
	margin-top: 10px;
	font-size: 14px;
	color: var(--bp-muted);
}

.bp-mk-checklist {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-mk-checklist__item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	min-height: 44px;
	padding: 16px 18px;
	border: 1.5px solid var(--bp-line);
	border-radius: var(--bp-r-14);
	cursor: pointer;
}

.bp-mk-checklist__item input {
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	accent-color: var(--bp-navy);
	flex: none;
}

.bp-mk-checklist__t {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--bp-ink);
}

.bp-mk-checklist__d {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bp-muted);
}

.bp-mk-ready {
	margin-top: 8px;
	font-family: var(--bp-font-head);
	font-size: 22px;
	font-weight: 800;
	color: var(--bp-saffron-text);
}

.bp-mk-ready[hidden] {
	display: none;
}

.bp-mk-steps {
	display: flex;
	flex-direction: column;
	gap: 56px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-mk-step-row {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
}

.bp-mk-step-row > * {
	flex: 1 1 420px;
	min-width: 0;
}

@media (min-width: 900px) {
	.bp-mk-step-row:nth-child(even) {
		flex-direction: row-reverse;
	}
}

.bp-mk-step-row__top {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bp-mk-step-row__top .bp-step-num {
	width: 44px;
	height: 44px;
	font-size: 18px;
}

.bp-mk-step-row__tag {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-muted);
}

.bp-mk-step-row__title {
	font-family: var(--bp-font-head);
	font-size: 26px;
	font-weight: 900;
	color: var(--bp-navy);
}

@media (min-width: 768px) {
	.bp-mk-step-row__title {
		font-size: 30px;
	}
}

.bp-mk-step-row__points {
	margin: 0;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--bp-text);
}

.bp-mk-step-row__media {
	margin: 0;
}

.bp-mk-step-row__media img {
	display: block;
	height: auto;
	max-height: 460px;
	object-fit: contain;
	object-position: top left;
	background: var(--bp-white);
}

/* ---------- Features page ---------- */
.bp-mk-groupnav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.bp-mk-groupnav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border-radius: var(--bp-r-pill);
	background: var(--bp-white);
	border: 1.5px solid var(--bp-border);
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-navy);
	text-decoration: none;
}

.bp-mk-groupnav a:hover {
	border-color: var(--bp-navy);
}

.bp-mk-group {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	padding: 48px 0;
	border-bottom: 1px solid var(--bp-line);
	scroll-margin-top: calc(var(--bp-header-h, 76px) + 8px);
}

.bp-mk-group__intro {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
}

.bp-mk-group__title {
	font-family: var(--bp-font-head);
	font-size: 26px;
	font-weight: 900;
	color: var(--bp-navy);
}

@media (min-width: 768px) {
	.bp-mk-group__title {
		font-size: 30px;
	}
}

.bp-mk-group__items {
	flex: 2 1 560px;
	min-width: 0;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	align-content: start;
}

.bp-mk-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-14);
	min-width: 0;
}

.bp-mk-item__head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bp-mk-item__head svg {
	flex: none;
	color: var(--bp-saffron-text);
}

.bp-mk-item__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--bp-ink);
}

.bp-mk-item__text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--bp-text);
}

/* ---------- Pricing page ---------- */
.bp-mk-pricing-head {
	align-items: center;
	text-align: center;
}

.bp-mk-pricing-head .bp-pill,
.bp-mk-early {
	display: inline-flex;
	padding: 8px 14px;
	border-radius: var(--bp-r-pill);
	background: var(--bp-ok-bg);
	color: var(--bp-ok);
	font-size: 14px;
	font-weight: 700;
}

.bp-mk-slider {
	display: none;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	margin-bottom: 24px;
	background: var(--bp-white);
	border-radius: var(--bp-r-16);
}

html.bp-js .bp-mk-slider {
	display: flex;
}

.bp-mk-slider label {
	font-size: 16px;
	font-weight: 700;
	color: var(--bp-navy);
}

.bp-mk-slider__value {
	color: var(--bp-saffron-text);
}

.bp-mk-slider input[type="range"] {
	width: 100%;
	min-height: 44px;
	accent-color: var(--bp-navy);
}

.bp-mk-slider p {
	font-size: 15px;
	color: var(--bp-text);
}

.bp-mk-slider strong {
	color: var(--bp-ink);
}

.bp-mk-table {
	min-width: 820px;
}

.bp-mk-table th,
.bp-mk-table td {
	text-align: center;
}

.bp-mk-table th:first-child,
.bp-mk-table td:first-child {
	text-align: left;
}

.bp-mk-table .is-yes {
	color: var(--bp-ok);
	font-weight: 700;
}

.bp-mk-table .is-no {
	color: var(--bp-muted);
}

.bp-mk-qa {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 24px;
	background: var(--bp-white);
	border-radius: var(--bp-r-14);
}

.bp-mk-qa__q {
	font-family: var(--bp-font-body);
	font-size: 17px;
	font-weight: 700;
	color: var(--bp-ink);
}

.bp-mk-qa__a {
	font-size: 15px;
	line-height: 1.6;
	color: var(--bp-text);
}

.bp-mk-table-wrap {
	position: relative; /* keeps screen-reader-text inside the scroll area */
}

/* ==========================================================================
 * Home (front-page.php), from the Figma file "BharatPost home page design".
 * Prefix bp-hm-. Mobile first; two-column layouts from 1024px.
 * ======================================================================= */

.bp-hm-icon {
	flex: none;
	width: 18px;
	height: 18px;
}

.bp-hm-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--bp-r-16);
}

.bp-hm-section {
	padding-block: 64px;
}

.bp-hm-section--soft {
	background: var(--bp-soft);
}

@media (min-width: 1024px) {
	.bp-hm-section {
		padding-block: 112px;
	}
}

/* Section head: text left, link right */
.bp-hm-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 36px;
}

.bp-hm-head__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 760px;
}

.bp-hm-head__lead {
	max-width: 620px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--bp-muted);
}

@media (min-width: 1024px) {
	.bp-hm-head {
		margin-bottom: 48px;
	}
}

/* Icon boxes */
.bp-hm-iconbox {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--bp-r-10);
}

.bp-hm-iconbox .bp-hm-icon {
	width: 20px;
	height: 20px;
}

.bp-hm-iconbox--lg {
	width: 48px;
	height: 48px;
	border-radius: var(--bp-r-12);
}

.bp-hm-iconbox--lg .bp-hm-icon {
	width: 22px;
	height: 22px;
}

.bp-hm-iconbox--red {
	background: #FCECEC;
	color: #C93C3C;
}

.bp-hm-iconbox--saffron {
	background: var(--bp-saffron);
	color: var(--bp-white);
}

.bp-hm-iconbox--navy {
	background: #EEF0FA;
	color: var(--bp-navy);
}

.bp-hm-iconbox--white {
	background: var(--bp-white);
	color: var(--bp-saffron);
}

/* Small status pills */
.bp-hm-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: var(--bp-r-pill);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}

.bp-hm-pill--green {
	background: #E7F5EC;
	color: #1A7A44;
}

.bp-hm-pill--peach {
	background: var(--bp-peach);
	color: var(--bp-saffron-text);
}

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

.bp-hm-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--bp-white);
}

.bp-hm-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% center;
}

.bp-hm-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.94) 60%, rgba(255, 255, 255, 0.8) 100%);
}

.bp-hm-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-block: 48px 56px;
}

.bp-hm-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 620px;
}

.bp-hm-hero__lead {
	max-width: 600px;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	line-height: 1.6;
	color: var(--bp-text);
}

.bp-hm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-hm-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px 6px 8px;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-pill);
	background: var(--bp-white);
	font-size: 14px;
	font-weight: 500;
	color: var(--bp-ink);
}

.bp-hm-chip .bp-hm-icon {
	width: 16px;
	height: 16px;
	color: #C93C3C;
}

.bp-hm-hero .bp-btn-row {
	gap: 12px;
}

.bp-hm-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bp-muted);
}

.bp-hm-note .bp-hm-icon {
	margin-top: 1px;
	color: #1E8E4F;
}

/* Price comparison card (shown only when bharatpost_hero_compare() is filled) */
.bp-hm-compare {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 330px;
	padding: 8px 22px;
	border-radius: 18px;
	background: var(--bp-white);
	box-shadow: 0 20px 50px rgba(20, 26, 41, 0.18);
}

.bp-hm-compare__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block: 14px;
}

.bp-hm-compare__row + .bp-hm-compare__row {
	border-top: 1px solid var(--bp-line);
}

.bp-hm-compare__label {
	font-size: 13px;
	color: var(--bp-muted);
}

.bp-hm-compare__sub {
	margin-top: 4px;
	font-size: 15px;
	font-weight: 600;
	color: var(--bp-ink);
}

.bp-hm-compare__tag {
	display: inline-block;
	margin-top: 4px;
	padding: 3px 8px;
	border-radius: 6px;
	background: #EEF0FA;
	font-size: 12px;
	font-weight: 600;
	color: var(--bp-navy);
}

.bp-hm-compare__price {
	font-size: 22px;
	font-weight: 700;
	white-space: nowrap;
}

.bp-hm-compare__price--bad {
	color: #C93C3C;
}

.bp-hm-compare__price--good {
	color: #1A7A44;
}

@media (min-width: 1024px) {
	.bp-hm-hero::before {
		background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.96) 38%, rgba(255, 255, 255, 0.55) 62%, rgba(255, 255, 255, 0) 85%), rgba(0, 0, 0, 0.07);
	}

	.bp-hm-hero__inner {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		min-height: 720px;
		padding-block: 60px;
		align-items: center;
	}

	.bp-hm-compare {
		align-self: flex-end;
		margin-bottom: 90px;
	}
}

/* --- 03 Problem --------------------------------------------------------- */

.bp-hm-problem {
	display: grid;
	gap: 20px;
}

.bp-hm-problem__photo {
	aspect-ratio: 4 / 3;
}

.bp-hm-vs {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-16);
	background: var(--bp-white);
}

.bp-hm-vs--good {
	border-color: var(--bp-navy);
	background: var(--bp-navy);
}

.bp-hm-vs__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--bp-navy);
}

.bp-hm-vs--good .bp-hm-vs__title {
	color: var(--bp-white);
}

.bp-hm-vs__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-hm-vs__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 1.5;
	color: #3A3F4A;
}

.bp-hm-vs__list .bp-hm-icon {
	margin-top: 2px;
	color: #C93C3C;
}

.bp-hm-vs--good .bp-hm-vs__list li {
	color: #DCE0F5;
}

.bp-hm-vs--good .bp-hm-vs__list .bp-hm-icon {
	color: var(--bp-saffron);
}

@media (min-width: 768px) {
	.bp-hm-problem {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bp-hm-problem__photo {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 7;
	}
}

@media (min-width: 1024px) {
	.bp-hm-problem {
		grid-template-columns: 420fr 370fr 370fr;
	}

	.bp-hm-problem__photo {
		grid-column: auto;
		aspect-ratio: auto;
		min-height: 460px;
	}
}

/* --- 04 Track ----------------------------------------------------------- */

.bp-hm-track {
	display: grid;
	gap: 40px;
}

.bp-hm-track__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.bp-hm-track__media {
	position: relative;
	width: 100%;
	margin: 18px 0 0;
	aspect-ratio: 572 / 300;
}

.bp-hm-track__media .bp-hm-photo {
	position: absolute;
	inset: 0;
	object-position: center 30%;
}

.bp-hm-badge {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: var(--bp-r-12);
	background: var(--bp-white);
	box-shadow: 0 8px 24px rgba(20, 26, 41, 0.08);
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-ink);
}

.bp-hm-badge .bp-hm-icon {
	width: 20px;
	height: 20px;
	color: #1E8E4F;
}

.bp-hm-trackbox {
	align-self: center;
	padding: 24px;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-20);
	background: var(--bp-white);
	box-shadow: 0 8px 24px rgba(20, 26, 41, 0.08);
}

.bp-hm-trackbox__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 600;
	color: var(--bp-navy);
}

.bp-hm-trackbox__title .bp-hm-icon {
	width: 22px;
	height: 22px;
	color: var(--bp-saffron);
}

.bp-hm-trackbox__text {
	margin: 6px 0 22px;
	font-size: 15px;
	color: var(--bp-muted);
}

.bp-hm-trackbox__form .bp-label {
	display: block;
	margin-bottom: 6px;
}

.bp-hm-trackbox__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bp-hm-trackbox__row .bp-input {
	flex: 1 1 220px;
	min-height: 52px;
	border-radius: var(--bp-r-12);
	font-size: 16px;
}

.bp-hm-trackbox__row .bp-btn {
	flex: 0 0 auto;
	min-height: 52px;
}

.bp-hm-sample {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 20px;
	padding: 18px;
	border-radius: 14px;
	background: var(--bp-soft);
}

.bp-hm-sample__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.bp-hm-sample__id {
	font-size: 13px;
	color: var(--bp-muted);
}

.bp-hm-sample__status {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
	font-size: 18px;
	font-weight: 700;
	color: var(--bp-navy);
}

.bp-hm-sample__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--bp-saffron);
}

.bp-hm-sample__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-hm-sample__steps li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--bp-muted);
}

.bp-hm-sample__steps li::before {
	content: "";
	height: 6px;
	border-radius: 3px;
	background: #DADDE5;
}

.bp-hm-sample__steps .is-done::before {
	background: var(--bp-navy);
}

.bp-hm-sample__steps .is-current {
	font-weight: 600;
	color: var(--bp-ink);
}

.bp-hm-sample__steps .is-current::before {
	background: var(--bp-saffron);
}

@media (min-width: 640px) {
	.bp-hm-trackbox {
		padding: 32px;
	}
}

@media (min-width: 1024px) {
	.bp-hm-track {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 56px;
	}
}

/* --- 05 Integrations ---------------------------------------------------- */

.bp-hm-int {
	display: grid;
	gap: 32px;
}

.bp-hm-int__photo {
	aspect-ratio: 560 / 470;
}

.bp-hm-int__side {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.bp-hm-platforms {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-hm-platform {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 18px 12px;
	border: 1px solid var(--bp-line);
	border-radius: 14px;
	background: var(--bp-white);
	text-align: center;
}

.bp-hm-platform__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 6px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--bp-mark) 12%, #FFFFFF);
	color: var(--bp-mark);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.bp-hm-platform__mark.is-word {
	background: none;
	font-size: 20px;
	letter-spacing: -0.01em;
}

.bp-hm-platform__mark.is-logo {
	padding: 0;
	background: none;
}

.bp-hm-platform__mark.is-logo img {
	display: block;
	width: 40px;
	height: 40px;
}

.bp-hm-platform.is-soon .bp-hm-platform__mark {
	opacity: 0.6;
}

.bp-hm-platform__name {
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-ink);
}

.bp-hm-api {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
	padding: 24px;
	border-radius: var(--bp-r-16);
	background: var(--bp-peach);
}

.bp-hm-api__text {
	flex: 1 1 260px;
	font-size: 15px;
	line-height: 1.5;
	color: #3A3F4A;
}

.bp-hm-api__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@media (min-width: 560px) {
	.bp-hm-platforms {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.bp-hm-int {
		grid-template-columns: 560fr 600fr;
		align-items: center;
		gap: 40px;
	}

	.bp-hm-api__actions {
		flex-direction: column;
		width: 160px;
	}

	.bp-hm-api__actions .bp-btn {
		width: 100%;
	}
}

/* --- 06 Steps ----------------------------------------------------------- */

.bp-hm-steps {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-hm-step {
	overflow: hidden;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-20);
	background: var(--bp-white);
}

.bp-hm-step__media {
	position: relative;
	aspect-ratio: 382 / 256;
}

.bp-hm-step__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bp-hm-step__num {
	position: absolute;
	top: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--bp-r-12);
	background: var(--bp-saffron);
	box-shadow: 0 6px 16px rgba(20, 26, 41, 0.3);
	font-size: 18px;
	font-weight: 700;
	color: var(--bp-navy);
}

.bp-hm-step__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
}

.bp-hm-step__title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--bp-navy);
}

.bp-hm-step__text {
	font-size: 15px;
	line-height: 1.5;
	color: var(--bp-muted);
}

@media (min-width: 768px) {
	.bp-hm-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* --- 07 Features -------------------------------------------------------- */

.bp-hm-features {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-hm-feature {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-16);
	background: var(--bp-white);
}

.bp-hm-feature__title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--bp-navy);
}

.bp-hm-feature__text {
	margin-top: 4px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--bp-muted);
}

@media (min-width: 768px) {
	.bp-hm-features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* --- 08 Pricing --------------------------------------------------------- */

.bp-hm-pricing {
	border-block: 1px solid #FBE3CB;
	background: var(--bp-peach);
}

@media (min-width: 1024px) {
	.bp-hm-pricing {
		padding-block: 128px;
	}
}

.bp-hm-pricing__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-bottom: 40px;
	text-align: center;
}

.bp-hm-pricing__title {
	max-width: 900px;
	font-size: clamp(2rem, 1.3rem + 2.8vw, 3.125rem);
	line-height: 1.15;
}

.bp-hm-freepill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding: 8px 16px;
	border-radius: var(--bp-r-pill);
	background: var(--bp-navy);
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-white);
}

.bp-hm-freepill .bp-hm-icon {
	color: var(--bp-saffron);
}

.bp-hm-pricing__row {
	display: grid;
	gap: 28px;
}

.bp-hm-pricing__visual {
	position: relative;
	overflow: hidden;
	min-height: 360px;
	border-radius: var(--bp-r-20);
}

.bp-hm-pricing__visual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bp-hm-pricing__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(30, 38, 103, 0) 25%, rgba(30, 38, 103, 0.92) 78%);
}

.bp-hm-pricing__overlay {
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: 22px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bp-hm-pricing__overlay-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--bp-white);
}

.bp-hm-pricing__overlay ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-hm-pricing__overlay li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #E3E6F7;
}

.bp-hm-pricing__overlay .bp-hm-icon {
	width: 16px;
	height: 16px;
	color: var(--bp-saffron);
}

.bp-hm-plans {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.bp-hm-finder {
	padding: 16px 20px;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-16);
	background: var(--bp-white);
}

.bp-hm-finder__label {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 12px;
	font-size: 14px;
	color: var(--bp-muted);
}

.bp-hm-finder__label strong {
	font-weight: 600;
	color: var(--bp-navy);
}

.bp-hm-finder input[type="range"] {
	width: 100%;
	height: 24px;
	margin-top: 6px;
	accent-color: var(--bp-saffron);
	cursor: pointer;
}

.bp-hm-finder__custom:empty {
	display: none;
}

.bp-hm-finder__custom {
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-navy);
}

.bp-hm-plans__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-hm-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border: 1.5px solid var(--bp-line);
	border-radius: 18px;
	background: var(--bp-white);
	transition: border-color var(--bp-dur) var(--bp-ease), box-shadow var(--bp-dur) var(--bp-ease);
}

.bp-hm-plan.is-featured {
	border-color: var(--bp-navy);
	background: var(--bp-navy);
	box-shadow: 0 18px 40px rgba(20, 26, 41, 0.28);
}

.bp-hm-plan.is-best:not(.is-featured) {
	border-color: var(--bp-saffron);
	box-shadow: 0 0 0 3px rgba(254, 125, 3, 0.18);
}

.bp-hm-plan__tag,
.bp-hm-plan__best {
	position: absolute;
	top: -12px;
	right: 18px;
	padding: 4px 10px;
	border-radius: var(--bp-r-pill);
	background: var(--bp-saffron);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bp-navy);
}

.bp-hm-plan.is-featured .bp-hm-plan__best {
	display: none;
}

.bp-hm-plan__name {
	font-size: 16px;
	font-weight: 600;
	color: var(--bp-muted);
}

.bp-hm-plan__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--bp-navy);
}

.bp-hm-plan__price small {
	font-size: 14px;
	font-weight: 500;
	color: var(--bp-muted);
}

.bp-hm-plan__parcels {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 8px;
	background: var(--bp-peach);
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-saffron-text);
}

.bp-hm-plan__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex: 1 0 auto;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: #3A3F4A;
}

.bp-hm-plan__note .bp-hm-icon {
	margin-top: 1px;
	color: #1E8E4F;
}

.bp-hm-plan.is-featured .bp-hm-plan__name,
.bp-hm-plan.is-featured .bp-hm-plan__price small {
	color: #C9CEEE;
}

.bp-hm-plan.is-featured .bp-hm-plan__price {
	color: var(--bp-white);
}

.bp-hm-plan.is-featured .bp-hm-plan__parcels {
	background: #3A4280;
	color: var(--bp-white);
}

.bp-hm-plan.is-featured .bp-hm-plan__note {
	color: #E3E6F7;
}

.bp-hm-plan.is-featured .bp-hm-plan__note .bp-hm-icon {
	color: var(--bp-saffron);
}

.bp-hm-footnotes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.bp-hm-footnotes li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: var(--bp-muted);
}

.bp-hm-footnotes .bp-hm-icon {
	width: 16px;
	height: 16px;
	color: #1E8E4F;
}

@media (min-width: 1024px) {
	.bp-hm-pricing__row {
		grid-template-columns: 340px minmax(0, 1fr);
	}

	.bp-hm-plans__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* --- 09 FAQ ------------------------------------------------------------- */

.bp-hm-faq {
	display: grid;
	gap: 40px;
}

.bp-hm-faq__side {
	display: flex;
	flex-direction: column;
	max-width: 420px;
}

.bp-hm-faq__side .bp-hm-photo {
	aspect-ratio: 1 / 1;
}

.bp-hm-help {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin: -60px 20px 0;
	position: relative;
	padding: 20px;
	border-radius: var(--bp-r-16);
	background: var(--bp-white);
	box-shadow: 0 8px 24px rgba(20, 26, 41, 0.08);
}

.bp-hm-help__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--bp-navy);
}

.bp-hm-help__text {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bp-muted);
}

.bp-hm-wa {
	display: inline-flex;
	color: #1A9E4B;
}

.bp-hm-accordion {
	border-top: 1px solid var(--bp-line);
}

.bp-hm-qa {
	border-bottom: 1px solid var(--bp-line);
}

.bp-hm-qa__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 44px;
	padding-block: 22px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--bp-navy);
	list-style: none;
	cursor: pointer;
}

.bp-hm-qa__q::-webkit-details-marker {
	display: none;
}

.bp-hm-qa__toggle {
	position: relative;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--bp-soft);
	transition: background-color var(--bp-dur) var(--bp-ease), transform var(--bp-dur) var(--bp-ease);
}

.bp-hm-qa__toggle::before,
.bp-hm-qa__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1.6px;
	border-radius: 1px;
	background: var(--bp-navy);
	transform: translate(-50%, -50%);
}

.bp-hm-qa__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.bp-hm-qa[open] .bp-hm-qa__toggle {
	background: var(--bp-saffron);
	transform: rotate(45deg);
}

.bp-hm-qa__a {
	margin-top: -10px;
	padding-bottom: 22px;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--bp-muted);
}

@media (min-width: 1024px) {
	.bp-hm-faq {
		grid-template-columns: 380px minmax(0, 1fr);
		gap: 48px;
		align-items: start;
	}
}

/* --- 10 CTA ------------------------------------------------------------- */

.bp-hm-cta-wrap {
	padding-bottom: 72px;
}

@media (min-width: 1024px) {
	.bp-hm-cta-wrap {
		padding-bottom: 96px;
	}
}

.bp-hm-cta {
	display: grid;
	overflow: hidden;
	border-radius: var(--bp-r-24);
	background: var(--bp-navy);
}

.bp-hm-cta__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 40px 28px;
}

.bp-hm-cta__eyebrow {
	color: #FFB366;
}

.bp-hm-cta__title {
	max-width: 560px;
	color: var(--bp-white);
}

.bp-hm-cta__text {
	margin-bottom: 10px;
	font-size: 17px;
	line-height: 1.5;
	color: #C9CEEE;
}

.bp-hm-cta .bp-btn-row {
	gap: 12px;
}

.bp-hm-cta .bp-btn--ghost {
	border-color: var(--bp-white);
}

.bp-hm-cta__media {
	position: relative;
	min-height: 260px;
}

.bp-hm-cta__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

@media (min-width: 768px) {
	.bp-hm-cta__copy {
		padding: 64px;
	}
}

@media (min-width: 1024px) {
	.bp-hm-cta {
		grid-template-columns: 720fr 480fr;
		min-height: 400px;
	}

}

.bp-hm-plan .bp-btn {
	padding-inline: 12px;
	font-size: 14px;
}

/* Pricing page plans: reuse the home plan cards (bp-hm-plan), full width. */
.bp-pr-reco {
	margin-top: 6px;
	font-size: 14px;
	color: var(--bp-muted);
}

.bp-pr-reco strong {
	color: var(--bp-navy);
}

.bp-pr-plans .bp-hm-plans__grid {
	margin-top: 8px;
}

.bp-hm-plan__price {
	white-space: nowrap;
}

.bp-hm-plan__list {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.bp-hm-plan__list li {
	position: relative;
	padding-left: 26px;
	font-size: 14px;
	line-height: 1.5;
	color: #3A3F4A;
}

.bp-hm-plan__list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 4px;
	width: 14px;
	height: 8px;
	border-left: 1.8px solid #1E8E4F;
	border-bottom: 1.8px solid #1E8E4F;
	transform: rotate(-45deg) scale(0.85);
	transform-origin: center;
}

.bp-hm-plan.is-featured .bp-hm-plan__list li {
	color: #E3E6F7;
}

.bp-hm-plan.is-featured .bp-hm-plan__list li::before {
	border-color: var(--bp-saffron);
}

/* The featured card is already highlighted; say "best for you" on it too. */
.bp-pr-plans .bp-hm-plan.is-featured.is-best .bp-hm-plan__tag {
	display: none;
}

.bp-pr-plans .bp-hm-plan.is-featured .bp-hm-plan__best:not([hidden]) {
	display: inline-block;
}
