/* /book/ page: layered on the shared site styles (ACTM palette: ink, volt, bone, forest). */
.book-page .nw { white-space: nowrap; }
.book-page .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk-eyebrow { font-weight: 900; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--rust); margin: 0 0 0.6rem; }
.bk-eyebrow--light { color: var(--yellow); }
.bk-narrow { max-width: 760px; }
.bk-green { color: var(--rust); }
.bk-y { color: var(--yellow); }
.bk-buy { background: var(--yellow); color: var(--charcoal); }
.bk-buy:hover { box-shadow: 0 6px 0 var(--charcoal); }

/* Hero */
.bk-hero { background: var(--cream); padding: 3rem 0 3.5rem; }
.bk-hero-grid { display: grid; gap: 2rem; justify-items: center; text-align: center; }
.bk-cover { display: block; width: min(62vw, 270px); line-height: 0; }
.bk-cover img { width: 100%; border-radius: 4px; box-shadow: 0 22px 44px rgba(14, 14, 12, 0.28); }
.bk-title { position: relative; font-size: clamp(2.8rem, 13vw, 4.8rem); line-height: 0.95; margin: 0 0 1.25rem; overflow-wrap: break-word; }
.bk-title-main { display: block; text-wrap: balance; }
.bk-title-main > span { display: block; }
.bk-subtitle { display: block; margin: 0.9rem auto 0; max-width: 24em; font-family: Lato, system-ui, sans-serif; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: clamp(1.1rem, 4.4vw, 1.4rem); line-height: 1.3; text-wrap: balance; color: var(--muted); }
.bk-pitch { max-width: 36em; margin: 0 auto 0.9rem; }
.bk-tagline { font-size: 1.1rem; margin: 0 0 1.6rem; }
.bk-ctas { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; max-width: 340px; margin: 0 auto; }

/* Companion app band */
.bk-app { background: var(--charcoal); color: var(--paper); padding: 4rem 0; border-top: 3px solid var(--yellow); }
.bk-app h2 { font-size: clamp(2rem, 6vw, 3.2rem); max-width: 16em; }
.bk-app-lede { max-width: 40em; color: rgba(251, 250, 246, 0.85); }
.bk-feats { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.75rem; }
.bk-feats li { background: #181816; border: 1px solid rgba(251, 250, 246, 0.14); border-radius: 14px; padding: 0.9rem 1.1rem; }
.bk-feats b { display: block; font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.15rem; color: var(--paper); }
.bk-feats span { color: rgba(251, 250, 246, 0.78); font-size: 0.95rem; }
.bk-app-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.bk-btn-yellow { background: var(--yellow); color: var(--charcoal); border-color: var(--yellow); }
.bk-btn-yellow:hover { box-shadow: 0 6px 0 var(--paper); }
.bk-app-link { color: var(--paper); font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.bk-app-link:hover { color: var(--yellow); }
.bk-app .bk-btn-yellow:focus-visible, .bk-app a:focus-visible { outline-color: var(--yellow); }

/* At a glance */
.bk-glance { background: var(--paper); border-bottom: 1px solid var(--line); padding: 2rem 0; }
.bk-stats { list-style: none; margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.bk-num { display: block; font-family: Anton, Impact, sans-serif; font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1; color: var(--charcoal); }
.bk-lbl { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); }

/* Free trial */
.bk-try { background: var(--cream); padding: 4rem 0; text-align: center; }
.bk-try .bk-narrow { margin: 0 auto; }
.bk-try h2, .bk-final h2 { font-size: clamp(2rem, 6vw, 3.2rem); }

/* About the book */
.bk-about { background: var(--paper); padding: 4rem 0; }
.bk-about h2 { font-size: clamp(2rem, 6vw, 3.2rem); }
.bk-lead { font-size: 1.25rem; font-weight: 700; }
.bk-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.bk-list li { position: relative; padding: 0.6rem 0 0.6rem 2rem; border-bottom: 1px solid var(--line); }
.bk-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 0.9rem; height: 0.9rem; background: var(--yellow); border: 3px solid var(--charcoal); border-radius: 50%; }

/* Author */
.bk-author { background: var(--cream); padding: 4rem 0; }
.bk-author-grid { display: grid; gap: 2rem; align-items: center; justify-items: center; }
.bk-portrait { display: block; line-height: 0; }
.bk-portrait img { width: 200px; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; border: 5px solid var(--yellow); }
.bk-author h2 { font-size: clamp(2rem, 6vw, 3rem); }
.bk-author-grid > div { justify-self: stretch; }
.bk-text-link { font-weight: 900; color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Final call */
.bk-final { background: var(--charcoal); color: var(--paper); text-align: center; padding: 4rem 0; border-top: 3px solid var(--yellow); }
.bk-final .bk-narrow { margin: 0 auto; }
.bk-final p { font-size: 1.15rem; margin: 0 0 1.5rem; }
.bk-final .bk-buy:hover { box-shadow: 0 6px 0 var(--paper); }

@media (min-width: 820px) {
  .bk-hero { padding: 4.5rem 0; }
  .bk-hero-grid { grid-template-columns: auto 1fr; text-align: left; justify-items: start; gap: 4.5rem; align-items: center; }
  .bk-cover { width: 320px; }
  .bk-subtitle { margin-left: 0; margin-right: 0; }
  .bk-pitch { margin-left: 0; }
  .bk-ctas { flex-direction: row; max-width: none; margin: 0; }
  .bk-feats { grid-template-columns: repeat(3, 1fr); }
  .bk-author-grid { grid-template-columns: 240px 1fr; gap: 3.5rem; justify-items: start; }
  .bk-portrait img { width: 240px; }
}
