/**
 * CSS Reset
 * Modern, minimal reset for Remote Madam
 */

/* ============================================
   BOX SIZING
   ============================================ */

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

/* ============================================
   DOCUMENT
   ============================================ */

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}

/* ============================================
   BODY
   ============================================ */

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

/* ============================================
   LISTS
   ============================================ */

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

/* ============================================
   MEDIA
   ============================================ */

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

/* ============================================
   FORMS
   ============================================ */

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

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

/* ============================================
   TABLES
   ============================================ */

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ============================================
   ANCHORS
   ============================================ */

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

/* ============================================
   ACCESSIBILITY
   ============================================ */

[hidden] {
	display: none;
}

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

/* ============================================
   HEADING RESET
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-tight);
}

/* ============================================
   PARAGRAPH RESET
   ============================================ */

p {
	line-height: var(--line-height-normal);
}

/* ============================================
   BLOCKQUOTE RESET
   ============================================ */

blockquote {
	border-left: 4px solid var(--color-border);
	padding-left: var(--spacing-4);
	font-style: italic;
}

/* ============================================
   CODE RESET
   ============================================ */

code,
pre {
	font-family: var(--font-mono);
}

pre {
	overflow-x: auto;
	padding: var(--spacing-4);
	background-color: var(--color-surface);
	border-radius: var(--radius-md);
}

/* ============================================
   HR RESET
   ============================================ */

hr {
	border: none;
	border-top: 1px solid var(--color-border);
	margin: var(--spacing-8) 0;
}
