:root {
	--base-hue: 150;
	--base-sat: 80%;
	--base-light: 33%;
	--base-dark: 10%;
	--ink: hsl(var(--base-hue) 30% 95%);
	--muted: hsl(var(--base-hue) 18% 74%);
	--background: hsl(var(--base-hue) var(--base-dark) 9%);
	--surface: hsl(var(--base-hue) 18% 14%);
	--surface-light: hsl(var(--base-hue) 20% 17%);
	--accent: hsl(var(--base-hue) var(--base-sat) var(--base-light));
	--accent-dark: hsl(var(--base-hue) calc(var(--base-sat) + 8%) 46%);
	--line: hsl(var(--base-hue) 30% 80% / 0.12);
	--max-width: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	min-width: 320px;
	margin: 0;
	color: var(--ink);
	background: radial-gradient(circle at 50% -10%, hsl(var(--base-hue) 22% 18%) 0, var(--background) 34rem), var(--background);
	font-family: "Poppins", sans-serif;
	line-height: 1.5;
}

a {
	color: inherit;
}

button,
input,
select {
	font: inherit;
}

.site-header,
main,
.site-footer {
	width: min(calc(100% - 2.5rem), var(--max-width));
	margin-inline: auto;
}

.site-header {
	padding: 1.7rem 0 0;
}

.site-nav,
.jar-layout,
.section-heading,
.library-heading {
	display: flex;
	align-items: center;
}

.site-nav {
	justify-content: center;
	gap: clamp(1.5rem, 8vw, 6rem);
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.site-nav a {
	text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	color: var(--accent);
}

main {
	overflow: visible;
}

.eyebrow {
	margin: 0 0 0.7rem;
	color: var(--accent);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

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

h1,
h2 {
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.05;
}

h1 {
	max-width: 680px;
	font-size: clamp(3.5rem, 8vw, 6.8rem);
	letter-spacing: -0.04em;
}

h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.intro-copy,
.suggest-section p {
	max-width: 530px;
	color: var(--muted);
	font-size: 1.1rem;
}

.jar-section,
.library-section,
.suggest-section {
	padding: 5rem 0;
	border-top: 1px solid var(--line);
}

.jar-section {
	padding-top: 4rem;
}

.jar-layout {
	align-items: center;
	flex-direction: column;
	gap: 2rem;
	padding: 3rem 0 4rem;
}

.jar-illustration {
	position: relative;
	width: 220px;
	height: 270px;
	filter: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.22));
	transform-origin: 50% 100%;
	animation: jar-float 6.5s ease-in-out infinite;
}

.jar-body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	height: 230px;
	place-items: center;
	border: 4px solid hsl(var(--base-hue) 78% 82% / 0.82);
	border-radius: 22% 22% 18% 18% / 12% 12% 10% 10%;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0.18) 0 8%, transparent 21%), linear-gradient(135deg, hsl(var(--base-hue) 70% 80% / 0.24), rgba(255, 255, 255, 0.025));
	box-shadow: inset 0 0 35px hsl(var(--base-hue) 70% 80% / 0.12), inset 0 -16px 0 hsl(var(--base-hue) 25% 8% / 0.2), 0 25px 40px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	transform: perspective(500px) rotateX(-2deg);
}

.jar-body::after {
	content: "";
	position: absolute;
	top: 18px;
	left: -35%;
	width: 170%;
	height: 34px;
	border-top: 2px solid hsl(var(--base-hue) 100% 88% / 0.2);
	border-radius: 50%;
	background: linear-gradient(90deg, transparent, hsl(var(--base-hue) 100% 88% / 0.08), transparent);
	transform: rotate(-3deg);
	animation: water-shimmer 7s ease-in-out infinite;
}

.jar-lid {
	position: absolute;
	top: 15px;
	left: 17px;
	z-index: 1;
	width: 186px;
	height: 35px;
	border: 4px solid var(--accent);
	border-radius: 50%;
	background: linear-gradient(135deg, var(--surface-light), hsl(var(--base-hue) 20% 9%));
	box-shadow: 0 6px 0 hsl(var(--base-hue) 25% 8% / 0.75), inset 0 3px 0 rgba(255, 255, 255, 0.16);
	transform-origin: 85% 80%;
	transition: transform 680ms ease-out, top 680ms ease-out;
}

.jar-lid-grip {
	position: absolute;
	top: -18px;
	left: 50%;
	width: 76px;
	height: 29px;
	border: 4px solid var(--accent);
	border-bottom: 0;
	border-radius: 24px 24px 8px 8px;
	background: linear-gradient(135deg, hsl(var(--base-hue) 20% 20%), hsl(var(--base-hue) 20% 9%));
	box-shadow: 0 5px 0 hsl(var(--base-hue) 25% 8% / 0.75), inset 0 3px 0 rgba(255, 255, 255, 0.14);
	transform: translateX(-50%);
}

.jar-lid-grip span {
	position: absolute;
	bottom: 5px;
	left: 50%;
	width: 42px;
	height: 4px;
	border-radius: 50%;
	background: hsl(var(--base-hue) 100% 82% / 0.25);
	transform: translateX(-50%);
}

.jar-rim {
	position: absolute;
	top: -7px;
	left: 13px;
	width: 188px;
	height: 28px;
	border: 4px solid hsl(var(--base-hue) 78% 82% / 0.9);
	border-radius: 50%;
	background: hsl(var(--base-hue) 25% 12% / 0.55);
}

.jar-highlight {
	position: absolute;
	top: 31px;
	left: 22px;
	width: 18px;
	height: 142px;
	border-radius: 50%;
	background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
	transform: rotate(5deg);
}

.jar-bubble {
	position: absolute;
	border: 1px solid hsl(var(--base-hue) 78% 82% / 0.45);
	border-radius: 50%;
	background: hsl(var(--base-hue) 70% 80% / 0.12);
	box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.22);
	animation: bubble-drift 5.5s ease-in-out infinite;
}

.jar-bubble-one {
	right: 28px;
	bottom: 42px;
	width: 22px;
	height: 22px;
}

.jar-bubble-two {
	right: 54px;
	bottom: 27px;
	width: 10px;
	height: 10px;
	animation-delay: 1.4s;
}

.jar-sticker {
	display: grid;
	position: absolute;
	top: 82px;
	left: 39px;
	width: 142px;
	height: 76px;
	align-content: center;
	justify-items: center;
	border: 3px solid hsl(var(--base-hue) 78% 82% / 0.9);
	border-radius: 48% 52% 45% 55% / 48% 42% 58% 52%;
	color: var(--background);
	background: var(--accent);
	box-shadow: 3px 5px 0 hsl(var(--base-hue) 45% 32% / 0.7);
	transform: rotate(-5deg);
	animation: sticker-drift 5.8s ease-in-out infinite;
}

.jar-sticker span {
	line-height: 1;
}

.jar-sticker-top,
.jar-sticker-bottom {
	font-size: 0.5rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.jar-sticker-main {
	font-family: Georgia, serif;
	font-size: 1.1rem;
	font-weight: 700;
}

.jar-label {
	display: none;
	color: var(--accent);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	transform: rotate(-8deg);
}

.jar-sparkle {
	position: absolute;
	z-index: 2;
	width: 10px;
	height: 10px;
	background: var(--accent);
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
	animation: sparkle 4.2s ease-in-out infinite;
}

.jar-sparkle-one {
	top: 72px;
	right: 0;
}

.jar-sparkle-two {
	top: 112px;
	left: 5px;
	width: 7px;
	height: 7px;
	animation-delay: 900ms;
}

.jar-particle {
	position: absolute;
	z-index: 3;
	width: 7px;
	height: 7px;
	border: 2px solid var(--accent);
	border-radius: 50%;
	opacity: 0;
	box-shadow: 0 0 10px hsl(var(--base-hue) 100% 75% / 0.7);
}

.jar-particle-one { top: 101px; left: 64px; --particle-x: -34px; }
.jar-particle-two { top: 92px; left: 116px; width: 5px; height: 5px; --particle-x: -8px; }
.jar-particle-three { top: 115px; left: 145px; width: 6px; height: 6px; --particle-x: 32px; }
.jar-particle-four { top: 84px; left: 91px; width: 4px; height: 4px; --particle-x: 12px; }

.jar-illustration.is-opening {
	animation: jar-wiggle 820ms ease-in-out;
}

.jar-illustration.is-opening .jar-lid {
	top: 1px;
	transform: translate(11px, -12px) rotate(8deg);
}

.jar-illustration.is-opening .jar-particle {
	animation: particle-pop 900ms ease-out forwards;
}

.jar-illustration.is-opening .jar-particle-two { animation-delay: 70ms; }
.jar-illustration.is-opening .jar-particle-three { animation-delay: 130ms; }
.jar-illustration.is-opening .jar-particle-four { animation-delay: 190ms; }

.reminder-card.is-launching {
	animation: card-launch 960ms ease-out;
}

.reset-button {
	display: block;
	position: relative;
	z-index: 2;
	margin: 3rem auto 0;
	color: var(--ink);
	background: transparent;
}

.reset-button[hidden] {
	display: none;
}

body.is-revealed {
	min-height: 100vh;
}

body.is-revealed .site-header,
body.is-revealed .library-section,
body.is-revealed .suggest-section,
body.is-revealed .site-footer,
body.is-revealed .jar-section > .section-heading,
body.is-revealed .jar-controls {
	display: none;
}

body.is-revealed .jar-section {
	min-height: 100vh;
	padding-top: 4rem;
	border-top: 0;
}

body.is-revealed .jar-layout {
	padding-bottom: 2rem;
}

body.is-revealed .reminder-card {
	min-height: 260px;
	padding: clamp(2rem, 6vw, 4rem);
	margin-bottom: 1rem;
	transform-origin: 50% 0;
}

body.is-revealed .reminder-card:not(.is-launching) {
	transform: scale(1.08);
}

@keyframes jar-wiggle {
	0%, 100% { transform: rotate(0); }
	25% { transform: rotate(-3deg) translateY(-3px); }
	55% { transform: rotate(3deg) translateY(-5px); }
	75% { transform: rotate(-1deg); }
}

@keyframes jar-float {
	0%, 100% { transform: translateY(0) rotate(0); }
	50% { transform: translateY(-5px) rotate(0.7deg); }
}

@keyframes water-shimmer {
	0%, 100% { transform: translateX(-8%) rotate(-3deg); opacity: 0.35; }
	50% { transform: translateX(14%) rotate(2deg); opacity: 0.85; }
}

@keyframes bubble-drift {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
	50% { transform: translate(-5px, -7px) scale(1.08); opacity: 0.9; }
}

@keyframes sticker-drift {
	0%, 100% { transform: rotate(-5deg) translateY(0); }
	50% { transform: rotate(-4deg) translateY(-2px); }
}

@keyframes card-launch {
	0% { opacity: 0; transform: translateY(-265px) rotate(-8deg) scale(0.68); }
	100% { opacity: 1; transform: translateY(0) rotate(0) scale(1.08); }
}

@keyframes sparkle {
	0%, 100% { opacity: 0.35; transform: scale(0.7) rotate(0); }
	50% { opacity: 1; transform: scale(1.15) rotate(45deg); }
}

@keyframes particle-pop {
	0% { opacity: 0; transform: translateY(20px) scale(0.3); }
	35% { opacity: 1; }
	100% { opacity: 0; transform: translate(var(--particle-x), -64px) scale(1); }
}

@keyframes category-menu-in {
	from { opacity: 0; transform: translateY(-8px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.jar-controls {
	display: grid;
	gap: 0.8rem;
	width: min(100%, 380px);
}

.jar-controls label,
.search-field input {
	font-size: 0.8rem;
}

label span {
	color: var(--muted);
}

.search-field input {
	width: 100%;
	padding: 0.85rem 0.9rem;
	color: var(--ink);
	border: 1px solid hsl(var(--base-hue) 70% 72% / 0.24);
	border-radius: 12px;
	background: linear-gradient(120deg, hsl(var(--base-hue) 45% 20% / 0.74), hsl(var(--base-hue) 22% 12% / 0.88));
	box-shadow: inset 0 1px 0 hsl(var(--base-hue) 100% 90% / 0.1), inset 0 -10px 24px hsl(var(--base-hue) 100% 60% / 0.04), 0 5px 18px rgba(0, 0, 0, 0.12);
	transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.category-picker {
	position: relative;
}

.category-select {
	position: relative;
	width: 100%;
	padding: 0.85rem 2.8rem 0.85rem 1rem;
	border: 1px solid hsl(var(--base-hue) 70% 72% / 0.24);
	border-radius: 12px;
	color: var(--ink);
	background: linear-gradient(120deg, hsl(var(--base-hue) 45% 20% / 0.74), hsl(var(--base-hue) 22% 12% / 0.88));
	box-shadow: inset 0 1px 0 hsl(var(--base-hue) 100% 90% / 0.1), inset 0 -10px 24px hsl(var(--base-hue) 100% 60% / 0.04), 0 5px 18px rgba(0, 0, 0, 0.12);
	font-size: 0.8rem;
	font-weight: 400;
	text-align: left;
	transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.category-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.05rem;
	width: 8px;
	height: 8px;
	border-right: 2px solid hsl(var(--base-hue) 100% 82% / 0.9);
	border-bottom: 2px solid hsl(var(--base-hue) 100% 82% / 0.9);
	transform: translateY(-65%) rotate(45deg);
	transition: transform 220ms ease;
}

.category-select[aria-expanded="true"]::after {
	transform: translateY(-20%) rotate(225deg);
}

.category-select:hover,
.category-select[aria-expanded="true"] {
	border-color: hsl(var(--base-hue) 100% 78% / 0.52);
	background: linear-gradient(120deg, hsl(var(--base-hue) 50% 23% / 0.82), hsl(var(--base-hue) 25% 13% / 0.92));
	box-shadow: inset 0 1px 0 hsl(var(--base-hue) 100% 90% / 0.14), 0 0 20px hsl(var(--base-hue) 100% 65% / 0.12), 0 7px 20px rgba(0, 0, 0, 0.16);
	transform: translateY(-1px);
}

.category-select:focus-visible {
	outline: 2px solid hsl(var(--base-hue) 100% 75% / 0.42);
	outline-offset: 3px;
	border-color: hsl(var(--base-hue) 100% 78% / 0.72);
	box-shadow: 0 0 0 5px hsl(var(--base-hue) 100% 70% / 0.08), 0 0 22px hsl(var(--base-hue) 100% 70% / 0.24);
}

.category-options {
	display: grid;
	position: absolute;
	top: calc(100% + 0.55rem);
	right: 0;
	left: 0;
	z-index: 10;
	max-height: 220px;
	padding: 0.4rem;
	overflow-y: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
	border: 1px solid hsl(var(--base-hue) 100% 75% / 0.3);
	border-radius: 14px;
	background: linear-gradient(145deg, hsl(var(--base-hue) 28% 18% / 0.96), hsl(var(--base-hue) 22% 10% / 0.98));
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36), 0 0 24px hsl(var(--base-hue) 100% 60% / 0.14), inset 0 1px 0 hsl(var(--base-hue) 100% 90% / 0.12);
	transform-origin: top center;
	animation: category-menu-in 180ms cubic-bezier(0.2, 0.9, 0.25, 1.15);
}

.category-options::-webkit-scrollbar {
	display: none;
}

.category-options[hidden] {
	display: none;
}

.category-option {
	padding: 0.65rem 0.75rem;
	border-radius: 9px;
	color: var(--muted);
	cursor: pointer;
	font-size: 0.78rem;
	transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.category-option:hover,
.category-option:focus-visible,
.category-option.is-selected {
	color: var(--ink);
	background: hsl(var(--base-hue) 100% 70% / 0.13);
}

.category-option:hover {
	transform: translateX(3px);
}

.search-field input:focus {
	outline: 2px solid hsl(var(--base-hue) 100% 75% / 0.42);
	outline-offset: 3px;
	border-color: hsl(var(--base-hue) 100% 78% / 0.72);
	box-shadow: 0 0 0 5px hsl(var(--base-hue) 100% 70% / 0.08), 0 0 22px hsl(var(--base-hue) 100% 70% / 0.24);
	transform: translateY(-1px);
}

button,
.secondary-button {
	display: inline-block;
	padding: 0.9rem 1.2rem;
	border: 2px solid hsl(var(--base-hue) 100% 82% / 0.8);
	border-radius: 10px;
	color: var(--background);
	background: linear-gradient(145deg, hsl(var(--base-hue) 100% 84%), var(--accent) 58%, hsl(var(--base-hue) 78% 62%));
	box-shadow: 0 0 0 0 hsl(var(--base-hue) 100% 75% / 0), 0 7px 0 hsl(var(--base-hue) 55% 35% / 0.8), 0 12px 24px hsl(var(--base-hue) 100% 60% / 0.18);
	cursor: pointer;
	font-size: 0.78rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

button:hover:not(:disabled),
button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
	background: linear-gradient(145deg, hsl(var(--base-hue) 100% 90%), hsl(var(--base-hue) 100% 78%));
	box-shadow: 0 0 18px hsl(var(--base-hue) 100% 75% / 0.48), 0 7px 0 hsl(var(--base-hue) 55% 35% / 0.8), 0 14px 28px hsl(var(--base-hue) 100% 60% / 0.28);
	transform: translateY(-2px);
}

button:active:not(:disabled),
.secondary-button:active {
	box-shadow: 0 2px 0 hsl(var(--base-hue) 55% 35% / 0.8), 0 6px 14px hsl(var(--base-hue) 100% 60% / 0.2);
	transform: translateY(3px);
}

button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.reminder-card .card-reveal {
	padding: 2rem;
	border: 0;
	border-radius: 0;
	color: var(--ink);
	background: radial-gradient(circle at 50% 48%, hsl(var(--base-hue) 100% 75% / 0.12), transparent 45%), linear-gradient(135deg, hsl(var(--base-hue) 25% 13% / 0.86), hsl(var(--base-hue) 20% 9% / 0.92));
	box-shadow: inset 0 0 55px hsl(var(--base-hue) 100% 65% / 0.12);
	text-shadow: 0 0 16px hsl(var(--base-hue) 100% 75% / 0.75);
}

.reminder-card .card-reveal:hover,
.reminder-card .card-reveal:focus-visible {
	background: radial-gradient(circle at 50% 48%, hsl(var(--base-hue) 100% 75% / 0.2), transparent 48%), linear-gradient(135deg, hsl(var(--base-hue) 25% 15% / 0.86), hsl(var(--base-hue) 20% 9% / 0.92));
}

.reminder-card .card-reveal:active {
	background: radial-gradient(circle at 50% 48%, hsl(var(--base-hue) 100% 75% / 0.2), transparent 48%), linear-gradient(135deg, hsl(var(--base-hue) 25% 15% / 0.86), hsl(var(--base-hue) 20% 9% / 0.92));
}

.status-message {
	min-height: 1.5em;
	margin: 0;
	color: var(--muted);
	font-size: 0.75rem;
}

.reminder-card {
	position: relative;
	overflow: hidden;
	min-height: 180px;
	padding: 2rem;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
}

.reminder-card.is-covered .card-content {
	filter: blur(13px);
	opacity: 0.18;
	user-select: none;
}

.card-content {
	transition: filter 500ms ease, opacity 500ms ease;
}

.card-reveal {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 0.9rem;
	padding: 2rem;
	border: 0;
	border-radius: 0;
	color: var(--ink);
	background: radial-gradient(circle at 50% 48%, hsl(var(--base-hue) 100% 75% / 0.12), transparent 45%), linear-gradient(135deg, hsl(var(--base-hue) 25% 13% / 0.86), hsl(var(--base-hue) 20% 9% / 0.92));
	box-shadow: inset 0 0 55px hsl(var(--base-hue) 100% 65% / 0.12);
	text-shadow: 0 0 16px hsl(var(--base-hue) 100% 75% / 0.75);
	transition: opacity 500ms ease, background 500ms ease;
}

.card-reveal:hover,
.card-reveal:focus-visible {
	background: radial-gradient(circle at 50% 48%, hsl(var(--base-hue) 100% 75% / 0.2), transparent 48%), linear-gradient(135deg, hsl(var(--base-hue) 25% 15% / 0.86), hsl(var(--base-hue) 20% 9% / 0.92));
}

.card-reveal:focus-visible {
	outline: 2px solid hsl(var(--base-hue) 100% 82% / 0.9);
	outline-offset: -8px;
}

.card-reveal-text {
	position: relative;
	z-index: 1;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.card-dust {
	position: absolute;
	inset: 0;
	opacity: 0.85;
	filter: blur(0.4px);
	animation: dust-drift 5s ease-in-out infinite alternate;
}

.card-dust::before,
.card-dust::after,
.card-dust i {
	content: "";
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: hsl(var(--base-hue) 100% 82% / 0.88);
	box-shadow: 0 0 8px 3px hsl(var(--base-hue) 100% 70% / 0.42);
}

.card-dust::before { top: 22%; left: 18%; }
.card-dust::after { right: 20%; bottom: 23%; width: 3px; height: 3px; }
.card-dust i:nth-child(1) { top: 32%; left: 33%; }
.card-dust i:nth-child(2) { top: 20%; right: 35%; width: 3px; height: 3px; }
.card-dust i:nth-child(3) { top: 58%; left: 21%; width: 3px; height: 3px; }
.card-dust i:nth-child(4) { top: 72%; left: 39%; }
.card-dust i:nth-child(5) { top: 42%; right: 16%; }
.card-dust i:nth-child(6) { top: 65%; right: 33%; width: 3px; height: 3px; }
.card-dust i:nth-child(7) { top: 29%; left: 66%; width: 3px; height: 3px; }
.card-dust i:nth-child(8) { top: 78%; right: 47%; }
.card-dust i:nth-child(9) { top: 48%; left: 8%; width: 3px; height: 3px; }
.card-dust i:nth-child(10) { top: 14%; right: 9%; width: 3px; height: 3px; }

@keyframes dust-drift {
	to { transform: translate3d(0, -8px, 0) scale(1.04); opacity: 0.62; }
}

.reminder-card.is-empty {
	color: var(--muted);
}

.card-label {
	color: var(--accent);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.library-heading {
	justify-content: space-between;
	gap: 2rem;
}

.search-field {
	width: min(100%, 260px);
}

.library-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 2rem;
}

.empty-library {
	grid-column: 1 / -1;
	color: var(--muted);
}

.library-card {
	min-height: 180px;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
}

.library-card h3 {
	margin: 0 0 0.8rem;
	font-size: 1.3rem;
	font-weight: 700;
}

.library-card p:not(.card-label) {
	color: var(--muted);
}

.library-card small,
.reminder-card small {
	color: var(--muted);
	font-size: 0.7rem;
}

.reminder-text {
	max-width: 760px;
	font-size: 1.5rem;
	line-height: 1.35;
}

.reflection {
	max-width: 760px;
	color: var(--muted);
	font-style: italic;
}

.suggest-section {
	padding-bottom: 7rem;
}

.suggest-section .secondary-button {
	margin-top: 0.6rem;
	color: var(--background);
}

.site-footer {
	display: flex;
	justify-content: space-between;
	padding: 1.5rem 0;
	color: var(--muted);
	border-top: 1px solid var(--line);
	font-size: 0.72rem;
}

.site-footer p {
	margin: 0;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 700px) {
	.site-header,
	main,
	.site-footer {
		width: min(calc(100% - 2rem), var(--max-width));
	}

	.site-header,
	.site-footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 1rem;
	}

	.site-nav {
		gap: 1rem;
	}

	.jar-layout {
		flex-direction: column;
		gap: 2rem;
	}

	.library-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.search-field {
		width: 100%;
	}

	.library-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.jar-sparkle,
	.jar-particle,
	.jar-illustration,
	.jar-body::after,
	.jar-bubble,
	.jar-sticker,
	.card-dust,
	.jar-illustration.is-opening,
	.reminder-card.is-launching,
	body.is-revealed .reminder-card:not(.is-launching) {
		animation: none;
		transform: scale(1.08);
	}

	.jar-illustration.is-opening .jar-lid {
		top: 15px;
		transform: none;
	}
}
