@font-face {
	font-family: "Noto Serif";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/noto-serif-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Noto Serif";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/noto-serif-latin-italic.woff2") format("woff2");
}

:root {
	--text: #1c1c1c;
	--muted: #6b6b6b;
	--rule: #dcdcdc;
	--link: #1c1c1c;
	--bg: #ffffff;
	--sans: Arial, Helvetica, sans-serif;
	--serif: "Noto Serif", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--text: #e6e6e6;
		--muted: #9a9a9a;
		--rule: #3a3a3a;
		--link: #e6e6e6;
		--bg: #161616;
	}
}

* {
	box-sizing: border-box;
}

body {
	max-width: 30rem;
	margin: 0 auto;
	padding: 3.5rem 16px 2rem;
	background: var(--bg);
	color: var(--text);
	font-family: var(--serif);
	font-size: 15px;
	line-height: 1.6;
}

/* Card header: company name + navigation */

header {
	text-align: center;
	padding-bottom: 1.25rem;
	margin-bottom: 0.5rem;
	border-bottom: 1px solid var(--rule);
}

h1 {
	margin: 0 0 0.6rem;
	font-family: var(--sans);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.06em;
}

nav {
	font-family: var(--sans);
	font-size: 0.8rem;
}

nav a + a {
	margin-left: 1.25rem;
}

/* Sections */

h2 {
	margin: 1.75rem 0 0.4rem;
	font-family: var(--sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

p,
ul,
address {
	margin: 0 0 0.75rem;
}

ul {
	padding-left: 1.2rem;
}

li + li {
	margin-top: 0.2rem;
}

address {
	font-style: normal;
	line-height: 1.5;
}

a {
	color: var(--link);
	text-decoration-color: var(--muted);
	text-underline-offset: 0.15em;
}

a:hover {
	text-decoration-color: currentColor;
}

footer {
	margin-top: 2.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--rule);
	text-align: center;
	font-family: var(--sans);
	font-size: 0.72rem;
	color: var(--muted);
}
