:root {
  --bg: #faf9f7;
  --text: #1a1a18;
  --muted: #888880;
  --border: #e2e0da;
  --accent: #1a1a18;
  --tag-bg: #f0ede8;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── NAV ── */
nav {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: blink 2.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── MAIN COLUMN ── */
.col {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO ── */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.eyebrow-tag {
  background: var(--tag-bg);
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

h1 em {
  font-style: italic;
  color: var(--muted);
}

.hero-body {
  font-size: 17px;
  line-height: 1.75;
  color: #444440;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.meta-item {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--border);
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #b5a898;
  color: #fdf9f4;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
}

.btn-buy:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-price {
  font-weight: 300;
  opacity: 0.7;
  margin-left: 4px;
}

/* ── BOOK PREVIEW ── */
.book-preview {
  margin: 48px 0 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.book-cover {
  background: linear-gradient(135deg, #5c4f3d 0%, #b5a898 100%);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.book-cover::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 4px;
  background: rgba(255,255,255,0.06);
}

.book-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.book-title {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.book-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  line-height: 1.5;
  max-width: 360px;
}

.book-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.book-tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  color: rgba(255,255,255,0.4);
}

/* ── WHAT'S INSIDE ── */
.inside {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.section-heading {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

.chapter-list {
  display: flex;
  flex-direction: column;
}

.chapter-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.chapter-row:last-child { border-bottom: none; }

.ch-num {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 2px;
}

.ch-body {}

.ch-title {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.ch-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── ABOUT ── */
.about {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.about-body {
  font-size: 16px;
  line-height: 1.8;
  color: #444440;
}

.about-body p + p { margin-top: 20px; }

.about-body strong {
  color: var(--text);
  font-weight: 500;
}

/* ── PURCHASE ── */
.purchase {
  padding: 56px 0 72px;
}

.purchase-box {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  background: #fff;
}

.purchase-title {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.purchase-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.purchase-includes {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.purchase-includes li {
  font-size: 14px;
  color: #444440;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.purchase-includes li::before {
  content: '—';
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 1px;
}

.purchase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.purchase-price {
  font-family: 'Lora', serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.purchase-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── GUIDE DROPDOWN ── */
.guide-trigger {
  position: relative;
  cursor: pointer;
}

.guide-trigger > a {
  pointer-events: none;
}

.guide-dropdown {
  display: none;
  position: fixed;
  top: 64px;
  left: 12px;
  right: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  z-index: 200;
  overflow: hidden;
  animation: dropIn 0.18s ease both;
}

@media (min-width: 600px) {
  .guide-dropdown {
    width: 340px;
    left: auto;
  }
}

.guide-dropdown.open { display: block; }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.guide-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 18px;
  width: 9px; height: 9px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}

.dropdown-header {
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--border);
}

.dropdown-title {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.dropdown-sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.dropdown-chapters {
  padding: 8px 0;
  max-height: 280px;
  overflow-y: auto;
}

.dropdown-chapters::-webkit-scrollbar { width: 4px; }
.dropdown-chapters::-webkit-scrollbar-track { background: transparent; }
.dropdown-chapters::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.dropdown-ch {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0;
  padding: 10px 22px;
  border-bottom: 1px solid #f4f2ee;
  transition: background 0.1s;
}

.dropdown-ch:last-child { border-bottom: none; }
.dropdown-ch:hover { background: #faf9f7; }

.dropdown-ch-num {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 2px;
}

.dropdown-ch-title {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.3;
}

.dropdown-ch-desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.5;
}

.dropdown-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-price {
  font-family: 'Lora', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.btn-dropdown-buy {
  display: inline-flex;
  align-items: center;
  background: #b5a898;
  color: #fdf9f4;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.15s;
  letter-spacing: -0.01em;
}

.btn-dropdown-buy:hover { opacity: 0.85; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-name {
  font-family: 'Lora', serif;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

/* ── KEYWORD HIGHLIGHT ── */
.kw-highlight {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}
