:root {
  --ink: #22333b;
  --muted: #58676c;
  --paper: #f6f1e8;
  --paper-2: #ede4d6;
  --white: #fffaf1;
  --clay: #b85c45;
  --clay-dark: #8e3f30;
  --gold: #d6b36b;
  --line: rgba(34, 51, 59, 0.16);
  --shadow: 0 24px 56px rgba(34, 51, 59, 0.18);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.topbar,
.launch-hero,
.quiet-proof,
.editorial-section,
.preview-section,
.review-section,
.fit-section,
.author-note,
.buy-section,
.footer {
  width: min(100% - 32px, 1060px);
  margin: 0 auto;
}

.topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
}

.topbar-link {
  color: var(--clay);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.launch-hero {
  padding: 38px 0 30px;
  display: grid;
  gap: 28px;
  align-content: start;
}

.hero-art {
  display: none;
  width: min(50vw, 190px);
  margin: 0 auto;
  position: relative;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 10% -16% 5% 14%;
  z-index: -1;
  background: rgba(184, 92, 69, 0.14);
  filter: blur(26px);
}

.ebook-frame {
  aspect-ratio: 599 / 900;
  border-radius: 4px 8px 8px 4px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ebook-frame img,
.page-preview-strip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-art img {
  border-radius: 4px 8px 8px 4px;
}

.hero-copy {
  max-width: 680px;
}

.mobile-title-ebook {
  width: min(46vw, 180px);
  margin: 26px auto 24px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.24rem, 9.6vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 7.4vw, 4rem);
}

.subtitle,
.editorial-section > p,
.author-note p,
.buy-section > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 4.8vw, 1.32rem);
  line-height: 1.45;
}

.buy-line {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.button {
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clay);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(184, 92, 69, 0.2);
}

.button:hover {
  background: var(--clay-dark);
}

.button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.button[aria-disabled="true"] {
  opacity: 0.62;
  pointer-events: none;
}

.button.secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button.full {
  width: 100%;
}

.buy-line span,
.microcopy,
.notice {
  color: rgba(34, 51, 59, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.microcopy {
  margin: 10px 0 0;
}

.microcopy a {
  font-weight: 900;
}

.status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--clay-dark);
  font-weight: 800;
}

.quiet-proof {
  padding: 18px 0 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quiet-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.editorial-section,
.buy-section {
  padding: 54px 0;
}

.recognition {
  padding-top: 64px;
}

.preview-section {
  padding: 54px 0;
}

.preview-copy {
  max-width: 760px;
}

.preview-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 4.8vw, 1.32rem);
  line-height: 1.45;
}

.page-preview-strip {
  width: calc(100% + 32px);
  margin: 26px -16px 0;
  padding: 0 16px 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 62vw);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-preview-strip figure {
  margin: 0;
  scroll-snap-align: start;
  cursor: zoom-in;
}

.page-preview-strip figure:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 5px;
}

.page-preview-strip img {
  aspect-ratio: 599 / 900;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(34, 51, 59, 0.14);
}

.page-preview-strip figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.preview-cta {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.preview-cta span {
  color: rgba(34, 51, 59, 0.64);
  font-size: 0.84rem;
  font-weight: 800;
}

.preview-reader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  height: 100dvh;
  margin: 0;
  border: 0;
  padding: 0;
  background: #14100c;
  color: var(--white);
  display: none;
}

.preview-reader.is-open {
  display: block;
}

body.reader-open {
  overflow: hidden;
}

.reader-shell {
  height: 100dvh;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
}

.reader-topbar,
.reader-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reader-topbar p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
}

.reader-close,
.reader-nav {
  min-height: 42px;
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 6px;
  padding: 0 14px;
  background: rgba(255, 250, 241, 0.08);
  color: var(--white);
  font: inherit;
  font-weight: 900;
}

.reader-close {
  min-width: 82px;
}

.reader-stage {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  text-align: center;
}

.reader-stage img {
  width: auto;
  max-width: none;
  min-width: min(100%, 520px);
  height: auto;
  max-height: none;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
}

.reader-stage::before,
.reader-stage::after {
  content: "";
  display: block;
  height: 1px;
}

.reader-nav {
  width: min(46vw, 220px);
}

.quote-band {
  width: 100%;
  padding: 54px max(16px, calc((100% - 1060px) / 2));
  background: var(--ink);
  color: var(--white);
}

.quote-band p {
  max-width: 760px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 250, 241, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 7vw, 3rem);
  line-height: 1.12;
}

.quote-band p:last-child {
  border-bottom: 0;
}

.chapter-lines {
  margin-top: 24px;
}

.chapter-lines p {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
}

.chapter-lines span {
  display: block;
  margin-bottom: 6px;
  color: var(--clay);
  font-weight: 900;
}

.fit-section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
}

.fit-section h2 {
  max-width: 760px;
}

.fit-list {
  display: grid;
  gap: 12px;
}

.fit-list p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 4.7vw, 1.48rem);
  line-height: 1.36;
}

.fit-list span {
  display: block;
  margin-bottom: 5px;
  color: var(--clay);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.author-note {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
}

.author-note img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.review-section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.review-intro {
  max-width: 780px;
}

.review-intro p {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.04rem, 4vw, 1.24rem);
  line-height: 1.45;
}

.review-grid {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.review-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.58);
  box-shadow: 0 14px 34px rgba(34, 51, 59, 0.08);
}

.review-card.featured {
  background: rgba(237, 228, 214, 0.7);
}

.review-topline {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.review-topline strong,
.review-topline span {
  display: block;
}

.review-topline span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.stars {
  margin-top: 14px;
  display: flex;
  gap: 5px;
}

.stars span {
  width: 15px;
  height: 15px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 56%, 80% 92%, 50% 70%, 20% 92%, 32% 56%, 2% 35%, 39% 35%);
}

.review-card p {
  margin: 14px 0 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.32;
}

.buy-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-fineprint {
  margin-top: 14px;
}

.offer-fineprint p {
  margin: 4px 0 0;
  color: rgba(34, 51, 59, 0.58);
  font-size: 0.76rem;
  line-height: 1.35;
}

.final-buy {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.final-buy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.faq details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.sticky-buy {
  display: none;
}

.sticky-buy strong,
.sticky-buy span {
  display: block;
}

.sticky-buy span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.sticky-buy .button {
  min-width: 128px;
}

.footer {
  padding: 24px 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-page {
  min-height: 100vh;
  padding: 26px 16px 46px;
}

.checkout-wrap {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.checkout-cover {
  display: none;
}

.checkout-copy {
  order: 1;
}

.checkout-copy h1 {
  font-size: clamp(2.45rem, 11vw, 4.8rem);
}

.checkout-summary,
.delivery-box,
.legal-card {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.58);
}

.payment-form {
  display: grid;
  gap: 14px;
}

.line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.field-label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.field-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field-input:focus {
  outline: 2px solid rgba(184, 92, 69, 0.28);
  outline-offset: 2px;
  border-color: rgba(184, 92, 69, 0.55);
}

.coupon-box {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.coupon-box summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 900;
}

.coupon-row {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.payment-element-wrap {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.stripe-card-field {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  background: var(--white);
}

.stripe-card-field.StripeElement--focus {
  outline: 2px solid rgba(184, 92, 69, 0.28);
  outline-offset: 2px;
  border-color: rgba(184, 92, 69, 0.55);
}

.stripe-card-field.StripeElement--invalid {
  border-color: rgba(142, 63, 48, 0.7);
}

.card-field-grid {
  display: grid;
  gap: 10px;
}

.line.total {
  border-bottom: 0;
  font-weight: 900;
}

.delivery-box[hidden] {
  display: none;
}

.copyright-notice {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.copyright-notice strong {
  display: block;
  color: var(--clay-dark);
}

.copyright-notice p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .launch-hero {
    min-height: calc(100vh - 58px);
    padding: 52px 0 72px;
    grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
  }

  .hero-art {
    display: block;
    width: min(360px, 100%);
    margin: 0 auto;
    position: relative;
  }

  .mobile-title-ebook {
    display: none;
  }

  .buy-line,
  .final-buy {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .quiet-proof {
    padding: 22px 0;
  }

  .editorial-section,
  .preview-section,
  .review-section,
  .fit-section,
  .buy-section {
    padding: 86px 0;
  }

  .preview-section {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: 48px;
    align-items: start;
  }

  .page-preview-strip {
    width: 100%;
    margin: 0;
    padding: 0 0 18px;
    grid-auto-columns: minmax(150px, 190px);
  }

  .preview-cta {
    grid-column: 2;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .reader-shell {
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: 18px;
  }

  .reader-stage img {
    min-width: 760px;
    width: min(92vw, 940px);
  }

  .review-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .fit-section {
    grid-template-columns: 0.88fr 1fr;
    gap: 56px;
    align-items: start;
  }

  .review-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
  }

  .review-card p {
    margin-top: 18px;
  }

  .author-note {
    grid-template-columns: 0.48fr 1fr;
    align-items: center;
    gap: 56px;
  }

  .sticky-buy {
    display: none;
  }

  .checkout-wrap {
    min-height: calc(100vh - 52px);
    align-items: center;
  }

  .checkout-cover {
    display: none;
    order: 1;
    width: min(310px, 100%);
    margin: 0 auto;
    border-radius: 4px 8px 8px 4px;
    box-shadow: var(--shadow);
  }

  .checkout-copy {
    order: 2;
  }

  .coupon-row {
    grid-template-columns: 1fr auto;
  }

  .card-field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-height: 520px) and (max-width: 900px) {
  .topbar {
    min-height: 44px;
  }

  .launch-hero {
    padding: 18px 0 28px;
    grid-template-columns: minmax(0, 1fr) 116px;
    align-items: center;
    gap: 16px;
  }

  .hero-art {
    display: block;
    width: 116px;
  }

  .mobile-title-ebook {
    display: none;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 8px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2rem, 8.4vw, 3.25rem);
    line-height: 1.02;
  }

  .subtitle,
  .editorial-section > p,
  .author-note p,
  .buy-section > p {
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.36;
  }

  .buy-line {
    margin-top: 14px;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .button {
    min-height: 44px;
  }

  .microcopy {
    margin-top: 8px;
    font-size: 0.82rem;
  }
}
