/* ==========================================================================
   Beautiful View - Base / Reset / Typography
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	-moz-tab-size: 4;
	tab-size: 4;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	font-size: var(--font-size-base);
	font-weight: 400;
	line-height: var(--leading-normal);
	color: var(--color-body);
	background-color: var(--color-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

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

button {
	cursor: pointer;
	background: none;
	border: none;
}

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

ul,
ol {
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--color-heading);
	overflow-wrap: break-word;
}

h1, h2 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: var(--tracking-tight);
	line-height: var(--leading-tight);
}

h3, h4, h5, h6 {
	font-family: var(--font-sans);
	font-weight: 600;
	line-height: var(--leading-snug);
}

h1 {
	font-size: var(--font-size-4xl);
}

h2 {
	font-size: var(--font-size-3xl);
}

h3 {
	font-size: var(--font-size-2xl);
}

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

h5 {
	font-size: var(--font-size-lg);
}

h6 {
	font-size: var(--font-size-md);
}

@media (min-width: 1024px) {
	h1 {
		font-size: var(--font-size-5xl);
	}
	h2 {
		font-size: var(--font-size-4xl);
	}
	h3 {
		font-size: var(--font-size-3xl);
	}
}

p {
	margin-bottom: var(--space-4);
	line-height: var(--leading-normal);
}

p:last-child {
	margin-bottom: 0;
}

strong {
	font-weight: 600;
}

em {
	font-style: italic;
}

blockquote {
	border-left: 3px solid var(--color-accent-light);
	padding-left: var(--space-6);
	font-family: var(--font-display);
	font-style: italic;
	font-size: var(--font-size-lg);
	color: var(--color-primary);
}

hr {
	border: none;
	border-top: var(--border-width) solid var(--color-border);
	margin: var(--space-8) 0;
}

::selection {
	background-color: var(--color-accent-50);
	color: var(--color-heading);
}

:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
