/* Cormorant Garamond — SIL Open Font License 1.1 (see README) */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f7f3ea;
  --ink: #1f1c18;
  --muted: #4a4540;
  --accent: #9b3b2e;
  --border: #d9d0c4;
  --max: 640px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--cream);
}

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

a {
  color: var(--accent);
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.block {
  margin-top: 4rem;
}

.block:first-child {
  margin-top: 0;
}

@media (min-width: 720px) {
  .block {
    margin-top: 6rem;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 720px) {
  .hero {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
  }
}

.hero__cover {
  flex: 0 0 auto;
  width: min(240px, 70vw);
}

@media (min-width: 720px) {
  .hero__cover {
    width: 220px;
  }
}

.hero__body {
  flex: 1 1 auto;
}

.hero__title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.hero__byline {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero__headline {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero__body > p,
.section p {
  margin: 0 0 1rem;
}

.book-list {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.book-list li {
  margin-bottom: 0.35rem;
}

.hero + .fine-print {
  margin-top: 1.5rem;
}

.get-the-book {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

/* Buttons */
.buy-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 480px) {
  .buy-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.btn:hover,
.btn:focus-visible {
  background: #7f2f24;
  border-color: #7f2f24;
}

/* Fine print — WCAG AA on white */
.fine-print {
  padding: 1rem 1.1rem;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
}

.fine-print p {
  margin: 0 0 0.75rem;
}

.fine-print p:last-child {
  margin-bottom: 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.price {
  font-size: 1.1rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 720px) {
  .site-footer {
    margin-top: 6rem;
  }
}