@font-face {
	font-family: Nunito;
	font-weight: 200 1000;
	font-display: swap;
	src: url('/nunito.woff2') format('woff2');
}
:root {
	color-scheme: dark;
	--background: #2a2220;
	--foreground: #f8efd6;
	--card: #3b2f2b;
	--surface-2: #493a34;
	--muted: #cdbb9f;
	--primary: #f8cf4d;
	--primary-edge: #b88a24;
	--primary-ink: #4a3824;
	--ring: #5fd4c0;
	--line: rgba(255, 240, 200, 0.1);
	--dots: rgba(255, 240, 200, 0.04);
	--radius: 0.625rem;
}
@media (prefers-color-scheme: light) {
	:root {
		color-scheme: light;
		--background: #f6efd9;
		--foreground: #5a4632;
		--card: #fffaea;
		--surface-2: #efe4c4;
		--muted: #766144;
		--primary-edge: #d9a92b;
		--primary-ink: #5a4632;
		--ring: #1a7f6f;
		--line: rgba(90, 70, 50, 0.14);
		--dots: rgba(120, 92, 50, 0.05);
	}
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	font:
		600 15.5px/1.5 Nunito,
		ui-rounded,
		system-ui,
		sans-serif;
	color: var(--foreground);
	background: var(--background) radial-gradient(var(--dots) 1px, transparent 1px) 0 0 / 12px 12px;
}
header {
	background: var(--card);
	border-bottom: 1px solid var(--line);
}
header > div,
main {
	max-width: 68rem;
	margin: auto;
	padding: 1rem clamp(1rem, 4vw, 3rem);
}
header > div,
article {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.brand {
	font-size: 22px;
	font-weight: 800;
	color: var(--foreground);
	text-decoration: none;
}
main {
	padding-block: 2.25rem 4rem;
}
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	gap: 1rem;
}
h1,
h2,
h3 {
	line-height: 1.2;
	font-weight: 800;
}
h1 {
	font-size: 28px;
	margin: 0 0 1.25rem;
}
h2 {
	font-size: 22px;
}
h3 {
	font-size: 18px;
}
section {
	min-width: 0;
	padding: clamp(1rem, 3vw, 1.75rem);
	margin-bottom: 1rem;
	background: var(--card);
	border-radius: calc(var(--radius) * 2);
	border: 1px solid var(--line);
}
section > :first-child {
	margin-top: 0;
}
p {
	color: var(--muted);
	overflow-wrap: anywhere;
}
.notice {
	padding: 0.8rem 1rem;
	background: var(--surface-2);
	border-radius: var(--radius);
}
article {
	padding: 1rem 0;
	border-top: 1px solid var(--line);
}
article p {
	margin: 0.25rem 0;
}
small {
	font-size: 13px;
	color: var(--muted);
	overflow-wrap: anywhere;
}
form {
	display: grid;
	gap: 0.85rem;
	justify-items: start;
}
form p {
	margin: 0;
}
label,
fieldset {
	width: 100%;
}
label,
legend {
	font-weight: 700;
}
input,
select,
button,
.button {
	font: inherit;
}
input,
select {
	min-height: 44px;
	width: 100%;
	margin-top: 0.25rem;
	padding: 0.55rem 0.85rem;
	color: var(--foreground);
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}
legend {
	padding: 0;
	margin-bottom: 0.25rem;
}
.check {
	min-height: 40px;
	display: flex;
	gap: 0.6rem;
	align-items: center;
}
.check input {
	width: 1.2rem;
	min-height: 1.2rem;
	margin: 0;
	accent-color: var(--ring);
}
button,
.button {
	display: inline-block;
	cursor: pointer;
	text-decoration: none;
	font-weight: 800;
	border: none;
	border-radius: 100vmax;
	padding: 0.6rem 1.15rem;
	min-height: 42px;
	color: var(--primary-ink);
	background: var(--primary);
	box-shadow: 0 3px var(--primary-edge);
	transition:
		transform 140ms,
		box-shadow 140ms;
}
button.secondary {
	background: var(--surface-2);
	color: var(--foreground);
	box-shadow: 0 3px var(--line);
}
button:hover,
.button:hover {
	transform: translateY(-1px);
}
button:active,
.button:active {
	transform: translateY(2px);
	box-shadow: none;
}
:focus-visible {
	outline: 3px solid var(--ring);
	outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before {
		transition: none !important;
	}
}
