/*
 * Newsletter sign-up modal (inc/newsletter-modal.php). Loaded without blocking
 * the first paint. Every rule starts with .ld-nlm so WP Rocket's "Remove unused
 * CSS" safelist keeps it. Design: the "LinoDash newsletter modal" canvas.
 * Desktop: a two-column card. Under 760px: a bottom sheet with the stamp on its edge.
 */

/* Headline face (owner, 2026-11-27). Self-hosted; only downloaded once the modal opens. */
@font-face {
	font-family: 'MuseoModerno';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/museomoderno-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.ld-nlm {
	--nlm-ink: #09090B;
	--nlm-pink: #FF2E63;
	--nlm-deep: #D62753;
	--nlm-blush: #FFE3EA;
	--nlm-text: #4A4246;
	box-sizing: border-box;
	width: min(900px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 1px solid var(--nlm-ink);
	border-radius: 22px;
	background: #fff;
	color: var(--nlm-ink);
	font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	overflow: hidden auto;
	overscroll-behavior: contain;
}
.ld-nlm *,
.ld-nlm *::before,
.ld-nlm *::after { box-sizing: border-box; }
.ld-nlm[open] {
	display: grid;
	grid-template-columns: clamp(340px, 40%, 372px) minmax(0, 1fr);
	min-height: min(540px, calc(100dvh - 32px));
	animation: ld-nlm-in .32s cubic-bezier(.22, .61, .36, 1) both;
}
.ld-nlm::backdrop {
	/* A warm plum dim rather than grey (2026-11-29). */
	background: rgba(38, 8, 20, .56);
	-webkit-backdrop-filter: blur(4px) saturate(.9);
	backdrop-filter: blur(4px) saturate(.9);
}
.ld-nlm[open]::backdrop { animation: ld-nlm-fade .32s ease both; }
@keyframes ld-nlm-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ld-nlm-fade { from { opacity: 0; } to { opacity: 1; } }
/* Closing: the card fades and drops (the phone sheet slides away, below). */
.ld-nlm.is-closing { animation: ld-nlm-out .2s cubic-bezier(.4, 0, 1, 1) forwards; }
.ld-nlm.is-closing::backdrop { animation: ld-nlm-fade-out .2s ease-in forwards; }
@keyframes ld-nlm-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes ld-nlm-fade-out { from { opacity: 1; } to { opacity: 0; } }
html.ld-nlm-lock { overflow: hidden; }

/* Close */
.ld-nlm .ld-nlm__x {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 3;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: #FFF0F3;
	color: var(--nlm-ink);
	cursor: pointer;
	box-shadow: none;
	transition: background .15s, color .15s, transform .2s;
}
.ld-nlm .ld-nlm__x:hover { background: var(--nlm-ink); color: #fff; transform: rotate(90deg); }
.ld-nlm__grab { display: none; }
.ld-nlm .ld-nlm__x:focus-visible { outline: 3px solid var(--nlm-pink); outline-offset: 2px; }

/* Left: the stamp */
.ld-nlm__side {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 30px;
	padding: 44px 48px;
	background: var(--nlm-blush);
	border-right: 1px solid #EFCFD8;
}
/* Texture: the site's scattered rhombuses, trapezia and dots, drawn as a mask
   (WP Rocket's lazy CSS backgrounds never touch a mask; rule 20), stronger at the
   panel's edges and faint behind the stamp. */
.ld-nlm__side::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: var(--nlm-deep);
	opacity: .22;
	-webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='168' height='168'><path d='M22 14l9 9-9 9-9-9z'/><path d='M98 26h24l7 11H91z'/><circle cx='146' cy='96' r='3'/><path d='M56 98l7 7-7 7-7-7z' fill='none' stroke='%23000' stroke-width='2'/><path d='M120 134h18l6 9h-30z' fill='none' stroke='%23000' stroke-width='2'/><circle cx='30' cy='142' r='2.5'/><path d='M66 52q6-7 12 0t12 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/><path d='M150 30l5 5-5 5-5-5z'/></svg>") 0 0 / 168px 168px, radial-gradient(ellipse 60% 55% at 50% 46%, transparent 35%, #000 100%);
	-webkit-mask-composite: source-in;
	mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='168' height='168'><path d='M22 14l9 9-9 9-9-9z'/><path d='M98 26h24l7 11H91z'/><circle cx='146' cy='96' r='3'/><path d='M56 98l7 7-7 7-7-7z' fill='none' stroke='%23000' stroke-width='2'/><path d='M120 134h18l6 9h-30z' fill='none' stroke='%23000' stroke-width='2'/><circle cx='30' cy='142' r='2.5'/><path d='M66 52q6-7 12 0t12 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/><path d='M150 30l5 5-5 5-5-5z'/></svg>") 0 0 / 168px 168px, radial-gradient(ellipse 60% 55% at 50% 46%, transparent 35%, #000 100%);
	mask-composite: intersect;
}
.ld-nlm__side > * { position: relative; }
.ld-nlm__stampwrap {
	--stamp-rot: -4deg;
	position: relative;
	transform: rotate(var(--stamp-rot));
	/* Paper lifting off the page: a soft shadow, not an offset block (2026-11-29). */
	filter: drop-shadow(0 14px 18px rgba(122, 21, 48, .16)) drop-shadow(0 2px 3px rgba(9, 9, 11, .12));
}
.ld-nlm[open] .ld-nlm__stampwrap { animation: ld-nlm-stamp .6s cubic-bezier(.22, .61, .36, 1) .12s backwards; }
/* A small lift when a mouse comes near (backwards fill above, so hover can move it). */
@media (hover: hover) and (min-width: 760px) {
	.ld-nlm__stampwrap { transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
	.ld-nlm__side:hover .ld-nlm__stampwrap { transform: translateY(-4px) rotate(calc(var(--stamp-rot) + 2deg)); }
}
@keyframes ld-nlm-stamp {
	from { opacity: 0; transform: translateY(-16px) rotate(calc(var(--stamp-rot) - 7deg)) scale(1.04); }
	to { opacity: 1; transform: rotate(var(--stamp-rot)); }
}
/* Two strips of Petal tape hold the stamp to the page. */
.ld-nlm__stampwrap::before,
.ld-nlm__stampwrap::after {
	content: "";
	position: absolute;
	z-index: 2;
	width: 74px;
	height: 24px;
	background: rgba(255, 194, 209, .78);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
	border-radius: 2px;
	pointer-events: none;
}
.ld-nlm__stampwrap::before { top: -10px; left: -18px; transform: rotate(-34deg); }
.ld-nlm__stampwrap::after { bottom: -8px; right: -20px; transform: rotate(-30deg); }
.ld-nlm__stamp {
	/* Perforated edge: the solid layer covers the content box, the dotted layer bites
	   half-circles out of the 8px padding band. Width and height are multiples of 16. */
	width: 240px;
	height: 288px;
	padding: 8px;
	background: #fff;
	-webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle 5.5px at center, transparent 96%, #000) -8px -8px / 16px 16px;
	mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle 5.5px at center, transparent 96%, #000) -8px -8px / 16px 16px;
}
/* Inside the stamp: Blush with a pink sun behind the figure (no inner frame line). */
.ld-nlm__photo {
	width: 100%;
	height: 100%;
	border: 10px solid #fff;
	border-radius: 4px;
	background:
		radial-gradient(circle at 50% 64%, #FF8FAB 0 41%, transparent 41.5%),
		#FFE3EA;
}
/* The cut-out photo, aligned to the stamp's picture box and clipped on three sides only,
   so the head and shoulders break out above the top edge (friendly, not a poster). */
.ld-nlm__cutout {
	position: absolute;
	z-index: 1;
	left: 18px;
	top: 18px;
	width: 204px;
	height: 252px;
	clip-path: inset(-120px 0 0 0);
	pointer-events: none;
}
.ld-nlm .ld-nlm__cutout img {
	position: absolute;
	width: 336px;
	height: 336px;
	max-width: none;
	left: -45px;
	bottom: 0;
	margin: 0;
	filter: drop-shadow(0 6px 10px rgba(122, 21, 48, .18));
}
.ld-nlm .ld-nlm__caption {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	font-style: italic;
	text-align: center;
	letter-spacing: .01em;
	color: var(--nlm-ink);
	transform: rotate(-2deg);
	text-decoration: underline wavy #FF8FAB;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
	text-decoration-skip-ink: none;
}

/* Right: form and confirmation */
.ld-nlm__main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 52px 52px 44px;
}
.ld-nlm__view { display: flex; flex-direction: column; gap: 22px; }
.ld-nlm__view[hidden] { display: none; }
.ld-nlm .ld-nlm__title {
	margin: 0;
	padding-right: 36px;
	font-family: 'MuseoModerno', 'IBM Plex Sans', system-ui, sans-serif;
	font-weight: 700;
	font-size: 38px;
	line-height: 1.08;
	letter-spacing: -.025em;
	color: var(--nlm-ink);
	outline: none;
}
.ld-nlm__mark {
	background: linear-gradient(transparent 58%, #FFC2D1 58%, #FFC2D1 92%, transparent 92%) 0 0 / 100% 100% no-repeat;
	padding: 0 2px;
	margin: 0 -2px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
/* The highlighter draws itself in as the modal opens. */
.ld-nlm[open] .ld-nlm__mark { animation: ld-nlm-mark .7s cubic-bezier(.65, 0, .35, 1) .45s backwards; }
@keyframes ld-nlm-mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.ld-nlm .ld-nlm__lead {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--nlm-text);
}
.ld-nlm__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 4px 0 0;
}
.ld-nlm__sr,
.ld-nlm__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.ld-nlm__field { position: relative; }
.ld-nlm__mail {
	position: absolute;
	left: 17px;
	top: 50%;
	transform: translateY(-50%);
	color: #857A7E;
	pointer-events: none;
	transition: color .15s;
}
.ld-nlm__field:focus-within .ld-nlm__mail { color: var(--nlm-deep); }
.ld-nlm[data-error="email"] .ld-nlm__mail { color: #B91C1C; }
/* A tick once the address looks right (newsletter-modal.js sets is-valid). */
.ld-nlm__ok {
	position: absolute;
	right: 15px;
	top: 50%;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	color: #15803D;
	opacity: 0;
	transform: scale(.6);
	pointer-events: none;
	transition: opacity .18s, transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.ld-nlm__field.is-valid .ld-nlm__ok { opacity: 1; transform: none; }
.ld-nlm[data-error="email"] .ld-nlm__ok { opacity: 0; }
.ld-nlm .ld-nlm__input {
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 46px 0 48px;
	border: 1.5px solid var(--nlm-ink);
	border-radius: 12px;
	background: #fff;
	color: var(--nlm-ink);
	font: 400 17px/1 'IBM Plex Sans', system-ui, sans-serif;
	box-shadow: none;
	outline: none;
	transition: box-shadow .15s;
}
.ld-nlm .ld-nlm__input::placeholder { color: #857A7E; opacity: 1; }
.ld-nlm .ld-nlm__input:focus { border-color: var(--nlm-ink); box-shadow: 0 0 0 4px #FFC2D1; }
.ld-nlm[data-error="email"] .ld-nlm__input,
.ld-nlm[data-error="email"] .ld-nlm__input:focus { border-color: #B91C1C; box-shadow: 0 0 0 4px #FEE2E2; }
.ld-nlm .ld-nlm__err {
	display: none;
	margin: -6px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: #B91C1C;
}
.ld-nlm[data-error] .ld-nlm__err { display: block; }
.ld-nlm__ts:empty { display: none; }
/* Privacy Policy consent: a real checkbox, drawn in the brand style. */
.ld-nlm__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
}
.ld-nlm .ld-nlm__check {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	padding: 0;
	border: 1.5px solid var(--nlm-ink);
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
	display: grid;
	place-content: center;
	transition: background .15s, box-shadow .15s;
}
.ld-nlm .ld-nlm__check::before {
	content: "";
	width: 11px;
	height: 6px;
	border-left: 2.4px solid #fff;
	border-bottom: 2.4px solid #fff;
	transform: translateY(-1px) rotate(-45deg) scale(0);
	transition: transform .12s;
}
.ld-nlm .ld-nlm__check:checked { background: var(--nlm-deep); border-color: var(--nlm-deep); }
.ld-nlm .ld-nlm__check:checked::before { transform: translateY(-1px) rotate(-45deg) scale(1); }
.ld-nlm .ld-nlm__check:focus-visible { outline: none; box-shadow: 0 0 0 4px #FFC2D1; }
/* Valid email, box not ticked yet: one gentle pulse so the error never comes as a surprise. */
.ld-nlm__consent.is-nudged .ld-nlm__check:not(:checked) { animation: ld-nlm-nudge 1.1s ease-out 2; border-color: var(--nlm-deep); }
@keyframes ld-nlm-nudge { 0% { box-shadow: 0 0 0 0 rgba(255, 46, 99, .45); } 100% { box-shadow: 0 0 0 10px rgba(255, 46, 99, 0); } }
.ld-nlm[data-error="consent"] .ld-nlm__check { border-color: #B91C1C; box-shadow: 0 0 0 4px #FEE2E2; }
.ld-nlm .ld-nlm__consent label {
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--nlm-text);
	cursor: pointer;
}
.ld-nlm .ld-nlm__consent a {
	color: var(--nlm-deep);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--nlm-pink);
	text-underline-offset: 2px;
}
.ld-nlm .ld-nlm__consent a:hover { color: var(--nlm-ink); }
.ld-nlm .ld-nlm__hint {
	margin: -6px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--nlm-text);
}
.ld-nlm .ld-nlm__hint[hidden] { display: none; }
.ld-nlm .ld-nlm__fix {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 600;
	color: var(--nlm-deep);
	text-decoration: underline;
	text-decoration-color: var(--nlm-pink);
	text-underline-offset: 3px;
	cursor: pointer;
	word-break: break-all;
	box-shadow: none;
}
.ld-nlm .ld-nlm__fix:hover { color: var(--nlm-ink); }
.ld-nlm .ld-nlm__fix:focus-visible { outline: 3px solid var(--nlm-pink); outline-offset: 2px; border-radius: 4px; }
.ld-nlm .ld-nlm__btn {
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1.5px solid var(--nlm-ink);
	border-radius: 12px;
	background: var(--nlm-deep);
	color: #fff;
	font: 600 17px/1 'IBM Plex Sans', system-ui, sans-serif;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	box-shadow: 4px 4px 0 var(--nlm-ink);
	transition: transform .12s, box-shadow .12s, background .15s;
}
.ld-nlm .ld-nlm__btn:hover { background: var(--nlm-ink); color: #fff; }
.ld-nlm__arrow { transition: transform .18s cubic-bezier(.22, .61, .36, 1); }
.ld-nlm .ld-nlm__btn:hover .ld-nlm__arrow { transform: translateX(4px); }
.ld-nlm .ld-nlm__btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--nlm-ink); }
.ld-nlm .ld-nlm__btn:focus-visible { outline: 3px solid var(--nlm-pink); outline-offset: 3px; }
.ld-nlm__spin { display: none; }
.ld-nlm[data-state="sending"] .ld-nlm__btn { background: var(--nlm-ink); cursor: progress; }
.ld-nlm[data-state="sending"] .ld-nlm__arrow { display: none; }
.ld-nlm[data-state="sending"] .ld-nlm__spin { display: block; animation: ld-nlm-spin .8s linear infinite; }
@keyframes ld-nlm-spin { to { transform: rotate(360deg); } }

/* Narrow desktops and tablets */
@media (max-width: 900px) and (min-width: 760px) {
	/* A smaller stamp keeps the same clear space to the divider on a narrower card. */
	.ld-nlm[open] { grid-template-columns: 304px minmax(0, 1fr); }
	.ld-nlm__side { padding: 40px 36px; gap: 26px; }
	.ld-nlm__stamp { width: 208px; height: 256px; }
	.ld-nlm__cutout { left: 18px; top: 18px; width: 172px; height: 220px; }
	.ld-nlm .ld-nlm__cutout img { width: 290px; height: 290px; left: -41px; }
	.ld-nlm__main { padding: 52px 40px 40px; }
	.ld-nlm .ld-nlm__title { font-size: 34px; }
}

/* Phones: a bottom sheet, the stamp on its top edge */
@media (max-width: 759px) {
	.ld-nlm {
		width: 100%;
		max-height: none;
		margin: auto 0 0;
		border: 0;
		border-top: 1px solid var(--nlm-ink);
		border-radius: 24px 24px 0 0;
		overflow: visible;
	}
	.ld-nlm[open] {
		display: block;
		animation: ld-nlm-up .34s cubic-bezier(.22, .61, .36, 1) both;
	}
	@keyframes ld-nlm-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
	.ld-nlm .ld-nlm__x { top: 20px; right: 16px; }
	/* Grab handle: drag the sheet down to close it (newsletter-modal.js). */
	.ld-nlm__grab {
		display: block;
		position: absolute;
		z-index: 3;
		top: 8px;
		left: 50%;
		width: 40px;
		height: 4px;
		margin-left: -20px;
		border-radius: 4px;
		background: rgba(9, 9, 11, .2);
	}
	.ld-nlm.is-dragging { transition: none; animation: none; }
	/* Slides away from wherever a swipe left it (--drag, set by newsletter-modal.js). */
	.ld-nlm.is-closing { animation: ld-nlm-down .24s cubic-bezier(.4, 0, 1, 1) forwards; }
	@keyframes ld-nlm-down { from { transform: translateY(var(--drag, 0px)); } to { transform: translateY(105%); } }
	.ld-nlm.is-settling { transition: transform .28s cubic-bezier(.22, .61, .36, 1); }
	/* The stamp sits on a blush band (the desktop's left panel), so its white edge reads. */
	.ld-nlm__side {
		position: absolute;
		inset: 0 0 auto 0;
		height: 84px;
		border-radius: 24px 24px 0 0;
		padding: 0;
		background: var(--nlm-blush);
		border: 0;
		border-bottom: 1px solid #F0D9DF;
		display: block;
	}
	.ld-nlm__side::before { border-radius: 24px 24px 0 0; -webkit-mask-size: 140px 140px, 100% 100%; mask-size: 140px 140px, 100% 100%; }
	.ld-nlm__stampwrap {
		position: absolute;
		left: 20px;
		top: -58px;
		--stamp-rot: -5deg;
		filter: drop-shadow(0 10px 14px rgba(122, 21, 48, .18)) drop-shadow(0 2px 3px rgba(9, 9, 11, .12));
	}
	.ld-nlm__stamp {
		width: 128px;
		height: 160px;
		-webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle 5px at center, transparent 96%, #000) -8px -8px / 16px 16px;
		mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle 5px at center, transparent 96%, #000) -8px -8px / 16px 16px;
	}
	.ld-nlm__photo { border-width: 6px; border-radius: 3px; }
	/* No tape on phones: the stamp hangs over the dimmed page, where tape just floats. */
	.ld-nlm__stampwrap::before,
	.ld-nlm__stampwrap::after { display: none; }
	.ld-nlm__cutout { left: 14px; top: 14px; width: 100px; height: 132px; }
	.ld-nlm .ld-nlm__cutout img { width: 184px; height: 184px; left: -30px; }
	.ld-nlm .ld-nlm__caption {
		position: absolute;
		left: 166px;
		right: 72px;
		top: 50%;
		margin-top: 2px;
		font-size: 14px;
		text-align: left;
		transform: translateY(-50%);
		overflow-wrap: anywhere;
		text-underline-offset: 5px;
	}
	.ld-nlm__main {
		max-height: calc(100dvh - 72px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 106px 20px calc(28px + env(safe-area-inset-bottom));
	}
	.ld-nlm__view { gap: 16px; }
	/* The headline leads on phones (owner, 2026-11-29: "not dominant"): bigger, bolder, tighter. */
	.ld-nlm .ld-nlm__title { font-size: clamp(29px, 8.4vw, 36px); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; padding-right: 0; }
	.ld-nlm .ld-nlm__view--form { gap: 14px; }
	.ld-nlm .ld-nlm__lead { font-size: 16px; }
	.ld-nlm .ld-nlm__input,
	.ld-nlm .ld-nlm__btn { height: 54px; }
}
@media (max-width: 359px) {
	.ld-nlm .ld-nlm__caption { left: 154px; right: 58px; font-size: 12.5px; line-height: 1.35; }
}

/* Short desktop screens: the card scrolls inside itself */
@media (min-width: 760px) and (max-height: 600px) {
	.ld-nlm__main { padding-top: 40px; padding-bottom: 32px; }
	.ld-nlm__side { gap: 18px; }
}

/* Phones held sideways and other short, wide screens: the form gets the whole card,
   so the button is on screen without scrolling (the photo panel steps aside). */
@media (min-width: 760px) and (max-height: 520px) {
	.ld-nlm { width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 24px); }
	.ld-nlm[open] { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.ld-nlm__side { display: none; }
	.ld-nlm__main { padding: 26px 30px 24px; }
	.ld-nlm .ld-nlm__x { top: 14px; right: 14px; width: 40px; height: 40px; }
	.ld-nlm__view { gap: 12px; }
	.ld-nlm .ld-nlm__title { font-size: 28px; padding-right: 48px; }
	.ld-nlm .ld-nlm__lead { font-size: 15.5px; line-height: 1.5; }
	.ld-nlm__form { gap: 10px; margin-top: 0; }
	.ld-nlm .ld-nlm__input,
	.ld-nlm .ld-nlm__btn { height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	.ld-nlm[open],
	.ld-nlm[open]::backdrop,
	.ld-nlm.is-closing,
	.ld-nlm.is-closing::backdrop,
	.ld-nlm[open] .ld-nlm__stampwrap,
	.ld-nlm[open] .ld-nlm__mark,
	.ld-nlm__consent.is-nudged .ld-nlm__check:not(:checked) { animation: none; }
	.ld-nlm__ok { transition: none; }
	.ld-nlm__arrow,
	.ld-nlm__stampwrap,
	.ld-nlm .ld-nlm__x { transition: none; }
	.ld-nlm[data-state="sending"] .ld-nlm__spin { animation-duration: 2.4s; }
}
