:root {
	--bni-red: #e30613;
	--bni-text: #1f1f1f;
	--bni-muted: #777777;
	--bni-bg: #f3f3f3;
	--bni-border: #cfcfcf;
	--bni-container: 1100px;
	--bni-copy-width: 520px;
}

body.bni-landing-page {
	margin: 0;
	background: var(--bni-bg);
	color: var(--bni-text);
	font-family: "Montserrat", "Inter", "Segoe UI", Arial, sans-serif;
}

.bni-landing-site {
	min-height: 100vh;
}

.bni-container {
	width: min(100% - 32px, var(--bni-container));
	margin-inline: auto;
}

.bni-hero {
	padding: 52px 0 36px;
	background-color: white;
}

.bni-hero-top {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
}

.bni-hero-logo {
	display: block;
	max-width: 120px;
	height: auto;
}

.bni-hero-logo-text,
.bni-footer-brand-text {
	font-size: 1.5rem;
	font-weight: 700;
}

.bni-hero-small-text {
	margin: 0;
	font-size: 20px;
	color: #8f8f8f;
	width: min(100%, var(--bni-copy-width));
	margin-left: auto;
	text-align: right;
}

.bni-hero-small-text-first,
.bni-hero-small-text-rest {
	display: inline;
}

.bni-hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	padding: 50px 0 0px;
	align-items: center;
}

@media (min-width: 1024px) {
	.bni-hero-content {
		padding: 60px 0px 40px;
	}
}

.bni-hero-title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.05;
	font-weight: 400;
}

@media (min-width: 640px) {
	.bni-hero-title {
		font-size: 48px;
	}
	.bni-form-shortcode .bni-cf7-submit-wrap {
		margin-top: 25px !important;
	}
}

.bni-hero-description {
	margin: 0;
	font-size: 24px;
	line-height: 1.35;
	width: min(100%, var(--bni-copy-width));
}

.bni-video-cta {
	padding: 0;
	background: var(--bni-red);
}

.bni-video-cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: min(100%, var(--bni-container));
	margin-inline: auto;
}

.bni-video-media {
	position: relative;
	background: #d6d6d6;
	min-height: 300px;
}

.bni-video-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bni-video-preview-image {
	position: absolute;
	inset: 0;
}

.bni-video-placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	padding: 20px;
	text-align: center;
	color: #444444;
}

.bni-video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 170px;
	height: 48px;
	padding: 0 28px;
	border: 2px solid #ffffff;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
	text-decoration: none;
	font-family: "Montserrat", "Inter", "Segoe UI", Arial, sans-serif;
	font-weight: 700;
	font-size: 24px;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.bni-video-play:hover,
.bni-video-play:focus-visible {
	background: rgba(255, 255, 255, 0.18);
}

.bni-video-play:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.bni-video-embed {
	position: absolute;
	inset: 0;
	display: block;
}

.bni-video-embed iframe,
.bni-video-embed video {
	width: 100%;
	height: 100%;
	border: 0;
}

.bni-video-text-panel {
	background: var(--bni-red);
	color: #ffffff;
	padding: clamp(24px, 4vw, 44px);
	padding-right: 10px;
	display: grid;
	align-content: center;
}

.bni-video-text-panel p {
	margin: 0;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
	width: min(100%, var(--bni-copy-width));
	margin-inline: auto;
}

.bni-video-text-panel p strong {
	font-weight: 700;
}

.bni-form-section {
	padding: 64px 0 30px;
	background-color: white;
}

@media (min-width: 641px) {
	.bni-form-section {
		padding: 64px 0 80px;
	}
}

.bni-form-container {
	max-width: 900px;
}

.bni-form-title {
	margin: 0 0 15px;
	font-size: 24px;
	font-weight: 500;
}

.bni-form-shortcode {
	display: grid;
	gap: 20px;
}

.bni-form-shortcode,
.bni-form-shortcode * {
	box-sizing: border-box;
}

.bni-form-shortcode-placeholder {
	padding: 18px;
	border: 1px dashed var(--bni-border);
	border-radius: 12px;
	background: #ffffff;
	color: #666666;
}

.bni-form-shortcode .wpcf7 {
	width: 100%;
}

.bni-form-shortcode .wpcf7 form {
	display: grid;
	gap: 10px;
}

.bni-form-shortcode .bni-cf7-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* .bni-form-shortcode .bni-cf7-grid > div {
	height: 70px;
} */

#wpcf7-f7-o1 > form > div.bni-cf7-grid > div:nth-child(1), #wpcf7-f7-o1 > form > div.bni-cf7-grid > div:nth-child(2), #wpcf7-f7-o1 > form > div.bni-cf7-grid > div:nth-child(3), #wpcf7-f7-o1 > form > div.bni-cf7-grid > div:nth-child(4), #wpcf7-f7-o1 > form > div.bni-cf7-grid > div:nth-child(5) {
	height: 63px;
}

/* #wpcf7-f7-o1 > form > div.bni-cf7-grid > div:nth-child(1) */
/* #wpcf7-f7-o1 > form > div.bni-cf7-grid > div:nth-child(1) */

#wpcf7-f7-o1 > form > div.bni-cf7-grid > div:nth-child(5) {
	height: 75px;
}

.bni-form-shortcode .bni-cf7-full {
	grid-column: 1 / -1;
}

.bni-form-shortcode .bni-cf7-half {
	grid-column: span 1;
}

.bni-form-shortcode input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.bni-form-shortcode textarea,
.bni-form-shortcode select {
	width: 100%;
	max-width: 100%;
	display: block;
	border: 1px solid var(--bni-border);
	border-radius: 16px;
	background: transparent;
	padding: 14px 20px;
	font-family: "Montserrat", "Inter", "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.2;
	color: #2a2a2a;
}

.bni-form-shortcode .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	padding: 0 4px;
	font-size: 12px;
	line-height: 1.25;
	color: #d10018;
}

.bni-form-shortcode input::placeholder,
.bni-form-shortcode textarea::placeholder {
	color: #9b9b9b;
}

.bni-form-shortcode textarea {
	min-height: 120px;
	resize: vertical;
}

.bni-form-shortcode select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10' fill='none'%3E%3Cpath d='M1.5 1.5L8 8L14.5 1.5' stroke='%239D9D9D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: calc(100% - 20px) 50%;
	background-size: 16px 10px;
	background-repeat: no-repeat;
	padding-right: 46px;
	color: #2a2a2a;
}

.bni-form-shortcode select.is-placeholder {
	color: #9b9b9b;
}

.bni-form-shortcode .js-industry-other-wrap {
	display: none;
}

.bni-form-shortcode .js-industry-other-wrap.is-visible {
	display: block;
}

.bni-form-shortcode .wpcf7-form-control-wrap {
	display: block;
}

.bni-form-shortcode .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.bni-form-shortcode .wpcf7-acceptance .wpcf7-list-item > label {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
}

.bni-form-shortcode .wpcf7-acceptance .wpcf7-list-item-label {
	display: inline;
	font-size: 14px;
	line-height: 1.35;
	color: #969696;
}

/* Fallback: when acceptance text is rendered without CF7 label class. */
.bni-form-shortcode .bni-cf7-grid > div:nth-last-child(2),
.bni-form-shortcode .bni-cf7-grid > div:nth-last-child(2) * {
	font-size: 14px !important;
	line-height: 1.35;
	color: #969696 !important;
}

.bni-form-shortcode .wpcf7-acceptance input[type="checkbox"] {
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	margin-right: 0;
	vertical-align: top;
	border: 1px solid var(--bni-border);
	border-radius: 6px;
}

.bni-form-shortcode .bni-cf7-submit-wrap {
	display: flex;
	justify-content: flex-end;
	margin-top: 8px;
	width: 100%;
	margin-left: auto;
}

.bni-form-shortcode .bni-cf7-submit-wrap p {
	margin: 0;
	width: auto;
}

@media (min-width: 641px) {
	.bni-form-shortcode .bni-cf7-submit-wrap {
		width: auto;
		justify-self: end;
	}

	.bni-form-shortcode .bni-cf7-submit-wrap p {
		width: 180px;
	}
}

.bni-form-shortcode button,
.bni-form-shortcode input[type="submit"],
.bni-form-shortcode .wpcf7-submit {
	background: #d10018 !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 10px !important;
	padding: 14px 38px;
	min-width: 180px;
	font-family: "Montserrat", "Inter", "Segoe UI", Arial, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: none !important;
}

.bni-form-shortcode .wpcf7-submit:hover,
.bni-form-shortcode .wpcf7-submit:focus,
.bni-form-shortcode .wpcf7-submit:active {
	background: #d10018 !important;
	color: #ffffff !important;
}

.bni-form-shortcode .wpcf7-spinner {
	margin-left: 10px;
}

.bni-form-shortcode .wpcf7-response-output {
	margin: 8px 0 0;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 14px;
}

.bni-form-shortcode .wpcf7 form.sent .wpcf7-response-output {
	margin-top: 14px;
	padding: 16px 18px;
	border: 1px solid #d6ddd6;
	border-radius: 12px;
	background: #f8fbf8;
	color: #4f5b4f;
	font-size: 15px;
	line-height: 1.5;
	white-space: pre-line;
}

.bni-landing-footer-content {
	padding-top: 30px;
	background: #F5F5F5;
}

.bni-footer-logo {
	max-width: 120px;
	height: auto;
	display: block;
}

.bni-footer-main-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 26px;
}

.bni-footer-email {
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
}

.bni-footer-email a,
.bni-footer-privacy {
	color: inherit;
	text-decoration: none;
}

.bni-landing-footer-bottom {
	background: #e3e3e3;
	border-top: 1px solid #dbdbdb;
}

.bni-footer-bottom-row {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	min-height: 42px;
}

.bni-footer-legal {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.bni-footer-legal > * + *::before {
	content: "/";
	display: inline-block;
	margin-right: 14px;
	color: #b1b1b1;
}

.bni-footer-text {
	margin: 0;
	color: var(--bni-muted);
	font-size: 0.95rem;
}

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

.bni-footer-privacy,
.bni-footer-credit {
	font-size: 0.95rem;
	color: #a6a6a6;
}

.bni-footer-credit {
	margin: 0;
}

.bni-footer-credit a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.bni-video-media {
		min-height: 280px;
	}
}

@media (min-width: 1900px) {
	.bni-hero-description,
	.bni-video-text-panel p {
		font-size: 28px;
	}

	.bni-video-play {
		font-size: 28px;
	}

	.bni-form-title {
		font-size: 28px;
	}

	.bni-form-shortcode .wpcf7-acceptance .wpcf7-list-item-label {
		font-size: 20px;
		color: #969696;
	}

	.bni-form-shortcode .bni-cf7-grid > div:nth-last-child(2),
	.bni-form-shortcode .bni-cf7-grid > div:nth-last-child(2) * {
		/* font-size: 20px !important; */
		color: #969696 !important;
	}
}

@media (max-width: 640px) {
	.bni-hero-content {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.bni-video-cta-grid {
		grid-template-columns: 1fr;
	}

	.bni-hero {
		padding: 40px 0 50px;
	}

	.bni-hero-top {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 12px;
	}

	.bni-hero-logo {
		max-width: 100px;
	}

	.bni-hero-small-text {
		margin-left: auto;
		max-width: none;
		font-size: 16px;
		text-align: right;
		white-space: normal;
		margin-bottom: -5px;
	}

	.bni-hero-small-text-first,
	.bni-hero-small-text-rest {
		display: block;
	}

	.bni-hero-small-text-rest {
		white-space: nowrap;
	}

	.bni-form-section {
		padding: 44px 0 32px;
	}

	.bni-form-shortcode .bni-cf7-grid {
		grid-template-columns: 1fr;
	}

	.bni-form-shortcode .bni-cf7-half {
		grid-column: 1 / -1;
	}

	.bni-form-shortcode input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
	.bni-form-shortcode textarea,
	.bni-form-shortcode select {
		font-size: 16px;
		padding: 13px 16px;
		border-radius: 14px;
	}

	.bni-form-shortcode select {
		min-height: 62px;
		padding: 14px 48px 14px 16px;
		font-size: 15px;
		line-height: 1.15;
		background-size: 15px 10px;
		background-position: calc(100% - 18px) 50%;
		height: auto;
		white-space: normal;
		word-break: break-word;
		text-overflow: clip;
	}

	.bni-form-shortcode select.is-placeholder {
		font-size: 14px;
	}

	/* Mobile fix for datalist-based industry input placeholder readability. */
	.bni-form-shortcode input.js-industry-input {
		min-height: 62px;
		padding: 14px 16px;
		font-size: 15px;
		line-height: 1.15;
	}

	.bni-form-shortcode input.js-industry-input::placeholder {
		font-size: 14px;
		line-height: 1.15;
	}

	.bni-form-shortcode .wpcf7-acceptance input[type="checkbox"] {
		width: 22px;
		height: 22px;
		flex-basis: 22px;
	}

	.bni-form-shortcode .bni-cf7-submit-wrap {
		justify-content: center;
		width: 100%;
	}

	.bni-form-shortcode .bni-cf7-submit-wrap p {
		width: 100%;
	}

	.bni-form-shortcode button,
	.bni-form-shortcode input[type="submit"],
	.bni-form-shortcode .wpcf7-submit {
		width: 100%;
		min-width: 0;
		font-size: 20px;
		padding: 30px;
		border-radius: 10px;
		max-width: none;
	}

	.bni-hero-description,
	.bni-video-text-panel p {
		font-size: 20px;
	}

	.bni-form-title {
		font-size: 20px;
		margin-bottom: 5px;
	}

	.bni-video-play {
		font-size: 20px;
	}

	.bni-video-text-panel {
		order: 1;
		padding: 40px 20px;
		padding-right: 20px;
	}

	.bni-video-text-panel p {
		width: 100%;
		margin-inline: 0;
	}

	.bni-video-media {
		order: 2;
	}

	.bni-footer-main-row {
		flex-direction: column;
		align-items: center;
		padding-bottom: 22px;
	}

	.bni-footer-email {
		font-size: 16px;
	}

	.bni-footer-logo {
		max-width: 80px;
	}

	.bni-footer-bottom-row {
		min-height: 52px;
		justify-content: center;
		padding: 22px 0 10px;
	}

	.bni-footer-legal {
		justify-content: center;
		gap: 10px;
	}

	.bni-footer-legal > * + *::before {
		margin-right: 10px;
	}

	.bni-footer-text,
	.bni-footer-privacy,
	.bni-footer-credit {
		font-size: 0.9rem;
	}

	.bni-footer-credit {
		width: 100%;
		text-align: center;
	}
}
