:root {
  --ink: #1c1a17;
  --paper: #faf7f2;
  --accent: #b5651d;
  --muted: #6b6459;
  --border: #e6ded2;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--accent); }

/* Book sections */
.book {
  padding: 72px 0;
}
.book.alt {
  background: #f2ede4;
}
.book-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}
.book-grid.reverse {
  grid-template-columns: 1fr 320px;
}
.book-grid.reverse .book-cover { order: 2; }
.book-grid.reverse .book-info { order: 1; }

.book-cover img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.book-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 8px;
}
.book-title {
  font-size: 2.4rem;
  margin: 0 0 12px;
  line-height: 1.15;
}
.book-tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 16px;
}
.book-description {
  margin: 0 0 28px;
  max-width: 52ch;
}

.buy-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: opacity 0.15s ease;
}
.buy-btn:hover { opacity: 0.85; }

/* About */
.about {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.about-wrap {
  max-width: 60ch;
}
.about h2 {
  margin-top: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 720px) {
  .book-grid, .book-grid.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .book-grid.reverse .book-cover,
  .book-grid.reverse .book-info {
    order: initial;
  }
  .book-cover {
    max-width: 260px;
    margin: 0 auto;
  }
  .book-title { font-size: 1.9rem; }
}
