body {
	margin: 0;
	background: #0b0d0e;
	color: #d8d8d0;
	font-family: Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

a {
	color: inherit;
	text-decoration: none;
}

.mono,
input {
	font-family: 'Courier New', monospace;
}

.green {
	color: #8fbf6f;
}

p {
	color: #858b87;
	line-height: 1.7;
}

header {
	position: sticky;
	top: 0;
	background: #0b0d0ef2;
	border-bottom: 1px solid #222;
	padding: 15px 20px;
	z-index: 10;
}

.head,
.container {
	max-width: 1150px;
	margin: auto;
}

.head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.brand {
	font: 14px 'Courier New', monospace;
	color: #8fbf6f;
	letter-spacing: .15em;
}

nav {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
}

nav a {
	font: 11px 'Courier New', monospace;
	color: #858b87;
}

.btn {
	background: none;
	border: 1px solid #333;
	color: #858b87;
	padding: 7px 10px;
	cursor: pointer;
}

.hero,
.section,
.page {
	padding: 70px 20px;
	border-bottom: 1px solid #222;
}

.hero {
	background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
	background-size: 32px 32px;
}

.eyebrow {
	font: 12px 'Courier New', monospace;
	letter-spacing: .2em;
	color: #858b87;
}

h1 {
	font-size: clamp(40px, 7vw, 72px);
	line-height: 1.05;
}

h2 {
	font-size: 32px;
}

.terminal {
	margin-top: 30px;
	background: #090b0c;
	border: 1px solid #8fbf6f44;
	font: 14px 'Courier New', monospace;
}

.termbar {
	padding: 12px;
	border-bottom: 1px solid #222;
	color: #858b87;
}

.termbody {
	padding: 20px;
	height: 410px;
	overflow: auto;
}

.line {
	line-height: 1.65;
}

.system {
	color: #8fbf6f;
}

.error {
	color: #d6a85f;
}

.prompt {
	display: flex;
	padding: 0 20px 20px;
	gap: 8px;
}

.prompt span {
	color: #8fbf6f;
}

.prompt input {
	flex: 1;
	background: none;
	border: 0;
	color: #d8d8d0;
	outline: 0;
}

.split,
.pagehead {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 50px;
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: #222;
	border: 1px solid #222;
	margin-top: 30px;
}

.card {
	background: #0b0d0e;
	padding: 25px;
}

.card:hover {
	background: #111516;
}

.timeline {
	display: flex;
	min-width: 850px;
}

.wrap {
	overflow: auto;
}

.time {
	flex: 1;
}

.dot {
	width: 26px;
	height: 26px;
	border: 1px solid #8fbf6f;
	border-radius: 50%;
}

.year {
	margin-top: 12px;
	color: #d6a85f;
	font: 11px 'Courier New', monospace;
}

.topic {
	background: #111516;
	border: 1px solid #222;
	padding: 20px;
}

.topic div {
	font: 12px 'Courier New', monospace;
	color: #858b87;
	padding: 3px;
}

.articles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 30px;
}

.article {
	border: 1px solid #222;
	padding: 20px;
	background: #11151688;
}

.modal {
	display: none;
	position: fixed;
	inset: 0;
	background: #000b;
	padding: 20px;
	z-index: 30;
}

.modal.show {
	display: block;
}

.modalbox {
	max-width: 650px;
	margin: 12vh auto;
	background: #111516;
	border: 1px solid #333;
}

.modal input {
	width: 100%;
	padding: 18px;
	background: none;
	border: 0;
	border-bottom: 1px solid #333;
	color: white;
	outline: 0;
}

.results a {
	display: block;
	padding: 14px;
	font: 14px 'Courier New', monospace;
	color: #858b87;
}

.results a:hover {
	background: #1a2021;
	color: #8fbf6f;
}

footer {
	padding: 40px 20px;
}

.footer {
	max-width: 1150px;
	margin: auto;
}

@media (max-width: 900px) {
	nav {
		display: none;
	}

	.split,
	.pagehead {
		grid-template-columns: 1fr;
	}

	.grid {
		grid-template-columns: 1fr 1fr;
	}

	.articles {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 550px) {
	.grid {
		grid-template-columns: 1fr;
	}
}