/* mrmtb94.dev: logo on black, same colours as the Keycloak theme. System fonts only (no third-party requests). */
:root {
	--bg: #0B0B0C;
	--text: #FAFAFA;
	--muted: #B4B4B8;
	--accent: #6E9BFF; /* logo blue #2F6BFF, lightened for text contrast on black */
	--line: #2A2A2E;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--text);
	font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
	position: absolute;
	left: -999px;
}
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; }

main { flex: 1; width: 100%; max-width: 46rem; margin: 0 auto; padding: 48px 16px; }

/* home: logo centred */
.home main { display: flex; align-items: center; justify-content: center; }
.home img { width: min(480px, 90vw); height: auto; }

/* legal pages */
.page header { padding: 24px 16px 0; text-align: center; }
.page header img { width: 160px; height: auto; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.25rem; margin: 2.2em 0 0.4em; }
p, li { color: var(--muted); }
strong { color: var(--text); }
address { font-style: normal; color: var(--muted); }

footer {
	border-top: 1px solid var(--line);
	padding: 20px 16px;
	text-align: center;
	font-size: 0.9rem;
	color: var(--muted);
}
footer nav a { margin: 0 10px; display: inline-block; padding: 4px 0; }
