/* Shared layout adjustments for both ebook editions. */
.ebook-page #book-sticky { min-height: 72px; gap: 24px; padding: 12px var(--pad); padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.ebook-page #book-sticky strong { font-size: 18px; }
.ebook-page #book-sticky .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.ebook-page .ebook-launch-price { display: flex; align-items: baseline; justify-content: center; gap: 12px; }
.ebook-launch-price s { color: #ddd; font-family: var(--sans); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.ebook-page .kye-closing { align-items: center; padding-top: clamp(90px, 14vh, 150px); }
.ebook-carousel-controls { display: none; }

@media (max-width: 700px) {
  html:has(.ebook-page) { scroll-padding-top: calc(56px + env(safe-area-inset-top)); }
  .ebook-page { --marcus-body-size: 16px; --kye-body-size: 16px; --marcus-body-leading: 1.45; --kye-body-leading: 1.45; --ebook-header: calc(56px + env(safe-area-inset-top)); --ebook-bar: calc(60px + env(safe-area-inset-bottom)); --ebook-stage: calc(100svh - var(--ebook-header) - var(--ebook-bar)); }
  .ebook-page .nav.solid { height: var(--ebook-header); min-height: 0; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; gap: 14px; flex-wrap: nowrap; }
  .ebook-page #site-header { background: rgba(0,0,0,.76); color: #fff; }
  .ebook-page .nav .logo { flex: 0 0 auto; }
  .ebook-page .nav .logo svg { height: 11px; }
  .ebook-page .nav nav { order: 0; flex: 0 0 auto; gap: 16px; margin: 0 0 0 auto; font-size: 12px; }
  .ebook-page .nav nav a { display: inline-flex; align-items: center; min-height: 32px; }
  .ebook-page #book-sticky { min-height: var(--ebook-bar); gap: 12px; justify-content: space-between; padding: 7px 16px calc(7px + env(safe-area-inset-bottom)); }
  .ebook-page #book-sticky > div { gap: 0; text-align: left; }
  .ebook-page #book-sticky strong { font-size: 13px; line-height: 1.25; }
  .ebook-page #book-sticky > div span { font-size: 12px; line-height: 1.4; }
  .ebook-page #book-sticky .btn { min-height: 44px; max-width: none; padding: 9px 12px; font-size: 13px; white-space: nowrap; }
  .ebook-page .ebook-shell { width: calc(100% - 40px); }
  .ebook-page main > section { min-height: var(--ebook-stage); padding: 24px 0; display: flex; align-items: center; }
  /* Text lists and benefit cards flow naturally down the page. */
  .ebook-page main > :is(.ebook-included, .ebook-benefits, .ebook-faq) { min-height: 0; height: auto; padding: 48px 0; display: block; }
  .ebook-page :is(.ebook-included-grid, .ebook-benefits-grid) { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ebook-page .ebook-included-grid { gap: 28px; }
  .ebook-page main h2 { font-size: 28px; line-height: 1.1; }
  .ebook-page main h3 { font-size: 22px; line-height: 1.15; }
  .ebook-page main p { font-size: 16px; line-height: 1.45; }
  .ebook-page main .btn-lg { min-height: 44px; padding: 10px 20px; font-size: 15px; }
  .ebook-page main > .ebook-book-hero { min-height: 100svh; padding: calc(var(--ebook-header) + 12px) 20px 20px; }
  .ebook-page .ebook-launch-copy { gap: 10px; }
  .ebook-page main #hero-title { font-size: clamp(26px, 7.2vw, 32px); line-height: 1.05; }
  .ebook-page main #hero-title .ebook-hero-author { margin-top: 8px; font-size: 22px; }
  .ebook-page main .ebook-hero-subtitle { max-width: 330px; margin: 0; font-size: 15px; line-height: 1.4; }
  .ebook-page .ebook-launch-cover { width: auto; height: clamp(100px, calc(100svh - 420px), 330px); max-width: none; margin: 0 !important; aspect-ratio: 2 / 3; }
  .ebook-page .ebook-launch-cover img { width: auto; height: 100%; }
  .ebook-page .ebook-launch-access { min-width: 220px; }
  .ebook-page .ebook-launch-price { margin: 0; font-size: 28px; line-height: 1.15; }
  .ebook-page .ebook-launch-price s { font-size: 13px; }
  .ebook-page .ebook-launch-scroll { display: none; }
  .ebook-page .ebook-introduction .ebook-shell > p { margin-top: 20px; font-size: 16px; line-height: 1.5; }
  .ebook-page .ebook-care { min-height: var(--ebook-stage); }
  .ebook-page .ebook-care h2 { font-size: 23px; }

  /* A complete card stays in view; swiping or arrows reveals the next card. */
  .ebook-page .ebook-carousel { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0; margin: 0; align-items: stretch; }
  .ebook-page .ebook-carousel::-webkit-scrollbar { display: none; }
  .ebook-page .ebook-carousel > * { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .ebook-page .ebook-carousel-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; }
  .ebook-page .ebook-carousel-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; font-size: 22px; }
  .ebook-carousel-controls span { min-width: 52px; color: inherit; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
  .ebook-page .ebook-journey-top { display: block; margin-bottom: 16px; }
  .ebook-page .ebook-journey-top h2 { font-size: 28px; }
  .ebook-page [class$="-carousel-controls"]:not(.ebook-carousel-controls) { display: none; }
  .ebook-page .ebook-journey { min-height: calc(100dvh - var(--ebook-header) - var(--ebook-bar)); --marcus-body-size: 15px; --kye-body-size: 15px; }
  .ebook-page .ebook-week-label { margin-bottom: 10px; font-size: 14px; line-height: 1.3; }
  .ebook-page .ebook-week-photo { aspect-ratio: auto; height: var(--ebook-image-height, 140px); }
  .ebook-page .ebook-week-card h3 { min-height: 0; margin: 14px 0 10px; font-size: 22px; }
  .ebook-page .ebook-week-card > p:last-child { font-size: 15px; line-height: 1.45; }
  .ebook-page .ebook-included h2 { margin-bottom: 24px; }
  .ebook-page .ebook-included-item { padding-top: 20px; }
  .ebook-page .ebook-included-item h3 { margin-bottom: 16px; font-size: 26px; }
  .ebook-page .ebook-included-item p { font-size: 16px; line-height: 1.5; }
  .ebook-page .ebook-time-cta { padding: 0; margin-top: 24px; }
  .ebook-page .ebook-benefits { display: block; }
  .ebook-page .ebook-benefit-card { display: flex; flex-direction: column; justify-content: center; gap: 20px; min-height: 0; padding: 28px; }
  .ebook-page .ebook-benefit-card > div { margin: 0; }
  .ebook-page .ebook-benefit-card svg { width: 44px; height: 44px; }
  .ebook-page .ebook-benefit-card :is(h2,h3) { min-height: 0; margin: 0; font-size: 27px; }
  .ebook-page .ebook-benefit-card p { margin: 0; font-size: 16px; line-height: 1.5; }
  .ebook-page .ebook-benefits-grid { width: calc(100% - 40px); margin-inline: auto; }
  .ebook-page .ebook-about { padding: 24px 0; }
  .ebook-page .ebook-about [class$="-parallax-frame"] { height: auto; bottom: 0; }
  .ebook-page .ebook-about [class$="-about-shade"] { background: linear-gradient(90deg, #000d, #000a); }
  .ebook-page .ebook-about-copy { max-width: 100%; }
  .ebook-page .ebook-about-eyebrow { margin: 0 0 12px; font-size: 13px; }
  .ebook-page .ebook-about h2 { margin-bottom: 20px; }
  .ebook-page .ebook-about .ebook-about-copy > p:not(.ebook-about-eyebrow) { font-size: 16px; line-height: 1.45; }
  .ebook-page .ebook-about p + p { margin-top: 14px; }
  .ebook-page .ebook-faq-layout { display: block; }
  .ebook-page .ebook-faq h2 { margin-bottom: 24px; }
  .ebook-page .ebook-faq-list { border-top: 0; }
  .ebook-page .ebook-faq-list details { border-top: 1px solid currentColor; border-bottom: 0; }
  .ebook-page .ebook-faq-list summary { padding: 20px 0 16px; font-size: 20px; line-height: 1.25; cursor: pointer; }
  .ebook-page .ebook-faq-list details > div { padding: 0 0 20px; font-size: 16px; line-height: 1.5; }
  .ebook-page .ebook-faq-list details p { font-size: 16px; line-height: 1.5; }
  .ebook-page .ebook-closing { min-height: var(--ebook-stage); padding: 24px 0; align-items: center; }
  .ebook-page .ebook-closing h2 { font-size: 32px; }
  .ebook-page .ebook-closing-copy > p:not(.sr) { margin: 20px auto 0; font-size: 16px; line-height: 1.5; }
  .ebook-page .ebook-closing .btn { margin-top: 24px; }

  .ebook-page #site-footer { padding: 24px 20px 0; }
  .ebook-page .foot-top { gap: 24px; margin-bottom: 24px; }
  .ebook-page .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .ebook-page .foot-cols nav { gap: 0; font-size: 11px; }
  .ebook-page .foot-cols .mono { margin-bottom: 8px; font-size: 12px; }
  .ebook-page .foot-cols a { display: flex; align-items: center; width: auto; min-height: 44px; }
  .ebook-page .foot-logo { margin: 0; }
}
@media (max-width: 700px) and (max-height: 650px) {
  .ebook-page main > section { padding-block: 16px; }
  .ebook-page .ebook-shell { width: calc(100% - 32px); }
  .ebook-page .ebook-launch-copy { gap: 8px; }
  .ebook-page main #hero-title { font-size: 27px; }
  .ebook-page .ebook-carousel-controls { margin-top: 12px; }
  .ebook-page .ebook-journey-top { margin-bottom: 12px; }
  .ebook-page .ebook-week-card h3 { margin: 10px 0 8px; font-size: 20px; }
  .ebook-page .ebook-journey { --marcus-body-size: 14px; --kye-body-size: 14px; --marcus-body-leading: 1.4; --kye-body-leading: 1.4; }
  .ebook-page .ebook-week-card > p:last-child { font-size: 14px; line-height: 1.4; }
  .ebook-page .ebook-about { --marcus-body-size: 15px; --kye-body-size: 15px; --marcus-body-leading: 1.4; --kye-body-leading: 1.4; }
  .ebook-page .ebook-about .ebook-about-copy > p:not(.ebook-about-eyebrow) { font-size: 15px; line-height: 1.4; }
  .ebook-page .ebook-about h2 { margin-bottom: 14px; }
  .ebook-page .ebook-about p + p { margin-top: 12px; }
  .ebook-page .ebook-faq h2 { margin-bottom: 16px; }
  .ebook-page .ebook-faq-list details p { font-size: 15px; line-height: 1.4; }
}

@media (max-width: 360px) and (max-height: 650px) {
  .ebook-page #book-sticky strong { display: none; }
  .ebook-page #book-sticky > div span { font-size: 14px; }
  .ebook-page .ebook-about { --marcus-body-size: 14px; --kye-body-size: 14px; }
  .ebook-page .ebook-about .ebook-about-copy > p:not(.ebook-about-eyebrow) { font-size: 14px; line-height: 1.4; }
}

/* Keep all four top-menu links on one row on smaller iPhones. */
@media (max-width: 700px) {
  .ebook-page .nav nav { gap: 12px; }
}
@media (max-width: 360px) {
  .ebook-page .nav.solid { gap: 8px; padding-inline: 12px; }
  .ebook-page .nav .logo svg { height: 9px; }
  .ebook-page .nav nav { gap: 10px; font-size: 11px; }
}

/* FAQ treatment matched to the supplied Yang Mun bundle reference. */
.ebook-page .ebook-faq {
  --line: #ebefdf;
  min-height: 0;
  height: auto;
  display: block;
  padding: 80px 0;
  background: #fdfcf8;
  color: #22261e;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.ebook-page .ebook-faq .ebook-shell { width: calc(100% - 40px); max-width: 1000px; margin-inline: auto; }
.ebook-page .ebook-faq-layout { display: block; }
.ebook-page .ebook-faq .ebook-faq-eyebrow { margin: 0 0 12px; font-family: inherit; font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; color: #657354; }
.ebook-page .ebook-faq h2 { margin: 0; max-width: none; font-family: inherit; font-size: clamp(27px, 4.5vw, 38px); font-weight: 750; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; color: #22261e; }
.ebook-page .ebook-faq-list { margin-top: 28px; border: 0; }
.ebook-page .ebook-faq-list details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid #ebefdf; }
.ebook-page .ebook-faq-list details:first-child { border-top: 1px solid #ebefdf; }
.ebook-page .ebook-faq-list summary { position: relative; display: block; margin: 0; padding: 19px 30px 19px 0; font-family: inherit; font-size: 15.5px; font-weight: 700; line-height: 1.6; letter-spacing: normal; color: #1f2419; cursor: pointer; list-style: none; }
.ebook-page .ebook-faq-list summary::-webkit-details-marker { display: none; }
.ebook-page .ebook-faq-list summary::after { content: "+"; position: absolute; top: 16px; right: 2px; display: block; width: auto; height: auto; margin: 0; background: none; font-size: 20px; font-weight: 300; line-height: 1.6; color: #2e3b22; transform: none; transition: transform .3s ease; }
.ebook-page .ebook-faq-list details[open] summary::after { transform: rotate(45deg); }
.ebook-page .ebook-faq-list summary:focus-visible { outline: 2px solid #657354; outline-offset: 4px; }
.ebook-page .ebook-faq-list details > div { max-width: 640px; margin: 0; padding: 0 0 19px; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.65; color: #6a7160; }
.ebook-page .ebook-faq-list details p { max-width: 640px; margin: 0; padding: 0; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.65; color: #6a7160; }
.ebook-page .ebook-faq-list details p + p { margin-top: 12px; }
@media (max-width: 700px) { .ebook-page main > .ebook-faq { padding: 48px 0; } }
@media (prefers-reduced-motion: reduce) { .ebook-page .ebook-faq-list summary::after { transition: none; } }

/* Compact footer navigation after removing ebook help links. */
.ebook-page #site-footer .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ebook-page #site-footer .foot-cols nav { gap: 8px; line-height: 1.3; }
@media (max-width: 700px) {
  .ebook-page #site-footer .foot-cols nav { gap: 0; }
  .ebook-page #site-footer .foot-cols a { min-height: 28px; line-height: 1.3; }
}

/* Clear product delivery and an explicit route into the guide. */
.ebook-page main .ebook-book-hero .ebook-delivery-note { margin: 0; font-size: 13px; line-height: 1.35; color: #eee; }
.ebook-page main .ebook-book-hero .ebook-launch-scroll { display: inline-flex; justify-content: center; align-items: center; gap: 6px; width: auto; height: auto; min-height: 44px; margin: 0; padding: 8px 4px; font-size: 14px; line-height: 1.3; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .ebook-page .ebook-launch-cover { height: clamp(100px, calc(100svh - 500px), 330px); }
}

/* A compact, practical introduction and a genuine page preview. */
.ebook-page main > .ebook-practices { display: block; min-height: 0; height: auto; padding: 64px 0; background: #f7f7f3; color: #171917; }
.ebook-page .ebook-practices-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 280px); gap: clamp(32px, 6vw, 88px); align-items: center; max-width: 1100px; }
.ebook-page main .ebook-practices h2 { margin: 0; max-width: 680px; font-family: var(--sans); font-size: clamp(28px, 3.2vw, 42px); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.ebook-page main .ebook-practices-lede { margin: 16px 0 0; max-width: 560px; font-size: 18px; line-height: 1.45; }
.ebook-practices-list { display: grid; gap: 18px; margin: 26px 0; }
.ebook-practices-list dt { font-size: 19px; line-height: 1.3; font-weight: 600; }
.ebook-practices-list dd { margin: 5px 0 0; max-width: 540px; font-size: 16px; line-height: 1.45; color: #4a4d48; }
.ebook-page main .ebook-practices-pace { margin: 0 0 18px; font-size: 16px; line-height: 1.4; }
.ebook-page main .ebook-practices-delivery { margin: 9px 0 0; font-size: 13px; line-height: 1.4; color: #555a52; }
.ebook-practices-preview { margin: 0; }
.ebook-practices-preview > a { display: block; }
.ebook-practices-preview img { display: block; width: 100%; height: auto; box-shadow: 0 8px 28px #0002; }
.ebook-practices-preview figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: #555a52; }
.ebook-practices-preview figcaption a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: #005eb8; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .ebook-page main > .ebook-practices { padding: 36px 0; }
  .ebook-page .ebook-practices-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ebook-page main .ebook-practices h2 { font-size: 28px; }
  .ebook-page main .ebook-practices-lede { font-size: 16px; }
  .ebook-practices-list { gap: 16px; margin: 22px 0; }
  .ebook-practices-list dt { font-size: 18px; }
  .ebook-page .ebook-practices-preview { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; }
  .ebook-practices-preview figcaption { margin: 0; }
}
