.post-chapter-cta {
  --cta-ink: #302a24;
  --cta-muted: #6f6258;
  --cta-paper: #fffaf1;
  --cta-wash: #eadfd4;
  --cta-clay: #a45d43;
  --cta-sage: #52645a;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--cta-ink);
  background: var(--cta-paper);
  border: 1px solid rgba(118, 88, 67, 0.22);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(76, 58, 45, 0.12);
  font-family: Georgia, "Times New Roman", serif;
}

.post-chapter-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 15rem;
  height: 15rem;
  top: -8rem;
  right: -5rem;
  border-radius: 50%;
  background: rgba(164, 93, 67, 0.12);
}

.post-chapter-cta--reader {
  width: min(100vw - 32px, 880px);
  margin: 2.5rem 50% 0;
  padding: clamp(1.6rem, 5vw, 3rem);
  transform: translateX(-50%);
}

.post-chapter-cta--download {
  margin-top: 1.25rem;
  padding: clamp(1.35rem, 4vw, 2.25rem);
}

.post-chapter-cta__eyebrow {
  margin: 0 0 0.75rem !important;
  color: var(--cta-clay) !important;
  font: 700 0.7rem/1.35 ui-sans-serif, system-ui, sans-serif !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.post-chapter-cta h2 {
  max-width: 19ch;
  margin: 0 !important;
  color: var(--cta-ink);
  font: 500 clamp(1.75rem, 4.2vw, 3rem)/1.04 Georgia, "Times New Roman", serif !important;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.post-chapter-cta__support {
  max-width: 62ch;
  margin: 1rem 0 0 !important;
  color: var(--cta-muted) !important;
  font: 400 0.96rem/1.65 ui-sans-serif, system-ui, sans-serif !important;
}

.post-chapter-cta__options {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(13rem, 0.65fr);
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.post-chapter-cta__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 1rem;
}

.post-chapter-cta__option p {
  margin: 0;
  font: 400 0.9rem/1.5 ui-sans-serif, system-ui, sans-serif !important;
}

.post-chapter-cta__option--primary {
  color: #fffaf1;
  background: var(--cta-sage);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.post-chapter-cta__option--secondary {
  justify-content: space-between;
  color: var(--cta-ink);
  background: var(--cta-wash);
  border: 1px solid rgba(118, 88, 67, 0.14);
}

.post-chapter-cta__label {
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-chapter-cta__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.7rem;
  margin-top: 0.65rem !important;
  color: #fffaf1;
}

.post-chapter-cta__price s {
  color: rgba(255, 250, 241, 0.62);
  text-decoration-thickness: 2px;
}

.post-chapter-cta__price strong {
  font-size: 1.02rem;
}

.post-chapter-cta__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.9rem;
  margin-top: 1rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  font: 700 0.82rem/1.25 ui-sans-serif, system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.post-chapter-cta__button:hover {
  transform: translateY(-2px);
}

.post-chapter-cta__button:focus-visible {
  outline: 3px solid var(--cta-clay);
  outline-offset: 3px;
}

.post-chapter-cta__button--primary {
  color: var(--cta-ink);
  background: #fffaf1;
}

.post-chapter-cta__button--primary:hover {
  background: #ffffff;
}

.post-chapter-cta__button--secondary {
  color: #fffaf1;
  background: var(--cta-clay);
}

.post-chapter-cta__button--secondary:hover {
  color: #fffaf1;
  background: #8f4f39;
}

@media (max-width: 680px) {
  .post-chapter-cta {
    border-radius: 1.15rem;
  }

  .post-chapter-cta--reader {
    width: calc(100vw - 28px);
  }

  .post-chapter-cta__options {
    grid-template-columns: 1fr;
  }

  .post-chapter-cta__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-chapter-cta__button {
    transition: none;
  }
}
