/* Manrope, self-hosted; variable font with weights 400 to 700 */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("/fonts/manrope-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("/fonts/manrope-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--green: #2f7d4f;
	--deep: #1e5536;
	--ink: #16231b;
	--text: #2d3a32;
	--muted: #5d6a62;
	--line: #e1e7e3;
	--quiet-line: #a9b5ad;
}

* {
	box-sizing: border-box;
	margin: 0;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 40px 64px 32px;
	background: #fff;
	color: var(--ink);
	font: 400 16px/1.6 Manrope, system-ui, sans-serif;
}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 10px;
	color: var(--deep);
	text-decoration: none;
}

.brand svg {
	width: 40px;
	height: 40px;
	flex: none;
	color: var(--green);
}

.wordmark {
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.languages {
	display: flex;
	gap: 16px;
	font-size: 13px;
	letter-spacing: 0.08em;
}

.languages a {
	color: var(--muted);
	border-bottom-color: transparent;
}

.languages a:hover {
	color: var(--green);
}

.languages a[aria-current] {
	color: var(--deep);
	border-bottom-color: var(--green);
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 64px 0;
}

.claim {
	max-width: 15em;
	font-size: clamp(36px, 5vw, 62px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.claim em {
	font-style: normal;
	color: var(--green);
}

.founders {
	margin-top: 28px;
	font-size: 18px;
	color: var(--muted);
}

/* The line about the founders is a quiet byline, so its link only hints at
   being one and does not compete with the claim. */
.founders a {
	color: inherit;
	font-weight: inherit;
	border-bottom: 1px solid var(--quiet-line);
}

.founders a:hover {
	color: var(--green);
	border-bottom-color: var(--green);
}

a {
	color: var(--deep);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid var(--green);
}

a:hover {
	color: var(--green);
}

a:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 3px;
}

.brand,
.brand:hover {
	border-bottom: 0;
	color: var(--deep);
}

footer {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: start;
	gap: 8px 48px;
	border-top: 1px solid var(--line);
	padding-top: 20px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
}

footer nav {
	display: flex;
	gap: 24px;
}

/* Legal texts */

main.text {
	justify-content: flex-start;
	max-width: 720px;
	padding: 72px 0 96px;
}

.text h1 {
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.text .lead {
	margin-top: 12px;
	font-size: 18px;
	color: var(--muted);
}

.text h2 {
	margin-top: 56px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.text h3 {
	margin-top: 28px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}

.text p,
.text ul {
	margin-top: 12px;
	color: var(--text);
}

.text ul {
	padding-left: 1.2em;
}

.text li + li {
	margin-top: 6px;
}

.facts {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 16px 32px;
	margin-top: 40px;
}

.facts dt {
	padding-top: 3px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--deep);
}

.facts dd {
	margin: 0;
	color: var(--text);
}

@media (max-width: 760px) {
	body {
		padding: 24px 20px;
	}

	footer {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.facts {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.facts dd {
		margin-bottom: 16px;
	}
}
