/* BitcoinReversal delivery, motion and research-table refinement v6.2. */

/*
 * Preserve the colored reversal signal language without recalculating color
 * and shadow across dozens of dots every frame. The remaining bob uses only a
 * compositor-friendly transform.
 */
html body #masthead.site-header .wave > .dot {
	animation-name: brandBob !important;
	will-change: transform;
}
.site-header .wave > .dot:nth-child(-n + 6) {
	background: var(--signal-green) !important;
	box-shadow: 0 0 5px rgba(0,255,0,.22), 0 0 10px rgba(0,255,0,.08) !important;
}
.site-header .wave > .dot:nth-child(n + 7):nth-child(-n + 13) {
	background: var(--signal-blue) !important;
	box-shadow: 0 0 5px rgba(207,227,255,.30), 0 0 10px rgba(207,227,255,.08) !important;
}
.site-header .wave > .dot:nth-child(n + 14) {
	background: var(--signal-red) !important;
	box-shadow: 0 0 5px rgba(255,0,0,.22), 0 0 10px rgba(255,0,0,.08) !important;
}

.brf-footer .brf-signal-row > span {
	animation-name: brFooterBob !important;
	will-change: transform;
}
.brf-footer .brf-signal-row > span:nth-child(-n + 6) {
	background: var(--signal-green) !important;
}
.brf-footer .brf-signal-row > span:nth-child(n + 7):nth-child(-n + 14) {
	background: var(--signal-blue) !important;
}
.brf-footer .brf-signal-row > span:nth-child(n + 15) {
	background: var(--signal-red) !important;
}

/* The model comparison stays readable without forcing the page itself wider. */
.brq-research-hub .wp-block-table {
	width: 100%;
	margin: 24px 0 38px;
	overflow-x: auto;
	border: 1px solid rgba(157, 208, 255, .16);
	border-radius: 15px;
	background: rgba(5, 17, 32, .58);
	-webkit-overflow-scrolling: touch;
}
.brq-research-hub .wp-block-table table {
	width: 100%;
	min-width: 720px;
	margin: 0;
	border-collapse: collapse;
}
.brq-research-hub .wp-block-table :where(th, td) {
	padding: 15px 16px;
	border: 0;
	border-bottom: 1px solid rgba(157, 208, 255, .12);
	color: #cbd9e7;
	font-size: 14px;
	line-height: 1.55;
	text-align: left;
	vertical-align: top;
}
.brq-research-hub .wp-block-table th {
	color: #f0f6fc;
	font-weight: 720;
	background: rgba(25, 52, 83, .46);
}
.brq-research-hub .wp-block-table tbody tr:last-child :where(th, td) {
	border-bottom: 0;
}
.brq-research-hub .wp-block-table a {
	color: #acd6f8;
	text-underline-offset: 3px;
}

/* Final WCAG pass for the Charts research hub.
 * Gutenberg wraps authored headings one level below the hub container. */
body.page-id-1947 article#post-1947,
body.page-id-1947 .brq-hub__card {
	color: #cbd9e8;
}

body.page-id-1947 .brq-research-hub :where(h1, h2, h3) {
	color: #f6f9fd !important;
}

body.page-id-1947 .brq-research-hub :where(p, li, td) a {
	color: #a9d9ff;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* Source links are part of the research UI and remain easy to activate
 * at every responsive width. */
body.page-id-486 .br-bhi3-attr a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-block: 10px;
}

/* Founder identity and seamless authored-page flow. */
body.page-id-12 #br-home-info .author-strip a {
	color: #b9e1ff;
	font-weight: 680;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.page-id-1195 .single-content > .br-about,
body.page-id-1195 .single-content > .br-about-accountability {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body.page-id-1195 .br-about {
	padding-bottom: 0 !important;
}

body.page-id-1195 .br-about-accountability {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 72px max(24px, calc((100vw - 860px) / 2)) 96px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: linear-gradient(180deg, #050d19 0%, #040b16 100%) !important;
	box-shadow: none !important;
}

body.page-id-1195 .br-about-accountability > span,
body.page-id-1195 .br-about-accountability > h2,
body.page-id-1195 .br-about-accountability > p,
body.page-id-1195 .br-about-accountability > div {
	width: 100%;
	max-width: 860px;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.page-id-1195 .br-about__origin-links a {
	color: #b9e1ff !important;
	font-weight: 680;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	html body #masthead.site-header .wave > .dot,
	.brf-footer .brf-signal-row > span {
		animation: none !important;
		will-change: auto;
	}
}


