*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--fg-on-paper);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.nav-open {
	overflow: hidden;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--logos-orange);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--logos-mint);
	outline-offset: 3px;
}

button,
input,
textarea,
select {
	font: inherit;
}

h1,
h2,
h3,
h4,
.display {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: var(--tracking-display);
	line-height: var(--lh-tight);
	text-transform: uppercase;
	text-wrap: balance;
}

h1 {
	font-size: var(--fs-display-lg);
}

h2 {
	font-size: var(--fs-display-md);
}

h3 {
	font-size: var(--fs-display-sm);
}

h4 {
	font-size: var(--fs-h4);
}

p {
	margin: 0;
	text-wrap: pretty;
}

ul,
ol {
	margin-block: 0;
	padding-inline-start: 1.25em;
}

.entry-content > * + * {
	margin-block-start: var(--space-5);
}

.entry-content img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: var(--space-3);
	border: 1px solid var(--hairline-on-paper);
	text-align: left;
	vertical-align: top;
}
