.agency-hero .link-profile .btn-primary.nr-embed-open {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ecede8;
	color: #08061e;
	border: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.agency-hero .link-profile .btn-primary.nr-embed-open:hover,
.agency-hero .link-profile .btn-primary.nr-embed-open:focus-visible {
	background: #6e61fc;
	color: #fff;
}

.nr-embed-open svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.nr-embed {
	width: min(620px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: #fff;
	color: #08061e;
	font-family: var(--font-family-sans), "Poppins", sans-serif;
	box-shadow: 0 24px 64px rgba(8, 6, 30, 0.25);
}

.nr-embed[open] {
	animation: nr-embed-in 0.2s ease-out;
}

.nr-embed::backdrop {
	background: rgba(8, 6, 30, 0.55);
	backdrop-filter: blur(2px);
}

.nr-embed__inner {
	padding: 28px;
}

.nr-embed__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.nr-embed .nr-embed__title {
	margin: 0 0 6px;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: none;
}

.nr-embed__lede {
	margin: 0;
	color: rgba(8, 6, 30, 0.65);
	font-size: 14px;
	line-height: 1.55;
}

.nr-embed__lede a {
	color: #6e61fc;
	font-weight: 600;
	white-space: nowrap;
}

.nr-embed__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f4f5f0;
	color: #08061e;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.nr-embed__close:hover {
	background: #ecede8;
}

.nr-embed__close svg {
	width: 18px;
	height: 18px;
}

.nr-embed__label {
	display: block;
	margin-bottom: 10px;
	padding: 0;
	color: rgba(8, 6, 30, 0.55);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nr-embed__methods {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-width: 0;
	gap: 10px;
	margin: 0 0 14px;
	padding: 0;
	border: 0;
}

.nr-embed__method {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 14px 16px;
	border: 1.5px solid #ecede8;
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nr-embed__method:hover {
	border-color: #cec7ff;
}

.nr-embed__method input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nr-embed__method:has(input:checked) {
	border-color: #6e61fc;
	background: rgba(110, 97, 252, 0.06);
}

.nr-embed__method:has(input:focus-visible) {
	outline: 2px solid #6e61fc;
	outline-offset: 2px;
}

.nr-embed__method-name {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
}

.nr-embed__method-desc {
	color: rgba(8, 6, 30, 0.6);
	font-size: 12px;
	line-height: 1.45;
}

.nr-embed__code {
	max-height: 240px;
	margin: 0 0 12px;
	padding: 16px;
	overflow: auto;
	border-radius: 12px;
	background: #08061e;
	color: #cec7ff;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	line-height: 1.6;
	white-space: pre-wrap;
	word-break: break-all;
}

.nr-embed__code[hidden] {
	display: none;
}

.nr-embed__copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 10px;
	background: #6e61fc;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.nr-embed__copy:hover {
	background: #5a4de8;
}

.nr-embed__copy.is-done {
	background: #1e8a4c;
}

.nr-embed__copy--ghost {
	background: #ecede8;
	color: #08061e;
}

.nr-embed__copy--ghost:hover {
	background: #6e61fc;
	color: #fff;
}

.nr-embed__copy--ghost.is-done {
	color: #fff;
}

.nr-embed__url {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #ecede8;
}

.nr-embed__url-row {
	display: flex;
	gap: 8px;
}

.nr-embed__url-row input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 0 14px;
	border: 1.5px solid #ecede8;
	border-radius: 10px;
	background: #f4f5f0;
	color: #08061e;
	font-family: inherit;
	font-size: 13px;
}

.nr-embed__url-row input:focus {
	border-color: #6e61fc;
	outline: none;
}

@keyframes nr-embed-in {
	from { opacity: 0; transform: translateY(8px) scale(0.98); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
	.nr-embed__inner {
		padding: 20px;
	}

	.nr-embed__methods {
		grid-template-columns: minmax(0, 1fr);
	}

	.nr-embed__copy {
		width: 100%;
	}

	.nr-embed__url-row {
		flex-direction: column;
	}
}
