/*! Strand v0.2.0 | MIT License | dillingerstaffing.com */

/*
 * Strand Reset
 * Opinionated CSS reset for consistent cross-browser rendering.
 * Based on modern-normalize with Strand-specific additions.
 */

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

/* Remove default margin and padding */
* {
	margin: 0;
	padding: 0;
}

/* Document */
html {
	-webkit-text-size-adjust: 100%;
	-moz-tab-size: 4;
	tab-size: 4;
	line-height: 1.5;
}

/* Body */
body {
	min-height: 100dvh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Media defaults */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

/* Form element inheritance */
input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

/* Button reset */
button {
	cursor: pointer;
	background: none;
	border: none;
}

/* Textarea */
textarea {
	resize: vertical;
}

/* Anchor */
a {
	color: inherit;
	text-decoration: inherit;
}

/* Table */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* List */
ol,
ul {
	list-style: none;
}

/* Heading sizes reset (let the design system control sizing) */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
}

/* Remove fieldset styling */
fieldset {
	border: none;
}

/* Summary cursor */
summary {
	cursor: pointer;
}

/* Remove search input appearance */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/* Reduced motion */
@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;
	}
}
