@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/baloo2-600.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/baloo2-700.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/baloo2-800.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700.woff2") format("woff2");
}

:root {
  --ink: #221533;
  --mauve: #ddb9ff;
  --sun: #f7d596;
  --cream: #fff9eb;
  --green: #2aae86;
  --muted: #7d7390;
  --soft: #5c5468;
  --line: #e8e1ef;
  --stk: 0 0 0 5px #fff, 0 0 0 6px #e8e1ef, 0 6px 14px 5px rgba(34, 21, 51, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
h1, h2, h3, .b { font-family: "Baloo 2", sans-serif; }
p { margin: 0 0 0.8rem; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 5;
  border-radius: 999px;
}
.skip:focus { top: 8px; }

.top { background: var(--cream); border-bottom: 1px solid #f0e7d4; }
nav { display: flex; justify-content: center; padding: 22px 16px 6px; }
nav img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 6px 10px rgba(34, 21, 51, 0.18));
}
.hero {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 8px 80px 26px;
}
.hero .t { flex: 1; }
.hero .art { flex: 1.05; text-align: right; }
.hero .art img { width: 600px; max-width: 100%; margin-left: auto; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6b6378;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 8px;
}
.hero h1 {
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
}
.hero p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--soft);
  max-width: 460px;
  margin: 0;
}

.sec { padding: 44px 0 0; }
.cats { padding: 52px 0 8px; }
.cats h2 { margin-bottom: 22px; }
.cg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.cc {
  display: block;
  background: #fff;
  padding: 10px;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(34,21,51,.06), 0 8px 22px rgba(34,21,51,.10);
  text-decoration: none;
  color: var(--ink);
}
.cc .cf { border: 1.5px solid var(--ink); border-radius: 2px; overflow: hidden; }
.cc .ci { aspect-ratio: 2 / 1; height: auto; background: #f6f4f8; }
.cc .ci img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc .cb { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 20px; gap: 12px; }
.cl {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8296;
  margin-bottom: 4px;
}
.cc h3 { font-size: 22px; font-weight: 800; margin: 0; line-height: 1.1; }
.ar { flex: none; font-size: 26px; font-weight: 300; color: var(--ink); }
.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
h2 { font-size: 34px; font-weight: 800; margin: 0; line-height: 1; }
h2 a { text-decoration: none; }
.url { font-size: 13px; color: #9a90ab; margin-top: 6px; }
.count { font-size: 15px; color: var(--muted); font-weight: 500; }

.bar {
  margin-bottom: 36px;
  padding-left: 2px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 10px;
}
.chip {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px 4px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--stk);
  margin: 6px;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  cursor: pointer;
}
.chip summary { list-style: none; cursor: pointer; }
.chip summary::-webkit-details-marker { display: none; }
.chip summary::after { content: "▾"; font-size: 12px; opacity: 0.55; margin-left: 6px; }
.chip.sel { background: var(--sun); }
.chip.sel::after { content: "×"; font-size: 18px; opacity: 1; margin-left: 6px; line-height: 1; }
.chip .menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 4;
  min-width: 180px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--stk);
  padding: 8px;
  display: grid;
  gap: 4px;
}
.chip .menu a {
  text-decoration: none;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 8px;
}
.chip .menu a:hover { background: var(--cream); }
.chip:focus-visible, .go:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.card[hidden] { display: none !important; }
button.chip { font: inherit; color: inherit; cursor: pointer; }
button.chip.is-on { background: var(--sun); }
button.chip.is-on::after { content: none; }
.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 16px 6px 2px;
  line-height: 1.2;
}
.card .m { font-size: 14px; color: var(--muted); margin: 0 6px; }
.im {
  position: relative;
  height: 240px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--stk);
  margin: 6px;
  background: #fff;
}
.im img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 13px;
  background: var(--mauve);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 11px 1px;
  box-shadow: 0 0 0 3px #fff;
}
.go {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  margin: 14px 0 0 12px;
  padding: 6px 18px 3px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  box-shadow: var(--stk);
  color: var(--ink);
  text-decoration: none;
}
.go:hover { background: #f3c56a; }
.note, .foot {
  font-size: 13px;
  color: #8a8296;
  padding: 28px 0 8px;
}
.foot { padding-bottom: 36px; }
.foot .note { padding: 12px 0 0; }
.foot-groups { display: grid; gap: 14px; }
.foot-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6b6378; margin: 0 0 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; }
.foot-links a { color: #6b6378; }

.page-hero { padding: 36px 0 8px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 56px); }
.lede { color: var(--soft); max-width: 42rem; font-size: 18px; }
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 42rem; padding-bottom: 24px; }
.prose h1 { margin-bottom: 12px; }
.age-index, .plain-index { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 12px; }
.age-index li, .plain-index li, .budget-band {
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--stk);
  background: #fff;
  margin: 6px;
}
.age-index h2, .plain-index h2 { font-size: 22px; margin: 0 0 8px; }
.age-links, .link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.age-links a, .link-row a, .budget-band a {
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  text-decoration: none;
  background: var(--sun);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
}
.quiet { color: var(--muted); }
.budget-board { display: grid; gap: 12px; margin-bottom: 40px; }
.budget-band ul { list-style: none; padding: 0; margin: 8px 0 0; }
.faq { margin: 28px 0 10px; }
.faq h2 { font-size: 28px; }
.faq-list details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.related { margin: 10px 0 24px; }
.updated { color: var(--muted); }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .cg { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero { padding: 8px 24px 26px; }
}
@media (max-width: 800px) {
  .hero h1 { font-size: 46px; }
  .hero { flex-direction: column; align-items: stretch; padding: 8px 16px 22px; gap: 8px; }
  .hero .art { text-align: center; }
  .hero .art img { width: 100%; margin: 0 auto; }
  .sec { padding-top: 28px; }
  h2 { font-size: 28px; }
  .grid, .cg { grid-template-columns: 1fr; }
  nav img { height: 64px; }
  .age-index, .plain-index, .budget-board { grid-template-columns: 1fr; }
}
@media (min-width: 801px) {
  .age-index, .plain-index, .budget-board { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
