.lyslm-embed,
.lyslm-embed * {
	box-sizing: border-box;
}

.lyslm-embed {
	--lyslm-ink: #f7fbf8;
	--lyslm-muted: #b8c6bf;
	--lyslm-bg: #001610;
	--lyslm-line: rgba(255, 255, 255, 0.14);
	--lyslm-accent: #03ff6c;
	--lyslm-accent-ink: #00130d;
	width: 100%;
	font-family: inherit;
}

.lyslm-card {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid var(--lyslm-line);
	border-radius: 20px;
	background: var(--lyslm-bg);
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--lyslm-accent) 11%, transparent), transparent 38%),
		var(--lyslm-bg);
	color: var(--lyslm-ink);
	font-family: inherit;
	box-shadow: 0 6px 8px rgba(0, 22, 16, 0.12);
	container-type: inline-size;
}

.lyslm-teaser {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
	width: 100%;
	padding: 22px;
	border: 1px solid var(--lyslm-line);
	border-radius: 16px;
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--lyslm-accent) 11%, transparent), transparent 42%),
		var(--lyslm-bg);
	color: var(--lyslm-ink);
}

.lyslm-teaser__copy {
	min-width: 0;
}

.lyslm-teaser--align-left .lyslm-card__eyebrow,
.lyslm-teaser--align-left .lyslm-card__title,
.lyslm-teaser--align-left .lyslm-card__description,
.lyslm-teaser--align-left .lyslm-teaser__button {
	text-align: left;
}

.lyslm-teaser--align-center .lyslm-card__eyebrow,
.lyslm-teaser--align-center .lyslm-card__title,
.lyslm-teaser--align-center .lyslm-card__description,
.lyslm-teaser--align-center .lyslm-teaser__button {
	text-align: center;
}

.lyslm-teaser--align-center .lyslm-teaser__button {
	position: relative;
	justify-content: center;
	padding-inline: 48px;
}

.lyslm-teaser--align-center .lyslm-teaser__button .lyslm-button__arrow {
	position: absolute;
	right: 18px;
}

.lyslm-teaser__cover {
	width: min(68%, 260px);
	margin: 18px auto 0;
	line-height: 0;
	transition: transform 180ms ease;
}

.lyslm-teaser__cover-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.3));
}

.lyslm-teaser:hover .lyslm-teaser__cover {
	transform: translateY(-3px);
}

.lyslm-teaser .lyslm-card__title {
	font-size: 26px;
	line-height: 1.08;
}

.lyslm-teaser .lyslm-card__description {
	margin-top: 11px;
	font-size: 14px;
	line-height: 1.58;
}

.lyslm-teaser__button {
	width: 100%;
}

.lyslm-card__intro {
	max-width: 660px;
	margin-bottom: 24px;
}

.lyslm-card__eyebrow {
	margin: 0 0 10px;
	color: var(--lyslm-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.lyslm-card__title,
.lyslm-success h3 {
	margin: 0;
	color: var(--lyslm-ink);
	font-size: clamp(27px, 4vw, 42px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
	text-wrap: balance;
}

.lyslm-card__description,
.lyslm-success__inner > p {
	margin: 14px 0 0;
	color: var(--lyslm-muted);
	font-size: 16px;
	line-height: 1.65;
}

.lyslm-form {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
	gap: 15px;
	align-items: end;
}

.lyslm-field label {
	display: block;
	margin: 0 0 7px;
	color: var(--lyslm-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.lyslm-field label span {
	color: var(--lyslm-muted);
	font-weight: 500;
}

.lyslm-field input {
	width: 100%;
	height: 50px;
	padding: 0 15px;
	border: 1px solid var(--lyslm-line);
	border-radius: 9px;
	outline: none;
	background: rgba(255, 255, 255, 0.07);
	color: var(--lyslm-ink);
	font: inherit;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lyslm-field input:focus {
	border-color: var(--lyslm-accent);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--lyslm-accent) 16%, transparent);
}

.lyslm-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 50px;
	padding: 0 18px;
	border: 0;
	border-radius: 9px;
	background: var(--lyslm-accent);
	color: var(--lyslm-accent-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.lyslm-button:hover,
.lyslm-button:focus-visible {
	color: var(--lyslm-accent-ink);
	transform: translateY(-1px);
	box-shadow: 0 10px 30px color-mix(in srgb, var(--lyslm-accent) 20%, transparent);
}

.lyslm-button:disabled {
	opacity: 0.66;
	cursor: wait;
	transform: none;
}

.lyslm-button__arrow {
	font-size: 20px;
	font-weight: 500;
}

.lyslm-form > .lyslm-button {
	grid-column: 1 / -1;
	width: 100%;
}

.lyslm-form--with-name-and-phone .lyslm-field--email {
	grid-column: 1 / -1;
}

.lyslm-form--with-name-and-phone {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lyslm-form--email-only .lyslm-field {
	grid-column: 1 / -1;
}

.lyslm-form__error,
.lyslm-consent {
	grid-column: 1 / -1;
}

.lyslm-consent {
	display: flex;
	gap: 11px;
	align-items: center;
	margin: 0;
	padding: 12px 13px;
	border: 1px solid var(--lyslm-line);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.045);
	color: var(--lyslm-ink);
	font-size: 13px;
	line-height: 1.5;
	cursor: pointer;
}

.lyslm-consent input {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--lyslm-accent);
}

.lyslm-form__error {
	padding: 11px 13px;
	border: 1px solid rgba(255, 126, 126, 0.45);
	border-radius: 8px;
	background: rgba(142, 27, 27, 0.24);
	color: #ffd8d8;
	font-size: 13px;
	line-height: 1.45;
}

.lyslm-trap {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.lyslm-success {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	padding: clamp(24px, 4vw, 42px);
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--lyslm-accent) 11%, transparent), transparent 38%),
		var(--lyslm-bg);
	outline: none;
	text-align: center;
}

.lyslm-success[hidden] {
	display: none;
}

.lyslm-success__inner {
	width: min(100%, 520px);
}

.lyslm-card--success [data-lyslm-content] {
	visibility: hidden;
}

.lyslm-success h3 {
	font-size: clamp(25px, 3.4vw, 34px);
}

.lyslm-success__check {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--lyslm-accent);
	color: var(--lyslm-accent-ink);
	font-size: 22px;
	font-weight: 900;
}

.lyslm-success .lyslm-button {
	width: min(100%, 420px);
	margin: 20px auto 0;
}

.lyslm-success .lyslm-success__mail {
	margin-top: 11px;
	font-size: 12px;
}

.lyslm-dialog {
	width: min(680px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	overflow: visible;
}

.lyslm-dialog:not([open]) {
	display: none;
}

.lyslm-dialog::backdrop {
	background: rgba(0, 15, 10, 0.72);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.lyslm-dialog[open] {
	animation: lyslm-dialog-in 200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lyslm-dialog[open]::backdrop {
	animation: lyslm-backdrop-in 160ms ease-out both;
}

.lyslm-card--dialog {
	max-height: calc(100dvh - 32px);
	padding-top: clamp(34px, 5vw, 46px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.lyslm-dialog__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--lyslm-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.07);
	color: var(--lyslm-ink);
	font: inherit;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.lyslm-dialog__close:hover {
	border-color: color-mix(in srgb, var(--lyslm-accent) 45%, var(--lyslm-line));
	background: rgba(255, 255, 255, 0.12);
}

.lyslm-dialog__close:active {
	transform: scale(0.96);
}

.lyslm-dialog__close:focus-visible {
	outline: 2px solid var(--lyslm-accent);
	outline-offset: 2px;
}

body.lyslm-modal-open {
	overflow: hidden;
}

@keyframes lyslm-dialog-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes lyslm-backdrop-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.lyslm-admin-warning {
	padding: 12px;
	border-left: 4px solid #dba617;
	background: #fff8e5;
}

@media (max-width: 759px) {
	.lyslm-card {
		border-radius: 15px;
	}

	.lyslm-form {
		grid-template-columns: 1fr;
	}

	.lyslm-dialog {
		width: calc(100vw - 24px);
		max-height: calc(100dvh - 24px);
	}

	.lyslm-card--dialog {
		max-height: calc(100dvh - 24px);
	}

	.lyslm-form__error,
	.lyslm-consent {
		grid-column: auto;
	}
}

@container (max-width: 440px) {
	.lyslm-form {
		grid-template-columns: 1fr;
	}

	.lyslm-form > *,
	.lyslm-form__error,
	.lyslm-consent {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lyslm-embed * {
		scroll-behavior: auto !important;
		transition: none !important;
	}

	.lyslm-dialog[open],
	.lyslm-dialog[open]::backdrop {
		animation: none;
	}
}
