:root {
  --bg: #f7f2e8;
  --bg-ink: #1f1a16;
  --text: #2f2924;
  --muted: #73695f;
  --accent: #af3d26;
  --card: #fffdf8;
  --line: #dccdb8;
  --shadow: 0 18px 42px rgba(60, 34, 17, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 20% 15%, #fbe4c7 0, transparent 42%),
    radial-gradient(circle at 82% 12%, #f6d6b1 0, transparent 30%),
    linear-gradient(180deg, #f9f4ec 0%, var(--bg) 60%);
  font-family: "Noto Serif SC", "Songti SC", serif;
  line-height: 1.9;
}

.background-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(198, 149, 90, 0.04) 50%,
    transparent 100%
  );
  z-index: -1;
}

.container {
  width: min(960px, 92vw);
  margin-inline: auto;
}

.hero {
  padding: 68px 0 38px;
}

.eyebrow {
  margin: 0;
  font: 600 0.8rem/1 "Outfit", sans-serif;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 0;
  color: var(--bg-ink);
  font: 700 clamp(2.6rem, 7vw, 4.7rem) / 1.08 "Outfit", sans-serif;
  letter-spacing: 0.02em;
}

#book-subtitle {
  margin: 8px 0 20px;
  color: var(--muted);
  font: 500 clamp(1.12rem, 2.3vw, 1.45rem) / 1.45 "Noto Serif SC", serif;
}

.hero-note {
  margin: 0;
  max-width: 44ch;
  font-size: 1.02rem;
  color: #584f47;
}

.chapter-card {
  background: color-mix(in srgb, var(--card) 92%, white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.chapter-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font: 600 0.8rem/1 "Outfit", sans-serif;
  color: var(--accent);
  background: #fde8d1;
}

.meta-label {
  color: var(--muted);
  font: 500 0.95rem/1 "Outfit", sans-serif;
}

h2 {
  margin: 0 0 22px;
  color: #26211c;
  font: 700 clamp(1.62rem, 3.3vw, 2.2rem) / 1.35 "Noto Serif SC", serif;
}

.preface-paragraph {
  margin: 0 0 16px;
  text-wrap: pretty;
}

.progress-photo {
  margin: 24px 0;
}

.progress-photo img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid #e5d6c1;
}

.progress-photo figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.disclaimer {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  background: #fbeee3;
  color: #5c4132;
  font-size: 0.92rem;
}

.footer {
  padding: 26px 0 40px;
  color: var(--muted);
  font: 500 0.88rem/1.5 "Outfit", sans-serif;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 52px;
  }

  .chapter-card {
    border-radius: 18px;
  }
}
