:root {
	--bg: #11140f;
	--screen: #545454;
	--screen-dark: #1e221c;
	--paper: #1a1f18;
	--ink: #f0f4df;
	--muted: #b7c9ad;
	--accent: #abed99;
	--accent-strong: #d7ffc9;
	--cyan: #7bc8dc;
	--amber: #f0c35b;
	--line: rgba(171, 237, 153, 0.34);
	--panel: rgba(84, 84, 84, 0.32);
	--warm: #f0c35b;
}

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	background:
		linear-gradient(135deg, rgba(123, 200, 220, 0.14), transparent 31rem),
		linear-gradient(315deg, rgba(240, 195, 91, 0.1), transparent 29rem),
		linear-gradient(180deg, rgba(84, 84, 84, 0.22), transparent 24rem),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 5px),
		var(--bg);
	color: var(--ink);
	font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
	min-height: 100%;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1.25rem 3.2rem;
}

.site-header {
	padding: 1.2rem 0 0.95rem;
	border-bottom: 1px solid var(--line);
}

.brand-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
}

.brand {
	font-size: 3.4rem;
	letter-spacing: 0.08em;
	margin: 0;
	text-transform: uppercase;
	text-shadow: 0 0 18px rgba(171, 237, 153, 0.16);
}

.since {
	color: var(--muted);
	font-size: 0.95rem;
}

.nav {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 0.85rem;
}

.nav a {
	color: var(--ink);
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid transparent;
	padding-bottom: 0.2rem;
}

.nav a:hover {
	border-color: var(--accent);
	text-decoration: none;
}

.hero {
	padding: 2.5rem 0 1.9rem;
	position: relative;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.hero-copy h2 {
	font-size: 5.6rem;
	line-height: 0.9;
	margin: 0 0 0.8rem;
	max-width: 12ch;
	text-transform: uppercase;
	text-shadow: 0 0 22px rgba(171, 237, 153, 0.12);
}

.hero-copy h2 span {
	display: block;
}

.hero-copy p {
	font-size: 1.1rem;
	line-height: 1.55;
	max-width: 52rem;
	color: var(--muted);
}

.hero-panel, .panel {
	background:
		linear-gradient(180deg, rgba(171, 237, 153, 0.1), rgba(123, 200, 220, 0.045)),
		var(--paper);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 1.05rem 1.15rem;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.project-card {
	min-height: 12rem;
	position: relative;
	overflow: hidden;
}

.project-card::before {
	content: "";
	display: block;
	height: 0.28rem;
	margin: -1.05rem -1.15rem 1rem;
	background: var(--accent);
}

.amoeba-card::before {
	background: var(--cyan);
}

.project-card h3 {
	font-size: 1.45rem;
	margin-bottom: 0.6rem;
}

.project-card p {
	font-size: 1rem;
}

.signal-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 1rem 0 0;
}

.signal-strip span {
	background: rgba(84, 84, 84, 0.4);
	border: 1px solid rgba(171, 237, 153, 0.26);
	border-radius: 999px;
	color: var(--accent-strong);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	padding: 0.38rem 0.62rem;
	text-transform: uppercase;
}

.status-list, .simple-list {
	margin: 0.7rem 0 0;
	padding-left: 1.1rem;
	line-height: 1.6;
}

.button-row {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
	margin-top: 1.2rem;
}

.button {
	display: inline-block;
	padding: 0.78rem 1rem;
	border-radius: 6px;
	font-weight: 700;
	background: var(--accent);
	color: #172015;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	box-shadow: 0 0 0 1px rgba(215, 255, 201, 0.28), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.button:hover {
	background: var(--accent-strong);
	text-decoration: none;
}

.button.secondary {
	background: transparent;
	color: var(--cyan);
	border: 1px solid var(--accent);
	box-shadow: none;
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.card h3, .panel h3 {
	margin-top: 0;
	font-size: 1.25rem;
}

.card p, .panel p {
	line-height: 1.58;
}

.kicker {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.82rem;
	color: var(--warm);
	font-weight: 700;
}

.section {
	padding-top: 1.2rem;
}

.section h2 {
	font-size: 1.8rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.footer {
	margin-top: 2.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.95rem;
}

.beta-frame-note {
	font-size: 0.98rem;
	color: var(--muted);
	margin-top: 0.4rem;
}

.stack {
	display: grid;
	gap: 1rem;
}

@media (max-width: 900px) {
	.grid {
		grid-template-columns: 1fr;
	}

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

	.hero-copy h2 {
		font-size: 4.4rem;
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	.brand-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.25rem;
	}

	.brand {
		font-size: 2.25rem;
	}

	.nav {
		column-gap: 0.85rem;
		row-gap: 0.65rem;
	}

	.nav a {
		font-size: 0.86rem;
	}

	.hero-copy h2 {
		font-size: 2.7rem;
		line-height: 0.96;
	}

	.button {
		text-align: center;
	}
}

@media (max-width: 420px) {
	.hero-copy h2 {
		font-size: 2.45rem;
	}
}
