:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --white: #fffdf9;
  --ink: #292623;
  --muted: #716a63;
  --wine: #783d4c;
  --wine-dark: #5d2c3a;
  --rose: #d7a49b;
  --line: #e6ded3;
  --sage: #697966;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  width: min(1240px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
}

.brand-light { font-weight: 500; font-style: italic; }

.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a, .header-cta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.site-header nav a:hover, .ebook-link:hover, .footer-email:hover { color: var(--wine); }
.header-cta { color: var(--wine); }
.header-cta span { margin-left: 5px; }

.hero {
  width: min(1240px, calc(100% - 48px));
  min-height: 420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: 50px;
  padding: 40px 0 44px;
}

.hero-copy { max-width: 610px; animation: rise-in 650ms ease-out both; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow-line { width: 25px; height: 1px; display: inline-block; margin: 0 8px 3px 0; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .cover-title { font-family: var(--serif); font-weight: 500; }
h1 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 69px);
  line-height: 1.09;
}
h1 em { color: var(--wine); font-weight: 500; }
.hero-description { max-width: 430px; margin-bottom: 27px; color: var(--muted); font-size: 16px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--wine-dark); }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; }
.hero-note span { margin-right: 5px; color: var(--wine); }

.hero-art {
  min-height: 340px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #eadbd1;
  background-image: repeating-linear-gradient(135deg, transparent 0 17px, rgb(255 255 255 / 19%) 17px 18px);
  animation: rise-in 750ms 100ms ease-out both;
}
.sunburst {
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgb(120 61 76 / 30%);
  border-radius: 50%;
}
.sunburst::before, .sunburst::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgb(120 61 76 / 22%);
  border-radius: 50%;
  content: '';
}
.sunburst::after { inset: 38px; }
.book {
  position: absolute;
  width: 210px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 8px 12px 23px rgb(48 33 28 / 18%);
}
.book-back {
  margin: 14px 0 0 32px;
  transform: rotate(9deg);
  background: #788472;
}
.book-back-spine { position: absolute; top: 0; bottom: 0; left: 17px; width: 2px; background: rgb(255 255 255 / 34%); }
.book-front {
  z-index: 1;
  margin: -4px 38px 0 0;
  transform: rotate(-7deg);
  border: 1px solid #e9d1c5;
  outline: 1px solid rgb(255 255 255 / 64%);
  outline-offset: -8px;
  background-color: #9b5360;
  background-image: linear-gradient(158deg, rgb(255 255 255 / 7%), transparent 55%);
  color: #f8ebdf;
}
.book-flower { margin: 0 0 14px; font-size: 29px; }
.book-rule { width: 42px; height: 1px; margin-bottom: 15px; background: currentColor; opacity: 0.72; }
.book-cover-name { font-family: var(--serif); font-size: 25px; line-height: 1.18; text-align: center; }
.book-rule-short { width: 24px; margin: 17px 0 10px; }
.book-cover-label { font-size: 8px; letter-spacing: 1.3px; text-transform: uppercase; }
.floating-note {
  position: absolute;
  z-index: 2;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.3;
}
.note-top { top: 42px; left: 9%; transform: rotate(-8deg); }
.note-bottom { right: 8%; bottom: 58px; transform: rotate(7deg); }
.note-bottom span { color: var(--wine); font-size: 20px; }
.art-caption { position: absolute; bottom: 18px; left: 22px; color: var(--wine-dark); font-size: 8px; font-weight: 700; letter-spacing: 1.5px; }

.how-section { padding: 72px 24px 78px; background: var(--white); }
.section-heading, .steps { width: min(1060px, 100%); margin: 0 auto; }
.section-heading { margin-bottom: 34px; text-align: center; }
.section-heading .eyebrow, .stories-heading .eyebrow, .faq-intro .eyebrow { margin-bottom: 9px; }
h2 { margin-bottom: 0; font-size: 38px; line-height: 1.2; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.step { padding: 0 22px; text-align: center; }
.step-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid #dfc8c4;
  border-radius: 50%;
  color: var(--wine);
  font-size: 19px;
}
.step h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.step p { max-width: 260px; margin: 0 auto; color: var(--muted); font-size: 13px; }

.stories-section, .listening-section { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 60px 0 64px; }
.stories-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.stories-intro { max-width: 300px; margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.product-card { min-width: 0; background: var(--white); }
.cover {
  min-height: 285px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff8ee;
  text-align: center;
}
.cover::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgb(255 255 255 / 55%);
  content: '';
}
.cover::after {
  position: absolute;
  width: 180px;
  height: 180px;
  top: 54px;
  left: calc(50% - 90px);
  border: 1px solid rgb(255 255 255 / 27%);
  border-radius: 50%;
  content: '';
}
.cover-rose { background-color: #9b5360; background-image: repeating-linear-gradient(45deg, transparent 0 13px, rgb(255 255 255 / 6%) 13px 14px); }
.cover-sage { background-color: #647664; background-image: repeating-linear-gradient(-45deg, transparent 0 13px, rgb(255 255 255 / 7%) 13px 14px); }
.cover-blue { background-color: #4b6972; background-image: repeating-linear-gradient(90deg, transparent 0 18px, rgb(255 255 255 / 6%) 18px 19px); }
.cover-topline, .cover-bottomline, .cover-ornament, .cover-title { position: relative; z-index: 1; }
.cover-topline, .cover-bottomline { font-size: 8px; font-weight: 600; letter-spacing: 1.6px; }
.cover-ornament { margin: 20px 0 4px; font-size: 27px; }
.cover-title { margin-bottom: 20px; font-size: 29px; line-height: 1.12; }
.cover-bottomline { font-size: 7px; }
.product-info { padding: 19px 19px 21px; }
.product-kicker { margin-bottom: 3px; color: var(--wine); font-size: 9px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.product-info h3 { margin-bottom: 15px; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.25; }
.product-details { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.product-details strong { color: var(--ink); font-weight: 600; text-align: right; }
.sample-label { display: flex; align-items: center; gap: 7px; margin: 13px 0 7px; color: var(--ink); font-size: 11px; font-weight: 600; }
.sample-dot { width: 7px; height: 7px; border-radius: 50%; background: #71806a; }
audio { width: 100%; height: 38px; margin-bottom: 14px; }
.button-buy { width: 100%; min-height: 43px; background: var(--wine); color: white; }
.button-buy:hover { background: var(--wine-dark); }
.ebook-link { display: block; margin-top: 13px; color: var(--muted); font-size: 11px; text-align: center; text-decoration-color: #c9b9ad; text-underline-offset: 3px; }
.listening-band { background: #e8e2d8; }

.faq-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 64px;
  padding: 68px max(24px, calc((100% - 1060px) / 2)) 76px;
  background: #e8e2d8;
}
.faq-intro h2 { max-width: 290px; font-size: 35px; }
.faq-list details { border-bottom: 1px solid #cfc5b9; }
.faq-list details:first-child { border-top: 1px solid #cfc5b9; }
.faq-list summary { position: relative; padding: 16px 30px 16px 0; cursor: pointer; font-family: var(--serif); font-size: 17px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 14px; right: 2px; color: var(--wine); content: '+'; font-family: var(--sans); font-size: 20px; }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p { max-width: 590px; margin: -4px 30px 16px 0; color: var(--muted); font-size: 13px; }

.site-footer {
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 15px 24px;
  padding: 24px max(24px, calc((100% - 1240px) / 2));
  background: #292623;
  color: #f7f3ec;
}
.footer-brand { color: #f7f3ec; }
.footer-brand .brand-mark { border-color: #d8aaa3; color: #e2bbb3; }
.site-footer p { margin: 0; color: #c6bdb4; font-family: var(--serif); font-size: 15px; font-style: italic; text-align: center; }
.footer-email { justify-self: end; color: #f1d4cc; font-size: 12px; text-underline-offset: 3px; }
.footer-note { grid-column: 1 / -1; color: #a9a098; font-size: 9px; letter-spacing: 0.7px; text-align: center; }

:focus-visible { outline: 2px solid #a85666; outline-offset: 4px; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 800px) {
  .site-header { width: min(100% - 36px, 650px); min-height: 72px; flex-wrap: wrap; gap: 10px 16px; padding: 13px 0; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .site-header nav a { font-size: 12px; }
  .header-cta { margin-left: auto; font-size: 11px; }
  .hero { width: min(100% - 36px, 650px); grid-template-columns: 1fr; gap: 34px; padding: 56px 0 58px; }
  .hero-copy { max-width: 570px; }
  h1 { max-width: 560px; font-size: clamp(43px, 8vw, 62px); }
  .hero-art { min-height: 390px; }
  .book { width: 190px; height: 270px; }
  .how-section { padding: 59px 18px 63px; }
  .steps { gap: 18px; }
  .step { padding: 0 6px; }
  .stories-section, .listening-section { width: min(100% - 36px, 650px); padding: 66px 0 72px; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card { display: grid; grid-template-columns: minmax(130px, 0.75fr) 1.25fr; }
  .cover { min-height: 100%; }
  .cover-title { font-size: 23px; }
  .cover-ornament { margin-top: 8px; }
  .cover::after { width: 130px; height: 130px; top: calc(50% - 65px); left: calc(50% - 65px); }
  .product-info { padding: 17px; }
  .faq-section { grid-template-columns: 1fr; gap: 25px; padding-top: 55px; padding-bottom: 61px; }
}

@media (max-width: 520px) {
  .brand { gap: 7px; font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; font-size: 17px; }
  .header-cta { max-width: 125px; font-size: 10px; text-align: right; }
  .hero { padding-top: 45px; }
  h1 { font-size: 43px; }
  .hero-description { font-size: 14px; }
  .hero-art { min-height: 340px; }
  .book { width: 166px; height: 238px; }
  .book-cover-name { font-size: 21px; }
  .sunburst { width: 245px; height: 245px; }
  .note-top { top: 28px; left: 6%; font-size: 14px; }
  .note-bottom { right: 5%; bottom: 48px; font-size: 14px; }
  .steps { grid-template-columns: 1fr; gap: 25px; }
  .step p { max-width: 300px; }
  .stories-heading { align-items: start; flex-direction: column; gap: 10px; }
  .stories-intro { max-width: 100%; }
  .product-card { grid-template-columns: 1fr; }
  .cover { min-height: 250px; }
  .cover::after { width: 165px; height: 165px; top: 43px; left: calc(50% - 82px); }
  .cover-title { font-size: 28px; }
  .cover-ornament { margin-top: 15px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; gap: 12px; padding-top: 27px; padding-bottom: 21px; }
  .footer-email { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.real-cover {
  width: 100%;
  aspect-ratio: 1200 / 1698;
  display: block;
  object-fit: cover;
}
[hidden]{display:none!important}

.product-summary { margin: 12px 0; font-size: 14px; line-height: 1.55; }
.product-summary summary { cursor: pointer; font-family: var(--serif); font-weight: 600; color: var(--wine); }
.product-summary p { margin: 8px 0 0; }
.product-tropes { font-style: italic; }

/* On-site checkout */
button.button { cursor: pointer; }
.button:disabled { opacity: .6; cursor: wait; transform: none; }
.checkout {
  width: min(420px, calc(100vw - 32px));
  padding: 34px 30px 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
}
.checkout::backdrop { background: rgba(41, 38, 35, .45); }
.checkout h2 { margin: 6px 0 20px; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.checkout label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.checkout input {
  width: 100%;
  min-height: 44px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.checkout input:focus { outline: 2px solid var(--wine); outline-offset: 1px; }
.checkout-close {
  position: absolute; top: 10px; right: 12px;
  border: 0; background: none; color: var(--muted);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.checkout-fine { margin: 12px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.checkout-fine a, .download-page a:not(.button) { color: var(--wine); }
.checkout-status { min-height: 1em; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.checkout-status.is-error { color: var(--wine-dark); }
.download-page { max-width: 520px; margin: 0 auto; padding: 70px 16px 90px; }
.download-page h1 { font-size: clamp(32px, 6vw, 44px); margin: 8px 0 14px; }
.download-page .button-buy { width: auto; margin: 10px 0 18px; }
.download-note { color: var(--muted); font-size: 13px; }
