:root {
  color-scheme: light;
  --cream: #fffdf7;
  --ink: #3c3023;
  --muted: #716456;
  --gold: #78531b;
  --yellow: #f5cc53;
  --line: #e6dfd2;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.7; }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.35; }
.wrap { width: min(69rem, calc(100% - 6rem)); margin-inline: auto; }
.site-header { min-height: 7rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; text-decoration: none; font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 2.75rem; height: 2.75rem; border-radius: .85rem; outline: 1px solid rgb(0 0 0 / .08); }
nav { display: flex; gap: 2rem; }
nav a { min-height: 2.75rem; display: flex; align-items: center; font-size: .9375rem; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--gold); text-decoration: underline; }
.skip-link { position: absolute; top: .5rem; left: 1rem; transform: translateY(-160%); background: var(--ink); color: white; padding: .75rem 1rem; border-radius: .5rem; z-index: 10; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; border-radius: .2rem; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 3rem; align-items: center; padding-block: 5rem 7rem; }
.eyebrow, .section-label { color: var(--gold); font-weight: 600; font-size: .875rem; letter-spacing: .1em; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; }
.tiny-book { width: 1rem; height: .8rem; display: inline-block; border: 1.5px solid currentColor; border-radius: .15rem .15rem .3rem .3rem; background: linear-gradient(90deg, transparent 46%, currentColor 47% 53%, transparent 54%); }
h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); font-weight: 750; line-height: 1.38; }
h1 span { position: relative; z-index: 0; }
h1 span::after { content: ""; position: absolute; z-index: -1; left: 0; right: .1em; bottom: .08em; height: .25em; background: #f9dfa0; border-radius: 70% 20% 40% 30%; transform: rotate(-2deg); }
.hero-description { margin-block: 1.65rem 2rem; color: var(--muted); font-size: 1.125rem; line-height: 1.95; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .7rem 1.65rem; border-radius: 1rem; background: var(--yellow); color: var(--ink); font-weight: 650; text-decoration: none; box-shadow: inset 0 0 0 1px rgb(120 83 27 / .12); }
.button:hover { background: #f7d56c; }
.availability { font-size: .8125rem; margin-top: 1rem; color: var(--muted); }
.hero-art { position: relative; width: 100%; aspect-ratio: 1 / 1.04; }
.paper-circle { position: absolute; width: 91%; height: 87%; inset: 2% 0 auto auto; border-radius: 48% 52% 44% 56%; background: #f1ebdb; transform: rotate(7deg); }
.dog-card { position: absolute; width: 64%; left: 5%; top: 10%; padding: .7rem .7rem 1.7rem; background: #fffefb; border-radius: .7rem; transform: rotate(-8deg); box-shadow: 0 4px 14px rgb(60 48 35 / .08), 0 1px 2px rgb(60 48 35 / .04); }
.dog-card img { border-radius: .25rem; width: 100%; outline: 1px solid rgb(0 0 0 / .05); }
.paper-note { position: absolute; right: -1%; top: 48%; padding: 1.7rem 1.6rem; font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 650; line-height: 1.9; background: #dde4ca; border-radius: 4% 3% 2% 5%; transform: rotate(6deg); box-shadow: 0 3px 6px rgb(60 48 35 / .04); }
.note-stitch { position: absolute; width: 3.5rem; height: 1.2rem; background: rgb(255 253 247 / .7); top: -.6rem; left: calc(50% - 1.75rem); transform: rotate(-5deg); }
.paper-sun { position: absolute; width: 4.4rem; height: 4.4rem; background: var(--yellow); border-radius: 43% 50% 45% 49%; top: 2%; right: 4%; transform: rotate(20deg); }
.paper-leaf { position: absolute; width: 1.8rem; height: 3.8rem; background: #94a78e; border-radius: 100% 0 100% 0; }
.leaf-one { top: 37%; right: 10%; transform: rotate(15deg); }
.leaf-two { top: 37%; right: 2%; transform: rotate(70deg) scale(.75); background: #b7c6a6; }
.book-spines { position: absolute; bottom: 7%; left: 17%; display: flex; align-items: end; gap: .35rem; transform: rotate(-3deg); }
.book-spines span { display: grid; place-content: center; width: 2.7rem; height: 7.6rem; background: #cc9982; border-radius: .3rem .3rem 0 0; writing-mode: vertical-rl; letter-spacing: .4em; font-size: .9rem; border-left: 4px solid rgb(60 48 35 / .08); }
.book-spines span:nth-child(2) { height: 6.8rem; background: #eac769; }
.book-spines span:nth-child(3) { height: 8.4rem; background: #b0c0a3; }
.shelf-line { position: absolute; bottom: 6%; left: 10%; right: -2%; height: .6rem; background: #c5ab89; border-radius: 100%; transform: rotate(-3deg); }
.intro { text-align: center; padding-block: 2.5rem 4rem; border-top: 1px solid var(--line); }
.intro h2 { margin-block: 1.1rem 1.25rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.intro > p:last-child { color: var(--muted); font-size: 1.0625rem; line-height: 1.95; }
.mobile-break { display: none; }
.features { padding-bottom: 4rem; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6.5rem; padding-block: 2.8rem; }
.feature-copy h3 { margin-block: .8rem 1.2rem; font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.feature-copy > p { color: var(--muted); max-width: 24rem; line-height: 1.95; }
.tags { display: flex; flex-wrap: wrap; list-style: none; gap: .45rem; padding: 0; margin: 1.4rem 0 0; }
.tags li { font-size: .8125rem; padding: .2rem .7rem; background: #fff3d2; border: 1px solid #e5d3a3; border-radius: 2rem; color: var(--gold); }
.feature-illustration { position: relative; min-width: 0; aspect-ratio: 1.35; border-radius: 2rem; overflow: hidden; }
.feature-reverse .feature-illustration { grid-column: 2; grid-row: 1; }
.feature-reverse .feature-copy { grid-column: 1; grid-row: 1; padding-left: 2rem; }
.discover-art { background: #f4eddd; display: flex; justify-content: center; gap: .5rem; padding-top: 2rem; }
.topic-pill { font-size: .8125rem; background: #fffcf3; padding: .3rem 1rem; border: 1px solid #e5d3ad; border-radius: 3rem; height: fit-content; color: var(--gold); }
.mini-books { position: absolute; top: 31%; left: 15%; right: 15%; height: 46%; display: flex; gap: .8rem; align-items: center; justify-content: center; }
.mini-book { width: 28%; height: 100%; position: relative; border-radius: .3rem .7rem .7rem .3rem; background: #e3bb56; box-shadow: inset 4px 0 rgb(60 48 35 / .1), 0 3px 5px rgb(60 48 35 / .08); }
.mini-book i { position: absolute; width: 50%; height: 36%; background: rgb(255 253 247 / .8); left: 25%; top: 28%; border-radius: 48% 52% 30% 50%; transform: rotate(-15deg); }
.book-yellow { transform: rotate(-9deg) translateY(6%); }
.book-green { background: #aebc97; z-index: 1; }
.book-green i { border-radius: 10% 65% 10% 65%; transform: rotate(15deg); }
.book-pink { background: #d9a895; transform: rotate(9deg) translateY(6%); }
.age-label { position: absolute; bottom: 6%; color: var(--gold); font-size: .875rem; }
.shelf-art { background: #e8eddf; }
.shelf-book { position: absolute; bottom: 23%; width: 28%; height: 53%; border-radius: .4rem .7rem .7rem .4rem; background: #f3d678; box-shadow: inset 5px 0 rgb(60 48 35 / .07), 0 3px 5px rgb(60 48 35 / .06); display: grid; place-items: center; }
.shelf-book span { writing-mode: vertical-rl; letter-spacing: .2em; font-weight: 600; }
.shelf-book-one { left: 19%; transform: rotate(-8deg); }
.shelf-book-two { background: #fbf5e5; left: 49%; height: 61%; transform: rotate(5deg); }
.little-shelf { position: absolute; bottom: 21%; height: .5rem; background: #b9a17a; left: 12%; right: 12%; border-radius: 1rem; }
.little-heart { position: absolute; font-size: 3.5rem; font-family: system-ui, sans-serif; color: #a25439; top: 8%; left: 17%; transform: rotate(-12deg); }
.listen-art { background: #f6e8df; }
.record { width: 40%; aspect-ratio: 1; border: 1px solid rgb(60 48 35 / .04); border-radius: 50%; background: repeating-radial-gradient(circle, #8b745e 0 2px, #947d66 3px 4px); position: absolute; top: 12%; left: 14%; display: grid; place-items: center; }
.record span { width: 40%; aspect-ratio: 1; border-radius: 50%; background: #f3cc60; box-shadow: inset 0 0 0 14px #f8d984; }
.audio-bars { position: absolute; top: 35%; right: 11%; height: 25%; display: flex; gap: .35rem; align-items: center; }
.audio-bars i { width: .35rem; height: 35%; border-radius: 2rem; background: #8b694f; }
.audio-bars i:nth-child(2n) { height: 65%; }
.audio-bars i:nth-child(3n) { height: 90%; }
.listen-caption { position: absolute; bottom: 12%; left: 0; right: 0; text-align: center; font-size: .875rem; color: var(--gold); }
.questions { border-top: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; padding-block: 4.5rem 6rem; }
.questions h2 { font-size: 2rem; margin-top: .8rem; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding-block: 1.2rem; font-size: 1rem; font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--gold); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding: 0 1.7rem 1.3rem 0; line-height: 1.95; }
.closing { background: #f6edda; border-radius: 2rem; padding: 3.5rem 2rem; text-align: center; }
.closing img { margin-inline: auto; border-radius: 1.3rem; outline: 1px solid rgb(0 0 0 / .08); }
.closing h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-block: 1.2rem; }
.closing > p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--gold); margin-top: 1.2rem; font-size: .9375rem; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 2.7rem; color: var(--muted); font-size: .8125rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[id] { scroll-margin-top: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: background-color .15s ease, transform .15s ease; }
  .button:active { transform: scale(.96); }
}
@media (max-width: 58rem) {
  .wrap { width: min(69rem, calc(100% - 3rem)); }
  .hero { gap: 1rem; padding-block: 3rem 4.5rem; }
  h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
  .hero-description { font-size: 1rem; }
  .paper-note { font-size: .9rem; padding: 1rem; }
  .book-spines span { width: 2rem; height: 5rem; font-size: .75rem; }
  .book-spines span:nth-child(2) { height: 4.5rem; }
  .book-spines span:nth-child(3) { height: 5.7rem; }
  .feature { gap: 3rem; }
  .feature-reverse .feature-copy { padding-left: 0; }
  .questions { gap: 2rem; }
}
@media (max-width: 40rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .site-header { min-height: 5.5rem; gap: .5rem; }
  .brand { font-size: 1.0625rem; gap: .5rem; }
  .brand img { width: 2.25rem; height: 2.25rem; border-radius: .7rem; }
  nav { gap: .85rem; }
  nav a { font-size: .875rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 2.5rem 3rem; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; font-size: .8125rem; }
  h1 { font-size: clamp(2.2rem, 8.8vw, 3.3rem); }
  .hero-description { font-size: 1rem; margin-block: 1.4rem 1.6rem; }
  .hero-art { width: min(100%, 24rem); margin-inline: auto; aspect-ratio: 1.1; }
  .paper-note { font-size: 1rem; right: 1%; }
  .dog-card { width: 60%; padding: .55rem .55rem 1.4rem; }
  .paper-sun { width: 3.2rem; height: 3.2rem; right: 8%; }
  .book-spines { bottom: 7%; }
  .intro { padding-block: 3rem; }
  .intro h2 { font-size: 1.65rem; }
  .intro > p:last-child { font-size: .9375rem; text-align: left; }
  .mobile-break { display: initial; }
  .desktop-break { display: none; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; padding-block: 1.5rem 2.5rem; }
  .feature-reverse .feature-illustration, .feature-reverse .feature-copy { grid-column: auto; grid-row: auto; }
  .feature-illustration { aspect-ratio: 1.45; border-radius: 1.5rem; }
  .feature-copy { padding-inline: .4rem; }
  .feature-copy h3 { font-size: 1.85rem; }
  .feature-copy > p { max-width: none; }
  .features { padding-bottom: 1rem; }
  .questions { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 3rem; }
  .questions h2 { font-size: 1.8rem; }
  .closing { padding: 2.5rem 1.25rem; border-radius: 1.5rem; }
  .closing h2 { font-size: 1.9rem; }
  .site-footer { flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding-block: 2rem; }
}
@media (max-width: 22rem) {
  .wrap { width: calc(100% - 2rem); }
  .brand { font-size: 1rem; }
  nav { gap: .6rem; }
  nav a { font-size: .875rem; }
  h1 { font-size: 2.2rem; }
}
