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

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

:focus,
:active {
	outline: none;
}

input,
button,
textarea {
	font-family: inherit;
}

button {
	cursor: pointer;
}

a,
a:visited {
	text-decoration: none;
}

ul li {
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: inherit;
}

html {
	scroll-behavior: smooth;
	height: 100%;
	overflow-x: hidden;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	transition: background-color 0.3s ease, color 0.3s ease;
	min-height: 100%;
	-webkit-text-size-adjust: 100%;
}

::selection {
	background: rgba(var(--brand-blue-rgb), 0.3);
	color: var(--text-primary);
}

.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	z-index: 1500;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.scroll-progress.visible {
	opacity: 1;
}

.scroll-progress-bar {
	height: 100%;
	background: linear-gradient(90deg,
		rgba(var(--brand-blue-rgb), 0.5),
		rgba(var(--brand-blue-rgb), 0.8));
	width: 0%;
	transition: width 0.1s ease;
}

::-webkit-scrollbar {
	width: 4px;
}

::-webkit-scrollbar-track {
	background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
	background: var(--border-medium);
	border-radius: 4px;
}

[x-cloak] {
	display: none !important;
}

html:not([data-theme]) {
	visibility: hidden;
}

html[data-theme] {
	visibility: visible;
}

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