.growx-cf {
	--growx-cf-accent: #355cf3;
	--growx-cf-border: #d9dce5;
	--growx-cf-field-text: #16181d;
	--growx-cf-text: #f6f7fb;
	color: var(--growx-cf-text);
	font-family: inherit;
}

.growx-cf__notice {
	margin-block-end: 24px;
	padding: 14px 18px;
	border: 1px solid;
	border-radius: 10px;
}

.growx-cf__notice--success {
	border-color: #79b88a;
	background: #effaf2;
	color: #176b2d;
}

.growx-cf__notice--error {
	border-color: #df8d8d;
	background: #fff3f3;
	color: #9e2525;
}

body.growx-cf-modal-open {
	overflow: hidden;
}

.growx-cf-modal[hidden] {
	display: none;
}

.growx-cf-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483645;
	display: grid;
	place-items: center;
	padding: 20px;
}

.growx-cf-modal__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.78);
	cursor: default;
	opacity: 0;
	transition: opacity 220ms ease;
}

.growx-cf-modal__dialog {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(100%, 500px);
	padding: 38px 34px 32px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	background: #0d0e12;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
	color: #f7f8fb;
	text-align: center;
	opacity: 0;
	transform: translateY(14px) scale(0.98);
	transition: opacity 220ms ease, transform 220ms ease;
}

.growx-cf-modal.is-visible .growx-cf-modal__backdrop,
.growx-cf-modal.is-visible .growx-cf-modal__dialog {
	opacity: 1;
}

.growx-cf-modal.is-visible .growx-cf-modal__dialog {
	transform: translateY(0) scale(1);
}

.growx-cf-modal__close {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
}

.growx-cf-modal__icon {
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	margin: 0 auto 22px;
	border: 1px solid rgba(69, 214, 122, 0.38);
	border-radius: 50%;
	background: rgba(69, 214, 122, 0.12);
	color: #45d67a;
	font-size: 36px;
	font-weight: 800;
}

.growx-cf-modal__dialog h2 {
	margin: 0 0 12px;
	color: #fff !important;
	font-size: clamp(24px, 5vw, 32px);
	line-height: 1.25;
}

.growx-cf-modal__dialog p {
	margin: 0 0 8px;
	color: #bdc1cc !important;
	font-size: 16px;
	line-height: 1.7;
}

.growx-cf-modal__action {
	min-width: 150px;
	margin-top: 22px;
	padding: 12px 24px;
	border: 0;
	border-radius: 10px;
	background: var(--growx-cf-accent);
	color: #fff !important;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.growx-cf-modal__close:focus-visible,
.growx-cf-modal__action:focus-visible {
	outline: 3px solid rgba(80, 114, 255, 0.45);
	outline-offset: 3px;
}

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

.growx-cf__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.growx-cf__field--message {
	margin-block-start: 20px;
}

.growx-cf .growx-cf__field label {
	color: var(--growx-cf-text) !important;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.4;
}

.growx-cf .growx-cf__field label span {
	color: #ff4d58;
}

.growx-cf .growx-cf__field input,
.growx-cf .growx-cf__field select,
.growx-cf .growx-cf__field textarea {
	color-scheme: light;
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--growx-cf-border) !important;
	border-radius: 10px;
	background-color: #fff !important;
	color: var(--growx-cf-field-text) !important;
	font: inherit;
	line-height: 1.5;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.growx-cf .growx-cf__field input::placeholder,
.growx-cf .growx-cf__field textarea::placeholder {
	color: #737987;
	opacity: 1;
}

.growx-cf .growx-cf__field select option {
	background-color: #fff;
	color: var(--growx-cf-field-text);
}

.growx-cf__field textarea {
	min-height: 160px;
	resize: vertical;
}

.growx-cf .growx-cf__field input:focus,
.growx-cf .growx-cf__field select:focus,
.growx-cf .growx-cf__field textarea:focus {
	border-color: var(--growx-cf-accent) !important;
	box-shadow: 0 0 0 3px rgba(53, 92, 243, 0.16);
	outline: none;
}

.growx-cf__submit {
	margin-block-start: 24px;
	padding: 14px 24px;
	border: 0;
	border-radius: 10px;
	background: var(--growx-cf-accent);
	color: #fff !important;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.4;
	transition: filter 160ms ease, transform 160ms ease;
}

.growx-cf__submit:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.growx-cf__submit:focus-visible {
	outline: 3px solid rgba(53, 92, 243, 0.28);
	outline-offset: 3px;
}

.growx-cf__honeypot {
	position: absolute !important;
	inset-inline-start: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 680px) {
	.growx-cf__grid {
		grid-template-columns: 1fr;
	}

	.growx-cf__submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.growx-cf-modal__backdrop,
	.growx-cf-modal__dialog {
		transition: none;
	}
}
