.tsp-overlay,
.tsp-overlay * {
	box-sizing: border-box;
}

.tsp-overlay {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(4, 12, 22, 0.78);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	opacity: 0;
	transition: opacity 220ms ease;
}

.tsp-overlay[hidden] {
	display: none;
}

.tsp-overlay.tsp-visible {
	opacity: 1;
}

.tsp-dialog {
	position: relative;
	width: min(720px, 100%);
	max-height: calc(100vh - 32px);
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 6px;
	background:
		linear-gradient(125deg, rgba(255, 255, 255, 0.035), transparent 38%),
		#0b1c2e;
	color: #fff;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
	transform: translateY(16px) scale(0.985);
	transition: transform 260ms ease;
}

.tsp-visible .tsp-dialog {
	transform: translateY(0) scale(1);
}

.tsp-accent {
	height: 6px;
	background: linear-gradient(90deg, #4e9fd0, #a9ddfa 52%, #68b8e6);
}

.tsp-content {
	padding: 56px 58px 54px;
}

.tsp-eyebrow {
	margin: 0 64px 14px 0;
	color: #85caef;
	font: 700 13px/1.4 Arial, sans-serif;
	letter-spacing: 0.16em;
}

.tsp-dialog h2 {
	margin: 0;
	max-width: 570px;
	color: #fff;
	font: 700 clamp(28px, 4vw, 42px)/1.08 Arial, sans-serif;
	letter-spacing: -0.025em;
}

.tsp-description {
	margin: 24px 0 0;
	max-width: 590px;
	color: rgba(255, 255, 255, 0.82);
	font: 400 17px/1.65 Arial, sans-serif;
}

.tsp-whatsapp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 30px;
	padding: 14px 24px;
	border: 2px solid #fff;
	border-radius: 4px;
	background: #fff;
	color: #0b1c2e;
	font: 700 13px/1.35 Arial, sans-serif;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.tsp-whatsapp-button:hover,
.tsp-whatsapp-button:focus {
	border-color: #a9ddfa;
	background: #a9ddfa;
	color: #071421;
	text-decoration: none;
	transform: translateY(-2px);
}

.tsp-whatsapp-button:focus-visible {
	outline: 3px solid #79b8e4;
	outline-offset: 3px;
}

.tsp-whatsapp-button-disabled {
	cursor: default;
	opacity: 0.72;
}

.tsp-whatsapp-button-disabled:hover,
.tsp-whatsapp-button-disabled:focus {
	border-color: #fff;
	background: #fff;
	color: #0b1c2e;
	transform: none;
}

.tsp-close {
	position: absolute;
	z-index: 2;
	top: 17px;
	right: 18px;
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(133, 202, 239, 0.72);
	border-radius: 50%;
	background: rgba(133, 202, 239, 0.07);
	color: #85caef;
	font: 300 28px/1 Arial, sans-serif;
	cursor: pointer;
}

.tsp-close:hover,
.tsp-close:focus {
	background: rgba(133, 202, 239, 0.18);
	color: #c7ebff;
}

.tsp-close:focus-visible {
	outline: 3px solid #79b8e4;
	outline-offset: 3px;
}

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

@media (max-width: 600px) {
	.tsp-overlay {
		align-items: end;
		padding: 10px;
	}

	.tsp-dialog {
		width: 100%;
		max-height: calc(100vh - 20px);
		border-radius: 6px;
	}

	.tsp-content {
		padding: 48px 26px 38px;
	}

	.tsp-dialog h2 {
		font-size: 30px;
	}

	.tsp-eyebrow {
		font-size: 11px;
	}

	.tsp-description {
		margin-top: 20px;
		font-size: 15px;
		line-height: 1.6;
	}

	.tsp-whatsapp-button {
		width: 100%;
		margin-top: 26px;
		padding-right: 18px;
		padding-left: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tsp-overlay,
	.tsp-dialog {
		transition: none;
	}
}
