
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800&display=swap');
:root {
  color-scheme: only light;
  --accent: #1a1a18;
  --accent-soft: #e7e4de;
  --bg: #fffdfa;
  --paper: #fdf8f0;
  --bg-alt: #f3f0ea;
  --ink: #171512;
  --on-accent: #fff;
  --muted: color-mix(in srgb, var(--ink) 58%, transparent);
  --line: color-mix(in srgb, var(--ink) 13%, transparent);
  --card: #fff;
  --radius: 20px;
  --text: "Nunito", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fredoka", "Nunito", ui-sans-serif, sans-serif;
  --mono: "Nunito", ui-sans-serif, sans-serif;
  --violet: #6d28d9;
}
/* No dark inversion: the pastel paper is the brand, and flipping it to black
   turns a friendly catalogue into something else entirely. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: #fff9ef; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16.5px/1.65 var(--text); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.wrap.wide { max-width: 1240px; }
.bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }

/* ---- header ---- */
header.top { position: sticky; top: 0; z-index: 30; background: var(--paper);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 0; }
.brand { display: block; line-height: 0; }
.brand img { height: 40px; width: auto; mix-blend-mode: multiply; }
nav.tabs { margin: 0 auto; display: flex; gap: 22px; align-items: center; }
nav.tabs a { display: flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 700;
  font-size: 15.5px; border: 0; color: var(--violet); transition: .15s; }
nav.tabs a img { height: 22px; width: auto; mix-blend-mode: multiply; }
nav.tabs a:hover { color: var(--accent); }
nav.tabs a.pill { justify-content: center; min-height: 44px; padding: 10px 20px;
  border: 1px solid #fff; border-radius: 999px; background: #fbf4ff;
  color: #6026ac; font-size: 15px; font-weight: 800; letter-spacing: 0;
  box-shadow: 0 4px 8px #6733a914; white-space: nowrap; }
nav.tabs a.pill:hover { background: #f1e4ff; color: #6026ac; border-color: #ead8fb; }
nav.tabs a.pill:focus-visible { outline: 3px solid #6026ac; outline-offset: 3px; }
nav.tabs a:hover { border-color: var(--accent); color: var(--accent); }
nav.tabs a.pill[aria-current="page"] {
  background: linear-gradient(180deg, #974bfb 0%, #7b36da 55%, #6d2dc7 100%);
  color: #fff; border-color: #9552dd;
  box-shadow: inset 0 2px 3px #cba5ff99, 0 4px 9px #6733a92e;
}

.finder-entry { display: block; text-align: center; margin: 22px 0; padding: 16px;
  background: #f3eaff; border: 1px solid #e6d5fa; border-radius: 22px;
  color: #6026ac; font-weight: 800; text-decoration: none; }
.finder-entry:hover { background: #eadbfa; }
/* ---- type ---- */
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 5.4vw, 54px);
  line-height: 1.05; letter-spacing: -.02em; margin: 34px 0 12px; color: var(--violet); }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.6vw, 28px);
  letter-spacing: -.01em; margin: 42px 0 12px; color: var(--violet); }
.lede { color: var(--muted); margin: 0 0 26px; font-size: 18px; max-width: 62ch; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 34px 0 6px; }

/* ---- demo ---- */
.demo { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; margin: 30px 0 10px; }
.demo h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.015em; }
.demo p { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); }
.bar { display: grid; grid-template-columns: minmax(84px, auto) 1fr auto; align-items: center;
  gap: 14px; margin: 9px 0; font-size: 14.5px; }
.bar i { font-style: normal; color: var(--muted); }
.bar .track { display: block; height: 13px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
.bar .fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.bar b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 14px; }
.save { margin: 14px 0 0; font-size: 14.5px; }
.save b { color: var(--accent); }

/* ---- hero ---- */
.hero { background: #fcf4ea;
  margin: 0 calc(50% - 50vw) 4px; width: 100vw; position: relative; overflow: hidden;
  display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; min-height: 340px; }
.hero-words { padding: 48px 20px 44px max(24px, calc(50vw - 560px)); align-self: center; }
.hero-art { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-words { padding: 30px 22px 30px; }
  .hero-art { order: -1; height: 200px; }
}
.hero h1 { margin: 0 0 10px; }
.hero h1 em { font-style: normal; color: #ef5a7a; }
.hero p { margin: 0 0 22px; font-size: 18px; font-weight: 600; color: color-mix(in srgb, var(--violet) 78%, transparent); max-width: 46ch; }
.hero .bigsearch { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 7px 7px 7px 16px;
  max-width: 560px; box-shadow: 0 10px 26px rgba(90,40,140,.13); }
.hero .bigsearch .lens { width: 22px; height: 22px; mix-blend-mode: multiply; flex: none; }
.hero .bigsearch input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15.5px; background: transparent; color: var(--ink); }
.hero .bigsearch a { background: var(--violet); color: #fff; text-decoration: none; font-family: var(--display);
  font-weight: 600; font-size: 15.5px; padding: 11px 26px; border-radius: 999px; }

.stage { background: var(--bg-alt); border: 1px dashed var(--line); border-radius: 14px;
  padding: 14px 18px; margin: 22px 0 6px; font-size: 14.5px; color: var(--muted); }
.stage b { color: var(--ink); }
.stage a { color: var(--violet); font-weight: 700; }

/* ---- animal banners ---- */
.animals { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); margin: 20px 0 6px; }
.animal { border-radius: 24px; padding: 26px 26px 22px; text-decoration: none; display: block; position: relative; }
.animal { display: flex; gap: 0; align-items: stretch; padding: 0; overflow: hidden;
  position: relative; min-height: 172px; max-height: 210px; }
.animal .face { width: 38%; max-width: 218px; flex: none; object-fit: cover;
  object-position: left center; display: block; }
.animal .txt { min-width: 0; padding: 22px 44px 20px 20px; display: flex; flex-direction: column; justify-content: center; }
.animal .pills { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; }
.animal .pills .pill { background: #fff; border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 700; }
.animal .arrow { position: absolute; top: 50%; right: 16px; transform: translateY(-50%);
  background: #fff; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-size: 21px; font-weight: 700; line-height: 1; box-shadow: 0 2px 8px rgba(80,40,120,.14); }
.animal .go { display: none; }
.animal h3 { font-family: var(--display); font-weight: 700; font-size: 28px; margin: 0 0 6px; letter-spacing: -.01em; }
.animal p { margin: 0 0 16px; font-size: 15.5px; font-weight: 600; opacity: .85; }
.animal .go { display: inline-block; background: #fff; border-radius: 999px; padding: 8px 18px;
  font-weight: 700; font-size: 14px; }

/* ---- shop count + compare ---- */
.shops { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  color: var(--muted); }
.shops.soon { color: var(--muted); font-weight: 600; font-style: italic; }
.pending { font-size: 14px; color: var(--muted); font-weight: 600; margin: 2px 0 0; }
.compare.ghost { background: transparent; color: var(--violet); border: 2px solid var(--line); }
.card:hover .compare.ghost { border-color: var(--violet); background: transparent; }
.compare { background: var(--violet); color: #fff; border-radius: 999px;
  padding: 9px 16px; text-align: center; font-family: var(--display); font-weight: 600; font-size: 14px; }
.card:hover .compare { background: var(--accent); }

/* ---- product images ---- */
.shot { aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); display: grid; place-items: center; margin: 0; }
.shot img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
.shot.big { aspect-ratio: 4/3; max-width: 460px; margin: 26px 0 0; }
.shot.big img { padding: 20px; }
.shot.lettered { background: linear-gradient(150deg, var(--accent-soft), var(--bg-alt));
  border-color: transparent; gap: 4px; text-align: center; padding: 14px; }
.shot.lettered .word { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 3.4vw, 25px);
  color: var(--accent); line-height: 1.1; letter-spacing: -.01em; }
.shot.lettered .sub { font-size: 12.5px; font-weight: 700; color: color-mix(in srgb, var(--ink) 52%, transparent);
  text-transform: uppercase; letter-spacing: .08em; }

/* ---- cards ---- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); margin: 22px 0 44px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; text-decoration: none; display: grid; grid-template-columns: 116px 1fr; gap: 14px;
  align-items: start; transition: .16s; box-shadow: 0 2px 0 color-mix(in srgb, var(--ink) 6%, transparent); }
.card .body { display: flex; flex-direction: column; min-width: 0; height: 100%; }
.card .foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card:hover { transform: translateY(-2px); border-color: var(--accent);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--ink) 10%, transparent); }
.card .brandname { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card .name { font-weight: 700; margin: 3px 0 10px; line-height: 1.3; color: var(--violet); }
.unit { font-family: var(--display); font-size: 27px; font-weight: 600; color: var(--accent);
  letter-spacing: -.015em; line-height: 1; }
.unit small { font-family: var(--text); font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.from { font-size: 13px; color: var(--muted); margin-top: 5px; }
.spark { height: 5px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 9%, transparent);
  margin: 12px 0 0; overflow: hidden; }
.spark span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft);
  color: #3d1a63; font-weight: 700; }

/* ---- search ---- */
.search { position: relative; flex: 1 1 180px; max-width: 330px; }
.search input { width: 100%; padding: 11px 18px; border-radius: 999px; font: inherit; font-size: 14.5px;
  border: 2px solid var(--line); background: var(--card); color: var(--ink); }
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
#results { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 7px);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--ink) 18%, transparent); }
#results a { display: block; padding: 11px 15px; text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--line); }
#results a:last-child { border-bottom: 0; }
#results a:hover { background: var(--bg-alt); }
#results .u { float: right; font-weight: 700; color: var(--accent); }
#results .none { padding: 13px 15px; font-size: 14px; color: var(--muted); }
@media (max-width: 680px) {
  .search { order: 3; max-width: none; flex: 1 0 100%; }
  nav.tabs { margin-left: auto; }
}

/* ---- chips, tables ---- */
/* Pagination: written as markup earlier with no styles at all, which left the
   numbers as bare text crammed together. Same shape as the chips above. */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 26px 0; justify-content: center; }
.pager .page { display: inline-grid; place-items: center; min-width: 42px; height: 42px;
  padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--violet);
  transition: .15s; }
.pager .page:hover { border-color: var(--violet); color: var(--violet);
  transform: translateY(-1px); }
.pager .page.here { background: var(--violet); color: #fff; border-color: transparent;
  pointer-events: none; }
.pager .page.prev, .pager .page.next { font-weight: 700; padding: 0 20px; }
.pager .gap { color: var(--muted); padding: 0 2px; font-weight: 700; }
@media (max-width: 560px) {
  .pager { gap: 6px; }
  .pager .page { min-width: 38px; height: 38px; padding: 0 11px; font-size: 13.5px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 6px; }
.chips a { text-decoration: none; font-size: 13px; font-weight: 500; padding: 7px 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); transition: .15s; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
table { width: 100%; border-collapse: collapse; margin: 14px 0 8px; font-size: 15px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
th { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
td.num { text-align: right; font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums; }
tbody tr:first-child td { background: color-mix(in srgb, var(--accent) 7%, transparent); }

/* ---- hero unit on product page ---- */
.hero-unit { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin: 20px 0; }
.hero-unit b { font-family: var(--display); font-size: 40px; color: var(--accent); letter-spacing: -.02em; line-height: 1; }
.hero-unit span { color: var(--muted); font-size: 15px; }
.warn { background: var(--bg-alt); border-left: 3px solid var(--accent); padding: 11px 15px;
  border-radius: 8px; font-size: 14px; color: var(--muted); margin: 16px 0; }

/* ---- section tiles ---- */
.two { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 30px 0 10px; }
.sect { border-radius: 14px; padding: 26px; text-decoration: none; display: block;
  border: 1px solid rgba(0,0,0,.07); transition: .18s; }
.sect:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.13); }
.sect .mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px; }
.sect .mark svg { width: 23px; height: 23px; }
.sect h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.sect p { margin: 0; font-size: 15px; opacity: .82; }
.sect .count { margin-top: 14px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }

footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 26px 0 48px;
  font-size: 13px; color: var(--muted); }
footer p { max-width: 70ch; }
footer a { color: var(--violet); font-weight: 600; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.foot a { text-decoration: none; font-weight: 700; color: var(--violet); font-size: 14px; }
.foot a:hover { text-decoration: underline; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 21px; margin: 34px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose a { color: var(--violet); font-weight: 700; }
