﻿@import url('book-platform-tokens.css');

/* Inkwell design system â€” ported from mockup reference */
:root {
	--bp-bg-cream: #F6F3EF;
	--bp-bg-cream-dark: #EDE8E1;
	--bp-bg-navy: #001F5B;
	--bp-bg-navy-dark: #001744;
	--bp-secondary-sage: #0D9CA4;
	--bp-text-charcoal: #232c37;
	--bp-text-light: #f7f1e6;
	--bp-text-muted: #6e7682;
	--bp-border-cozy: #E0DAD2;
	--bp-font-heading: "Plus Jakarta Sans", sans-serif;
	--bp-font-body: "Inter", sans-serif;
	--bp-shadow-cozy: 0 8px 30px rgba(35, 44, 55, 0.06);
	--bp-shadow-cozy-lg: 0 16px 40px rgba(0, 31, 91, 0.1);
	--bp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
	font-family: var(--bp-font-body);
	background-color: var(--bp-bg-cream);
	color: var(--bp-text-charcoal);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	font-family: var(--bp-font-heading);
	font-weight: 700;
	color: var(--bp-bg-navy);
}

.bp-highlight-text {
	color: var(--bp-primary-rust);
}

.bp-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Header */
.bp-inkwell-header {
	background-color: var(--bp-bg-navy);
	color: var(--bp-text-light);
	padding: 1.25rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 4px 20px rgba(0, 23, 68, 0.15);
	flex-wrap: nowrap;
	gap: 1rem;
}

.bp-inkwell-header .bp-logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--bp-font-heading);
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--bp-primary-rust);
	text-decoration: none;
	letter-spacing: -0.5px;
	flex-shrink: 0;
}

.bp-inkwell-header .bp-logo-mark {
	display: block;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.bp-inkwell-header .bp-logo.bp-logo--stacked {
	min-width: 0;
	flex-shrink: 1;
}

.bp-inkwell-header .bp-logo-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.bp-inkwell-header .bp-logo-title,
.bp-inkwell-header .bp-logo-subtitle {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: min(50vw, 420px);
}

.bp-inkwell-header .bp-logo-subtitle {
	font-family: var(--bp-font-body);
	font-weight: 500;
	font-size: 0.7rem;
	letter-spacing: 0;
	color: var(--bp-text-light);
	opacity: 0.75;
}

.bp-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	margin-left: auto;
	padding: 0;
	border: 1px solid rgba(247, 241, 230, 0.2);
	border-radius: 6px;
	background: rgba(247, 241, 230, 0.08);
	color: var(--bp-text-light);
	cursor: pointer;
	flex-shrink: 0;
	-webkit-appearance: none;
	appearance: none;
}

.bp-nav-toggle:hover,
.bp-nav-toggle:focus-visible {
	background: rgba(247, 241, 230, 0.16);
	outline: 2px solid var(--bp-secondary-sage);
	outline-offset: 2px;
}

.bp-nav-toggle-bars {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 1.15rem;
	height: 0.85rem;
}

.bp-nav-toggle-bars span {
	display: block;
	height: 2px;
	width: 100%;
	border-radius: 1px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.bp-inkwell-header.is-nav-open .bp-nav-toggle-bars span:nth-child(1) {
	transform: translateY(5.5px) rotate(45deg);
}

.bp-inkwell-header.is-nav-open .bp-nav-toggle-bars span:nth-child(2) {
	opacity: 0;
}

.bp-inkwell-header.is-nav-open .bp-nav-toggle-bars span:nth-child(3) {
	transform: translateY(-5.5px) rotate(-45deg);
}

.bp-inkwell-header .bp-primary-nav,
.bp-inkwell-header nav {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.bp-inkwell-header .bp-primary-nav a,
.bp-inkwell-header nav a {
	color: var(--bp-text-light);
	text-decoration: none;
	font-family: var(--bp-font-heading);
	font-weight: 500;
	font-size: 0.95rem;
	opacity: 0.85;
	transition: var(--bp-transition);
}

.bp-inkwell-header .bp-primary-nav a:hover,
.bp-inkwell-header nav a:hover {
	opacity: 1;
	color: var(--bp-primary-rust);
}

/* Book-specific nav links (Media/Educators/Resources/Corporate), styled as a
   badge so they read as belonging to the current book rather than a general
   site-wide nav item. */
.bp-inkwell-header .bp-primary-nav a.bp-nav-link--book-page,
.bp-inkwell-header nav a.bp-nav-link--book-page {
	opacity: 1;
	background-color: rgba(247, 241, 230, 0.1);
	border: 1px solid rgba(247, 241, 230, 0.2);
	border-radius: 999px;
	padding: 0.3rem 0.9rem;
}

.bp-inkwell-header .bp-primary-nav a.bp-nav-link--book-page:hover,
.bp-inkwell-header nav a.bp-nav-link--book-page:hover {
	color: var(--bp-primary-rust);
	background-color: rgba(247, 241, 230, 0.18);
	border-color: var(--bp-primary-rust);
}

.bp-user-badge {
	background-color: rgba(247, 241, 230, 0.1);
	padding: 0.4rem 0.8rem;
	border-radius: 4px;
	font-size: 0.85rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid rgba(247, 241, 230, 0.15);
	color: var(--bp-text-light);
}

.bp-avatar-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--bp-secondary-sage);
}

.bp-account-menu {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.bp-account-menu-trigger {
	cursor: pointer;
	font: inherit;
	max-width: 14rem;
	appearance: none;
	-webkit-appearance: none;
}

.bp-account-menu-email {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.bp-account-menu-caret {
	width: 0;
	height: 0;
	margin-left: 0.15rem;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.75;
	flex-shrink: 0;
}

.bp-account-menu.is-open .bp-account-menu-caret {
	transform: rotate(180deg);
}

.bp-account-menu-trigger:hover,
.bp-account-menu-trigger:focus {
	background-color: rgba(247, 241, 230, 0.18);
	outline: none;
}

.bp-account-menu-trigger:focus-visible {
	outline: 2px solid var(--bp-secondary-sage);
	outline-offset: 2px;
}

.bp-account-menu-list {
	position: absolute;
	top: calc(100% + 0.45rem);
	right: 0;
	z-index: 120;
	min-width: 11.5rem;
	margin: 0;
	padding: 0.4rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 8px;
	box-shadow: var(--bp-shadow-cozy-lg);
}

.bp-account-menu-list a {
	display: block;
	padding: 0.65rem 1rem;
	color: var(--bp-bg-navy) !important;
	font-family: var(--bp-font-heading);
	font-size: 0.9rem;
	font-weight: 600;
	opacity: 1 !important;
	text-decoration: none;
	white-space: nowrap;
}

.bp-account-menu-list a:hover,
.bp-account-menu-list a:focus {
	background-color: var(--bp-bg-cream);
	color: var(--bp-primary-rust) !important;
	outline: none;
}

/* Promo banner */
.bp-promo-banner {
	background: linear-gradient(135deg, var(--bp-primary-rust) 0%, var(--bp-primary-rust-dark) 100%);
	color: var(--bp-text-light);
	padding: 0.75rem 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	font-family: var(--bp-font-heading);
	box-shadow: 0 4px 15px var(--bp-primary-rust-15);
}

.bp-promo-banner-badge {
	background-color: var(--bp-bg-navy);
	color: var(--bp-text-light);
	font-size: 0.75rem;
	font-weight: 800;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	letter-spacing: 0.5px;
}

.bp-promo-banner-text {
	font-size: 0.95rem;
	font-weight: 600;
}

/* Hero */
.bp-hero-section {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 4rem;
	padding: 5rem 0;
	align-items: center;
}

.bp-hero-section--text-right .bp-hero-content {
	order: 2;
}

.bp-hero-section--text-right .bp-book-wrapper {
	order: 1;
}

.bp-hero-section--stacked {
	grid-template-columns: 1fr;
	gap: 3rem;
	text-align: center;
}

.bp-hero-section--stacked .bp-hero-cta-box {
	align-items: center;
}

.bp-hero-section--stacked .bp-hero-subtitle {
	margin-left: auto;
	margin-right: auto;
}

.bp-hero-section--compact {
	padding: 3rem 0;
	gap: 2.5rem;
}

.bp-hero-section--compact .bp-hero-content h1 {
	font-size: 2.25rem;
}

.bp-hero-section--compact .bp-hero-content h1 .bp-highlight-text {
	font-size: 2.75rem;
}

.bp-hero-section--compact .bp-hero-subtitle {
	font-size: 1.05rem;
	margin-bottom: 1.25rem;
}

.bp-hero-section--compact .bp-book-card-3d {
	width: 220px;
	height: 308px;
}

.bp-hero-section--cover-only .bp-book-card-3d {
	transform: none;
	border-radius: 8px;
	box-shadow: 0 12px 40px rgba(0, 31, 91, 0.15);
	width: 260px;
	height: 364px;
}

.bp-hero-section--cover-only .bp-book-card-3d:hover {
	transform: none;
	box-shadow: 0 16px 48px rgba(0, 31, 91, 0.2);
}

.bp-hero-section--cover-only .bp-book-spine {
	display: none;
}

.bp-hero-section--full-width-cover {
	display: block;
	position: relative;
	padding: 6rem 0;
	min-height: 480px;
	overflow: hidden;
}

.bp-hero-section--full-width-cover .bp-hero-cover-bg {
	position: absolute;
	inset: 0;
	background-color: var(--bp-bg-navy);
	background-size: cover;
	background-position: center;
}

.bp-hero-section--full-width-cover .bp-hero-cover-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0, 31, 91, 0.9) 0%, rgba(0, 31, 91, 0.65) 100%);
}

.bp-hero-section--full-width-cover .bp-hero-fullwidth-inner {
	position: relative;
	z-index: 1;
}

.bp-hero-section--full-width-cover .bp-hero-content {
	max-width: 640px;
}

.bp-hero-section--full-width-cover .bp-hero-content h1 {
	color: var(--bp-text-light);
}

.bp-hero-section--full-width-cover .bp-hero-subtitle {
	color: rgba(247, 241, 230, 0.92);
	opacity: 1;
}

.bp-hero-section--full-width-cover .bp-hero-microcopy {
	color: rgba(247, 241, 230, 0.75);
}

.bp-hero-content h1 {
	font-size: 2.85rem;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	letter-spacing: -0.5px;
}

.bp-hero-content h1 .bp-highlight-text {
	display: block;
	font-size: 3.5rem;
	line-height: 1.40em;
	/* letter-spacing: -1.2px; */
	margin-top: 0.15em;
}

.bp-text-multiline,
.bp-inline-editable-multiline {
	white-space: pre-line;
}

.bp-hero-subtitle strong,
.bp-feature-card strong,
.bp-accordion-inner strong,
.bp-toc-numbered-preview strong,
.bp-book-subtitle strong,
.bp-hero-content h1 strong,
.bp-hero-microcopy strong,
.bp-section-title strong {
	font-weight: 700;
}

.bp-hero-subtitle em,
.bp-feature-card em,
.bp-accordion-inner em,
.bp-toc-numbered-preview em,
.bp-book-subtitle em,
.bp-hero-content h1 em,
.bp-hero-microcopy em,
.bp-section-title em {
	font-style: italic;
}

.bp-hero-subtitle a,
.bp-feature-card a,
.bp-accordion-inner a,
.bp-toc-numbered-preview a,
.bp-toc-read-sample-link,
.bp-book-subtitle a,
.bp-hero-content h1 a,
.bp-hero-microcopy a,
.bp-section-title a {
	color: var(--bp-secondary-sage);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bp-hero-subtitle a:hover,
.bp-feature-card a:hover,
.bp-accordion-inner a:hover,
.bp-toc-numbered-preview a:hover,
.bp-toc-read-sample-link:hover,
.bp-book-subtitle a:hover,
.bp-hero-content h1 a:hover,
.bp-hero-microcopy a:hover,
.bp-section-title a:hover {
	color: var(--bp-bg-navy);
}

.bp-toc-read-sample {
	margin: 0.75rem 0 0;
}

.bp-hero-sample-cta {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.bp-hero-sample-cta .bp-toc-read-sample {
	margin: 0;
	text-align: center;
}

.bp-hero-sample-cta .bp-hero-read-sample-link.bp-btn {
	display: inline-block;
	text-decoration: none;
}

/* Book page quick links (Media / Educators / Resources) */
.bp-book-page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.85rem;
	padding: 1.1rem 0 0;
}

.bp-book-page-links__label {
	font-family: var(--bp-font-heading);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bp-text-muted);
}

.bp-book-page-links__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.bp-book-page-link {
	display: inline-flex;
	align-items: center;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--bp-bg-navy);
	background: #fff;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	text-decoration: none;
	box-shadow: var(--bp-shadow-cozy);
	transition: var(--bp-transition);
}

.bp-book-page-link:hover,
.bp-book-page-link:focus-visible {
	color: var(--bp-text-light);
	background: var(--bp-secondary-sage);
	border-color: var(--bp-secondary-sage);
	box-shadow: var(--bp-shadow-cozy-lg);
	transform: translateY(-1px);
}

/* Shared CTA row: Buy and Read Sample on the same baseline */
.bp-hero-section--with-sample {
	grid-template-rows: 1fr auto;
	align-items: stretch;
	column-gap: 4rem;
	row-gap: 1.5rem;
}

.bp-hero-section--with-sample .bp-hero-content {
	grid-column: 1;
	grid-row: 1;
	align-self: start;
}

.bp-hero-section--with-sample .bp-book-wrapper {
	grid-column: 2;
	grid-row: 1;
	padding: 0;
	align-self: center;
	justify-content: flex-end;
}

.bp-hero-section--with-sample .bp-hero-cta-box {
	grid-column: 1;
	grid-row: 2;
	align-self: start;
}

.bp-hero-section--with-sample .bp-hero-sample-cta {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
}

.bp-hero-section--text-right.bp-hero-section--with-sample .bp-hero-content {
	grid-column: 2;
	order: unset;
}

.bp-hero-section--text-right.bp-hero-section--with-sample .bp-book-wrapper {
	grid-column: 1;
	order: unset;
}

.bp-hero-section--text-right.bp-hero-section--with-sample .bp-hero-cta-box {
	grid-column: 2;
}

.bp-hero-section--text-right.bp-hero-section--with-sample .bp-hero-sample-cta {
	grid-column: 1;
}

.bp-hero-section--stacked.bp-hero-section--with-sample {
	grid-template-columns: 1fr;
	grid-template-rows: auto;
}

.bp-hero-section--stacked.bp-hero-section--with-sample .bp-hero-content,
.bp-hero-section--stacked.bp-hero-section--with-sample .bp-book-wrapper,
.bp-hero-section--stacked.bp-hero-section--with-sample .bp-hero-cta-box,
.bp-hero-section--stacked.bp-hero-section--with-sample .bp-hero-sample-cta {
	grid-column: 1;
	grid-row: auto;
}

.bp-hero-subtitle {
	font-size: 1.25rem;
	color: var(--bp-text-charcoal);
	opacity: 0.85;
	margin-bottom: 2rem;
	/* max-width: 500px; */
}

.bp-hero-cta-box {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	align-items: flex-start;
}

.bp-hero-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.bp-print-edition-page {
	max-width: 42rem;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 4rem;
}

.bp-print-edition-page__title {
	text-align: center;
	margin: 0 0 2rem;
	font-family: var(--bp-font-heading);
	color: var(--bp-bg-navy);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	line-height: 1.2;
}

.bp-print-edition-page__links {
	margin: 0;
	padding: 0;
	max-width: none;
}

.bp-print-edition-page__card {
	background: #fff;
	border: 1px solid rgba(0, 31, 91, 0.08);
	border-radius: 16px;
	box-shadow: var(--bp-shadow-cozy);
	padding: 2rem;
}

.bp-print-edition-page__content {
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--bp-text-charcoal);
}

.bp-print-edition-page__primary {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--bp-border-cozy);
}

.bp-print-edition-page__primary-label {
	margin: 0 0 0.85rem;
	text-align: center;
	color: var(--bp-text-muted);
	font-size: 0.95rem;
}

.bp-print-edition-page__primary-btn {
	display: block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

.bp-print-edition-page__regional h2,
.bp-print-edition-page__regional h3,
.bp-print-edition-page__regional h4 {
	font-family: var(--bp-font-heading);
	color: var(--bp-text-muted);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 0 0 1rem;
	text-align: center;
}

.bp-print-edition-page__regional ul,
.bp-print-edition-page__regional ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
}

.bp-print-edition-page__regional li {
	margin: 0;
}

.bp-print-edition-page__regional a {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.8rem 1.125rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 8px;
	background: var(--bp-bg-cream);
	color: var(--bp-bg-navy);
	font-size: 0.95rem;
	font-weight: 600;
	text-align: left;
	text-decoration: none;
	transition: var(--bp-transition);
}

.bp-print-edition-page__regional a:hover {
	border-color: color-mix(in srgb, var(--bp-primary-rust) 35%, var(--bp-border-cozy));
	background: #fff;
	color: var(--bp-primary-rust);
	text-decoration: none;
}

.bp-print-edition-page__regional p {
	margin: 0 0 1rem;
	text-align: center;
	color: var(--bp-text-muted);
	font-size: 0.95rem;
}

@media (max-width: 600px) {
	.bp-print-edition-page {
		padding: 2rem 1rem 3rem;
	}

	.bp-print-edition-page__card {
		padding: 1.5rem 1.25rem;
	}
}

.bp-hero-microcopy {
	font-size: 0.85rem;
	color: var(--bp-text-muted);
	font-style: italic;
}

.bp-price-struck {
	text-decoration: line-through;
	opacity: 0.6;
	margin-right: 0.5rem;
}

/* 3D book */
.bp-book-wrapper {
	perspective: 1000px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem 0;
	gap: 0;
}

.bp-book-card-3d {
	width: 300px;
	height: 420px;
	position: relative;
	transform-style: preserve-3d;
	transform: rotateY(-18deg) rotateX(10deg);
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 15px 20px 30px rgba(0, 31, 91, 0.2);
	border-radius: 0 8px 8px 0;
}

.bp-book-card-3d:hover {
	transform: rotateY(0deg) rotateX(0deg);
	box-shadow: 0 25px 50px rgba(0, 31, 91, 0.25);
}

.bp-book-front {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: 0 8px 8px 0;
	overflow: hidden;
	backface-visibility: hidden;
	z-index: 2;
}

.bp-book-front img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bp-book-cover-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1.5rem;
	box-sizing: border-box;
	background: linear-gradient(135deg, var(--bp-primary-rust) 0%, var(--bp-primary-rust-dark) 100%);
	color: #FFFFFF;
	font-family: var(--bp-font-heading);
	font-weight: 700;
	font-size: 1.1rem;
	line-height: 1.3;
}

.bp-book-cover-title {
	display: block;
	max-width: 100%;
	min-width: 0;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

.bp-book-spine {
	position: absolute;
	width: 40px;
	height: 100%;
	background-color: var(--bp-bg-navy-dark);
	top: 0;
	left: -20px;
	transform: rotateY(-90deg);
	z-index: 1;
}

.bp-book-spine-text {
	color: var(--bp-text-light);
	transform: rotate(90deg) translate(50px, -10px);
	transform-origin: 0 0;
	font-family: var(--bp-font-heading);
	font-size: 0.85rem;
	letter-spacing: 2px;
	white-space: nowrap;
	opacity: 0.8;
}

/* Features */
.bp-features-section {
	background-color: #fff;
	border-top: 1px solid var(--bp-border-cozy);
	border-bottom: 1px solid var(--bp-border-cozy);
	padding: 5rem 0;
}

/* Praise - horizontal card rail between hero and features */
.bp-hero-section:has(+ .bp-praise-section) {
	padding-bottom: 1.5rem;
}

.bp-praise-section {
	padding: 0.75rem 0 1rem;
	background-color: transparent;
}

.bp-praise-section + .bp-features-section {
	padding-top: 2.5rem;
}

.bp-praise-section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.85rem;
}

.bp-praise-section__title {
	margin: 0;
	font-family: var(--bp-font-heading);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--bp-primary-rust);
}

.bp-praise-more {
	flex-shrink: 0;
	color: var(--bp-bg-navy);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	white-space: nowrap;
}

.bp-praise-more:hover {
	color: var(--bp-primary-rust);
	text-decoration: underline;
}

.bp-praise-rail {
	position: relative;
}

.bp-praise-rail__viewport {
	container-type: inline-size;
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0.35rem 0 0.65rem;
}

.bp-praise-rail__viewport::-webkit-scrollbar {
	display: none;
}

.bp-praise-rail__track {
	display: flex;
	align-items: stretch;
	gap: 1rem;
	width: max-content;
	min-height: 100%;
}

/* 1-3 quotes: static equal columns, no carousel chrome */
.bp-praise-rail:not([data-scrollable="1"]) .bp-praise-rail__track {
	width: 100%;
	display: grid;
	gap: 1rem;
}

.bp-praise-rail[data-count="1"]:not([data-scrollable="1"]) .bp-praise-rail__track {
	grid-template-columns: 1fr;
	max-width: 24rem;
}

.bp-praise-rail[data-count="2"]:not([data-scrollable="1"]) .bp-praise-rail__track {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-praise-rail[data-count="3"]:not([data-scrollable="1"]) .bp-praise-rail__track {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bp-praise-rail:not([data-scrollable="1"]) .bp-praise-rail__item {
	min-width: 0;
}

/* 4+ quotes: three full cards under the title, peek the next */
.bp-praise-rail--scrollable .bp-praise-rail__item {
	flex: 0 0 calc((100cqi - 2rem) / 3);
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	min-width: 0;
}

.bp-praise-rail--scrollable .bp-praise-rail__track {
	padding-right: 1.25rem;
}

.bp-praise-rail__nav {
	position: absolute;
	top: 42%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	padding: 0;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 999px;
	background: #fff;
	color: var(--bp-bg-navy);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--bp-shadow-cozy);
}

.bp-praise-rail__nav--prev {
	left: 0;
	transform: translate(-35%, -50%);
}

.bp-praise-rail__nav--next {
	right: 0;
	transform: translate(35%, -50%);
}

.bp-praise-rail__nav:hover,
.bp-praise-rail__nav:focus-visible {
	border-color: var(--bp-primary-rust);
	color: var(--bp-primary-rust);
	outline: none;
}

.bp-praise-rail__nav:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.bp-praise-card {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.bp-praise-card__quote {
	margin: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 1rem 1.05rem 1.1rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 10px;
	background: #fff;
	box-shadow: var(--bp-shadow-cozy);
}

.bp-praise-card__mark {
	display: block;
	margin-bottom: 0.15rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2rem;
	line-height: 0.85;
	color: var(--bp-primary-rust);
}

.bp-praise-card__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--bp-text-charcoal);
}

.bp-praise-card__attribution {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0 0.15rem;
	margin-top: auto;
	font-style: normal;
	min-height: 2.6rem;
}

.bp-praise-card__name {
	font-weight: 700;
	font-style: normal;
	font-size: 0.92rem;
	color: var(--bp-bg-navy);
}

.bp-praise-card__role {
	font-size: 0.8rem;
	line-height: 1.35;
	color: var(--bp-text-muted);
}

.bp-praise-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 44rem;
	margin: 0 auto;
}

.bp-praise-list--page {
	max-width: 48rem;
	gap: 1.5rem;
}

.bp-praise-list .bp-praise-card__quote {
	min-height: 0;
}

.bp-praise-page {
	padding: 2.5rem 0 4rem;
}

.bp-praise-page__title {
	text-align: center;
	margin-bottom: 2.5rem;
}

.bp-praise-page__list {
	margin-top: 0.5rem;
}

@media (max-width: 900px) {
	.bp-praise-rail--scrollable .bp-praise-rail__item {
		flex-basis: calc((100cqi - 1rem) / 2);
	}
}

@media (max-width: 700px) {
	.bp-praise-section__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}

	.bp-praise-rail:not([data-scrollable="1"]) .bp-praise-rail__track {
		display: flex;
		width: max-content;
		grid-template-columns: none;
		max-width: none;
	}

	.bp-praise-rail:not([data-scrollable="1"]) .bp-praise-rail__item {
		flex: 0 0 min(20.5rem, 82vw);
	}

	.bp-praise-rail--scrollable .bp-praise-rail__item {
		flex-basis: min(20.5rem, 82vw);
	}

	.bp-praise-rail__nav {
		display: none;
	}
}

.bp-section-title {
	text-align: center;
	font-size: 2.25rem;
	margin-bottom: 3.5rem;
	position: relative;
}

.bp-section-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	background-color: var(--bp-primary-rust);
	margin: 0.75rem auto 0;
	border-radius: 2px;
}

.bp-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
}

.bp-features-section--two .bp-features-grid {
	grid-template-columns: repeat(2, 1fr);
}

.bp-features-section--list .bp-features-grid {
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.bp-features-section--four .bp-features-grid {
	grid-template-columns: repeat(4, 1fr);
}

.bp-features-section--zigzag .bp-features-grid {
	grid-template-columns: 1fr;
	gap: 1.75rem;
	max-width: 820px;
	margin: 0 auto;
}

.bp-features-section--zigzag .bp-feature-card:nth-child(odd) {
	margin-right: 12%;
}

.bp-features-section--zigzag .bp-feature-card:nth-child(even) {
	margin-left: 12%;
}

.bp-feature-card {
	background-color: var(--bp-bg-cream);
	border: 1px solid var(--bp-border-cozy);
	border-radius: 8px;
	padding: 2rem;
	transition: var(--bp-transition);
}

.bp-feature-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--bp-shadow-cozy);
	border-color: var(--bp-primary-rust);
}

.bp-feature-card h3 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.bp-feature-card p {
	font-size: 0.92rem;
	color: var(--bp-text-muted);
}

/* TOC details */
.bp-details-section {
	padding: 5rem 0 8rem;
}

.bp-details-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: flex-start;
}

.bp-details-section--stacked .bp-details-grid {
	grid-template-columns: 1fr;
	gap: 3rem;
}

.bp-details-section--accordion-left .bp-details-info {
	order: 2;
}

.bp-details-section--accordion-left .bp-accordion,
.bp-details-section--accordion-left .bp-toc-numbered-list {
	order: 1;
}

.bp-details-section--accordion-only .bp-details-grid {
	grid-template-columns: 1fr;
}

.bp-toc-numbered-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 8px;
	overflow: hidden;
	background-color: #fff;
	box-shadow: var(--bp-shadow-cozy);
	counter-reset: bp-toc;
}

.bp-toc-numbered-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	padding: 1.5rem;
	border-bottom: 1px solid var(--bp-border-cozy);
	align-items: flex-start;
}

.bp-toc-numbered-item:last-child {
	border-bottom: none;
}

.bp-toc-numbered-num {
	font-family: var(--bp-font-heading);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--bp-primary-rust);
	line-height: 1;
	min-width: 2.5rem;
}

.bp-toc-numbered-title {
	font-family: var(--bp-font-heading);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--bp-bg-navy);
	margin: 0 0 0.5rem;
}

.bp-toc-numbered-preview {
	margin: 0;
	font-size: 0.95rem;
	color: var(--bp-text-charcoal);
	opacity: 0.9;
}

.bp-details-info h3 {
	font-size: 1.75rem;
	margin-bottom: 1.5rem;
}

.bp-details-info p {
	margin-bottom: 1.5rem;
	color: var(--bp-text-charcoal);
	opacity: 0.9;
}

.bp-accordion {
	border: 1px solid var(--bp-border-cozy);
	border-radius: 8px;
	overflow: hidden;
	background-color: #fff;
	box-shadow: var(--bp-shadow-cozy);
}

.bp-accordion-item {
	border-bottom: 1px solid var(--bp-border-cozy);
}

.bp-accordion-item:last-child {
	border-bottom: none;
}

.bp-accordion-header {
	padding: 1.25rem 1.5rem;
	background-color: #fff;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--bp-font-heading);
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--bp-bg-navy);
	transition: var(--bp-transition);
	user-select: none;
}

.bp-accordion-header:hover {
	background-color: rgba(229, 222, 201, 0.15);
}

.bp-accordion-icon {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
	font-weight: bold;
	font-size: 1.2rem;
	color: var(--bp-primary-rust);
}

.bp-accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	background-color: var(--bp-bg-cream);
}

.bp-accordion-item.active .bp-accordion-content {
	max-height: 500px;
}

.bp-accordion-item.active .bp-accordion-icon {
	transform: rotate(45deg);
}

.bp-accordion-inner {
	padding: 1.5rem;
	font-size: 0.95rem;
	color: var(--bp-text-charcoal);
	border-top: 1px solid var(--bp-border-cozy);
}

/* Sticky CTA */
.bp-sticky-cta-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
	background-color: rgba(0, 31, 91, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: var(--bp-text-light);
	padding: 1rem max(2rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(2rem, env(safe-area-inset-left));
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 -8px 32px rgba(0, 23, 68, 0.2);
	z-index: 99;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	border-top: 1px solid rgba(247, 241, 230, 0.1);
}

.is-layout-constrained > .bp-sticky-cta-bar {
	max-width: none !important;
	margin-inline: 0 !important;
}

.bp-sticky-cta-bar.visible {
	transform: translateY(0);
}

.bp-sticky-owned-label {
	font-size: 0.9rem;
	opacity: 0.85;
}

.bp-owned-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background-color: rgba(13, 156, 164, 0.25);
	color: var(--bp-text-light);
	border: 1px solid rgba(13, 156, 164, 0.45);
}

.bp-owned-panel {
	background: var(--bp-bg-cream);
	border: 1px solid var(--bp-border-cozy);
	border-radius: 12px;
	padding: 1.5rem;
}

.bp-owned-panel--hero {
	max-width: 520px;
}

.bp-owned-label {
	display: block;
	margin: 0 0 0.5rem;
	font-family: var(--bp-font-heading);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bp-secondary-sage);
}

.bp-owned-lead {
	margin: 0 0 0.75rem;
	font-family: var(--bp-font-heading);
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--bp-bg-navy);
}

.bp-owned-detail {
	margin: 0 0 1.25rem;
	color: var(--bp-text-muted);
	font-size: 0.95rem;
}

.bp-owned-panel .bp-btn {
	margin-top: 0.25rem;
}

.bp-owned-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.bp-owned-actions .bp-btn,
.bp-owned-actions .bp-btn-secondary {
	margin-top: 0;
}

.bp-owned-actions-secondary {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.75rem;
	margin-left: auto;
}

.bp-sticky-owned-actions {
	flex-shrink: 0;
	align-items: stretch;
}

.bp-sticky-guest-actions {
	display: flex;
	align-items: stretch;
	flex-shrink: 0;
	gap: 0.75rem;
}

.bp-owned-home-link {
	margin-left: 0;
}

.bp-owned-actions .bp-owned-home-link {
	margin-left: 0;
}

.bp-wrap.bp-owned h1 {
	margin-top: 0;
}

.bp-sticky-info {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex: 1;
	min-width: 0;
}

.bp-sticky-title {
	font-family: var(--bp-font-heading);
	font-weight: 600;
	font-size: 1.05rem;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bp-sticky-price {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--bp-primary-rust);
	font-family: var(--bp-font-heading);
	flex-shrink: 0;
	white-space: nowrap;
}

.bp-sticky-cta-bar .bp-btn {
	flex-shrink: 0;
	box-sizing: border-box;
	min-width: 0;
}

.bp-sticky-cta-bar .bp-btn:hover {
	transform: none;
}

.bp-sticky-cta-bar .bp-btn-secondary {
	flex-shrink: 0;
	box-sizing: border-box;
	min-width: 0;
	color: var(--bp-text-light);
	border-color: var(--bp-text-light);
}

.bp-sticky-cta-bar .bp-btn-secondary:hover {
	background-color: var(--bp-text-light);
	color: var(--bp-bg-navy);
}

.bp-sticky-struck {
	font-size: 0.95rem;
	color: var(--bp-text-light);
	font-weight: normal;
}

/* Shared buttons */
.bp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--bp-primary-rust);
	color: var(--bp-text-light);
	font-family: var(--bp-font-heading);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.8rem 2rem;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	transition: var(--bp-transition);
	box-shadow: 0 4px 14px var(--bp-primary-rust-30);
}

.bp-btn:hover {
	background-color: var(--bp-primary-rust-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px var(--bp-primary-rust-40);
	color: var(--bp-text-light);
}

.bp-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.bp-btn:disabled:hover {
	background-color: var(--bp-primary-rust);
	transform: none;
}

.bp-btn.bp-btn-print-amazon {
	background: linear-gradient(180deg, #ffffff 0%, #f3f7fa 100%);
	color: var(--bp-primary-rust);
	border: 1px solid color-mix(in srgb, var(--bp-primary-rust) 45%, #ffffff);
	box-shadow: 0 2px 10px rgba(0, 31, 91, 0.12);
}

.bp-btn.bp-btn-print-amazon:hover {
	background: linear-gradient(180deg, #f8fbfc 0%, #e8eef3 100%);
	color: var(--bp-primary-rust-dark);
	border-color: var(--bp-primary-rust);
	box-shadow: 0 4px 14px var(--bp-primary-rust-15);
	transform: translateY(-1px);
}

.bp-btn.bp-btn-limit:disabled {
	background-color: #9ca3af;
	box-shadow: none;
}

.bp-btn.bp-btn-limit:disabled:hover {
	background-color: #9ca3af;
}

/* Checkout / success pages */
.bp-wrap {
	max-width: 720px;
	margin: 0 auto;
	padding: 48px 24px 120px;
}

.bp-wrap.bp-success {
	max-width: min(1100px, 100%);
}

.bp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 12px;
}

.bp-checkout .bp-form-row > label,
.bp-checkout .bp-form-row > .bp-form-group {
	margin-bottom: 0;
}

.bp-checkout label,
.bp-success label {
	display: block;
	margin-bottom: 12px;
	font-family: var(--bp-font-heading);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--bp-bg-navy);
}

.bp-checkout input,
.bp-success input {
	width: 100%;
	box-sizing: border-box;
	margin-top: 6px;
	padding: 0.8rem 1rem;
	font-size: 0.95rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 6px;
	font-family: var(--bp-font-body);
	background-color: var(--bp-bg-cream);
	color: var(--bp-text-charcoal);
}

.bp-checkout input:focus,
.bp-success input:focus {
	outline: none;
	border-color: var(--bp-primary-rust);
	background-color: #fff;
	box-shadow: 0 0 0 3px var(--bp-primary-rust-15);
}

#bp-payment-element {
	margin: 16px 0;
	padding: 12px;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 10px;
	background: #fff;
}

.bp-payment-note {
	color: var(--bp-text-muted);
	font-size: 0.9rem;
}

.bp-payment-note code {
	font-size: 0.85rem;
}

#bp-checkout-feedback {
	margin-top: 12px;
	color: #b45309;
	min-height: 1.25em;
}

#bp-personalize-error {
	margin-top: 12px;
	color: #b45309;
}

.bp-generating-lead {
	font-size: 1.05rem;
	margin-bottom: 16px;
}

#bp-download-start {
	margin-bottom: 8px;
}

.bp-generating-status {
	color: var(--bp-text-muted);
	font-style: italic;
}

.bp-pdf-preview {
	width: 100%;
	margin: 1.5rem 0;
}

.bp-pdf-viewer,
#bp-pdf-viewer {
	display: block;
	width: 100%;
	height: clamp(520px, 75vh, 960px);
	min-height: 520px;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 10px;
	background: var(--bp-bg-cream);
}

#bp-download-ready {
	margin-top: 8px;
}

.bp-hidden {
	display: none;
}

.bp-checkout label.bp-hidden {
	display: none;
}

#bp-account-fields {
	margin-top: 4px;
	padding-left: 4px;
	border-left: 3px solid var(--bp-border-cozy);
}

.bp-checkbox {
	display: flex !important;
	gap: 8px;
	align-items: start;
}

.bp-checkbox input {
	width: auto;
	margin-top: 2px;
	accent-color: var(--bp-primary-rust);
}

.bp-passive-register {
	margin-top: 24px;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 12px;
	padding: 16px;
	background: var(--bp-bg-cream);
}

.bp-success--gift-setup .bp-passive-register--primary {
	margin-top: 1.25rem;
	padding: 1.25rem 1.35rem;
}

.bp-success--gift-setup .bp-thank-you-download--secondary {
	margin-top: 1.25rem;
}

/* Checkout modal */
body.bp-modal-open {
	overflow: hidden;
}

.bp-modal-overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 23, 68, 0.6);
	backdrop-filter: blur(8px);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	padding: 1rem;
}

.bp-modal-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.bp-modal-container {
	background-color: #fff;
	width: 100%;
	max-width: 520px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--bp-shadow-cozy-lg);
	border: 1px solid var(--bp-border-cozy);
	transform: scale(0.92) translateY(20px);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	max-height: 90vh;
	display: flex;
	flex-direction: column;
}

.bp-modal-overlay.active .bp-modal-container {
	transform: scale(1) translateY(0);
}

.bp-modal-header {
	background-color: var(--bp-bg-navy);
	color: var(--bp-text-light);
	padding: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bp-modal-header h3 {
	color: var(--bp-text-light);
	font-size: 1.25rem;
	margin: 0;
}

.bp-modal-close {
	background: none;
	border: none;
	color: var(--bp-text-light);
	font-size: 1.5rem;
	cursor: pointer;
	opacity: 0.8;
	line-height: 1;
}

.bp-modal-close:hover {
	opacity: 1;
	color: var(--bp-primary-rust);
}

.bp-modal-body {
	padding: 2rem;
	overflow-y: auto;
	position: relative;
}

.bp-modal-body.bp-is-loading #bp-checkout-flow {
	display: none;
}

.bp-modal-body.bp-is-loading #bp-checkout-loading {
	display: flex;
}

#bp-checkout-loading.bp-hidden {
	display: none !important;
}

.bp-step-indicator {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
	position: relative;
}

.bp-step-indicator::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: var(--bp-bg-cream-dark);
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
}

.bp-step {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--bp-bg-cream-dark);
	color: var(--bp-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 0.85rem;
	position: relative;
	z-index: 2;
	border: 2px solid var(--bp-border-cozy);
}

.bp-step.active {
	background-color: var(--bp-bg-navy);
	color: var(--bp-text-light);
	border-color: var(--bp-bg-navy);
}

.bp-step.completed {
	background-color: var(--bp-secondary-sage);
	color: var(--bp-text-light);
	border-color: var(--bp-secondary-sage);
}

.bp-checkout-lead {
	color: var(--bp-text-muted);
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
}

.bp-gift-toggle {
	margin-bottom: 1rem;
}

.bp-referral-toggle {
	margin-bottom: 0.75rem;
}

.bp-referral-status-box {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--bp-border, #e5e7eb);
}

.bp-referral-status-box h4 {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
}

.bp-referral-updates-line,
.bp-referral-progress-line {
	margin: 0 0 0.35rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--bp-text-muted, #6e7682);
}

.bp-referral-deal-line {
	margin: 0.5rem 0 0.75rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--bp-text-muted, #6e7682);
}

.bp-referral-share-panel {
	margin-top: 0.75rem;
}

.bp-referral-share-input {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 0.5rem;
	padding: 0.5rem 0.65rem;
	font-size: 0.8125rem;
	border: 1px solid var(--bp-border, #d0d5dd);
	border-radius: 6px;
	background: #fff;
}

.bp-referral-share-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.bp-referral-share-actions .bp-btn {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.45rem 0.75rem;
	font-size: 0.875rem;
}

.bp-referral-share-feedback {
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	color: var(--bp-success, #0f7b4a);
}

.bp-checkout-section-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 600;
}

.bp-checkout-note {
	margin: 0 0 1rem;
	color: var(--bp-text-muted);
	font-size: 0.875rem;
	line-height: 1.45;
}

.bp-form-group {
	margin-bottom: 1.25rem;
}

.bp-form-group label {
	display: block;
	font-family: var(--bp-font-heading);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--bp-bg-navy);
	margin-bottom: 0.5rem;
}

.bp-form-group input[type="email"],
.bp-form-group input[type="password"],
.bp-form-group input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.8rem 1rem;
	font-size: 0.95rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 6px;
	font-family: var(--bp-font-body);
	background-color: var(--bp-bg-cream);
	color: var(--bp-text-charcoal);
}

.bp-password-input-wrap {
	position: relative;
	display: block;
}

.bp-password-input-wrap input {
	padding-right: 4.75rem;
}

.bp-password-input-wrap input::-ms-reveal,
.bp-password-input-wrap input::-ms-clear {
	display: none;
}

.bp-password-input-wrap > .bp-toggle-password {
	position: absolute;
	right: 0.45rem;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	width: auto;
	min-width: 2.75rem;
	max-width: none;
	height: 2rem;
	margin: 0;
	padding: 0 0.45rem;
	border: none;
	border-radius: 4px;
	background: transparent;
	color: var(--bp-bg-navy);
	font-family: var(--bp-font-body);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: color 0.2s ease, background-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.bp-password-input-wrap > .bp-toggle-password:hover,
.bp-password-input-wrap > .bp-toggle-password:focus {
	color: var(--bp-bg-navy);
	background-color: rgba(26, 43, 74, 0.08);
	outline: none;
}

.bp-toggle-password-icon {
	flex-shrink: 0;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.bp-toggle-password-label {
	flex-shrink: 0;
}

.bp-password-input-wrap > .bp-toggle-password[aria-pressed="true"] .bp-toggle-password-icon {
	opacity: 1;
}

.bp-checkout .bp-password-input-wrap {
	margin-top: 6px;
}

.bp-checkout .bp-password-input-wrap input {
	margin-top: 0;
}

.bp-password-collapse.open {
	margin-top: 0.75rem;
}

.bp-checkout-divider {
	border: none;
	border-top: 1px dashed var(--bp-border-cozy);
	margin: 1.5rem 0;
}

.bp-promo-input-group {
	display: flex;
	gap: 10px;
}

.bp-promo-input-group input {
	flex: 1;
	text-transform: uppercase;
}

.bp-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	color: var(--bp-bg-navy);
	border: 2px solid var(--bp-bg-navy);
	font-family: var(--bp-font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.7rem 1.5rem;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	transition: var(--bp-transition);
}

.bp-btn-secondary:hover {
	background-color: var(--bp-bg-navy);
	color: var(--bp-text-light);
}

.bp-btn-block {
	width: 100%;
	margin-top: 1rem;
}

.bp-promo-feedback {
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	margin-top: 0.5rem;
}

.bp-promo-feedback.success {
	background-color: rgba(13, 156, 164, 0.12);
	color: var(--bp-secondary-sage);
	border: 1px solid rgba(13, 156, 164, 0.2);
}

.bp-promo-feedback.error {
	background-color: rgba(220, 53, 69, 0.08);
	color: #dc3545;
	border: 1px solid rgba(220, 53, 69, 0.15);
}

.bp-card-preview-box {
	background: linear-gradient(135deg, var(--bp-primary-rust) 0%, var(--bp-primary-rust-dark) 100%);
	color: var(--bp-text-light);
	padding: 1.5rem;
	border-radius: 10px;
	margin-bottom: 1.5rem;
	box-shadow: 0 8px 24px rgba(0, 23, 68, 0.25);
	position: relative;
	overflow: hidden;
}

.bp-card-preview-box::before {
	content: "";
	position: absolute;
	width: 150px;
	height: 150px;
	background-color: rgba(247, 241, 230, 0.05);
	border-radius: 50%;
	top: -30px;
	right: -30px;
}

.bp-card-logo {
	font-family: var(--bp-font-heading);
	font-size: 0.95rem;
	font-weight: 700;
	opacity: 0.7;
	letter-spacing: 1px;
	margin-bottom: 1.5rem;
}

.bp-card-num-display {
	font-family: monospace;
	font-size: 1.35rem;
	letter-spacing: 2px;
	margin-bottom: 1rem;
}

.bp-card-details-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.8;
}

#bp-card-element,
#bp-payment-element {
	padding: 0.9rem 1rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 6px;
	background: var(--bp-bg-cream);
	margin-bottom: 1rem;
}

.bp-payment-summary-breakout {
	background-color: var(--bp-bg-cream);
	border: 1px solid var(--bp-border-cozy);
	border-radius: 8px;
	padding: 1.25rem;
	margin: 1.25rem 0 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.bp-summary-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	color: var(--bp-text-charcoal);
}

.bp-summary-discount {
	color: var(--bp-secondary-sage);
	font-weight: 600;
}

.bp-summary-promo {
	font-size: 0.8rem;
	color: var(--bp-text-muted);
	font-style: italic;
	padding-bottom: 0.5rem;
	border-bottom: 1px dashed var(--bp-border-cozy);
}

.bp-summary-total {
	font-weight: 700;
	font-size: 1rem;
	color: var(--bp-bg-navy);
	margin-top: 0.25rem;
}

.bp-summary-total-price {
	color: var(--bp-primary-rust);
}

.bp-checkout-actions {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.bp-checkout-actions .bp-btn {
	flex: 1;
}

.bp-error-banner {
	background-color: #fce8e6;
	border: 1px solid #ea868f;
	color: #b02a37;
	padding: 0.8rem 1.2rem;
	border-radius: 6px;
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
}

.bp-spinner-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding: 3rem 1rem;
}

.bp-spinner {
	width: 50px;
	height: 50px;
	border: 5px solid var(--bp-bg-cream-dark);
	border-top-color: var(--bp-primary-rust);
	border-radius: 50%;
	animation: bp-spin 1s infinite linear;
}

@keyframes bp-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Library dashboard */
.bp-library {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 1.5rem 5rem;
}

.bp-library-header {
	margin-bottom: 2rem;
}

.bp-library-account-link {
	margin: 0 0 1.5rem;
	font-size: 0.95rem;
}

.bp-library-account-link a {
	color: var(--bp-ink, #2c2522);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bp-library-account-sep {
	color: var(--bp-muted, #6b6570);
}

.bp-account-header {
	margin-bottom: 2rem;
}

.bp-account-header h1 {
	font-size: 2.25rem;
	margin: 0 0 0.5rem;
}

.bp-account-lead {
	margin: 0;
	color: var(--bp-muted, #6b6570);
}

.bp-account-section {
	margin: 0 0 1.75rem;
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--bp-border-cozy, #e5e0d8);
	border-radius: 8px;
	background: var(--bp-cream, #f6f3ef);
}

.bp-account-section h2 {
	margin: 0 0 0.85rem;
	font-size: 1.1rem;
}

.bp-account-purchases {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.bp-account-purchases th,
.bp-account-purchases td {
	text-align: left;
	padding: 0.55rem 0.75rem 0.55rem 0;
	vertical-align: top;
	border-bottom: 1px solid var(--bp-border-cozy, #e5e0d8);
}

.bp-account-purchases th {
	font-weight: 600;
	color: var(--bp-muted, #6b6570);
}

.bp-account-purchases-type {
	white-space: nowrap;
}

.bp-account-purchases-empty {
	margin: 0;
	color: var(--bp-muted, #6b6570);
}

.bp-account-profile {
	margin: 0;
}

.bp-account-profile-row {
	display: grid;
	grid-template-columns: 6rem 1fr;
	gap: 0.5rem 1rem;
	margin: 0 0 0.55rem;
}

.bp-account-profile-row dt {
	margin: 0;
	font-weight: 600;
	color: var(--bp-muted, #6b6570);
}

.bp-account-profile-row dd {
	margin: 0;
}

.bp-account-note {
	margin: 0.85rem 0 0;
	font-size: 0.9rem;
	color: var(--bp-muted, #6b6570);
}

.bp-account-feedback {
	margin: 0.5rem 0 0;
	min-height: 1.25em;
	font-size: 0.9rem;
	color: var(--bp-muted, #6b6570);
}

.bp-account-feedback.is-error {
	color: #b42318;
}

.bp-account-feedback.is-success {
	color: #027a48;
}

.bp-account-footer {
	margin: 1.5rem 0 0;
}

.bp-library-header h2 {
	font-size: 2.25rem;
	margin-bottom: 0.5rem;
}

.bp-user-welcome {
	font-size: 1.1rem;
	color: var(--bp-text-muted);
}

.bp-user-highlight {
	color: var(--bp-primary-rust);
	font-weight: 700;
}

.bp-dashboard-grid {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 2rem;
	align-items: start;
}

.bp-dashboard-sidebar-column {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.bp-dashboard-sidebar-card,
.bp-dashboard-main-card {
	background-color: #fff;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 12px;
	padding: 2rem;
	box-shadow: var(--bp-shadow-cozy);
}

.bp-progress-container-box {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px dashed var(--bp-border-cozy);
}

.bp-progress-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.75rem;
}

.bp-progress-header-row h4 {
	font-size: 1.05rem;
}

.bp-progress-pct {
	font-family: var(--bp-font-heading);
	font-weight: 800;
	font-size: 1.35rem;
	color: var(--bp-secondary-sage);
}

.bp-progress-bar-bg {
	width: 100%;
	height: 8px;
	background-color: var(--bp-bg-cream-dark);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 0.75rem;
}

.bp-progress-bar-fill {
	height: 100%;
	background-color: var(--bp-secondary-sage);
	border-radius: 4px;
}

.bp-progress-subtext {
	font-size: 0.8rem;
	color: var(--bp-text-muted);
}

.bp-benefits-status-box h4 {
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 1rem;
}

.bp-benefits-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0;
	margin: 0;
}

.bp-benefit-item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	font-size: 0.88rem;
}

.bp-benefit-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: rgba(13, 156, 164, 0.15);
	color: var(--bp-secondary-sage);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 0.75rem;
	flex-shrink: 0;
}

.bp-benefit-locked {
	opacity: 0.6;
}

.bp-benefit-locked .bp-benefit-icon {
	background-color: var(--bp-bg-cream-dark);
	color: var(--bp-text-muted);
}

.bp-benefit-item strong {
	display: block;
	color: var(--bp-bg-navy);
}

.bp-benefit-link {
	color: inherit;
	text-decoration: none;
}

.bp-benefit-link:hover,
.bp-benefit-link:focus {
	text-decoration: underline;
	color: var(--bp-primary-rust, #0d9ca4);
}

.bp-benefit-item span {
	color: var(--bp-text-muted);
	font-size: 0.8rem;
}

.bp-library-errata-card {
	margin-top: 0;
}

.bp-library-errata-card h4 {
	font-size: 1.05rem;
	margin: 0 0 0.75rem;
}

.bp-library-errata-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 0;
	margin: 0;
}

.bp-library-errata-item {
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--bp-text-muted);
	padding-top: 0.85rem;
	border-top: 1px dashed var(--bp-border-cozy);
}

.bp-library-errata-item:first-child {
	padding-top: 0;
	border-top: none;
}

.bp-library-book-pages-card {
	margin-top: 0;
}

.bp-library-book-pages-card h4 {
	font-size: 1.05rem;
	margin: 0 0 0.75rem;
}

.bp-library-book-pages-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 0;
	margin: 0;
}

.bp-library-book-pages-item a {
	display: inline-flex;
	align-items: center;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--bp-secondary-sage);
	text-decoration: none;
}

.bp-library-book-pages-item a:hover,
.bp-library-book-pages-item a:focus-visible {
	color: var(--bp-bg-navy);
	text-decoration: underline;
}

.bp-dashboard-book-row {
	display: flex;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.bp-dashboard-book-cover {
	width: 140px;
	flex-shrink: 0;
}

.bp-dashboard-book-cover img,
.bp-cover-thumb {
	width: 100%;
	border-radius: 4px;
	box-shadow: 5px 8px 20px rgba(0, 31, 91, 0.15);
	border: 1px solid var(--bp-border-cozy);
}

.bp-cover-thumb {
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.75rem;
	font-size: 0.85rem;
}

.bp-book-subtitle {
	margin-top: 0;
	font-size: 1.1rem;
	color: var(--bp-primary-rust);
	font-weight: 600;
	margin-bottom: 1rem;
	white-space: pre-line;
}

.bp-lineage-langs {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	margin: 0.75rem 0 1rem;
	font-size: 0.95rem;
}

.bp-lineage-langs-label {
	font-weight: 600;
	color: var(--bp-ink, #1a1a1a);
}

.bp-lineage-lang-link {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bp-lineage-inherit-notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--bp-primary-rust, #c45c26);
	background: rgba(0, 0, 0, 0.04);
}

.bp-lineage-inherit-notice p {
	margin: 0;
	font-size: 0.95rem;
}

.bp-other-editions {
	max-width: 72rem;
	margin: 2.5rem auto 3rem;
	padding: 0 1.25rem;
}

.bp-other-editions__title {
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	margin: 0 0 1.5rem;
	font-weight: 700;
	color: var(--bp-ink, #1a1a1a);
}

.bp-other-editions__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
	gap: 1.25rem 1rem;
	align-items: start;
}

.bp-other-editions__card {
	margin: 0;
	max-width: 8.5rem;
}

.bp-other-editions__link {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.bp-other-editions__link:hover .bp-other-editions__more,
.bp-other-editions__link:focus-visible .bp-other-editions__more {
	text-decoration: underline;
}

.bp-other-editions__cover-wrap {
	display: block;
	width: 100%;
	max-width: 7.5rem;
	aspect-ratio: 2 / 3;
	max-height: 11rem;
	background: rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

.bp-other-editions__cover {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bp-other-editions__cover--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 600;
	background: linear-gradient(145deg, #1a3a4a, #0d9ca4);
	color: #fff;
}

.bp-other-editions__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
}

.bp-other-editions__lang {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--bp-primary-rust, #c45c26);
}

.bp-other-editions__blurb {
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--bp-ink, #1a1a1a);
}

.bp-other-editions__more {
	margin-top: auto;
	padding-top: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bp-ink, #1a1a1a);
}

.bp-book-desc {
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.bp-order-ref-badge {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	font-size: 0.8rem;
	color: var(--bp-text-muted);
	background-color: var(--bp-bg-cream);
	padding: 0.6rem 1rem;
	border-radius: 6px;
	border: 1px solid var(--bp-border-cozy);
	margin-bottom: 1.5rem;
}

.bp-dashboard-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: center;
}

.bp-library-download-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: center;
}

.bp-library-read-soon {
	opacity: 0.85;
}

.bp-library-quiz-note {
	margin: 0.75rem 0 0;
	font-size: 0.85rem;
	color: var(--bp-text-muted);
	font-style: italic;
}

.bp-library-coming-soon {
	margin-bottom: 2rem;
	padding: 1.5rem;
	background-color: var(--bp-bg-cream);
	border: 1px dashed var(--bp-border-cozy);
	border-radius: 8px;
}

.bp-library-coming-soon-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.bp-library-coming-soon-header h4 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 1.1rem;
	color: var(--bp-bg-navy);
}

.bp-library-coming-soon-icon {
	font-size: 1.15rem;
	line-height: 1;
}

.bp-library-coming-soon-badge {
	flex-shrink: 0;
	background-color: var(--bp-bg-navy);
	color: var(--bp-text-light);
	font-size: 0.7rem;
	font-weight: 800;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.bp-library-coming-soon-text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--bp-text-muted);
}

.bp-library-announcement {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	background: #fff;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 12px;
	box-shadow: var(--bp-shadow-cozy);
}

.bp-library-announcement-icon {
	font-size: 1.35rem;
	line-height: 1;
}

.bp-library-announcement-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
}

.bp-library-announcement-body h4 {
	margin: 0;
	font-size: 1rem;
}

.bp-library-announcement-hide {
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bp-text-muted);
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bp-library-announcement-hide:hover,
.bp-library-announcement-hide:focus-visible {
	color: var(--bp-accent);
}

.bp-library-announcement-body p {
	margin: 0 0 0.75rem;
	color: var(--bp-text-muted);
}

.bp-library-announcement-link {
	font-weight: 600;
	color: var(--bp-accent);
	text-decoration: none;
}

.bp-library-announcement-link:hover {
	text-decoration: underline;
}

.bp-library-index-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.bp-library-index-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	background-color: #fff;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 12px;
	box-shadow: var(--bp-shadow-cozy);
}

.bp-library-index-card h3 {
	margin: 0;
	font-size: 1.15rem;
}

.bp-pending-order-card {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	border-left: 4px solid var(--bp-secondary-sage);
}

.bp-pending-order-label {
	margin: 0;
	font-family: var(--bp-font-heading);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bp-secondary-sage);
}

.bp-pending-order-detail {
	margin: 0 0 0.5rem;
	color: var(--bp-text-muted, #555);
}

.bp-toc-progress-box {
	border-top: 1px dashed var(--bp-border-cozy);
	padding-top: 1.25rem;
}

.bp-toc-progress-box h4 {
	font-size: 1.05rem;
	margin-bottom: 0.75rem;
}

.bp-toc-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.bp-toc-item-progress {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--bp-bg-cream);
	border: 1px solid var(--bp-border-cozy);
	border-radius: 6px;
	padding: 0.5rem 0.9rem;
}

.bp-toc-left {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.bp-toc-num {
	font-family: var(--bp-font-heading);
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--bp-primary-rust);
	opacity: 0.7;
}

.bp-toc-title {
	display: block;
	font-size: 0.92rem;
	color: var(--bp-bg-navy);
	margin-bottom: 1px;
}

.bp-toc-milestones {
	font-size: 0.75rem;
	color: var(--bp-text-muted);
}

.bp-btn-mini-read {
	padding: 0.25rem 0.85rem;
	font-size: 0.78rem;
	box-shadow: none;
}

.bp-library-login {
	max-width: 440px;
}

.bp-library-login-header {
	margin-bottom: 1.5rem;
}

.bp-library-login-header h1,
.bp-library-login-header h2 {
	margin: 0 0 0.5rem;
	color: var(--bp-bg-navy);
	font-family: var(--bp-font-heading);
}

.bp-library-login-lead {
	margin: 0;
	color: var(--bp-text-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.bp-library-login-card {
	padding: 1.5rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(26, 39, 68, 0.06);
}

.bp-library-login-card .bp-btn-block {
	width: 100%;
	margin-top: 0.25rem;
}

.bp-password-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

.bp-password-label-row label {
	margin-bottom: 0;
}

.bp-text-link {
	padding: 0;
	border: none;
	background: none;
	color: var(--bp-primary-rust);
	font-family: var(--bp-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.bp-text-link:hover,
.bp-text-link:focus {
	color: var(--bp-primary-rust-hover);
}

.bp-text-link:focus-visible {
	outline: 2px solid var(--bp-primary-rust);
	outline-offset: 2px;
	border-radius: 2px;
}

.bp-text-link[aria-expanded="true"] {
	color: var(--bp-bg-navy);
}

.bp-login-callout {
	margin-top: 1.25rem;
	padding: 1rem 1.125rem;
	border: 1px solid var(--bp-primary-rust-25);
	border-left: 4px solid var(--bp-primary-rust);
	border-radius: 8px;
	background: var(--bp-primary-rust-06);
}

.bp-login-callout-title {
	margin: 0 0 0.5rem;
	color: var(--bp-bg-navy);
	font-family: var(--bp-font-heading);
	font-size: 1rem;
	font-weight: 700;
}

.bp-login-callout-copy,
.bp-login-callout-email {
	margin: 0 0 0.75rem;
	color: var(--bp-text-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.bp-login-callout-email {
	margin-bottom: 1rem;
}

.bp-login-callout-email strong {
	color: var(--bp-bg-navy);
	font-weight: 600;
	word-break: break-all;
}

.bp-login-alt-section {
	margin-top: 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px dashed var(--bp-border-cozy);
	border-radius: 12px;
	background: rgba(252, 249, 232, 0.65);
}

.bp-login-alt-heading {
	margin: 0 0 0.35rem;
	color: var(--bp-bg-navy);
	font-family: var(--bp-font-heading);
	font-size: 0.95rem;
	font-weight: 700;
}

.bp-login-alt-copy {
	margin: 0 0 1rem;
	color: var(--bp-text-muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

.bp-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--bp-bg-navy);
	border: 1px solid var(--bp-border-cozy);
	font-family: var(--bp-font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	cursor: pointer;
	transition: var(--bp-transition);
	box-shadow: none;
}

.bp-btn-ghost:hover {
	border-color: var(--bp-bg-navy);
	background: #fff;
	color: var(--bp-bg-navy);
	transform: none;
}

.bp-form-feedback {
	min-height: 1.25em;
	margin: 0.75rem 0 0;
	color: #b45309;
	font-size: 0.9rem;
}

.bp-form-feedback-success:not(:empty) {
	color: #166534;
}

.bp-library-login-embedded {
	margin-top: 2rem;
}

.bp-library-login input[readonly] {
	background: #fcf9e8;
	cursor: default;
}

@media (max-width: 992px) {
	.bp-dashboard-grid {
	grid-template-columns: 1fr;
	}

	.bp-dashboard-book-row {
	flex-direction: column;
	}
}

@media (max-width: 992px) {
	.bp-hero-section {
	grid-template-columns: 1fr;
	gap: 3rem;
	text-align: center;
	padding: 3rem 0;
	}

	.bp-hero-content h1 {
	font-size: 2.5rem;
	}

	.bp-hero-content h1 .bp-highlight-text {
	font-size: 3rem;
	}

	.bp-hero-subtitle {
	margin: 0 auto 2rem;
	}

	.bp-hero-cta-box {
	align-items: center;
	margin: 0 auto;
	}

	.bp-hero-cta-actions {
	justify-content: center;
	}

	.bp-book-wrapper {
	order: -1;
	}

	.bp-hero-section--with-sample {
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	row-gap: 1.5rem;
	}

	.bp-hero-section--with-sample .bp-book-wrapper {
	grid-column: 1;
	grid-row: 1;
	order: unset;
	}

	.bp-hero-section--with-sample .bp-hero-sample-cta {
	grid-column: 1;
	grid-row: 2;
	}

	.bp-hero-section--with-sample .bp-hero-content {
	grid-column: 1;
	grid-row: 3;
	}

	.bp-hero-section--with-sample .bp-hero-cta-box {
	grid-column: 1;
	grid-row: 4;
	align-items: center;
	margin: 0 auto;
	}

	.bp-features-grid {
	grid-template-columns: 1fr;
	gap: 1.5rem;
	}

	.bp-features-section--four .bp-features-grid {
	grid-template-columns: repeat(2, 1fr);
	}

	.bp-features-section--zigzag .bp-feature-card:nth-child(odd),
	.bp-features-section--zigzag .bp-feature-card:nth-child(even) {
	margin-left: 0;
	margin-right: 0;
	}

	.bp-hero-section--full-width-cover {
	padding: 4rem 0;
	min-height: auto;
	}

	.bp-details-grid {
	grid-template-columns: 1fr;
	gap: 3rem;
	}
}

@media (max-width: 768px) {
	.bp-sticky-cta-bar {
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 0.75rem;
	padding: 0.75rem max(1rem, env(safe-area-inset-right)) max(1.25rem, calc(env(safe-area-inset-bottom) + 0.5rem)) max(1rem, env(safe-area-inset-left));
	text-align: center;
	}

	.bp-sticky-info {
	flex: 0 1 auto;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	}

	.bp-sticky-title {
	white-space: normal;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.3;
	}

	.bp-sticky-cta-bar .bp-btn {
	display: flex;
	align-self: stretch;
	width: auto;
	max-width: none;
	margin: 0;
	}

	body:has(.bp-sticky-cta-bar) .bl-site-footer {
	padding-bottom: 11rem;
	}
}

@media (max-width: 768px) {
	.bp-inkwell-header {
		padding: 0.85rem 1rem;
		gap: 0.75rem;
	}

	.bp-inkwell-header .bp-logo-title,
	.bp-inkwell-header .bp-logo-subtitle {
		max-width: 55vw;
	}

	.bp-nav-toggle {
		display: inline-flex;
	}

	.bp-inkwell-header .bp-primary-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem 0 1rem;
		background-color: var(--bp-bg-navy);
		border-top: 1px solid rgba(247, 241, 230, 0.12);
		box-shadow: 0 12px 28px rgba(0, 23, 68, 0.28);
		max-height: min(70vh, 28rem);
		overflow-y: auto;
	}

	.bp-inkwell-header.is-nav-open .bp-primary-nav {
		display: flex;
	}

	.bp-inkwell-header .bp-primary-nav > a {
		display: flex;
		align-items: center;
		min-height: 2.75rem;
		padding: 0.65rem 1.25rem;
		font-size: 1rem;
		opacity: 1;
		border-bottom: 1px solid rgba(247, 241, 230, 0.08);
	}

	.bp-inkwell-header .bp-primary-nav .bp-account-menu {
		display: block;
		width: 100%;
		padding: 0.5rem 1rem 0.25rem;
	}

	.bp-inkwell-header .bp-primary-nav .bp-account-menu-trigger {
		width: 100%;
		max-width: none;
		justify-content: flex-start;
		min-height: 2.75rem;
		box-sizing: border-box;
	}

	.bp-inkwell-header .bp-primary-nav .bp-account-menu-list {
		position: static;
		right: auto;
		width: 100%;
		min-width: 0;
		margin-top: 0.4rem;
		box-shadow: none;
	}

	.bp-inkwell-header .bp-primary-nav .bp-account-menu-list a {
		color: var(--bp-bg-navy) !important;
		min-height: 2.5rem;
		display: flex;
		align-items: center;
	}

	body.bp-nav-open {
		overflow: hidden;
	}

	.bl-site-footer {
		text-align: center;
	}

	.bl-site-footer__inner {
		padding: 2rem 1rem;
	}

	.bl-site-footer__links {
		align-items: center;
		text-align: center;
	}
}

@media (max-width: 576px) {
	.bp-features-section--four .bp-features-grid {
	grid-template-columns: 1fr;
	}

	.bp-hero-content h1 {
	font-size: 1.85rem;
	}

	.bp-hero-content h1 .bp-highlight-text {
	font-size: 2.35rem;
	}

	.bp-btn {
	width: 100%;
	}

	.bp-checkout-actions {
	flex-direction: column;
	}

	.bp-form-row {
	grid-template-columns: 1fr;
	}

	.bp-pdf-viewer,
	#bp-pdf-viewer {
		height: clamp(360px, 58vh, 640px);
		min-height: 360px;
	}
}

/* Developer mode banner (admins only) */
.bp-dev-mode-banner {
	position: sticky;
	top: 0;
	z-index: 99998;
	padding: 0.5rem 1rem;
	text-align: center;
	font-size: 0.875rem;
	font-weight: 600;
	color: #6e4e00;
	background: #fff3cd;
	border-bottom: 1px solid #e6c200;
}

.admin-bar .bp-dev-mode-banner {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .bp-dev-mode-banner {
		top: 46px;
	}
}

.bp-legal-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 4rem;
}

.bp-legal-page h1 {
	margin-bottom: 0.5rem;
}

.bp-legal-page h2 {
	margin-top: 2rem;
	font-size: 1.125rem;
}

.bp-legal-page a {
	color: var(--bp-primary-rust);
}

.bl-site-footer {
	margin-top: auto;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	background-color: var(--bp-bg-navy);
	color: var(--bp-text-light);
}

body:has(.bp-sticky-cta-bar) .bl-site-footer {
	padding-bottom: 7.5rem;
}

.bl-site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
	padding: 2.5rem 2rem;
}

.bl-site-footer__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	text-align: left;
}

.bl-site-footer__links li {
	display: flex;
	align-items: center;
	margin: 0;
}

.bl-site-footer a {
	color: var(--bp-text-light);
	opacity: 0.85;
	text-decoration: none;
	transition: var(--bp-transition);
}

.bl-site-footer a:hover {
	opacity: 1;
	color: var(--bp-primary-rust);
	text-decoration: underline;
}

/* Download status page (single-use link errors) */
.bp-download-status-page {
	background-color: var(--bp-bg-cream);
	min-height: 50vh;
}

.bp-download-status {
	max-width: 560px;
	padding-top: 64px;
	padding-bottom: 80px;
}

.bp-download-status-card {
	padding: 2rem 1.75rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--bp-shadow-cozy-lg);
	text-align: center;
}

.bp-download-status-card h1 {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	line-height: 1.3;
	color: var(--bp-bg-navy);
}

.bp-download-status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background-color: #fce8e6;
	color: #b02a37;
	font-family: var(--bp-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.bp-download-status-lead {
	margin: 0 0 1.5rem;
	color: var(--bp-text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.bp-download-status-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.bp-download-status-actions .bp-btn {
	min-width: 220px;
}

.bp-download-status-hint {
	margin: 0;
	color: var(--bp-text-muted);
	font-size: 0.85rem;
	line-height: 1.5;
}

.bp-download-status-card--confirm .bp-download-status-icon--confirm {
	background-color: #e6f4ea;
	color: #1e6b3c;
}

.bp-download-confirm-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.bp-download-confirm-form .bp-btn {
	min-width: 220px;
}

/* Library quiz player */
.bp-library-quiz-page .bp-quiz-breadcrumb {
	margin: 0 0 1rem;
}

.bp-library-quiz-page .bp-quiz-breadcrumb a {
	color: var(--bp-primary-rust);
	text-decoration: none;
	font-weight: 600;
}

.bp-quiz-player-card h3 {
	margin-top: 0;
}

.bp-quiz-passing-note {
	color: var(--bp-text-muted);
	margin: 0 0 1.25rem;
}

.bp-quiz-question-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.bp-quiz-question-item {
	background: var(--bp-bg-cream);
	border: 1px solid var(--bp-border-cozy);
	border-radius: 8px;
	padding: 1rem 1.25rem;
}

.bp-quiz-multi-hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.9em;
	font-weight: 400;
	color: var(--bp-text-muted, #646970);
}

.bp-quiz-choices {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.bp-quiz-choice {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
}

.bp-quiz-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.bp-quiz-result {
	margin: 1rem 0;
	padding: 1rem;
	border-radius: 8px;
	background: var(--bp-bg-cream);
	border: 1px solid var(--bp-border-cozy);
}

.bp-quiz-result.is-passed {
	border-color: #1e6b3c;
}

.bp-quiz-result.is-failed {
	border-color: #b42318;
}

.bp-toc-activity-list {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.bp-toc-activity-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.3rem 0.75rem;
}

.bp-toc-activity-link {
	color: var(--bp-text-muted);
	font-size: 0.85rem;
	text-decoration: none;
}

.bp-toc-activity-link:hover {
	color: var(--bp-primary-rust);
}

.bp-toc-status-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background-color: var(--bp-bg-cream-dark);
	border: 1px solid var(--bp-border-cozy);
	color: var(--bp-text-muted);
	font-size: 0.7rem;
	font-weight: 600;
	white-space: nowrap;
}

.bp-toc-activity-item--retake-suggested .bp-toc-activity-link,
.bp-toc-activity-item--retake-suggested .bp-toc-status-tag {
	color: var(--bp-primary-rust);
	font-weight: 700;
}

.bp-toc-activity-item--retake-suggested .bp-toc-status-tag {
	border-color: var(--bp-primary-rust);
}

/* Flashcards player */
.bp-library-flashcards-page .bp-quiz-breadcrumb {
	margin: 0 0 1rem;
}

.bp-library-flashcards-page .bp-quiz-breadcrumb a {
	color: var(--bp-primary-rust);
	text-decoration: none;
	font-weight: 600;
}

.bp-flashcards-player-card {
	border-left: 4px solid var(--bp-secondary-sage);
}

.bp-flashcards-header {
	margin-bottom: 1.25rem;
}

.bp-flashcards-eyebrow {
	margin: 0 0 0.35rem;
	font-family: var(--bp-font-heading);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bp-secondary-sage);
}

.bp-flashcards-title-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 0.85rem;
}

.bp-flashcards-player-card h3 {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.bp-flashcards-counters {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.35rem;
	flex-shrink: 0;
}

.bp-flashcards-counter {
	display: inline-flex;
	align-items: baseline;
	gap: 0.2rem;
	margin: 0;
	font-family: var(--bp-font-heading);
	font-weight: 800;
	line-height: 1;
	color: var(--bp-bg-navy);
	flex-shrink: 0;
}

.bp-flashcards-mastery {
	margin: 0;
	font-family: var(--bp-font-heading);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--bp-secondary-sage);
	line-height: 1.2;
}

.bp-flashcards-mastery-label {
	font-weight: 600;
	color: var(--bp-text-muted);
	margin-left: 0.2rem;
}

.bp-flashcards-counter-current {
	font-size: 1.75rem;
	color: var(--bp-secondary-sage);
}

.bp-flashcards-counter-sep {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--bp-text-muted);
	padding: 0 0.1rem;
}

.bp-flashcards-counter-total {
	font-size: 1.15rem;
	color: var(--bp-text-muted);
}

.bp-flashcards-counter .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bp-flashcards-progress-track {
	width: 100%;
	height: 8px;
	background-color: var(--bp-bg-cream-dark);
	border-radius: 4px;
	overflow: hidden;
}

.bp-flashcards-progress-fill {
	height: 100%;
	background-color: var(--bp-secondary-sage);
	border-radius: 4px;
	transition: width 0.3s ease;
}

.bp-flashcard-stage {
	perspective: 1200px;
	height: clamp(260px, 38vh, 400px);
	min-height: 260px;
	margin-bottom: 1rem;
}

.bp-flashcard {
	display: none;
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 0;
	border: none;
	border-radius: 14px;
	background: transparent;
	cursor: pointer;
	transform-style: preserve-3d;
	transition: transform 0.45s ease;
	box-shadow: var(--bp-shadow-cozy);
}

.bp-flashcard.is-active {
	display: block;
}

.bp-flashcard.is-flipped {
	transform: rotateY(180deg);
}

.bp-flashcard:focus-visible {
	outline: 2px solid var(--bp-primary-rust);
	outline-offset: 3px;
}

.bp-flashcard-face {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 1.75rem;
	text-align: center;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	border-radius: 14px;
	border: 1px solid var(--bp-border-cozy);
	border-left: 4px solid var(--bp-secondary-sage);
	background: #fff;
	box-sizing: border-box;
}

.bp-flashcard-face--back {
	transform: rotateY(180deg);
	background: linear-gradient(180deg, #fff 0%, var(--bp-bg-cream) 100%);
	border-left-color: var(--bp-bg-navy);
}

.bp-flashcard--long .bp-flashcard-face {
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
	padding: 1.35rem 1.5rem;
}

.bp-flashcard-text {
	display: block;
	width: 100%;
	max-width: 36rem;
	margin: 0 auto;
	font-family: var(--bp-font-heading);
	font-size: clamp(1.15rem, 1.1vw + 0.9rem, 1.5rem);
	line-height: 1.5;
	font-weight: 600;
	color: var(--bp-bg-navy);
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: pre-wrap;
	hyphens: auto;
}

.bp-flashcard--short .bp-flashcard-text {
	font-size: clamp(1.35rem, 1.8vw + 0.95rem, 1.9rem);
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.bp-flashcard--medium .bp-flashcard-text {
	font-size: clamp(1.1rem, 1vw + 0.85rem, 1.35rem);
	font-weight: 600;
	line-height: 1.5;
}

.bp-flashcard--long .bp-flashcard-text {
	max-width: none;
	margin: 0;
	font-size: clamp(0.98rem, 0.55vw + 0.85rem, 1.12rem);
	font-weight: 600;
	line-height: 1.55;
	text-align: left;
}

.bp-flashcards-controls,
.bp-flashcards-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 0.75rem;
}

.bp-flashcards-controls {
	justify-content: center;
}

.bp-flashcards-controls .bp-btn-secondary:disabled {
	opacity: 0.45;
	border-color: var(--bp-border-cozy);
	color: var(--bp-text-muted);
}

.bp-flashcards-flip-btn {
	background-color: var(--bp-bg-navy);
	color: var(--bp-text-light);
	border-color: var(--bp-bg-navy);
	min-width: 6.5rem;
}

.bp-flashcards-flip-btn:hover {
	background-color: var(--bp-bg-navy-dark);
	border-color: var(--bp-bg-navy-dark);
	color: var(--bp-text-light);
}

.bp-flashcards-study {
	margin: 0 0 1rem;
	padding: 1rem 1.15rem 1.05rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 14px;
	background: linear-gradient(180deg, #fff 0%, var(--bp-bg-cream) 140%);
	box-shadow: 0 1px 0 rgba(0, 31, 91, 0.04);
}

.bp-flashcards-study[hidden] {
	display: none;
}

.bp-flashcards-recall-label {
	margin: 0 0 0.7rem;
	font-family: var(--bp-font-heading);
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--bp-bg-navy);
	letter-spacing: 0.01em;
}

.bp-flashcards-recall-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	margin-bottom: 0.15rem;
}

.bp-flashcards-recall-btn {
	width: 100%;
	justify-content: center;
	min-height: 2.65rem;
	border-radius: 10px;
	font-weight: 700;
}

.bp-flashcards-recall-btn--known {
	background-color: var(--bp-secondary-sage);
	border-color: var(--bp-secondary-sage);
	color: #fff;
}

.bp-flashcards-recall-btn--known:hover {
	filter: brightness(0.95);
	color: #fff;
}

.bp-flashcards-recall-btn--learning {
	background: #fff;
	border-color: var(--bp-secondary-sage);
	color: var(--bp-secondary-sage);
}

.bp-flashcards-recall-btn--learning:hover {
	background: rgba(13, 156, 164, 0.08);
	color: var(--bp-secondary-sage);
}

.bp-flashcards-recall-actions .bp-flashcards-recall-btn.is-selected {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bp-bg-navy);
}

.bp-flashcards-analogy {
	margin-top: 0.85rem;
	border-top: 1px dashed var(--bp-border-cozy);
	padding-top: 0.75rem;
}

.bp-flashcards-analogy summary {
	cursor: pointer;
	font-family: var(--bp-font-heading);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--bp-secondary-sage);
	list-style: none;
}

.bp-flashcards-analogy summary::-webkit-details-marker {
	display: none;
}

.bp-flashcards-analogy summary::before {
	content: '+';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	margin-right: 0.4rem;
	border-radius: 6px;
	background: rgba(13, 156, 164, 0.12);
	color: var(--bp-secondary-sage);
	font-weight: 800;
	line-height: 1;
}

.bp-flashcards-analogy[open] summary::before {
	content: '−';
}

.bp-flashcards-analogy-hint {
	margin: 0.7rem 0 0.55rem;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--bp-text-muted);
}

.bp-flashcards-analogy-input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 10px;
	font: inherit;
	resize: vertical;
	min-height: 4.5rem;
	background: #fff;
	color: var(--bp-bg-navy);
	line-height: 1.45;
}

.bp-flashcards-analogy-input:focus {
	outline: 2px solid var(--bp-secondary-sage);
	outline-offset: 1px;
	border-color: var(--bp-secondary-sage);
}

.bp-flashcards-analogy-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-top: 0.65rem;
}

.bp-flashcards-analogy-status {
	margin: 0;
	font-size: 0.88rem;
	color: var(--bp-text-muted);
}

.bp-flashcards-analogy-status.is-error {
	color: var(--bp-primary-rust);
}

.bp-flashcards-analogy-status.is-ok {
	color: #1e6b3c;
}

.bp-flashcards-actions {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px dashed var(--bp-border-cozy);
}

.bp-flashcards-rate-hint {
	display: none;
	margin: 0;
	width: 100%;
	color: var(--bp-secondary-sage);
	font-weight: 600;
}

.bp-flashcards-rate-hint.is-visible {
	display: block;
}

.bp-flashcards-feedback {
	display: none;
	margin: 0;
	width: 100%;
}

.bp-flashcards-feedback.is-visible {
	display: block;
}

.bp-flashcards-feedback.is-passed {
	color: #1e6b3c;
}

@media (max-width: 600px) {
	.bp-flashcards-counter-current {
		font-size: 1.45rem;
	}

	.bp-flashcard-stage {
		height: clamp(240px, 42vh, 360px);
		min-height: 240px;
	}

	.bp-flashcard-face {
		padding: 1.2rem 1.15rem;
	}

	.bp-flashcard--long .bp-flashcard-face {
		padding: 1.1rem 1.05rem;
	}

	.bp-flashcards-recall-actions {
		grid-template-columns: 1fr;
	}

	.bp-flashcards-controls {
		justify-content: stretch;
	}

	.bp-flashcards-controls .bp-btn-secondary {
		flex: 1 1 auto;
	}
}

/* Quick Reference cheatsheet */
.bp-library-quick-reference-page .bp-quiz-breadcrumb {
	margin: 0 0 1rem;
}

.bp-library-quick-reference-page .bp-quiz-breadcrumb a {
	color: var(--bp-primary-rust);
	text-decoration: none;
	font-weight: 600;
}

.bp-quick-reference-card {
	border-left: 4px solid var(--bp-secondary-sage);
}

.bp-quick-reference-header {
	margin-bottom: 1.25rem;
}

.bp-quick-reference-eyebrow {
	margin: 0 0 0.35rem;
	font-family: var(--bp-font-heading);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bp-secondary-sage);
}

.bp-quick-reference-card h3 {
	margin: 0;
	color: var(--bp-bg-navy);
}

.bp-quick-reference-body {
	margin: 0;
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 12px;
	background: linear-gradient(180deg, #fff 0%, var(--bp-bg-cream) 160%);
	color: var(--bp-bg-navy);
	line-height: 1.55;
}

.bp-quick-reference-body h2,
.bp-quick-reference-body h3,
.bp-quick-reference-body h4 {
	margin: 1.25rem 0 0.55rem;
	font-family: var(--bp-font-heading);
	font-weight: 800;
	color: var(--bp-secondary-sage);
	letter-spacing: 0.02em;
}

.bp-quick-reference-body h2:first-child,
.bp-quick-reference-body h3:first-child,
.bp-quick-reference-body h4:first-child {
	margin-top: 0;
}

.bp-quick-reference-body h2 {
	font-size: 0.95rem;
	text-transform: uppercase;
}

.bp-quick-reference-body h3 {
	font-size: 1.05rem;
}

.bp-quick-reference-body h4 {
	font-size: 1rem;
}

.bp-quick-reference-body p {
	margin: 0 0 0.85rem;
	overflow-wrap: anywhere;
}

.bp-quick-reference-body ul,
.bp-quick-reference-body ol {
	margin: 0 0 0.95rem;
	padding-left: 1.25rem;
}

.bp-quick-reference-body li {
	margin: 0 0 0.45rem;
	overflow-wrap: anywhere;
}

.bp-quick-reference-body a {
	color: var(--bp-secondary-sage);
	font-weight: 600;
}

.bp-quick-reference-body strong {
	color: var(--bp-bg-navy);
}

/* Contact form */
.bp-contact {
	padding: 3rem 1.5rem;
}

.bp-contact__inner {
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 14px;
	box-shadow: var(--bp-shadow-cozy);
	padding: 2rem;
}

.bp-contact__heading {
	margin-top: 0;
	font-family: var(--bp-font-heading);
	color: var(--bp-bg-navy);
}

.bp-contact__intro {
	color: var(--bp-text-muted);
	margin-bottom: 1.5rem;
}

.bp-contact__row {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.bp-contact__row .bp-contact__field {
	flex: 1 1 220px;
}

.bp-contact__field {
	display: block;
	margin-bottom: 1.1rem;
}

.bp-contact__label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 600;
	color: var(--bp-text-charcoal);
}

.bp-contact__field input,
.bp-contact__field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 8px;
	font-family: var(--bp-font-body);
	font-size: 1rem;
	color: var(--bp-text-charcoal);
	background: var(--bp-bg-cream);
	transition: var(--bp-transition);
}

.bp-contact__field input:focus,
.bp-contact__field textarea:focus {
	outline: none;
	border-color: var(--bp-primary-rust);
	background: #fff;
}

.bp-contact__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bp-contact__submit {
	display: inline-block;
	border: none;
	cursor: pointer;
	padding: 0.8rem 1.6rem;
	border-radius: 8px;
	font-family: var(--bp-font-heading);
	font-weight: 700;
	font-size: 1rem;
	color: var(--bp-text-light);
	background: linear-gradient(135deg, var(--bp-primary-rust) 0%, var(--bp-primary-rust-dark) 100%);
	transition: var(--bp-transition);
}

.bp-contact__submit:hover {
	background: var(--bp-primary-rust-hover);
}

.bp-contact__submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.bp-contact__feedback {
	margin: 1rem 0 0;
	min-height: 1.2em;
	font-weight: 600;
}

.bp-contact__feedback--error {
	color: #b42318;
}

.bp-contact__feedback--success {
	color: #1e6b3c;
}

.bp-media-page {
	max-width: 920px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 4rem;
}

.bp-media-page__hero {
	margin-bottom: 2.5rem;
	padding: 2rem;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(13, 156, 164, 0.12) 0%, rgba(0, 87, 168, 0.08) 100%);
	border: 1px solid rgba(0, 31, 91, 0.08);
}

.bp-media-page__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bp-primary-rust-dark);
}

.bp-media-page__title {
	margin: 0 0 1rem;
	font-family: var(--bp-font-heading);
	color: var(--bp-bg-navy);
	font-size: 2.25rem;
}

.bp-media-page__intro {
	margin: 0 0 0.75rem;
	color: var(--bp-text-muted);
	font-size: 1.05rem;
}

.bp-media-page__section {
	margin-bottom: 2.5rem;
}

.bp-media-page__section-title {
	margin: 0 0 0.75rem;
	font-family: var(--bp-font-heading);
	color: var(--bp-bg-navy);
	font-size: 1.35rem;
}

.bp-media-page__section-lead,
.bp-media-page__lead {
	margin: 0 0 1rem;
	color: var(--bp-bg-navy);
	font-size: 1.15rem;
	font-weight: 600;
}

.bp-media-page__actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.85rem;
}

.bp-media-page__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	min-height: 48px;
}

.bp-media-page__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.bp-media-page__card {
	background: #fff;
	border: 1px solid rgba(0, 31, 91, 0.08);
	border-radius: 12px;
	padding: 1rem 1.1rem;
	box-shadow: 0 8px 24px rgba(0, 31, 91, 0.04);
}

.bp-media-page__card h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	color: var(--bp-primary-rust-dark);
}

.bp-media-page__card p {
	margin: 0;
	color: var(--bp-text-muted);
}

.bp-media-page__timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 3px solid var(--bp-primary-rust);
}

.bp-media-page__timeline li {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 1rem;
	padding: 0.85rem 0 0.85rem 1rem;
	border-bottom: 1px solid rgba(0, 31, 91, 0.08);
}

.bp-media-page__timeline-year {
	font-weight: 800;
	color: var(--bp-primary-rust-dark);
}

.bp-media-page__list {
	margin: 0;
	padding-left: 1.2rem;
}

.bp-media-page__list li {
	margin-bottom: 0.45rem;
}

.bp-media-page__facts {
	display: grid;
	gap: 0.65rem;
}

.bp-media-page__facts dt {
	font-weight: 700;
	color: var(--bp-bg-navy);
}

.bp-media-page__facts dd {
	margin: 0.15rem 0 0;
	color: var(--bp-text-muted);
}

.bp-media-page__quotes {
	display: grid;
	gap: 0.85rem;
}

.bp-media-page__quote {
	margin: 0;
	padding: 1rem 1.1rem;
	border-left: 4px solid var(--bp-primary-rust);
	background: rgba(13, 156, 164, 0.06);
	font-style: italic;
}

.bp-media-page__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
}

.bp-media-page__thumbs figure {
	margin: 0;
	text-align: center;
}

.bp-media-page__thumbs img {
	width: 100%;
	border-radius: 8px;
	border: 1px solid rgba(0, 31, 91, 0.08);
	background: #fff;
}

.bp-media-page__thumbs figcaption {
	margin-top: 0.4rem;
	font-size: 0.85rem;
	color: var(--bp-text-muted);
}

.bp-media-page__contact {
	padding: 1.5rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(0, 31, 91, 0.08);
}

.bp-edu-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 4rem;
}

.bp-edu-page__title {
	margin: 0 0 1.25rem;
	font-family: var(--bp-font-heading);
	color: var(--bp-bg-navy);
	font-size: 2rem;
	line-height: 1.2;
}

.bp-edu-page__intro,
.bp-edu-page__body {
	margin: 0 0 1rem;
	color: var(--bp-text-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.bp-edu-page__body a {
	color: var(--bp-primary-rust);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bp-edu-page__body a:hover {
	color: var(--bp-primary-rust-dark);
}

.bp-edu-page__cta {
	margin-top: 1.5rem;
}

.bp-edu-page__btn .wp-block-button__link {
	background: var(--bp-primary-rust);
	color: #fff;
	border-radius: 8px;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	text-decoration: none;
}

.bp-edu-page__btn .wp-block-button__link:hover {
	background: var(--bp-primary-rust-dark);
	color: #fff;
}

.bp-resources-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 4rem;
}

.bp-resources-page__title {
	margin: 0 0 1.25rem;
	font-family: var(--bp-font-heading);
	color: var(--bp-bg-navy);
	font-size: 2rem;
	line-height: 1.2;
}

.bp-resources-page__intro,
.bp-resources-page__lock,
.bp-resources-page__discount {
	margin: 0 0 1rem;
	color: var(--bp-text-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.bp-resources-page__entries {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
}

.bp-resources-page__entry {
	margin: 0 0 0.75rem;
}

.bp-resources-page__entry a {
	color: var(--bp-primary-rust);
	font-weight: 600;
	font-size: 1.15rem;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bp-resources-page__entry a:hover {
	color: var(--bp-primary-rust-dark);
}

.bp-resources-page__cta {
	margin-top: 1.5rem;
}

.bp-resources-page__cta .bp-btn {
	display: inline-block;
}

/* Explore catalog — catalog-first storefront shelf */
.bp-catalog {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 4.5rem;
}

.bp-catalog__header {
	margin-bottom: 2rem;
	max-width: 40rem;
}

.bp-catalog__brand {
	margin: 0 0 0.65rem;
	font-family: var(--bp-font-heading);
	font-size: clamp(2.1rem, 4.5vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--bp-bg-navy);
	letter-spacing: -0.02em;
}

.bp-catalog__lead {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.55;
	color: var(--bp-text-muted);
}

.bp-catalog__benefits {
	margin: 0 0 2.75rem;
	padding: 1.35rem 0 0;
	border-top: 1px solid var(--bp-border-cozy);
}

.bp-catalog__benefits-title {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
	color: var(--bp-bg-navy);
}

.bp-catalog__benefits-intro {
	margin: 0 0 0.9rem;
	font-size: 0.98rem;
	color: var(--bp-text-muted);
}

.bp-catalog__benefits-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.55rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-catalog__benefits-list li {
	position: relative;
	padding-left: 1.15rem;
	font-size: 0.98rem;
	line-height: 1.45;
	color: var(--bp-text-charcoal);
}

.bp-catalog__benefits-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--bp-secondary-sage);
}

.bp-catalog__shelf-title {
	margin: 0 0 1.25rem;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bp-text-muted);
}

.bp-catalog__empty {
	margin: 0;
	color: var(--bp-text-muted);
}

.bp-catalog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 2rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bp-catalog__card {
	margin: 0;
}

.bp-catalog__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.bp-catalog__cover-wrap {
	display: block;
	margin-bottom: 0.95rem;
	aspect-ratio: 3 / 4;
	background: var(--bp-bg-cream-dark);
	overflow: hidden;
	box-shadow: var(--bp-shadow-cozy);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bp-catalog__link:hover .bp-catalog__cover-wrap,
.bp-catalog__link:focus-visible .bp-catalog__cover-wrap {
	transform: translateY(-4px);
	box-shadow: var(--bp-shadow-cozy-lg);
}

.bp-catalog__cover {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bp-catalog__cover--placeholder {
	display: block;
	min-height: 100%;
	background:
		linear-gradient(160deg, var(--bp-bg-navy) 0%, #0a3a7a 48%, var(--bp-secondary-sage) 140%);
}

.bp-catalog__title {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--bp-bg-navy);
	transition: color 0.25s ease;
}

.bp-catalog__link:hover .bp-catalog__title,
.bp-catalog__link:focus-visible .bp-catalog__title {
	color: var(--bp-secondary-sage);
}

.bp-catalog__subtitle {
	margin: 0 0 0.55rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--bp-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bp-catalog__price {
	margin: 0 0 0.55rem;
	font-weight: 700;
	color: var(--bp-bg-navy);
}

.bp-catalog__cta {
	margin-top: auto;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--bp-secondary-sage);
	opacity: 0.85;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.bp-catalog__link:hover .bp-catalog__cta,
.bp-catalog__link:focus-visible .bp-catalog__cta {
	opacity: 1;
	transform: translateX(2px);
}

.bp-catalog__card-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.65rem;
}

.bp-catalog__card-link {
	display: inline-flex;
	align-items: center;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--bp-bg-navy);
	background: #fff;
	border: 1px solid var(--bp-border-cozy);
	border-radius: 999px;
	padding: 0.25rem 0.7rem;
	text-decoration: none;
	box-shadow: var(--bp-shadow-cozy);
	transition: var(--bp-transition);
}

.bp-catalog__card-link:hover,
.bp-catalog__card-link:focus-visible {
	color: var(--bp-text-light);
	background: var(--bp-secondary-sage);
	border-color: var(--bp-secondary-sage);
	box-shadow: var(--bp-shadow-cozy-lg);
}

.bp-catalog-missing {
	padding: 3rem 1.25rem;
}

/* Breadcrumbs — book landing and marketing pages */
.bp-breadcrumbs {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem 1.25rem 0.25rem;
}

.bp-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--bp-text-muted);
}

.bp-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.bp-breadcrumbs__item:not(:last-child)::after {
	content: "/";
	margin: 0 0.45rem;
	color: var(--bp-border-cozy);
	speak: never;
}

.bp-breadcrumbs__link {
	color: var(--bp-bg-navy);
	text-decoration: none;
	font-weight: 600;
}

.bp-breadcrumbs__link:hover,
.bp-breadcrumbs__link:focus-visible {
	color: var(--bp-secondary-sage);
	text-decoration: underline;
}

.bp-breadcrumbs__current {
	color: var(--bp-text-muted);
	font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
	.bp-catalog__cover-wrap,
	.bp-catalog__title,
	.bp-catalog__cta {
		transition: none;
	}

	.bp-catalog__link:hover .bp-catalog__cover-wrap,
	.bp-catalog__link:focus-visible .bp-catalog__cover-wrap,
	.bp-catalog__link:hover .bp-catalog__cta,
	.bp-catalog__link:focus-visible .bp-catalog__cta {
		transform: none;
	}
}


/* Chrome-free activity document embedded in the online reader modal */
body.bp-activity-embed {
	margin: 0;
	background: #fff;
}

body.bp-activity-embed .bp-library,
body.bp-activity-embed .bp-wrap {
	max-width: none;
	margin: 0;
	padding: 1.5rem 1.25rem 2.5rem;
}

body.bp-activity-embed .bp-library-header,
body.bp-activity-embed .bp-quiz-breadcrumb,
body.bp-activity-embed .bp-quiz-actions a.bp-btn {
	display: none;
}
