.bm-detail {
  --bm-line: #b8bec5;
  --bm-sub: #485264;
  --bm-faint: #d8dad7;
  --bm-plain: #fafaf6;
  color: var(--ink, #172338);
  padding-bottom: clamp(3.5rem, 7vw, 7rem);
}
.bm-detail :is(h1, h2, h3, p, figure, ol, ul) { margin-top: 0 }
.bm-detail h1, .bm-detail h2, .bm-detail .bm-included h3 {
  color: var(--ink, #172338);
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-weight: 400;
  letter-spacing: -.047em;
  line-height: 1.07;
  text-wrap: balance;
}
.bm-detail h1 { font-size: clamp(2.55rem, 4.4vw, 4.65rem); margin-bottom: .35em }
.bm-detail h2 { font-size: clamp(2rem, 3.3vw, 3.3rem); margin-bottom: .45em }
.bm-detail p, .bm-detail li, .bm-detail dd { line-height: 1.58 }
.bm-detail p { max-width: 61ch }
.bm-detail .bm-kicker {
  margin: 0 0 .8rem; font-size: .79rem; line-height: 1.4; font-weight: 650;
  color: var(--blue, #193fb2); letter-spacing: .105em; text-transform: uppercase;
}
.bm-detail .bm-deck { font-size: clamp(1.14rem, 1.6vw, 1.5rem); line-height: 1.35; font-weight: 450; margin-bottom: 1rem }
.bm-detail .bm-breadcrumb { display: flex; align-items: center; gap: .75rem; font-size: .88rem; margin: 1.45rem 0 1.3rem; color: var(--bm-sub); flex-wrap: wrap }
.bm-breadcrumb a, .bm-info-nav a { text-underline-offset: .25em }
.bm-book-lead { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center }
.bm-book-intro { min-width: 0; padding: .85rem 0 1.5rem }
.bm-art { display: grid; place-items: center; overflow: hidden; position: relative; isolation: isolate; background-color: var(--art-paper); background-image: linear-gradient(135deg, #ffffff32, transparent 44%, #101c3414); }
.bm-art-1 { --art-paper: #c3d9cd }
.bm-art-2 { --art-paper: #d4cfe4 }
.bm-art-3 { --art-paper: #e5cbb9 }
.bm-art::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(149deg, transparent 0 67%, #ffffff24 67.1% 100%) }
.bm-book-lead > .bm-art { aspect-ratio: 1.07; max-height: 37.5rem }
.bm-art .bm-cover { width: auto; height: 70%; max-width: 68%; display: block; object-fit: contain; transform: perspective(1000px) rotateY(-7deg) rotateZ(-5deg); box-shadow: 2px 1px #888c81, 3px 2px #f1efe2, 4px 3px #aaa9a1, 5px 4px #e5e3d8, 9px 12px 12px -6px #1c243c55, 18px 22px 24px -4px #18263835 }
.bm-price-line { display: flex; align-items: baseline; gap: 1rem; margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--bm-line); }
.bm-amount { font-size: 1.95rem; line-height: 1.2; font-weight: 600; letter-spacing: -.065em }
.bm-amount small { font-weight: 500; font-size: .82rem; letter-spacing: normal }
.bm-detail .bm-status { appearance: none; padding: 0; border: 0; background: transparent; color: var(--bm-sub); font: inherit; font-size: .9rem; opacity: 1; cursor: default }
.bm-detail .bm-price-note { font-size: .88rem; color: var(--bm-sub); margin: .38rem 0 1.1rem }
.bm-detail .button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; text-decoration: none; text-align: center }
.bm-detail .bm-primary { gap: .6rem; flex-wrap: wrap; }
.bm-detail .bm-primary small { font-size: .78rem; font-weight: 400; border-left: 1px solid currentColor; padding-left: .65rem }
.bm-specs { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--bm-line); margin-top: clamp(1.5rem, 3vw, 3rem) }
.bm-specs > div { padding: 1.25rem 1rem 1.25rem 0 }
.bm-specs strong, .bm-specs span { display: block }
.bm-specs strong { font-size: 1.16rem; color: var(--ink, #172338) }
.bm-specs span { color: var(--bm-sub); font-size: .9rem; margin-top: .15rem }
.bm-section { padding: clamp(2.5rem, 5.3vw, 5rem) 0 }
.bm-columns, .bm-example { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.03fr); gap: clamp(2rem, 6vw, 7rem) }
.bm-rule { border-top: 1px solid var(--bm-line) }
.bm-outcomes, .bm-chapters, .bm-included { margin: 0 0 1rem; padding: 0; list-style: none }
.bm-outcomes li { padding: .8rem 0 .8rem 1.4rem; border-bottom: 1px solid var(--bm-faint); position: relative }
.bm-outcomes li::before { content: ""; width: .4rem; height: .4rem; position: absolute; left: 0; top: 1.42rem; background: var(--blue, #193fb2) }
.bm-example { background: #f0f1eb; border-left: 4px solid var(--blue, #193fb2); padding: clamp(1.35rem, 3.4vw, 3.5rem); gap: clamp(2rem, 4vw, 4rem) }
.bm-example h3 { text-transform: uppercase; letter-spacing: .085em; font-size: .78rem; font-weight: 650; margin: 0 0 .4rem; color: var(--bm-sub) }
.bm-example-lines > div + div { border-top: 1px solid var(--bm-line); padding-top: 1rem; margin-top: 1rem }
.bm-example-lines p { font-family: var(--serif, Georgia, serif); font-size: clamp(1.15rem, 1.75vw, 1.55rem); line-height: 1.36; margin: 0 }
.bm-chapters { counter-reset: chapter; border-top: 1px solid var(--bm-line) }
.bm-chapters li { counter-increment: chapter; display: flex; align-items: baseline; gap: .95rem; border-bottom: 1px solid var(--bm-faint); padding: .8rem 0; }
.bm-chapters li::before { content: counter(chapter, decimal-leading-zero); color: var(--blue, #193fb2); font-family: ui-monospace, monospace; font-size: .85rem; }
.bm-related { display: flex; align-items: center; justify-content: space-between; background: #e2e8fa; padding: clamp(1.35rem, 3.6vw, 3.2rem); gap: 1.3rem }
.bm-related p:last-child, .bm-example-intro p:last-child { margin-bottom: 0 }
.bm-collection-art { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #dcdad0; aspect-ratio: 1.15 }
.bm-collection-art img { width: 100%; height: 100%; object-fit: cover; display: block }
.bm-included li { display: grid; grid-template-columns: 4.6rem 1fr; align-items: center; gap: 1.35rem; padding: 1.15rem 0; border-bottom: 1px solid var(--bm-line) }
.bm-included li:first-child { padding-top: 0 }
.bm-included-cover img { width: 100%; display: block; height: auto }
.bm-included .bm-kicker { font-size: .73rem; margin-bottom: .3rem }
.bm-included h3 { margin: .25rem 0 .3rem; font-size: 1.45rem }
.bm-included h3 a, .bm-sample h2 a { color: inherit; text-decoration: none }
.bm-included h3 a:hover, .bm-sample h2 a:hover { text-decoration: underline; text-underline-offset: .16em }
.bm-included p:last-child { font-size: .94rem; margin: 0; color: var(--bm-sub) }
.bm-samples-heading { padding: clamp(2.8rem, 7vw, 6rem) 0 clamp(1.8rem, 4vw, 3.7rem); max-width: 48rem }
.bm-samples-heading h1 { font-size: clamp(3.3rem, 6.5vw, 6.5rem) }
.bm-samples-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.25rem) }
.bm-sample { display: flex; flex-direction: column; min-width: 0 }
.bm-sample .bm-art { width: 100%; aspect-ratio: 1.35 }
.bm-sample .bm-art img { height: 76%; }
.bm-sample-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 0 .4rem }
.bm-sample h2 { font-size: clamp(1.65rem, 2.5vw, 2.65rem) }
.bm-sample-actions { margin-top: auto; display: flex; align-items: flex-start; flex-direction: column; gap: .85rem; }
.bm-info { display: grid; grid-template-columns: minmax(11rem, .32fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; padding-top: clamp(2.4rem, 5vw, 5rem) }
.bm-info-nav { display: flex; flex-direction: column; gap: 0; align-items: stretch; border-top: 1px solid var(--bm-line); max-width: 15rem; position: sticky; top: 1.5rem }
.bm-info-nav a { text-decoration: none; font-size: .94rem; padding: .85rem 0; border-bottom: 1px solid var(--bm-faint); color: var(--bm-sub) }
.bm-info-nav a[aria-current="page"] { font-weight: 650; color: var(--blue, #193fb2) }
.bm-info-nav a:hover { text-decoration: underline }
.bm-prose { max-width: 47rem; overflow-wrap: anywhere }
.bm-prose h1 { margin-bottom: .5em }
.bm-prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); margin-top: 1.45em }
.bm-prose p, .bm-prose ul { max-width: 68ch; margin-bottom: 1.1rem }
.bm-prose li + li { margin-top: .5rem }
.bm-prose a, .bm-columns .text-link { color: var(--blue, #193fb2); text-underline-offset: .2em }
.bm-prose .legal-details { margin: 0; display: grid; grid-template-columns: minmax(7rem, .69fr) 1fr; gap: 0 1.2rem }
.bm-prose .legal-details dt, .bm-prose .legal-details dd { border-top: 1px solid var(--bm-faint); padding: .85rem 0; margin: 0; }
.bm-prose .legal-details dt { font-weight: 600 }
@media (max-width: 850px) {
  .bm-book-lead { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 1.6rem }
  .bm-book-lead > .bm-art { aspect-ratio: .78 }
  .bm-samples-grid { gap: 1.2rem; grid-template-columns: 1fr }
  .bm-sample { display: grid; grid-template-columns: minmax(11rem,.55fr) minmax(0,1fr); gap: 1.6rem; align-items: center; padding-bottom: 1.2rem; border-bottom: 1px solid var(--bm-line) }
  .bm-sample .bm-art { aspect-ratio: 1 }
  .bm-sample-body { padding: .6rem 0 }
}
@media (max-width: 650px) {
  .bm-detail .bm-breadcrumb { margin: 1rem 0; font-size: .82rem }
  .bm-book-lead, .bm-columns, .bm-example, .bm-info { grid-template-columns: 1fr; gap: 1.55rem }
  .bm-book-lead > .bm-art { aspect-ratio: 1.5; max-height: 20rem }
  .bm-book-lead > .bm-art img { height: 79% }
  .bm-book-intro { padding: 0 0 .5rem }
  .bm-book-intro h1 { font-size: clamp(2.35rem,8.7vw,3.3rem) }
  .bm-specs > div { padding: .9rem .32rem .9rem 0 }
  .bm-specs strong { font-size: 1rem }
  .bm-specs span { font-size: .77rem }
  .bm-related { flex-direction: column; align-items: flex-start }
  .bm-info-nav { flex-direction: row; flex-wrap: wrap; gap: .25rem 1rem; max-width: none; border-bottom: 1px solid var(--bm-line); border-top: 0; position: static; padding-bottom: .5rem }
  .bm-info-nav a { padding: .3rem 0; border: 0; font-size: .86rem }
  .bm-info { padding-top: 1.2rem }
  .bm-collection-art { aspect-ratio: 1.4 }
  .bm-sample { grid-template-columns: 1fr; gap: .65rem; padding-top: .6rem }
  .bm-sample .bm-art { aspect-ratio: 1.55; max-height: 18rem }
  .bm-sample .bm-art img { height: 78% }
}
