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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Disable the tap highlight on touch devices (the open menu makes the whole page tappable) */
	-webkit-tap-highlight-color: transparent;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 400;
	color: var(--ink);
}

p {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

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

/* Background videos: no browser controls or play button (Safari shows one when autoplay is blocked). */
.bg-video {
	pointer-events: none;
}

.bg-video::-webkit-media-controls,
.bg-video::-webkit-media-controls-panel,
.bg-video::-webkit-media-controls-overlay-play-button,
.bg-video::-webkit-media-controls-start-playback-button {
	display: none !important;
	-webkit-appearance: none;
	opacity: 0;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: 0;
	background: none;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

input {
	font-family: inherit;
}
