@import url('https://rsms.me/inter/inter.css');
@import url('https://fonts.googleapis.com/css2?family=Petrona:ital,wght@0,300..700;1,300..700&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

:root {
	color-scheme: light;
	--ink: #11182d;
	--muted: #657085;
	--soft: #837667;
	--line: #ddcfbd;
	--paper: #fffaf1;
	--paper-deep: #f5ead9;
	--panel: #fffdf8;
	--green: #0f5d45;
	--green-soft: #e3f1e8;
	--coral: #d56547;
	--coral-soft: #fee4d6;
	--gold: #c18424;
	--gold-soft: #fff0bf;
	--lavender: #6d5aa8;
	--lavender-soft: #eee6ff;
	--blue: #295f80;
	--blue-soft: #deeff5;
	--pastel-blue: #dfeeff;
	--pastel-rose: #fee6ee;
	--pastel-butter: #fff1b8;
	--pastel-mint: #e3f3e3;
	--pastel-peach: #ffe2cf;
	--pastel-lilac: #eee5ff;
	--pastel-cyan: #d6f3f9;
	--pastel-pink: #fde4ef;
	--tomato: #c93a27;
	--tomato-soft: #fde1d8;
	--marigold: #e6aa2e;
	--marigold-soft: #ffe49a;
	--oxford: #05214e;
	--plum: #5c4978;
	--shadow: 0 18px 50px rgba(38, 28, 18, 0.1);
	--serif: 'Petrona', Georgia, 'Times New Roman', serif;
	--mono: 'Courier Prime', 'Courier New', ui-monospace, monospace;
	--sans:
		'InterVariable', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
		sans-serif;
	font-family: var(--sans);
	font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01', 'ss03';
	font-optical-sizing: auto;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}

input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: -2px;
}

button,
input,
textarea {
	font: inherit;
}

button {
	-webkit-tap-highlight-color: transparent;
}

.shell {
	width: min(1280px, calc(100% - 64px));
	margin: 0 auto;
}

.site-header {
	position: relative;
	z-index: 40;
	isolation: isolate;
	padding: 18px 0 14px;
	background: #fff;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 60px;
	padding: 0;
}

.site-header.is-stuck .nav {
	background: transparent;
}

.site-header.menu-open {
	z-index: 80;
}

.site-header.menu-open .nav {
	background: transparent;
}

.brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 9px;
	color: var(--ink);
	font-family: var(--serif);
	font-size: 27px;
	font-weight: 620;
	white-space: nowrap;
}

.brand em {
	margin-left: 3px;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: normal;
	font-weight: inherit;
	vertical-align: 0;
}

.brand-mark {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
}

.brand-mark img {
	display: block;
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.nav-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 2px;
	color: #42516b;
	font-size: 14.5px;
	font-weight: 560;
}

.nav-links a {
	border-radius: 10px;
	padding: 9px 13px;
}

.nav-links a:not(.nav-cta):hover {
	background: rgba(15, 93, 69, 0.08);
	color: var(--ink);
}

.nav-links .nav-cta {
	margin-left: 12px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--oxford);
	padding: 11px 20px;
	color: #fffdf8;
	font-weight: 540;
	box-shadow: 0 8px 20px rgba(5, 33, 78, 0.2);
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease;
}

.nav-links .nav-cta:hover {
	background: #082e63;
	color: #fffdf8;
	box-shadow: 0 12px 26px rgba(5, 33, 78, 0.28);
	transform: translateY(-1px);
}

.nav-menu-toggle {
	display: none;
	position: relative;
	z-index: 2;
	width: 48px;
	height: 48px;
	flex: none;
	place-items: center;
	gap: 4px;
	border: 1px solid rgba(24, 32, 47, 0.16);
	border-radius: 14px;
	background: rgba(255, 253, 248, 0.78);
	padding: 0;
	cursor: pointer;
	touch-action: manipulation;
}

.nav-menu-toggle:hover {
	background: rgba(255, 253, 248, 0.96);
}

.nav-menu-toggle span {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: var(--ink);
	transition:
		opacity 140ms ease,
		transform 180ms ease;
}

.nav-menu-toggle span:nth-child(1) {
	transform: translate(-50%, -8px);
}

.nav-menu-toggle span:nth-child(2) {
	transform: translate(-50%, -50%);
}

.nav-menu-toggle span:nth-child(3) {
	transform: translate(-50%, 6px);
}

.site-header.menu-open .nav-menu-toggle span:nth-child(1) {
	transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.menu-open .nav-menu-toggle span:nth-child(2) {
	opacity: 0;
}

.site-header.menu-open .nav-menu-toggle span:nth-child(3) {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu {
	position: relative;
	z-index: 19;
	display: grid;
	gap: 6px;
	margin-top: 8px;
	border: 1px solid rgba(91, 75, 55, 0.14);
	border-radius: 16px;
	background: rgba(255, 250, 241, 0.96);
	padding: 8px;
	box-shadow: 0 18px 44px rgba(38, 28, 18, 0.14);
	backdrop-filter: blur(18px) saturate(1.15);
}

.mobile-menu[hidden] {
	display: none;
}

.mobile-menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	border-radius: 10px;
	padding: 12px 13px;
	color: #2d374b;
	font-weight: 620;
}

.mobile-menu a:hover {
	background: rgba(21, 87, 67, 0.08);
	color: var(--ink);
}

.mobile-menu a:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 2px;
}

.mobile-menu .mobile-menu-cta {
	justify-content: center;
	margin-top: 4px;
	border-radius: 999px;
	background: var(--ink);
	color: #fffdf8;
	box-shadow: 0 10px 22px rgba(17, 26, 44, 0.18);
}

.mobile-menu .mobile-menu-cta:hover {
	background: #1c2740;
	color: #fffdf8;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	letter-spacing: 0;
	overflow-wrap: break-word;
}

h1,
h2 {
	font-family: var(--serif);
	font-weight: 560;
}

h1 {
	margin-bottom: 20px;
	font-size: 66px;
	line-height: 0.96;
}

h2 {
	margin-bottom: 10px;
	font-size: 38px;
	line-height: 1.04;
}

h3 {
	margin-bottom: 8px;
	font-size: 20px;
	line-height: 1.2;
}

p {
	line-height: 1.6;
	overflow-wrap: break-word;
}

.home-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	min-height: 820px;
	overflow: hidden;
	padding: 58px 0 48px;
	isolation: isolate;
}

.hero-copy {
	position: relative;
	z-index: 2;
	display: grid;
	justify-items: center;
	width: min(820px, 100%);
	text-align: center;
}

.hero-copy h1 {
	max-width: 760px;
}

.hero-copy h1 span {
	display: inline-block;
	color: var(--green);
	font-style: italic;
}

.hero-copy::before {
	display: none;
}

.floating-art {
	position: absolute;
	z-index: 1;
	display: block;
	height: auto;
	pointer-events: none;
	user-select: none;
}

.mascot-art {
	top: 300px;
	left: max(-18px, calc(50% - 650px));
	width: clamp(96px, 8.5vw, 132px);
	transform: rotate(-7deg);
}

.sticker-art {
	top: 250px;
	left: 50%;
	width: min(880px, 68vw);
	opacity: 0.38;
	transform: translateX(-50%);
}

.note-art {
	top: 342px;
	right: max(-18px, calc(50% - 670px));
	width: clamp(110px, 10vw, 150px);
	height: auto;
	transform: rotate(9deg);
}

.hero-preview {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(132px, 0.25fr) minmax(0, 1fr);
	gap: 18px;
	width: min(900px, 100%);
	margin-top: 46px;
	border: 1px solid rgba(91, 75, 55, 0.16);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.84);
	padding: 18px;
	text-align: left;
	box-shadow: 0 26px 70px rgba(39, 31, 23, 0.12);
}

.preview-query {
	border-right: 1px solid rgba(91, 75, 55, 0.14);
	padding: 8px 18px 8px 0;
}

.preview-query p {
	margin: 12px 0 0;
	border: 1px solid rgba(122, 92, 188, 0.16);
	border-radius: 8px;
	background: var(--lavender-soft);
	padding: 16px;
	font-weight: 780;
	line-height: 1.45;
	box-shadow: 0 14px 30px rgba(122, 92, 188, 0.1);
	transform: rotate(-1.5deg);
}

.preview-results {
	display: grid;
	gap: 16px;
}

.preview-toolbar {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 14px;
}

.preview-toolbar strong,
.preview-card strong {
	display: block;
	color: var(--ink);
	font-weight: 900;
}

.preview-toolbar p,
.preview-card p {
	margin: 3px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
}

.preview-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.preview-card {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 12px;
	min-height: 150px;
	border: 1px solid rgba(91, 75, 55, 0.14);
	border-radius: 8px;
	background: #fffefb;
	padding: 14px;
	box-shadow: 0 12px 24px rgba(39, 31, 23, 0.055);
}

.preview-card .book-tile {
	width: 58px;
	height: 78px;
	box-shadow: 0 8px 14px rgba(24, 32, 47, 0.14);
}

.preview-card .book-tile span {
	font-size: 9px;
}

.preview-card span {
	display: block;
	margin: 2px 0 7px;
	color: var(--soft);
	font-size: 12px;
}

.preview-feedback {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	border: 1px solid rgba(189, 135, 50, 0.2);
	border-radius: 8px;
	background: rgba(255, 246, 229, 0.7);
	padding: 10px 12px;
	color: #7f5b1d;
	font-size: 13px;
}

.preview-feedback .mini-button {
	min-height: 34px;
	padding: 7px 10px;
	background: rgba(255, 253, 248, 0.86);
}

/* ============================================================
   Homepage hero — "The Match Desk"
   ============================================================ */

.editorial-hero {
	--hero-viewport-gutter: 20px;
	--hero-radius: clamp(22px, 2vw, 34px);
	position: relative;
	z-index: 2;
	display: block;
	width: min(1880px, calc(100% - (var(--hero-viewport-gutter) * 2)));
	min-height: max(580px, calc(100svh - 92px - var(--hero-viewport-gutter)));
	margin: 0 auto;
	border: 0;
	border-radius: var(--hero-radius);
	background: var(--pastel-cyan);
	padding: clamp(48px, 5vw, 80px) 0 clamp(152px, 13vw, 188px);
	overflow: hidden;
	box-shadow:
		0 44px 80px rgba(38, 28, 18, 0.14),
		0 10px 26px rgba(38, 28, 18, 0.08),
		0 1px 0 rgba(255, 255, 255, 0.58) inset;
	isolation: isolate;
}

/* The scrapbook collage that fills the whole hero. */
.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 76% 44%;
	pointer-events: none;
	user-select: none;
}

/* Cream legibility scrim: keeps the left copy crisp, lets the books breathe. */
.editorial-hero::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			98deg,
			var(--paper) 2%,
			rgba(255, 250, 241, 0.94) 30%,
			rgba(255, 250, 241, 0.6) 46%,
			rgba(255, 250, 241, 0) 64%
		);
	content: '';
	pointer-events: none;
}

.editorial-hero::after {
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: var(--hero-radius);
	box-shadow: inset 0 0 0 1px rgba(58, 58, 58, 0.1);
	content: '';
	pointer-events: none;
}

/* --- Left column: copy --- */

.editorial-hero .hero-copy {
	position: relative;
	z-index: 2;
	display: grid;
	align-content: center;
	justify-items: start;
	width: min(1280px, calc(100% - 64px));
	min-height: clamp(250px, 23vw, 330px);
	margin: 0 auto;
	text-align: left;
}

.editorial-hero .hero-copy h1 {
	max-width: 11ch;
	margin: 0 0 22px;
	color: #0e1324;
	font-size: clamp(52px, 6vw, 92px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-wrap: balance;
}

.editorial-hero .hero-copy h1 em {
	font-style: italic;
	font-weight: 500;
	white-space: nowrap;
}

.editorial-hero .hero-lede {
	max-width: 46ch;
	margin: 0;
	color: #42516b;
	font-size: clamp(17px, 1.25vw, 19px);
	line-height: 1.5;
	text-wrap: pretty;
}

.editorial-hero .hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.editorial-hero .hero-actions .button {
	gap: 8px;
	min-height: 52px;
	padding: 14px 22px;
	border-radius: 999px;
	font-size: 16px;
}

.editorial-hero .hero-actions .button.secondary {
	border-color: rgba(5, 33, 78, 0.18);
	background: rgba(255, 253, 248, 0.7);
	color: var(--ink);
	box-shadow: none;
}

/* A small typed aside pointing at the bookmarks along the card's bottom edge.
   Anchored just above the tab row so the arrow nearly touches the first tab. */
.hero-mood-note {
	position: absolute;
	z-index: 2;
	bottom: 80px;
	left: max(36px, calc(50% - 636px));
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin: 0;
	color: #55503f;
	font-family: var(--mono);
	font-size: 14px;
	line-height: 1.2;
	rotate: -2deg;
	pointer-events: none;
}

.hero-mood-note svg {
	display: block;
	width: 22px;
	height: 30px;
	flex: none;
	margin-top: 8px;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
}

.hero-mood-note span {
	display: block;
}

/* --- Gentle staggered entrance (motion-safe) --- */
@media (prefers-reduced-motion: no-preference) {
	.editorial-hero .hero-copy > * {
		animation: heroRise 0.72s cubic-bezier(0.22, 0.68, 0.2, 1) both;
	}

	.editorial-hero .hero-copy h1 {
		animation-delay: 0.1s;
	}
	.editorial-hero .hero-lede {
		animation-delay: 0.2s;
	}
	.editorial-hero .hero-actions {
		animation-delay: 0.28s;
	}
	.mood-tab {
		animation: tabRiseIn 0.64s cubic-bezier(0.18, 0.86, 0.22, 1) both;
	}

	.mood-tab:nth-child(1) {
		animation-delay: 0.58s;
	}
	.mood-tab:nth-child(2) {
		animation-delay: 0.66s;
	}
	.mood-tab:nth-child(3) {
		animation-delay: 0.74s;
	}
	.mood-tab:nth-child(4) {
		animation-delay: 0.82s;
	}
	.mood-tab:nth-child(5) {
		animation-delay: 0.9s;
	}
	.mood-tab:nth-child(6) {
		animation-delay: 0.98s;
	}

	.hero-mood-note span {
		animation: noteFadeIn 0.36s ease-out 1.42s both;
	}

	.hero-mood-note svg {
		animation: arrowFadeIn 0.14s ease-out 1.62s both;
	}

	.hero-mood-note svg path {
		animation: arrowDraw 0.42s ease-out both;
		stroke-dasharray: 1;
		stroke-dashoffset: 1;
	}

	.hero-mood-note svg path:nth-child(1) {
		animation-delay: 1.62s;
	}
	.hero-mood-note svg path:nth-child(2) {
		animation-delay: 1.82s;
	}
	.hero-mood-note svg path:nth-child(3) {
		animation-delay: 1.9s;
	}

	.hero-bg {
		animation: heroBg 1.1s ease both;
	}
}

@keyframes heroRise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes heroBg {
	from {
		transform: scale(1.045);
	}
	to {
		transform: none;
	}
}

@keyframes tabRiseIn {
	from {
		opacity: 0;
		transform: rotate(var(--tab-tilt)) translateY(calc(var(--tab-drop) + 58px));
	}
	to {
		opacity: 1;
		transform: rotate(var(--tab-tilt)) translateY(var(--tab-drop));
	}
}

@keyframes noteFadeIn {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes arrowFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes arrowDraw {
	to {
		stroke-dashoffset: 0;
	}
}

/* --- Mood shelf: paper bookmarks rising out of the card's bottom edge.
       The lower --tab-overhang px of each tab is clipped by the card,
       so they read as slips of paper tucked behind the bottom lip. --- */
.mood-shelf {
	--tab-overhang: 30px;
	position: absolute;
	z-index: 2;
	inset: auto 0 calc(-1 * var(--tab-overhang)) 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 0;
	padding: 0 20px;
}

.mood-tab {
	--tab-img: none;
	--tab-ink: #5f513c;
	--tab-fill: #fff7e5;
	--tab-tilt: 0deg;
	--tab-drop: 0px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 248px;
	min-width: 0;
	aspect-ratio: 360 / 174;
	background: none;
	padding: 0 24px var(--tab-overhang);
	color: var(--tab-ink);
	filter: drop-shadow(0 -5px 12px rgba(38, 28, 18, 0.07));
	transform: rotate(var(--tab-tilt)) translateY(var(--tab-drop));
	translate: 0 0;
	transition: translate 170ms ease;
}

.mood-tab::before,
.mood-tab::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: center / 100% 100% no-repeat;
	content: '';
	pointer-events: none;
}

.mood-tab::before {
	background: var(--tab-fill);
	mask: var(--tab-img) center / 100% 100% no-repeat;
	-webkit-mask: var(--tab-img) center / 100% 100% no-repeat;
}

.mood-tab::after {
	background-image: var(--tab-img);
	opacity: 0.18;
}

.mood-tab + .mood-tab {
	margin-left: clamp(-74px, -3.6vw, -48px);
}

.mood-tab strong {
	position: relative;
	z-index: 1;
	display: block;
	font-family: var(--mono);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	text-wrap: balance;
}

/* Lift the bookmark out a little. */
.mood-tab:hover {
	translate: 0 -6px;
}

.mood-tab:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 4px;
}

.mood-tab-0 {
	--tab-img: url('/assets/images/mood-tab-raster-blue.png');
	--tab-ink: #fff7e5;
	--tab-fill: #1d5e88;
	--tab-tilt: -1.1deg;
}
.mood-tab-1 {
	--tab-img: url('/assets/images/mood-tab-raster-green.png');
	--tab-ink: #f8efd9;
	--tab-fill: #17654a;
	--tab-tilt: 0.9deg;
	--tab-drop: 3px;
}
.mood-tab-2 {
	--tab-img: url('/assets/images/mood-tab-raster-purple.png');
	--tab-ink: #46365f;
	--tab-fill: #a678e6;
	--tab-tilt: -0.7deg;
	--tab-drop: 1px;
}
.mood-tab-3 {
	--tab-img: url('/assets/images/mood-tab-raster-ochre.png');
	--tab-ink: #513715;
	--tab-fill: #f1ad36;
	--tab-tilt: 1.2deg;
	--tab-drop: 4px;
}
.mood-tab-4 {
	--tab-img: url('/assets/images/mood-tab-raster-coral.png');
	--tab-ink: #6b3329;
	--tab-fill: #f06d5d;
	--tab-tilt: -1deg;
	--tab-drop: 2px;
}
.mood-tab-5 {
	--tab-img: url('/assets/images/mood-tab-raster-charcoal.png');
	--tab-ink: #fff7e5;
	--tab-fill: #1d2731;
	--tab-tilt: 0.8deg;
	--tab-drop: 3px;
}

/* Below 1280px the tabs stop shrinking (labels need their clearance from the
   torn edges) and the row scrolls instead. The auto margins keep it centered
   whenever everything still fits. */
@media (max-width: 1280px) {
	.mood-shelf {
		justify-content: flex-start;
		gap: 0;
		overflow-x: auto;
		padding: 0 16px;
		scrollbar-width: none;
		scroll-snap-type: x proximity;
	}

	.mood-shelf::-webkit-scrollbar {
		display: none;
	}

	.mood-tab {
		flex: 0 0 224px;
		scroll-snap-align: start;
	}

	.mood-tab:first-child {
		margin-left: auto;
	}

	.mood-tab:last-child {
		margin-right: auto;
	}
}

@media (max-width: 1180px) {
	.mood-shelf {
		justify-content: center;
		overflow: visible;
		scroll-snap-type: none;
	}

	.mood-tab {
		flex: 0 1 216px;
	}

	.mood-tab:first-child,
	.mood-tab:last-child {
		margin: 0;
	}

	.mood-tab:nth-child(n + 5) {
		display: none;
	}
}

/* --- Airy reader starts: handmade marks with digital restraint --- */

.reader-starts {
	position: relative;
	overflow: hidden;
	background: transparent;
	padding: 132px 0 118px;
}

.reader-starts-inner {
	display: grid;
	justify-items: center;
	gap: 58px;
}

.reader-starts-head {
	display: grid;
	justify-items: center;
	gap: 12px;
	text-align: center;
}

.reader-starts-head h2 {
	max-width: 17ch;
	margin: 0;
	font-size: 68px;
	font-weight: 520;
	line-height: 0.98;
	text-wrap: balance;
}

.reader-starts-head h2 em {
	font-style: italic;
	font-weight: 520;
}

.reader-start-list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 38px;
	width: min(980px, 100%);
	margin: 0;
	padding: 0;
}

.reader-start-item {
	--start-ink: var(--ink);
	--start-soft: rgba(255, 250, 241, 0.84);
	display: grid;
	justify-items: center;
	gap: 14px;
	min-width: 0;
	text-align: center;
}

.reader-start-1 {
	--start-ink: var(--blue);
	--start-soft: var(--pastel-blue);
}

.reader-start-2 {
	--start-ink: var(--lavender);
	--start-soft: var(--pastel-lilac);
}

.reader-start-3 {
	--start-ink: #b67318;
	--start-soft: var(--pastel-butter);
}

.reader-start-4 {
	--start-ink: var(--green);
	--start-soft: var(--pastel-mint);
}

.reader-start-5 {
	--start-ink: var(--coral);
	--start-soft: var(--pastel-peach);
}

.reader-start-item dt,
.reader-start-item dd {
	margin: 0;
}

.reader-start-item a {
	display: grid;
	justify-items: center;
	gap: 14px;
	border-radius: 18px;
	color: #111a2f;
	font-size: 15px;
	font-weight: 620;
	line-height: 1.15;
	text-align: center;
}

.reader-start-icon-wrap {
	display: grid;
	width: 70px;
	height: 70px;
	place-items: center;
	border-radius: 22px;
	color: var(--start-ink);
	transition:
		background 170ms ease,
		box-shadow 170ms ease,
		transform 170ms ease;
}

.reader-start-icon {
	display: block;
	width: 54px;
	height: 54px;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.25;
	transform-origin: center;
}

.reader-start-item dd {
	max-width: 19ch;
	color: #697286;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.42;
	text-wrap: pretty;
}

.reader-start-item a:hover .reader-start-icon-wrap,
.reader-start-item a:focus-visible .reader-start-icon-wrap {
	background: var(--start-soft);
	box-shadow: 0 16px 30px rgba(38, 28, 18, 0.08);
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: no-preference) {
	.reader-start-icon {
		animation: iconDrift 7s ease-in-out infinite;
	}

	.reader-start-2 .reader-start-icon {
		animation-delay: -1.2s;
	}

	.reader-start-3 .reader-start-icon {
		animation-delay: -2.4s;
	}

	.reader-start-4 .reader-start-icon {
		animation-delay: -3.6s;
	}

	.reader-start-5 .reader-start-icon {
		animation-delay: -4.8s;
	}

	.reader-start-item a:hover .reader-start-icon,
	.reader-start-item a:focus-visible .reader-start-icon {
		animation: handNudge 0.58s ease both;
	}
}

@keyframes iconDrift {
	0%,
	100% {
		transform: translateY(0) rotate(-0.5deg);
	}
	50% {
		transform: translateY(-3px) rotate(0.7deg);
	}
}

@keyframes handNudge {
	0% {
		transform: translateY(0) rotate(0deg);
	}
	35% {
		transform: translateY(-2px) rotate(-3deg);
	}
	72% {
		transform: translateY(1px) rotate(2deg);
	}
	100% {
		transform: translateY(0) rotate(0deg);
	}
}

/* --- Real match preview --- */

.real-match-section {
	padding-top: 38px;
}

.real-match-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
	gap: clamp(22px, 3vw, 38px);
	align-items: stretch;
	overflow: hidden;
	border: 1px solid rgba(91, 75, 55, 0.16);
	border-radius: 22px;
	background:
		linear-gradient(120deg, rgba(255, 253, 248, 0.94), rgba(240, 234, 221, 0.78)),
		url('/assets/images/bookends-scrapbook-props.png') right bottom / min(680px, 52%) auto no-repeat;
	padding: clamp(22px, 3vw, 34px);
	box-shadow: 0 24px 54px rgba(38, 28, 18, 0.1);
}

.real-match-source {
	position: relative;
	z-index: 1;
	display: grid;
	align-content: center;
}

.real-match-source h2 {
	max-width: 16ch;
	font-size: clamp(38px, 4vw, 62px);
}

.source-book-note {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	max-width: 500px;
	margin-top: 24px;
	border: 1px solid rgba(91, 75, 55, 0.14);
	border-radius: 14px;
	background: rgba(255, 253, 248, 0.82);
	padding: 14px;
	box-shadow: 0 14px 28px rgba(38, 28, 18, 0.07);
}

.source-book-cover {
	width: 68px;
	height: 92px;
}

.source-book-note small,
.match-pick-card span {
	display: block;
	margin-bottom: 5px;
	color: var(--green);
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.source-book-note strong {
	display: block;
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 650;
	line-height: 1.08;
}

.source-book-note span {
	display: block;
	margin-top: 5px;
	color: #526079;
	font-size: 14px;
	line-height: 1.42;
}

.real-match-picks {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	align-items: stretch;
}

.match-pick-card {
	display: grid;
	align-content: start;
	min-height: 360px;
	border: 1px solid rgba(91, 75, 55, 0.14);
	border-radius: 16px;
	background: rgba(255, 253, 248, 0.88);
	padding: 16px;
	box-shadow: 0 18px 38px rgba(38, 28, 18, 0.09);
	transition:
		box-shadow 160ms ease,
		transform 160ms ease;
}

.match-pick-card:hover {
	box-shadow: 0 24px 48px rgba(38, 28, 18, 0.13);
	transform: translateY(-3px) rotate(0deg);
}

.match-pick-1 {
	transform: rotate(-1.3deg);
}

.match-pick-2 {
	transform: translateY(14px) rotate(0.7deg);
}

.match-pick-3 {
	transform: rotate(1.2deg);
}

.match-pick-cover {
	justify-self: center;
	width: min(128px, 70%);
	height: auto;
	aspect-ratio: 3 / 4;
	margin-bottom: 18px;
	border-radius: 8px;
}

.match-pick-cover span {
	padding: 14px;
	font-family: var(--serif);
	font-size: clamp(15px, 1.2vw, 19px);
	font-weight: 720;
	line-height: 1.05;
	text-transform: none;
}

.match-pick-card strong {
	display: block;
	margin-bottom: 8px;
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 640;
	line-height: 1.08;
}

.match-pick-card p {
	margin: 0;
	color: #4e5b70;
	font-size: 15px;
	line-height: 1.48;
}

/* --- Reader use cases: Craft-like rhythm, Bookends-native content --- */

.reader-uses {
	padding-top: 96px;
}

.reader-uses-head {
	display: grid;
	justify-items: center;
	gap: 10px;
	margin: 0 auto 30px;
	text-align: center;
}

.reader-uses-head h2 {
	max-width: 20ch;
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1;
	text-wrap: balance;
}

.reader-mode-strip {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	margin: 0 auto 30px;
	padding: 10px 0 4px;
}

.reader-mode-strip span {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 10px;
	color: #1b2333;
	font-weight: 850;
	text-align: center;
}

.reader-mode-strip span::before {
	display: block;
	width: 46px;
	height: 46px;
	border: 2px solid #111a2c;
	border-radius: 14px 16px 12px 15px;
	background:
		linear-gradient(rgba(17, 26, 44, 0.12) 2px, transparent 2px),
		linear-gradient(90deg, rgba(17, 26, 44, 0.08) 2px, transparent 2px), rgba(255, 253, 248, 0.82);
	background-size: 13px 13px;
	content: '';
	box-shadow: 0 8px 18px rgba(38, 28, 18, 0.08);
}

.reader-mode-strip span:nth-child(2)::before {
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 50%, transparent 0 10px, #111a2c 11px 13px, transparent 14px),
		rgba(255, 253, 248, 0.86);
}

.reader-mode-strip span:nth-child(3)::before {
	border-radius: 12px;
	background:
		linear-gradient(135deg, transparent 42%, rgba(17, 26, 44, 0.16) 43% 57%, transparent 58%),
		var(--pastel-butter);
	transform: rotate(-6deg);
}

.reader-mode-strip span:nth-child(4)::before {
	border-radius: 18px 18px 10px 10px;
	background:
		radial-gradient(circle at 50% 36%, rgba(17, 26, 44, 0.18) 0 7px, transparent 8px), var(--pastel-mint);
}

.reader-mode-strip span:nth-child(5)::before {
	border-radius: 50% 50% 16px 16px;
	background:
		linear-gradient(90deg, transparent 45%, rgba(17, 26, 44, 0.2) 46% 54%, transparent 55%),
		var(--pastel-lilac);
}

.reader-use-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.reader-use-card {
	position: relative;
	display: grid;
	align-content: space-between;
	gap: 18px;
	min-height: 360px;
	overflow: hidden;
	border: 1px solid rgba(91, 75, 55, 0.16);
	border-radius: 22px;
	background: rgba(255, 253, 248, 0.9);
	padding: 18px;
	box-shadow: 0 18px 42px rgba(38, 28, 18, 0.075);
	transition:
		box-shadow 180ms ease,
		transform 180ms ease;
}

.reader-use-card::before {
	display: none;
}

.reader-use-card:hover {
	box-shadow: 0 26px 54px rgba(38, 28, 18, 0.12);
	transform: translateY(-4px);
}

.reader-use-1 {
	background: var(--pastel-lilac);
}

.reader-use-2 {
	background: var(--pastel-cyan);
}

.reader-use-3 {
	background: var(--pastel-butter);
}

.reader-use-4 {
	background: var(--pastel-mint);
}

.reader-use-5 {
	background: var(--pastel-peach);
}

.reader-use-card h3 {
	position: relative;
	z-index: 1;
	margin-bottom: 10px;
	font-family: var(--serif);
	font-size: 27px;
	font-weight: 620;
	line-height: 1.04;
}

.reader-use-card p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #46516a;
	font-size: 15px;
	line-height: 1.5;
}

.reader-use-shelf {
	position: relative;
	z-index: 1;
	align-items: end;
	min-height: 92px;
	margin: 0;
}

.reader-use-shelf .book-tile {
	width: 56px;
	height: 76px;
	border-radius: 5px;
	background: var(--tile-a);
	box-shadow: 0 10px 20px rgba(24, 32, 47, 0.16);
}

.reader-use-shelf .book-tile span {
	padding: 6px;
	font-size: 8.5px;
}

.reader-use-link {
	position: relative;
	z-index: 1;
	justify-self: start;
	color: var(--green);
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero-lede,
.page-hero p {
	max-width: 720px;
	color: #435066;
	font-size: 19px;
	line-height: 1.58;
}

.hero-lede {
	margin: 0 auto;
}

.search-box {
	display: flex;
	align-items: center;
	gap: 10px;
	width: min(760px, 100%);
	margin-top: 24px;
	padding: 8px;
	border: 1.5px solid #1b2940;
	border-radius: 8px;
	background: var(--panel);
	box-shadow: 0 18px 38px rgba(38, 28, 18, 0.1);
}

.home-hero .search-box {
	margin-right: auto;
	margin-left: auto;
}

.search-box input {
	min-width: 0;
	flex: 1;
	border: 0;
	outline: 0;
	padding: 14px 12px;
	background: transparent;
	color: var(--ink);
}

.search-box input::placeholder {
	color: #8a94a7;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border: 0;
	border-radius: 999px;
	padding: 12px 17px;
	background: #111a2c;
	color: #fffdf8;
	font-weight: 520;
	cursor: pointer;
	box-shadow: 0 10px 18px rgba(17, 26, 44, 0.18);
}

.button.secondary {
	border: 1px solid var(--line);
	background: var(--panel);
	color: var(--ink);
	box-shadow: none;
}

.button:hover,
.mini-button:hover,
.path-card:hover,
.curiosity-card:hover,
.card:hover,
.question-card:hover,
.collection-card:hover,
.prompt-tile:hover,
.book-card:hover,
.suggestion-book-card:hover,
.related-suggestions a:hover,
.intent-trails a:hover {
	transform: translateY(-1px);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 16px;
}

.try-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 9px;
	margin-top: 16px;
}

.try-row > span {
	display: inline-flex;
	align-items: center;
	color: var(--muted);
	font-size: 13px;
	font-weight: 760;
}

.chip,
.pill {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.82);
	color: #415066;
	font-size: 13px;
}

.chip {
	padding: 8px 12px;
}

.chip:nth-child(3n + 1) {
	background: var(--green-soft);
}

.chip:nth-child(3n + 2) {
	background: var(--coral-soft);
}

.chip:nth-child(3n + 3) {
	background: var(--lavender-soft);
}

.pill {
	padding: 6px 10px;
	font-size: 12px;
}

.intent-card,
.book-note-card,
.search-aside {
	border: 1px solid rgba(91, 75, 55, 0.2);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.84);
	box-shadow: var(--shadow);
}

.ranked-item small,
.book-note-card small,
.intent-card small,
.reader-note small,
.demo-result small {
	display: block;
	margin-bottom: 5px;
	color: var(--soft);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.soft-cta,
.text-link,
.inline-link {
	color: var(--green);
	font-weight: 650;
}

.section {
	padding: 42px 0;
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 20px;
}

.section-lede {
	max-width: 760px;
	color: var(--muted);
	line-height: 1.65;
}

.spine-shelf,
.path-grid,
.grid,
.question-grid,
.collection-grid,
.report-grid {
	display: grid;
	gap: 16px;
}

.spine-shelf {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	padding: 0;
}

.path-shelf-panel {
	position: relative;
	overflow: visible;
}

.path-shelf-panel .spine-shelf {
	position: relative;
	z-index: 1;
}

.path-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid,
.report-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.question-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collection-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.path-card,
.card,
.question-card,
.collection-card,
.prompt-tile,
.book-card,
.result-card,
.notice {
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.84);
	box-shadow: 0 12px 28px rgba(38, 28, 18, 0.055);
	transition:
		transform 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.path-card {
	--path-bg: #0f6a4d;
	--path-text: #f5fff3;
	position: relative;
	display: grid;
	align-content: space-between;
	aspect-ratio: 1 / 1;
	min-height: 0;
	overflow: hidden;
	isolation: isolate;
	border-radius: 24px;
	background: var(--path-bg);
	padding: 24px;
	color: var(--path-text);
	transform-origin: bottom center;
}

.path-card::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	background:
		url('/assets/images/footer-black-texture.webp') center / cover no-repeat;
	content: '';
	mix-blend-mode: soft-light;
	opacity: 0.16;
	pointer-events: none;
}

.path-card::after {
	display: none;
}

.path-card:nth-child(6n + 1) {
	--path-bg: #0f6a4d;
	--path-text: #f5fff3;
}

.path-card:nth-child(6n + 2) {
	--path-bg: #d85739;
	--path-text: #fff7ef;
}

.path-card:nth-child(6n + 3) {
	--path-bg: #2d6c8b;
	--path-text: #f5fbff;
}

.path-card:nth-child(6n + 4) {
	--path-bg: #6e5aa7;
	--path-text: #fffaff;
}

.path-card:nth-child(6n + 5) {
	--path-bg: #f2c75d;
	--path-text: #2c1d08;
}

.path-card:nth-child(6n) {
	--path-bg: var(--oxford);
	--path-text: #fffdf8;
}

.path-card:hover {
	border-color: rgba(5, 33, 78, 0.24);
	box-shadow: 0 18px 36px rgba(38, 28, 18, 0.14);
	transform: translateY(-4px);
}

.card small,
.question-card small {
	display: block;
	margin-bottom: 10px;
	color: var(--green);
	font-family: var(--mono);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.path-card span {
	position: relative;
	z-index: 1;
	color: currentColor;
	font-family: var(--sans);
}

.path-card span {
	justify-self: start;
	align-self: end;
	border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
	border-radius: 999px;
	padding: 7px 12px;
	background: color-mix(in srgb, currentColor 10%, transparent);
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.path-card h3 {
	position: relative;
	z-index: 1;
	max-width: 10ch;
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(28px, 2.7vw, 38px);
	font-weight: 560;
	line-height: 1;
}

.path-card p,
.card p,
.question-card p,
.collection-card p {
	color: var(--muted);
}

.path-card p {
	position: relative;
	z-index: 1;
	max-width: 21ch;
	margin: 12px 0 24px;
	color: color-mix(in srgb, currentColor 82%, #fff);
	font-size: 16px;
	font-weight: 540;
	line-height: 1.38;
}

.question-card span,
.collection-card span {
	color: var(--green);
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wide-band {
	margin: 22px 0;
	padding: 46px 0;
	border-top: 1px solid rgba(91, 75, 55, 0.14);
	border-bottom: 1px solid rgba(91, 75, 55, 0.14);
	background: rgba(255, 253, 248, 0.55);
}

.browse-grid {
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	gap: 30px;
	align-items: start;
}

.prompt-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.prompt-tile {
	display: grid;
	min-height: 112px;
	padding: 16px;
}

.prompt-tile strong {
	font-family: var(--serif);
	font-size: 19px;
}

.prompt-tile span {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
}

.curiosity-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.curiosity-card {
	position: relative;
	display: grid;
	align-content: space-between;
	min-height: 230px;
	overflow: hidden;
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.86);
	padding: 20px;
	box-shadow: 0 12px 28px rgba(38, 28, 18, 0.06);
	transition:
		transform 160ms ease,
		box-shadow 160ms ease;
}

.curiosity-card::after {
	position: absolute;
	right: -22px;
	bottom: -28px;
	width: 120px;
	height: 120px;
	border: 1px dashed rgba(24, 63, 98, 0.32);
	border-radius: 50%;
	content: '';
}

.curiosity-card:nth-child(1) {
	background: linear-gradient(145deg, var(--tomato-soft), rgba(255, 253, 248, 0.9));
}

.curiosity-card:nth-child(2) {
	background: linear-gradient(145deg, var(--marigold-soft), rgba(255, 253, 248, 0.9));
}

.curiosity-card:nth-child(3) {
	background: linear-gradient(145deg, var(--blue-soft), rgba(255, 253, 248, 0.9));
}

.curiosity-card:nth-child(4) {
	background: linear-gradient(145deg, var(--lavender-soft), rgba(255, 253, 248, 0.9));
}

.curiosity-card small {
	color: var(--tomato);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.curiosity-card strong {
	max-width: 260px;
	font-family: var(--serif);
	font-size: 25px;
	line-height: 1.05;
}

.curiosity-card span {
	position: relative;
	z-index: 1;
	color: #4b586d;
	font-weight: 650;
	line-height: 1.45;
}

.comparison-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(24, 63, 98, 0.08), transparent 40%), rgba(255, 253, 248, 0.88);
	padding: 30px;
	box-shadow: var(--shadow);
}

.comparison-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.comparison-grid article {
	display: grid;
	gap: 10px;
	min-height: 210px;
	border: 1px solid rgba(91, 75, 55, 0.16);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.88);
	padding: 22px;
}

.comparison-grid article:nth-child(2) {
	background: #102f25;
	color: #fffdf8;
}

.comparison-grid small {
	color: var(--tomato);
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.comparison-grid article:nth-child(2) small {
	color: var(--marigold);
}

.comparison-grid strong {
	font-family: var(--serif);
	font-size: 28px;
	line-height: 1.05;
}

.comparison-grid span {
	color: inherit;
	line-height: 1.5;
	opacity: 0.78;
}

.suggestion-lab {
	position: relative;
}

.suggestion-lab-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 20px;
}

.suggestion-lab-grid {
	display: grid;
	grid-template-columns: minmax(290px, 0.42fr) minmax(0, 1fr);
	gap: 18px;
	align-items: stretch;
}

.suggestion-composer,
.suggestion-results {
	border: 1px solid rgba(91, 75, 55, 0.16);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.78);
	box-shadow: 0 16px 36px rgba(38, 28, 18, 0.065);
}

.suggestion-composer {
	display: grid;
	align-content: start;
	gap: 14px;
	padding: 20px;
}

.suggestion-composer small {
	color: var(--green);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.interest-query {
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(234, 242, 255, 0.78)), var(--panel);
	padding: 16px 15px;
	color: var(--ink);
	font-weight: 850;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.suggestion-composer strong {
	margin-top: 6px;
	font-size: 15px;
}

.related-suggestions,
.intent-trails {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.related-suggestions a,
.intent-trails a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	border: 1px solid rgba(91, 75, 55, 0.12);
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.72);
	padding: 8px 11px;
	color: #415066;
	font-size: 13px;
	font-weight: 720;
	transition: transform 160ms ease;
}

.related-suggestions a::before,
.intent-trails a::before {
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 3px;
	background: #3b82f6;
	content: '';
}

.related-suggestions a:nth-child(2n)::before {
	background: #dc2626;
}

.related-suggestions a:nth-child(3n)::before {
	background: #f59e0b;
}

.related-suggestions a:nth-child(4n)::before {
	background: #16a34a;
}

.related-suggestions a:nth-child(5n)::before {
	background: #8b5cf6;
}

.suggestion-results {
	display: grid;
	gap: 14px;
	padding: 14px;
}

.suggestion-book-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.suggestion-book-card {
	--suggestion-bg: var(--pastel-blue);
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 50px;
	gap: 14px;
	align-items: center;
	min-height: 86px;
	overflow: hidden;
	border: 1px solid rgba(91, 75, 55, 0.08);
	border-radius: 12px;
	background: var(--suggestion-bg);
	padding: 14px 16px;
	box-shadow: 0 10px 24px rgba(38, 28, 18, 0.045);
	transition: transform 160ms ease;
}

.suggestion-marker {
	display: none;
}

.suggestion-swatch-1 {
	--suggestion-bg: var(--pastel-blue);
}

.suggestion-swatch-2 {
	--suggestion-bg: var(--pastel-mint);
}

.suggestion-swatch-3 {
	--suggestion-bg: var(--pastel-butter);
}

.suggestion-swatch-4 {
	--suggestion-bg: var(--pastel-pink);
}

.suggestion-swatch-5 {
	--suggestion-bg: var(--pastel-peach);
}

.suggestion-swatch-6 {
	--suggestion-bg: var(--pastel-lilac);
}

.suggestion-swatch-7 {
	--suggestion-bg: var(--pastel-cyan);
}

.suggestion-swatch-8 {
	--suggestion-bg: #f5eadf;
}

.suggestion-marker {
	width: 11px;
	height: 11px;
	border-radius: 4px;
	background: #3b82f6;
}

.suggestion-swatch-2 .suggestion-marker {
	border-radius: 50% 50% 4px 4px;
	background: #16a34a;
}

.suggestion-swatch-3 .suggestion-marker {
	background: #f59e0b;
	transform: rotate(45deg);
}

.suggestion-swatch-4 .suggestion-marker {
	background: #db2777;
}

.suggestion-swatch-5 .suggestion-marker {
	background: #ea580c;
}

.suggestion-swatch-6 .suggestion-marker {
	background: #8b5cf6;
}

.suggestion-swatch-7 .suggestion-marker {
	background: #0891b2;
}

.suggestion-swatch-8 .suggestion-marker {
	background: #64748b;
}

.suggestion-copy {
	min-width: 0;
}

.suggestion-copy small {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.suggestion-copy strong {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	min-width: 0;
	margin-bottom: 4px;
	overflow: hidden;
	color: #161f31;
	font-family: var(--serif);
	font-size: 15.5px;
	font-weight: 640;
	line-height: 1.18;
}

.suggestion-copy small {
	color: #38455a;
	font-size: 12px;
}

.suggestion-cover {
	justify-self: end;
	width: 48px;
	height: 64px;
	border-radius: 6px;
	box-shadow: 0 8px 16px rgba(24, 32, 47, 0.18);
}

.suggestion-cover::before {
	inset: 8px 0 8px 10px;
}

.suggestion-cover span {
	padding: 7px;
	font-size: 8px;
	line-height: 1;
}

.intent-trails {
	align-items: center;
	border: 1px solid rgba(91, 75, 55, 0.11);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.72);
	padding: 12px;
}

.intent-trails > span {
	margin-right: 4px;
	color: var(--green);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.intent-trails a:nth-of-type(2n)::before {
	background: #f59e0b;
}

.intent-trails a:nth-of-type(3n)::before {
	background: #16a34a;
}

.intent-trails a:nth-of-type(4n)::before {
	background: #8b5cf6;
}

.demo-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(170px, 0.28fr);
	gap: 24px;
	align-items: center;
	overflow: hidden;
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background:
		radial-gradient(circle at 82% 18%, rgba(242, 206, 86, 0.18), transparent 32%),
		linear-gradient(120deg, rgba(255, 253, 248, 0.94), rgba(237, 230, 215, 0.58)), rgba(255, 253, 248, 0.72);
	padding: 26px;
	box-shadow: var(--shadow);
}

.paper-stack {
	position: relative;
	justify-self: end;
	width: 190px;
	height: 178px;
}

.paper-piece,
.paper-note {
	position: absolute;
	display: block;
	border: 1px solid rgba(91, 75, 55, 0.16);
	border-radius: 8px;
	box-shadow: 0 14px 30px rgba(38, 28, 18, 0.12);
}

.paper-piece-blue {
	inset: 34px 8px 12px 42px;
	background: #c8d9e9;
	transform: rotate(9deg);
}

.paper-piece-grid {
	inset: 4px 30px 28px 8px;
	background:
		linear-gradient(rgba(146, 112, 59, 0.18) 1px, transparent 1px),
		linear-gradient(90deg, rgba(146, 112, 59, 0.18) 1px, transparent 1px), #f7d960;
	background-size: 18px 18px;
	transform: rotate(-6deg);
}

.paper-note {
	inset: 34px 18px 0 0;
	background: #fff8eb;
	padding: 18px;
	transform: rotate(2.5deg);
}

.paper-note span {
	display: block;
	margin-bottom: 10px;
	color: var(--green);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.paper-note strong {
	display: block;
	font-family: var(--serif);
	font-size: 23px;
	line-height: 1.08;
}

.demo-flow {
	display: grid;
	grid-template-columns: 0.7fr 1fr;
	grid-column: 1 / -1;
	gap: 16px;
	align-items: stretch;
}

.reader-note,
.demo-result {
	border: 1px solid rgba(91, 75, 55, 0.16);
	border-radius: 8px;
	padding: 18px;
	background: var(--panel);
}

.reader-note {
	transform: rotate(-1.5deg);
	background: var(--lavender-soft);
}

.reader-note p {
	margin-bottom: 0;
	font-family: var(--serif);
	font-size: 20px;
	line-height: 1.34;
}

.demo-result h3 {
	font-family: var(--serif);
	font-size: 24px;
}

.question-showcase {
	display: grid;
	grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
	gap: 18px;
	align-items: stretch;
}

.request-art-card {
	position: relative;
	display: grid;
	align-content: center;
	min-height: 100%;
	overflow: hidden;
	border: 1px solid rgba(91, 75, 55, 0.16);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.82);
	padding: 18px;
	box-shadow: 0 12px 28px rgba(38, 28, 18, 0.055);
}

.request-art-card::before {
	position: absolute;
	inset: 20px;
	border-radius: 8px;
	background:
		radial-gradient(circle at 20% 20%, rgba(31, 111, 88, 0.12) 0 42px, transparent 43px),
		radial-gradient(circle at 78% 28%, rgba(201, 217, 236, 0.9) 0 36px, transparent 37px),
		radial-gradient(circle at 70% 82%, rgba(242, 206, 86, 0.28) 0 52px, transparent 53px);
	content: '';
}

.request-pin {
	position: relative;
	z-index: 1;
	justify-self: start;
	margin-bottom: 18px;
	border: 1px solid rgba(14, 61, 47, 0.18);
	border-radius: 999px;
	background: var(--green);
	padding: 9px 14px;
	color: #fffdf8;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.request-note-stack {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 10px;
	margin-bottom: 18px;
}

.request-note-stack span {
	display: block;
	border: 1px solid rgba(91, 75, 55, 0.14);
	border-radius: 8px;
	background: #fff8eb;
	padding: 13px 14px;
	color: #253147;
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.15;
	box-shadow: 0 12px 24px rgba(38, 28, 18, 0.08);
}

.request-note-stack span:nth-child(1) {
	transform: rotate(-2deg);
}

.request-note-stack span:nth-child(2) {
	background: #f7d960;
	transform: rotate(1.5deg);
}

.request-note-stack span:nth-child(3) {
	background: #c8d9e9;
	transform: rotate(-1deg);
}

.request-note-stack span:nth-child(4) {
	background: #f7e4d8;
	transform: rotate(2.2deg);
}

.request-art-card p {
	position: relative;
	z-index: 1;
	max-width: 320px;
	margin: 0 auto;
	border: 1px solid rgba(91, 75, 55, 0.12);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.9);
	padding: 12px 14px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

.book-shelf {
	display: flex;
	align-items: end;
	gap: 7px;
	min-height: 106px;
	margin: 14px 0 0;
}

.compact-shelf {
	min-height: 84px;
}

.compact-shelf .book-tile {
	width: 54px;
	height: 74px;
}

.collection-card {
	padding: 16px;
}

.collection-card h3 {
	margin-top: 10px;
	font-family: var(--serif);
	font-size: 22px;
}

.card {
	padding: 20px;
}

.card h3 {
	font-family: var(--serif);
}

.book-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.book-card {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	min-height: 124px;
	padding: 13px;
}

.book-card h3 {
	margin: 0 0 4px;
	font-size: 16px;
}

.book-card p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.35;
}

.book-card span {
	display: block;
	margin-top: 8px;
	color: var(--soft);
	font-size: 12px;
}

.book-tile {
	position: relative;
	display: grid;
	place-items: end start;
	width: 72px;
	height: 96px;
	overflow: hidden;
	border: 1px solid rgba(24, 32, 47, 0.24);
	border-radius: 6px;
	background:
		linear-gradient(135deg, var(--tile-a), color-mix(in srgb, var(--tile-b), var(--tile-a) 24%)),
		var(--tile-a);
	color: var(--tile-c);
	box-shadow: 0 10px 18px rgba(24, 32, 47, 0.18);
}

.book-tile::before {
	position: absolute;
	inset: 9px 0 9px 13px;
	width: 1px;
	background: color-mix(in srgb, var(--tile-c) 45%, transparent);
	content: '';
}

.book-tile span {
	position: relative;
	padding: 8px;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.05;
}

.book-tile-large {
	width: 132px;
	height: 178px;
}

.book-tile-large span {
	padding: 14px;
	font-size: 19px;
}

.page-hero {
	margin: 0 calc(50% - 50vw);
	padding: 54px calc(50vw - 50%) 34px;
	border-bottom: 1px solid rgba(91, 75, 55, 0.16);
	background: rgba(255, 253, 248, 0.62);
}

.page-hero h1 {
	max-width: 900px;
	font-size: 62px;
	line-height: 1;
}

.search-hero {
	padding-top: 60px;
}

.page-hero-grid,
.book-hero-grid,
.search-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 30px;
	align-items: start;
}

.page-hero-grid > *,
.book-hero-grid > *,
.search-layout > *,
.report-card-grid > *,
.list-guide-panel > *,
.book-report-panel > * {
	min-width: 0;
}

.intent-card,
.book-note-card,
.search-aside {
	padding: 20px;
}

.intent-card p {
	margin-bottom: 18px;
	color: #435066;
	font-family: var(--serif);
	font-size: 24px;
	line-height: 1.28;
}

.book-note-card {
	display: grid;
	justify-items: center;
	gap: 16px;
	text-align: center;
}

.book-note-card p {
	margin: 0;
	color: var(--muted);
}

.meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
}

.ranked-list {
	display: grid;
	gap: 14px;
	margin-top: 20px;
}

.ranked-item {
	display: grid;
	grid-template-columns: 48px 94px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.88);
	padding: 15px;
	box-shadow: 0 12px 28px rgba(38, 28, 18, 0.05);
}

.rank {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: 1px solid rgba(189, 135, 50, 0.32);
	border-radius: 8px;
	background: var(--gold-soft);
	color: #6f4f18;
	font-weight: 900;
}

.ranked-item h2 {
	margin-bottom: 4px;
	font-family: var(--serif);
	font-size: 25px;
}

.ranked-item p {
	margin-bottom: 0;
	color: var(--muted);
}

.page-action-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.84);
	padding: 16px;
	box-shadow: 0 12px 28px rgba(38, 28, 18, 0.055);
}

.page-action-bar small,
.report-toolbar small,
.decider-panel small,
.shortcut-grid small {
	display: block;
	color: var(--tomato);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.page-action-bar strong {
	display: block;
	margin: 3px 0;
	font-family: var(--serif);
	font-size: 22px;
}

.page-action-bar span {
	color: var(--muted);
}

.page-action-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.list-guide-panel,
.book-report-panel {
	display: grid;
	gap: 18px;
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background:
		radial-gradient(circle at 96% 5%, rgba(242, 206, 86, 0.16), transparent 28%), rgba(255, 253, 248, 0.86);
	padding: 24px;
	box-shadow: var(--shadow);
}

.list-guide-intro {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.list-guide-intro small,
.report-card-head small,
.apply-grid small {
	color: var(--green);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.list-guide-intro p {
	margin: 0;
	color: #344056;
	font-family: var(--serif);
	font-size: 24px;
	line-height: 1.28;
}

.stage-path {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.stage-row {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	border: 1px solid rgba(91, 75, 55, 0.14);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.8);
	padding: 12px;
}

.stage-row span {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	background: var(--pastel-butter);
	color: #6f4f18;
	font-weight: 900;
}

.stage-row strong,
.stage-row em {
	display: block;
	grid-column: 2;
	min-width: 0;
	font-style: normal;
	overflow-wrap: anywhere;
}

.stage-row strong {
	font-size: 14px;
}

.stage-row em {
	margin-top: 3px;
	color: var(--green);
	font-size: 13px;
	font-weight: 800;
}

.shortcut-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.shortcut-grid article {
	display: grid;
	gap: 8px;
	border: 1px solid rgba(91, 75, 55, 0.14);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.82);
	padding: 18px;
}

.shortcut-grid article:nth-child(1) {
	background: var(--marigold-soft);
}

.shortcut-grid article:nth-child(2) {
	background: var(--tomato-soft);
}

.shortcut-grid article:nth-child(3) {
	background: var(--green-soft);
}

.shortcut-grid strong {
	font-family: var(--serif);
	font-size: 22px;
	line-height: 1.1;
}

.shortcut-grid p {
	margin-bottom: 0;
	color: #4b586d;
}

.synthesis-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.synthesis-grid article,
.critique-panel,
.apply-grid article,
.report-gist,
.report-axes,
.thinking-panel {
	border: 1px solid rgba(91, 75, 55, 0.14);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.82);
	padding: 18px;
}

.synthesis-grid article:nth-child(1) {
	background: var(--pastel-mint);
}

.synthesis-grid article:nth-child(2) {
	background: var(--pastel-blue);
}

.synthesis-grid article:nth-child(3) {
	background: var(--pastel-peach);
}

.synthesis-grid h3,
.apply-grid h3 {
	font-family: var(--serif);
	font-size: 22px;
}

.synthesis-grid p,
.critique-panel p,
.apply-grid p,
.thinking-panel p {
	margin-bottom: 0;
	color: #4b586d;
}

.thinking-panel {
	display: grid;
	gap: 10px;
	background: linear-gradient(135deg, rgba(255, 246, 201, 0.82), rgba(255, 253, 248, 0.86));
}

.thinking-panel strong,
.critique-panel strong,
.report-gist strong,
.apply-grid article strong {
	display: block;
	color: var(--ink);
	font-weight: 900;
}

.thinking-panel ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding-left: 18px;
	color: #344056;
}

.book-report-panel {
	background:
		radial-gradient(circle at 86% 12%, rgba(117, 96, 168, 0.12), transparent 26%),
		linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(233, 243, 236, 0.68));
}

.report-card-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 116px;
	gap: 20px;
	align-items: center;
}

.report-card-head h2 {
	margin-top: 4px;
	overflow-wrap: anywhere;
}

.report-card-head p {
	max-width: 760px;
	margin-bottom: 0;
	color: #344056;
	font-size: 19px;
}

.grade-stamp {
	display: grid;
	width: 112px;
	height: 112px;
	place-items: center;
	border: 3px solid rgba(21, 87, 67, 0.58);
	border-radius: 50%;
	background: rgba(255, 253, 248, 0.74);
	color: var(--green);
	font-family: var(--serif);
	font-size: 34px;
	font-weight: 900;
	transform: rotate(-8deg);
	box-shadow: 0 16px 30px rgba(38, 28, 18, 0.12);
}

.report-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border: 1px solid rgba(91, 75, 55, 0.14);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.76);
	padding: 12px;
}

.report-toolbar strong {
	display: block;
	margin-top: 2px;
	font-family: var(--serif);
	font-size: 19px;
}

.segmented-control {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.82);
	padding: 4px;
}

.segmented-control button {
	min-height: 36px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	padding: 8px 12px;
	color: var(--ink);
	font-weight: 620;
	cursor: pointer;
}

.segmented-control button.is-active {
	background: var(--ink);
	color: #fffdf8;
}

.book-report-panel[data-mode='quick'] [data-depth-section],
.book-report-panel[data-mode='five'] [data-depth-section='deep'] {
	display: none;
}

.book-report-panel[data-mode='quick'] .report-card-grid {
	grid-template-columns: 1fr;
}

.report-card-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
	gap: 14px;
}

.report-gist p {
	color: #344056;
	font-size: 17px;
	overflow-wrap: anywhere;
}

.read-skip-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 16px;
}

.read-skip-grid div {
	border: 1px solid rgba(91, 75, 55, 0.12);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.72);
	padding: 12px;
}

.read-skip-grid small {
	display: block;
	margin-bottom: 6px;
	color: var(--green);
	font-size: 11px;
	font-weight: 850;
	text-transform: uppercase;
}

.read-skip-grid span {
	color: #3f4b60;
	font-size: 13px;
	line-height: 1.45;
}

.report-axes {
	display: grid;
	gap: 12px;
}

.report-axis {
	display: grid;
	gap: 6px;
}

.report-axis div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 13px;
}

.report-axis span {
	color: var(--green);
	font-weight: 900;
}

.report-axis i {
	position: relative;
	display: block;
	height: 9px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(91, 75, 55, 0.12);
}

.report-axis b {
	display: block;
	width: calc((var(--score) / 5) * 100%);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #1f6f58, #f2ce56);
}

.report-axis small {
	color: var(--muted);
	font-size: 12px;
}

.critique-panel {
	background: var(--pastel-rose);
}

.apply-grid {
	display: grid;
	grid-template-columns: 0.85fr repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-items: stretch;
}

.apply-grid > div {
	padding: 8px 6px;
}

.apply-grid article:nth-of-type(1) {
	background: var(--pastel-mint);
}

.apply-grid article:nth-of-type(2) {
	background: var(--pastel-blue);
}

.apply-grid article:nth-of-type(3) {
	background: var(--pastel-butter);
}

.apply-grid article:nth-of-type(4) {
	background: var(--pastel-lilac);
}

.decider-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 18px;
	align-items: stretch;
	margin-bottom: 18px;
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.86);
	padding: 20px;
	box-shadow: 0 12px 28px rgba(38, 28, 18, 0.055);
}

.decider-panel h2 {
	font-size: 30px;
}

.decider-card {
	display: grid;
	gap: 12px;
	border: 1px solid rgba(91, 75, 55, 0.14);
	border-radius: 8px;
	background: linear-gradient(135deg, var(--pastel-blue), rgba(255, 253, 248, 0.88));
	padding: 16px;
}

.decider-choice-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.decider-choice-row span {
	min-width: 140px;
	color: #445169;
	font-weight: 850;
}

.mini-button.is-active {
	border-color: rgba(21, 87, 67, 0.42);
	background: var(--green);
	color: #fffdf8;
}

.decider-result {
	display: block;
	border-top: 1px solid rgba(91, 75, 55, 0.14);
	padding-top: 12px;
	color: var(--ink);
	font-family: var(--serif);
	font-size: 21px;
	font-weight: 760;
	line-height: 1.3;
}

.feedback-panel,
.letter-panel,
.how-grid {
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.86);
	box-shadow: var(--shadow);
}

.feedback-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	margin: 30px 0 0;
	padding: 22px;
}

.feedback-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.mini-button {
	min-height: 40px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	padding: 9px 12px;
	color: var(--ink);
	font-weight: 800;
	cursor: pointer;
}

.feedback-form {
	display: grid;
	gap: 10px;
}

.feedback-form textarea {
	width: 100%;
	min-height: 96px;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 12px;
	background: #fffefb;
	color: var(--ink);
	resize: vertical;
}

.feedback-form input {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 12px;
	background: #fffefb;
	color: var(--ink);
}

.letter-panel {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 24px;
	align-items: center;
	padding: 26px;
}

.letter-form textarea {
	min-height: 150px;
}

.letter-page-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
	gap: 18px;
	align-items: stretch;
}

.letter-writing-card,
.letter-example-stack article,
.letter-steps article {
	border: 1px solid rgba(91, 75, 55, 0.18);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.86);
	box-shadow: 0 12px 28px rgba(38, 28, 18, 0.055);
}

.letter-writing-card {
	padding: 24px;
}

.privacy-note {
	margin: 12px 0 0;
	color: var(--soft);
	font-size: 14px;
}

.letter-example-stack {
	display: grid;
	gap: 12px;
}

.letter-example-stack article {
	padding: 18px;
	transform: rotate(-0.7deg);
}

.letter-example-stack article:nth-child(2n) {
	background: var(--pastel-blue);
	transform: rotate(0.6deg);
}

.letter-example-stack article:nth-child(3n) {
	background: var(--pastel-butter);
}

.letter-example-stack small {
	color: var(--tomato);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.letter-example-stack p {
	margin: 8px 0 0;
	font-family: var(--serif);
	font-size: 21px;
	line-height: 1.25;
}

.letter-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.letter-steps article {
	padding: 20px;
}

.letter-steps strong {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 50%;
	background: var(--marigold-soft);
	color: #6f4f18;
	font-family: var(--sans);
}

.how-grid {
	display: grid;
	grid-template-columns: 1fr repeat(3, minmax(0, 1fr));
	gap: 18px;
	padding: 24px;
}

.how-grid article {
	border-left: 1px solid var(--line);
	padding-left: 18px;
}

.how-grid strong {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: var(--gold-soft);
	color: #7f5b1d;
	font-family: var(--mono);
}

.search-layout {
	padding-top: 36px;
}

.search-aside {
	position: sticky;
	top: 96px;
}

.search-aside h2 {
	font-size: 28px;
}

.mini-question-list {
	display: grid;
	gap: 9px;
	margin-top: 16px;
}

.search-note-form {
	margin-top: 16px;
}

.search-note-form textarea {
	min-height: 108px;
}

.search-note-form .button {
	justify-content: center;
	width: 100%;
}

.mini-question-list a {
	border-top: 1px solid var(--line);
	padding-top: 9px;
	color: var(--green);
	font-weight: 800;
}

.search-results {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

.result-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 17px;
}

.result-card h2 {
	margin-bottom: 6px;
	font-size: 28px;
}

.result-card p {
	margin-bottom: 0;
	color: var(--muted);
}

.result-type {
	display: block;
	margin-bottom: 8px;
	color: var(--green);
	font-family: var(--mono);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.notice {
	border-color: rgba(189, 135, 50, 0.38);
	background: var(--gold-soft);
	padding: 18px;
	color: #6f4f18;
}

.notice p {
	color: #6f4f18;
}

.footer {
	margin-top: 72px;
	padding: 0 16px 18px;
	color: rgba(255, 253, 248, 0.74);
}

.footer-panel {
	position: relative;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	gap: clamp(48px, 7vw, 110px);
	width: 100%;
	min-height: clamp(470px, 35vw, 620px);
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid rgba(255, 253, 248, 0.12);
	border-radius: clamp(22px, 2vw, 30px);
	background:
		linear-gradient(180deg, rgba(5, 6, 8, 0.58), rgba(5, 6, 8, 0.88)),
		radial-gradient(circle at 18% 14%, rgba(255, 253, 248, 0.08), transparent 28%),
		url('/assets/images/footer-black-texture.webp') center / cover no-repeat,
		#08090c;
	background-size: auto, auto, auto;
	padding: clamp(54px, 8vw, 118px) clamp(30px, 10vw, 156px) clamp(28px, 5vw, 58px);
	box-shadow:
		0 38px 90px rgba(17, 26, 44, 0.16),
		0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.footer-panel::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		transparent 0 calc(50% - 1px),
		rgba(255, 253, 248, 0.055) 50%,
		transparent calc(50% + 1px) 100%
	);
	content: '';
	opacity: 0.8;
	pointer-events: none;
}

.footer-panel::after {
	position: absolute;
	right: clamp(30px, 10vw, 156px);
	bottom: clamp(80px, 7vw, 118px);
	left: clamp(30px, 10vw, 156px);
	height: 1px;
	background: rgba(255, 253, 248, 0.18);
	content: '';
	pointer-events: none;
}

.footer-main {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.36fr);
	gap: clamp(42px, 8vw, 132px);
	align-items: start;
	align-self: center;
}

.footer-lead {
	display: grid;
	justify-items: start;
	align-content: start;
	gap: 18px;
}

.footer strong {
	color: #fffdf8;
	font-family: var(--serif);
	font-size: clamp(36px, 4vw, 58px);
	font-weight: 560;
	line-height: 1;
}

.footer p {
	max-width: 42ch;
	margin: 0;
	color: rgba(255, 253, 248, 0.76);
	font-size: 17px;
	line-height: 1.58;
	text-wrap: pretty;
}

.footer-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: 999px;
	background: #fffdf8;
	padding: 12px 20px;
	color: #111a2c;
	font-weight: 600;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
	transition:
		box-shadow 160ms ease,
		transform 160ms ease;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(22px, 4vw, 58px);
}

.footer-links div {
	display: grid;
	align-content: start;
	gap: 11px;
	min-width: 0;
	border-top: 1px solid rgba(255, 253, 248, 0.18);
	padding-top: 17px;
}

.footer-links span {
	color: #fffdf8;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-links a,
.footer-links time {
	color: rgba(255, 253, 248, 0.68);
	font-size: 15px;
	font-weight: 450;
	line-height: 1.35;
}

.footer-links a:hover,
.footer-cta:hover {
	transform: translateY(-1px);
}

.footer-cta:hover {
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.footer-bottom {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 18px;
	color: rgba(255, 253, 248, 0.74);
	font-size: 15px;
	line-height: 1.4;
}

@media (min-width: 901px) {
	.mobile-menu {
		display: none !important;
	}
}

@media (max-width: 980px) {
	h1 {
		font-size: 54px;
	}

	.home-hero,
	.hero-preview,
	.page-hero-grid,
	.book-hero-grid,
	.search-layout,
	.browse-grid,
	.demo-panel,
	.question-showcase,
	.suggestion-lab-grid,
	.comparison-panel,
	.letter-page-grid,
	.list-guide-intro,
	.report-card-grid,
	.apply-grid,
	.decider-panel,
	.letter-panel,
	.how-grid {
		grid-template-columns: 1fr;
	}

	.spine-shelf,
	.curiosity-grid,
	.comparison-grid,
	.shortcut-grid,
	.letter-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.path-grid,
	.grid,
	.report-grid,
	.collection-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.question-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stage-path,
	.synthesis-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.suggestion-book-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.reader-use-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.reader-use-card {
		min-height: 342px;
	}

	.reader-starts {
		padding: 104px 0 92px;
	}

	.reader-starts-head h2 {
		font-size: 56px;
	}

	.reader-start-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 42px 28px;
		width: min(720px, 100%);
	}

	.footer-panel {
		min-height: auto;
		padding: 48px 34px 34px;
	}

	.footer-main {
		grid-template-columns: 1fr;
	}

	.footer-panel::after {
		right: 34px;
		left: 34px;
		bottom: 82px;
	}

	.home-hero {
		min-height: auto;
	}

	.mascot-art {
		top: 260px;
		left: 0;
	}

	.note-art {
		top: 390px;
		right: 0;
	}

	.preview-query {
		border-right: 0;
		border-bottom: 1px solid rgba(91, 75, 55, 0.14);
		padding: 0 0 16px;
	}

	.search-aside {
		position: static;
	}

	.editorial-hero {
		min-height: 0;
	}

	.hero-mood-note {
		bottom: 78px;
		left: 36px;
	}

	/* On stacked layouts the collage becomes a soft, full-width backdrop. */
	.editorial-hero::before {
		background:
			linear-gradient(
				180deg,
				rgba(255, 250, 241, 0.93) 0%,
				rgba(255, 250, 241, 0.82) 44%,
				rgba(255, 250, 241, 0.56) 76%,
				rgba(255, 250, 241, 0.32) 100%
			),
			linear-gradient(
				90deg,
				rgba(255, 250, 241, 0.92) 0%,
				rgba(255, 250, 241, 0.76) 50%,
				rgba(255, 250, 241, 0.26) 100%
			);
	}

	.hero-bg {
		object-position: 70% center;
		opacity: 0.76;
	}

	.editorial-hero .hero-copy {
		justify-items: center;
		width: min(760px, calc(100% - 64px));
		max-width: 640px;
		margin: 0 auto;
		text-align: center;
	}

	.editorial-hero .hero-copy h1 {
		max-width: 15ch;
		font-size: clamp(52px, 9vw, 80px);
	}

	.editorial-hero .hero-lede {
		max-width: 54ch;
	}

	.editorial-hero .hero-actions {
		justify-content: center;
	}

	.real-match-panel {
		grid-template-columns: 1fr;
		background-size: min(520px, 70%) auto;
	}

	.real-match-source h2 {
		max-width: 18ch;
	}
}

/* Below ~900px the full link set crowds the row, so collapse to brand + CTA. */
@media (max-width: 900px) {
	.nav {
		gap: 8px;
	}

	.nav-links a:not(.nav-cta) {
		display: none;
	}

	.nav-links .nav-cta {
		margin-left: 0;
	}

	.nav-menu-toggle {
		display: grid;
	}

	.mobile-menu {
		position: absolute;
		top: calc(100% + 8px);
		left: 50%;
		width: min(1280px, calc(100% - 64px));
		max-height: calc(100dvh - 96px);
		margin-top: 0;
		overflow: auto;
		transform: translateX(-50%);
	}
}

@media (min-width: 721px) and (max-width: 900px) {
	.mobile-menu {
		right: 16px;
		left: auto;
		width: min(360px, calc(100% - 32px));
		transform: none;
	}

	.mobile-menu .mobile-menu-cta {
		display: none;
	}
}

@media (max-width: 720px) {
	.shell {
		width: min(calc(100% - 24px), 1180px);
	}

	.site-header {
		padding: 12px 0 10px;
	}

	.nav {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
		width: min(calc(100% - 24px), 1180px);
		min-height: 56px;
		padding: 0;
	}

	.brand {
		min-width: 0;
		gap: 9px;
		font-size: 22px;
	}

	.brand-mark {
		width: 34px;
		height: 34px;
	}

	.brand-mark img {
		width: 34px;
		height: 34px;
	}

	.brand span:last-child {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.nav-links {
		display: none;
	}

	.nav-menu-toggle {
		display: grid;
		width: 44px;
		height: 44px;
		border-radius: 13px;
	}

	.mobile-menu {
		width: min(calc(100% - 24px), 1180px);
		border-radius: 16px;
		padding: 8px;
	}

	.mobile-menu a {
		min-height: 46px;
		padding: 12px 14px;
	}

	h1,
	.page-hero h1 {
		font-size: 38px;
		line-height: 1.02;
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	h2 {
		font-size: 31px;
	}

	.home-hero {
		padding-top: 0;
	}

	.editorial-hero {
		width: min(calc(100% - 20px), 1880px);
		margin-top: 0;
		border-radius: 22px;
		padding-top: 52px;
		padding-bottom: 128px;
	}

	.editorial-hero::before {
		background: linear-gradient(
			180deg,
			rgba(255, 250, 241, 0.95) 0%,
			rgba(255, 250, 241, 0.88) 48%,
			rgba(255, 250, 241, 0.58) 76%,
			rgba(255, 250, 241, 0.24) 100%
		);
	}

	.hero-bg {
		object-position: 62% 58%;
		opacity: 0.82;
	}

	.editorial-hero .hero-copy > *,
	.mood-shelf,
	.hero-bg {
		animation-duration: 0.36s;
		animation-delay: 0s;
	}

	.editorial-hero .hero-copy h1 {
		max-width: 9.5ch;
		font-size: clamp(38px, 10vw, 48px);
		line-height: 1;
	}

	.editorial-hero .hero-copy h1 em {
		white-space: normal;
	}

	.editorial-hero .hero-lede {
		max-width: 31ch;
		font-size: 17px;
	}

	.editorial-hero .hero-actions {
		flex-direction: column;
		width: min(100%, 300px);
	}

	.reader-starts {
		padding: 78px 0 72px;
	}

	.reader-starts-inner {
		gap: 42px;
	}

	.reader-starts-head {
		justify-items: start;
		text-align: left;
	}

	.reader-starts-head h2 {
		max-width: 10.5ch;
		font-size: 42px;
	}

	.reader-start-list {
		grid-template-columns: 1fr;
		gap: 28px;
		width: 100%;
	}

	.reader-start-item {
		grid-template-columns: 74px minmax(0, 1fr);
		justify-items: start;
		gap: 0 16px;
		text-align: left;
	}

	.reader-start-item dt {
		grid-column: 1 / -1;
		width: 100%;
	}

	.reader-start-item a {
		grid-template-columns: 74px minmax(0, 1fr);
		align-items: center;
		justify-items: start;
		gap: 16px;
		width: 100%;
		text-align: left;
	}

	.reader-start-item dd {
		grid-column: 2;
		max-width: 32ch;
		margin-top: -8px;
	}

	.reader-uses-head {
		justify-items: start;
		text-align: left;
	}

	.reader-uses {
		padding-top: 72px;
	}

	.reader-uses-head h2 {
		max-width: 100%;
		font-size: clamp(36px, 9vw, 52px);
	}

	.reader-mode-strip {
		display: flex;
		gap: 18px;
		margin-right: -12px;
		margin-left: -12px;
		overflow-x: auto;
		padding: 2px 12px 18px;
		scrollbar-width: none;
	}

	.reader-mode-strip::-webkit-scrollbar {
		display: none;
	}

	.reader-mode-strip span {
		min-width: 104px;
		font-size: 14px;
	}

	.real-match-section {
		padding-top: 34px;
	}

	.real-match-panel {
		border-radius: 18px;
		background:
			linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(240, 234, 221, 0.84)),
			url('/assets/images/bookends-scrapbook-props.png') right bottom / 420px auto no-repeat;
		padding: 18px;
	}

	.source-book-note {
		grid-template-columns: 1fr;
		justify-items: start;
	}

	.real-match-picks {
		grid-template-columns: 1fr;
	}

	.match-pick-card {
		min-height: auto;
		transform: none !important;
	}

	.match-pick-cover {
		justify-self: start;
		width: 104px;
	}

	.mood-shelf {
		--tab-overhang: 20px;
		gap: 4px;
		padding: 0 8px;
	}

	.mood-tab {
		flex: 0 1 clamp(122px, 34vw, 138px);
		padding: 0 12px var(--tab-overhang);
	}

	.mood-tab + .mood-tab {
		margin-left: -24px;
	}

	.mood-tab:hover {
		translate: 0 0;
	}

	.mood-tab strong {
		font-size: clamp(11px, 3vw, 12px);
		letter-spacing: 0.04em;
	}

	.mood-tab:first-child strong {
		translate: 8px 0;
	}

	.mood-tab:nth-child(n + 4) {
		display: none;
	}

	.hero-mood-note {
		display: none;
	}

	.report-card-head {
		grid-template-columns: 1fr;
	}

	.book-report-panel,
	.list-guide-panel,
	.report-gist,
	.report-axes,
	.critique-panel,
	.thinking-panel {
		overflow: hidden;
	}

	.report-card-head h2 {
		font-size: 30px;
	}

	.grade-stamp {
		width: 88px;
		height: 88px;
		font-size: 28px;
	}

	.stage-path,
	.synthesis-grid,
	.shortcut-grid,
	.read-skip-grid {
		grid-template-columns: 1fr;
	}

	.search-box,
	.demo-flow,
	.preview-card-grid,
	.page-action-bar,
	.report-toolbar,
	.result-card {
		grid-template-columns: 1fr;
	}

	.page-action-bar,
	.report-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.page-action-buttons,
	.segmented-control,
	.hero-actions {
		width: 100%;
	}

	.page-action-buttons .mini-button,
	.segmented-control button,
	.hero-actions .button {
		flex: 1;
	}

	.hero-copy {
		text-align: left;
		justify-items: stretch;
	}

	.hero-copy h1 {
		max-width: 390px;
	}

	.hero-lede {
		margin: 0;
		font-size: 18px;
	}

	.try-row {
		justify-content: flex-start;
	}

	.search-box {
		align-items: stretch;
		flex-direction: column;
	}

	.search-box input {
		width: 100%;
		min-height: 46px;
	}

	.search-box .button {
		width: 100%;
	}

	.sticker-art {
		top: 148px;
		left: 58%;
		width: 460px;
		opacity: 0.42;
	}

	.mascot-art {
		top: 590px;
		left: 12px;
		width: 92px;
	}

	.note-art {
		display: none;
	}

	.hero-preview {
		margin-top: 126px;
		padding: 14px;
	}

	.preview-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.preview-feedback {
		align-items: stretch;
		flex-direction: column;
	}

	.preview-feedback .mini-button {
		width: 100%;
	}

	.demo-panel {
		grid-template-columns: 1fr;
	}

	.demo-paper-stack {
		display: none;
	}

	.spine-shelf,
	.curiosity-grid,
	.comparison-grid,
	.letter-steps,
	.path-grid,
	.grid,
	.report-grid,
	.question-grid,
	.collection-grid,
	.prompt-grid,
	.suggestion-book-grid,
	.book-grid {
		grid-template-columns: 1fr;
	}

	.reader-use-grid {
		grid-template-columns: 1fr;
	}

	.reader-use-card {
		min-height: 0;
	}

	.path-shelf-panel {
		border-radius: 18px;
	}

	.spine-shelf {
		padding: 12px;
	}

	.path-card {
		min-height: 210px;
		transform: none !important;
	}

	.suggestion-lab-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.suggestion-composer,
	.suggestion-results {
		padding: 14px;
	}

	.suggestion-book-card {
		min-height: 74px;
	}

	.list-guide-panel,
	.book-report-panel {
		padding: 16px;
	}

	.list-guide-intro p,
	.report-card-head p {
		font-size: 17px;
	}

	.intent-trails {
		align-items: flex-start;
		flex-direction: column;
	}

	.ranked-item {
		grid-template-columns: 1fr;
	}

	.ranked-item .book-tile {
		display: none;
	}

	.ranked-item > * {
		min-width: 0;
	}

	.section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-links {
		grid-template-columns: 1fr;
	}

	.footer {
		padding: 0 10px 14px;
	}

	.footer-panel {
		border-radius: 20px;
		padding: 34px 22px 24px;
	}

	.footer-panel::before {
		display: none;
	}

	.footer-panel::after {
		position: static;
		display: block;
		margin-top: 6px;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* --- SEO structure components (breadcrumbs, FAQ, comparison, prose) ------- */
.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 16px auto 0;
	font-size: 13px;
	color: var(--muted);
}

.breadcrumbs a {
	color: var(--green);
	font-weight: 700;
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs [aria-current='page'] {
	color: var(--ink);
}

.crumb-sep {
	color: var(--line);
}

a.pill {
	text-decoration: none;
	color: inherit;
	transition:
		border-color 0.15s ease,
		background 0.15s ease;
}

a.pill:hover {
	border-color: var(--green);
	background: var(--green-soft);
}

.hero-cta-line {
	margin-top: 14px;
}

.faq-block .faq-list {
	display: grid;
	gap: 12px;
}

.faq-item {
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--panel);
	padding: 4px 18px;
}

.faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 14px 0;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary h3 {
	display: inline;
	font-size: 17px;
	font-family: var(--serif);
}

.faq-item summary::after {
	content: '+';
	float: right;
	color: var(--soft);
	font-weight: 800;
}

.faq-item[open] summary::after {
	content: '\2013';
}

.faq-item p {
	padding: 0 0 16px;
	color: var(--muted);
	line-height: 1.65;
}

.compare-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.compare-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
}

.compare-table th,
.compare-table td {
	text-align: left;
	padding: 14px 16px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	line-height: 1.6;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
	border-bottom: none;
}

.compare-table th {
	width: 28%;
	color: var(--ink);
	font-weight: 800;
	background: var(--paper-deep);
}

.compare-table td {
	color: var(--muted);
}

.link-list {
	display: grid;
	gap: 10px;
	padding-left: 18px;
}

.link-list a {
	color: var(--green);
	font-weight: 700;
}

.prose {
	max-width: 760px;
}

.prose h2 {
	margin-top: 30px;
	font-family: var(--serif);
}

.prose p {
	color: var(--muted);
	line-height: 1.75;
	margin-top: 10px;
}

.prose a {
	color: var(--green);
	font-weight: 700;
}

@media (max-width: 720px) {
	.compare-grid {
		grid-template-columns: 1fr;
	}

	.compare-table th {
		width: 38%;
	}
}
