:root {
	--page-width: 56rem;
	--text: #19202a;
	--muted: #6b7280;
	--border: #dde2ea;
	--background: #f8f9fb;
	--surface: #ffffff;
	--surface-alt: #f0f3f8;
	--accent: #6857d9;
	--accent-dark: #4939b6;
	--accent-soft: #eeebff;
	--link: #5141bd;
}

* {
	box-sizing: border-box;
}

html {
	font-family:
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--background);
}

body {
	margin: 0;
}

a {
	color: var(--link);
	text-underline-offset: 0.15em;
}

a:hover {
	text-decoration-thickness: 2px;
}

.sale-banner {
	padding: 0.5rem 1rem;
	background: var(--accent-dark);
	color: #ffffff;
	font-size: 0.72rem;
	text-align: center;
}

.sale-banner span {
	opacity: 0.8;
}

.sale-banner a {
	margin-left: 0.25rem;
	color: inherit;
	font-weight: 700;
}

.site-header,
main,
footer {
	width: min(var(--page-width), calc(100% - 2rem));
	margin-inline: auto;
}

.site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	padding: 1.4rem 0;
	border-bottom: 1px solid var(--border);
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--text);
	text-decoration: none;
}

.brand-mark {
	display: grid;
	width: 2.2rem;
	height: 2.2rem;
	place-items: center;
	border-radius: 0.55rem;
	background: var(--accent);
	color: #ffffff;
	font-weight: 800;
}

.brand > span:last-child {
	display: flex;
	flex-direction: column;
}

.brand strong {
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}

.brand small {
	margin-top: 0.05rem;
	color: var(--muted);
	font-size: 0.67rem;
}

.site-header nav {
	display: flex;
	gap: 1rem;
	font-size: 0.78rem;
}

main {
	padding: 3.5rem 0 5rem;
}

article,
.archive {
	max-width: 49rem;
}

.hero {
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--border);
}

.eyebrow {
	margin-bottom: 0.65rem;
	color: var(--accent);
	font-size: 0.68rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

h1 {
	margin: 0;
	font-size: clamp(2.3rem, 5vw, 3.7rem);
	line-height: 1.03;
	letter-spacing: -0.05em;
}

.hero-summary {
	max-width: 42rem;
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: 1.02rem;
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin-top: 1rem;
	color: var(--muted);
	font-size: 0.75rem;
}

.impact-strip,
.value-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 1.5rem 0 3rem;
	border: 1px solid var(--border);
	border-radius: 0.6rem;
	background: var(--surface);
	overflow: hidden;
}

.impact-strip > div,
.value-grid > div {
	padding: 1rem;
	border-right: 1px solid var(--border);
	text-align: center;
}

.impact-strip > div:last-child,
.value-grid > div:last-child {
	border-right: 0;
}

.impact-strip strong,
.impact-strip span,
.value-grid strong,
.value-grid span {
	display: block;
}

.impact-strip strong,
.value-grid strong {
	font-size: 0.88rem;
}

.impact-strip span,
.value-grid span {
	margin-top: 0.15rem;
	color: var(--muted);
	font-size: 0.66rem;
	text-transform: uppercase;
}

.article-body section {
	margin-top: 2.8rem;
}

h2 {
	margin: 2.6rem 0 0.8rem;
	font-size: 1.3rem;
	line-height: 1.3;
	letter-spacing: -0.025em;
}

p {
	margin: 1rem 0;
}

.outcome-card {
	margin-top: 3.5rem;
	padding: 1.3rem;
	border: 1px solid #d9d4fb;
	border-radius: 0.6rem;
	background: var(--accent-soft);
}

.outcome-label {
	margin-bottom: 0.35rem;
	color: var(--accent);
	font-size: 0.66rem;
	font-weight: 750;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.outcome-card h2 {
	margin: 0;
	font-size: 1.25rem;
}

.outcome-card p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.88rem;
}

.article-nav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
	font-size: 0.8rem;
}

.archive-header {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
}

.archive-header p {
	max-width: 40rem;
	margin: 0.75rem 0 0;
	color: var(--muted);
}

.post-list,
.network-sites {
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.post-list li {
	display: grid;
	grid-template-columns: 7rem 1fr;
	gap: 1rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--border);
}

.post-list time {
	color: var(--muted);
	font-size: 0.75rem;
}

.post-list a {
	font-weight: 600;
}

.about {
	max-width: 45rem;
}

.acquisition-card {
	margin: 1rem 0 2rem;
	padding: 1.2rem;
	border: 1px solid var(--border);
	border-radius: 0.6rem;
	background: var(--surface);
}

.acquisition-card > span {
	color: var(--accent);
	font-size: 0.67rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.acquisition-card h3 {
	margin: 0.25rem 0 0;
	font-size: 1.4rem;
}

.acquisition-card p {
	margin-bottom: 0;
}

.network-sites li {
	padding: 0.35rem 0;
}

blockquote {
	margin: 2rem 0;
	padding: 0.3rem 0 0.3rem 1rem;
	border-left: 4px solid var(--accent);
	color: var(--muted);
}

code {
	padding: 0.1em 0.3em;
	border-radius: 0.2rem;
	background: var(--surface-alt);
	font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		monospace;
	font-size: 0.9em;
}

pre {
	overflow-x: auto;
	padding: 1rem;
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	background: var(--surface-alt);
}

pre code {
	padding: 0;
	background: transparent;
}

footer {
	padding: 1.5rem 0 2.5rem;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.72rem;
}

footer ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

footer li {
	display: flex;
	align-items: center;
}

footer li + li::before {
	content: "";
	width: 1px;
	height: 1em;
	margin: 0 0.75rem;
	background: var(--border);
}

footer del {
	text-decoration-thickness: 1px;
}

footer a {
	color: inherit;
}

@media (max-width: 600px) {
	html {
		font-size: 16px;
	}

	.site-header,
	main,
	footer {
		width: min(100% - 1.25rem, var(--page-width));
	}

	.site-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.8rem;
	}

	main {
		padding-top: 2rem;
	}

	.impact-strip,
	.value-grid {
		grid-template-columns: 1fr;
	}

	.impact-strip > div,
	.value-grid > div {
		border-right: 0;
		border-bottom: 1px solid var(--border);
	}

	.impact-strip > div:last-child,
	.value-grid > div:last-child {
		border-bottom: 0;
	}

	.post-list li {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}

	.article-nav {
		flex-direction: column;
	}

	footer ul {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.4rem;
	}

	footer li + li::before {
		display: none;
	}
}
