.book-page { padding-bottom: 28px; }
.book-opening, .book-analysis, .book-profile, .book-closing { width: 100%; max-width: 1200px; margin-inline: auto; }
.book-opening { padding: 32px 40px 44px; }
.book-back { display: block; width: fit-content; margin-bottom: 22px; color: var(--color-accent); font-size: 10px; font-weight: 600; letter-spacing: .7px; line-height: 1; text-transform: uppercase; text-decoration: none; }
.book-hero { display: flex; align-items: center; gap: 48px; }
.book-cover { flex: 0 0 345px; overflow: hidden; border-radius: 3px; }
.book-cover img { display: block; width: 100%; height: auto; }
.book-cover__placeholder { width: 345px; min-height: 540px; display: grid; place-items: center; padding: 32px; background: #e8e1d5; font-family: var(--font-heading); font-size: 40px; line-height: 1.1; text-align: center; }
.book-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 560px; max-width: 100%; min-width: 0; }
.book-intro p { margin: 0; }
.book-category { padding: 7px 10px; color: white; background: var(--color-accent); border-radius: 100px; font-size: 9px; font-weight: 700; letter-spacing: .9px; line-height: 1; text-transform: uppercase; }
.book-intro h1 { width: 100%; margin: 0; color: #1c1a17; font-size: 68px; font-weight: 500; letter-spacing: -1.5px; line-height: .98; text-wrap: balance; overflow-wrap: anywhere; }
.book-author { font-size: 17px; font-weight: 600; line-height: 1.2; }
.book-metadata { color: #61594f; font-size: 13px; line-height: 1.45; }
.book-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.book-tags li { padding: 6px 9px; border-radius: 100px; background: #e9e2d7; color: #514a43; font-size: 9px; font-weight: 600; letter-spacing: .4px; line-height: 1; text-transform: uppercase; }
.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.book-action { display: inline-flex; justify-content: center; align-items: center; padding: 12px 16px; min-height: 34px; border: 1px solid var(--color-accent); border-radius: 3px; background: var(--color-accent); color: white; font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: .6px; line-height: 1; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.book-action:hover { background: var(--color-ink); border-color: var(--color-ink); color: white; }
.book-action--outline { color: var(--color-ink); border-color: var(--color-ink); background: transparent; }
.book-lead { font-size: 16px; line-height: 1.2; }
.book-analysis { display: flex; align-items: flex-start; gap: 48px; padding: 46px 40px 58px; }
.book-analysis__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.book-analysis__section h2 { margin: 0 0 10px; font-size: 38px; letter-spacing: -.6px; line-height: 1.05; }
.book-analysis__section p { margin: 0 0 20px; color: #38332d; font-size: 15px; line-height: 1.55; }
.book-analysis__section p:last-child { margin-bottom: 0; }
.book-analysis__section:nth-child(-n+2) p { text-wrap: balance; }
.book-markets { display: flex; flex-direction: column; gap: 18px; flex: 0 0 330px; min-width: 0; padding: 24px; border-radius: 4px; background: #e9e2d7; }
.book-markets h2 { margin: 0; font-size: 25px; letter-spacing: 0; line-height: 1; }
.book-market-group { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.book-market-group h3, .book-market-group p { margin: 0; font-family: var(--font-body); font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.2; }
.book-market-group h3 { text-transform: uppercase; }
.book-market-group .book-market-label { font-size: 11px; font-weight: 600; letter-spacing: 1.1px; }
.book-market-group .book-markets__copy { color: #38332d; font-size: 15px; line-height: 1.55; }
.book-market-group .book-availability { padding: 6px 9px; border-radius: 100px; background: var(--color-accent); color: white; font-size: 9px; font-weight: 600; letter-spacing: .8px; line-height: 1; text-transform: uppercase; }
.book-profile { display: flex; justify-content: space-between; gap: 48px; padding: 42px 40px; background: #ece7de; border-radius: 4px; }
.book-profile__content { flex: 1; min-width: 0; max-width: 660px; display: flex; flex-direction: column; gap: 17px; }
.book-profile .book-profile__label { margin: 0; color: var(--color-accent); font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 1.2px; line-height: 1; text-transform: uppercase; }
.book-profile__content h2 { margin: 0; font-size: 34px; letter-spacing: 0; line-height: 1; }
.book-profile__text p { margin: 0 0 20px; color: #2f2b26; font-size: 15px; line-height: 1.55; }
.book-profile__text p:last-child { margin: 0; }
.book-classification { margin: 0; color: #464038; font-size: 12px; font-weight: 600; line-height: 1.45; }
.book-technical { flex: 0 0 270px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.book-profile--technical .book-technical { flex: 1; }
.book-technical dl { margin: 0; font-size: 13px; line-height: 1.7; }
.book-technical dl > div { display: flex; flex-wrap: wrap; gap: 0 8px; }
.book-technical dt { font-weight: 400; }
.book-technical dd { margin: 0; overflow-wrap: anywhere; }
.book-text-action { color: var(--color-accent); font-size: 12px; font-weight: 600; letter-spacing: .4px; line-height: 1.2; text-transform: uppercase; text-decoration: none; }
.book-text-action:hover { text-decoration: underline; }
.book-closing { padding: 36px 40px 0; }
.book-comparables { display: flex; justify-content: space-between; align-items: center; gap: 36px; padding: 36px; border-radius: 4px; background: #423a33; color: white; }
.book-comparables > div { flex: 1; min-width: 0; }
.book-comparables h2 { margin: 0 0 8px; font-size: 31px; line-height: 1.2; }
.book-comparables p { margin: 0; color: #d8d0c5; font-size: 14px; line-height: 1.4; }
.book-comparables .book-comparables__titles { flex: 0 0 350px; color: white; font-size: 15px; font-weight: 600; line-height: 1.45; }
.book-dialog-open { overflow: hidden; }
.book-dialog { width: calc(100% - 40px); max-width: 580px; max-height: calc(100dvh - 40px); margin: auto; padding: 28px 28px 26px; border: 1px solid #d8d0c5; border-radius: 16px; background: var(--color-paper); color: var(--color-ink); }
.book-dialog::backdrop { background: rgb(24 22 19 / 72%); }
.book-dialog__header { display: block; }
.book-dialog__eyebrow { margin: 0 0 6px; color: var(--color-accent); font-size: 10px; font-weight: 700; letter-spacing: 1px; line-height: 1; text-transform: uppercase; }
.book-dialog h2 { margin: 0; font-size: 31px; line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.book-dialog__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #cfc5b9; border-radius: 100%; background: transparent; color: inherit; font-size: 19px; cursor: pointer; }
.book-dialog__intro { margin: 18px 0; font-size: 13px; line-height: 1.45; }
.book-rights-form { display: grid; gap: 12px; }
.book-rights-form label { display: block; margin-bottom: 5px; color: #302c27; font-size: 11px; font-weight: 600; line-height: 1; }
.book-rights-form input:not([type=hidden]):not([type=checkbox]), .book-rights-form textarea { display: block; width: 100%; min-height: 42px; padding: 11px 12px; border: 1px solid #d8d0c5; border-radius: 6px; background: white; color: var(--color-ink); font-size: 13px; line-height: 1.4; }
.book-rights-form textarea { min-height: 42px; resize: vertical; }
.book-rights-form .book-action { justify-self: start; border-radius: 5px; font-size: 10px; letter-spacing: .7px; }
.book-action:disabled { opacity: .6; cursor: wait; }
.book-rights-form .book-rights-privacy { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0; color: var(--color-muted); font-size: 11px; font-weight: 400; line-height: 1.5; }
.book-rights-privacy input { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; accent-color: var(--color-accent); }
.book-rights-privacy a { color: var(--color-accent); }
.book-dialog__feedback { padding: 12px; margin: 0 0 18px; border: 1px solid var(--color-border); border-radius: 4px; font-size: 13px; line-height: 1.5; }
@media (max-width: 1199px) {
  .book-opening { padding: 34px 20px; }
  .book-hero { flex-direction: column; align-items: flex-start; gap: 24px; }
  .book-cover { flex-basis: auto; width: 220px; }
  .book-cover__placeholder { width: 220px; min-height: 330px; }
  .book-intro { width: 100%; }
  .book-intro h1 { font-size: 54px; }
  .book-analysis { flex-direction: column; gap: 22px; padding: 32px 20px; }
  .book-analysis__section h2 { font-size: 30px; }
  .book-markets { flex-basis: auto; width: 100%; }
  .book-profile { flex-direction: column; gap: 24px; padding: 42px 20px; }
  .book-profile__content { max-width: none; }
  .book-technical { flex-basis: auto; width: 100%; }
  .book-closing { padding-inline: 20px; }
  .book-comparables { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; }
  .book-comparables .book-comparables__titles { flex-basis: auto; }
  .book-actions .book-action { min-height: 44px; }
}
@media (max-width: 809px) {
  .book-intro h1 { font-size: 42px; }
}
@media (max-width: 480px) {
  .book-dialog { padding: 24px 20px; }
  .book-rights-form input:not([type=hidden]):not([type=checkbox]), .book-rights-form textarea { font-size: 16px; }
}
