/* ==========================================
   BASE STYLES
========================================== */

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	background: var(--ss-background);
	color: var(--ss-text);
	font-family: var(--ss-font-body);
	font-size: 16px;
	line-height: 1.6;
}


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

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: var(--ss-space-5);

	color: var(--ss-text);
	font-family: var(--ss-font-heading);
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
	font-size: clamp(1.6rem, 4vw, 2.25rem);
}

h3 {
	font-size: clamp(1.35rem, 3vw, 1.75rem);
}

h4 {
	font-size: 1.25rem;
}

h5 {
	font-size: 1.1rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-top: 0;
	margin-bottom: var(--ss-space-4);
}

a {
	color: var(--ss-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--ss-secondary);
}


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

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


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

ul,
ol {
	margin-top: 0;
	margin-bottom: var(--ss-space-5);
	padding-left: var(--ss-space-6);
}

li {
	margin-bottom: var(--ss-space-2);
}


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

table {
	width: 100%;
	margin-bottom: var(--ss-space-5);
	border-collapse: collapse;
}

th,
td {
	padding: var(--ss-space-4);
	border: 1px solid var(--ss-border);
	text-align: left;
}

th {
	background: var(--ss-surface);
	font-weight: 700;
}

