:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #30213a;
  background: #fff8ef;
  --ink: #30213a;
  --purple: #462c61;
  --line: #e4d7c8;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #664683; outline-offset: 4px; }
[hidden] { display: none !important; }
.top, main, footer { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.top { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top a { text-decoration: none; font-weight: 700; }
.top .wordmark { font-size: 1.35rem; font-weight: 900; letter-spacing: -.07em; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, 32%); align-items: center;
  gap: clamp(8px, 4vw, 48px); background: #ffdfc9; border: 1px solid #ebc8b6;
  border-radius: 28px; min-height: 225px; padding: clamp(20px, 5vw, 50px);
}
.hero h1 { font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.07; letter-spacing: -.075em; margin: 0; word-break: keep-all; }
.hero p { margin: 14px 0 0; max-width: 34ch; line-height: 1.5; word-break: keep-all; }
.hero .category { margin: 0 0 9px; }
.hero img { width: 100%; height: auto; max-width: 256px; justify-self: center; filter: drop-shadow(0 6px 0 #30213a18); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 15px; }
.filters a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .91rem; font-weight: 700; background: #fffdfa; }
.filters a[aria-current] { color: white; background: var(--purple); border-color: var(--purple); }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.pack-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fffdfa; }
.pack-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.pack-card a:focus-visible { outline-offset: -4px; }
.pack-card a:hover .card-link { text-decoration: underline; }
.card-art { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 20px 14px; background: #ffe6d7; }
.card-art img { width: 100%; height: auto; aspect-ratio: 1; }
.card-art img:nth-child(2) { transform: rotate(-9deg) scale(1.12); }
.card-art img:nth-child(3) { transform: rotate(8deg); }
.lilac .card-art, .hero.lilac { background: #eee3ff; border-color: #d9caed; }
.mint .card-art, .hero.mint { background: #dbf3e7; border-color: #bbddcd; }
.card-copy { padding: 16px; display: flex; flex: 1; flex-direction: column; gap: 6px; }
.category { color: #5e485f; font-size: .83rem; font-weight: 700; }
.card-copy h2, .card-copy p { margin: 0; word-break: keep-all; }
.card-copy h2 { letter-spacing: -.05em; font-size: 1.2rem; }
.card-copy p:not(.category) { font-size: .92rem; line-height: 1.5; }
.card-link { color: var(--purple); font-size: .9rem; font-weight: 800; margin-top: auto; padding-top: 8px; }
.back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 6px; }
.download { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; min-height: 48px; background: var(--purple); color: white; text-decoration: none; border-radius: 14px; padding: 10px 16px; margin-top: 20px; font-weight: 800; }
.pack-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; }
.pack-actions .download { margin-top: 0; }
.file-option { display: inline-flex; align-items: center; min-height: 44px; color: var(--purple); font-size: .86rem; font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tiles figure { margin: 0; padding: 10px 5px; text-align: center; background: #fffdfa; border: 1px solid var(--line); border-radius: 18px; }
.tiles img { display: block; width: 100%; max-width: 120px; height: auto; margin-inline: auto; }
.tiles figcaption { margin-top: 5px; font-size: .87rem; word-break: keep-all; }
.instructions { margin-top: 24px; background: #fffdfa; padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; line-height: 1.6; }
.instructions h2, .instructions ol { margin-top: 0; }
.instructions ol { padding-inline-start: 24px; }
.instructions p { margin-bottom: 0; color: #5e485f; font-size: .85rem; }
footer { padding-block: 32px; font-size: .87rem; }
@media (max-width: 680px) {
  .top, main, footer { width: calc(100% - 28px); }
  .top { min-height: 58px; }
  .hero { min-height: 0; padding: 20px 15px; border-radius: 21px; }
  .shelf { grid-template-columns: 1fr; gap: 10px; }
  .pack-card a { display: grid; grid-template-columns: 37% 1fr; }
  .card-art { grid-template-columns: 1fr; padding: 9px; }
  .card-art img:nth-child(n+2) { display: none; }
  .card-copy { padding: 11px; }
  .card-copy p:not(.category) { font-size: .85rem; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 390px) { .hero h1 { font-size: 1.68rem; } .hero { gap: 6px; } }
