/* Little Pages: soft pastel landing page. Plain CSS, no build step. */

:root {
  --background: oklch(0.985 0.012 85);
  --foreground: oklch(0.32 0.03 40);
  --card: oklch(1 0.004 85);
  --primary: oklch(0.68 0.12 10);
  --primary-hover: oklch(0.63 0.12 10);
  --primary-foreground: oklch(0.99 0.005 85);
  --secondary: oklch(0.93 0.035 230);
  --muted: oklch(0.955 0.02 75);
  --muted-foreground: oklch(0.52 0.03 45);
  --accent-foreground: oklch(0.35 0.05 150);
  --border: oklch(0.91 0.025 60);
  --blush: oklch(0.9 0.05 10);
  --sky: oklch(0.9 0.05 230);
  --sage: oklch(0.88 0.05 150);
  --butter: oklch(0.94 0.07 90);
  --shadow-soft: 0 18px 40px -18px color-mix(in oklab, var(--primary) 35%, transparent);
  --font-display: "Fredoka", ui-rounded, system-ui, sans-serif;
  --font-sans: "Nunito", ui-sans-serif, system-ui, sans-serif;
  --radius: 1.25rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0; }
a { color: inherit; }
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.container-md { max-width: 64rem; }
.container-sm { max-width: 48rem; }
.section { padding: 5rem 0; }
.bg-muted { background: color-mix(in oklab, var(--muted) 60%, transparent); }
.bg-secondary { background: color-mix(in oklab, var(--secondary) 50%, transparent); }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; background: var(--primary); color: var(--primary-foreground);
  font-weight: 800; text-decoration: none; padding: .625rem 1.25rem; font-size: .9rem;
  box-shadow: var(--shadow-soft); transition: transform .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--primary-hover); }
.btn:focus-visible, .icon-btn:focus-visible, .preview-btn:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--primary) 50%, transparent); outline-offset: 2px;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--background) 85%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--blush); color: var(--primary); }

/* Hero */
.hero { position: relative; overflow-x: clip; }
.blob { position: absolute; width: 18rem; height: 18rem; border-radius: 999px; filter: blur(64px); pointer-events: none; }
.blob-1 { left: -6rem; top: 2.5rem; background: color-mix(in oklab, var(--blush) 60%, transparent); }
.blob-2 { right: -5rem; bottom: 0; background: color-mix(in oklab, var(--sky) 60%, transparent); }
.hero-grid { position: relative; display: grid; gap: 3.5rem; align-items: center; padding-top: 4rem; padding-bottom: 4rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; background: var(--sage); color: var(--accent-foreground); padding: .375rem 1rem; font-size: .875rem; font-weight: 800; }
.pill .icon { width: 1rem; height: 1rem; }
.hero h1 { margin-top: 1.25rem; font-size: clamp(2.25rem, 6vw, 3.75rem); }
.hero-lead { margin-top: 1.25rem; max-width: 32rem; font-size: 1.125rem; color: var(--muted-foreground); }
.hero-cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.price-chip { background: var(--card); border-radius: 1rem; padding: .5rem 1rem; box-shadow: 0 1px 3px rgb(0 0 0 / .06); }
.trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .875rem; font-weight: 700; }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust .icon { width: 1rem; height: 1rem; color: var(--primary); }

.covers { position: relative; margin: 0 auto; width: 100%; max-width: 24rem; height: 20rem; }
.covers img {
  position: absolute; height: 16rem; width: auto; aspect-ratio: 735 / 951; object-fit: cover;
  border-radius: 1rem; border: 4px solid var(--card); box-shadow: var(--shadow-soft);
}
.covers .c-left { left: 0; top: 2rem; transform: rotate(-12deg); }
.covers .c-right { right: 0; top: 1.5rem; transform: rotate(12deg); }
.covers .c-front { left: 50%; top: 0; transform: translateX(-50%); z-index: 1; }

/* Price */
.price { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem .75rem; }
.price-amount { font-family: var(--font-display); font-weight: 600; color: var(--primary); font-size: 1.875rem; line-height: 1.1; }
.price-big .price-amount { font-size: 3rem; }
.price-note { font-size: .875rem; color: var(--muted-foreground); }
.badge { border-radius: 999px; background: var(--sage); color: var(--accent-foreground); padding: .25rem .75rem; font-size: .75rem; font-weight: 800; }
.price-anchor { flex-basis: 100%; text-align: center; font-size: .875rem; color: var(--muted-foreground); }

/* Section titles */
.section-title { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.eyebrow { margin-bottom: .5rem; font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }
.section-title h2 { font-size: clamp(1.875rem, 4vw, 2.25rem); }
.section-title .sub { margin-top: 1rem; color: var(--muted-foreground); }

/* Books */
.grid { display: grid; gap: 1.5rem; }
.book {
  border: 1px solid var(--border); background: var(--card); border-radius: 1.75rem; padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.book:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.book img { width: 8rem; aspect-ratio: 8.5 / 11; object-fit: cover; border-radius: 1rem; border: 1px solid var(--border); margin-bottom: 1.25rem; box-shadow: 0 1px 3px rgb(0 0 0 / .06); }
.book h3 { font-size: 1.25rem; }
.book .pages { margin-top: .25rem; font-size: .875rem; font-weight: 800; color: var(--primary); }
.book p:last-child { margin-top: .5rem; color: var(--muted-foreground); }
.bonus-strip {
  margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem;
  border-radius: 1.5rem; background: var(--butter); padding: 1.25rem 1.5rem; text-align: center; font-weight: 700;
}
.bonus-strip span { display: inline-flex; align-items: center; gap: .5rem; }

/* Benefits */
.benefit { display: flex; gap: 1rem; }
.benefit h3 { font-size: 1.125rem; }
.benefit p { color: var(--muted-foreground); }
.dot { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; flex-shrink: 0; }
.dot-lg { width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; }
.dot-lg .icon { width: 1.5rem; height: 1.5rem; }
.tone-0 { background: var(--blush); } .tone-1 { background: var(--sky); } .tone-2 { background: var(--sage); } .tone-3 { background: var(--butter); }

/* Carousel */
.carousel { position: relative; max-width: 64rem; margin: 0 auto; padding: 0 2.75rem; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; column-gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem .25rem 1rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; margin: 0; }
.preview-btn {
  display: block; width: 100%; padding: 0; cursor: zoom-in; aspect-ratio: 8.5 / 11; overflow: hidden;
  border: 1px solid var(--border); border-radius: 1.75rem; background: var(--card);
  box-shadow: 0 1px 3px rgb(0 0 0 / .06); transition: transform .2s ease, box-shadow .2s ease;
}
.preview-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.preview-btn img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { margin-top: .75rem; text-align: center; font-size: .875rem; font-weight: 700; }
.icon-btn {
  position: absolute; top: 42%; transform: translateY(-50%); display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); color: var(--foreground); cursor: pointer; box-shadow: 0 1px 3px rgb(0 0 0 / .08);
}
.icon-btn:hover { background: var(--muted); }
.icon-btn .icon { width: 1rem; height: 1rem; }
.carousel .prev { left: 0; } .carousel .next { right: 0; }

.lightbox { border: 0; border-radius: 1.75rem; padding: 1rem; width: min(92vw, 44rem); max-height: 92vh; background: var(--card); color: var(--foreground); }
.lightbox::backdrop { background: rgb(40 30 25 / .55); }
.lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.lightbox-head h3 { font-size: 1.125rem; }
.lightbox img { margin: 0 auto; max-height: 75vh; width: auto; max-width: 100%; border-radius: .75rem; border: 1px solid var(--border); object-fit: contain; }
.lightbox .icon-btn { position: static; transform: none; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; }
.step { background: var(--card); border-radius: 1.75rem; padding: 1.5rem; text-align: center; }
.step .dot-lg { background: var(--blush); color: var(--primary); }
.step .num { font-size: .875rem; font-weight: 800; color: var(--primary); }
.step h3 { font-size: 1.25rem; }
.step p:last-child { margin-top: .5rem; color: var(--muted-foreground); }

/* Promise */
.promise { border: 1px solid var(--border); background: var(--card); border-radius: 1.75rem; padding: 1.5rem; text-align: center; }
.promise h3 { font-size: 1.25rem; }
.promise p { margin-top: .5rem; color: var(--muted-foreground); }

/* Pricing */
.pricing-card {
  max-width: 32rem; margin: 0 auto; text-align: center; background: var(--card);
  border: 4px solid var(--blush); border-radius: 2rem; padding: 2rem; box-shadow: var(--shadow-soft);
}
.pricing-card h2 { margin-top: .5rem; font-size: 1.875rem; }
.pricing-card .price { margin-top: 1.5rem; }
.checks { list-style: none; padding: 0; margin: 2rem 0 0; text-align: left; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .75rem; }
.checks .icon { color: var(--accent-foreground); margin-top: .15rem; }
.bonus-box { margin-top: 1.5rem; border-radius: 1rem; background: var(--butter); padding: 1rem; text-align: left; }
.bonus-box p { display: flex; align-items: center; gap: .5rem; font-weight: 800; margin-bottom: .5rem; }
.bonus-box p .icon { width: 1rem; height: 1rem; }
.bonus-box ul { list-style: none; padding: 0; margin: 0; font-size: .875rem; display: grid; gap: .25rem; }
.pricing-card .btn-block { margin-top: 2rem; }
.checkout-note { margin-top: .75rem; font-size: .75rem; color: var(--muted-foreground); }
.guarantee { margin-top: 1.25rem; display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .875rem; font-weight: 700; color: var(--muted-foreground); }
.guarantee .icon { color: var(--accent-foreground); }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 0 1.25rem; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1rem; height: 1rem; color: var(--muted-foreground); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding-bottom: 1rem; color: var(--muted-foreground); }

/* Final CTA */
.final { max-width: 64rem; margin: 0 auto; border-radius: 2rem; background: var(--blush); padding: 3.5rem 1.5rem; text-align: center; }
.final h2 { font-size: clamp(1.875rem, 4vw, 2.25rem); }
.final p { margin: .75rem auto 0; max-width: 36rem; color: color-mix(in oklab, var(--foreground) 80%, transparent); }
.final .btn { margin-top: 1.75rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; font-size: .875rem; color: var(--muted-foreground); }
.site-footer .container { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--foreground); }

/* Sticky mobile buy bar */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--card) 95%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--border);
}
.buy-bar .name { font-size: .875rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar .meta { font-size: .875rem; }
.buy-bar .meta small { font-size: .75rem; color: var(--muted-foreground); }
.has-buy-bar { padding-bottom: 5rem; }

/* Legal pages */
.legal { max-width: 48rem; margin: 0 auto; padding: 3.5rem 1.25rem 5rem; }
.legal .back { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.legal h1 { margin-top: 1.5rem; font-size: clamp(2rem, 5vw, 2.5rem); }
.legal .updated { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }
.legal h2 { margin-top: 2.25rem; font-size: 1.375rem; }
.legal p, .legal ul { margin-top: .75rem; color: color-mix(in oklab, var(--foreground) 88%, transparent); }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: .375rem; }
.legal a { color: var(--primary); }

/* Breakpoints */
@media (min-width: 640px) {
  .covers { height: 24rem; }
  .covers img { height: 18rem; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel-track { grid-auto-columns: calc(50% - .5rem); }
  .pricing-card { padding: 2.5rem; }
  .site-footer .container { flex-direction: row; }
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; padding-top: 6rem; padding-bottom: 6rem; }
  .grid-3-md { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .buy-bar { display: none; }
  .has-buy-bar { padding-bottom: 0; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits { column-gap: 2rem; row-gap: 2.5rem; }
  .carousel-track { grid-auto-columns: calc((100% - 2rem) / 3); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Checkout, thank-you, download and admin pages */
.secure-tag { display: inline-flex; align-items: center; gap: .375rem; font-size: .8rem; font-weight: 700; color: var(--accent-foreground); }
.secure-tag .icon { width: 1rem; height: 1rem; }
.btn-outline { background: var(--card); color: var(--foreground); border: 2px solid var(--border); box-shadow: none; }
.btn-outline:hover { background: var(--muted); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.checkout { padding-top: 2.5rem; padding-bottom: 5rem; }
.checkout h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.co-summary { display: grid; gap: 1.25rem; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.co-summary img { border-radius: calc(var(--radius) - .4rem); }
.co-summary .eyebrow { margin-bottom: .25rem; }
@media (min-width: 720px) { .co-summary { grid-template-columns: 16rem 1fr; } }
.co-price { margin-top: .5rem; }
.co-h { margin: 2.25rem 0 1rem; font-size: 1.375rem; }
.co-options { display: grid; gap: 1rem; }
.co-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 1px 3px rgb(0 0 0 / .04); }
.co-card + .co-card { margin-top: 0; }
.co-card-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.co-card-head h3 { font-size: 1.2rem; }
.co-card-head p { font-size: .9rem; margin-top: .25rem; }
.co-amount { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--primary); white-space: nowrap; }
.pay-logos { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .375rem; }
.pay-logos li { font-size: .75rem; font-weight: 800; border: 1px solid var(--border); border-radius: .5rem; padding: .2rem .55rem; background: var(--background); }
.pay-logos .pl-bkash { color: #e2136e; border-color: #f4b8d2; }
.pay-logos .pl-nagad { color: #ec1c24; border-color: #f7b9bb; }
.pay-logos .pl-rocket { color: #8c3494; border-color: #dcb8df; }
.pay-logos .pl-paypal { color: #003087; border-color: #b9c6e4; }
.co-form { display: grid; gap: .875rem; margin-top: .5rem; }
.co-form label { display: grid; gap: .3rem; font-size: .875rem; font-weight: 700; }
.co-form input, .co-form select, .admin-login input {
  font: inherit; font-weight: 400; padding: .7rem .9rem; border-radius: .75rem; border: 1px solid var(--border);
  background: var(--background); color: var(--foreground); width: 100%;
}
.co-form input:focus, .co-form select:focus { outline: 3px solid color-mix(in oklab, var(--primary) 35%, transparent); border-color: var(--primary); }
.co-fine { font-size: .8rem; color: var(--muted-foreground); text-align: center; }
.co-off { margin-top: .5rem; padding: .75rem 1rem; border-radius: .75rem; background: var(--muted); font-size: .9rem; }
.co-alert { margin-top: 1.25rem; padding: .875rem 1rem; border-radius: .875rem; background: var(--sage); color: var(--accent-foreground); font-weight: 700; }
.co-alert-bad { background: var(--blush); color: oklch(0.4 0.1 20); }
.co-details summary { cursor: pointer; font-weight: 800; color: var(--primary); margin-top: .75rem; }
.co-bank { white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; background: var(--muted); border-radius: .75rem; padding: .875rem 1rem; margin: .75rem 0; overflow-wrap: anywhere; }
.co-trust { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .5rem; font-size: .9rem; color: var(--muted-foreground); }
.co-trust li { display: flex; gap: .5rem; align-items: center; }
@media (min-width: 720px) { .co-trust { grid-template-columns: repeat(3, 1fr); } }
.ty-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; display: grid; gap: .75rem; }
.ty-label { margin-top: 1rem; font-weight: 800; }
.ty-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.75rem, 8vw, 2.5rem); letter-spacing: .15em; font-weight: 800; color: var(--primary); background: var(--muted); border-radius: 1rem; padding: .5rem 1rem; }
.ty-form { margin: 1rem 0 .5rem; }
.ty-order { font-size: .875rem; color: var(--muted-foreground); }
.ty-card .co-form { text-align: left; }
.admin-login { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; margin: 1.5rem 0; }
.admin-login label { display: grid; gap: .3rem; font-weight: 700; font-size: .875rem; }
[data-admin] { display: grid; gap: 1rem; margin-top: 1.5rem; }
[data-admin][hidden] { display: none; }
.admin-upload { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-top: .75rem; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.admin-table-wrap { overflow-x: auto; margin-top: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin-table th, .admin-table td { text-align: left; padding: .5rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table .btn { padding: .35rem .75rem; font-size: .8rem; }
.st { border-radius: 999px; padding: .15rem .6rem; font-weight: 800; font-size: .75rem; background: var(--muted); }
.st-paid { background: var(--sage); }
.st-review { background: var(--butter); }
.st-failed, .st-rejected, .st-cancelled { background: var(--blush); }
.pay-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem; margin-top: .75rem; list-style: none; padding: 0; }
.pay-strip li { font-size: .7rem; font-weight: 800; border: 1px solid var(--border); border-radius: .5rem; padding: .15rem .5rem; background: var(--card); }
.alt-buy { margin-top: .75rem; }
button.btn { font-family: inherit; border: 0; cursor: pointer; }
button.btn-outline { border: 2px solid var(--border); }

/* Baby Learn Hub home */
.site-nav { display: none; gap: 1.75rem; font-weight: 700; }
.site-nav a { text-decoration: none; color: var(--muted-foreground); }
.site-nav a:hover { color: var(--foreground); }
@media (min-width: 768px) { .site-nav { display: flex; } }
.product-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid var(--border); background: var(--card); border-radius: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.product-card > img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-bottom: 1px solid var(--border); }
.product-art { aspect-ratio: 1200 / 630; display: grid; place-items: center; border-bottom: 1px solid var(--border); }
.product-art .icon { width: 4rem; height: 4rem; color: var(--foreground); opacity: .55; }
.tone-sky { background: var(--sky); }
.tone-sage { background: var(--sage); }
.product-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-body h3 { font-size: 1.25rem; }
.product-body p { color: var(--muted-foreground); }
.product-price { margin-top: auto; padding-top: .5rem; }
.product-price strong { color: var(--primary); font-size: 1.35rem; font-family: var(--font-display); }
.product-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; color: var(--primary); }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .3rem .7rem; border-radius: 999px; background: var(--muted); color: var(--muted-foreground); }
.tag-live { background: var(--blush); color: var(--foreground); }
.product-card.soon { opacity: .92; }
.brand-by { font-size: .8rem; font-weight: 700; color: var(--muted-foreground); text-decoration: none; }
.brand-by:hover { color: var(--foreground); }
.site-footer nav { flex-wrap: wrap; justify-content: center; row-gap: .5rem; }

/* Categories, class pages */
.tone-lilac { background: oklch(0.9 0.05 300); }
.tone-butter { background: var(--butter); }
.tone-blush { background: var(--blush); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.25rem; font-size: .875rem; color: var(--muted-foreground); }
.crumbs a { color: inherit; text-decoration: none; font-weight: 700; }
.crumbs a:hover { color: var(--foreground); }
.page-h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.cat-h { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font-size: 1.5rem; margin: 3rem 0 1rem; }
.cat-h:first-of-type { margin-top: 0; }
.cat-h .icon { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.cat-h span { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; color: var(--muted-foreground); }
.cat-sub { margin: -.5rem 0 1.25rem; color: var(--muted-foreground); }
.cat-sub a { color: var(--primary); font-weight: 800; }
.product-wide { display: grid; }
@media (min-width: 768px) { .product-wide { grid-template-columns: 1.1fr 1fr; } .product-wide > img { height: 100%; border-bottom: 0; border-right: 1px solid var(--border); } }
.class-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .class-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.class-card { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1.25rem; border-radius: 1.5rem; text-decoration: none; color: var(--foreground); border: 1px solid color-mix(in oklab, var(--foreground) 8%, transparent); transition: transform .2s ease, box-shadow .2s ease; }
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.class-card-name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.class-card-age { font-size: .875rem; font-weight: 700; opacity: .75; margin-bottom: .5rem; }
.class-card .tag { background: rgb(255 255 255 / .7); }
.class-badge { font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; color: var(--foreground); }
.class-art { position: relative; aspect-ratio: 1; max-width: 26rem; width: 100%; margin: 0 auto; border-radius: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; box-shadow: var(--shadow-soft); text-align: center; padding: 2rem; }
.class-art-label { font-weight: 800; letter-spacing: .3em; font-size: .9rem; opacity: .7; }
.class-art-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.75rem, 8vw, 4rem); line-height: 1; }
.class-art-age { font-weight: 800; opacity: .75; }
.class-art-row { display: flex; gap: .6rem; margin-top: 1rem; }
.class-art-row i { font-style: normal; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: rgb(255 255 255 / .75); font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.class-art-icon .icon { width: 5rem; height: 5rem; opacity: .7; }
.topic-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; padding: 1.5rem; }
.topic-card h3 { margin-top: 1rem; font-size: 1.25rem; }
.topic-card p { margin-top: .4rem; color: var(--muted-foreground); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1rem; }
.chip { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--card); text-decoration: none; font-weight: 800; color: var(--foreground); }
.chip:hover { border-color: var(--primary); }
.chip-on { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.about-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-h { font-size: clamp(1.875rem, 4vw, 2.25rem); }
.about-p { margin-top: 1rem; color: var(--muted-foreground); font-size: 1.05rem; }
.about-cards { display: grid; gap: 1.5rem; }
.hero-cta .tag { align-self: center; }
.topic-card .dot-lg { margin: 0; }
.product-art { max-height: 12rem; width: 100%; }

/* STEM Explorers product pages */
.hero-price { margin-top: 1.25rem; font-size: 1.05rem; }
.hero-price strong { font-family: var(--font-display); font-weight: 600; color: var(--primary); font-size: 2.25rem; line-height: 1; margin-right: .25rem; }
.hero-shot img { width: 100%; height: auto; border-radius: 1.5rem; box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.book-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.book-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; overflow: hidden; display: flex; flex-direction: column; }
.book-card > img { width: 100%; height: auto; aspect-ratio: 450 / 636; object-fit: cover; border-bottom: 1px solid var(--border); }
.book-body { padding: 1.1rem 1.25rem 1.4rem; }
.book-strand { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 800; color: var(--muted-foreground); }
.book-strand .dot { width: 2rem; height: 2rem; margin: 0; }
.book-strand .dot .icon { width: 1rem; height: 1rem; }
.book-body h3 { margin-top: .6rem; font-size: 1.2rem; }
.book-inside { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--muted-foreground); font-size: .9rem; display: grid; gap: .15rem; }
.sample-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .sample-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sample-grid figure { margin: 0; }
.sample-grid img { width: 100%; height: auto; border-radius: 1rem; border: 1px solid var(--border); box-shadow: 0 1px 3px rgb(0 0 0 / .06); }
.sample-grid figcaption { text-align: center; font-weight: 800; font-size: .875rem; color: var(--muted-foreground); margin-top: .5rem; }
.price-row { margin-top: 1.5rem; text-align: center; }
.upsell { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 1rem; background: var(--card); border: 1px dashed var(--primary); color: var(--foreground); text-decoration: none; text-align: center; }
.upsell .icon { color: var(--primary); }
.upsell:hover { background: color-mix(in oklab, var(--primary) 8%, var(--card)); }
.product-card > img.product-thumb { aspect-ratio: 1; }
.all-five .btn { align-self: flex-start; margin-top: .5rem; }
.class-card-price { font-weight: 800; font-size: .9rem; margin-bottom: .35rem; }
.co-change { text-align: left; margin-top: .35rem; }
.co-change a { color: var(--primary); font-weight: 700; }
[hidden] { display: none !important; }
