/*
 * /masterclass landing page (Concept B layout, site palette). Loaded only on that page.
 */

.bsg-mc {
	--mc-wrap: 1080px;
	color: var(--bsg-ink);
}

.bsg-mc p {
	margin: 0;
}

.bsg-mc-wrap {
	max-width: var(--mc-wrap);
	margin: 0 auto;
	padding: 0 32px;
	box-sizing: border-box;
}

.bsg-mc-center {
	text-align: center;
}

.bsg-mc-h2 {
	margin: 0;
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.12;
}

.bsg-mc-eyebrow {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ---------- CTA ---------- */

.bsg-mc-cta {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 18px 32px;
	border: 0;
	border-radius: 999px;
	background: var(--bsg-cta);
	color: var(--bsg-ink);
	font: 800 18px/1.2 var(--wp--preset--font-family--mulish);
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(255, 122, 26, 0.35);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.bsg-mc-cta:hover {
	background: #F26A06;
	color: var(--bsg-ink);
	transform: translateY(-1px);
}

.bsg-mc-cta--ink {
	background: var(--bsg-ink);
	color: #fff;
	box-shadow: none;
}

.bsg-mc-cta--ink:hover {
	background: var(--bsg-ink-soft);
	color: #fff;
}

.bsg-mc-cta[disabled] {
	opacity: 0.6;
	cursor: progress;
	transform: none;
}

/* ---------- Hero ---------- */

.bsg-mc-hero {
	background: var(--bsg-primary);
	color: #fff;
	padding: 28px 0 96px;
}

.bsg-mc-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 28px;
}

.bsg-mc-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
	font-size: 17px;
}

.bsg-mc-brand:hover {
	color: #fff;
}

.bsg-mc-brand img {
	width: 40px;
	height: 40px;
	border-radius: 10px;
}

.bsg-mc-pill {
	margin-top: 28px;
	background: var(--bsg-sun);
	color: var(--bsg-ink);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.02em;
	padding: 8px 16px;
	border-radius: 999px;
}

.bsg-mc-title {
	margin: 0;
	max-width: 900px;
	font-size: clamp(36px, 5.4vw, 64px);
	line-height: 1.06;
	font-weight: 900;
	letter-spacing: -0.035em;
	color: #fff;
}

.bsg-mc-lead {
	max-width: 680px;
	font-size: clamp(17px, 1.6vw, 19px);
	line-height: 1.6;
	color: var(--wp--preset--color--on-primary);
}

.bsg-mc-cd {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.bsg-mc-cd__box {
	background: #fff;
	color: var(--bsg-ink);
	border-radius: 20px;
	width: 104px;
	padding: 14px 0;
}

.bsg-mc-cd__box strong {
	display: block;
	font-size: 46px;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.bsg-mc-cd__box span {
	font-size: 12px;
	font-weight: 800;
	color: var(--bsg-muted);
	letter-spacing: 0.08em;
}

.bsg-mc-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	font-size: 14px;
	font-weight: 700;
	color: var(--wp--preset--color--on-primary);
}

.bsg-mc-star {
	color: var(--bsg-sun);
}

/* ---------- Sections ---------- */

.bsg-mc-sec {
	padding: 96px 0;
}

.bsg-mc-sec--tight {
	padding-top: 0;
}

.bsg-mc-sec--ink {
	background: var(--bsg-ink);
	color: #fff;
}

.bsg-mc-sec--ink .bsg-mc-h2 {
	color: #fff;
}

.bsg-mc-sec--ice {
	background: var(--bsg-ice);
}

.bsg-mc-take {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.bsg-mc-take li {
	background: var(--bsg-ice);
	border-radius: 20px;
	padding: 22px 24px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.bsg-mc-take li > span:last-child {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--bsg-muted);
}

.bsg-mc-take strong {
	font-size: 17px;
	color: var(--bsg-ink);
}

.bsg-mc-tick {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--bsg-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.bsg-mc-agenda {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
}

.bsg-mc-agenda li {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	padding: 22px 0;
	border-top: 1px solid #253260;
}

.bsg-mc-agenda__time {
	min-width: 140px;
	font-size: 15px;
	font-weight: 800;
	color: var(--bsg-sun);
}

.bsg-mc-agenda li > span:last-child {
	flex: 1 1 400px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 15px;
	color: var(--wp--preset--color--on-ink);
}

.bsg-mc-agenda strong {
	font-size: 19px;
	color: #fff;
}

.bsg-mc-host {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
}

.bsg-mc-host__photo {
	flex: 1 1 300px;
	max-width: 380px;
	aspect-ratio: 1 / 1;
	border-radius: 32px;
}

.bsg-mc-host__text {
	flex: 1 1 420px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--bsg-muted);
}

.bsg-mc-host__text .bsg-mc-eyebrow {
	color: #B4500B; /* darker tangerine: AA on white */
}

.bsg-mc-host__text .bsg-mc-h2 {
	color: var(--bsg-ink);
}

.bsg-mc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bsg-mc-chips span {
	background: var(--bsg-ice);
	color: var(--bsg-primary);
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 700;
}

.bsg-mc-proof {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.bsg-mc-proof li {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bsg-mc-proof__video {
	aspect-ratio: 4 / 5;
	border-radius: 24px;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 8px;
}

.bsg-mc-proof__role {
	font-size: 14px;
	font-weight: 700;
	color: var(--bsg-primary);
}

.bsg-mc-proof__quote {
	font-size: 15px;
	line-height: 1.55;
	color: var(--bsg-muted);
}

.bsg-mc-buy {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}

.bsg-mc-price {
	flex: 1 1 360px;
	background: var(--bsg-sun);
	border-radius: 32px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	box-sizing: border-box;
}

.bsg-mc-price__amount {
	font-size: 80px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: -0.04em;
}

.bsg-mc-price ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bsg-mc-price li {
	display: flex;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
}

.bsg-mc-price li svg {
	flex: none;
	margin-top: 2px;
}

.bsg-mc-faq {
	flex: 1 1 420px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bsg-mc-faq .bsg-mc-h2 {
	font-size: clamp(26px, 3vw, 36px);
	margin-bottom: 8px;
}

.bsg-mc-faq details {
	background: #fff;
	border-radius: 18px;
	padding: 0 22px;
}

.bsg-mc-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 56px;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.bsg-mc-faq summary::-webkit-details-marker {
	display: none;
}

.bsg-mc-faq summary span {
	color: var(--bsg-primary);
	font-size: 22px;
	transition: transform 0.15s ease;
}

.bsg-mc-faq details[open] summary span {
	transform: rotate(45deg);
}

.bsg-mc-faq details p {
	padding: 0 0 18px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--bsg-muted);
}

.bsg-mc-foot {
	padding: 28px 0 40px;
	font-size: 13px;
	color: var(--bsg-muted);
}

.bsg-mc-foot .bsg-mc-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}

.bsg-mc-foot a {
	color: var(--bsg-muted);
}

/* ---------- Phone bar ---------- */

.bsg-mc-bar {
	display: none;
}

/* ---------- Checkout dialog ---------- */

.bsg-mc-dialog {
	margin: auto; /* keep the native centring */
	border: 0;
	border-radius: 28px;
	padding: 0;
	width: min(440px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
	color: var(--bsg-ink);
}

.bsg-mc-dialog::backdrop {
	background: rgba(11, 21, 51, 0.6);
}

.bsg-mc-form {
	padding: 28px;
	box-sizing: border-box;
}

.bsg-mc-dialog__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bsg-mc-dialog__head h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -0.01em;
}

.bsg-mc-close {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--bsg-ice);
	color: var(--bsg-ink);
	font-size: 22px;
	cursor: pointer;
}

.bsg-mc-dialog__meta {
	font-size: 14px;
	line-height: 1.5;
	color: var(--bsg-muted);
}

.bsg-mc-dialog__meta strong {
	color: var(--bsg-ink);
}

.bsg-mc-dialog .bsg-field input {
	border-width: 2px;
	border-radius: 14px;
	font-size: 16px; /* 16px stops iOS zooming into the field */
}

.bsg-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	line-height: 1.5;
	color: var(--bsg-muted);
}

.bsg-check input {
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	flex: none;
	accent-color: var(--bsg-primary);
}

.bsg-check input[aria-invalid="true"] {
	outline: 2px solid #E5484D;
	outline-offset: 2px;
}

.bsg-mc-form .bsg-mc-cta {
	width: 100%;
	min-height: 56px;
}

.bsg-mc-dialog__note {
	font-size: 12px;
	color: var(--bsg-muted);
	text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
	.bsg-mc-take,
	.bsg-mc-proof {
		grid-template-columns: minmax(0, 1fr);
	}

	.bsg-mc-proof__video {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 640px) {
	.bsg-mc-wrap {
		padding: 0 16px;
	}

	.bsg-mc-sec {
		padding: 56px 0;
	}

	.bsg-mc-sec--tight {
		padding-top: 0;
	}

	.bsg-mc-hero {
		padding-bottom: 64px;
	}

	.bsg-mc-hero__inner {
		gap: 22px;
	}

	.bsg-mc-pill {
		margin-top: 12px;
	}

	.bsg-mc-cd {
		gap: 8px;
	}

	.bsg-mc-cd__box {
		width: 74px;
		border-radius: 16px;
		padding: 10px 0;
	}

	.bsg-mc-cd__box strong {
		font-size: 32px;
	}

	.bsg-mc-cd__box span {
		font-size: 10px;
	}

	.bsg-mc-hero .bsg-mc-cta {
		width: 100%;
	}

	.bsg-mc-price {
		padding: 28px 24px;
	}

	.bsg-mc-price__amount {
		font-size: 64px;
	}

	.bsg-mc-foot {
		padding-bottom: 110px; /* room for the floating bar */
	}

	.bsg-mc-bar {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom));
		z-index: 40;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 8px 8px 8px 20px;
		background: var(--bsg-ink);
		color: #fff;
		border-radius: 999px;
		box-shadow: 0 10px 30px rgba(11, 21, 51, 0.35);
	}

	.bsg-mc-bar__price {
		display: flex;
		flex-direction: column;
		line-height: 1.15;
	}

	.bsg-mc-bar__price strong {
		font-size: 20px;
		font-weight: 900;
	}

	.bsg-mc-bar__price span {
		font-size: 12px;
		font-weight: 700;
		color: var(--bsg-sun);
		font-variant-numeric: tabular-nums;
	}

	.bsg-mc-bar .bsg-mc-cta {
		flex: 1;
		min-height: 50px;
		padding: 12px;
		font-size: 16px;
	}
}

/* No site bottom bar on the landing page. */
body:has(.bsg-mc) {
	padding-bottom: 0;
}
