.hbe-page {
	--hbe-bg: #050505;
	--hbe-panel: #121212;
	--hbe-crimson: #e11d2e;
	--hbe-crimson-lt: #ff4d5e;
	--hbe-text: #f3f3f3;
	--hbe-muted: #a3a3a3;
	max-width: 1100px;
	margin: 0 auto;
	padding: 32px 20px 64px;
	color: var(--hbe-text);
	font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}
.hbe-kicker {
	color: var(--hbe-crimson-lt);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 12px;
	margin: 0 0 8px;
}
.hbe-title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin: 0 0 12px;
	line-height: 1.15;
}
.hbe-sub,
.hbe-lead,
.hbe-caption {
	color: var(--hbe-muted);
	line-height: 1.55;
	max-width: 62ch;
}
.hbe-hero {
	margin-bottom: 48px;
}
.hbe-hero-preview {
	margin: 24px 0 10px;
	max-width: 300px;
}
.hbe-steps,
.hbe-sizes,
.hbe-partners,
.hbe-form-wrap {
	margin: 48px 0;
}
.hbe-steps h2,
.hbe-sizes h2,
.hbe-partners h2,
.hbe-form-wrap h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.6rem;
	margin: 0 0 16px;
}
.hbe-steps-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.hbe-step {
	background: var(--hbe-panel);
	border: 1px solid rgba(225, 29, 46, 0.25);
	border-radius: 12px;
	padding: 18px;
}
.hbe-step span {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--hbe-crimson);
	font-weight: 700;
	margin-bottom: 10px;
}
.hbe-step p {
	margin: 0;
	color: var(--hbe-muted);
	line-height: 1.45;
}
.hbe-sizes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 20px;
}
.hbe-size-card {
	background: var(--hbe-panel);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	padding: 16px;
}
.hbe-size-card strong {
	display: block;
	margin-bottom: 12px;
}
.hbe-preview-wrap {
	overflow: auto;
	margin-bottom: 12px;
	border-radius: 8px;
	background: #000;
}
.hbe-preview-wrap iframe {
	display: block;
	max-width: 100%;
}
.hbe-size-card label {
	display: block;
	font-size: 12px;
	color: var(--hbe-muted);
	margin: 8px 0 6px;
}
.hbe-code-row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}
.hbe-code {
	flex: 1;
	width: 100%;
	min-height: 72px;
	background: #0a0a0a;
	color: #ddd;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 10px;
	font-size: 11px;
	line-height: 1.4;
	resize: vertical;
}
.hbe-copy,
.hbe-submit {
	border: 0;
	border-radius: 999px;
	background: var(--hbe-crimson);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	padding: 10px 16px;
	white-space: nowrap;
}
.hbe-copy:hover,
.hbe-submit:hover {
	background: var(--hbe-crimson-lt);
	color: #111;
}
.hbe-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
	background: var(--hbe-panel);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	padding: 20px;
}
.hbe-field label {
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
	color: var(--hbe-muted);
}
.hbe-field input,
.hbe-field select {
	width: 100%;
	box-sizing: border-box;
	background: #0a0a0a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	color: var(--hbe-text);
	padding: 10px 12px;
}
.hbe-field-full {
	grid-column: 1 / -1;
}
.hbe-alert {
	padding: 12px 14px;
	border-radius: 10px;
	margin-bottom: 14px;
}
.hbe-alert.ok {
	background: rgba(34, 197, 94, 0.15);
	border: 1px solid rgba(34, 197, 94, 0.4);
}
.hbe-alert.err {
	background: rgba(225, 29, 46, 0.15);
	border: 1px solid rgba(225, 29, 46, 0.45);
}
.hbe-partner-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
}
.hbe-partner-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.hbe-empty {
	color: var(--hbe-muted);
}
@media (max-width: 720px) {
	.hbe-steps-grid,
	.hbe-form {
		grid-template-columns: 1fr;
	}
	.hbe-code-row {
		flex-direction: column;
	}
}
