:root {
	color-scheme: dark;
	--paper: #061125;
	--ink: #f7faff;
	--accent: #7db6ff;
	--muted: #bdcce2;
	--rule: #2a3e5b;
	--surface: #0d1b31;
	--brand-blue: #1f78ff;
	font: 16px/1.6 Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
.view-home {
	background: linear-gradient(90deg, #061125 12%, #061125e8 48%, #06112561),
		url("/assets/brand-room.webp") top right / auto min(85vh, 50rem) no-repeat, var(--paper);
}
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-header {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: .7rem 2rem;
	padding: 1.1rem max(5vw, 1.25rem); border-bottom: 1px solid var(--rule);
}
.wordmark { display: flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: bold; text-decoration: none; }
.wordmark img { background: #f7faff; border-radius: .8rem; }
nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; }
main { width: min(90%, 70rem); margin: 3rem auto 5rem; }
h1, h2 { font-weight: 500; line-height: 1.1; margin: 0 0 1rem; }
h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
main > section + section { margin-top: 3rem; border-top: 1px solid var(--rule); padding-top: 2rem; }
.recipe { max-width: 57rem; margin: 4rem auto 0; }
.recipe h1 { max-width: 12ch; font-size: clamp(3rem, 9vw, 7rem); }
.intro { font-size: 1.25rem; color: var(--muted); max-width: 36ch; }
.recipe-columns {
	display: grid; grid-template-columns: 2fr 3fr; gap: 2rem 3rem;
	background: #09142ae8; border: 1px solid var(--rule); border-radius: 1.2rem;
	padding: 2rem clamp(1rem, 5vw, 2.5rem); margin-top: 2.5rem;
}
ol, ul { padding-left: 1.2rem; }
li + li { margin-top: .35rem; }
.inline { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem 1rem; }
.stack { display: grid; gap: 1rem; justify-items: start; }
.stack label { width: 100%; }
.narrow { max-width: 32rem; margin-inline: auto; }
label { display: grid; gap: .25rem; }
.check { display: flex; align-items: center; }
input, textarea, select, button {
	font: inherit; color: inherit; padding: .45rem .65rem; border: 1px solid var(--rule);
	border-radius: .4rem; background: var(--surface); max-width: 100%;
}
textarea, .narrow input { width: 100%; }
input[type=number] { width: 7em; }
button { cursor: pointer; background: #1456d8; color: white; border-color: var(--brand-blue); }
button:hover { background: #1a62e7; }
.link { background: transparent; padding: 0; border: none; color: var(--accent); text-decoration: underline; }
.link:hover { background: transparent; }
.narrow .actions { margin-top: 1rem; }
.message { border-left: .2rem solid var(--accent); padding-left: 1rem; }
.table { overflow-x: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; text-align: left; }
td, th { border-bottom: 1px solid var(--rule); padding: .65rem .65rem; vertical-align: top; }
th { font-weight: 600; }
.invites li { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
@media (max-width: 650px) {
	.recipe { margin-top: 2rem; }
	.recipe-columns { grid-template-columns: 1fr; }
}
