/* Keen Email Gate */
.keg { --keg-accent: #93003c; position: relative; }

.keg__teaser { position: relative; max-height: none; }
.keg__teaser::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 60px;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
	pointer-events: none;
}

.keg__card {
	margin: 8px 0 32px;
	padding: 28px;
	border: 1px solid #e6e6ea;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(17, 17, 26, 0.06);
}
.keg__title { margin: 0 0 6px; font-size: 1.35em; line-height: 1.25; }
.keg__intro { margin: 0 0 18px; color: #555; }

.keg__form { display: grid; gap: 14px; margin: 0; }
.keg__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .keg__row { grid-template-columns: 1fr; } .keg__card { padding: 20px; } }

.keg__field { display: grid; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: #222; }
.keg__field input {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1px solid #d4d4da;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-weight: 400;
	font-size: 15px;
}
.keg__field input:focus { outline: 2px solid var(--keg-accent); outline-offset: 1px; border-color: transparent; }

.keg__consent { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13px; color: #555; line-height: 1.45; }
.keg__consent input { margin-top: 3px; flex: 0 0 auto; accent-color: var(--keg-accent); }

.keg__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.keg__btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 13px 22px;
	border: 0;
	border-radius: 8px;
	background: var(--keg-accent);
	color: #fff !important;
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none !important;
	cursor: pointer;
	transition: filter .15s ease;
}
.keg__btn:hover { filter: brightness(1.1); }
.keg__btn[disabled] { opacity: .7; cursor: wait; }

.keg__msg { margin: 0; font-size: 14px; }
.keg__msg:empty { display: none; }
.keg__msg.is-error { color: #b42318; }

.keg.is-loading .keg__card { opacity: .5; pointer-events: none; }

.keg__notice {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 8px;
	background: #ecfdf3;
	color: #05603a;
	font-size: 14px;
}
.keg__download { margin: 0 0 20px; }

.keg__eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--keg-accent);
}

/* Side by side: preview left, form card right (sticks while scrolling). Stacks on narrow screens. */
@media (min-width: 900px) {
	.keg--split {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
		gap: 48px;
		align-items: start;
	}
	.keg--split .keg__teaser::after { display: none; }
	.keg--split .keg__card {
		position: sticky;
		top: 32px;
		margin: 0;
		border-top: 4px solid var(--keg-accent);
	}
	.keg--split .keg__row { grid-template-columns: 1fr; }
	.keg--split:not(:has(.keg__teaser)) { grid-template-columns: minmax(0, 560px); }
}
