:root {
	--b2p-bg-0: #001a5f;
	--b2p-bg-1: #003d9a;
	--b2p-bg-2: #002b7f;
	--b2p-line: #2f56a2;
	--b2p-structure-line: rgba(175, 196, 236, 0.26);
	--b2p-text: #f7f4eb;
	--b2p-muted: #c7d8f4;
	--b2p-soft: #6178ad;
	--b2p-accent: #efdbb7;
	--b2p-promo: #c7d8f4;
	--b2p-max: 1728px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Inter", sans-serif;
	background:
		radial-gradient(circle at 6% 94%, #0d42ba 0%, transparent 46%),
		radial-gradient(circle at 94% 8%, #0a358f 0%, transparent 44%),
		linear-gradient(180deg, var(--b2p-bg-0) 0%, var(--b2p-bg-1) 100%);
	color: var(--b2p-text);
	line-height: 1.45;
	letter-spacing: 0.01em;
}

a {
	color: inherit;
	text-decoration: none;
}

.b2p-shell {
	width: min(100% - 48px, var(--b2p-max));
	margin-inline: auto;
}

.b2p-site-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 70;
	background: transparent;
	border: 0;
	backdrop-filter: none;
}

.b2p-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 104px;
}

.b2p-brand {
	display: inline-block;
}

.b2p-brand-logo {
	display: block;
	height: clamp(38px, 3vw, 52px);
	width: auto;
	max-width: 52px;
	color: #f7f4eb;
}

.b2p-menu-toggle {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.b2p-menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 30px;
	height: 2px;
	border-radius: 99px;
	background: #f7f4eb;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.b2p-menu-toggle:hover span:not(.screen-reader-text) {
	opacity: 0.84;
}

.b2p-nav {
	position: fixed;
	top: 0;
	right: 0;
	height: 100dvh;
	width: min(440px, 100%);
	background: linear-gradient(180deg, #001a5f 0%, #002b7f 100%);
	border-left: 1px solid var(--b2p-line);
	padding: 108px 34px 38px;
	transform: translateX(100%);
	transition: transform 0.25s ease;
	z-index: 80;
	overflow-y: auto;
}

.b2p-nav-close {
	position: absolute;
	top: 22px;
	right: 20px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(199, 216, 244, 0.36);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
}

.b2p-nav-close span {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 22px;
	height: 2px;
	background: #f6f4eb;
	border-radius: 999px;
	transform-origin: center;
}

.b2p-nav-close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.b2p-nav-close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.b2p-nav-close:hover {
	background: rgba(199, 216, 244, 0.09);
}

.b2p-nav.is-open {
	transform: translateX(0);
}

.b2p-nav-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.46);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 75;
}

body.is-nav-open .b2p-nav-backdrop {
	opacity: 1;
	pointer-events: auto;
}

.b2p-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.b2p-nav-list li {
	border-bottom: 1px solid rgba(199, 216, 244, 0.18);
}

.b2p-nav-list a {
	display: block;
	padding: 14px 0;
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: clamp(1.2rem, 1.7vw, 1.6rem);
	font-weight: 500;
	color: #eef3ff;
	letter-spacing: -0.01em;
}

.b2p-nav-list a:hover {
	color: var(--b2p-accent);
}

.b2p-home {
	padding: 0;
}

.b2p-home .b2p-shell {
	width: 100%;
	max-width: none;
	margin: 0;
}

@property --b2p-mx-0 {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 4%;
}

@property --b2p-my-0 {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 96%;
}

@property --b2p-mx-1 {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 88%;
}

@property --b2p-my-1 {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 0%;
}

@property --b2p-mx-2 {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 18%;
}

@property --b2p-my-2 {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 86%;
}

@keyframes b2p-hero-gradient-animation {
	0% {
		--b2p-mx-0: 4%;
		--b2p-my-0: 96%;
		--b2p-mx-1: 88%;
		--b2p-my-1: 0%;
		--b2p-mx-2: 18%;
		--b2p-my-2: 86%;
	}
	50% {
		--b2p-mx-0: 86%;
		--b2p-my-0: 58%;
		--b2p-mx-1: 8%;
		--b2p-my-1: 12%;
		--b2p-mx-2: 58%;
		--b2p-my-2: 26%;
	}
	100% {
		--b2p-mx-0: 12%;
		--b2p-my-0: 98%;
		--b2p-mx-1: 92%;
		--b2p-my-1: 16%;
		--b2p-mx-2: 80%;
		--b2p-my-2: 66%;
	}
}

.b2p-hero-card {
	border: 0;
	border-radius: 0;
	padding: clamp(92px, 8vw, 120px) clamp(24px, 3.2vw, 56px) clamp(20px, 2vw, 30px);
	background:
		radial-gradient(circle at 4% 96%, #0e44b9 0%, transparent 52%),
		radial-gradient(circle at 88% 0%, #1155d4 0%, transparent 46%),
		linear-gradient(180deg, #001a5f 0%, #002b7f 100%);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.b2p-hero-mesh {
	--b2p-mx-0: 4%;
	--b2p-my-0: 96%;
	--b2p-mx-1: 88%;
	--b2p-my-1: 0%;
	--b2p-mx-2: 18%;
	--b2p-my-2: 86%;
	background:
		radial-gradient(circle at var(--b2p-mx-0) var(--b2p-my-0), #0e44b9 0%, transparent 54%),
		radial-gradient(circle at var(--b2p-mx-1) var(--b2p-my-1), #1155d4 0%, transparent 48%),
		radial-gradient(circle at var(--b2p-mx-2) var(--b2p-my-2), #072b7f 0%, transparent 56%),
		linear-gradient(180deg, #001a5f 0%, #002b7f 100%);
	background-repeat: no-repeat;
	background-size: cover;
	animation: b2p-hero-gradient-animation 10s linear infinite alternate;
}

.b2p-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
	gap: clamp(26px, 2.2vw, 40px);
	flex: 1;
	min-height: 0;
	align-items: end;
}

.b2p-hero-left {
	padding-bottom: 10px;
}

.b2p-hero-kicker {
	margin: 0 0 12px;
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: clamp(1.1rem, 1.9vw, 1.9rem);
	font-weight: 400;
	line-height: 1.2;
	color: #edf2e8;
}

.b2p-hero-left h1 {
	margin: 0;
	max-width: 15ch;
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: clamp(2rem, 4.2vw, 4.7rem);
	font-weight: 700;
	line-height: 0.96;
	letter-spacing: -0.04em;
	text-transform: uppercase;
}

.b2p-hero-text {
	margin: clamp(24px, 3.4vw, 42px) 0 0;
	max-width: 23ch;
	font-family: "Inter", sans-serif;
	font-size: clamp(1.1rem, 2vw, 1.65rem);
	font-weight: 400;
	line-height: 1.22;
	color: #edf2e8;
}

.b2p-hero-actions {
	margin-top: clamp(24px, 3.1vw, 38px);
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
}

.b2p-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--b2p-soft);
	color: #f6f8f4;
	font-family: "Inter", sans-serif;
	font-size: clamp(0.9rem, 0.95vw, 1rem);
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.b2p-pill:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.b2p-hero-right {
	position: relative;
	border-left: 0;
	padding-left: clamp(20px, 2.8vw, 44px);
	padding-bottom: 10px;
}

.b2p-hero-right::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--b2p-structure-line);
}

.b2p-hero-brandline {
	display: block;
	align-items: center;
	margin-bottom: 10px;
}

.b2p-hero-logo {
	display: block;
	width: clamp(180px, 28vw, 330px);
	height: auto;
	color: #f7f4eb;
}

.b2p-hero-bigwords {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: clamp(2.8rem, 7.2vw, 8rem);
	font-weight: 700;
	line-height: 0.88;
	letter-spacing: -0.05em;
	text-transform: uppercase;
}

.b2p-hero-bigwords .muted {
	color: #95a6c8;
}

.b2p-thesis-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 30px;
	padding: 13px 22px;
	border-radius: 999px;
	background: var(--b2p-promo);
	color: #0f275f;
	font-size: 1.03rem;
	font-weight: 600;
}

.b2p-thesis-link::before {
	content: "->";
	font-weight: 700;
}

.b2p-thesis-link:hover {
	filter: brightness(1.05);
}

.b2p-reveal-up,
.b2p-reveal-right {
	opacity: 0;
	will-change: transform, opacity;
}

body.b2p-anim-ready .b2p-reveal-up {
	animation: b2p-fade-up 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
	animation-delay: var(--b2p-delay, 0s);
}

body.b2p-anim-ready .b2p-reveal-right {
	animation: b2p-fade-right 1.25s cubic-bezier(0.22, 0.61, 0.36, 1) both;
	animation-delay: var(--b2p-delay, 0s);
}

body.b2p-anim-ready.home .b2p-site-footer {
	animation: b2p-fade-up 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
	animation-delay: 0.85s;
}

@keyframes b2p-fade-up {
	from {
		opacity: 0;
		transform: translate3d(0, 28px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes b2p-fade-right {
	from {
		opacity: 0;
		transform: translate3d(46px, 0, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.b2p-hero-mesh {
		animation: none;
	}

	.b2p-reveal-up,
	.b2p-reveal-right,
	body.b2p-anim-ready.home .b2p-site-footer {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

.b2p-hero-divider {
	display: block;
	width: 100%;
	height: 1px;
	margin: 8px 0 10px;
	border: 0;
	background: var(--b2p-structure-line);
}

.b2p-home-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: clamp(0.76rem, 0.9vw, 0.95rem);
	color: #b6c6e4;
}

.b2p-home-legal p {
	margin: 0;
}

.b2p-section {
	padding: 52px 0 10px;
}

.b2p-section h2 {
	margin: 0 0 14px;
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: clamp(2rem, 3.3vw, 3.8rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--b2p-accent);
}

.b2p-section p {
	margin: 0;
	max-width: 900px;
	font-size: clamp(1.08rem, 1.2vw, 1.3rem);
	color: #d8e1f2;
	line-height: 1.62;
}

.b2p-content {
	padding: 36px 0 70px;
}

.b2p-article,
.b2p-card {
	background: color-mix(in srgb, var(--b2p-bg-2) 88%, #ffffff 12%);
	border: 1px solid rgba(199, 216, 244, 0.32);
	border-radius: 12px;
	padding: 28px;
	margin-bottom: 18px;
}

.b2p-article-title,
.b2p-card-title {
	margin: 0 0 10px;
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: clamp(2rem, 2.8vw, 3.3rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #f7f4eb;
}

.b2p-card-title a:hover {
	color: var(--b2p-accent);
}

.b2p-article-meta {
	margin: 0 0 18px;
	font-size: 1.03rem;
	color: #c7d4ea;
}

.b2p-article-body,
.b2p-card-excerpt {
	font-size: 1.12rem;
	color: #e2e9f5;
	line-height: 1.64;
}

.b2p-article-body p {
	margin: 0 0 1em;
}

.b2p-site-footer {
	border-top: 0;
	padding: 20px 0;
	color: #b6c6e4;
}

body.home .b2p-site-footer {
	display: none;
}

.b2p-footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 0.93rem;
}

.b2p-footer-inner p {
	margin: 0;
}

@media (min-width: 1181px) {
	html {
		height: 100%;
	}

	body.home {
		height: 100vh;
		min-height: 100vh;
		overflow: hidden !important;
	}

	body.home .b2p-home,
	body.home .b2p-home .b2p-shell {
		min-height: 100vh;
		height: 100vh;
	}

	body.home .b2p-hero-card {
		padding-top: clamp(82px, 5.8vw, 104px);
		padding-bottom: clamp(14px, 1.6vw, 24px);
		min-height: 100vh;
		height: 100vh;
	}

	body.home .b2p-hero-grid {
		gap: clamp(20px, 1.8vw, 30px);
		min-height: 0;
		height: auto;
	}

	body.home .b2p-hero-left,
	body.home .b2p-hero-right {
		padding-bottom: 56px;
	}

	body.home .b2p-hero-right::before {
		top: 112px;
		bottom: 78px;
	}

	body.home .b2p-hero-actions {
		margin-bottom: 8px;
	}

	body.home .b2p-thesis-link {
		margin-bottom: 8px;
	}

	body.home .b2p-hero-divider {
		margin-top: 0;
		margin-bottom: 8px;
	}

	body.home .b2p-home-legal {
		padding-top: 0;
		font-size: 0.92rem;
	}

	body.home .b2p-hero-text {
		margin-top: clamp(14px, 1.7vw, 24px);
	}

	body.home .b2p-hero-actions {
		margin-top: clamp(16px, 1.8vw, 24px);
	}

	body.home .b2p-thesis-link {
		margin-top: 14px;
	}

	/* Restore a stronger left block presence similar to CBT proportion. */
	body.home .b2p-hero-kicker {
		font-size: clamp(1.02rem, 1.38vw, 1.4rem);
	}

	body.home .b2p-hero-left h1 {
		font-size: clamp(1.92rem, 3.45vw, 3.95rem);
	}

	body.home .b2p-hero-text {
		font-size: clamp(1.08rem, 1.56vw, 1.62rem);
	}

	body.home .b2p-pill {
		font-size: clamp(0.92rem, 0.95vw, 1.05rem);
	}
}

@media (min-width: 1181px) and (max-height: 840px) {
	body.home .b2p-hero-left,
	body.home .b2p-hero-right {
		padding-bottom: 44px;
	}

	body.home .b2p-hero-right::before {
		top: 94px;
		bottom: 64px;
	}
}

@media (max-width: 1180px) {
	.b2p-hero-grid {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.b2p-hero-right {
		border-left: 0;
		border-top: 1px solid var(--b2p-structure-line);
		padding-left: 0;
		padding-top: 28px;
	}

	.b2p-hero-right::before {
		display: none;
	}

	.b2p-hero-actions {
		flex-wrap: wrap;
	}
}

@media (max-width: 768px) {
	.b2p-shell {
		width: min(100% - 24px, var(--b2p-max));
	}

	.b2p-header-inner {
		min-height: 78px;
	}

	.b2p-nav {
		padding: 94px 20px 28px;
	}

	.b2p-nav-list a {
		font-size: 1.28rem;
	}

	.b2p-home {
		padding-top: 0;
	}

	.b2p-hero-card {
		padding: 84px 20px 22px;
		min-height: 100dvh;
	}

	.b2p-hero-grid {
		min-height: calc(100dvh - 130px);
		gap: 34px;
	}

	.b2p-hero-kicker {
		font-size: clamp(1.03rem, 4.2vw, 1.35rem);
	}

	.b2p-hero-left h1 {
		font-size: clamp(1.62rem, 9vw, 2.2rem);
	}

	.b2p-hero-text {
		margin-top: 20px;
		font-size: clamp(1rem, 4.3vw, 1.28rem);
		max-width: 100%;
	}

	.b2p-hero-actions {
		margin-top: 24px;
		flex-wrap: wrap;
	}

	.b2p-pill,
	.b2p-thesis-link {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.b2p-hero-brandline {
		margin-bottom: 8px;
	}

	.b2p-hero-logo {
		width: clamp(146px, 46vw, 214px);
	}

	.b2p-hero-bigwords {
		font-size: clamp(2.25rem, 14vw, 3.7rem);
	}

	.b2p-section {
		padding-top: 36px;
	}

	.b2p-footer-inner {
		flex-direction: column;
	}

	.b2p-home-legal {
		font-size: 0.8rem;
		gap: 8px;
	}
}
