:root {
  --bg: #f7f1e8;
  --surface: #fffaf2;
  --text: #211b17;
  --muted: #6f6259;
  --accent: #8b3f2f;
  --accent-dark: #652b21;
  --border: #e6d8c9;
  --shadow: 0 18px 45px rgba(33, 27, 23, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 250, 242, 0.88);
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  z-index: 10;
}

.site-logo {
  font-weight: 700;
  text-decoration: none;
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--accent);
}

main {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.eyebrow,
.chapter-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-family: Arial, sans-serif;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 5.7rem);
  max-width: 900px;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.35rem;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.2rem;
  margin: 1.5rem 0 0;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid var(--border);
  background: var(--surface);
}

.section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.book-card,
.guide-card,
.about-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.book-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.book-card p,
.guide-card p,
.about-section p {
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.guide-card.muted {
  opacity: 0.78;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link.disabled {
  color: var(--muted);
  pointer-events: none;
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .site-header,
  .book-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }
}