:root {
  --bg: #fbf9f7;
  --surface: #ffffff;
  --surface-alt: #f2ece7;
  --text: #24201d;
  --muted: #5c524a;
  --accent: #7a2e2e;
  --accent-strong: #5f1f1f;
  --border: #dfd5cd;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  margin: 0;
  font-weight: 700;
}

.brand a {
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

h1 {
  margin: 8px 0 18px;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
}

.selling-points {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.selling-points li {
  margin-bottom: 6px;
}

.actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--border);
}

.card,
.panel,
.book-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.price {
  margin: 4px 0 12px;
  font-weight: 700;
  color: var(--accent);
}

.mini-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.section {
  padding: 44px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.panel {
  padding: 24px;
}

.panel h3 {
  margin-top: 0;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.section-intro {
  margin-top: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.book-card {
  padding: 16px;
}

.book-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.book-card a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.capture-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 20px;
  max-width: 540px;
}

.capture-form label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
}

.capture-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font: inherit;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 12px;
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer h2 {
  margin-top: 0;
}

.site-footer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
