/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

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

* {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

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

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/* Custom styles */

:root {
	--color-bg-lightness: 0.93;
	--color-bg-chroma: 0.0326;
	--color-bg-hue-start: 132.2;
	--color-bg-hue-end: 275.9;
	--color-bg-start: oklch(var(--color-bg-lightness) var(--color-bg-chroma) var(--color-bg-hue-start));
	--color-bg-end: oklch(var(--color-bg-lightness) var(--color-bg-chroma) var(--color-bg-hue-end));
	--color-btn-lightness: 0.85;
	--color-btn-chroma: 0.07;
	--color-btn-hue: var(--color-bg-hue-end);
	--color-btn: oklch(var(--color-btn-lightness) var(--color-btn-chroma) var(--color-btn-hue));
}


body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: linear-gradient(135deg, var(--color-bg-start), var(--color-bg-end));
	z-index: -1;
}

.page {
	min-height: 100vh;
	max-width: 958px;
	display: flex;
	flex-direction: column;
	position: relative;
	margin: 100px auto;
	padding: 0 32px;
	font-family: Space Grotesk, sans-serif;
	font-size: 15px;
}

.cta {
	position: absolute;
	top: 5px;
	right: 5px;
	padding: 1em;
	letter-spacing: 1px;
	background: var(--color-btn);
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease;
	box-shadow:
		0 0 4px -1px oklch(var(--color-btn-lightness) var(--color-btn-chroma) var(--color-btn-hue) / 0.5),
		2px -1px 10px 2px oklch(var(--color-btn-lightness) var(--color-btn-chroma) var(--color-btn-hue) / 0.3);
}

.cta:hover {
	transform: scale(1.05);
}

.header {
	display: flex;
	flex-direction: column;
	font-size: 2.5em;
}

h1 {
	font-size: inherit;
}

.section {
	margin-top: 4em;
}

.section h2 {
	font-size: 1.5em;
	font-weight: normal;
	margin-bottom: 0.6em;
}

ul {
	list-style: disc;
	padding-left: 1.5em;
}

ul li {
	margin-bottom: 8px;
}

.contacts {
	list-style: none;
	padding-left: 0;
}

.contacts li {
	display: flex;
	gap: 8px;
	align-items: center;
}

.contacts li img {
	width: 1.2em;
	height: 1.2em;
	object-fit: contain;
}


.contacts a {
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease;
}

@media screen and (max-width: 600px) {
	.page {
		margin: 100px 16px;
		padding: 0;
	}

	.cta {
		position: fixed;
		bottom: 5px;
		right: 5px;
		top: auto;
		left: auto;
	}
}

@media print {
	.page {
		margin: 4em 0;
		padding: 0;
		max-width: 100%;
	}

	.cta {
		display: none;
	}
}