:root {
	--ink: #172326;
	--muted: #627175;
	--line: #d8e0df;
	--surface: #ffffff;
	--page: #f4f7f6;
	--teal: #087a70;
	--teal-dark: #075b54;
	--teal-soft: #e5f4f1;
	--navy: #182b3a;
	--code: #10191d;
	--warning: #9b3d22;
	--warning-soft: #fff1ec;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	color: var(--ink);
	background: var(--page);
	font-synthesis: none;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	background: var(--page);
}

a {
	color: inherit;
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	padding: 0 32px;
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.96);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	font-weight: 650;
	text-decoration: none;
}

.brand strong {
	color: var(--teal);
}

.brand-mark {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 6px;
	background: var(--navy);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.version {
	padding: 5px 9px;
	border: 1px solid #b8d9d4;
	border-radius: 6px;
	color: var(--teal-dark);
	background: var(--teal-soft);
	font-size: 12px;
	font-weight: 700;
}

.docs-shell {
	display: grid;
	grid-template-columns: 250px minmax(0, 760px) 180px;
	gap: 48px;
	width: min(1280px, 100%);
	margin: 0 auto;
	padding: 40px 32px 96px;
}

.sidebar,
.on-this-page {
	position: sticky;
	top: 104px;
	align-self: start;
}

.sidebar-title,
.on-this-page p {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.nav-group {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 750;
}

.nav-link {
	display: block;
	padding: 9px 12px;
	border-left: 3px solid transparent;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none;
}

.nav-link.active {
	border-color: var(--teal);
	color: var(--teal-dark);
	background: var(--teal-soft);
	font-weight: 650;
}

.content {
	min-width: 0;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--teal);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

h1,
h2 {
	letter-spacing: 0;
}

h1 {
	max-width: 720px;
	margin: 0;
	font-size: clamp(34px, 5vw, 48px);
	line-height: 1.08;
}

h2 {
	margin: 0 0 16px;
	font-size: 24px;
}

.lead {
	margin: 18px 0 28px;
	color: var(--muted);
	font-size: 19px;
	line-height: 1.65;
}

section {
	padding: 34px 0;
	border-bottom: 1px solid var(--line);
}

section p,
.notice {
	font-size: 15px;
	line-height: 1.7;
}

.notice {
	padding: 16px 18px;
	border: 1px solid #b8d9d4;
	border-left: 4px solid var(--teal);
	border-radius: 6px;
	background: var(--teal-soft);
}

.notice p {
	margin: 4px 0 0;
}

.security-notice {
	border-color: #efc8bb;
	border-left-color: var(--warning);
	background: var(--warning-soft);
}

.endpoint {
	display: flex;
	align-items: center;
	gap: 12px;
	overflow-x: auto;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--surface);
}

.method {
	padding: 4px 7px;
	border-radius: 4px;
	color: #fff;
	background: var(--teal);
	font-size: 12px;
	font-weight: 800;
}

.code-block {
	overflow: hidden;
	margin-top: 18px;
	border: 1px solid #263a43;
	border-radius: 6px;
	background: var(--code);
	color: #e8f2f0;
}

.code-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 42px;
	padding: 0 14px;
	border-bottom: 1px solid #2c4149;
	color: #adc0c5;
	font-size: 12px;
	font-weight: 700;
}

.code-title button {
	border: 0;
	color: #b9e9e1;
	background: transparent;
	cursor: pointer;
	font: inherit;
}

.code-title button:hover,
.code-title button:focus-visible {
	color: #fff;
	text-decoration: underline;
}

pre {
	overflow-x: auto;
	margin: 0;
	padding: 18px;
	font-size: 13px;
	line-height: 1.65;
}

code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:not(pre) > code {
	padding: 2px 5px;
	border-radius: 4px;
	color: var(--navy);
	background: #e6ecec;
	font-size: 0.9em;
}

.table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--surface);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

th,
td {
	padding: 13px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

th {
	color: var(--muted);
	background: #f7f9f9;
	font-size: 12px;
	text-transform: uppercase;
}

tr:last-child td {
	border-bottom: 0;
}

.steps {
	padding-left: 24px;
	line-height: 1.8;
}

.on-this-page {
	display: grid;
	gap: 10px;
}

.on-this-page p {
	margin-bottom: 4px;
}

.on-this-page a {
	color: var(--muted);
	font-size: 13px;
	text-decoration: none;
}

.on-this-page a:hover {
	color: var(--teal);
}

@media (max-width: 1050px) {
	.docs-shell {
		grid-template-columns: 220px minmax(0, 1fr);
	}

	.on-this-page {
		display: none;
	}
}

@media (max-width: 760px) {
	.topbar {
		padding: 0 18px;
	}

	.docs-shell {
		display: block;
		padding: 24px 18px 64px;
	}

	.sidebar {
		position: static;
		margin-bottom: 36px;
	}

	h1 {
		font-size: 36px;
	}

	.endpoint {
		align-items: flex-start;
		flex-direction: column;
	}
}
