@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 {
	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-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);
}

.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.08;
	/* 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-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-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-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-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;
	justify-content: center;
	align-items: center;
	padding: 2rem 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;
}

.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;
	gap: 0.75rem;
	align-items: center;
	margin-top: 0.25rem;
}

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

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

.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-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-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-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;
	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-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-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-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-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-dashboard-book-details h3 {
	font-size: 1.75rem;
	margin-bottom: 0.25rem;
}

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

.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-body h4 {
	margin: 0 0 0.35rem;
	font-size: 1rem;
}

.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: 2rem;
}

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

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

.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: 8px;
	padding: 1rem 1.5rem;
}

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

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

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

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

.bp-btn-mini-read {
	padding: 0.4rem 1.2rem;
	font-size: 0.85rem;
	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-book-wrapper {
	order: -1;
	}

	.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: 9rem;
	}
}

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

	.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 {
		padding: 1.5rem 1rem;
		text-align: center;
	}

	.bl-site-footer__links {
		justify-content: 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;
	padding: 2rem 2rem 2rem 1.5rem;
	text-align: right;
	border-top: 1px solid var(--bp-border-cozy);
	color: var(--bp-text-muted);
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

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

.bl-site-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 0.35rem 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	text-align: right;
}

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

.bl-site-footer__links li:not(:last-child)::after {
	content: "·";
	margin-left: 0.75rem;
	color: var(--bp-text-muted);
	opacity: 0.7;
}

.bl-site-footer a {
	color: var(--bp-primary-rust);
	text-decoration: none;
}

.bl-site-footer a:hover {
	color: var(--bp-bg-navy);
	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.5rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

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

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

/* 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-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-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;
	min-height: 320px;
	margin-bottom: 1.25rem;
}

.bp-flashcard {
	display: none;
	position: relative;
	width: 100%;
	min-height: 320px;
	padding: 0;
	border: none;
	border-radius: 12px;
	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: 2.5rem 2rem;
	text-align: center;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	border-radius: 12px;
	border: 1px solid var(--bp-border-cozy);
	border-left: 4px solid var(--bp-secondary-sage);
	background: #fff;
}

.bp-flashcard-face--back {
	transform: rotateY(180deg);
	background: var(--bp-bg-cream);
	border-left-color: var(--bp-bg-navy);
}

.bp-flashcard-text {
	font-family: var(--bp-font-heading);
	font-size: clamp(1.5rem, 2.5vw + 1rem, 2.15rem);
	line-height: 1.4;
	font-weight: 700;
	color: var(--bp-bg-navy);
	max-width: 34rem;
}

.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);
}

.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-actions {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px dashed var(--bp-border-cozy);
}

.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,
	.bp-flashcard-stage {
		min-height: 260px;
	}

	.bp-flashcard-face {
		padding: 1.75rem 1.25rem;
	}

	.bp-flashcard-text {
		font-size: clamp(1.35rem, 4vw + 0.75rem, 1.75rem);
	}

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

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

/* 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;
}

