/* Public popup: intentionally scoped to avoid collisions with the active theme. */
@font-face {
	font-family: "Geist";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Variable.woff2") format("woff2");
}

#totem-fdp-root,
#totem-fdp-root * {
	box-sizing: border-box;
}

#totem-fdp-root {
	--totem-fdp-ink: #3f4a3e;
	--totem-fdp-muted: #687267;
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	padding: clamp(1rem, 4vw, 2rem);
	visibility: hidden;
	font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	font-synthesis: none;
	transition: visibility 0s linear 720ms;
}

#totem-fdp-root.is-visible {
	visibility: visible;
	transition-delay: 0s;
}

#totem-fdp-root .totem-fdp__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(247, 245, 240, 0);
	backdrop-filter: blur(0) saturate(100%);
	-webkit-backdrop-filter: blur(0) saturate(100%);
	opacity: 0;
	transition: opacity 520ms ease, background 620ms ease, backdrop-filter 760ms cubic-bezier(0.22, 1, 0.36, 1), -webkit-backdrop-filter 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

#totem-fdp-root.is-visible .totem-fdp__backdrop {
	background: rgba(247, 245, 240, 0.48);
	backdrop-filter: blur(12px) saturate(88%);
	-webkit-backdrop-filter: blur(12px) saturate(88%);
	opacity: 1;
}

#totem-fdp-root .totem-fdp__dialog {
	position: relative;
	width: min(100%, 480px);
	padding: clamp(2.6rem, 7vw, 3.8rem) clamp(1.8rem, 6vw, 3rem) 3.35rem;
	text-align: center;
	background: linear-gradient(145deg, rgba(246, 243, 235, 0.93) 0%, rgba(224, 231, 224, 0.95) 47%, rgba(203, 216, 207, 0.96) 100%);
	border: 1px solid rgba(82, 103, 89, 0.14);
	border-radius: clamp(1.8rem, 5vw, 2.8rem);
	box-shadow: 0 34px 80px rgba(51, 57, 48, 0.17), 0 10px 24px rgba(51, 57, 48, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.64);
	opacity: 0;
	transform: translateY(18px) scale(0.94);
	filter: blur(8px);
	transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.16, 1, 0.3, 1), filter 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

#totem-fdp-root.is-visible .totem-fdp__dialog {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
}

#totem-fdp-root .totem-fdp__close {
	position: absolute;
	top: 1.3rem;
	right: 1.3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.45rem;
	height: 2.45rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.64);
	color: #637262;
	font: 400 1.5rem/1 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
	cursor: default;
}

#totem-fdp-root .totem-fdp__close svg {
	display: block;
	width: 0.9rem;
	height: 0.9rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.65;
}

#totem-fdp-root .totem-fdp__icon {
	display: grid;
	place-items: center;
	width: 4.7rem;
	height: 4.7rem;
	margin: 0 auto 1.75rem;
	border-radius: 50%;
	background: linear-gradient(145deg, #b8c9bd 0%, #91a797 100%);
	box-shadow: 0 9px 20px rgba(86, 111, 93, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	color: #fff;
}

#totem-fdp-root .totem-fdp__icon svg {
	width: 2rem;
	height: 2rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.15;
}

#totem-fdp-root .totem-fdp__dialog h2 {
	margin: 0 0 0.65rem;
	color: var(--totem-fdp-ink);
	font-size: clamp(2rem, 5vw, 2.4rem);
	font-weight: 650;
	line-height: 1.15;
	letter-spacing: -0.035em;
}

#totem-fdp-root .totem-fdp__dialog p {
	max-width: 100%;
	margin: 0 auto;
	color: var(--totem-fdp-muted);
	font-size: clamp(1.25rem, 3.2vw, 1.38rem);
	font-weight: 450;
	line-height: 1.58;
	letter-spacing: -0.01em;
}

#totem-fdp-root .totem-fdp__separator {
	margin: 1.35rem auto 0.9rem;
	color: rgba(63, 74, 62, 0.48);
	font-size: 0.78rem;
	line-height: 1;
	letter-spacing: -0.06em;
	white-space: nowrap;
	overflow: hidden;
}

#totem-fdp-root .totem-fdp__footer {
	color: rgba(63, 74, 62, 0.62);
	font-size: 0.9rem;
	font-weight: 550;
	letter-spacing: 0.04em;
}

@media (max-width: 480px) {
	#totem-fdp-root .totem-fdp__dialog {
		padding-top: 3.25rem;
		padding-bottom: 2.8rem;
	}

	#totem-fdp-root .totem-fdp__close {
		top: 1rem;
		right: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	#totem-fdp-root,
	#totem-fdp-root .totem-fdp__backdrop,
	#totem-fdp-root .totem-fdp__dialog {
		transition-duration: 160ms;
	}

	#totem-fdp-root .totem-fdp__dialog {
		transform: none;
		filter: none;
	}
}

@media (prefers-reduced-transparency: reduce) {
	#totem-fdp-root .totem-fdp__backdrop {
		background: rgba(247, 245, 240, 0.94);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}
