/* Dedicated landing-page layout. Chapter content remains in the guide CMS. */
.guide-original-hero {
  max-width: 940px;
  margin: 0 auto 64px;
  padding-top: 28px;
  text-align: center;
}
.guide-original-hero__art {
  width: 310px;
  margin: 0 auto 12px;
}
.guide-original-hero h1 {
  max-width: 940px;
  margin: 0 auto 32px;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.15;
}
.guide-original-hero__free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff1f2;
  color: #991b1b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.guide-original-hero__free svg {
  flex-shrink: 0;
}
.guide-letter {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--guide-line);
  border-radius: 20px;
  background: var(--guide-paper);
  box-shadow: 0 8px 36px rgb(23 23 23 / 4%);
}
.guide-letter__video {
  padding: 64px 64px 0;
}
.guide-letter__video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #171717;
}
.guide-letter__body {
  padding: 24px 64px 64px;
  font-size: 17px;
  line-height: 1.85;
}
.guide-letter__body > p {
  margin: 24px 0;
}
.guide-letter__body > h2 {
  margin: 56px 0 24px;
  font-size: 34px;
  line-height: 1.25;
  text-wrap: pretty;
}
.guide-letter__skip {
  display: block;
  text-align: center;
  font-size: 14px;
  color: var(--guide-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 56px;
}
.guide-letter__body .guide-letter__opening {
  margin-top: 42px;
  font-size: 21px;
  font-weight: 600;
}
.guide-evidence {
  margin: 26px 0 32px;
}
.guide-evidence h3 {
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 16px;
}
.guide-evidence img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: white;
}
.guide-evidence figcaption {
  margin-top: 8px;
  color: var(--guide-muted);
  font-size: 12px;
  text-align: right;
}
.guide-letter__benefits {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding-left: 1.25em;
}
.guide-letter__benefits li {
  list-style: disc;
  font-weight: 600;
}
.guide-founder-quote {
  margin: 32px 0;
  padding: 28px 30px;
  border-left: 3px solid #e45b5b;
  border-radius: 0 12px 12px 0;
  background: #faf7f5;
  font-size: 16px;
}
.guide-founder-quote p {
  margin: 0 0 18px;
}
.guide-founder-quote ol {
  list-style: decimal;
  padding-left: 22px;
  margin-bottom: 20px;
}
.guide-founder-quote li {
  padding-left: 4px;
  margin: 12px 0;
}
.guide-founder-quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.guide-founder-quote img,
.guide-letter__signature img {
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}
.guide-founder-quote cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.guide-letter__principles {
  list-style: disc;
  padding-left: 22px;
  margin: 24px 0;
}
.guide-letter__principles li {
  padding-left: 6px;
  margin: 10px 0;
}
.guide-letter__principles li::marker {
  color: #d94c4c;
}
.guide-outcomes {
  list-style: none;
  display: grid;
  gap: 28px;
  padding: 0;
  margin: 32px 0;
}
.guide-outcomes li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
}
.guide-outcomes__number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--guide-line);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
}
.guide-outcomes h3 {
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 8px;
  line-height: 1.5;
}
.guide-outcomes p {
  margin: 0;
  color: var(--guide-muted);
}
.guide-letter__signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
}
.guide-letter__signature span,
.guide-letter__signature strong {
  display: block;
}
.guide-letter__signature span {
  font-size: 12px;
  color: var(--guide-muted);
}
.guide-letter__signature strong {
  font-size: 16px;
}

.guide-book-section {
  padding: 100px 20px 40px;
  text-align: center;
  scroll-margin-top: 90px;
}
.guide-book-section > h2 {
  max-width: 700px;
  margin: 0 auto 42px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.2;
}
/* A stationary hit area surrounds the cover and its subtly fanned pages. */
.guide-book-link {
  --book-width: 240px;
  --book-lift: 0px;
  --cover-angle: 0deg;
  --book-angle: 0deg;
  --page-angle: 0deg;
  --page-spread: 0px;
  --book-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-flex;
  width: min(100%, 340px);
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-radius: 12px;
}
.guide-book-stage {
  position: relative;
  display: block;
  width: 100%;
  height: calc(var(--book-width) * 1.3 + 35px);
  perspective: 1400px;
}
.guide-book {
  position: absolute;
  top: 0;
  left: calc(50% - var(--book-width) / 2);
  display: block;
  width: var(--book-width);
  height: calc(var(--book-width) * 1.3);
  text-align: left;
  transform-style: preserve-3d;
  transform: translateY(var(--book-lift)) rotateY(var(--book-angle));
  transition: transform 550ms var(--book-ease);
}
.guide-book-shadow {
  position: absolute;
  inset: 8px calc((100% - var(--book-width)) / 2) 35px;
  border-radius: 3px 8px 8px 3px;
  box-shadow:
    0 24px 28px -12px rgb(100 35 35 / 24%),
    -8px 5px 12px -8px rgb(0 0 0 / 22%);
}
.guide-book__back,
.guide-book__sheet,
.guide-book__cover,
.guide-book__front {
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 3px 8px 8px 3px;
  transform-origin: left center;
}
.guide-book__back {
  inset: 1px;
  background: #ad4141;
  border: 1px solid #9e3636;
}
.guide-book__sheet {
  inset: 4px 6px 4px 3px;
  border-radius: 2px 5px 5px 2px;
  border: 1px solid #e2d8d3;
  background: linear-gradient(90deg, #d9cfca, #faf7f3 12%, #fffdfa 80%, #f3e8e2);
  box-shadow: 1px 0 1px rgb(0 0 0 / 4%);
  transition: transform 600ms var(--book-ease);
}
.guide-book__sheet--first {
  transform: translateX(var(--page-spread)) translateZ(2px) rotateY(calc(var(--page-angle) * 0.2));
}
.guide-book__sheet--second {
  transform: translateX(calc(var(--page-spread) * 0.75)) translateZ(4px) rotateY(calc(var(--page-angle) * 0.4));
}
.guide-book__sheet--third {
  transform: translateX(calc(var(--page-spread) * 0.5)) translateZ(6px) rotateY(calc(var(--page-angle) * 0.6));
}
.guide-book__sheet--fourth {
  transform: translateX(calc(var(--page-spread) * 0.25)) translateZ(8px) rotateY(calc(var(--page-angle) * 0.8));
}
.guide-book__sheet--fifth {
  transform: translateZ(10px) rotateY(var(--page-angle));
}
.guide-book__cover {
  transform: translateZ(13px) rotateY(var(--cover-angle));
  transition: transform 650ms var(--book-ease);
}
.guide-book__front {
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background:
    radial-gradient(ellipse at 100% 0%, #f7c9c4 0%, transparent 58%), linear-gradient(155deg, #fffaf5 25%, #fce7e1 100%);
  color: #482e2c;
  box-shadow:
    inset 0 0 0 1px rgb(133 54 44 / 12%),
    inset 0 1px 1px white,
    2px 2px 4px rgb(0 0 0 / 6%);
  padding: 28px 26px 30px 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* The binding crease and fine weave give the cover depth without a heavy bevel. */
.guide-book__front::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, rgb(0 0 0 / 4%) 2px 3px),
    repeating-linear-gradient(90deg, transparent 0 2px, rgb(0 0 0 / 4%) 2px 3px);
}
.guide-book__front::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ad3838 0%,
    #dd6260 2%,
    #c44949 3.5%,
    rgb(121 42 34 / 15%) 4%,
    rgb(255 255 255 / 75%) 5%,
    transparent 8%
  );
}
.guide-book__motif {
  position: absolute;
  top: 54px;
  right: -18px;
  display: grid;
  justify-items: end;
  gap: 8px;
  transform: rotate(-18deg);
}
.guide-book__motif i {
  display: block;
  width: 100px;
  height: 15px;
  border: 1px solid rgb(173 61 52 / 10%);
  background: linear-gradient(90deg, rgb(227 91 79 / 6%), rgb(214 71 61 / 22%));
  box-shadow: 0 1px 0 rgb(255 255 255 / 65%);
}
.guide-book__motif i:nth-child(2) {
  width: 125px;
}
.guide-book__motif i:nth-child(3) {
  width: 150px;
}
.guide-book__logo {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
}
.guide-book__cover-copy {
  position: relative;
  display: block;
}
.guide-book__badge {
  display: inline-block;
  padding: 3px 9px;
  margin-bottom: 12px;
  border: 1px solid #e7b8ad;
  border-radius: 4px;
  background: rgb(255 250 245 / 60%);
  color: #9d4140;
  font-size: 12px;
  line-height: 1.3;
}
.guide-book__title {
  display: block;
  font-family: "Source Serif Pro", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}
.guide-book-link__cover {
  display: block;
  width: 100%;
}
.guide-book-link:focus-within {
  --cover-angle: -24deg;
  --book-angle: -3deg;
  --page-angle: -10deg;
  --page-spread: 4px;
  --book-lift: -3px;
}
@media (hover: hover) and (pointer: fine) {
  .guide-book-link:hover {
    --cover-angle: -24deg;
    --book-angle: -3deg;
    --page-angle: -10deg;
    --page-spread: 4px;
    --book-lift: -3px;
  }
}
.guide-book-section__outcomes {
  max-width: 690px;
  margin: 55px auto 0;
  text-align: left;
  font-size: 17px;
  line-height: 1.8;
}
.guide-book-section__outcomes > p {
  font-weight: 650;
  margin-bottom: 24px;
  text-align: center;
}
.guide-book-section__outcomes ul {
  display: grid;
  gap: 12px;
  padding-left: 1.25em;
}
.guide-book-section__outcomes li {
  list-style: disc;
}

.guide-landing {
  padding-inline: 1rem;
}
.guide-chapter-overview {
  margin: 75px 0 0;
}
.guide-chapter-overview > header {
  max-width: 700px;
  text-align: center;
  margin: 0 auto 50px;
}
.guide-chapter-timeline {
  --timeline-surface: #fff;
  --timeline-progress: #e45b5b;
  width: calc(100% + 2rem);
  margin-inline: -1rem;
  padding: 0;
  border-radius: 0;
}
.dark .guide-chapter-timeline {
  --timeline-surface: #262626;
}
.guide-chapter-timeline__inner {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
}
.guide-timeline-track {
  position: absolute;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--guide-line);
  pointer-events: none;
  z-index: 1;
}
.guide-timeline-track__progress {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0;
  background: var(--timeline-progress);
}
@media (min-width: 640px) {
  .guide-landing {
    padding-inline: 1.5rem;
  }
  .guide-chapter-timeline {
    width: calc(100% + 3rem);
    margin-inline: -1.5rem;
  }
}
.guide-chapter-overview > header h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.2;
}
.guide-chapter-overview > header > span {
  display: block;
  margin-top: 24px;
  color: #e35b5b;
  font-size: 32px;
}
.guide-timeline-row {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  position: relative;
}
.guide-timeline-row__title,
.guide-timeline-row__description {
  opacity: 0.32;
  filter: grayscale(1);
  transition:
    opacity 280ms ease,
    filter 280ms ease;
}
.guide-timeline-row.is-active .guide-timeline-row__title,
.guide-timeline-row.is-active .guide-timeline-row__description {
  opacity: 1;
  filter: none;
}
.guide-timeline-row__title {
  align-self: start;
  position: sticky;
  top: 150px;
  padding: 65px 32px 45px 12px;
}
.guide-timeline-row__title > p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--guide-muted);
  margin-bottom: 18px;
}
.guide-timeline-row__title h3 {
  font-family: "Source Serif Pro", Georgia, serif;
  font-size: 31px;
  line-height: 1.25;
  font-weight: 600;
  text-wrap: pretty;
}
.guide-timeline-row__title h3 a:hover {
  color: #d94c4c;
}
.guide-timeline-row__link {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #d4d4d4;
}
.guide-timeline-row__title > [data-guide-chapter-progress] {
  display: block;
  font-size: 12px;
  color: var(--guide-muted);
  margin-top: 12px;
}
.guide-timeline-row__marker {
  display: flex;
  justify-content: center;
  position: relative;
}
.guide-timeline-row__marker > span {
  position: absolute;
  top: 72px;
  z-index: 2;
  width: 14px;
  height: 14px;
  border: 3px solid #a3a3a3;
  border-radius: 50%;
  background: #a3a3a3;
  box-shadow: 0 0 0 7px var(--timeline-surface);
  transition:
    background 280ms ease,
    border-color 280ms ease;
}
.guide-timeline-row.is-active .guide-timeline-row__marker > span {
  border-color: var(--timeline-progress);
  background: var(--timeline-surface);
}
.dark .guide-timeline-row.is-active .guide-timeline-row__marker > span {
  border-color: #fff;
  background: #fff;
}
.guide-timeline-row__description {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 65px 12px 55px 20px;
}
.guide-timeline-row__description .guide-animation {
  width: 112px;
  flex-shrink: 0;
  margin: 0;
}
.guide-timeline-row__description > p {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  line-height: 1.8;
}
.guide-overview-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 45px auto 0;
}
.guide-overview-progress .guide-progress {
  width: 350px;
}
.guide-overview-progress > a {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.guide-authors {
  max-width: 1000px;
  padding: 70px 0 50px;
  margin: 0 auto;
  border-top: 1px solid var(--guide-line);
}
.guide-authors > h2 {
  text-align: center;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 45px;
}
.guide-authors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.guide-author {
  padding: 30px;
  border: 1px solid var(--guide-line);
  border-radius: 14px;
  background: var(--guide-paper);
}
.guide-author header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.guide-author header img {
  border-radius: 50%;
  object-fit: cover;
  width: 72px;
  height: 72px;
}
.guide-author header p {
  font-size: 12px;
  color: var(--guide-muted);
  margin-bottom: 5px;
}
.guide-author h3 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 650;
}
.guide-author__bio {
  font-size: 15px;
  line-height: 1.8;
  color: var(--guide-muted);
}
.guide-author nav {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 600;
}
.guide-author nav a {
  text-decoration: underline;
  text-decoration-color: var(--guide-line);
  text-underline-offset: 4px;
}
.guide-landing .faq-item__answer a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--guide-ink);
}
.dark .guide-original-hero__free {
  background: #342323;
  border-color: #674040;
  color: #fca5a5;
}
.dark .guide-founder-quote {
  background: #302b2a;
}
.dark .guide-book-shadow {
  opacity: 0.8;
}
@media (max-width: 700px) {
  .guide-original-hero {
    padding-top: 10px;
    margin-bottom: 32px;
  }
  .guide-original-hero__art {
    width: 230px;
    margin-bottom: 5px;
  }
  .guide-original-hero h1 {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 25px;
  }
  .guide-original-hero__free {
    padding: 10px 12px;
    font-size: 13px;
    align-items: flex-start;
  }
  .guide-original-hero__free svg {
    margin-top: 2px;
  }
  .guide-letter {
    border-radius: 14px;
  }
  .guide-letter__video {
    padding: 8px 8px 0;
  }
  .guide-letter__video iframe {
    border-radius: 8px;
  }
  .guide-letter__body {
    padding: 20px 22px 32px;
    font-size: 16px;
    line-height: 1.8;
  }
  .guide-letter__body > h2 {
    font-size: 28px;
    margin-top: 40px;
  }
  .guide-letter__skip {
    font-size: 11px;
    margin-bottom: 32px;
  }
  .guide-letter__body .guide-letter__opening {
    font-size: 19px;
  }
  .guide-evidence h3 {
    font-size: 16px;
  }
  .guide-founder-quote {
    padding: 20px;
    font-size: 15px;
    margin-left: -4px;
    margin-right: -4px;
  }
  .guide-outcomes li {
    gap: 10px;
    grid-template-columns: 28px 1fr;
  }
  .guide-outcomes__number {
    width: 28px;
    height: 28px;
  }
  .guide-outcomes h3 {
    font-size: 17px;
  }
  .guide-book-section {
    padding: 60px 0 24px;
  }
  .guide-book-section > h2 {
    font-size: 30px;
    margin-bottom: 28px;
  }
  .guide-book-link {
    --book-width: 210px;
  }
  .guide-book__front {
    padding: 24px 22px 26px 30px;
  }
  .guide-book__title {
    font-size: 24px;
  }
  .guide-book-section__outcomes {
    margin-top: 35px;
    font-size: 15px;
  }
  .guide-chapter-overview {
    margin-top: 50px;
  }
  .guide-chapter-overview > header {
    margin-bottom: 30px;
  }
  .guide-chapter-timeline__inner {
    padding-inline: 1rem;
  }
  .guide-timeline-row {
    grid-template-columns: 22px minmax(0, 1fr);
  }
  .guide-timeline-row__title {
    grid-column: 2;
    position: static;
    padding: 22px 0 0 18px;
  }
  .guide-timeline-row__title > p {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .guide-timeline-row__title h3 {
    font-size: 27px;
  }
  .guide-timeline-row__link {
    margin-top: 14px;
  }
  .guide-timeline-row__marker {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  .guide-timeline-row__marker > span {
    top: 27px;
    width: 11px;
    height: 11px;
    border-width: 2px;
  }
  .guide-timeline-track {
    left: 11px;
  }
  .guide-timeline-row__description {
    display: block;
    grid-column: 2;
    padding: 0 0 35px 18px;
  }
  .guide-timeline-row__description .guide-animation {
    width: 140px;
    margin: 10px auto;
  }
  .guide-timeline-row__description > p {
    font-size: 15px;
  }
  .guide-overview-progress {
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
  }
  .guide-overview-progress .guide-progress {
    max-width: 100%;
  }
  .guide-authors {
    padding: 45px 0 20px;
  }
  .guide-authors__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .guide-author {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .guide-book,
  .guide-book__cover,
  .guide-book__sheet,
  .guide-timeline-row__title,
  .guide-timeline-row__description,
  .guide-timeline-row__marker > span,
  .guide-chapter-picker,
  .guide-chapter-picker__panel,
  .guide-chapter-picker__hint,
  .guide-chapter-picker__chevron {
    transition: none;
  }
}
