.sm-form-wrap {
	--sm-accent: #ff5a1f;
	--sm-text: #111827;
	color: var(--sm-text);
	font-family: inherit;
	max-width: 560px;
	width: 100%;
}

.sm-signup-form {
	display: grid;
	gap: 14px;
}

.sm-field span,
.sm-consent span {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 6px;
}

.sm-field input {
	background: #fff;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	box-sizing: border-box;
	color: #111827;
	font-size: 16px;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

.sm-consent {
	align-items: flex-start;
	display: flex;
	gap: 10px;
}

.sm-consent span {
	font-weight: 400;
	line-height: 1.45;
	margin: 0;
}

.sm-submit {
	background: var(--sm-accent);
	border: 0;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	min-height: 44px;
	padding: 10px 18px;
}

.sm-form-message {
	border-radius: 6px;
	margin: 0 0 14px;
	padding: 12px;
}

.sm-form-message--success {
	background: #dcfae6;
	color: #067647;
}

.sm-hp {
	left: -9999px;
	position: absolute;
}

.sm-popup {
	--sm-popup-bg: #fff;
	--sm-popup-text: #111827;
	--sm-popup-max-width: 640px;
	box-sizing: border-box;
	color: var(--sm-popup-text);
	font-family: inherit;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity 180ms ease, transform 180ms ease;
	z-index: 999999;
}

.sm-popup * {
	box-sizing: border-box;
}

.sm-popup.is-open {
	opacity: 1;
	pointer-events: auto;
}

.sm-popup--modal {
	inset: 0;
}

.sm-popup__overlay {
	background: rgba(17, 24, 39, 0.58);
	border: 0;
	cursor: pointer;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.sm-popup__panel {
	background: var(--sm-popup-bg);
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
	color: var(--sm-popup-text);
	max-height: calc(100vh - 40px);
	max-width: var(--sm-popup-max-width);
	overflow: auto;
	position: relative;
	width: min(var(--sm-popup-max-width), calc(100vw - 32px));
}

.sm-popup--modal .sm-popup__panel {
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -46%);
}

.sm-popup--modal.is-open .sm-popup__panel {
	transform: translate(-50%, -50%);
}

.sm-popup--slidein {
	bottom: 20px;
	transform: translateY(20px);
}

.sm-popup--slidein-right {
	right: 20px;
}

.sm-popup--slidein-left {
	left: 20px;
}

.sm-popup--slidein.is-open {
	transform: translateY(0);
}

.sm-popup--banner {
	left: 0;
	right: 0;
	top: 0;
	transform: translateY(-100%);
	width: 100%;
}

.sm-popup--banner.is-open {
	transform: translateY(0);
}

.sm-popup--banner .sm-popup__panel {
	border-radius: 0;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
	max-width: none;
	width: 100%;
}

.sm-popup__close {
	align-items: center;
	background: #f2f4f7;
	border: 0;
	border-radius: 999px;
	color: #344054;
	cursor: pointer;
	display: flex;
	font-size: 24px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 12px;
	top: 12px;
	width: 34px;
	z-index: 2;
}

.sm-popup__content {
	padding: 30px;
}

.sm-popup--banner .sm-popup__content {
	padding: 18px 56px 18px 24px;
}

.sm-popup__content img,
.sm-popup__content iframe {
	height: auto;
	max-width: 100%;
}

body.sm-popup-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.sm-popup--slidein-left,
	.sm-popup--slidein-right {
		bottom: 12px;
		left: 12px;
		right: 12px;
	}

	.sm-popup--slidein .sm-popup__panel,
	.sm-popup--modal .sm-popup__panel {
		max-height: calc(100vh - 24px);
		width: calc(100vw - 24px);
	}

	.sm-popup__content {
		padding: 24px 18px;
	}
}
