:root {
	--bg: #1e1e1e;
	--surface: #252528;
	--border: #36363b;
	--text: #e4e4e4;
	--muted: #a2a2a8;
	--accent: #ebd173;
	--accent-ink: #1f1f24;
	--link: #ebd173;
	--mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
	color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

code, pre { font-family: var(--mono); font-size: 0.9em; }
:not(pre) > code {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 4px;
	padding: 0.05em 0.35em;
}

.top, main, footer {
	max-width: 1100px;
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
}

.top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding-top: 20px;
	padding-bottom: 20px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font: 600 1.15rem var(--mono);
}
.brand:hover { text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--text); text-decoration: none; }

section { padding: 48px 0; }

.hero { padding-top: 56px; text-align: center; }
.hero h1 {
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 auto 20px;
	max-width: 18ch;
	text-wrap: balance;
}
.lede {
	color: var(--muted);
	font-size: 1.15rem;
	max-width: 62ch;
	margin: 0 auto 32px;
	text-wrap: pretty;
}

.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 8px;
	border: 1px solid var(--border);
	color: var(--text);
	font-weight: 600;
}
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }

.shot { margin: 0; }
.shot img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--surface);
}
.hero-shot img { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.shot figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 8px; text-align: center; }

h2 { font-size: 1.75rem; letter-spacing: -0.01em; margin: 0 0 24px; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }

.grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
.grid li {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 18px 20px;
}
.grid p { margin: 0; color: var(--muted); }

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 24px;
}

.note { color: var(--muted); max-width: 75ch; margin-top: 24px; }

pre {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 16px 20px;
	overflow-x: auto;
	line-height: 1.5;
}

footer {
	border-top: 1px solid var(--border);
	padding-top: 24px;
	padding-bottom: 40px;
	color: var(--muted);
	font-size: 0.9rem;
	text-align: center;
}
