/* Busy Cub store, v2: picture-book riso. Four inks, one display face, real photos of the real pages. */
@font-face { font-family: "DynaPuff"; src: url("fonts/DynaPuff-var.ttf"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("fonts/Lexend-Regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("fonts/Lexend-SemiBold.ttf"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("fonts/Lexend-Bold.ttf"); font-weight: 700; font-display: swap; }
:root {
  --ink: #23214A; --ink2: #55537A; --paper: #FFFFFF; --sun: #FFC531; --pink: #FF5DA2; --blue: #3D5CE0; --green: #00A95C; --orange: #FF7A2F;
  --line: #ECE9F4; --tint: #F6F4FB;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Lexend", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { font-family: "DynaPuff", sans-serif; font-weight: 700; line-height: 1; margin: 0; letter-spacing: -.01em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.small { font-size: 14px; color: var(--ink2); }
.hl { color: inherit; }

/* buttons: solid ink, a printed-sticker feel */
.btn { --b: var(--ink); --f: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 14px; border: 0;
  background: var(--b); color: var(--f); font: 700 18px/1 "DynaPuff"; text-decoration: none; cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px) rotate(-.6deg); }
.btn:active { transform: translateY(1px); }
.btn-sun { --b: var(--sun); --f: var(--ink); }
.btn-ink { --b: var(--ink); }
.btn-ghost { --b: transparent; --f: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); }
.btn-green { --b: var(--green); }
.btn-sm { padding: 11px 16px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1240px; margin: 0 auto; padding: 10px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 23px/1 "DynaPuff"; }
.logo img { width: 42px; height: 46px; object-fit: contain; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a { text-decoration: none; font: 600 15px/1 "Lexend"; padding: 10px 12px; border-radius: 10px; }
.top nav a:hover { background: var(--tint); }
.cart-link { background: var(--ink); color: #fff !important; display: inline-flex; gap: 8px; align-items: center; }
.cart-link:hover { background: #3A3770 !important; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--sun); color: var(--ink); font: 700 12px/1 "Lexend"; }
.count.bump { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.45); } }

/* hero: the real product on a real table, headline on a cut-paper sheet */
.hero { padding: 28px 0 0; }
.stage { position: relative; }
.hero-photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 8.2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-card { position: absolute; left: 32px; bottom: -56px; width: min(560px, 92%); padding: 34px 36px 30px; color: var(--ink); z-index: 3;
  background: var(--sun) var(--paperbg) center/100% 100% no-repeat; }
.hero-card h1 { font-size: clamp(44px, 5.6vw, 74px); margin-bottom: 14px; }
.hero-card p { margin: 0 0 22px; font-size: 18px; line-height: 1.5; max-width: 440px; }
.hero-cub { position: absolute; right: 40px; bottom: -40px; width: 230px; z-index: 4; animation: hello 1.2s cubic-bezier(.2,.9,.3,1.3) .2s both; }
@keyframes hello { from { transform: translateY(40px) rotate(-6deg); } to { transform: none; } }
.facts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 90px; font: 600 15px/1.3 "Lexend"; color: var(--ink2); }
.facts span { display: flex; align-items: center; gap: 9px; }
.facts i { width: 12px; height: 12px; border-radius: 50%; display: block; }

/* sections */
section.block { padding: 86px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(36px, 4.4vw, 58px); max-width: 680px; }
.sec-head p { max-width: 430px; color: var(--ink2); margin: 0; }

/* shop: each printable photographed on the table, with its own ink */
.shop { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.pc { grid-column: span 2; text-decoration: none; display: flex; flex-direction: column; }
.pc:nth-child(1), .pc:nth-child(2) { grid-column: span 3; }
.pc .ph { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.pc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.pc:hover .ph img { transform: scale(1.035); }
.pc .cov { position: absolute; left: 16px; bottom: 16px; width: 96px; box-shadow: 0 10px 24px rgba(20,10,40,.28); transform: rotate(-4deg); }
.pc .meta { padding: 16px 4px 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start; }
.pc h3 { font-size: 27px; }
.pc .sub { grid-column: 1; font-size: 15px; color: var(--ink2); line-height: 1.45; }
.pc .price { grid-row: 1 / span 2; grid-column: 2; font: 700 30px/1 "DynaPuff"; color: var(--acc); }
.pc .row { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.pc .ages { font: 600 14px/1 "Lexend"; color: var(--ink2); }

/* grown-up note strip */
.note-band { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.note-band img.cub { width: 260px; justify-self: center; }
.note-band h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 16px; }
.note-band p { color: var(--ink2); max-width: 600px; }
.note-sample { margin-top: 22px; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 14px 30px rgba(20,10,40,.08); max-width: 720px; }

/* bundle */
.bundle { border-radius: 30px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden; }
.bundle .txt { padding: 54px; }
.bundle h2 { font-size: clamp(40px, 4.6vw, 62px); margin-bottom: 18px; }
.bundle p { color: #D8D6EE; font-size: 18px; margin: 0; }
.bundle ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 9px; }
.bundle li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.bundle li b { margin-left: auto; color: #A9A7CC; font-weight: 600; text-decoration: line-through; }
.bundle li i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.bundle .pic { background: var(--sun); display: grid; place-items: center; padding: 30px; }
.big-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.big-price b { font: 700 64px/1 "DynaPuff"; color: var(--sun); }
.big-price span { color: #A9A7CC; font-size: 20px; text-decoration: line-through; }

/* peek inside: a strip the visitor scrolls themselves */
.strip { display: flex; gap: 20px; overflow-x: auto; padding: 6px 32px 26px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip img { width: 250px; flex: none; border-radius: 10px; box-shadow: 0 1px 0 var(--line), 0 12px 26px rgba(20,10,40,.1); scroll-snap-align: start; }

/* steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { padding: 30px 28px; border-radius: 20px; background: var(--tint); position: relative; }
.step img { width: 120px; height: 120px; object-fit: contain; margin: -10px 0 8px -6px; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step h3::before { counter-increment: s; content: counter(s) ". "; color: var(--acc, var(--blue)); }
.step p { margin: 0; color: var(--ink2); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.faq details { border-top: 2px solid var(--line); padding: 18px 2px 6px; }
.faq summary { font: 700 19px/1.3 "DynaPuff"; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--pink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 10px 0 8px; color: var(--ink2); }

/* product page */
.pp-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 54px; padding: 40px 0 80px; align-items: start; }
.pp-hero > * { min-width: 0; }
.gallery { position: sticky; top: 88px; }
.g-main { border-radius: 22px; overflow: hidden; background: var(--tint); display: grid; place-items: center; aspect-ratio: 4 / 3; }
.g-main img { width: 100%; height: 100%; object-fit: contain; }
.g-main img.photo { object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; }
.thumbs button { flex: none; width: 78px; height: 78px; border: 3px solid transparent; border-radius: 12px; padding: 0; background: var(--tint); cursor: pointer; overflow: hidden; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumbs button.on { border-color: var(--acc); }
.info .ages { font: 600 15px/1 "Lexend"; color: var(--ink2); }
.info h1 { font-size: clamp(42px, 4.6vw, 64px); margin: 14px 0; }
.info .hook { font: 700 22px/1.3 "DynaPuff"; color: var(--acc); margin-bottom: 12px; }
.info .sub { font-size: 18px; color: var(--ink2); }
.buy { border-radius: 22px; background: var(--tint); padding: 24px; margin: 24px 0; }
.buy .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.buy .price { font: 700 46px/1 "DynaPuff"; }
.buy .price s { font-size: 20px; color: #A7A3B8; margin-left: 8px; }
.buy .note { margin: 12px 0 0; font-size: 14px; color: var(--ink2); }
.inside { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.inside li { position: relative; padding-left: 30px; font-size: 16.5px; }
.inside li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 5px; background: var(--acc); }
.upsell-box { display: flex; gap: 16px; align-items: center; border-radius: 16px; background: #fff; padding: 14px 16px; margin-top: 16px; }
.upsell-box img { width: 64px; border-radius: 6px; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.upsell-box div { flex: 1; font-size: 14.5px; color: var(--ink2); }
.upsell-box b { color: var(--ink); font: 700 17px/1.3 "DynaPuff"; display: block; }
.skills { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 20px 0 0; font: 600 14px/1.3 "Lexend"; color: var(--ink2); }
.skills span::before { content: "•"; color: var(--acc); margin-right: 8px; }

/* cart */
.cart-page { padding: 56px 0 100px; }
.cart-page h1 { font-size: 58px; margin-bottom: 28px; }
.cart-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.cart-grid > * { min-width: 0; }
.lines { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.lines li { display: grid; grid-template-columns: 70px 1fr auto auto; gap: 18px; align-items: center; border-radius: 18px; background: var(--tint); padding: 12px 18px 12px 12px; }
.lines img { width: 70px; border-radius: 6px; }
.lines .t b { display: block; font: 700 20px/1.2 "DynaPuff"; }
.lines .t span { font-size: 14px; color: var(--ink2); }
.lines .price { font: 700 26px/1 "DynaPuff"; }
.rm { border: 0; background: none; color: #8F8BA8; cursor: pointer; font: 600 14px/1 "Lexend"; text-decoration: underline; }
.offer { display: flex; gap: 18px; align-items: center; justify-content: space-between; border-radius: 18px; padding: 16px 20px; margin-bottom: 12px; }
.offer.up { background: #FFF1C2; }
.offer.bd { background: var(--ink); color: #fff; }
.offer.bd span { color: #D8D6EE; }
.offer.bd b { color: #fff; }
.offer span { font-size: 15px; color: var(--ink2); }
.offer b { font: 700 18px/1.3 "DynaPuff"; color: var(--ink); }
.offer img { width: 58px; border-radius: 6px; flex: none; }
.card { background: var(--tint); border-radius: 22px; padding: 26px; }
.summary .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; font: 700 22px/1 "DynaPuff"; }
.summary .row b { font-size: 42px; }
.pay-logos { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pay-logos span { font: 600 12px/1 "Lexend"; padding: 7px 10px; border-radius: 8px; background: #fff; color: var(--ink2); }

/* downloads / legal */
.dl-page, .legal-page { padding: 56px 0 100px; max-width: 860px; }
.dl-page h1, .legal-page h1 { font-size: 54px; margin-bottom: 20px; }
.legal-page h2 { font-size: 25px; margin: 34px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink2); }
.dl-list { display: grid; gap: 12px; margin: 24px 0; }
.dl { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; text-decoration: none; }
.dl img { width: 64px; border-radius: 6px; }
.dl b { font: 700 20px/1.2 "DynaPuff"; display: block; }
.stats-page { padding: 56px 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.kpis b { font: 700 40px/1 "DynaPuff"; display: block; }
table.t { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.t td, .t th { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }

/* footer */
.foot { padding: 60px 0 40px; margin-top: 40px; border-top: 1px solid var(--line); background: var(--tint); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav a { text-decoration: none; color: var(--ink2); }
.foot h4 { font: 700 16px/1 "DynaPuff"; margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) { .hero-cub { animation: none; } .btn, .pc .ph img { transition: none; } }

@media (max-width: 980px) {
  .pp-hero, .cart-grid, .bundle, .note-band { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr 1fr; }
  .pc, .pc:nth-child(1), .pc:nth-child(2) { grid-column: span 1; }
  .steps, .faq, .foot-in { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .sec-head { flex-direction: column; align-items: start; }
  .bundle .txt { padding: 36px 28px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-card { position: relative; left: 0; bottom: 0; width: auto; margin: -60px 16px 0; }
  .hero-cub { width: 150px; right: 10px; bottom: auto; top: 18px; }
  .facts { margin-top: 26px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .top-in { padding-left: 18px; padding-right: 18px; }
  .top nav a.hide-m { display: none; }
  .shop { grid-template-columns: 1fr; }
  section.block { padding: 60px 0; }
  .lines li { grid-template-columns: 56px 1fr auto; }
  .lines li .rm { grid-column: 2; justify-self: start; }
  .offer { flex-direction: column; align-items: flex-start; }
  .cart-page h1, .dl-page h1, .legal-page h1 { font-size: 40px; }
  .hero-card { padding: 26px 22px; }
  .hero-cub { width: 110px; }
}
.pc .ph img.cov { position: absolute; left: 16px; bottom: 16px; width: 104px; height: auto; object-fit: contain; box-shadow: 0 10px 24px rgba(20,10,40,.28); transform: rotate(-4deg); }
.pc:hover .ph img.cov { transform: rotate(-4deg); }
