.detail {
	padding: 55px 6% 80px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
}
.back {
	font-size: 14px;
	color: var(--muted);
}
.detail-image {
	margin-top: 25px;
	background: #e2e9dd;
	border-radius: 8px;
	padding: 30px;
}
.detail-image img {
	width: 100%;
	max-height: 650px;
	object-fit: contain;
}
.detail-copy {
	padding-top: 50px;
}
.detail h1 {
	font: 500 48px/1.2 var(--serif);
	margin: 20px 0;
}
.description {
	white-space: pre-line;
	font-size: 17px;
	line-height: 1.9;
	color: var(--muted);
}
.price {
	font-size: 30px;
	display: block;
	margin: 25px 0;
}
.price small {
	font-size: 12px;
	color: var(--muted);
	font-weight: 400;
}
.purchase {
	display: flex;
	gap: 12px;
}
.outline {
	background: transparent;
	border: 1px solid var(--green);
	padding: 14px 20px;
	border-radius: 5px;
	color: var(--green);
}
dl {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 14px;
	font-size: 14px;
	border-top: 1px solid var(--line);
	margin-top: 30px;
	padding-top: 25px;
}
dt {
	color: var(--muted);
}
dd {
	margin: 0;
	overflow-wrap: anywhere;
}
.subtle {
	color: var(--muted);
	font-size: 14px;
}
.preview {
	width: 100%;
	margin-top: 25px;
}
.cats {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 10px;
	margin-bottom: 28px;
}
.cats a {
	border: 1px solid var(--line);
	padding: 14px 12px;
	text-align: center;
	letter-spacing: 1.4px;
	font-size: 12px;
	font-weight: 700;
	background: white;
}
.cats a:hover {
	border-color: var(--green);
	color: var(--green);
}
.quiz-shell {
	min-height: 60vh;
}
.quiz-progress {
	display: flex;
	justify-content: space-between;
	color: var(--muted);
	font-size: 14px;
	margin: 18px 0 8px;
}
.quiz-bar {
	height: 4px;
	background: var(--line);
	margin-bottom: 28px;
}
.quiz-bar span {
	display: block;
	height: 4px;
	background: var(--green);
}
.quiz-prompt {
	font-size: 28px;
	line-height: 1.3;
	margin: 0 0 24px;
}
.quiz-options {
	display: grid;
	gap: 10px;
}
.quiz-options button {
	text-align: left;
	padding: 16px 18px;
	border: 1px solid var(--line);
	background: white;
	border-radius: 6px;
}
.quiz-options button:hover,
.quiz-options button.picked {
	border-color: var(--green);
	background: var(--lime);
}
.quiz-nav {
	display: flex;
	gap: 12px;
	margin-top: 22px;
}
.score-hero {
	font-size: 96px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -3px;
	margin: 12px 0 8px;
	color: var(--green);
}
.score-label {
	font-size: 22px;
	margin: 0 0 16px;
}
@media (max-width: 800px) {
	.cats {
		grid-template-columns: 1fr 1fr;
	}
	.score-hero {
		font-size: 64px;
	}
	.quiz-prompt {
		font-size: 22px;
	}
}
.narrow {
	max-width: 780px;
	margin: auto;
	padding: 65px 30px 110px;
}
.cart-row,
.order-list > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}
.cart-row button {
	border: 0;
	background: none;
	color: var(--muted);
}
.cart-total {
	font-size: 25px;
	text-align: right;
}
.library-card {
	background: white;
	padding: 25px;
	border: 1px solid var(--line);
	border-radius: 8px;
}
.library-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.order-list {
	margin-bottom: 50px;
	font-size: 14px;
}
#feedback-form {
	max-width: 650px;
}
.feedback-thread {
	padding: 20px;
	border: 1px solid var(--line);
	margin-top: 20px;
	border-radius: 6px;
}
.feedback-thread p {
	white-space: pre-line;
}
.feedback-thread textarea {
	width: 100%;
}
.empty {
	padding: 50px 0;
	color: var(--muted);
}
footer {
	background: #edf0ea;
	padding: 45px 6%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	font-size: 14px;
}
footer p {
	margin: 0;
}
footer div {
	display: flex;
	gap: 25px;
}
footer small {
	color: var(--muted);
}
#notice {
	position: fixed;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
	padding: 12px 24px;
	background: var(--ink);
	color: white;
	border-radius: 8px;
	display: none;
	z-index: 10;
}
#notice.visible {
	display: block;
}
@media (max-width: 800px) {
	.nav {
		padding: 20px 5%;
		flex-wrap: wrap;
		gap: 14px;
	}
	.nav nav {
		order: 3;
		width: 100%;
		justify-content: center;
	}
	.nav-actions {
		gap: 14px;
	}
	.hero {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 45px 6%;
	}
	.hero-art {
		min-height: 400px;
		max-width: 500px;
		width: 100%;
		margin: 10px auto;
	}
	.grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 25px 18px;
	}
	.card-image {
		height: 230px;
	}
	.how {
		grid-template-columns: 1fr 1fr;
	}
	.detail {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	.detail-copy {
		padding-top: 15px;
	}
	.filters {
		flex-wrap: wrap;
	}
	.filters input {
		flex-basis: 100%;
	}
	.page-title {
		font-size: 40px;
	}
	footer {
		grid-template-columns: 1fr;
	}
	.hero h1 {
		font-size: 48px;
	}
}
@media (max-width: 480px) {
	.grid {
		grid-template-columns: 1fr;
	}
	.card-image {
		height: 330px;
	}
	.section-heading {
		align-items: start;
		gap: 15px;
	}
	.section-heading h2 {
		font-size: 29px;
	}
	.hero-art {
		min-height: 360px;
	}
	.art-sheet img {
		height: 225px;
	}
	.sheet-2 img {
		height: 190px;
	}
	.hero h1 {
		font-size: 42px;
	}
	.purchase {
		flex-direction: column;
	}
	.how {
		grid-template-columns: 1fr 1fr;
	}
	.how h2 {
		grid-column: span 2;
	}
	.order-list > a {
		flex-wrap: wrap;
	}
	.brand-small {
		font-size: 9px;
	}
	.nav-actions {
		font-size: 12px;
	}
}
