:root {
	--bg: #000000;
	--fg: #ff7a00;
	--fg-dim: #b35a0c;
	--accent: #ffae42;
	--border: #3a2410;
	--key-bg: #1a1208;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	min-height: 100%;
	background: var(--bg);
	color: var(--fg);
	font-family: "JetBrains Mono", "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", monospace;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body {
	padding: 2rem 1.5rem 4rem;
}

a {
	color: var(--accent);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

a:hover,
a:focus-visible {
	border-bottom-color: var(--accent);
}

.terminal {
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
}

.header {
	margin-bottom: 1.5rem;
}

.name {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.tagline {
	color: var(--fg);
	margin-top: 0.25rem;
}

.links {
	margin: 0.5rem 0 1.5rem 0;
}

.links ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.links li::before {
	content: "-> ";
	color: var(--fg-dim);
	margin-right: 0.25rem;
}

.cursor {
	color: var(--fg);
	animation: blink 1.1s steps(1) infinite;
}

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

@media (prefers-reduced-motion: reduce) {
	.cursor {
		animation: none;
	}
}

.back {
	margin-bottom: 1.5rem;
	color: var(--fg-dim);
	font-size: 0.9rem;
}

.back a::before {
	content: "<- ";
}

section {
	margin: 2rem 0;
}

h2 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 0.5rem;
}

h2::before {
	content: "## ";
	color: var(--fg-dim);
	font-weight: 400;
}

h3 {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--fg);
	margin: 1rem 0 0.35rem;
	opacity: 0.9;
}

h3::before {
	content: "### ";
	color: var(--fg-dim);
	font-weight: 400;
}

.note {
	color: var(--fg-dim);
	font-size: 0.85rem;
	margin: 0.25rem 0 0.75rem;
}

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

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

th {
	color: var(--fg-dim);
	font-weight: 500;
	font-size: 0.8rem;
}

td.keys {
	white-space: nowrap;
}

td.desc {
	color: var(--fg);
}

td.cmd {
	color: var(--fg-dim);
	font-size: 0.85rem;
}

kbd.key {
	display: inline-block;
	padding: 0.05rem 0.4rem;
	border: 1px solid var(--accent);
	border-radius: 3px;
	background: var(--key-bg);
	color: var(--accent);
	font-family: inherit;
	font-size: 0.85rem;
	line-height: 1.2;
	white-space: nowrap;
}

kbd.key + kbd.key {
	margin-left: 0.25rem;
}

.sep {
	color: var(--fg-dim);
	padding: 0 0.1rem;
}

.footer {
	margin-top: 2.5rem;
	color: var(--fg-dim);
	font-size: 0.85rem;
}

@media (max-width: 640px) {
	body {
		font-size: 14px;
		padding: 1.5rem 1rem 3rem;
	}

	.name {
		font-size: 1.4rem;
	}

	td.cmd {
		display: none;
	}
}
