/* ==========================================================================
 * Reset / Normalize
 * ========================================================================== */

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

html {
	font-size: var(--font-size-sm);
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	font-size: var(--font-size-sm);
	line-height: var(--line-height);
	color: var(--color-text);
	background: var(--color-bg);
	min-height: 100vh;
}

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

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

ul, ol {
	list-style: none;
}

button {
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
}

input, select, textarea {
	font-family: inherit;
	font-size: inherit;
}

table {
	border-collapse: collapse;
	width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-text);
}

h1 { font-size: var(--font-size-xl); }
h2 { font-size: var(--font-size-lg); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
