:root {
	color-scheme: light;
	--paper: #f8f9f5;
	--ink: #202b26;
	--muted: #65716a;
	--line: #e2e6dd;
	--accent: #47614d;
	--code: #eef0e9;
	--sidebar: 230px;
	--header: 76px;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 104px;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font:
		15px / 1.75 -apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	-webkit-font-smoothing: antialiased;
}
a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}
a:hover {
	color: var(--ink);
}
button {
	font: inherit;
	cursor: pointer;
}
button,
a {
	-webkit-tap-highlight-color: transparent;
}
:focus-visible {
	outline: 2px solid #5369a1;
	outline-offset: 5px;
	border-radius: 3px;
}
button:disabled {
	cursor: default;
}
::selection {
	background: #dce5d5;
}
code,
kbd {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
code {
	font-size: 0.85em;
	overflow-wrap: anywhere;
}
p code,
td code,
li code,
.note code {
	background: var(--code);
	border-radius: 4px;
	padding: 2px 5px;
}
kbd {
	font-size: 12px;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: 0 1px 0 #d5d9d0;
	border-radius: 4px;
	padding: 2px 5px;
	white-space: nowrap;
}
p {
	margin: 0 0 20px;
}
strong {
	font-weight: 600;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link {
	position: fixed;
	left: 20px;
	top: -80px;
	z-index: 10;
	background: var(--ink);
	color: white;
	padding: 8px 18px;
}
.skip-link:focus {
	top: 10px;
}
.header {
	height: var(--header);
	padding: 0 44px;
	border-bottom: 1px solid var(--line);
	background: var(--paper);
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--ink);
	font-size: 19px;
	font-weight: 650;
	letter-spacing: -0.6px;
}
.brand-icon {
	display: block;
	width: 35px;
	height: 35px;
	flex-shrink: 0;
}
.brand-label {
	margin-left: 8px;
	padding-left: 20px;
	border-left: 1px solid #d6dbd1;
	color: var(--muted);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
}
.header-actions {
	display: flex;
	gap: 24px;
	align-items: center;
}
.github-link {
	color: var(--ink);
	font-size: 13px;
	text-decoration: none;
}
.github-link span {
	margin-left: 8px;
	color: var(--muted);
}
.menu-toggle {
	display: none;
	background: var(--code);
	border: 0;
	border-radius: 5px;
	padding: 5px 12px;
	color: var(--ink);
}
.layout {
	max-width: 1456px;
	margin: auto;
	display: grid;
	grid-template-columns: var(--sidebar) minmax(0, 1fr);
	padding: 0 44px;
	gap: 68px;
}
.sidebar {
	position: sticky;
	top: var(--header);
	align-self: start;
	height: calc(100vh - var(--header));
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 36px 0 28px;
}
.nav-label {
	font-size: 10px;
	font-weight: 650;
	color: var(--muted);
	letter-spacing: 1.3px;
	margin: 24px 0 9px 12px;
}
.nav-label:first-child {
	margin-top: 0;
}
.sidebar nav a {
	display: block;
	text-decoration: none;
	color: var(--muted);
	font-size: 13px;
	padding: 7px 12px;
	border-radius: 5px;
	margin: 1px 0;
}
.sidebar nav a:hover {
	background: #f0f2eb;
	color: var(--ink);
}
.sidebar nav a[aria-current] {
	background: #e9ede4;
	color: var(--ink);
	font-weight: 600;
}
.sidebar nav a span {
	float: right;
}
.sidebar-note {
	font-size: 11px;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 8px;
}
.status-dot {
	width: 6px;
	height: 6px;
	display: inline-block;
	background: #6f8567;
	border-radius: 50%;
	flex-shrink: 0;
}
main {
	min-width: 0;
	max-width: 930px;
	padding: 68px 0 0;
}
.hero {
	scroll-margin-top: 25px;
}
.eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 10px;
	letter-spacing: 1.7px;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 22px;
}
h1 {
	font-size: clamp(38px, 4.5vw, 60px);
	line-height: 1.1;
	font-weight: 550;
	letter-spacing: -2.6px;
	margin: 0 0 24px;
}
.hero-description {
	font-size: 17px;
	line-height: 1.7;
	color: var(--muted);
	margin-bottom: 28px;
}
.hero-actions {
	display: flex;
	align-items: center;
	gap: 27px;
	margin-bottom: 42px;
}
.button-primary {
	display: inline-flex;
	gap: 23px;
	align-items: center;
	padding: 10px 20px;
	background: var(--ink);
	color: #fff;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}
.button-primary:hover {
	background: #35473a;
	color: #fff;
}
.text-link {
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}
.text-link span {
	margin-left: 9px;
}
.screenshot {
	margin: 0;
}
.screenshot img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 9px;
	box-shadow: 0 16px 32px -20px #19251e66;
}
.screenshot figcaption {
	font-size: 11px;
	line-height: 1.6;
	color: var(--muted);
	text-align: center;
	padding: 15px 0 0;
}
.features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin: 40px 0 0;
	padding-bottom: 8px;
}
.feature-number {
	font-size: 9px;
	letter-spacing: 1.3px;
	color: var(--muted);
	font-family: "SFMono-Regular", Consolas, monospace;
}
.features h3 {
	font-size: 14px;
	margin: 9px 0 7px;
	font-weight: 600;
}
.features p {
	font-size: 12px;
	line-height: 1.75;
	color: var(--muted);
	margin: 0;
}
.doc-section {
	padding-top: 56px;
	margin-top: 56px;
	border-top: 1px solid var(--line);
	scroll-margin-top: 0;
}
.section-kicker {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.7px;
	color: var(--muted);
	margin-bottom: 10px;
}
h2 {
	font-size: 30px;
	line-height: 1.25;
	letter-spacing: -0.9px;
	font-weight: 550;
	margin: 0 0 23px;
}
h3 {
	font-size: 18px;
	letter-spacing: -0.25px;
	line-height: 1.4;
	font-weight: 600;
	margin: 32px 0 14px;
}
.doc-section > p {
	color: #58655d;
	max-width: 780px;
}
.doc-section > p strong {
	color: var(--ink);
}
.code-block {
	position: relative;
	background: var(--code);
	border: 1px solid var(--line);
	border-radius: 7px;
	margin: 22px 0;
	overflow: hidden;
}
.code-label {
	font-size: 10px;
	font-weight: 500;
	color: var(--muted);
	padding: 11px 18px;
	border-bottom: 1px solid #e0e4d9;
}
.code-block pre {
	margin: 0;
	padding: 20px;
	overflow-x: auto;
	font-size: 13px;
	line-height: 1.9;
	tab-size: 2;
}
.code-block pre code {
	font-size: inherit;
	white-space: pre;
	overflow-wrap: normal;
}
.copy-button {
	position: absolute;
	top: 6px;
	right: 8px;
	border: 0;
	border-radius: 4px;
	background: var(--code);
	color: var(--muted);
	font-size: 10px;
	padding: 4px 9px;
	min-width: 48px;
}
.code-block:not(:has(.code-label)) .copy-button {
	top: 7px;
	background: var(--paper);
}
.copy-button:hover {
	background: #e0e5d8;
	color: var(--ink);
}
.note {
	padding: 18px 20px;
	background: #ecefe6;
	border-radius: 6px;
	color: #52604f;
	font-size: 13px;
	margin: 24px 0;
}
.note strong {
	color: var(--ink);
}
.path-card {
	background: var(--code);
	border-radius: 6px;
	padding: 17px 20px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 24px 0;
}
.path-card span {
	font-size: 10px;
	color: var(--muted);
}
.path-card code {
	font-size: 13px;
}
.table-wrap {
	overflow-x: auto;
	margin: 24px 0;
}
table {
	border-collapse: collapse;
	width: 100%;
	font-size: 13px;
	text-align: left;
}
th {
	font-size: 11px;
	color: var(--muted);
	font-weight: 600;
	padding: 10px 12px;
	background: var(--code);
}
td {
	padding: 13px 12px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	color: #58655d;
}
td:first-child {
	color: var(--ink);
	width: 35%;
}
td code {
	font-size: 11px;
}
caption {
	text-align: left;
}
.precedence {
	columns: 2;
	padding-left: 26px;
	color: var(--muted);
	font-size: 13px;
}
.precedence li {
	padding: 6px 0;
	break-inside: avoid;
}
.filename-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 28px;
}
.filename-list code {
	background: var(--code);
	padding: 5px 9px;
	border-radius: 5px;
	font-size: 11px;
	color: #52604f;
}
details {
	background: var(--code);
	padding: 14px 18px;
	border-radius: 6px;
	margin: 24px 0;
	font-size: 13px;
}
summary {
	cursor: pointer;
	font-weight: 500;
}
details .code-block {
	border: 0;
	margin: 12px 0 0;
}
details .code-block pre {
	padding: 18px 0 6px;
}
.help-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--code);
	border-radius: 7px;
	padding: 24px;
	margin-top: 36px;
}
.help-card h3 {
	font-size: 15px;
	margin: 0 0 5px;
}
.help-card p {
	font-size: 12px;
	color: var(--muted);
	margin: 0;
}
.help-card a {
	flex-shrink: 0;
}
footer {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 64px;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	font-size: 10px;
	color: var(--muted);
}
footer a {
	text-decoration: none;
}
@media (min-width: 1600px) {
	.layout {
		gap: 88px;
	}
	main {
		padding-top: 80px;
	}
}
@media (max-width: 1100px) {
	:root {
		--sidebar: 185px;
	}
	.layout {
		gap: 40px;
		padding: 0 30px;
	}
	.header {
		padding: 0 30px;
	}
	main {
		padding-top: 48px;
	}
	h1 {
		font-size: 47px;
	}
	.features {
		gap: 18px;
	}
	.eyebrow {
		font-size: 9px;
	}
}
@media (max-width: 760px) {
	:root {
		--header: 65px;
	}
	.header {
		padding: 0 22px;
	}
	.brand {
		font-size: 17px;
		gap: 9px;
	}
	.brand-label {
		display: none;
	}
	.header-actions {
		gap: 18px;
	}
	.layout {
		display: block;
		padding: 0 24px;
	}
	.sidebar {
		position: static;
		height: auto;
		padding: 18px 0;
		border-bottom: 1px solid var(--line);
	}
	.sidebar-note {
		display: none;
	}
	.sidebar nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 3px;
	}
	.nav-label {
		grid-column: 1 / -1;
		margin: 12px 0 3px 12px;
	}
	.js .menu-toggle {
		display: block;
	}
	.js .sidebar {
		display: none;
	}
	.js .sidebar.is-open {
		display: block;
	}
	.sidebar nav a {
		font-size: 13px;
	}
	.github-link {
		font-size: 12px;
	}
	main {
		padding-top: 38px;
	}
	h1 {
		font-size: 42px;
		letter-spacing: -1.8px;
	}
	.eyebrow {
		font-size: 8px;
		letter-spacing: 1.1px;
	}
	.hero-description {
		font-size: 15px;
	}
	.desktop-break {
		display: none;
	}
	.hero-actions {
		gap: 23px;
		margin-bottom: 30px;
	}
	.screenshot img {
		border-radius: 6px;
	}
	.screenshot figcaption {
		font-size: 10px;
		padding-top: 12px;
	}
	.features {
		grid-template-columns: 1fr;
		gap: 22px;
		margin-top: 32px;
	}
	.features > div {
		display: grid;
		grid-template-columns: 90px 1fr;
		column-gap: 14px;
	}
	.feature-number {
		grid-row: 1 / 3;
		padding-top: 2px;
		font-size: 8px;
	}
	.features h3 {
		margin: 0 0 5px;
	}
	.features p {
		grid-column: 2;
	}
	.doc-section {
		padding-top: 36px;
		margin-top: 40px;
	}
	h2 {
		font-size: 27px;
	}
	.doc-section > p {
		font-size: 14px;
	}
	.code-block pre {
		font-size: 11px;
		padding: 17px;
	}
	.table-wrap {
		margin: 20px 0;
	}
	th,
	td {
		padding: 10px;
		font-size: 12px;
	}
	td:first-child {
		min-width: 145px;
	}
	.note {
		padding: 16px;
		font-size: 12px;
	}
	.path-card code {
		font-size: 11px;
	}
	.precedence {
		columns: 1;
	}
	.help-card {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px;
	}
	footer {
		flex-direction: column;
		gap: 5px;
		margin-top: 40px;
	}
	.filename-list {
		gap: 6px;
	}
	.filename-list code {
		font-size: 10px;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* Project identity and accessible light/dark surfaces. */
:root { --paper:#fafafa; --ink:#1e2232; --muted:#626878; --line:#e4e5eb; --accent:#443978; --code:#f0f1f5; }
[data-theme="dark"] { color-scheme:dark; --paper:#10121a; --ink:#edf0fa; --muted:#a3abc0; --line:#303441; --accent:#b7bef0; --code:#1c202c; }
.doc-section > p, td, .note { color:var(--muted); }
.note, .sidebar nav a:hover, .sidebar nav a[aria-current], .copy-button:hover { background:var(--code); }
.brand-label, .code-label { border-color:var(--line); }
.status-dot { background:var(--accent); }
kbd { background:var(--code); box-shadow:none; }
.theme-toggle { border:0; background:var(--code); color:var(--ink); border-radius:5px; padding:5px 10px; font-size:12px; }
[data-theme="dark"] .brand-icon { content:url("assets/brand/mark-dark.svg"); }
[data-theme="dark"] .button-primary { color:var(--paper); }
.button-primary:hover { background:var(--accent); }
@media(max-width:760px) { .header { padding:0 16px; } .header-actions { gap:10px; } .brand { font-size:15px; gap:7px; } .brand-icon { width:28px; height:28px; } }
