/* /book only (A and B). Colors sampled from the cover and 3D mockup.
   Upsell and thank-you pages have .book-oto and are left alone. */
.book-page.book-funnel:not(.book-oto){
  --deep:#254C39;        /* cover field green */
  --green:#2A6B45;       /* mid green for links and highlights */
  --green2:#1E3D2E;      /* deeper forest hover */
  --gold:#F8D03C;        /* cover gold band */
  --gold2:#E8B116;       /* typography / hover gold */
  --mint:#E4EEE8;        /* light tint of the cover green */
  --accent:#F8D03C;
  --page:#F8F6F0;        /* warm off-white */
  --ink:#1F242E;
  --meta:#3F4F46;
  --rule:#C9D6CE;
  --black:#254C39;
  --onblack:#E8F0EA;
  --cream:#F8F6F0;
  --panel:#E4EEE8;
  --btn-ink:#1A2E24;     /* dark forest for labels on gold (WCAG AA) */
  background:var(--page);
  color:var(--ink);
}

/* Alternating sections: warm page vs light green tint */
.book-page.book-funnel.book-white:not(.book-oto),
.book-page.book-funnel.book-white:not(.book-oto) section{
  background:var(--page);
}
.book-page.book-funnel.book-white:not(.book-oto) section.soft,
.book-page.book-funnel.book-white:not(.book-oto) .proofstrip{
  background:var(--mint);
}

/* Hero: cover green field, cream and gold type */
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2{
  background:var(--deep);
  color:#F7F4EC;
}
.book-page.book-funnel:not(.book-oto) .bookhero.hero-v2 .hero-head h1{
  color:#fff!important;
}
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .lead,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 p{
  color:#F7F4EC;
}
.book-page.book-funnel:not(.book-oto) .hero-v2 .hero-head .priceline{
  color:#E8F0EA;
}
.book-page.book-funnel:not(.book-oto) .hero-v2 .hero-head .priceline b{
  color:var(--gold);
}
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .small,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .cred{
  color:#D4E0D8;
  opacity:1;
}
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-extras,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .check,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .check li{
  color:#F7F4EC;
}
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 a:not(.btn){
  color:var(--gold);
}

/* Gold band eyebrows (same idea as the cover band) */
.book-page.book-funnel:not(.book-oto) .eyebrow,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .eyebrow{
  background:var(--gold);
  color:var(--btn-ink);
  border:0;
}

/* Primary buttons: cover gold, dark forest labels */
.book-page.book-funnel:not(.book-oto) .btn{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--btn-ink);
}
.book-page.book-funnel:not(.book-oto) .btn:hover{
  background:var(--gold2);
  border-color:var(--gold2);
  color:var(--btn-ink);
}
/* Sticky CTA: cover-green bar, gold button (mobile only; see funnel.css) */
.book-page.book-funnel:not(.book-oto) .askbar{
  background:var(--deep);
  color:var(--onblack);
  border:0;
}
.book-page.book-funnel:not(.book-oto) .askbar .btn{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--btn-ink);
}
.book-page.book-funnel:not(.book-oto) .vsl-unmute{
  background:var(--gold);
  color:var(--btn-ink);
}

/* Checkout step bars: gold for the active step */
.book-page.book-funnel:not(.book-oto) .order-steps li.on{
  color:var(--btn-ink);
  background:var(--gold);
  border-color:var(--gold);
}

/* Price callouts */
.book-page.book-funnel:not(.book-oto) .price{
  color:var(--deep);
}
.book-page.book-funnel:not(.book-oto) #value ul.stack>li>:last-child{
  color:var(--deep);
}
.book-page.book-funnel:not(.book-oto) #value ul.stack>li.book-value-total:last-of-type{
  background:var(--gold);
  color:var(--btn-ink);
  border-bottom:0;
  border-radius:8px;
  margin-top:8px;
  padding:10px 12px;
}
.book-page.book-funnel:not(.book-oto) #value ul.stack>li.book-value-total:last-of-type span,
.book-page.book-funnel:not(.book-oto) #value ul.stack>li.book-value-total:last-of-type .total{
  color:var(--btn-ink);
}

/* Guarantee and highlight chips */
.book-page.book-funnel:not(.book-oto) .guarantee{
  background:#FFF6D0;
  border-color:var(--gold2);
  color:var(--btn-ink);
}

/* Headings stay the richer cover green; stories keep dark body text */
.book-page.book-funnel:not(.book-oto) h1,
.book-page.book-funnel:not(.book-oto) h2,
.book-page.book-funnel:not(.book-oto) h3,
.book-page.book-funnel:not(.book-oto) .kick{
  color:var(--deep);
}
.book-page.book-funnel:not(.book-oto) .hero.hero-v2 h1{
  color:#fff!important;
}

/* Cards and form stay clean white */
.book-page.book-funnel.book-white:not(.book-oto) .card,
.book-page.book-funnel.book-white:not(.book-oto) .trust .tr,
.book-page.book-funnel.book-white:not(.book-oto) ol.steps-row li,
.book-page.book-funnel.book-white:not(.book-oto) .figures figure,
.book-page.book-funnel:not(.book-oto) .coform,
.book-page.book-funnel:not(.book-oto) .story{
  background:#fff;
}
.book-page.book-funnel:not(.book-oto) form.f input,
.book-page.book-funnel:not(.book-oto) form.f select,
.book-page.book-funnel:not(.book-oto) form.f textarea{
  background:#fff;
  color:var(--ink);
  border-color:var(--rule);
}
.book-page.book-funnel:not(.book-oto) form.f input:focus,
.book-page.book-funnel:not(.book-oto) form.f select:focus,
.book-page.book-funnel:not(.book-oto) form.f textarea:focus{
  outline:2px solid var(--deep);
  outline-offset:0;
}

/* Proof card inside the dark hero stays readable */
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .proof,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .proof blockquote,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .proof figcaption{
  color:var(--ink);
}
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .proof .small{
  color:var(--meta);
}

/* Checkmarks on the dark hero: gold discs, dark ticks */
.book-page.book-funnel:not(.book-oto) .hero ul.check li:before{
  background-color:var(--gold);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%231A2E24' stroke-width='3' d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E");
}

/* Footer already uses --deep; keep light type readable on the new green */
.book-page.book-funnel:not(.book-oto) footer.site{
  background:var(--deep);
  color:var(--onblack);
}
.book-page.book-funnel:not(.book-oto) footer.site .logo b{
  color:var(--gold);
}

/* Order form is a white card inside the dark hero. Hero light type must not
   leak onto white or cream, including when the phone is in dark mode. */
.book-page.book-funnel:not(.book-oto) .hero-form,
.book-page.book-funnel:not(.book-oto) .hero-form .card,
.book-page.book-funnel:not(.book-oto) .hero-form .coform,
.book-page.book-funnel:not(.book-oto) .hero-form .order-bump,
.book-page.book-funnel:not(.book-oto) .hero-form .bump-hot,
.book-page.book-funnel:not(.book-oto) .hero-form .pay-block,
.book-page.book-funnel:not(.book-oto) .hero-form .order-summary {
  color-scheme: light;
  color: #1f2a24;
}
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form p,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form li,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form span,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form label,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form legend,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form small,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .order-bump p,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .bump-hot p {
  color: #1f2a24;
}
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .small,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .secure-note,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .step-note,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .book-quantity-options small {
  color: #4a5a52;
}
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form h3,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .order-h,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .order-bump label,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .bump-hot label,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .book-quantity-options legend,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .book-quantity-options b,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .order-summary b,
.book-page.book-funnel.book-white:not(.book-oto) .hero.hero-v2 .hero-form .order-summary .total {
  color: #254C39;
}
.book-page.book-funnel:not(.book-oto) .hero-form .formmsg.err {
  color: #b42318;
}
.book-page.book-funnel:not(.book-oto) .hero-form .btn {
  color: var(--btn-ink);
}
