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

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: #b5a792;
  color: #1f2933;
  line-height: 1.6;
}

.site-header {
  background: #5e5b58;
  color: #f6f3ee;
  border-bottom: 1px solid rgb(246 243 238 / 28%);
}

.site-title {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

article {
  background: #5e5b58;
  color: #f6f3ee;
  padding: 2.5rem 2rem;
  box-shadow: 0 1px 2px rgb(31 41 51 / 6%);
}

.book {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 380px);
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.cover {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
}

.book-intro {
  text-align: right;
}

.book-intro h1 {
  margin: 0 0 0.5rem;
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.byline,
.tagline,
.price {
  margin: 0;
}

.byline {
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
}

.tagline {
  margin-top: 0.75rem;
  color: #d5e8f2;
  font-style: italic;
}

.book-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.book-buy img {
  width: 132px;
  height: auto;
  background: #fff;
}

.book-buy a {
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  color: #d5e8f2;
}

.price {
  margin-top: 1.25rem;
  font-family: system-ui, sans-serif;
  font-size: 1.5rem;
}

.block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.about {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgb(246 243 238 / 28%);
}

.copy h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.copy p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  text-align: justify;
}

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

.endorse {
  position: relative;
  margin: 0;
  padding-top: 2.75rem;
}

.endorse::before {
  /* Quotation mark */
  content: "\201C";
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  font-size: 12.5rem;
  line-height: 1;
  color: #f6f3ee;
  opacity: 0.22;
  pointer-events: none;
}

.endorse-by {
  margin-top: 1.25rem;
}

.copy p.endorse-author,
.copy .endorse-works {
  text-align: left;
}

.copy p.endorse-author {
  font-family: system-ui, sans-serif;
  font-size: 2rem;
  color: #f6f3ee;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.copy p.endorse-author a {
  color: #b7d4e8;
  text-decoration: none;
}

.endorse-works {
  margin: 0.2rem 0 0;
  font-family: system-ui, sans-serif;
  font-size: 0.92rem;
  color: #e4dfd6;
}

.endorse-works cite {
  font-style: italic;
}

.testimonials {
  display: grid;
  gap: 2rem;
}

section.testimonials {
  margin-bottom: 2.5rem;
}

.testimonial {
  position: relative;
  margin: 0;
  padding: 0.4rem 0 0 3rem;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -0.15rem;
  left: 0;
  font-size: 4.75rem;
  line-height: 1;
  color: #f6f3ee;
  opacity: 0.22;
  pointer-events: none;
}

.testimonial p {
  margin: 0;
  font-size: 1.05rem;
  text-align: justify;
}

.testimonial footer {
  margin-top: 0.65rem;
  font-family: system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #f6f3ee;
}

.frame img {
  width: 100%;
  height: auto;
  display: block;
}

.frame-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, #d5e4ef, #f7f4ee 55%, #c5d5c8);
  border: 1px dashed #8aa4b5;
  color: #3d6f8f;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.purchase {
  margin: 1rem 0 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgb(246 243 238 / 28%);
  text-align: center;
}

.purchase p:first-child {
  margin: 0;
  font-size: 1.25rem;
}

.purchase .price {
  margin: 0.35rem 0 1rem;
}

.delivery-note {
  max-width: 29rem;
  margin: 1.25rem auto 0;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e4dfd6;
  text-align: justify;
}

.delivery-note a,
.speaking a {
  color: #d5e8f2;
}

.speaking {
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(246 243 238 / 28%);
  font-family: system-ui, sans-serif;
}

.speaking p {
  text-align: justify;
  max-width: 32rem;
  margin: 0 auto;
}

.workbook {
  display: block;
  width: min(380px, 100%);
  height: auto;
  margin: 0 auto 1.25rem;
}

.purchase .book-buy {
  align-items: center;
  margin: 0 auto 1.5rem;
}

.paypal {
  display: inline-block;
  line-height: 0;
}

.paypal img {
  display: block;
  width: 20em;
  height: auto;
}

@media (max-width: 720px) {
  article {
    padding: 1.5rem 1.1rem;
  }

  .book,
  .block {
    grid-template-columns: 1fr;
  }

  .book-intro h1 {
    font-size: 2.1rem;
  }

  .block .frame {
    order: -1;
  }
}
