/* reintelligence.live — one stylesheet, no external fonts or requests. Accent: kitty gold #FEFB8A. */

:root {
	color-scheme: light;

	/* light: warm stone neutrals */
	--bg: #ffffff;
	--bg-soft: #fafaf9;
	--surface: #ffffff;
	--surface-2: #f5f5f4;
	--border: #e7e5e4;
	--border-strong: #d6d3d1;
	--text: #0c0a09;
	--muted: #57534e;
	--faint: #a8a29e;

	--gold: #fefb8a;
	--gold-ink: #1a1500;
	--accent: #8a6c00;
	--accent-strong: #6f5600;
	--accent-soft: rgba(138, 108, 0, 0.08);
	--glow: rgba(12, 10, 9, 0.035);
	--grid-dot: rgba(12, 10, 9, 0.08);

	--code-bg: #0c0c0e;
	--code-border: #232328;
	--code-text: #ececee;
	--code-muted: #8b8b93;
	--code-prompt: #fefb8a;
	--code-key: #9ecbff;
	--code-str: #ffb38a;
	--code-num: #c4b5fd;

	--shadow-lg: 0 30px 80px -30px rgba(12, 10, 9, 0.35);

	/* per-theme component tokens */
	--install-bg: var(--code-bg);
	--install-border: var(--code-border);
	--install-shadow: 0 14px 40px -16px rgba(12, 10, 9, 0.45);
	--hero-term-shadow: 0 0 0 1px rgba(12, 10, 9, 0.04), var(--shadow-lg);
	--latest: #15803d;

	--radius: 14px;
	--radius-sm: 9px;
	--maxw: 1120px;
	--gutter: clamp(16px, 4vw, 32px);

	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* dark: follows the system unless the visitor picked light; data-theme comes from the sun/moon button */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		color-scheme: dark;

		/* dark: neutral zinc */
		--bg: #0a0a0b;
		--bg-soft: #0e0e10;
		--surface: #121214;
		--surface-2: #17171a;
		--border: #222226;
		--border-strong: #2e2e33;
		--text: #ededef;
		--muted: #a1a1aa;
		--faint: #71717a;

		--accent: #fefb8a;
		--accent-strong: #fffcc4;
		--accent-soft: rgba(254, 251, 138, 0.08);
		--glow: rgba(255, 255, 255, 0.045);
		--grid-dot: rgba(255, 255, 255, 0.07);

		--code-bg: #0e0e10;
		--code-border: #232327;

		--shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.8);

		--install-bg: #141416;
		--install-border: #2e2e33;
		--install-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.6);
		--hero-term-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), var(--shadow-lg);
		--latest: #4ade80;
	}
}

:root[data-theme="dark"] {
	color-scheme: dark;

	/* dark: neutral zinc */
	--bg: #0a0a0b;
	--bg-soft: #0e0e10;
	--surface: #121214;
	--surface-2: #17171a;
	--border: #222226;
	--border-strong: #2e2e33;
	--text: #ededef;
	--muted: #a1a1aa;
	--faint: #71717a;

	--accent: #fefb8a;
	--accent-strong: #fffcc4;
	--accent-soft: rgba(254, 251, 138, 0.08);
	--glow: rgba(255, 255, 255, 0.045);
	--grid-dot: rgba(255, 255, 255, 0.07);

	--code-bg: #0e0e10;
	--code-border: #232327;

	--shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.8);

	--install-bg: #141416;
	--install-border: #2e2e33;
	--install-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.6);
	--hero-term-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), var(--shadow-lg);
	--latest: #4ade80;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--gold);
	color: var(--gold-ink);
}

a {
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--border-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.15s, color 0.15s;
}

a:hover {
	text-decoration-color: currentColor;
}

.brand,
.nav a,
.site-footer a,
.files a,
.skip {
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 6px;
}

code,
kbd,
pre {
	font-family: var(--mono);
}

p code,
li code,
td code {
	font-size: 0.85em;
	padding: 0.14em 0.42em;
	border-radius: 6px;
	color: var(--text);
	background: var(--surface-2);
	border: 1px solid var(--border);
	white-space: nowrap;
}

kbd {
	display: inline-block;
	min-width: 1.9em;
	padding: 0.12em 0.5em;
	font-size: 0.8125em;
	line-height: 1.5;
	text-align: center;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-bottom-width: 2px;
	border-radius: 7px;
}

.skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	padding: 8px 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	z-index: 100;
}

.skip:focus {
	left: 8px;
}

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ---------- header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--bg) 75%, transparent);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 64px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-weight: 650;
	letter-spacing: -0.015em;
}

.brand:hover {
	color: var(--text);
	text-decoration: none;
}

.brand svg {
	width: 28px;
	height: 28px;
	flex: none;
}

.nav {
	display: flex;
	align-items: center;
	gap: 2px;
}

.nav a {
	padding: 7px 11px;
	border-radius: 8px;
	color: var(--muted);
	font-size: 0.9375rem;
	white-space: nowrap;
	transition: color 0.15s, background 0.15s;
}

.nav a:hover {
	color: var(--text);
	background: var(--surface-2);
	text-decoration: none;
}

.theme-toggle {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-left: 4px;
	padding: 0;
	color: var(--muted);
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
	transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.theme-toggle:hover {
	color: var(--text);
	background: var(--surface-2);
	border-color: var(--border-strong);
}

.theme-toggle svg {
	display: none;
	width: 17px;
	height: 17px;
}

/* the icon shows the chosen mode: light, dark or system */
.theme-toggle[data-mode="light"] .sun,
.theme-toggle[data-mode="dark"] .moon,
.theme-toggle[data-mode="system"] .sys {
	display: block;
}

.nav a.cta {
	margin-left: 8px;
	padding: 7px 14px;
	font-weight: 600;
	color: var(--bg);
	background: var(--text);
}

.nav a.cta:hover {
	color: var(--bg);
	background: var(--text);
	opacity: 0.85;
}

@media (max-width: 760px) {
	.nav .opt {
		display: none;
	}
}

@media (max-width: 420px) {
	.nav .opt-sm {
		display: none;
	}
}

/* ---------- hero ---------- */

.hero {
	position: relative;
	padding: clamp(64px, 11vw, 128px) 0 clamp(56px, 9vw, 104px);
	overflow: hidden;
	isolation: isolate;
}

/* dot grid, fading out from the center */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: radial-gradient(var(--grid-dot) 1px, transparent 1.2px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 32%, #000 25%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 55% at 50% 32%, #000 25%, transparent 75%);
}

/* gold glow */
.hero::after {
	content: "";
	position: absolute;
	left: 50%;
	top: -280px;
	z-index: -1;
	width: min(1100px, 140vw);
	height: 680px;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, var(--glow), transparent 72%);
	pointer-events: none;
}

.hero-copy {
	max-width: 64rem;
	margin: 0 auto;
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 26px;
	padding: 5px 14px 5px 6px;
	font: 500 0.8125rem/1.6 var(--mono);
	color: var(--muted);
	background: color-mix(in srgb, var(--surface) 80%, transparent);
	border: 1px solid var(--border);
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.eyebrow .tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 1px 10px 1px 8px;
	color: var(--text);
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 999px;
	font-weight: 600;
}

.eyebrow .tag::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #28c840;
	box-shadow: 0 0 0 3px rgba(40, 200, 64, 0.18);
}

h1,
h2 {
	text-wrap: balance;
}

h1 {
	margin: 0 0 40px;
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	line-height: 1.08;
	font-weight: 760;
	letter-spacing: -0.045em;
}

.lead {
	margin: 0 auto 36px;
	max-width: 40rem;
	font-size: clamp(1.0625rem, 1.6vw, 1.21875rem);
	line-height: 1.65;
	color: var(--muted);
}

.lead strong {
	color: var(--text);
	font-weight: 600;
}

/* install line */

.install {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 42rem;
	margin: 0 auto;
	padding: 7px 7px 7px 18px;
	text-align: left;
	background: var(--install-bg);
	border: 1px solid var(--install-border);
	border-radius: var(--radius);
	box-shadow: var(--install-shadow);
}

.install code {
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	white-space: nowrap;
	color: var(--code-text);
	font-size: 0.90625rem;
	scrollbar-width: thin;
}

.install code .p {
	color: var(--code-prompt);
	user-select: none;
	margin-right: 0.6em;
}

.meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 20px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	color: var(--faint);
	font-size: 0.875rem;
}

.meta li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.meta svg {
	width: 14px;
	height: 14px;
	color: var(--muted);
}

.hero-term {
	max-width: 880px;
	margin: clamp(48px, 7vw, 72px) auto 0;
	box-shadow: var(--hero-term-shadow);
}

.caret {
	display: inline-block;
	width: 0.6em;
	height: 1.15em;
	margin-left: 1px;
	vertical-align: text-bottom;
	background: var(--code-prompt);
	animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
	50% {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.caret {
		animation: none;
	}
}

/* phones: the install line and the hero example wrap instead of scrolling */
@media (max-width: 560px) {
	.install {
		flex-wrap: wrap;
		padding: 12px 12px 12px 14px;
	}

	.install code {
		white-space: normal;
		overflow-wrap: anywhere;
		line-height: 1.5;
	}

	.install .copy {
		margin-left: auto;
	}

	.hero-term pre {
		white-space: pre-wrap;
		overflow-wrap: anywhere;
	}
}

/* ---------- buttons ---------- */

.copy {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	font: 500 0.8125rem/1 var(--font);
	color: var(--code-text);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.copy:hover {
	background: rgba(255, 255, 255, 0.12);
}

.copy svg {
	width: 14px;
	height: 14px;
}

.copy .done {
	display: none;
}

/* copy buttons always sit on dark code backgrounds */
.copy.copied {
	color: #4ade80;
	border-color: rgba(74, 222, 128, 0.45);
	background: rgba(74, 222, 128, 0.1);
}

.copy.copied .idle {
	display: none;
}

.copy.copied .done {
	display: inline;
}

/* ---------- terminal ---------- */

.term {
	background: var(--code-bg);
	border: 1px solid var(--code-border);
	border-radius: var(--radius);
	box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

.term-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 8px 0 14px;
	border-bottom: 1px solid var(--code-border);
	background: linear-gradient(rgba(255, 255, 255, 0.025), transparent);
	color: var(--code-muted);
	font: 500 0.75rem/1 var(--mono);
}

/* macOS traffic lights */
.dots {
	display: inline-flex;
	gap: 7px;
	margin-right: 8px;
}

.dots i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25);
}

.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

.term-bar .label {
	flex: 1;
}

.term-bar .copy {
	height: 28px;
	padding: 0 10px;
}

.term pre {
	margin: 0;
	padding: 20px 22px 22px;
	overflow-x: auto;
	color: var(--code-text);
	font-size: 0.84375rem;
	line-height: 1.75;
	tab-size: 4;
}

.term .p,
.mini .p {
	color: var(--code-prompt);
	user-select: none;
}

.term .c,
.mini .c {
	color: var(--code-muted);
}

.term .k,
.mini .k {
	color: var(--code-key);
}

.term .s,
.mini .s {
	color: var(--code-str);
}

.term .n,
.mini .n {
	color: var(--code-num);
}

.term .ev {
	display: block;
	margin: 6px 0;
	padding: 8px 12px;
	color: var(--code-muted);
	background: rgba(255, 255, 255, 0.035);
	border-left: 2px solid #3a3a40;
	border-radius: 0 7px 7px 0;
	white-space: normal;
	font-family: var(--font);
	font-size: 0.8125rem;
}

/* ---------- sections ---------- */

section {
	padding: clamp(64px, 10vw, 112px) 0;
}

section.soft {
	background: var(--bg-soft);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.section-head {
	max-width: 46rem;
	margin: 0 0 clamp(32px, 4.5vw, 48px);
}

h2 {
	margin: 0 0 14px;
	font-size: clamp(1.6rem, 3vw, 2.125rem);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.03em;
}

h3 {
	margin: 0 0 8px;
	font-size: 1.0625rem;
	line-height: 1.35;
	font-weight: 650;
	letter-spacing: -0.012em;
}

.section-head p {
	margin: 0;
	color: var(--muted);
	font-size: 1.09375rem;
}

/* cards: shared look */

.steps li,
.feature,
.points li,
.release {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.steps li:hover,
.feature:hover,
.points li:hover {
	border-color: var(--border-strong);
	transform: translateY(-2px);
	box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
	.steps li:hover,
	.feature:hover,
	.points li:hover {
		transform: none;
	}
}

/* steps */

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 820px) {
	.steps {
		grid-template-columns: minmax(0, 1fr);
	}
}

.steps li {
	position: relative;
	padding: 24px 24px 26px;
}

@media (min-width: 821px) {
	.steps li:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 50%;
		right: -13px;
		z-index: 1;
		width: 8px;
		height: 8px;
		border-top: 1.5px solid var(--faint);
		border-right: 1.5px solid var(--faint);
		transform: translateY(-50%) rotate(45deg);
	}
}

.steps p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9375rem;
}

/* features */

/* 6-column grid: three regular cards on top, two wide cards with code below */
.features {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}

.feature {
	grid-column: span 2;
}

@media (max-width: 920px) {
	.features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.feature {
		grid-column: span 1;
	}
}

@media (max-width: 600px) {
	.features {
		grid-template-columns: minmax(0, 1fr);
	}
}

.feature {
	padding: 26px 24px 28px;
}

.feature .icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 18px;
	color: var(--text);
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 11px;
}

.feature .icon svg {
	width: 19px;
	height: 19px;
}

.feature p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9375rem;
}

.feature.wide {
	grid-column: span 3;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.feature.wide .mini {
	margin-top: auto;
}

@media (max-width: 920px) {
	.feature.wide {
		grid-column: span 2;
	}
}

.mini {
	margin: 0;
	padding: 16px 18px;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	color: var(--code-text);
	font-size: 0.78125rem;
	line-height: 1.75;
	background: var(--code-bg);
	border: 1px solid var(--code-border);
	border-radius: 11px;
	box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.5);
}

.mini .p {
	user-select: none;
}

@media (max-width: 600px) {
	.feature.wide {
		grid-column: auto;
	}
}

/* layout helpers */

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

@media (max-width: 920px) {
	.split {
		grid-template-columns: minmax(0, 1fr);
	}
}

.stack > * + * {
	margin-top: 16px;
}

.stack-lg > * + * {
	margin-top: 24px;
}

.sub {
	margin-top: clamp(56px, 8vw, 80px);
}

.sub-head {
	max-width: 46rem;
	margin-bottom: 20px;
}

.prose p {
	margin: 0 0 14px;
	color: var(--muted);
}

.prose p:last-child {
	margin-bottom: 0;
}

.prose strong {
	color: var(--text);
	font-weight: 600;
}

.list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.list li {
	position: relative;
	padding: 0 0 10px 24px;
	color: var(--muted);
}

.list li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0.55em;
	width: 9px;
	height: 9px;
	border-radius: 3px;
	background: var(--border-strong);
}

.list li strong {
	color: var(--text);
	font-weight: 600;
}

/* agent points */

.points {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 920px) {
	.points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.points {
		grid-template-columns: minmax(0, 1fr);
	}
}

.points li {
	padding: 22px;
}

.points p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9375rem;
}

/* tables */

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

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

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

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

tbody tr {
	transition: background 0.15s;
}

tbody tr:hover {
	background: var(--bg-soft);
}

th {
	font: 600 0.71875rem/1.4 var(--mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--faint);
	background: var(--surface-2);
}

td {
	color: var(--muted);
}

td:first-child {
	color: var(--text);
	white-space: nowrap;
}

/* formats: one table, grouped by how nudge opens the file */
table.formats tr.group th {
	padding-top: 16px;
	border-top: 1px solid var(--border);
}

table.formats tr:first-child th {
	border-top: 0;
}

table.formats th code {
	text-transform: none;
	letter-spacing: 0;
}

table.formats td:first-child {
	width: 9rem;
}

table.opts td:first-child {
	width: 15.5rem;
}

/* callout */

.note {
	padding: 16px 18px;
	color: var(--muted);
	font-size: 0.9375rem;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.note strong {
	color: var(--text);
}

/* release card */

.release {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 20px 32px;
	padding: 26px;
}

@media (max-width: 600px) {
	.release {
		grid-template-columns: minmax(0, 1fr);
	}
}

.release .ver {
	font: 750 2rem/1 var(--mono);
	letter-spacing: -0.03em;
}

.release .ver small {
	display: inline-block;
	margin-top: 12px;
	padding: 3px 9px;
	font: 600 0.6875rem/1.4 var(--mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--latest);
	background: rgba(40, 200, 64, 0.12);
	border-radius: 999px;
}

.files {
	margin: 0;
	padding: 0;
	list-style: none;
}

.files li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	padding: 11px 0;
	border-bottom: 1px solid var(--border);
	font-size: 0.9375rem;
}

.files li:first-child {
	padding-top: 0;
}

.files li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.files a {
	font-family: var(--mono);
	font-size: 0.875rem;
	word-break: break-all;
}

.files span {
	color: var(--faint);
	font-size: 0.8125rem;
}

/* footer */

.site-footer {
	padding: 44px 0 56px;
	color: var(--faint);
	font-size: 0.875rem;
	border-top: 1px solid var(--border);
}

.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.site-footer .foot-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}


.site-footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}

.site-footer a {
	color: var(--muted);
}

.site-footer a:hover {
	color: var(--text);
}

/* 404 */

.lost {
	min-height: calc(100vh - 65px);
	display: grid;
	place-items: center;
	text-align: center;
	padding: 48px 0;
}

.lost .code {
	font: 760 clamp(4rem, 14vw, 7rem)/1 var(--mono);
	letter-spacing: -0.05em;
	color: var(--text);
}

.lost p {
	color: var(--muted);
}
