.sfc-sp-card {
	--sfc-sp-pink: #ca236b;
	--sfc-sp-green: #32de8a;
	--sfc-sp-blue: #004f98;
	box-sizing: border-box;
	width: 100%;
	padding: 24.107px;
	border: 1.004px solid #667dbb;
	border-radius: 16.071px;
	background: linear-gradient(245.558deg, rgba(97, 70, 148, 0.5) 0.141%, rgba(51, 85, 166, 0.5) 100.02%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	font-family: "Jost", "Avenir Next", Arial, sans-serif;
}

.sfc-sp-card,
.sfc-sp-card * {
	box-sizing: border-box;
}

.sfc-sp-form {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 24px;
	width: 100%;
	margin: 0;
}

.sfc-sp-fields {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.sfc-sp-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
}

.sfc-sp-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	width: 100%;
}

.sfc-sp-field label {
	color: #fff;
	font-size: 14.062px;
	font-weight: 500;
	line-height: 24.107px;
}

.sfc-sp-field label span {
	color: #fff4f9;
}

.sfc-sp-field input,
.sfc-sp-field textarea {
	display: block;
	width: 100%;
	border: 1px solid #e0e0e0;
	border-radius: 10.044px;
	background: #fff;
	color: #172c42;
	font: inherit;
	font-size: 16px;
	line-height: 24px;
	outline: none;
}

.sfc-sp-field input {
	height: 44.207px;
	padding: 10.044px;
}

.sfc-sp-row .sfc-sp-field:nth-child(2) input,
.sfc-sp-fields > .sfc-sp-field:not(.sfc-sp-message-field) input {
	height: 42.198px;
}

.sfc-sp-field textarea {
	height: 160.753px;
	min-height: 160.753px;
	padding: 10.044px;
	resize: none;
}

.sfc-sp-field input:focus,
.sfc-sp-field textarea:focus {
	border-color: #e0e0e0;
	box-shadow: none;
	outline: none;
}

.sfc-sp-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
}

.sfc-sp-consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--sfc-sp-pink);
}

.sfc-sp-consent label {
	margin: 0;
}

.sfc-sp-consent a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sfc-sp-consent a:hover,
.sfc-sp-consent a:focus-visible {
	color: #ffd5e7;
}

.sfc-sp-card .sfc-cfp-wrap {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	overflow: visible;
	clip: auto;
	clip-path: none;
	white-space: normal;
}

.sfc-sp-card .sfc-cfp-widget {
	margin: 0;
}

.sfc-sp-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

.sfc-sp-download,
.sfc-sp-submit {
	min-height: 52.685px;
	border-radius: 6.286px;
	font-family: "Jost", "Avenir Next", Arial, sans-serif;
	font-size: 16.071px;
	font-weight: 500;
	line-height: normal;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.sfc-sp-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0;
	border: 0 !important;
	background: transparent;
	box-shadow: none;
	color: #f2f2f2;
	letter-spacing: 0.6428px;
	transition: none;
}

.sfc-sp-download span {
	color: #f2f2f2;
}

.sfc-sp-download img {
	display: block;
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
}

.sfc-sp-submit:hover,
.sfc-sp-submit:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 16px rgba(0, 72, 137, 0.16);
}

.sfc-sp-download:hover,
.sfc-sp-download:focus {
	border: 0 !important;
	box-shadow: none;
	color: #f2f2f2;
	text-decoration: none;
	transform: none;
}

.sfc-sp-download--disabled {
	cursor: not-allowed;
	opacity: 0.72;
}

.sfc-sp-submit {
	padding: 0 25.144px;
	border: 0;
	background: var(--sfc-sp-pink);
	color: #fff;
	text-transform: uppercase;
	cursor: pointer;
}

.sfc-sp-submit:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.sfc-sp-status {
	align-self: stretch;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.sfc-sp-status--success {
	color: var(--sfc-sp-green);
}

.sfc-sp-status--error {
	color: #ffd0d0;
}

.sfc-sp-card :focus-visible {
	outline: 2px solid #ffd5e7;
	outline-offset: 2px;
}

.sfc-sp-card .sfc-sp-field input:focus-visible,
.sfc-sp-card .sfc-sp-field textarea:focus-visible {
	outline: none;
}

@media (max-width: 640px) {
	.sfc-sp-card {
		padding: 20px;
		border-radius: 14px;
	}

	.sfc-sp-row,
	.sfc-sp-actions {
		grid-template-columns: 1fr;
		flex-direction: column;
		align-items: stretch;
	}

	.sfc-sp-download,
	.sfc-sp-submit {
		width: 100%;
	}
}

/* The partner section switches to its mobile layout at 767px. Keep the
 * embedded form in sync so phones and small tablets never get a two-column
 * row or oversized controls. */
@media (max-width: 767px) {
	.sfc-sp-card {
		padding: 16px;
		border-radius: 18px;
	}

	.sfc-sp-form {
		gap: 18px;
	}

	.sfc-sp-fields {
		gap: 14px;
	}

	.sfc-sp-row {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.sfc-sp-field label {
		font-size: 15px;
		line-height: 1.35;
	}

	.sfc-sp-consent {
		font-size: 13px;
	}

	.sfc-sp-field input {
		height: 46px;
		padding: 10px 12px;
	}

	.sfc-sp-field textarea {
		height: 120px;
		min-height: 120px;
		padding: 10px 12px;
	}

	.sfc-sp-actions {
		gap: 12px;
	}

	.sfc-sp-download,
	.sfc-sp-submit {
		min-height: 48px;
		padding: 12px 16px;
		font-size: 15px;
	}
}
