html {
	--bg: #1F1F23;
	--lighter-bg: #34343A;

	--fg: #fff;
	--secondary-fg: #8f8f91;

	--link-fg: #619EFF;
	--link-hover-fg: #90BBFF;

	--border: #555;

	--border-radius: .25rem;
}

html {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	font-size: 14px;

	--font-bold: bold; /* 700 */
	--font-semi-bold: 600;
	--font-medium: 500;
	--font-normal: normal; /* 400 */
}

p, ul {
	line-height: 1.5;
	text-box-trim: trim-start;
	text-box-edge: cap alphabetic;
}

h1, h2, h3, h4, h5, h6 {
	text-box-trim: trim-start;
	text-box-edge: cap alphabetic;
}

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

body {
	background-color: var(--bg);
	color: var(--fg);
	/* this is needed to make the footer stay at the bottom */
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.heading-nav {
	display: flex;
	padding: 1.5em 2.5em;

	justify-content: space-between;
	align-items: center;
}

@media (max-width: 50rem) {
	.heading-nav {
		padding: 1em 1.3em;
	}
}

.heading-logo {
	font-size: large;
	font-weight: var(--font-bold);

	display: flex;

	align-items: center;
	gap: .25em;
}
a.heading-logo {
	color: var(--fg);
	text-decoration: none;
}
a.heading-logo:hover {
	text-decoration: underline;
}
.heading-logo img {
	width: 1em;
	height: 1em;
}

.heading-nav-links {
	display: flex;
	gap: 2em;
	align-items: center;
}
.heading-nav-links a {
	color: var(--secondary-fg);
	text-decoration: none;
}
.heading-nav-links a:hover {
	text-decoration: underline;
}
.heading-nav-links .heading-nav-link--download[href="#"] {
	display: none;
}

.content-wrapper {
	display: flex;
	max-width: 40rem;
	margin: 2.5rem auto;
	flex: 1;

	flex-direction: column;
	gap: 2em;
	align-items: center;
}

@media (max-width: 50rem) {
	.content-wrapper {
		margin: 1.5rem 1rem;
	}
}

.content-wrapper>*, .message-preview>*, .test-wrapper>* {
	margin: 0;
}


.footer {
	max-width: 28rem;
	margin-top: auto;
	color: var(--secondary-fg);
	text-align: center;
}
