/*
 * Lipa na Paybill landing page.
 * Every rule is scoped under .imbp so it cannot leak into, or be broken by, the theme.
 */

.imbp {
	--imbp-navy: #231f5c;
	--imbp-ink: #2b2f45;
	--imbp-body: #474c60;
	--imbp-muted: #636a80;
	--imbp-line: #e2e6ee;
	--imbp-tint: #f1f5fa;
	--imbp-blue: #1b75bc;
	--imbp-grad-action: linear-gradient(90deg, #0b4aa2 0%, #12c4b0 100%);
	--imbp-grad-green: linear-gradient(135deg, #2bb673 0%, #0a6a3a 100%);
	--imbp-header-offset: 0px; /* set by lipa-na-paybill.js when the theme header is fixed */

	position: relative;
	overflow-x: clip;
	font-family: Lato, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--imbp-body);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.imbp *,
.imbp *::before,
.imbp *::after {
	box-sizing: border-box;
}

.imbp h1,
.imbp h2,
.imbp h3,
.imbp p,
.imbp ul,
.imbp ol,
.imbp li {
	margin: 0;
	padding: 0;
}

.imbp ul,
.imbp ol {
	list-style: none;
}

.imbp a {
	color: inherit;
	text-decoration: none;
}

.imbp button,
.imbp input,
.imbp select {
	font: inherit;
	color: inherit;
}

.imbp [hidden] {
	display: none !important;
}

.imbp section[id] {
	scroll-margin-top: calc(var(--imbp-header-offset) + 12px);
}

.imbp .imbp-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.imbp .imbp-icon {
	flex: none;
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.imbp .imbp-container {
	width: min(100% - 48px, 1000px);
	margin-inline: auto;
}

.imbp .imbp-section {
	padding: 84px 0;
}

.imbp .imbp-section--tint {
	background: var(--imbp-tint);
}

.imbp .imbp-h2 {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--imbp-navy);
	text-wrap: balance;
}

.imbp .imbp-h2--light {
	color: #fff;
}

.imbp .imbp-h2--center {
	text-align: center;
}

.imbp .imbp-intro {
	margin-top: 14px;
	max-width: 940px;
	font-size: 15px;
	line-height: 1.7;
}

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

.imbp .imbp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 26px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.imbp .imbp-btn .imbp-icon {
	width: 16px;
	height: 16px;
	stroke-width: 2.2;
	transition: transform 0.2s ease;
}

.imbp .imbp-btn--primary {
	border: 0;
	color: #fff;
	background: var(--imbp-grad-action);
	box-shadow: 0 10px 22px -12px rgba(11, 74, 162, 0.9);
}

.imbp .imbp-btn--primary:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 14px 26px -12px rgba(11, 74, 162, 0.95);
}

.imbp .imbp-btn--primary:hover .imbp-icon {
	transform: translateX(3px);
}

.imbp .imbp-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.9);
	background: transparent;
}

.imbp .imbp-btn--ghost:hover {
	color: #0a6a3a;
	background: #fff;
}

.imbp .imbp-btn--block {
	width: 100%;
}

.imbp a:focus-visible,
.imbp button:focus-visible {
	outline: 3px solid rgba(27, 117, 188, 0.55);
	outline-offset: 3px;
}

.imbp .imbp-hero a:focus-visible,
.imbp .imbp-cta a:focus-visible {
	outline-color: #fff;
}

/* ---------- Icon tiles ---------- */

.imbp .imbp-tile {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	color: #fff;
}

.imbp .imbp-tile--green {
	background: linear-gradient(135deg, #2bb673 0%, #0a6a3a 100%);
}

.imbp .imbp-tile--teal {
	background: linear-gradient(135deg, #0b4aa2 0%, #12c4b0 100%);
}

.imbp .imbp-tile--orange {
	background: linear-gradient(135deg, #f9a01b 0%, #f15a29 100%);
}

.imbp .imbp-tile--navy {
	background: linear-gradient(135deg, #231f5c 0%, #1b75bc 100%);
}

.imbp .imbp-tile--purple {
	background: linear-gradient(135deg, #6a2c8f 0%, #2a2162 100%);
}

.imbp .imbp-tile--pink {
	background: linear-gradient(135deg, #ee4b8b 0%, #f2606a 100%);
}

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

.imbp .imbp-hero {
	position: relative;
	overflow: hidden;
	padding: calc(var(--imbp-header-offset) + 48px) 0 86px;
	color: #fff;
	background: linear-gradient(98deg, #30ba79 0%, #23a765 38%, #128a4c 68%, #086636 100%);
}

.imbp .imbp-hero__orb {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.imbp .imbp-hero__orb--left {
	left: -190px;
	top: 34%;
	width: 380px;
	height: 380px;
	background: rgba(255, 255, 255, 0.07);
}

.imbp .imbp-hero__orb--right {
	right: -150px;
	top: -230px;
	width: 520px;
	height: 520px;
	background: rgba(255, 255, 255, 0.06);
}

.imbp .imbp-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 440px;
	align-items: center;
	gap: 40px;
}

.imbp .imbp-hero__title {
	font-size: 56px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #fff;
}

.imbp .imbp-hero__lead {
	margin-top: 14px;
	font-size: 23px;
	font-weight: 300;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.95);
}

.imbp .imbp-hero__text {
	margin-top: 22px;
	max-width: 470px;
	font-size: 15px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.94);
}

.imbp .imbp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.imbp .imbp-hero__visual {
	display: flex;
	justify-content: center;
}

/* Phone illustration */

.imbp .imbp-phone {
	position: relative;
	width: 252px;
	padding: 9px;
	border-radius: 32px;
	background: #1a1e4b;
	box-shadow: 0 34px 60px -24px rgba(3, 40, 20, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.imbp .imbp-phone__screen {
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	color: var(--imbp-ink);
}

.imbp .imbp-phone__bar {
	display: flex;
	justify-content: space-between;
	padding: 13px 16px 12px;
	font-size: 11px;
	color: #fff;
	background: linear-gradient(100deg, #27a968 0%, #0d7341 100%);
}

.imbp .imbp-phone__body {
	padding: 14px 13px 15px;
}

.imbp .imbp-phone__eyebrow {
	font-size: 9.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--imbp-muted);
}

.imbp .imbp-phone__field {
	display: block;
	margin-top: 10px;
	padding: 10px 12px 11px;
	border-radius: 10px;
	background: #f1f4fa;
}

.imbp .imbp-phone__label {
	display: block;
	font-size: 8.5px;
	line-height: 1.3;
	color: var(--imbp-muted);
}

.imbp .imbp-phone__value {
	display: block;
	margin-top: 5px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: #1e2340;
}

.imbp .imbp-phone__value--big {
	font-size: 23px;
	letter-spacing: 0.12em;
	color: var(--imbp-navy);
}

.imbp .imbp-phone__value--link {
	color: #1c6fc0;
}

.imbp .imbp-phone__send {
	display: grid;
	place-items: center;
	height: 36px;
	margin-top: 13px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(100deg, #2bb673 0%, #0a6a3a 100%);
}

.imbp .imbp-phone__toast {
	position: absolute;
	left: -34px;
	bottom: -16px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px 8px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--imbp-navy);
	background: #fff;
	box-shadow: 0 12px 26px -10px rgba(3, 40, 20, 0.55);
}

.imbp .imbp-phone__toast .imbp-icon {
	width: 18px;
	height: 18px;
	color: #1fa463;
	stroke-width: 2;
}

/* ---------- Highlights ---------- */

.imbp .imbp-highlights {
	position: relative;
	z-index: 2;
	margin-top: -26px;
}

.imbp .imbp-highlights__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.imbp .imbp-highlight {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px 22px 22px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 16px 34px -18px rgba(35, 31, 92, 0.28), 0 1px 3px rgba(35, 31, 92, 0.08);
}

.imbp .imbp-highlight__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--imbp-navy);
}

.imbp .imbp-highlight__text {
	margin-top: 5px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--imbp-muted);
}

/* ---------- Benefits ---------- */

.imbp .imbp-benefits {
	padding-top: 76px;
}

.imbp .imbp-benefits__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 34px;
}

.imbp .imbp-benefit {
	position: relative;
	min-height: 208px;
	padding: 28px 26px 30px;
	border: 1px solid var(--imbp-line);
	border-radius: 18px;
	background: #fff;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.imbp .imbp-benefit:hover {
	border-color: #cfd6e4;
	box-shadow: 0 18px 36px -22px rgba(35, 31, 92, 0.3);
}

.imbp .imbp-benefit__num {
	position: absolute;
	top: 12px;
	right: 24px;
	font-size: 76px;
	font-weight: 700;
	line-height: 1;
	color: #eef0f5;
	user-select: none;
}

.imbp .imbp-benefit__title {
	margin-top: 20px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--imbp-navy);
}

.imbp .imbp-benefit__text {
	margin-top: 9px;
	font-size: 13.5px;
	line-height: 1.8;
}

.imbp .imbp-code {
	display: grid;
	gap: 2px;
	margin-top: 14px;
	padding: 12px 15px;
	border-radius: 10px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--imbp-ink);
	background: #f1f4fa;
}

.imbp .imbp-code strong {
	font-weight: 700;
	color: var(--imbp-navy);
}

.imbp .imbp-code .imbp-code__ref {
	color: #1c6fc0;
}

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

.imbp .imbp-features__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 32px;
}

.imbp .imbp-feature {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 18px 20px 20px;
	border-radius: 12px;
	background: #fff;
}

.imbp .imbp-feature > .imbp-icon {
	margin-top: 1px;
	color: #1b5faa;
}

.imbp .imbp-feature__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--imbp-navy);
}

.imbp .imbp-feature__text {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--imbp-muted);
}

/* ---------- How your customers pay ---------- */

.imbp .imbp-how__grid {
	display: grid;
	grid-template-columns: 398px minmax(0, 1fr);
	align-items: start;
	gap: 44px;
}

.imbp .imbp-how__aside {
	position: sticky;
	top: calc(var(--imbp-header-offset) + 28px);
}

.imbp .imbp-paybill {
	margin-top: 22px;
	padding: 26px 24px 30px;
	border-radius: 14px;
	color: #fff;
	background: linear-gradient(100deg, #272262 0%, #1f55a5 62%, #1b75bc 100%);
}

.imbp .imbp-paybill .imbp-icon {
	opacity: 0.9;
}

.imbp .imbp-paybill__label {
	margin-top: 16px;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.imbp .imbp-paybill__number {
	margin-top: 10px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.1em;
	font-variant-numeric: tabular-nums;
}

.imbp .imbp-steps {
	display: grid;
	gap: 16px;
}

.imbp .imbp-step {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 66px;
	padding: 14px 20px;
	border: 1px solid var(--imbp-line);
	border-radius: 14px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--imbp-ink);
	background: #fff;
}

.imbp .imbp-step + .imbp-step::before {
	content: "";
	position: absolute;
	left: 37px;
	top: -17px;
	width: 1px;
	height: 16px;
	background: var(--imbp-line);
}

.imbp .imbp-step__num {
	flex: none;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, #0b4aa2 0%, #12c4b0 100%);
}

/* ---------- Requirements ---------- */

.imbp .imbp-requirements {
	padding-bottom: 72px;
}

.imbp .imbp-requirements__card {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	align-items: center;
	gap: 36px;
	padding: 52px 44px 56px;
	border-radius: 22px;
	color: #fff;
	background: linear-gradient(100deg, #6c2d92 0%, #45267a 42%, #29205f 78%, #231f5c 100%);
}

.imbp .imbp-requirements__card .imbp-h2 {
	font-size: 32px;
}

.imbp .imbp-requirements__text {
	margin-top: 12px;
	max-width: 500px;
	font-size: 14.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
}

.imbp .imbp-requirements__list {
	display: grid;
	gap: 10px;
	margin-top: 20px;
}

.imbp .imbp-requirements__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.4;
	background: rgba(255, 255, 255, 0.13);
}

.imbp .imbp-stat {
	display: grid;
	justify-items: center;
	gap: 6px;
	text-align: center;
}

.imbp .imbp-stat__value {
	font-size: 80px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.01em;
}

.imbp .imbp-stat__value small {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0;
}

.imbp .imbp-stat__label {
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.82);
}

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

.imbp .imbp-faq {
	padding-bottom: 76px;
}

.imbp .imbp-tabs {
	display: flex;
	width: fit-content;
	max-width: 100%;
	margin: 22px auto 32px;
	padding: 4px;
	border: 1px solid #dfe4ee;
	border-radius: 999px;
	background: #fff;
}

.imbp .imbp-tabs__tab {
	padding: 9px 20px;
	border: 0;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.3;
	color: var(--imbp-navy);
	background: transparent;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.imbp .imbp-tabs__tab:hover {
	background: var(--imbp-tint);
}

.imbp .imbp-tabs__tab.is-active {
	color: #fff;
	background: var(--imbp-grad-action);
}

.imbp .imbp-faq__panel {
	display: grid;
	gap: 12px;
	max-width: 710px;
	margin-inline: auto;
}

.imbp .imbp-faq__item {
	border: 1px solid #e1e6ef;
	border-radius: 14px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.imbp .imbp-faq__item.is-open {
	border-color: #3d88c9;
	box-shadow: 0 0 0 3px rgba(27, 117, 188, 0.12);
}

.imbp .imbp-faq__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 15px 18px;
	border: 0;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-align: left;
	color: var(--imbp-ink);
	background: transparent;
	cursor: pointer;
}

.imbp .imbp-faq__item.is-open .imbp-faq__btn {
	color: var(--imbp-navy);
}

.imbp .imbp-faq__toggle {
	position: relative;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(135deg, #231f5c 0%, #1b5faa 100%);
	transition: transform 0.25s ease;
}

.imbp .imbp-faq__toggle::before,
.imbp .imbp-faq__toggle::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 11px;
	height: 1.6px;
	border-radius: 2px;
	background: #fff;
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.imbp .imbp-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.imbp .imbp-faq__item.is-open .imbp-faq__toggle {
	background: linear-gradient(135deg, #0b86ae 0%, #12c4b0 100%);
}

.imbp .imbp-faq__item.is-open .imbp-faq__toggle::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(0deg);
}

/* Answers are open by default; lipa-na-paybill.js adds .imbp--js and collapses them. */
.imbp .imbp-faq__a {
	display: grid;
	grid-template-rows: 1fr;
}

.imbp .imbp-faq__a-inner {
	min-height: 0;
	overflow: hidden;
}

.imbp .imbp-faq__a-inner p {
	padding: 0 60px 18px 18px;
	font-size: 14px;
	line-height: 1.75;
}

.imbp.imbp--js .imbp-faq__a {
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows 0.3s ease, visibility 0s linear 0.3s;
}

.imbp.imbp--js .imbp-faq__item.is-open .imbp-faq__a {
	grid-template-rows: 1fr;
	visibility: visible;
	transition: grid-template-rows 0.3s ease, visibility 0s;
}

.imbp .imbp-faq__empty {
	padding: 28px 20px;
	border: 1px dashed #cdd5e3;
	border-radius: 14px;
	font-size: 14.5px;
	text-align: center;
	color: var(--imbp-muted);
	background: #fff;
}

/* ---------- Call back ---------- */

.imbp .imbp-cta {
	padding: 78px 0 60px;
	color: #fff;
	background: linear-gradient(100deg, #272262 0%, #214b9a 48%, #1b75bc 100%);
}

.imbp .imbp-cta__title {
	max-width: 540px;
	margin-inline: auto;
	line-height: 1.32;
	text-wrap: wrap;
}

.imbp .imbp-cta__lead {
	margin-top: 12px;
	font-size: 14.5px;
	text-align: center;
	color: rgba(255, 255, 255, 0.82);
}

.imbp .imbp-cta__grid {
	display: grid;
	grid-template-columns: 441px minmax(0, 1fr);
	align-items: start;
	gap: 30px;
	margin-top: 38px;
}

.imbp .imbp-contact {
	display: grid;
	gap: 12px;
}

.imbp .imbp-contact__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 17px 20px 18px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.1);
}

.imbp .imbp-contact__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.imbp .imbp-contact__text {
	margin-top: 2px;
	font-size: 13.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.76);
}

.imbp .imbp-form-card {
	padding: 22px 22px 24px;
	border-radius: 16px;
	color: var(--imbp-body);
	background: #fff;
	box-shadow: 0 30px 60px -30px rgba(10, 16, 60, 0.6);
}

.imbp .imbp-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.imbp .imbp-field--full {
	grid-column: 1 / -1;
}

.imbp .imbp-field label {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--imbp-body);
}

.imbp .imbp-input {
	display: block;
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0 13px;
	border: 1px solid #d3d9e4;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.2;
	color: var(--imbp-ink);
	background: #fff;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.imbp .imbp-input:focus {
	border-color: var(--imbp-blue);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(27, 117, 188, 0.18);
}

.imbp .imbp-input--select {
	padding-right: 38px;
	color: var(--imbp-navy);
	background: #e9ecf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231f5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.imbp .imbp-check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}

.imbp .imbp-check input {
	flex: none;
	width: 14px;
	height: 14px;
	margin: 1px 0 0;
	accent-color: #0b4aa2;
}

.imbp .imbp-check label {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.4;
}

.imbp .imbp-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.imbp .imbp-notice {
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13.5px;
	line-height: 1.5;
}

.imbp .imbp-notice--ok {
	color: #0b5a31;
	background: #e6f6ed;
}

.imbp .imbp-notice--error {
	color: #8f1d2c;
	background: #fdecee;
}

.imbp .imbp-notice ul {
	display: grid;
	gap: 2px;
}

/* Gravity Forms inside the card (used when imbp_gravity_form_id returns a form ID).
   Mirrors the built-in .imbp-form / .imbp-input / .imbp-btn look. The site also loads Bootstrap 4 and
   Gravity Forms' own theme CSS, and GF puts utility classes (text-white, bg-white, text-primary) on fields
   and on the submit button, so colour/background carry !important where those utilities would otherwise win. */

/* --- Grid: Gravity Forms' 12-column layout --- */

.imbp .imbp-form-card .gform_wrapper .gform_fields {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.imbp .imbp-form-card .gform_wrapper .gfield {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end; /* inputs in the same row line up at the bottom */
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--imbp-body) !important; /* beats .text-white that GF puts on every field */
	background: none;
}

.imbp .imbp-form-card .gform_wrapper .gfield--width-full,
.imbp .imbp-form-card .gform_wrapper [data-field-span="12"] {
	grid-column: span 12;
}

.imbp .imbp-form-card .gform_wrapper .gfield--width-three-quarter,
.imbp .imbp-form-card .gform_wrapper [data-field-span="9"] {
	grid-column: span 9;
}

.imbp .imbp-form-card .gform_wrapper .gfield--width-two-thirds,
.imbp .imbp-form-card .gform_wrapper [data-field-span="8"] {
	grid-column: span 8;
}

.imbp .imbp-form-card .gform_wrapper .gfield--width-seven-twelfths,
.imbp .imbp-form-card .gform_wrapper [data-field-span="7"] {
	grid-column: span 7;
}

.imbp .imbp-form-card .gform_wrapper .gfield--width-half,
.imbp .imbp-form-card .gform_wrapper [data-field-span="6"] {
	grid-column: span 6;
}

.imbp .imbp-form-card .gform_wrapper .gfield--width-five-twelfths,
.imbp .imbp-form-card .gform_wrapper [data-field-span="5"] {
	grid-column: span 5;
}

.imbp .imbp-form-card .gform_wrapper .gfield--width-third,
.imbp .imbp-form-card .gform_wrapper [data-field-span="4"] {
	grid-column: span 4;
}

.imbp .imbp-form-card .gform_wrapper .gfield--width-quarter,
.imbp .imbp-form-card .gform_wrapper [data-field-span="3"] {
	grid-column: span 3;
}

.imbp .imbp-form-card .gform_wrapper [data-field-span="11"] {
	grid-column: span 11;
}

.imbp .imbp-form-card .gform_wrapper [data-field-span="10"] {
	grid-column: span 10;
}

.imbp .imbp-form-card .gform_wrapper [data-field-span="2"] {
	grid-column: span 2;
}

.imbp .imbp-form-card .gform_wrapper [data-field-span="1"] {
	grid-column: span 1;
}

/* Honeypot / spam-trap field must stay hidden. */
.imbp .imbp-form-card .gform_wrapper .gform_validation_container,
.imbp .imbp-form-card .gform_wrapper .gfield--type-honeypot {
	display: none !important;
}

/* --- Labels, sub-labels, required marker, descriptions --- */

.imbp .imbp-form-card .gform_wrapper .gfield .gfield_label,
.imbp .imbp-form-card .gform_wrapper .gfield legend {
	display: block;
	float: none;
	width: auto;
	max-width: none;
	margin: 0 0 6px;
	padding: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--imbp-body) !important;
}

.imbp .imbp-form-card .gform_wrapper .gfield .gform-field-label--type-sub {
	display: block;
	margin: 0 0 4px;
	padding: 0;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
	color: var(--imbp-muted) !important;
}

.imbp .imbp-form-card .gform_wrapper .field_sublabel_below .gform-field-label--type-sub {
	margin: 4px 0 0;
}

.imbp .imbp-form-card .gform_wrapper .gfield .gfield_required {
	margin-left: 6px;
	padding: 0;
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--imbp-muted) !important;
}

.imbp .imbp-form-card .gform_wrapper .gfield .gfield_required .gfield_required {
	margin-left: 0;
}

.imbp .imbp-form-card .gform_wrapper .gfield .gfield_description {
	margin: 6px 0 0;
	padding: 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--imbp-muted) !important;
}

.imbp .imbp-form-card .gform_wrapper .gfield .ginput_container {
	min-width: 0;
	margin: 0;
	padding: 0;
}

/* --- Text-like controls (same as .imbp-input) --- */

.imbp .imbp-form-card .gform_wrapper .gfield input[type="text"],
.imbp .imbp-form-card .gform_wrapper .gfield input[type="email"],
.imbp .imbp-form-card .gform_wrapper .gfield input[type="tel"],
.imbp .imbp-form-card .gform_wrapper .gfield input[type="url"],
.imbp .imbp-form-card .gform_wrapper .gfield input[type="number"],
.imbp .imbp-form-card .gform_wrapper .gfield input[type="password"],
.imbp .imbp-form-card .gform_wrapper .gfield input[type="search"],
.imbp .imbp-form-card .gform_wrapper .gfield input[type="date"],
.imbp .imbp-form-card .gform_wrapper .gfield select,
.imbp .imbp-form-card .gform_wrapper .gfield textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: 42px;
	min-height: 42px;
	margin: 0;
	padding: 0 13px;
	border: 1px solid #d3d9e4;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.2;
	color: var(--imbp-ink);
	background-color: #fff;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.imbp .imbp-form-card .gform_wrapper .gfield input::placeholder,
.imbp .imbp-form-card .gform_wrapper .gfield textarea::placeholder {
	color: var(--imbp-muted);
	opacity: 0.7;
}

.imbp .imbp-form-card .gform_wrapper .gfield input[type="text"]:focus,
.imbp .imbp-form-card .gform_wrapper .gfield input[type="email"]:focus,
.imbp .imbp-form-card .gform_wrapper .gfield input[type="tel"]:focus,
.imbp .imbp-form-card .gform_wrapper .gfield input[type="url"]:focus,
.imbp .imbp-form-card .gform_wrapper .gfield input[type="number"]:focus,
.imbp .imbp-form-card .gform_wrapper .gfield input[type="password"]:focus,
.imbp .imbp-form-card .gform_wrapper .gfield input[type="search"]:focus,
.imbp .imbp-form-card .gform_wrapper .gfield input[type="date"]:focus,
.imbp .imbp-form-card .gform_wrapper .gfield select:focus,
.imbp .imbp-form-card .gform_wrapper .gfield textarea:focus,
.imbp .imbp-form-card .gform_wrapper .gfield .gform-phone__country-selector:focus {
	border-color: var(--imbp-blue);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(27, 117, 188, 0.18);
}

/* Select: white like the other inputs, custom chevron (Bootstrap .custom-select and GF both paint their own). */
.imbp .imbp-form-card .gform_wrapper .gfield select,
.imbp .imbp-form-card .gform_wrapper .gfield select.custom-select {
	padding: 0 38px 0 13px;
	color: var(--imbp-ink);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231f5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
}

.imbp .imbp-form-card .gform_wrapper .gfield select::-ms-expand {
	display: none;
}

/* Textarea */
.imbp .imbp-form-card .gform_wrapper .gfield textarea {
	height: auto;
	min-height: 110px;
	padding: 10px 13px;
	line-height: 1.4;
	resize: vertical;
}

/* --- Complex fields: Name (and Address etc.) as an even two-column grid, no GF gutters --- */

.imbp .imbp-form-card .gform_wrapper .gfield .ginput_complex.ginput_container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 16px;
	width: 100%;
	margin: 0;
	padding: 0;
}

.imbp .imbp-form-card .gform_wrapper .gfield .ginput_complex.gf_name_has_1 {
	grid-template-columns: minmax(0, 1fr);
}

.imbp .imbp-form-card .gform_wrapper .gfield .ginput_complex.gf_name_has_3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.imbp .imbp-form-card .gform_wrapper .gfield .ginput_complex > span,
.imbp .imbp-form-card .gform_wrapper .gfield .ginput_complex > .gform-grid-col {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	float: none;
	flex: none;
	width: auto;
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.imbp .imbp-form-card .gform_wrapper .gfield .ginput_complex > .ginput_full {
	grid-column: 1 / -1;
}

/* --- Phone: country selector + number on one row --- */

.imbp .imbp-form-card .gform_wrapper .gfield .gform-phone,
.imbp .imbp-form-card .gform_wrapper .gfield .gform-phone__input-wrapper {
	min-width: 0;
	margin: 0;
	padding: 0;
}

.imbp .imbp-form-card .gform_wrapper .gfield .gform-phone__input-wrapper {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	gap: 8px;
	width: 100%;
}

.imbp .imbp-form-card .gform_wrapper .gfield .ginput_country-selector_container,
.imbp .imbp-form-card .gform_wrapper .gfield .ginput_phone_container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.imbp .imbp-form-card .gform_wrapper .gfield .ginput_country-selector_container {
	flex: 0 0 auto;
}

.imbp .imbp-form-card .gform_wrapper .gfield .ginput_phone_container {
	flex: 1 1 0;
}

.imbp .imbp-form-card .gform_wrapper .gfield .gform-phone__country-selector {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	height: 42px;
	min-height: 42px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #d3d9e4;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.2;
	color: var(--imbp-ink);
	background: #fff;
	box-shadow: none;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.imbp .imbp-form-card .gform_wrapper .gfield .gform-phone__dial-code {
	color: var(--imbp-ink);
}

/* --- Checkboxes, radios, consent --- */

.imbp .imbp-form-card .gform_wrapper .gfield .gfield_checkbox,
.imbp .imbp-form-card .gform_wrapper .gfield .gfield_radio {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.imbp .imbp-form-card .gform_wrapper .gfield .gchoice,
.imbp .imbp-form-card .gform_wrapper .gfield .ginput_container_consent {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	padding: 0;
}

.imbp .imbp-form-card .gform_wrapper .gfield .gchoice input[type="checkbox"],
.imbp .imbp-form-card .gform_wrapper .gfield .gchoice input[type="radio"],
.imbp .imbp-form-card .gform_wrapper .gfield .ginput_container_consent input[type="checkbox"] {
	flex: none;
	width: 14px;
	height: 14px;
	margin: 1px 0 0;
	padding: 0;
	accent-color: #0b4aa2;
}

.imbp .imbp-form-card .gform_wrapper .gfield .gchoice label,
.imbp .imbp-form-card .gform_wrapper .gfield .ginput_container_consent label {
	display: block;
	max-width: none;
	margin: 0;
	padding: 0;
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--imbp-body) !important;
}

/* --- Validation (colours from .imbp-notice--error) --- */

.imbp .imbp-form-card .gform_wrapper .gform_validation_errors {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 0;
	border-radius: 10px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #8f1d2c;
	background: #fdecee;
	box-shadow: none;
}

.imbp .imbp-form-card .gform_wrapper .gform_validation_errors > h2,
.imbp .imbp-form-card .gform_wrapper .gform_validation_errors .gform_submission_error {
	margin: 0;
	padding: 0;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.5;
	color: #8f1d2c;
}

.imbp .imbp-form-card .gform_wrapper .gform_validation_errors ol,
.imbp .imbp-form-card .gform_wrapper .gform_validation_errors ul {
	margin: 6px 0 0;
	padding: 0 0 0 18px;
	font-size: 13px;
}

.imbp .imbp-form-card .gform_wrapper .gform_validation_errors a {
	color: #8f1d2c;
	text-decoration: underline;
}

.imbp .imbp-form-card .gform_wrapper .gfield.gfield_error {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.imbp .imbp-form-card .gform_wrapper .gfield_error input[type="text"],
.imbp .imbp-form-card .gform_wrapper .gfield_error input[type="email"],
.imbp .imbp-form-card .gform_wrapper .gfield_error input[type="tel"],
.imbp .imbp-form-card .gform_wrapper .gfield_error input[type="url"],
.imbp .imbp-form-card .gform_wrapper .gfield_error input[type="number"],
.imbp .imbp-form-card .gform_wrapper .gfield_error input[type="password"],
.imbp .imbp-form-card .gform_wrapper .gfield_error select,
.imbp .imbp-form-card .gform_wrapper .gfield_error textarea,
.imbp .imbp-form-card .gform_wrapper .gfield_error .gform-phone__country-selector {
	border-color: #8f1d2c;
}

.imbp .imbp-form-card .gform_wrapper .gfield_error input:focus,
.imbp .imbp-form-card .gform_wrapper .gfield_error select:focus,
.imbp .imbp-form-card .gform_wrapper .gfield_error textarea:focus {
	border-color: #8f1d2c;
	box-shadow: 0 0 0 3px rgba(143, 29, 44, 0.16);
}

.imbp .imbp-form-card .gform_wrapper .gfield .validation_message,
.imbp .imbp-form-card .gform_wrapper .gfield .gfield_validation_message {
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	color: #8f1d2c !important;
	background: none;
}

/* --- reCAPTCHA: never overflow the card; scale down on very small screens --- */

.imbp .imbp-form-card .gform_wrapper .gfield .ginput_recaptcha {
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

/* --- Submit button (GF markup has no .gform_button; Bootstrap .bg-white / .text-primary are !important) --- */

.imbp .imbp-form-card .gform_wrapper .gform_footer,
.imbp .imbp-form-card .gform_wrapper .gform-footer {
	display: block;
	margin: 16px 0 0;
	padding: 0;
}

.imbp .imbp-form-card .gform_wrapper .gform_footer input[type="submit"],
.imbp .imbp-form-card .gform_wrapper .gform_footer button[type="submit"],
.imbp .imbp-form-card .gform_wrapper .gform_footer .gform_button {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	color: #fff !important;
	background: var(--imbp-grad-action) !important;
	box-shadow: 0 10px 22px -12px rgba(11, 74, 162, 0.9);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.imbp .imbp-form-card .gform_wrapper .gform_footer input[type="submit"]:hover,
.imbp .imbp-form-card .gform_wrapper .gform_footer button[type="submit"]:hover,
.imbp .imbp-form-card .gform_wrapper .gform_footer .gform_button:hover {
	color: #fff !important;
	background: var(--imbp-grad-action) !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 26px -12px rgba(11, 74, 162, 0.95);
}

.imbp .imbp-form-card .gform_wrapper .gform_footer input[type="submit"]:focus-visible,
.imbp .imbp-form-card .gform_wrapper .gform_footer button[type="submit"]:focus-visible,
.imbp .imbp-form-card .gform_wrapper .gform_footer .gform_button:focus-visible {
	color: #fff !important;
	outline: 3px solid rgba(27, 117, 188, 0.55);
	outline-offset: 2px;
}

.imbp .imbp-form-card .gform_wrapper .gform_footer input[type="submit"]:disabled,
.imbp .imbp-form-card .gform_wrapper .gform_footer button[type="submit"]:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

/* --- AJAX spinner and confirmation (the confirmation wrapper is a sibling of .gform_wrapper on AJAX success) --- */

.imbp .imbp-form-card .gform_wrapper .gform_ajax_spinner {
	display: block;
	margin: 12px auto 0;
}

.imbp .imbp-form-card .gform_wrapper .gform_confirmation_message,
.imbp .imbp-form-card .gform_confirmation_wrapper .gform_confirmation_message {
	margin: 0;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #0b5a31;
	background: #e6f6ed;
}

/* --- Small screens --- */

@media (max-width: 640px) {
	.imbp .imbp-form-card .gform_wrapper .gform_fields .gfield {
		grid-column: 1 / -1;
	}

	.imbp .imbp-form-card .gform_wrapper .gfield .ginput_complex.ginput_container {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 400px) {
	.imbp .imbp-form-card .gform_wrapper .gfield .ginput_recaptcha {
		transform: scale(0.88);
		transform-origin: 0 0;
		margin-bottom: -9px;
	}
}

@media (max-width: 340px) {
	.imbp .imbp-form-card .gform_wrapper .gfield .ginput_recaptcha {
		transform: scale(0.77);
		margin-bottom: -18px;
	}
}

/* ---------- Scroll reveal (only when JS is running) ---------- */

.imbp.imbp--js [data-imbp-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--imbp-delay, 0ms);
}

.imbp.imbp--js [data-imbp-reveal].is-in {
	opacity: 1;
	transform: none;
}

.imbp.imbp--js .imbp-phone {
	animation: imbp-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.imbp.imbp--js .imbp-phone__toast {
	animation: imbp-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.9s both;
}

@keyframes imbp-rise {
	from {
		opacity: 0;
		transform: translateY(26px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes imbp-pop {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.92);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.imbp *,
	.imbp *::before,
	.imbp *::after {
		animation: none !important;
		transition: none !important;
	}

	.imbp.imbp--js [data-imbp-reveal] {
		opacity: 1;
		transform: none;
	}
}

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

@media (max-width: 1040px) {
	.imbp .imbp-hero__grid {
		grid-template-columns: minmax(0, 1fr) 340px;
	}

	.imbp .imbp-how__grid {
		grid-template-columns: 340px minmax(0, 1fr);
		gap: 32px;
	}

	.imbp .imbp-cta__grid {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
	}
}

@media (max-width: 860px) {
	.imbp .imbp-section {
		padding: 60px 0;
	}

	.imbp .imbp-h2 {
		font-size: 29px;
	}

	.imbp .imbp-hero {
		padding-bottom: 70px;
	}

	.imbp .imbp-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	.imbp .imbp-hero__title {
		font-size: 42px;
	}

	.imbp .imbp-hero__lead {
		font-size: 20px;
	}

	.imbp .imbp-highlights__list,
	.imbp .imbp-benefits__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.imbp .imbp-benefits {
		padding-top: 56px;
	}

	.imbp .imbp-benefit {
		min-height: 0;
	}

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

	.imbp .imbp-how__grid,
	.imbp .imbp-requirements__card,
	.imbp .imbp-cta__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.imbp .imbp-how__aside {
		position: static;
	}

	.imbp .imbp-requirements {
		padding-bottom: 60px;
	}

	.imbp .imbp-requirements__card {
		padding: 36px 26px 40px;
	}

	.imbp .imbp-requirements__card .imbp-h2 {
		font-size: 27px;
	}

	.imbp .imbp-stat__value {
		font-size: 64px;
	}

	.imbp .imbp-cta {
		padding: 60px 0 52px;
	}
}

@media (max-width: 560px) {
	.imbp .imbp-container {
		width: min(100% - 32px, 1000px);
	}

	.imbp .imbp-hero__title {
		font-size: 36px;
	}

	.imbp .imbp-hero__actions .imbp-btn {
		flex: 1 1 100%;
	}

	.imbp .imbp-phone__toast {
		left: -14px;
	}

	.imbp .imbp-features__grid,
	.imbp .imbp-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.imbp .imbp-benefit {
		padding: 24px 22px 26px;
	}

	.imbp .imbp-step {
		padding: 14px 16px;
	}

	.imbp .imbp-step + .imbp-step::before {
		left: 33px;
	}

	.imbp .imbp-tabs__tab {
		padding: 9px 14px;
		font-size: 13px;
	}
}
