:root {
  --ink: #16181a;
  --muted: #6b7278;
  --paper: #ffffff;
  --paper-alt: #f6f6f4;
  --line: #e6e6e2;
  --accent: #1f6f4a;   /* single bold accent color */
  --accent-ink: #ffffff;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

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

img { max-width: 100%; display: block; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: #17573a; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-small {
  padding: 11px 22px;
  font-size: 0.85rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  z-index: 50;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  gap: 16px;
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  max-width: 260px;
}

@media (min-width: 900px) {
  .logo { white-space: nowrap; max-width: none; }
}

.main-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
}
.main-nav a:hover { color: var(--ink); }

.nav-cta { flex-shrink: 0; }

/* Hero */
.hero {
  background: var(--paper);
  padding-top: 72px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  padding-bottom: 96px;
}

.hero-copy { flex: 1 1 440px; }

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

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 16px;
}
.hero-subtitle em { color: var(--ink); font-style: italic; }

.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 32px;
}

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

.hero-art {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.book-cover-img {
  width: 300px;
  border: 1px solid var(--line);
}

/* Section shared */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
  margin: 0 0 8px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
  color: var(--muted);
}

/* Buy section */
.buy-section { background: var(--paper); }

.buy-grid {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}

.buy-card { flex: 0 0 260px; }

.buy-cover {
  border: 1px solid var(--line);
}

.buy-details { flex: 1 1 420px; }

.format-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.format-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 22px 24px;
  flex-wrap: wrap;
}

.format-info { display: flex; flex-direction: column; }
.format-info strong { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.format-info span { font-size: 0.88rem; color: var(--muted); }

.buy-btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.price {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.15rem;
}

.buy-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* About */
.about-section { background: var(--paper-alt); }

.about-inner {
  display: flex;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
}

.author-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.about-copy { flex: 1 1 380px; }
.about-copy .section-title { text-align: left; }
.about-copy p { line-height: 1.65; color: var(--ink); }
.about-copy p:first-of-type::first-letter { color: var(--ink); }

.social-links {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  flex-wrap: wrap;
}

/* Books grid */
.books-section { background: var(--paper); }

.books-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.book-card {
  display: block;
  text-align: left;
  background: var(--paper);
  padding: 24px;
  border: 1px solid var(--line);
  width: 100%;
  max-width: 280px;
  transition: border-color 0.15s ease;
}
.book-card:hover { border-color: var(--accent); }

.book-card img {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  width: 100%;
}

.book-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1rem;
}

.book-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Contact / newsletter */
.contact-section { background: var(--paper-alt); }

.contact-inner {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.newsletter, .contact-direct { flex: 1 1 320px; }
.newsletter .section-title,
.contact-direct .section-title { text-align: left; }
.newsletter .section-subtitle,
.contact-direct .section-subtitle { text-align: left; margin-left: 0; }

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1 1 220px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-message {
  margin-top: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* Order confirmation */
.confirmation-section { padding-top: 96px; }

.confirmation-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 16px;
  color: var(--ink);
}

.confirmation-lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 32px;
}

.confirmation-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 32px;
}

/* Footer */
.site-footer {
  background: var(--paper);
  color: var(--muted);
  padding: 32px 0;
  text-align: center;
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .about-copy .section-title,
  .newsletter .section-title,
  .newsletter .section-subtitle,
  .contact-direct .section-title,
  .contact-direct .section-subtitle { text-align: center; }
  .contact-inner { text-align: center; justify-content: center; }
}
