/*
 * Shared shell for LanguageGuide.org content pages (about, donate).
 * Mirrors the landing page in /index.jsp: dark ground, Montserrat, magenta
 * accent. Kept as one file so those pages cannot drift apart.
 */

:root {
	--ink: #0b0b0c;
	--ink-soft: #141416;
	--paper: #ffffff;
	--muted: rgba(255,255,255,.68);
	--muted-strong: rgba(255,255,255,.86);
	--line: rgba(255,255,255,.14);
	--accent: #F433FF;
}

* {
	font-family: 'Montserrat', arial, sans-serif;
	box-sizing: border-box;
}

body {
	margin: 0;
	background-color: var(--ink);
	color: var(--paper);
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

/* ---------------- Header ---------------- */
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 24px;
	border-bottom: 1px solid var(--line);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--paper);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .01em;
	text-decoration: none;
}

.brand img {
	display: block;
	width: 32px;
	height: 32px;
}

/* ---------------- Page body ---------------- */
.page {
	max-width: 720px;
	margin: 0 auto;
	padding: 64px 24px 80px;
}

.page h1 {
	margin: 0 0 20px;
	font-size: clamp(28px, 5vw, 42px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.page h2 {
	margin: 44px 0 12px;
	font-size: 20px;
	font-weight: 600;
}

.page p {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.7;
}

.page p:last-child {
	margin-bottom: 0;
}

.page a {
	color: var(--accent);
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--accent);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}

/* ---------------- Donation buttons ---------------- */
.donate-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin: 32px 0 8px;
	padding: 26px;
	background: var(--ink-soft);
	border: 1px solid var(--line);
	border-radius: 18px;
}

.donate-actions form {
	margin: 0;
}

/* PayPal supplies its own button artwork; keep it clickable and tidy. */
.donate-actions input[type="image"] {
	display: block;
	cursor: pointer;
}

/* ---------------- Footer ---------------- */
.site-footer {
	padding: 26px 24px 44px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

.site-footer a {
	color: rgba(255,255,255,.72);
	text-decoration: none;
	padding: 0 4px;
}

.site-footer a:hover {
	color: var(--paper);
	text-decoration: underline;
}

.footer-note {
	margin-top: 16px;
	color: rgba(255,255,255,.45);
	font-size: 12px;
}

@media all and (max-width: 600px) {
	.site-header {
		padding: 14px 16px;
	}
	.brand {
		font-size: 14px;
	}
	.page {
		padding: 44px 18px 64px;
	}
	.donate-actions {
		padding: 20px;
		justify-content: center;
	}
}
