@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(/fonts/dm-sans-latin.woff2) format('woff2');
}
@font-face {
	font-family: 'Baloo 2';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url(/fonts/baloo-2-800-latin.woff2) format('woff2');
}

:root {
	--teal: #10a393;
	--teal-deep: #0b7a6e;
	--teal-deeper: #075e55;
	--teal-soft: #e3f6f3;
	--biscuit: #f6c453;
	--ink: #1d1b26;
	--slate: #625f6e;
	--line: #e4e2ea;
	--paper: #ffffff;
	--plate: #f7f6f9;
	--accent-text: var(--teal-deep);
	--word-ink: var(--ink);
	--word-accent: var(--teal);
	--sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--display: 'Baloo 2', 'DM Sans', system-ui, sans-serif;
	--mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--teal-soft: #13312e;
		--ink: #f0eff4;
		--slate: #aeabba;
		--line: #2e2c37;
		--paper: #15141b;
		--plate: #1c1b23;
		--accent-text: #3fd1bf;
		--word-accent: #3fd1bf;
		color-scheme: dark;
	}
}

* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
}
a {
	color: inherit;
}
h1,
h2,
h3,
p {
	margin: 0;
}
h1,
h2 {
	text-wrap: balance;
}
.wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}
.muted {
	color: var(--slate);
}
.eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-text);
}
:focus-visible {
	outline: 3px solid rgba(16, 163, 147, 0.5);
	outline-offset: 3px;
	border-radius: 6px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 999px;
	font: 700 16px/1 var(--sans);
	text-decoration: none;
	transition:
		background 150ms ease-out,
		transform 150ms ease-out;
}
.btn--primary {
	background: var(--teal-deep);
	color: #fff;
}
.btn--primary:hover {
	background: var(--teal-deeper);
}
.btn--ghost {
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover {
	box-shadow: inset 0 0 0 1.5px var(--slate);
}
@media (prefers-reduced-motion: reduce) {
	.btn {
		transition: none;
	}
}

/* Header */
.top {
	position: sticky;
	top: 0;
	z-index: 10;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
}
.top .wrap {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 68px;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--teal);
	text-decoration: none;
	margin-right: auto;
}
.logo .mark {
	width: 36px;
	height: 36px;
}
.logo .word {
	height: 26px;
	width: calc(26px * 4379 / 909);
}
.nav {
	display: flex;
	gap: 24px;
	font-weight: 500;
	font-size: 15px;
}
.nav a {
	text-decoration: none;
	color: var(--slate);
}
.nav a:hover {
	color: var(--ink);
}
.top .btn {
	padding: 10px 16px;
	font-size: 15px;
}
@media (max-width: 760px) {
	.nav {
		display: none;
	}
}
@media (max-width: 360px) {
	.top .wrap {
		gap: 16px;
	}
	.top .logo .word {
		height: 22px;
		width: calc(22px * 4379 / 909);
	}
	.top .btn {
		white-space: nowrap;
		padding-inline: 14px;
	}
}

footer {
	border-top: 1px solid var(--line);
	padding-block: 28px 40px;
	font-size: 14px;
	color: var(--slate);
}
footer .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: center;
}
footer .logo .word {
	height: 20px;
	width: calc(20px * 4379 / 909);
}
footer .logo .mark {
	width: 28px;
	height: 28px;
}
footer nav {
	display: flex;
	gap: 20px;
}
footer a {
	text-decoration: none;
}
footer a:hover {
	color: var(--ink);
}
