.demo-navigation {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px 24px;
	padding: 12px clamp(16px, 3vw, 44px);
	background: #f6f3ec;
	color: #121210;
	border-bottom: 1px solid #d7d1c5;
	font:
		600 14px / 1.3 Inter,
		system-ui,
		sans-serif;
	isolation: isolate;
}
.demo-navigation * {
	box-sizing: border-box;
}
.demo-navigation a {
	color: #121210;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 8px;
}
.demo-navigation a:hover {
	background: #ebe5d9;
}
.demo-navigation a:focus-visible {
	outline: 2px solid #121210;
	outline-offset: 3px;
}
.demo-navigation .demo-navigation-brand {
	display: block;
	min-height: auto;
	justify-self: start;
	font-size: 23px;
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1.1;
}
.demo-navigation-brand span {
	color: #c2410c;
}
.demo-navigation-brand small {
	display: block;
	color: #59554c;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.02em;
	margin-top: 4px;
}
.demo-examples {
	display: flex;
	justify-self: center;
	gap: 4px;
	background: white;
	border: 1px solid #d7d1c5;
	padding: 4px;
	border-radius: 12px;
}
.demo-examples a {
	padding: 0 12px;
	min-width: 82px;
}
.demo-examples a[aria-current="true"] {
	background: #121210;
	color: #fff;
}
.demo-explore {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0 4px;
}
.demo-explore a {
	padding: 0 10px;
	font-size: 13px;
}
@media (max-width: 850px) {
	.demo-navigation {
		grid-template-columns: auto auto;
		gap: 8px 16px;
		padding: 12px 16px;
	}
	.demo-examples {
		justify-self: end;
	}
	.demo-explore {
		grid-column: 1 / -1;
		justify-content: center;
		border-top: 1px solid #ddd6c9;
		padding-top: 4px;
	}
	.demo-examples a {
		min-width: 78px;
		padding: 0 12px;
	}
	.demo-navigation-brand small {
		font-size: 10px;
	}
}
@media (max-width: 360px) {
	.demo-navigation {
		gap: 8px;
		padding: 10px 12px;
	}
	.demo-navigation .demo-navigation-brand {
		font-size: 20px;
	}
	.demo-examples a {
		min-width: 66px;
		padding: 0 9px;
	}
	.demo-explore a {
		padding: 0 8px;
	}
}

.demo-example-picker {
	display: none;
}
@media (max-width: 1100px) {
	.demo-navigation {
		grid-template-columns: auto auto;
	}
	.demo-examples {
		display: none;
	}
	.demo-example-picker {
		display: block;
		justify-self: end;
	}
	.demo-example-picker select {
		min-height: 44px;
		max-width: 160px;
		background: white;
		border: 1px solid #d7d1c5;
		border-radius: 10px;
		padding: 0 30px 0 12px;
		color: #121210;
		font:
			600 14px Inter,
			system-ui,
			sans-serif;
	}
	.demo-example-picker select:focus-visible {
		outline: 2px solid #121210;
		outline-offset: 3px;
	}
	.demo-picker-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
	.demo-explore {
		grid-column: 1 / -1;
		justify-content: center;
	}
}
