@font-face {
	font-family: 'Atkinson Hyperlegible Next';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('/fonts/AtkinsonHyperlegibleNext-variable.woff2') format('woff2');
}
@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('/fonts/BricolageGrotesque-variable.woff2') format('woff2');
}

/* Colour tokens copied from web_svelte/src/app.css (:root and .dark). */
:root {
	color-scheme: light dark;
	--background: #fbf7f0;
	--foreground: #22201c;
	--card: #ffffff;
	--primary: #006b4f;
	--primary-foreground: #ffffff;
	--primary-soft: #d9ece1;
	--primary-soft-foreground: #0b3d2e;
	--muted-foreground: #5e5850;
	--border: #ede6da;
}
@media (prefers-color-scheme: dark) {
	:root {
		--background: #1c1a17;
		--foreground: #f3eee6;
		--card: #262320;
		--primary: #3fb08a;
		--primary-foreground: #0b1f18;
		--primary-soft: #23392f;
		--primary-soft-foreground: #cfe8d8;
		--muted-foreground: #b0a89e;
		--border: #3a352f;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	overflow-wrap: anywhere;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
h1,
h2,
h3,
.brand {
	font-family: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
h1 {
	font-size: clamp(1.9rem, 6vw, 2.6rem);
	font-weight: 700;
	margin: 0 0 0.5rem;
}
h2 {
	font-size: 1.3rem;
	font-weight: 650;
	margin: 0 0 0.75rem;
}
h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 1.25rem 0 0.5rem;
}
p {
	margin: 0 0 0.75rem;
}
ul {
	padding-left: 1.5rem;
	margin: 0 0 0.75rem;
}
li + li {
	margin-top: 0.35rem;
}
a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
a:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
	border-radius: 2px;
}

.wrap {
	width: 100%;
	max-width: 56rem;
	margin: 0 auto;
	padding: 0 1rem;
}

header {
	border-bottom: 1px solid var(--border);
}
header .wrap {
	display: flex;
	align-items: center;
	min-height: 3.75rem;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--foreground);
	text-decoration: none;
}
.brand img {
	width: 2rem;
	height: 2rem;
}

main.wrap {
	flex: 1;
	padding-top: 2.5rem;
	padding-bottom: 3rem;
}
main section + section {
	margin-top: 2rem;
}
.lede,
main > h1 + p {
	color: var(--muted-foreground);
}
main > h1 + p {
	margin-bottom: 2rem;
}

/* Home page */
.hero h1 {
	font-size: clamp(2.2rem, 8vw, 3.4rem);
}
.hero .lede {
	font-size: 1.2rem;
	max-width: 38rem;
}
.status {
	display: inline-block;
	margin: 0.5rem 0 0;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: var(--primary-soft);
	color: var(--primary-soft-foreground);
	font-weight: 600;
}
.features {
	list-style: none;
	padding: 0;
	margin: 2.5rem 0 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.features li {
	margin: 0;
	padding: 1.25rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 0.875rem;
}
.features h2 {
	font-size: 1.15rem;
	margin-bottom: 0.4rem;
}
.features p {
	margin: 0;
	color: var(--muted-foreground);
}
.card {
	padding: 1.5rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 0.875rem;
}
.contact {
	margin-top: 2.5rem;
}

footer {
	border-top: 1px solid var(--border);
	padding: 1.5rem 0;
	color: var(--muted-foreground);
	font-size: 0.95rem;
}
footer .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	justify-content: space-between;
}
footer p {
	margin: 0;
}
footer nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
}
footer nav li + li {
	margin-top: 0;
}
footer a {
	display: inline-block;
	padding: 0.35rem 0;
}
