:root {
	--brand: #c0392b;
	--ground: #0e1210;
	--ground-raised: #161d19;
	--beam: #f4e9c9;
	--beam-dim: #a89968;
	--underbrush: #3a4a3e;
	--text: #e8e6de;
	--text-dim: #9a978c;
	--border: #2a322c;
	--font-serif: "Georgia Pro", Georgia, "Times New Roman", serif;
	--font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ground);
	color: var(--text);
	font-family: var(--font-serif);
	line-height: 1.6;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: var(--beam);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--beam);
	color: var(--ground);
	padding: 0.75rem 1.25rem;
	z-index: 200;
	font-family: var(--font-system);
	font-size: 0.85rem;
	text-decoration: none;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

:focus-visible {
	outline: 2px solid var(--beam);
	outline-offset: 3px;
}

#header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 1.1rem 1.75rem;
	background: rgba(14, 18, 16, 0.92);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--border);
}

#header::after {
	content: "";
	display: block;
	clear: both;
}

.brand {
	display: block;
	float: left;
	text-decoration: none;
	color: var(--text);
}

.brand svg {
	width: 28px;
	height: 28px;
	float: left;
	color: var(--brand);
}

.brand-name {
	display: block;
	float: left;
	margin-left: 0.6rem;
	line-height: 28px;
	font-size: 1.25rem;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.brand-name strong {
	color: var(--brand);
	font-weight: 700;
}

#menu {
	float: right;
}

#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#menu ul li {
	display: inline-block;
	margin-left: 1.75rem;
}

#menu a {
	color: var(--text-dim);
	text-decoration: none;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	transition: color 0.2s ease;
}

#menu a:hover,
#menu a:focus-visible,
#menu a[aria-current="page"] {
	color: var(--beam);
}

.menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--border);
	border-radius: 4px;
	color: var(--text);
	padding: 0.5rem 0.7rem;
	cursor: pointer;
}

.menu-toggle svg {
	width: 20px;
	height: 20px;
	display: block;
}

.hero {
	position: relative;
	width: 100%;
	padding: 7rem 1.75rem 6rem;
	text-align: center;
	overflow: hidden;
	background: url("cat.jpg") center 35% / cover no-repeat, var(--ground);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.7));
	pointer-events: none;
}

.hero-content {
	position: relative;
	max-width: 46rem;
	margin: 0 auto;
}

.eyebrow {
	font-family: var(--font-system);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--beam-dim);
	display: block;
	margin-bottom: 1.25rem;
}

.hero h1 {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.15;
	margin: 0 0 1.25rem;
	color: var(--text);
}

.hero h1 em {
	font-style: normal;
	color: var(--beam);
}

.hero p {
	font-size: 1.15rem;
	color: var(--text-dim);
	margin: 0 auto 2.25rem;
}

.hero-ctas {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-block;
	padding: 0.85rem 1.75rem;
	border-radius: 3px;
	text-decoration: none;
	font-size: 0.98rem;
	letter-spacing: 0.01em;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
	background: var(--brand);
	color: var(--beam);
	box-shadow: 0 0 0 rgba(244, 233, 201, 0);
}

.btn-primary:hover,
.btn-primary:focus-visible {
	box-shadow: 0 0 24px rgba(244, 233, 201, 0.35);
	transform: translateY(-1px);
}

.btn-secondary {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--beam);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
	border-color: var(--brand);
	color: var(--beam);
}

#content {
	padding: 0;
}

.content-section {
	max-width: 68rem;
	margin: 0 auto;
	padding: 4.5rem 1.75rem;
}

.content-section h2 {
	font-size: 1.5rem;
	color: var(--beam);
	border-top: 1px solid var(--border);
	margin: 2.5rem 0 1rem;
	padding-top: 2.5rem;
}

.content-section h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.content-section > h3 {
	font-size: 1.1rem;
	color: var(--text);
	margin: 1.75rem 0 0.5rem;
}

.content-section ul {
	color: var(--text-dim);
	padding-left: 1.25rem;
	margin: 0 0 1rem;
}

.content-section li {
	margin-bottom: 0.5rem;
}

.content-section p {
	font-size: 1.2rem;
	color: var(--text-dim);
}

.section-heading {
	font-family: var(--font-system);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--beam-dim);
	margin: 0 0 0.6rem;
}

.section-title {
	font-size: 2rem;
	margin: 0 0 1.5rem;
}

.section-lede {
	color: var(--text-dim);
}

.card h3 {
	margin-top: 0;
}

.card p {
	color: var(--text-dim);
	margin-bottom: 0;
}

.card {
	background: var(--ground-raised);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 1.75rem;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1.25rem;
}

#footer {
	border-top: 1px solid var(--border);
	padding: 2.5rem 1.75rem;
	text-align: center;
	color: var(--text-dim);
	font-size: 0.9rem;
}

#footer a {
	color: var(--text-dim);
	text-decoration: underline;
}

#footer a:hover,
#footer a:focus-visible {
	color: var(--beam);
}

.footer-note {
	font-style: italic;
	margin: 0;
}

.page-header {
	text-align: center;
	padding: 4.5rem 1.75rem 2.5rem;
	border-bottom: 1px solid var(--border);
}

.page-header .section-heading {
	margin: 0 0 0.6rem;
}

.page-header h1 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin: 0 0 1rem;
}

.page-header p {
	color: var(--text-dim);
	max-width: 40rem;
	margin: 0 auto;
}

.filter-bar {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.filter-input {
	width: 100%;
	max-width: 28rem;
	background: var(--ground-raised);
	border: 1px solid var(--border);
	border-radius: 4px;
	color: var(--text);
	font-family: var(--font-serif);
	font-size: 1rem;
	padding: 0.7rem 1rem;
}

.filter-input::placeholder {
	color: var(--text-dim);
}

.filter-empty {
	display: none;
	text-align: center;
	color: var(--text-dim);
	padding: 2rem 1.75rem 0;
}

.filter-empty[data-visible="true"] {
	display: block;
}

.channel-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1.25rem;
}

.channel-card {
	background: var(--ground-raised);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 1.5rem;
}

.channel-card[hidden] {
	display: none;
}

.channel-card-head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.channel-badge {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.channel-name {
	font-size: 1.1rem;
	margin: 0;
}

.channel-card.is-safe .channel-badge {
	color: var(--brand);
}

.channel-platform {
	font-family: var(--font-system);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--beam-dim);
	display: block;
	margin-bottom: 0.6rem;
}

.channel-card p {
	color: var(--text-dim);
	margin: 0 0 1rem;
}

.channel-link {
	font-size: 0.9rem;
	text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 800px) {
	.menu-toggle {
		display: block;
		float: right;
	}
	#menu {
		float: none;
		display: block;
		width: 100%;
	}
	#menu ul {
		display: none;
		width: 100%;
		clear: both;
		padding-top: 1.1rem;
	}
	#menu ul[data-open="true"] {
		display: block;
	}
	#menu ul li {
		display: block;
		margin-left: 0;
	}
	#menu a {
		display: block;
		padding: 0.85rem 0;
		border-bottom: 1px solid var(--border);
		font-size: 1.1rem;
	}
}