/* The book page: a warm, personal page that explains why the support matters and lets people start reading. */
.bookpage .logo { width: min(360px, 78%); }
.bookpage .hero { gap: 14px; }
.facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.facts li { min-width: 92px; background: rgba(0,0,0,.4); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.facts b { font: 700 1.35rem var(--body); color: #ffe7a3; font-variant-numeric: tabular-nums; }
.facts span { font-size: .75rem; color: var(--muted); }
.hero-cta { text-decoration: none; padding: 14px 26px; box-shadow: 0 0 30px rgba(47,191,113,.35); }
.letter { position: relative; background: linear-gradient(180deg, #17150f, #100f0b); border: 1px solid rgba(217,180,74,.45); border-radius: 18px; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 0 40px rgba(217,180,74,.08); }
.letter h2 { font-size: clamp(1.35rem, 5vw, 1.7rem); color: #ffe7a3; }
.letter p { margin: 0; font: 1.08rem/1.7 var(--serif); color: #ece7d8; }
.letter .sign { font: italic 1.5rem var(--serif); color: #ffe7a3; text-align: end; margin-top: 4px; }
.taste { position: relative; background: #0d130f; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.taste-head { margin: 0; padding: 18px 20px 6px; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.taste-head span { font: 400 .95rem var(--display); letter-spacing: .08em; color: var(--gold); }
.taste-head b { font: 600 1.25rem var(--body); color: #f6f8f6; }
.taste-text { padding: 8px 22px 150px; max-width: 62ch; margin: 0 auto; font: 1.1rem/1.75 var(--serif); color: #e9ece9; }
.taste-text p { margin: 0 0 1em; }
.taste-fade { position: absolute; left: 0; right: 0; bottom: 0; padding: 110px 20px 22px; display: flex; justify-content: center; background: linear-gradient(180deg, transparent, #0d130f 62%); }
.taste-fade .btn { text-decoration: none; text-align: center; box-shadow: 0 0 30px rgba(47,191,113,.35); }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; }
.toc summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: #ffe7a3; min-height: 44px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.toc li { display: grid; grid-template-columns: minmax(96px, auto) minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: .95rem; }
.toc li span { color: var(--muted); font-size: .82rem; }
.toc li b { font-weight: 600; color: #f2f5f3; overflow-wrap: anywhere; }
.toc .toc-part { display: block; margin-top: 10px; font: 400 .95rem var(--display); letter-spacing: .04em; color: var(--gold); }
.unlock { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.unlock li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; background: linear-gradient(180deg, #121c16, #0b120e); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.unlock li > span { font-size: 1.6rem; line-height: 1.1; }
.unlock b { color: #f6f8f6; font-weight: 600; }
.unlock p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.support { background: radial-gradient(120% 90% at 50% 0%, rgba(217,180,74,.16), transparent 62%), linear-gradient(180deg, #0f1712, #070b09); border: 1px solid rgba(217,180,74,.6); border-radius: 18px; padding: 22px 16px 18px; box-shadow: 0 0 46px rgba(217,180,74,.18); scroll-margin-top: 16px; }
.support h2 { text-align: center; font-size: clamp(1.5rem, 5.6vw, 2rem); background: linear-gradient(180deg, #fff3c4, #d9b44a 55%, #9a7420); -webkit-background-clip: text; background-clip: text; color: transparent; }
.support .lede { max-width: none; text-align: center; color: var(--silver); font-size: 1rem; }
.support .fine { text-align: center; }
.faq { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.faq dt { font-weight: 600; color: #f2f5f3; margin-top: 10px; }
.faq dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .unlock { grid-template-columns: 1fr; } .taste-text { padding-inline: 18px; } }

/* the free chapters and the synopsis */
.synopsis { margin: 0; font: italic 1.12rem/1.7 var(--serif); color: #ece7d8; background: rgba(217,180,74,.08); border-inline-start: 3px solid var(--gold); border-radius: 0 12px 12px 0; padding: 14px 18px; white-space: pre-line; }
.bookpage .free-chapters { display: flex; flex-direction: column; gap: 10px; }
.bookpage .free-chapters .chapter { border-color: rgba(47,191,113,.5); }
.bookpage .free-chapters .ch-text { max-width: 66ch; margin: 0 auto; }
.bookpage .keep { text-align: center; text-decoration: none; display: block; box-shadow: 0 0 30px rgba(47,191,113,.35); }
@media (min-width: 1000px) { .bookpage .free-chapters, .bookpage .keep, .bookpage .synopsis { max-width: 820px; margin-inline: auto; width: 100%; } }
