html,
body {
	overflow-x: hidden;
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	white-space: nowrap;
	border: 0;
	clip-path: inset(50%);
}
main {
	max-width: 72ch;
}
h1,
h2,
h3 {
	margin: 0;
	font-weight: 700;
}
.wordmark::after {
	animation: idle-double-blink 11s steps(1) infinite;
}
.meta {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	color: var(--dim);
}
footer a,
.meta a {
	color: var(--dim);
}
.meta a:hover {
	color: var(--bg);
}
hr.rule {
	margin: 3rem 0 2rem;
	border: 0;
	border-top: 1px solid var(--rule);
}
.section-tag {
	display: block;
	margin: 0 0 0.75rem;
	font-size: var(--text-xs);
	color: var(--dim);
	text-transform: uppercase;
	letter-spacing: var(--ls-caps);
}
.install {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.625rem;
	margin: 0.75rem 0 0;
}
.copy {
	position: relative;
	min-width: 0;
	max-width: 100%;
	padding: 0.85rem 1rem;
	font: inherit;
	color: var(--ink);
	text-align: left;
	cursor: pointer;
	background: transparent;
	border: 1px solid var(--ink);
	border-radius: var(--radius-sm);
	transition: background var(--dur-fast) linear, color var(--dur-fast) linear;
}
.copy:hover {
	color: var(--bg);
	background: var(--ink);
}
.copy:focus-visible {
	outline: var(--ring-width) solid var(--tomato);
	outline-offset: var(--ring-offset);
}
.copy.pri {
	border-color: var(--tomato);
}
.copy.pri:hover {
	color: var(--bg);
	background: var(--tomato);
	border-color: var(--tomato);
}
.copy .label {
	display: block;
	margin-bottom: 0.25rem;
	font-size: var(--text-micro);
	color: var(--dim);
	text-transform: uppercase;
	letter-spacing: var(--ls-caps);
}
.copy:hover .label {
	color: inherit;
	opacity: 0.7;
}
.copy .cmd {
	display: block;
	overflow-x: auto;
	font-size: 0.95rem;
	white-space: nowrap;
}
.copy .cmd::before {
	content: "$ ";
	opacity: 0.5;
}
.copy .toast {
	position: absolute;
	top: 0.4rem;
	right: 0.55rem;
	visibility: hidden;
	font-size: var(--text-micro);
	color: var(--moss);
	text-transform: uppercase;
	letter-spacing: var(--ls-caps);
	pointer-events: none;
	opacity: 0;
	transform: translateY(-2px);
	transition:
		opacity var(--dur-base) linear,
		transform var(--dur-base) linear,
		visibility 0s linear var(--dur-base);
}
.copy.copied .toast {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity var(--dur-base) linear,
		transform var(--dur-base) linear,
		visibility 0s linear 0s;
}
.copy:hover .toast {
	color: var(--bg);
}
.install + .term {
	margin-top: 1.25rem;
}
.term .prompt {
	color: var(--term-dim);
}
.term .bold {
	font-weight: 700;
	color: var(--term-bold);
}
.term .green {
	font-weight: 700;
	color: var(--term-green);
}
.term .link {
	color: var(--term-fg);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	background: transparent;
}
.term .link:hover {
	color: var(--term-bold);
	background: transparent;
}
.term .arrow {
	color: var(--term-dim);
}
.term .cursor {
	display: inline-block;
	width: 0.6em;
	color: transparent;
	background: var(--term-fg);
	animation: blink 1.05s steps(1) 5;
}
@keyframes blink {
	50% {
		opacity: 0;
	}
}
@keyframes idle-double-blink {
	0%,
	90% {
		opacity: 1;
	}
	91% {
		opacity: 0;
	}
	92% {
		opacity: 1;
	}
	93% {
		opacity: 0;
	}
	94%,
	100% {
		opacity: 1;
	}
}
@media (prefers-reduced-motion: reduce) {
	.wordmark::after,
	.term .cursor {
		animation: none;
	}
}
.matrix {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	margin: 0.5rem 0 0;
}
@media (min-width: 44rem) {
	.matrix {
		grid-template-columns: 1.4fr 1fr 1.4fr;
		gap: 2rem;
	}
}
.matrix h3 {
	margin-bottom: 0.5rem;
	font-size: var(--text-xs);
	color: var(--dim);
	text-transform: uppercase;
	letter-spacing: var(--ls-caps);
}
.matrix ul {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 1.25rem;
}
.matrix .single ul {
	columns: 1;
}
.matrix li {
	padding: 0.05rem 0;
	break-inside: avoid;
}
.why {
	padding: 0;
	margin: 0.5rem 0 0;
	list-style: none;
	counter-reset: why;
}
.why li {
	position: relative;
	padding: 0.5rem 0 0.5rem 3.25rem;
	counter-increment: why;
	border-top: 1px dashed var(--rule);
}
.why li:first-child {
	padding-top: 0.25rem;
	border-top: 0;
}
.why li:last-child {
	padding-bottom: 0.25rem;
}
.why li::before {
	position: absolute;
	top: 0.55rem;
	left: 0;
	font-size: 0.78rem;
	color: var(--dim);
	letter-spacing: 0.06em;
	content: counter(why, decimal-leading-zero);
}
.why li:first-child::before {
	top: 0.3rem;
}
footer {
	padding-top: 1.25rem;
	margin-top: 4rem;
	font-size: 0.85rem;
	color: var(--dim);
	border-top: 1px solid var(--ink);
}
@media (max-width: 40rem) {
	.matrix ul {
		columns: auto;
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		font-size: 0.9rem;
	}
	.matrix li {
		padding: 0;
	}
	.matrix li + li::before {
		padding: 0 0.5rem;
		color: var(--dim);
		content: "·";
		opacity: 0.7;
	}
	.copy {
		padding: 0.7rem 0.85rem;
	}
	.copy .cmd {
		overflow-x: visible;
		font-size: 0.85rem;
		overflow-wrap: anywhere;
		white-space: normal;
	}
	.copy .label {
		white-space: normal;
	}
	hr.rule {
		margin: 2rem 0 1.25rem;
	}
}
