/* The contact form as a pop-out: any link to /contact/ opens it here. */
.pdc-dialog {
	border: 0;
	padding: 0;
	margin: auto;
	width: min(680px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	background: transparent;
	color: #b6bfd4;
	overflow: visible;
}
.pdc-dialog::backdrop {
	background: rgba(6, 10, 20, 0.78);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}
.pdc-dialog-card {
	position: relative;
	box-sizing: border-box;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	background: #0c1220;
	border: 1px solid #334566;
	border-radius: 16px;
	padding: 28px 28px 32px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
	font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.pdc-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid #334566;
	background: #182238;
	color: #f2f5fb;
	font: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}
.pdc-close:hover,
.pdc-close:focus-visible {
	border-color: #5b9bff;
	color: #5b9bff;
	outline: none;
}
.pdc-dialog .pdc {
	max-width: none;
	margin: 0;
	padding: 0 48px 0 0; /* room for the close button next to the title */
}
.pdc-dialog .pdc-form,
.pdc-dialog .pdc-notice {
	margin-right: -48px; /* the form itself runs the full card width */
}
.pdc-dialog .pdc-title {
	color: #f2f5fb;
	font-size: clamp(28px, 4.5vw, 38px);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 10px;
	padding: 0;
}
.pdc-dialog .pdc-loading {
	margin: 24px 0 0;
	color: #8b95ab;
}
.pdc-dialog .pdc-btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}
html.pdc-open {
	overflow: hidden;
}
@media (max-width: 600px) {
	.pdc-dialog {
		width: calc(100vw - 16px);
		max-height: calc(100vh - 16px);
		max-height: calc(100dvh - 16px);
	}
	.pdc-dialog-card {
		padding: 22px 18px 24px;
		max-height: calc(100vh - 16px);
		max-height: calc(100dvh - 16px);
	}
	.pdc-dialog .pdc {
		padding-right: 44px;
	}
	.pdc-dialog .pdc-form,
	.pdc-dialog .pdc-notice {
		margin-right: -44px;
	}
}
