/* Palette pulled straight from Malaysia's cover so the page and the book match:
   teal sky, cream title, sand ground, and the sun-orange saved for ONE thing (Buy). */

body {
  background-color: #234a52;   /* deep teal, a shade darker than the cover sky */
  color: #f2ead6;              /* warm cream, same family as the title */
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  text-align: center;
}

.title {
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 0 4px;
  color: #f2ead6;
}

.subtitle {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e8a13c;              /* soft amber, a quiet echo of the sun */
  margin: 0 0 32px;
}

.cover {
  width: 70%;
  max-width: 340px;
  height: auto;
  border: 2px solid #0e2b30;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 32px;
}

.blurb {
  font-size: 1.08rem;
  text-align: left;
  margin: 0 auto 36px;
  max-width: 520px;
}

.blurb em {
  font-style: italic;
  color: #f6d9a0;
}

/* The one bold thing on the page. The sun-orange lives here and nowhere else. */
.buy {
  display: inline-block;
  background-color: #ef6a1a;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(239, 106, 26, 0.4);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.buy:hover {
  background-color: #f6841e;
  transform: translateY(-2px);
}

.sample-label {
  margin: 44px 0 12px;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b89a68;              /* the sand/ground tone from the cover */
}

.samples a {
  display: inline-block;
  color: #f2ead6;
  text-decoration: none;
  border-bottom: 1px solid #e8a13c;
  padding-bottom: 2px;
  margin: 0 14px;
  font-size: 1.05rem;
}

.samples a:hover {
  color: #e8a13c;
}

.credit {
  margin-top: 56px;
  font-size: 0.85rem;
  color: #7fa0a6;              /* muted teal-grey, deliberately quiet */
  letter-spacing: 1px;
}

/* ---- Chapter (sample) pages ---- */

.crumb {
  text-align: left;
  margin: 0 0 24px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.crumb a {
  color: #b89a68;
  text-decoration: none;
}

.crumb a:hover { color: #e8a13c; }

.chapter-title {
  font-size: 2rem;
  margin: 0 0 4px;
  color: #f2ead6;
}

.chapter-sub {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e8a13c;
  margin: 0 0 32px;
}

.chapter-body {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

.chapter-body p { margin: 0 0 1.2em; }

.divider {
  border: none;
  border-top: 1px solid #3a5a61;
  max-width: 560px;
  margin: 48px auto 32px;
}

.endnote {
  font-size: 1.05rem;
  color: #f6d9a0;
  margin: 0 0 20px;
}

.chapter-nav {
  margin-top: 40px;
}

.chapter-nav a {
  color: #f2ead6;
  text-decoration: none;
  border-bottom: 1px solid #e8a13c;
  padding-bottom: 2px;
}

.chapter-nav a:hover { color: #e8a13c; }

/* Small screens: keep it comfortable on a phone */
@media (max-width: 480px) {
  .title { font-size: 2rem; }
  .cover { width: 82%; }
  .blurb { font-size: 1rem; }
  .buy { width: 100%; box-sizing: border-box; padding: 16px 0; }
  .chapter-body { font-size: 1.05rem; }
}
