/* =========================================================================
 * The “Book a Demo” and “Get a Quote” modal forms.
 *
 * One component for every page: the window shell (.lmx-modal), the dark panel
 * in two columns (description on the left, form on the right), the fields, the
 * consent, the submit button and the “sent” state. The markup is printed by
 * inc/cta-forms.php, the behaviour lives in assets/js/cta-forms.js. The tokens
 * come from chrome.css (--lmx-teal, --lmx-font, --lmx-display).
 *
 * Styling after the reference: a dimmed and blurred backdrop, a #0b0f10 panel
 * with a thin border, a slightly darker left column with barely visible
 * geometry, fields with a teal underline and a large teal button across the
 * full width of the form.
 * ====================================================================== */

/* --- shell -------------------------------------------------------------- */

.lmx-modal {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 16px;
	box-sizing: border-box;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: rgba(2, 5, 6, .74);
	-webkit-backdrop-filter: blur(9px);
	backdrop-filter: blur(9px);
	opacity: 0;
	transition: opacity .28s ease;
	font-family: var(--lmx-font);
}

.lmx-modal[hidden] {
	display: none;
}

.lmx-modal.is-open {
	opacity: 1;
}

/* The page behind the window does not scroll. The home and service frames keep
   html/body overflow:hidden themselves; this does the same for ordinary pages. */
html.lmx-modal-open,
body.lmx-modal-open {
	overflow: hidden !important;
}

.lmx-modal__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 384px) minmax(0, 1fr);
	width: min(100%, 1200px);
	margin: auto;
	background: #0b0f10;
	border: 1px solid rgba(255, 255, 255, .13);
	box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(82, 199, 198, .06);
	transform: translateY(14px) scale(.985);
	transition: transform .34s cubic-bezier(.2, .7, .2, 1);
	outline: 0;
}

.lmx-modal.is-open .lmx-modal__panel {
	transform: none;
}

.lmx-modal .lmx-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	color: var(--lmx-teal);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .12);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lmx-modal .lmx-modal__close svg {
	width: 20px;
	height: 20px;
}

.lmx-modal .lmx-modal__close:hover,
.lmx-modal .lmx-modal__close:focus-visible {
	color: #fff;
	border-color: var(--lmx-teal);
	background: rgba(82, 199, 198, .12);
}

/* --- left column -------------------------------------------------------- */

.lmx-modal__info {
	position: relative;
	padding: 52px 40px 44px 44px;
	border-right: 1px solid rgba(255, 255, 255, .1);
	background:
		linear-gradient(180deg, rgba(82, 199, 198, .05), rgba(82, 199, 198, 0) 40%),
		#080b0c;
	overflow: hidden;
}

/* barely visible geometry, as in the reference — lines only, nothing else */
.lmx-modal__info::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: .55;
	background:
		linear-gradient(115deg, transparent 61%, rgba(82, 199, 198, .09) 61.2%, rgba(82, 199, 198, .09) 61.5%, transparent 61.7%),
		linear-gradient(65deg, transparent 72%, rgba(255, 255, 255, .05) 72.2%, rgba(255, 255, 255, .05) 72.5%, transparent 72.7%),
		linear-gradient(115deg, transparent 84%, rgba(255, 255, 255, .045) 84.2%, rgba(255, 255, 255, .045) 84.5%, transparent 84.7%),
		radial-gradient(circle at 78% 86%, rgba(82, 199, 198, .11), transparent 34%);
}

.lmx-modal__info > * {
	position: relative;
}

.lmx-modal__logo {
	display: block;
	width: auto;
	height: 30px;
	margin: 0 0 54px;
}

.lmx-modal .lmx-modal__eyebrow {
	margin: 0 0 18px;
	color: var(--lmx-teal);
	font: 500 13px/1.3 var(--lmx-font);
	letter-spacing: .22em;
	text-transform: uppercase;
}

.lmx-modal .lmx-modal__title {
	margin: 0 0 20px;
	color: #fff;
	font: 500 42px/1.08 var(--lmx-display);
	letter-spacing: -.02em;
}

.lmx-modal .lmx-modal__lead {
	margin: 0 0 40px;
	color: rgba(255, 255, 255, .72);
	font: 300 17px/1.6 var(--lmx-font);
}

.lmx-modal__perks {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lmx-modal .lmx-modal__perks li {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	color: rgba(255, 255, 255, .86);
	font: 400 16px/1.3 var(--lmx-font);
}

.lmx-modal__perk-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--lmx-teal);
	border: 1px solid rgba(82, 199, 198, .35);
	border-radius: 50%;
}

.lmx-modal__perk-icon svg {
	width: 20px;
	height: 20px;
}

/* --- right column: the form --------------------------------------------- */

/* The top padding keeps the first row of fields below the close button: it
   occupies the top 16+44=60px of the panel's right corner, and with the
   previous 52px the label of the right field slid under it. */
.lmx-modal__body {
	position: relative;
	padding: 72px 48px 44px;
	min-width: 0;
}

.lmx-form {
	margin: 0;
	color: #fff;
}

.lmx-form__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 28px;
}

.lmx-form__row {
	display: grid;
	gap: 9px;
	min-width: 0;
}

.lmx-form__row--wide,
.lmx-form__row--consent,
.lmx-form .lmx-form__group {
	grid-column: 1 / -1;
}

/* form section heading: a teal label and a rule to the edge */
.lmx-form .lmx-form__group {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 6px 0 -6px;
	color: var(--lmx-teal);
	font: 600 12px/1.3 var(--lmx-font);
	letter-spacing: .16em;
	text-transform: uppercase;
}

.lmx-form .lmx-form__group::after {
	content: '';
	flex: 1 1 auto;
	height: 1px;
	background: rgba(255, 255, 255, .12);
}

.lmx-form .lmx-form__group:first-child {
	margin-top: -4px;
}

.lmx-form .lmx-form__label {
	color: rgba(255, 255, 255, .84);
	font: 400 15px/1.3 var(--lmx-font);
}

.lmx-form__req {
	color: var(--lmx-teal);
}

.lmx-form input[type="text"],
.lmx-form input[type="email"],
.lmx-form input[type="tel"],
.lmx-form input[type="date"],
.lmx-form input[type="number"] {
	width: 100%;
	/* The theme keeps max-width: 400px on text fields — inside the modal that
	   stopped them short of the edge. */
	max-width: none;
	height: 54px;
	padding: 0 16px;
	margin: 0;
	box-sizing: border-box;
	color: #fff;
	background: #14191b;
	border: 1px solid rgba(255, 255, 255, .09);
	border-bottom: 1px solid rgba(82, 199, 198, .7);
	border-radius: 0;
	box-shadow: none;
	font: 400 16px/1 var(--lmx-font);
	color-scheme: dark;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.lmx-form input::placeholder {
	color: rgba(255, 255, 255, .35);
}

.lmx-form input[type="number"] {
	-moz-appearance: textfield;
}

.lmx-form input[type="number"]::-webkit-outer-spin-button,
.lmx-form input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.lmx-form input[type="date"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: .9;
	filter: invert(72%) sepia(28%) saturate(600%) hue-rotate(130deg) brightness(95%);
}

.lmx-form input:focus {
	outline: 0;
	border-color: rgba(82, 199, 198, .55);
	border-bottom-color: var(--lmx-teal);
	background: #171d1f;
	box-shadow: 0 0 0 3px rgba(82, 199, 198, .18), 0 6px 20px -8px rgba(82, 199, 198, .5);
}

.lmx-form input:focus-visible {
	outline: 0;
}

/* A field with an error: the highlight is set by cta-forms.js. */
.lmx-form input[aria-invalid="true"] {
	border-color: rgba(233, 94, 84, .6);
	border-bottom-color: #e95e54;
}

.lmx-form .lmx-form__error {
	margin: 0;
	font: 400 13px/1.35 var(--lmx-font);
	color: #f0857c;
}

.lmx-form__error:empty {
	display: none;
}

/* consent — a custom checkbox in the style of the window */
.lmx-form__row--consent {
	margin-top: 4px;
}

.lmx-form .lmx-form__consent {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	color: rgba(255, 255, 255, .78);
	font: 400 15px/1.5 var(--lmx-font);
	cursor: pointer;
}

.lmx-form .lmx-form__consent input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.lmx-form__consent-box {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	box-sizing: border-box;
	border: 1px solid var(--lmx-teal);
	background: transparent;
	transition: background-color .18s ease, box-shadow .18s ease;
	position: relative;
}

.lmx-form__consent-box::after {
	content: '';
	position: absolute;
	left: 7px;
	top: 3px;
	width: 5px;
	height: 10px;
	border: solid #04211F;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform .18s ease;
}

.lmx-form__consent input:checked + .lmx-form__consent-box {
	background: var(--lmx-teal);
}

.lmx-form__consent input:checked + .lmx-form__consent-box::after {
	transform: rotate(45deg) scale(1);
}

.lmx-form__consent input:focus-visible + .lmx-form__consent-box {
	box-shadow: 0 0 0 3px rgba(82, 199, 198, .3);
	outline: 2px solid var(--lmx-teal);
	outline-offset: 2px;
}

.lmx-form__consent input[aria-invalid="true"] + .lmx-form__consent-box {
	border-color: #e95e54;
}

.lmx-form .lmx-form__consent a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(82, 199, 198, .7);
}

.lmx-form .lmx-form__consent a:hover {
	color: var(--lmx-teal);
}

/* submit button: large, across the full width of the form */
.lmx-form .lmx-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 64px;
	margin: 28px 0 0;
	padding: 0 24px;
	border: 0;
	border-radius: 0;
	background: linear-gradient(90deg, #52C7C6 0%, #46bcbb 100%);
	color: var(--lmx-on-teal);
	font: 700 15px/1 var(--lmx-font);
	letter-spacing: .14em;
	text-transform: uppercase;
	cursor: pointer;
}

.lmx-form .lmx-form__submit:hover,
.lmx-form .lmx-form__submit:focus-visible {
	background: linear-gradient(90deg, #6fd6d5 0%, #52C7C6 100%);
}

.lmx-form .lmx-form__submit[disabled] {
	opacity: .55;
	cursor: progress;
}

.lmx-form .lmx-form__status {
	margin: 16px 0 0;
	font: 400 14px/1.5 var(--lmx-font);
	min-height: 0;
}

.lmx-form__status:empty {
	display: none;
}

.lmx-form__status.is-ok {
	color: var(--lmx-teal);
}

.lmx-form__status.is-error {
	color: #f0857c;
}

/* Bot trap: taken out of the flow and out of focus order, but not
   display:none — some bots skip such fields exactly by that sign. */
.lmx-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Form sent: the confirmation replaces the fields. */
.lmx-form.is-sent {
	display: none;
}

.lmx-form__done {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 320px;
	outline: 0;
}

.lmx-form__done[hidden] {
	display: none;
}

.lmx-form__done-icon {
	display: inline-flex;
	width: 64px;
	height: 64px;
	margin-bottom: 26px;
	color: var(--lmx-teal);
}

.lmx-form__done-icon svg {
	width: 100%;
	height: 100%;
}

.lmx-modal .lmx-form__done-title {
	margin: 0 0 12px;
	color: #fff;
	font: 500 34px/1.1 var(--lmx-display);
	letter-spacing: -.01em;
}

.lmx-modal .lmx-form__done-text {
	margin: 0 0 30px;
	max-width: 480px;
	color: rgba(255, 255, 255, .74);
	font: 300 17px/1.6 var(--lmx-font);
}

.lmx-modal .lmx-form__done-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 30px;
	margin: 0;
	border: 1px solid var(--lmx-teal);
	background: transparent;
	color: var(--lmx-teal);
	font: 600 12px/1 var(--lmx-font);
	letter-spacing: .16em;
	text-transform: uppercase;
	cursor: pointer;
}

.lmx-modal .lmx-form__done-close:hover,
.lmx-modal .lmx-form__done-close:focus-visible {
	background: rgba(82, 199, 198, .12);
	color: #fff;
}

/* The notice after a submission without JavaScript (back to the page with a flag). */
.lmx-form-notice {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 10002;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: min(92vw, 640px);
	padding: 14px 14px 14px 20px;
	transform: translateX(-50%);
	background: #0b0f10;
	border: 1px solid rgba(255, 255, 255, .14);
	border-left: 3px solid var(--lmx-teal);
	color: #fff;
	font: 400 14px/1.45 var(--lmx-font);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

.lmx-form-notice.is-error {
	border-left-color: #e95e54;
}

.lmx-form-notice .lmx-form-notice__close {
	width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .14);
	cursor: pointer;
}

.lmx-form-notice .lmx-form-notice__close svg {
	width: 16px;
	height: 16px;
}

/* --- short screens (laptop 1366×768, 1600×900): the whole Quote form ------- */

@media (min-width: 861px) and (max-height: 940px) {
	.lmx-modal {
		padding: 16px;
	}

	.lmx-modal__info {
		padding: 40px 34px 32px 38px;
	}

	.lmx-modal__logo {
		margin-bottom: 34px;
	}

	.lmx-modal .lmx-modal__title {
		font-size: 38px;
		margin-bottom: 14px;
	}

	.lmx-modal .lmx-modal__lead {
		margin-bottom: 26px;
		font-size: 16px;
	}

	.lmx-modal__perks {
		gap: 12px;
	}

	/* Short windows: a more compact close button and top padding to match. */
	.lmx-modal .lmx-modal__close {
		top: 12px;
		right: 12px;
		width: 38px;
		height: 38px;
	}

	.lmx-modal__body {
		padding: 58px 40px 30px;
	}

	.lmx-form__fields {
		gap: 14px 24px;
	}

	.lmx-form__row {
		gap: 6px;
	}

	.lmx-form .lmx-form__group {
		margin: 4px 0 -2px;
	}

	.lmx-form .lmx-form__label {
		font-size: 14px;
	}

	.lmx-form input[type="text"],
	.lmx-form input[type="email"],
	.lmx-form input[type="tel"],
	.lmx-form input[type="date"],
	.lmx-form input[type="number"] {
		height: 46px;
	}

	.lmx-form .lmx-form__consent {
		font-size: 14px;
	}

	.lmx-form .lmx-form__submit {
		height: 56px;
		margin-top: 20px;
	}
}

/* --- tablet and phone --------------------------------------------------- */

@media (max-width: 1100px) {
	.lmx-modal__panel {
		grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	}

	.lmx-modal__info {
		padding: 44px 30px 36px 34px;
	}

	.lmx-modal__body {
		padding: 66px 36px 36px;
	}

	.lmx-modal .lmx-modal__title {
		font-size: 38px;
	}
}

@media (max-width: 860px) {
	.lmx-modal {
		align-items: flex-start;
		padding: 12px;
	}

	.lmx-modal__panel {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
	}

	.lmx-modal .lmx-modal__close {
		top: 12px;
		right: 12px;
		width: 40px;
		height: 40px;
	}

	.lmx-modal__info {
		padding: 26px 22px 24px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, .1);
	}

	.lmx-modal__logo {
		height: 24px;
		margin-bottom: 26px;
	}

	.lmx-modal .lmx-modal__eyebrow {
		margin-bottom: 10px;
		font-size: 12px;
	}

	.lmx-modal .lmx-modal__title {
		margin-bottom: 12px;
		font-size: 30px;
	}

	.lmx-modal .lmx-modal__lead {
		margin-bottom: 18px;
		font-size: 15px;
	}

	.lmx-modal__perks {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 18px;
	}

	.lmx-modal .lmx-modal__perks li {
		gap: 10px;
		font-size: 14px;
	}

	.lmx-modal__perk-icon {
		width: 30px;
		height: 30px;
	}

	.lmx-modal__perk-icon svg {
		width: 16px;
		height: 16px;
	}

	.lmx-modal__body {
		padding: 24px 22px 26px;
	}

	.lmx-form__fields {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.lmx-form input[type="text"],
	.lmx-form input[type="email"],
	.lmx-form input[type="tel"],
	.lmx-form input[type="date"],
	.lmx-form input[type="number"] {
		height: 50px;
		font-size: 16px; /* iOS does not zoom a field on focus from 16px up */
	}

	.lmx-form .lmx-form__submit {
		height: 56px;
		margin-top: 22px;
		font-size: 14px;
	}

	.lmx-form__done {
		min-height: 220px;
	}
}

/* --- less motion -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.lmx-modal,
	.lmx-modal__panel,
	.lmx-form input,
	.lmx-form__consent-box,
	.lmx-form__consent-box::after {
		transition: none;
	}

	.lmx-modal__panel {
		transform: none;
	}
}


/* =========================================================================
 * Inline forms (Contact Us, the job application) and the new field types
 * (2026-09-08): select, textarea, url, file. Printed by the same
 * lmx_render_cta_form(); the modal windows above do not change.
 * ====================================================================== */

.lmx-form select,
.lmx-form textarea {
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0;
	box-sizing: border-box;
	color: #fff;
	background: #14191b;
	border: 1px solid rgba(255, 255, 255, .09);
	border-bottom: 1px solid rgba(82, 199, 198, .7);
	border-radius: 0;
	box-shadow: none;
	font: 400 16px/1.4 var(--lmx-font);
	color-scheme: dark;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.lmx-form select {
	height: 54px;
	padding: 0 48px 0 16px;
	line-height: 1;
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352C7C6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 18px 18px;
}

.lmx-form select option {
	color: #fff;
	background: #14191b;
}

/*
 * The button of the custom list (assets/js/shared/select.js) takes the place
 * of the field and has to look exactly like it. The rules above address the
 * select element and the button does not inherit them — without these lines it
 * kept the browser styling: a light rectangle with light text on a dark form.
 * The component draws its own chevron, so the field's background arrow is not
 * needed here.
 */
.lmx-form .lmx-sel { width: 100%; }

.lmx-form .lmx-sel__btn {
	width: 100%;
	max-width: none;
	min-width: 0;
	height: 54px;
	margin: 0;
	padding: 0 16px;
	box-sizing: border-box;
	color: #fff;
	background: #14191b;
	background-image: none;
	border: 1px solid rgba(255, 255, 255, .09);
	border-bottom: 1px solid rgba(82, 199, 198, .7);
	border-radius: 0;
	box-shadow: none;
	font: 400 16px/1.4 var(--lmx-font);
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.lmx-form .lmx-sel.is-empty .lmx-sel__value { color: rgba(255, 255, 255, .5); }

.lmx-form .lmx-sel__btn:hover { border-color: rgba(255, 255, 255, .2); }

.lmx-form .lmx-sel__btn:focus-visible,
.lmx-form .lmx-sel.is-open .lmx-sel__btn {
	outline: none;
	border-color: var(--lmx-teal);
	box-shadow: 0 0 0 3px rgba(82, 199, 198, .18);
}

.lmx-form select:invalid,
.lmx-form select[data-empty="1"] {
	color: rgba(255, 255, 255, .35);
}

.lmx-form select:valid {
	color: #fff;
}

.lmx-form textarea {
	min-height: 160px;
	padding: 14px 16px;
	resize: vertical;
}

.lmx-form textarea::placeholder {
	color: rgba(255, 255, 255, .35);
}

.lmx-form select:focus,
.lmx-form textarea:focus {
	outline: 0;
	border-color: rgba(82, 199, 198, .55);
	border-bottom-color: var(--lmx-teal);
	background-color: #171d1f;
	box-shadow: 0 0 0 3px rgba(82, 199, 198, .18), 0 6px 20px -8px rgba(82, 199, 198, .5);
}

.lmx-form select[aria-invalid="true"],
.lmx-form textarea[aria-invalid="true"] {
	border-color: rgba(233, 94, 84, .6);
	border-bottom-color: #e95e54;
}

.lmx-form .lmx-form__hint {
	margin: 0;
	font: 400 13px/1.4 var(--lmx-font);
	color: rgba(255, 255, 255, .5);
}

/* File field: the real <input type=file> is stretched over the styled area and
   made transparent — clicks, keyboard and drag-and-drop all go into it. */
.lmx-form .lmx-form__file {
	position: relative;
	min-height: 64px;
	box-sizing: border-box;
	border: 1px dashed rgba(82, 199, 198, .55);
	background: #14191b;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.lmx-form .lmx-form__file input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
	font-size: 16px;
}

.lmx-form__file-ui {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 62px;
	padding: 10px 12px 10px 16px;
	color: rgba(255, 255, 255, .62);
	font: 400 15px/1.35 var(--lmx-font);
	pointer-events: none;
}

.lmx-form__file-ui svg {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	color: var(--lmx-teal);
}

.lmx-form__file-text {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}

.lmx-form__file-btn {
	flex: 0 0 auto;
	padding: 9px 14px;
	border: 1px solid rgba(82, 199, 198, .6);
	color: var(--lmx-teal);
	font: 600 12px/1 var(--lmx-font);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.lmx-form .lmx-form__file.has-file {
	border-style: solid;
	border-color: rgba(82, 199, 198, .8);
}

.lmx-form .lmx-form__file.has-file .lmx-form__file-text {
	color: #fff;
}

.lmx-form .lmx-form__file:hover,
.lmx-form .lmx-form__file.is-drag {
	background: #171d1f;
	border-color: var(--lmx-teal);
}

.lmx-form .lmx-form__file.is-focus,
.lmx-form .lmx-form__file:has(input:focus-visible) {
	border-color: var(--lmx-teal);
	box-shadow: 0 0 0 3px rgba(82, 199, 198, .18);
}

.lmx-form .lmx-form__file:has(input[aria-invalid="true"]) {
	border-color: #e95e54;
}

/* Inline form: the “thank you” block sits next to the form in a shared wrapper. */
.lmx-form-host {
	position: relative;
	min-width: 0;
}

.lmx-form-host .lmx-form__done {
	min-height: 0;
	padding: 12px 0 8px;
}

.lmx-form-host .lmx-form__done-title {
	margin: 0 0 12px;
	color: #fff;
	font: 500 34px/1.1 var(--lmx-display);
	letter-spacing: -.01em;
}

.lmx-form-host .lmx-form__done-text {
	margin: 0;
	max-width: 520px;
	color: rgba(255, 255, 255, .74);
	font: 300 17px/1.6 var(--lmx-font);
}

.lmx-form--inline .lmx-form__submit {
	margin-top: 24px;
}

@media (max-width: 640px) {
	.lmx-form--inline .lmx-form__fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.lmx-form-host .lmx-form__done-title {
		font-size: 28px;
	}
}
