.bmc-app {
	--bmc-primary: #12355b;
	--bmc-secondary: #3b82f6;
	--bmc-accent: #16a34a;
	color: #132238;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	max-width: 1180px;
	margin: 0 auto;
}

.bmc-app * {
	box-sizing: border-box;
}

.bmc-hero,
.bmc-success {
	background: linear-gradient(135deg, var(--bmc-primary), #2c1f73 70%, #0d7b62);
	color: #fff;
	border-radius: 8px;
	padding: clamp(24px, 4vw, 46px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.bmc-hero h2,
.bmc-success h2 {
	color: #fff;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.05;
	margin: 6px 0 12px;
	letter-spacing: 0;
}

.bmc-kicker {
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 12px;
	font-weight: 800;
	opacity: .88;
	margin: 0;
}

.bmc-public-logo img {
	max-height: 58px;
	width: auto;
	margin-bottom: 14px;
	background: rgba(255, 255, 255, .96);
	border-radius: 8px;
	padding: 6px;
}

.bmc-hero-badge {
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 8px;
	padding: 18px;
	min-width: 180px;
	text-align: center;
	font-weight: 800;
	background: rgba(255, 255, 255, .12);
}

.bmc-form,
.bmc-recommendations {
	background: #fff;
	border: 1px solid #dbe4f0;
	border-radius: 8px;
	padding: clamp(18px, 3vw, 28px);
	box-shadow: 0 20px 50px rgba(16, 24, 40, .08);
}

.bmc-progress {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}

.bmc-progress-bar {
	flex: 1;
	height: 10px;
	background: #e7edf6;
	border-radius: 999px;
	overflow: hidden;
}

.bmc-progress-bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--bmc-secondary), var(--bmc-accent));
	transition: width .2s ease;
}

.bmc-progress-label {
	white-space: nowrap;
	font-size: 14px;
	color: #475569;
}

.bmc-step {
	display: none;
}

.bmc-step.is-active {
	display: block;
}

.bmc-step h3,
.bmc-result h3 {
	color: var(--bmc-primary);
	font-size: 24px;
	margin: 0 0 18px;
	letter-spacing: 0;
}

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

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

.bmc-form label,
.bmc-settings label {
	display: grid;
	gap: 7px;
	font-weight: 700;
	color: #1f334c;
	margin-bottom: 14px;
}

.bmc-form input,
.bmc-form textarea {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 12px 14px;
	font: inherit;
	background: #f8fbff;
	color: #0f172a;
}

.bmc-form textarea {
	resize: vertical;
}

.bmc-block-field {
	border: 1px solid #dbe4f0;
	border-radius: 8px;
	padding: 16px;
	background: #fbfdff;
}

.bmc-block-head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
	font-weight: 800;
	color: var(--bmc-primary);
}

.bmc-help-btn {
	border: 0;
	border-radius: 8px;
	background: #eef4ff;
	color: #1d4ed8;
	font-weight: 800;
	padding: 8px 10px;
	cursor: pointer;
}

.bmc-question {
	font-weight: 700;
	margin-bottom: 6px;
}

.bmc-help,
.bmc-examples {
	color: #64748b;
	font-size: 14px;
	margin: 6px 0;
}

.bmc-actions,
.bmc-result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.bmc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: 8px;
	background: var(--bmc-primary);
	color: #fff !important;
	padding: 12px 18px;
	font-weight: 800;
	text-decoration: none !important;
	cursor: pointer;
}

.bmc-btn:hover {
	filter: brightness(1.04);
}

.bmc-secondary {
	background: #e7edf6;
	color: #12355b !important;
}

.bmc-contact {
	background: var(--bmc-accent);
}

.bmc-submit {
	display: none;
	background: linear-gradient(135deg, var(--bmc-secondary), var(--bmc-accent));
}

.bmc-review {
	background: #f8fbff;
	border: 1px solid #dbe4f0;
	border-radius: 8px;
	padding: 18px;
}

.bmc-consent {
	display: flex !important;
	grid-template-columns: none !important;
	align-items: flex-start;
	gap: 10px !important;
	margin: 18px 0 0 !important;
	font-weight: 600 !important;
	color: #334155 !important;
}

.bmc-consent input {
	width: 18px !important;
	min-width: 18px;
	height: 18px;
	margin-top: 2px;
}

.bmc-canvas {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 18px 0 24px;
}

.bmc-canvas-card {
	min-height: 180px;
	border: 1px solid #dbe4f0;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

.bmc-canvas-card h4 {
	margin: 0 0 10px;
	color: var(--bmc-primary);
	font-size: 16px;
	letter-spacing: 0;
}

.bmc-canvas-card p,
.bmc-recommendations li {
	color: #334155;
}

.bmc-recommendations ul {
	margin: 0;
	padding-left: 20px;
}

@media (max-width: 760px) {
	.bmc-hero,
	.bmc-success {
		display: block;
	}

	.bmc-hero-badge {
		margin-top: 18px;
	}

	.bmc-grid,
	.bmc-grid.two,
	.bmc-canvas {
		grid-template-columns: 1fr;
	}

	.bmc-progress {
		display: block;
	}

	.bmc-progress-label {
		margin-top: 8px;
	}
}
