:root {
  --book-red: #ff0044;
  --book-bg: #050505;
  --book-panel: #111111;
  --book-text: #f7f7f5;
  --book-muted: rgba(255, 255, 255, 0.56);
  --book-line: rgba(255, 255, 255, 0.1);
}

.black-book-page {
  background: var(--book-bg);
}

.black-book-page main {
  padding-top: 120px;
}

.black-book-page [id] {
  scroll-margin-top: 132px;
}

.book-frame {
  width: min(1280px, calc(100vw - 96px));
  margin: 0 auto;
}

.book-kicker {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.book-hero {
  position: relative;
  height: min(820px, calc(100svh - 40px));
  min-height: 680px;
  overflow: hidden;
  background: #070707;
}

.book-hero-media,
.book-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.book-hero-media {
  object-fit: cover;
  object-position: center 44%;
  transform: scale(1.015);
}

.book-hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.94) 0%, rgba(3, 3, 3, 0.7) 34%, rgba(3, 3, 3, 0.15) 70%),
    linear-gradient(0deg, #050505 0%, transparent 26%, rgba(0, 0, 0, 0.12) 100%);
}

.book-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 96px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.book-hero-copy {
  width: min(590px, 52vw);
  padding-top: 24px;
}

.book-logo {
  width: 160px;
  height: auto;
  margin: 18px 0 24px;
  object-fit: contain;
  object-position: left center;
}

.book-hero h1 {
  max-width: 600px;
  margin: 0;
  color: var(--book-text);
  font-size: 74px;
  font-weight: 600;
  line-height: 1.02;
}

.book-hero-copy > p {
  max-width: 560px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
}

.book-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.book-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.book-button:hover,
.book-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.book-button-primary {
  background: var(--book-red);
  color: #fff;
}

.book-button-primary:hover,
.book-button-primary:focus-visible {
  background: #e6003d;
}

.book-button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 8, 0.6);
  color: #fff;
  backdrop-filter: blur(12px);
}

.book-button-secondary:hover,
.book-button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
}

.book-hero-note {
  align-self: flex-end;
  width: 220px;
  margin: 0 0 56px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}

.book-section {
  padding: 128px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.book-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 80px;
  margin-bottom: 68px;
}

.book-section-heading .book-kicker {
  grid-column: 1 / -1;
  margin-bottom: -52px;
}

.book-section-heading h2 {
  margin: 0;
  color: var(--book-text);
  font-size: 54px;
  font-weight: 600;
  line-height: 1.08;
}

.book-section-heading > p,
.book-section-heading-row > p {
  margin: 0 0 4px;
  color: var(--book-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.book-section-heading-row {
  align-items: end;
}

.book-section-heading-row .book-kicker {
  margin: 0 0 16px;
}

.book-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--book-line);
  border-bottom: 1px solid var(--book-line);
}

.book-stats > div {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 18px 22px;
  border-left: 1px solid var(--book-line);
}

.book-stats > div:first-child {
  border-left: 0;
}

.book-stats strong {
  color: #fff;
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}

.book-stats span {
  color: var(--book-muted);
  font-size: 12px;
  font-weight: 700;
}

.book-screen,
.product-stage {
  position: relative;
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #0a0a0a;
  cursor: zoom-in;
}

.book-screen-wide {
  margin-top: 48px;
  border-radius: 6px;
}

.book-screen img,
.product-stage img {
  width: 100%;
  height: auto;
}

.book-screen > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.chapter-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--book-line);
}

.chapter-list article {
  min-height: 190px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid var(--book-line);
}

.chapter-list article:nth-child(3n + 2),
.chapter-list article:nth-child(3n + 3) {
  padding-left: 28px;
  border-left: 1px solid var(--book-line);
}

.chapter-list article > span {
  color: var(--book-red);
  font-size: 12px;
  font-weight: 800;
}

.chapter-list h3 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 600;
}

.chapter-list p {
  margin: 0;
  color: var(--book-muted);
  font-size: 13px;
  line-height: 1.7;
}

.book-hooks {
  background: #080808;
}

.hook-group {
  padding-top: 4px;
}

.hook-group + .hook-group {
  margin-top: 124px;
  padding-top: 118px;
  border-top: 1px solid var(--book-line);
}

.hook-group-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: end;
  gap: 80px;
  margin-bottom: 42px;
}

.hook-group-heading span {
  display: block;
  margin-bottom: 18px;
  color: var(--book-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hook-group-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.12;
}

.hook-group-heading > p {
  margin: 0 0 3px;
  color: var(--book-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.hook-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 24px;
}

.hook-gallery figure {
  min-width: 0;
  margin: 0;
}

.hook-image {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: #111;
  cursor: zoom-in;
}

.hook-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.72, 0.22, 1), filter 220ms ease;
}

.hook-image:hover img,
.hook-image:focus-visible img {
  transform: scale(1.025);
  filter: brightness(1.06);
}

.hook-image:focus-visible {
  outline: 2px solid var(--book-red);
  outline-offset: 3px;
}

.hook-gallery figcaption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 20px;
  padding-top: 16px;
}

.hook-gallery figcaption span {
  grid-column: 1 / -1;
  color: var(--book-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hook-gallery figcaption strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.hook-gallery figcaption p {
  margin: 0;
  color: var(--book-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.hook-value {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.9fr) auto;
  align-items: end;
  gap: 64px;
  margin-top: 132px;
  padding: 54px 0;
  border-top: 1px solid var(--book-line);
  border-bottom: 1px solid var(--book-line);
}

.hook-value h3 {
  margin: 18px 0 0;
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.14;
}

.hook-value ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.hook-value li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
}

.hook-value li span {
  color: var(--book-red);
  font-size: 10px;
  font-weight: 800;
}

.book-find {
  background: #0b0b0b;
}

.search-demo {
  border: 1px solid var(--book-line);
  border-radius: 6px;
  background: var(--book-panel);
}

.search-bar {
  min-height: 96px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--book-line);
}

.search-label {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-bar input {
  width: 100%;
  height: 52px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.search-bar input:focus {
  border-bottom-color: var(--book-red);
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.search-clear {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.search-clear:hover,
.search-clear:focus-visible {
  color: #fff;
  outline: none;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 28px 0;
}

.search-filters button,
.product-tabs button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 0 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.search-filters button:hover,
.search-filters button:focus-visible,
.search-filters button.is-active,
.product-tabs button:hover,
.product-tabs button:focus-visible,
.product-tabs button[aria-selected="true"] {
  border-color: var(--book-red);
  background: var(--book-red);
  color: #fff;
  outline: none;
}

.search-count {
  margin: 24px 28px 12px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
  font-weight: 700;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--book-line);
}

.search-results article {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 30px 32px 28px;
  border-right: 1px solid var(--book-line);
  border-bottom: 1px solid var(--book-line);
}

.search-results article:nth-child(2n) {
  border-right: 0;
}

.search-results article.is-hidden {
  display: none;
}

.prompt-code {
  color: var(--book-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.prompt-sample-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.search-results .prompt-sample-head h3 {
  margin: 14px 0 0;
  font-size: 22px;
  font-weight: 600;
}

.prompt-copy {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  padding: 0 13px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.prompt-copy:hover,
.prompt-copy:focus-visible,
.prompt-copy.is-copied {
  border-color: var(--book-red);
  background: var(--book-red);
  color: #fff;
  outline: none;
}

.search-results .prompt-use {
  margin: 22px 0 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.65;
}

.prompt-text {
  flex: 1;
  margin: 0;
  border-left: 2px solid rgba(255, 0, 72, 0.72);
  padding: 2px 0 2px 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.82);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.72;
}

.search-results .prompt-note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-empty {
  margin: 0;
  color: var(--book-muted);
  font-size: 12px;
  line-height: 1.65;
}

.search-empty {
  padding: 44px 28px;
  border-top: 1px solid var(--book-line);
}

.product-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.product-stage {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

.product-stage img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.product-caption {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding-top: 24px;
}

.product-caption strong {
  font-size: 15px;
}

.product-caption p {
  margin: 0;
  color: var(--book-muted);
  font-size: 13px;
  line-height: 1.7;
}

.book-access {
  background: #101010;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.88fr);
  gap: 120px;
  align-items: start;
}

.access-copy h2 {
  margin: 20px 0 28px;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
}

.access-copy > p {
  max-width: 520px;
  margin: 0 0 34px;
  color: var(--book-muted);
  font-size: 15px;
  line-height: 1.8;
}

.access-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--book-line);
  list-style: none;
}

.access-steps li {
  min-height: 132px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--book-line);
}

.access-steps li > span {
  color: var(--book-red);
  font-size: 12px;
  font-weight: 800;
}

.access-steps strong {
  font-size: 18px;
  font-weight: 600;
}

.access-steps p {
  margin: 8px 0 0;
  color: var(--book-muted);
  font-size: 12px;
  line-height: 1.6;
}

.book-final {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.book-final > img,
.book-final-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.book-final > img {
  object-fit: cover;
  object-position: center;
}

.book-final-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.12) 75%), linear-gradient(0deg, #050505 0%, transparent 28%);
}

.book-final-copy {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 96px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.book-final h2 {
  margin: 20px 0 34px;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.04;
}

.book-preview {
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 48px 64px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.84);
  color: #fff;
}

.book-preview[open] {
  display: grid;
  place-items: center;
  animation: preview-fade-in 180ms ease-out both;
}

.book-preview::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(16px) saturate(0.7);
}

.book-preview img {
  display: block;
  width: auto;
  max-width: min(92vw, 1680px);
  height: auto;
  max-height: calc(100dvh - 96px);
  object-fit: contain;
  animation: preview-image-in 260ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.book-preview-close {
  position: fixed;
  z-index: 3;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.book-preview-close::before,
.book-preview-close::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 13px;
  width: 18px;
  height: 2px;
  background: #fff;
}

.book-preview-close::before {
  transform: rotate(45deg);
}

.book-preview-close::after {
  transform: rotate(-45deg);
}

.book-preview-close:hover,
.book-preview-close:focus-visible {
  background: #fff;
  transform: scale(1.04);
  outline: none;
}

.book-preview-close:hover::before,
.book-preview-close:hover::after,
.book-preview-close:focus-visible::before,
.book-preview-close:focus-visible::after {
  background: #050505;
}

@keyframes preview-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes preview-image-in {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1020px) {
  .book-frame,
  .book-hero-inner,
  .book-final-copy {
    width: min(100% - 48px, 920px);
  }

  .book-hero-copy {
    width: min(620px, 74vw);
  }

  .book-hero h1 {
    font-size: 62px;
  }

  .book-section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .book-section-heading .book-kicker {
    margin-bottom: 0;
  }

  .book-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .book-stats > div:nth-child(4) {
    border-left: 0;
  }

  .book-stats > div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--book-line);
  }

  .chapter-list,
  .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hook-group-heading {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
  }

  .hook-value {
    grid-template-columns: 1fr 1fr;
  }

  .hook-value .book-button {
    justify-self: start;
  }

  .chapter-list article:nth-child(n),
  .search-results article:nth-child(n) {
    border-left: 0;
    border-right: 0;
  }

  .chapter-list article:nth-child(even),
  .search-results article:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--book-line);
  }

  .access-grid {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
  }
}

@media (max-width: 720px) {
  .black-book-page main {
    padding-top: 104px;
  }

  .black-book-page [id] {
    scroll-margin-top: 116px;
  }

  .book-frame,
  .book-hero-inner,
  .book-final-copy {
    width: calc(100% - 36px);
  }

  .book-hero {
    height: 740px;
    min-height: 0;
  }

  .book-hero-media {
    object-position: 62% center;
  }

  .book-hero-shade {
    background: linear-gradient(0deg, #050505 0%, rgba(3, 3, 3, 0.84) 36%, rgba(3, 3, 3, 0.18) 100%);
  }

  .book-hero-inner {
    align-items: flex-end;
    padding-bottom: 42px;
  }

  .book-hero-copy {
    width: 100%;
    padding: 0;
  }

  .book-logo {
    width: 128px;
    margin: 14px 0 18px;
  }

  .book-hero h1 {
    font-size: 46px;
  }

  .book-hero-copy > p {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.65;
  }

  .book-hero-actions {
    margin-top: 26px;
  }

  .book-button {
    min-height: 46px;
    padding: 0 18px;
    font-size: 12px;
  }

  .book-hero-note {
    display: none;
  }

  .book-section {
    padding: 84px 0;
  }

  .book-section-heading {
    margin-bottom: 44px;
  }

  .book-section-heading h2,
  .access-copy h2,
  .book-final h2 {
    font-size: 38px;
  }

  .book-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .book-stats > div,
  .book-stats > div:nth-child(n) {
    min-height: 124px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--book-line);
  }

  .book-stats > div:nth-child(even) {
    border-left: 1px solid var(--book-line);
  }

  .book-stats strong {
    font-size: 34px;
  }

  .book-screen-wide {
    margin-top: 32px;
  }

  .book-screen > span {
    display: none;
  }

  .chapter-list,
  .search-results {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .hook-group + .hook-group {
    margin-top: 82px;
    padding-top: 78px;
  }

  .hook-group-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .hook-group-heading h3 {
    font-size: 30px;
  }

  .hook-gallery {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hook-gallery figcaption {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hook-gallery figcaption p {
    text-align: left;
  }

  .hook-value {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 86px;
    padding: 42px 0;
  }

  .hook-value h3 {
    font-size: 30px;
  }

  .chapter-list article:nth-child(n),
  .search-results article:nth-child(n) {
    min-height: 0;
    padding: 24px 0;
    border-left: 0;
    border-right: 0;
  }

  .search-results {
    margin-top: 0;
  }

  .search-results article:nth-child(n) {
    padding: 24px 20px;
  }

  .search-results .prompt-sample-head h3 {
    font-size: 20px;
  }

  .prompt-sample-head {
    gap: 16px;
  }

  .prompt-text {
    font-size: 11px;
    line-height: 1.7;
  }

  .search-bar {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 18px 20px;
  }

  .search-label {
    grid-column: 1 / -1;
  }

  .search-bar input {
    font-size: 14px;
  }

  .search-filters {
    padding: 18px 20px 0;
  }

  .search-count {
    margin-right: 20px;
    margin-left: 20px;
  }

  .product-tabs {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-tabs button {
    flex: 0 0 auto;
  }

  .product-stage {
    aspect-ratio: 4 / 3;
  }

  .product-caption {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .book-final {
    height: 540px;
  }

  .book-final > img {
    object-position: 62% center;
  }

  .book-final-shade {
    background: linear-gradient(0deg, #050505 0%, rgba(0, 0, 0, 0.88) 52%, rgba(0, 0, 0, 0.22) 100%);
  }

  .book-final-copy {
    justify-content: flex-end;
    padding-bottom: 54px;
  }

  .book-preview {
    width: 100vw;
    height: 100dvh;
    padding: 64px 14px 20px;
  }

  .book-preview img {
    max-width: calc(100vw - 28px);
    max-height: calc(100dvh - 84px);
  }

  .book-preview-close {
    top: 14px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-button,
  .book-preview[open],
  .book-preview img {
    transition: none;
    animation: none;
  }
}
