.docs-site-shell {
	max-width: 1240px;
}

.docs-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: 28px;
	align-items: end;
	padding: 30px;
	border: 1px solid var(--site-border-strong);
	border-radius: var(--app-radius);
	background: rgba(12, 18, 21, 0.9);
	box-shadow: var(--site-shadow);
}

.docs-hero h1 {
	font-size: 52px;
	line-height: 1;
}

.docs-hero p:not(.eyebrow) {
	max-width: 680px;
	margin: 12px 0 0;
	color: var(--site-muted);
	font-size: 17px;
	line-height: 1.55;
}

.docs-search {
	display: grid;
	gap: 8px;
	color: var(--site-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.docs-search input {
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid var(--site-border);
	border-radius: var(--app-radius);
	background: #0b1214;
	color: var(--site-text);
	font: inherit;
}

.docs-search input:focus {
	outline: 2px solid rgba(255, 209, 102, 0.42);
	outline-offset: 2px;
}

.docs-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
	margin-top: 22px;
}

.docs-sidebar {
	position: sticky;
	top: 20px;
	padding: 10px;
	border: 1px solid var(--site-border);
	border-radius: var(--app-radius);
	background: rgba(12, 18, 21, 0.9);
}

.docs-topic-nav {
	display: grid;
	gap: 3px;
}

.docs-topic-nav a {
	padding: 9px 10px;
	border-left: 2px solid transparent;
	color: var(--site-muted);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.docs-topic-nav a:hover,
.docs-topic-nav a:focus-visible {
	border-left-color: var(--site-accent);
	color: var(--site-text);
}

.docs-content {
	min-width: 0;
	border: 1px solid var(--site-border);
	border-radius: var(--app-radius);
	background: rgba(12, 18, 21, 0.9);
}

.docs-content section {
	padding: 30px;
	scroll-margin-top: 18px;
}

.docs-content section + section {
	border-top: 1px solid var(--site-border);
}

.docs-section-kicker {
	margin: 0 0 6px;
	color: var(--site-accent);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.docs-content h2 {
	font-size: 30px;
}

.docs-content h3 {
	margin-top: 24px;
	font-size: 19px;
}

.docs-content p,
.docs-content li,
.docs-content dd {
	color: var(--site-muted);
	line-height: 1.65;
}

.docs-content p {
	margin: 12px 0 0;
}

.docs-content ul,
.docs-content ol {
	margin: 14px 0 0;
	padding-left: 22px;
}

.docs-content li + li {
	margin-top: 7px;
}

.docs-content strong,
.docs-content dt {
	color: var(--site-text);
}

.docs-content a {
	color: var(--site-accent);
}

.docs-content code {
	font-family: Consolas, "Courier New", monospace;
}

.docs-content pre {
	max-width: 100%;
	margin: 16px 0 0;
	padding: 16px;
	overflow-x: auto;
	border: 1px solid var(--site-border);
	border-radius: var(--app-radius);
	background: #071013;
	color: #dce9e5;
	line-height: 1.55;
}

.docs-definitions {
	display: grid;
	grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
	gap: 14px 20px;
	margin: 18px 0 0;
}

.docs-definitions dt {
	font-weight: 800;
}

.docs-definitions dd {
	margin: 0;
}

.docs-note {
	margin-top: 18px;
	padding: 14px 16px;
	border-left: 3px solid var(--site-accent);
	background: rgba(255, 209, 102, 0.07);
	color: var(--site-muted);
	line-height: 1.6;
}

.docs-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.docs-actions .secondary-button {
	width: auto;
	text-decoration: none;
}

.docs-no-results {
	margin: 0 !important;
	padding: 34px;
	color: var(--site-muted);
	text-align: center;
}

@media (max-width: 820px) {
	.docs-hero,
	.docs-layout {
		grid-template-columns: 1fr;
	}

	.docs-hero h1 {
		font-size: 42px;
	}

	.docs-sidebar {
		position: static;
		overflow-x: auto;
	}

	.docs-topic-nav {
		display: flex;
		width: max-content;
	}

	.docs-topic-nav a {
		border-left: 0;
		border-bottom: 2px solid transparent;
		white-space: nowrap;
	}

	.docs-topic-nav a:hover,
	.docs-topic-nav a:focus-visible {
		border-bottom-color: var(--site-accent);
	}

	.docs-definitions {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.docs-definitions dd + dt {
		margin-top: 12px;
	}
}

@media (max-width: 560px) {
	.docs-hero,
	.docs-content section {
		padding: 22px;
	}

	.docs-hero h1 {
		font-size: 38px;
	}
}
