/* Veriphone Developer Documentation Styles */

/* ─── Layout ─────────────────────────────────────────── */
.docs-layout {
	display: flex;
	min-height: calc(100vh - 4rem);
	max-width: 80rem;
	margin: 0 auto;
}

.docs-sidebar {
	position: sticky;
	top: 4rem;
	height: calc(100vh - 4rem);
	width: 17.5rem;
	flex-shrink: 0;
	overflow-y: auto;
	overflow-x: hidden;
	border-right: 1px solid var(--border);
	background: oklch(0.98 0.002 250);
	scrollbar-width: thin;
	scrollbar-color: oklch(0.85 0.01 255) transparent;
	z-index: 20;
}

.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-track { background: transparent; }
.docs-sidebar::-webkit-scrollbar-thumb { background: oklch(0.85 0.01 255); border-radius: 4px; }

.docs-sidebar-inner {
	padding: 1.25rem 0 2rem;
}

.docs-main {
	flex: 1;
	min-width: 0;
	padding: 2.5rem 3.5rem 4rem;
}

/* ─── Mobile sidebar ─────────────────────────────────── */
.docs-mobile-bar {
	display: none;
	position: sticky;
	top: 4rem;
	z-index: 25;
	background: oklch(1 0 0 / 92%);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	padding: 0.625rem 1rem;
}

.docs-mobile-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.75rem;
	border-radius: 0.5rem;
	border: 1px solid var(--border);
	background: white;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--foreground);
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s, border-color 0.15s;
}

.docs-mobile-toggle:hover {
	background: oklch(0.97 0.004 250);
	border-color: oklch(0.85 0.01 255);
}

.docs-mobile-toggle svg {
	width: 16px;
	height: 16px;
	stroke: var(--muted-foreground);
}

.docs-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: oklch(0 0 0 / 0.4);
	z-index: 29;
}

@media (max-width: 1023px) {
	.docs-mobile-bar { display: flex; }
	.docs-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		transform: translateX(-100%);
		transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
		z-index: 30;
		box-shadow: none;
	}
	.docs-sidebar.open {
		transform: translateX(0);
		box-shadow: 8px 0 30px oklch(0 0 0 / 0.12);
	}
	.docs-backdrop.open { display: block; }
	.docs-main {
		padding: 1.5rem 1.25rem 3rem;
	}
}

@media (max-width: 480px) {
	.docs-main { padding: 1.25rem 1rem 3rem; }
}

/* ─── Search ─────────────────────────────────────────── */
.docs-search {
	padding: 0 1rem 1rem;
	position: relative;
}

.docs-search input {
	width: 100%;
	padding: 0.5rem 0.75rem 0.5rem 2.125rem;
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	font-size: 0.8125rem;
	font-family: inherit;
	color: var(--foreground);
	background: white;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.docs-search input:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px oklch(0.546 0.182 252 / 0.1);
}

.docs-search input::placeholder {
	color: var(--muted-foreground);
	opacity: 0.7;
}

.docs-search-icon {
	position: absolute;
	left: 1.625rem;
	top: 50%;
	transform: translateY(calc(-50% - 0.5rem));
	width: 14px;
	height: 14px;
	stroke: var(--muted-foreground);
	pointer-events: none;
}

.docs-search-shortcut {
	position: absolute;
	right: 1.5rem;
	top: 50%;
	transform: translateY(calc(-50% - 0.5rem));
	font-size: 0.625rem;
	font-family: inherit;
	font-weight: 500;
	color: var(--muted-foreground);
	background: oklch(0.96 0.005 255);
	border: 1px solid var(--border);
	border-radius: 0.25rem;
	padding: 0.0625rem 0.375rem;
	pointer-events: none;
	line-height: 1.5;
}

/* ─── Sidebar Navigation ─────────────────────────────── */
.docs-nav-group {
	margin-bottom: 0.25rem;
}

.docs-nav-group.hidden { display: none; }

.docs-nav-group-title {
	padding: 0.5rem 1.25rem 0.25rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted-foreground);
}

.docs-nav-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.3125rem 1.25rem 0.3125rem 1.25rem;
	font-size: 0.8125rem;
	font-weight: 450;
	color: var(--muted-foreground);
	text-decoration: none;
	transition: color 0.12s, background 0.12s;
	border-left: 2px solid transparent;
	margin-left: -1px;
}

.docs-nav-link:hover {
	color: var(--foreground);
	background: oklch(0.955 0.008 252 / 0.5);
}

.docs-nav-link.active {
	color: var(--primary);
	font-weight: 550;
	border-left-color: var(--primary);
	background: oklch(0.546 0.182 252 / 0.06);
}

.docs-nav-link code {
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 0.75rem;
}

.docs-nav-badge {
	margin-left: auto;
	font-size: 0.5625rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.0625rem 0.375rem;
	border-radius: 9999px;
	background: oklch(0.546 0.182 252 / 0.1);
	color: var(--primary);
}

.docs-nav-badge.soon {
	background: oklch(0.76 0.188 70 / 0.12);
	color: oklch(0.55 0.16 49);
}

.docs-nav-external::after {
	content: '↗';
	margin-left: auto;
	font-size: 0.6875rem;
	opacity: 0.4;
}

/* ─── Header ─────────────────────────────────────────── */
.docs-hero {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--border);
}

.docs-hero h1 {
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--foreground);
	margin-bottom: 0.625rem;
}

.docs-hero p {
	font-size: 1rem;
	color: var(--muted-foreground);
	line-height: 1.6;
	max-width: 36rem;
}

.docs-base-url {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin-top: 1.25rem;
	padding: 0.5rem 0.875rem;
	border-radius: 0.5rem;
	border: 1px solid var(--border);
	background: oklch(0.98 0.002 250);
	font-size: 0.8125rem;
}

.docs-base-url-label {
	font-weight: 600;
	color: var(--muted-foreground);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.docs-base-url code {
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 0.8125rem;
	color: var(--foreground);
	font-weight: 500;
}

.docs-base-url .copy-btn {
	padding: 0.125rem;
	cursor: pointer;
	background: none;
	border: none;
	color: var(--muted-foreground);
	transition: color 0.15s;
	display: flex;
}

.docs-base-url .copy-btn:hover { color: var(--foreground); }

/* ─── Sections ───────────────────────────────────────── */
.docs-section {
	margin-bottom: 3.5rem;
	scroll-margin-top: 5rem;
}

.docs-section-divider {
	margin: 3.5rem 0;
	border: none;
	border-top: 1px solid var(--border);
}

.docs-section h2 {
	font-size: 1.375rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: var(--foreground);
	margin-bottom: 0.875rem;
}

.docs-section h3 {
	font-size: 1rem;
	font-weight: 650;
	color: var(--foreground);
	margin-bottom: 0.625rem;
	margin-top: 2rem;
}

.docs-section h3:first-child { margin-top: 0; }

.docs-section p {
	font-size: 0.9375rem;
	color: var(--muted-foreground);
	line-height: 1.75;
	margin-bottom: 0.75rem;
}

.docs-section a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: oklch(0.546 0.182 252 / 0.3);
	transition: text-decoration-color 0.15s;
}

.docs-section a:hover {
	text-decoration-color: var(--primary);
}

/* ─── Endpoint Header ────────────────────────────────── */
.endpoint-header {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.method-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.1875rem 0.5rem;
	border-radius: 0.3125rem;
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.method-badge.get {
	background: oklch(0.87 0.15 154 / 0.15);
	color: oklch(0.42 0.12 155);
}

.method-badge.post {
	background: oklch(0.546 0.182 252 / 0.12);
	color: oklch(0.42 0.18 252);
}

.method-badge.delete {
	background: oklch(0.577 0.245 27 / 0.12);
	color: oklch(0.45 0.2 27);
}

.endpoint-path {
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 1.0625rem;
	font-weight: 650;
	color: var(--foreground);
}

/* ─── Code Blocks ────────────────────────────────────── */
.code-wrapper {
	border-radius: 0.625rem;
	overflow: hidden;
	margin: 0.75rem 0 1.25rem;
	border: 1px solid oklch(0.2 0.015 255);
}

.code-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.4375rem 0.875rem;
	background: oklch(0.14 0.012 255);
	border-bottom: 1px solid oklch(0.22 0.015 255);
}

.code-lang {
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 0.6875rem;
	font-weight: 500;
	color: oklch(0.65 0.02 255);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.code-copy {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.1875rem 0.5rem;
	border-radius: 0.3125rem;
	border: none;
	background: oklch(0.22 0.015 255);
	color: oklch(0.65 0.02 255);
	font-family: inherit;
	font-size: 0.6875rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.code-copy:hover {
	background: oklch(0.28 0.015 255);
	color: oklch(0.8 0.01 255);
}

.code-copy.copied {
	color: oklch(0.7 0.17 162);
}

.code-copy svg {
	width: 13px;
	height: 13px;
}

.code-block-doc {
	background: oklch(0.11 0.01 255);
	padding: 1rem 1.125rem;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: oklch(0.25 0.01 255) transparent;
}

.code-block-doc::-webkit-scrollbar { height: 4px; }
.code-block-doc::-webkit-scrollbar-track { background: transparent; }
.code-block-doc::-webkit-scrollbar-thumb { background: oklch(0.25 0.01 255); border-radius: 4px; }

.code-block-doc pre {
	margin: 0;
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 0.8125rem;
	line-height: 1.65;
	color: oklch(0.85 0.01 255);
	white-space: pre;
	tab-size: 2;
}

/* Inline code */
.docs-section code:not(pre code) {
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 0.825em;
	background: oklch(0.94 0.005 255);
	border: 1px solid var(--border);
	border-radius: 0.3125rem;
	padding: 0.0625rem 0.3125rem;
	color: var(--foreground);
	font-weight: 450;
}

/* JSON syntax highlights */
.code-block-doc .json-key { color: oklch(0.78 0.1 220); }
.code-block-doc .json-string { color: oklch(0.78 0.12 160); }
.code-block-doc .json-number { color: oklch(0.82 0.14 80); }
.code-block-doc .json-bool { color: oklch(0.78 0.16 30); }
.code-block-doc .json-null { color: oklch(0.6 0.02 255); font-style: italic; }
.code-block-doc .code-comment { color: oklch(0.5 0.02 255); font-style: italic; }

/* ─── Code Tabs ──────────────────────────────────────── */
.code-tabs {
	border-radius: 0.625rem;
	overflow: hidden;
	margin: 0.75rem 0 1.25rem;
	border: 1px solid oklch(0.2 0.015 255);
}

.code-tab-bar {
	display: flex;
	align-items: center;
	gap: 0;
	background: oklch(0.14 0.012 255);
	border-bottom: 1px solid oklch(0.22 0.015 255);
	padding: 0 0.5rem;
}

.code-tab-btn {
	padding: 0.5rem 0.75rem;
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 0.6875rem;
	font-weight: 500;
	color: oklch(0.55 0.02 255);
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s;
	margin-bottom: -1px;
}

.code-tab-btn:hover {
	color: oklch(0.75 0.02 255);
}

.code-tab-btn.active {
	color: oklch(0.9 0.01 255);
	border-bottom-color: var(--primary);
}

.code-tab-bar .code-copy {
	margin-left: auto;
}

.code-tab-panel {
	display: none;
}

.code-tab-panel.active {
	display: block;
}

/* ─── Parameter Tables ───────────────────────────────── */
.docs-table-wrap {
	overflow-x: auto;
	margin: 0.75rem 0 1.25rem;
	border: 1px solid var(--border);
	border-radius: 0.625rem;
}

.docs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.8125rem;
}

.docs-table th {
	text-align: left;
	font-weight: 650;
	color: var(--foreground);
	padding: 0.625rem 1rem;
	background: oklch(0.975 0.004 250);
	border-bottom: 1px solid var(--border);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.docs-table td {
	padding: 0.5625rem 1rem;
	border-bottom: 1px solid oklch(0.94 0.005 255);
	color: var(--muted-foreground);
	vertical-align: top;
}

.docs-table tr:last-child td {
	border-bottom: none;
}

.docs-table td:first-child {
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 0.8125rem;
	color: var(--foreground);
	font-weight: 500;
	white-space: nowrap;
}

.docs-table .required {
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: oklch(0.577 0.245 27);
	background: oklch(0.577 0.245 27 / 0.08);
	padding: 0.0625rem 0.3125rem;
	border-radius: 0.1875rem;
	margin-left: 0.375rem;
}

.docs-table .optional {
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--muted-foreground);
	opacity: 0.7;
	margin-left: 0.375rem;
}

.docs-table .type-label {
	font-size: 0.75rem;
	color: var(--muted-foreground);
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

/* ─── Callout Boxes ──────────────────────────────────── */
.docs-callout {
	border-radius: 0.625rem;
	padding: 0.875rem 1.125rem;
	margin: 1rem 0;
	font-size: 0.875rem;
	line-height: 1.65;
}

.docs-callout-title {
	font-weight: 650;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.25rem;
}

.docs-callout.info {
	background: oklch(0.546 0.182 252 / 0.06);
	border: 1px solid oklch(0.546 0.182 252 / 0.15);
	color: var(--foreground);
}

.docs-callout.info .docs-callout-title { color: var(--primary); }

.docs-callout.warning {
	background: oklch(0.76 0.188 70 / 0.08);
	border: 1px solid oklch(0.76 0.188 70 / 0.2);
	color: var(--foreground);
}

.docs-callout.warning .docs-callout-title { color: oklch(0.55 0.16 49); }

/* ─── Status Badges ──────────────────────────────────── */
.status-badges {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin: 0.5rem 0 1rem;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.625rem;
	border-radius: 0.375rem;
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 0.75rem;
	font-weight: 600;
}

.status-badge.s200 { background: oklch(0.87 0.15 154 / 0.12); color: oklch(0.42 0.12 155); }
.status-badge.s400 { background: oklch(0.76 0.188 70 / 0.12); color: oklch(0.5 0.15 49); }
.status-badge.s401 { background: oklch(0.76 0.188 70 / 0.12); color: oklch(0.5 0.15 49); }
.status-badge.s402 { background: oklch(0.76 0.188 70 / 0.12); color: oklch(0.5 0.15 49); }
.status-badge.s404 { background: oklch(0.76 0.188 70 / 0.12); color: oklch(0.5 0.15 49); }
.status-badge.s429 { background: oklch(0.76 0.188 70 / 0.12); color: oklch(0.5 0.15 49); }
.status-badge.s500 { background: oklch(0.577 0.245 27 / 0.1); color: oklch(0.5 0.2 27); }

.status-dot {
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background: currentColor;
}

/* ─── Guide Cards ────────────────────────────────────── */
.docs-guide-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	margin: 1rem 0;
}

@media (min-width: 640px) {
	.docs-guide-grid { grid-template-columns: repeat(2, 1fr); }
}

.docs-guide-card {
	display: flex;
	gap: 0.875rem;
	padding: 1rem 1.125rem;
	border: 1px solid var(--border);
	border-radius: 0.625rem;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
	background: white;
}

.docs-guide-card:hover {
	border-color: oklch(0.546 0.182 252 / 0.3);
	box-shadow: 0 4px 16px oklch(0 0 0 / 0.05);
	transform: translateY(-1px);
}

.docs-guide-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 0.5rem;
	background: oklch(0.546 0.182 252 / 0.08);
	color: var(--primary);
	font-size: 0.8125rem;
	font-weight: 700;
	flex-shrink: 0;
}

.docs-guide-card-body {
	min-width: 0;
}

.docs-guide-card-title {
	font-size: 0.8125rem;
	font-weight: 650;
	color: var(--foreground);
	margin-bottom: 0.125rem;
}

.docs-guide-card-desc {
	font-size: 0.75rem;
	color: var(--muted-foreground);
	line-height: 1.5;
}

/* ─── SDK Cards ──────────────────────────────────────── */
.docs-sdk-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 1rem 0;
}

@media (min-width: 640px) {
	.docs-sdk-grid { grid-template-columns: repeat(2, 1fr); }
}

.docs-sdk-card {
	border: 1px solid var(--border);
	border-radius: 0.625rem;
	overflow: hidden;
	background: white;
	position: relative;
}

.docs-sdk-card.coming-soon {
	opacity: 0.7;
}

.docs-sdk-card.coming-soon::after {
	content: '';
	position: absolute;
	inset: 0;
	background: oklch(1 0 0 / 0.15);
	pointer-events: none;
}

.docs-sdk-header {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.875rem 1rem;
	border-bottom: 1px solid var(--border);
	background: oklch(0.98 0.002 250);
}

.docs-sdk-icon {
	width: 1.5rem;
	height: 1.5rem;
}

.docs-sdk-name {
	font-size: 0.875rem;
	font-weight: 650;
	color: var(--foreground);
}

.docs-sdk-badge {
	margin-left: auto;
	font-size: 0.5625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.125rem 0.4375rem;
	border-radius: 9999px;
}

.docs-sdk-badge.soon {
	background: oklch(0.76 0.188 70 / 0.12);
	color: oklch(0.55 0.16 49);
}

.docs-sdk-badge.available {
	background: oklch(0.87 0.15 154 / 0.15);
	color: oklch(0.42 0.12 155);
}

.docs-sdk-body {
	padding: 0.875rem 1rem;
}

.docs-sdk-install {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4375rem 0.75rem;
	background: oklch(0.11 0.01 255);
	border-radius: 0.375rem;
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-size: 0.75rem;
	color: oklch(0.8 0.01 255);
	margin-bottom: 0.75rem;
}

.docs-sdk-install .prompt {
	color: oklch(0.5 0.02 255);
	user-select: none;
}

.docs-sdk-desc {
	font-size: 0.8125rem;
	color: var(--muted-foreground);
	line-height: 1.6;
}

/* ─── Integration cards ──────────────────────────────── */
.docs-integration-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 1rem 0;
}

@media (min-width: 640px) {
	.docs-integration-grid { grid-template-columns: repeat(2, 1fr); }
}

.docs-integration-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.125rem;
	border: 1px solid var(--border);
	border-radius: 0.625rem;
	background: white;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.docs-integration-card:hover {
	border-color: oklch(0.546 0.182 252 / 0.3);
	box-shadow: 0 4px 16px oklch(0 0 0 / 0.05);
	transform: translateY(-1px);
}

.docs-integration-card img {
	height: 2.5rem;
	width: auto;
	flex-shrink: 0;
}

.docs-integration-card-title {
	font-size: 0.875rem;
	font-weight: 650;
	color: var(--foreground);
}

.docs-integration-card-desc {
	font-size: 0.75rem;
	color: var(--muted-foreground);
	margin-top: 0.125rem;
}

/* ─── Error table ────────────────────────────────────── */
.docs-error-table td:first-child {
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
	font-weight: 600;
}

/* ─── Utility ────────────────────────────────────────── */
.docs-section ul {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 1rem;
}

.docs-section ul li {
	position: relative;
	padding-left: 1.25rem;
	font-size: 0.9375rem;
	color: var(--muted-foreground);
	line-height: 1.75;
	margin-bottom: 0.25rem;
}

.docs-section ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.625rem;
	width: 0.3125rem;
	height: 0.3125rem;
	border-radius: 50%;
	background: oklch(0.546 0.182 252 / 0.5);
}

.docs-section ol {
	padding-left: 1.25rem;
	margin: 0.5rem 0 1rem;
	counter-reset: docs-ol;
	list-style: none;
}

.docs-section ol li {
	position: relative;
	padding-left: 0.5rem;
	font-size: 0.9375rem;
	color: var(--muted-foreground);
	line-height: 1.75;
	margin-bottom: 0.25rem;
	counter-increment: docs-ol;
}

.docs-section ol li::before {
	content: counter(docs-ol) ".";
	position: absolute;
	left: -1.25rem;
	font-weight: 600;
	color: var(--primary);
	font-size: 0.875rem;
}

.docs-muted { color: var(--muted-foreground); }
.docs-small { font-size: 0.8125rem; }

/* ─── Scroll reveal ──────────────────────────────────── */
[data-doc-reveal] {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-doc-reveal].revealed {
	opacity: 1;
	transform: translateY(0);
}
