/*
 * BetterBody360 — design system
 * Shared by the WordPress block theme AND the static HTML preview.
 * Colours/fonts read from theme.json presets first (editable in
 * Appearance → Editor → Styles) and fall back to the values below.
 */

:root {
	--bb-navy: var(--wp--preset--color--navy, #0b1f3f);
	--bb-navy-2: var(--wp--preset--color--navy-2, #15386a);
	--bb-blue: var(--wp--preset--color--blue, #2563c9);
	--bb-sky: var(--wp--preset--color--sky, #eaf2fd);
	--bb-orange: var(--wp--preset--color--orange, #e8641b);
	--bb-orange-2: #c9520f;
	--bb-peach: var(--wp--preset--color--peach, #fff3eb);
	--bb-teal: var(--wp--preset--color--teal, #12a594);
	--bb-ink: var(--wp--preset--color--ink, #0b1f3f);
	--bb-text: var(--wp--preset--color--text, #4a5872);
	--bb-soft: var(--wp--preset--color--soft, #f4f7fb);
	--bb-line: #e3e9f2;
	--bb-white: #fff;

	--bb-font-display: var(--wp--preset--font-family--display, "Source Serif 4", Georgia, serif);
	--bb-font-body: var(--wp--preset--font-family--body, "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif);

	--bb-radius: 22px;
	--bb-radius-sm: 14px;
	--bb-shadow: 0 1px 2px rgba(11, 31, 63, .05), 0 14px 34px -14px rgba(11, 31, 63, .2);
	--bb-shadow-lg: 0 40px 80px -30px rgba(11, 31, 63, .45);
	--bb-max: 1200px;
	--bb-gutter: clamp(16px, 4vw, 32px);
	--bb-section: clamp(64px, 9vw, 112px);
	--bb-header-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #fff;
	color: var(--bb-text);
	font-family: var(--bb-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--bb-orange); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text, .bb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Neutralise WP flow-layout margins inside our components (we space with gap) */
:is(.bb-section, .bb-header, .bb-footer, .bb-announce, .bb-subnav) :is(h1, h2, h3, h4, h5, p, ul, ol, .wp-block-buttons, .wp-block-group, details) { margin-block: 0; }
:is(.bb-section, .bb-header, .bb-footer) figure { margin: 0; }
:is(.bb-section, .bb-header, .bb-footer) .wp-block-group > * { margin-block: 0; }
:is(.bb-section, .bb-header, .bb-footer) :is(h1, h2, h3, h4) { color: var(--bb-ink); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
:is(.bb-section, .bb-header, .bb-footer) :is(h3, h4) { font-family: var(--bb-font-body); }
.bb-section h3 { font-size: 1.2rem; letter-spacing: -.01em; }
:is(.bb-section, .bb-footer) :is(h1, h2, h3) { text-wrap: balance; }
:is(.bb-section, .bb-footer) p { text-wrap: pretty; }
.bb-section ul { padding-left: 0; }

/* ---------- Typography helpers ---------- */
.bb-h1 {
	font-family: var(--bb-font-display);
	font-size: clamp(2.45rem, 5.4vw, 4.4rem) !important;
	font-weight: 600 !important;
	line-height: 1.02 !important;
	letter-spacing: -.03em !important;
}
.bb-h2 {
	font-family: var(--bb-font-display);
	font-size: clamp(2rem, 3.8vw, 3.1rem) !important;
	font-weight: 600 !important;
	line-height: 1.06 !important;
	letter-spacing: -.025em !important;
}
.bb-h1 em, .bb-h2 em { font-style: italic; color: var(--bb-orange); font-weight: 500; }
.bb-section--navy .bb-h2 em, .bb-band .bb-h2 em, .bb-plan--featured em { color: #ffb48a; }
.bb-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
	color: var(--bb-orange);
}
.bb-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.bb-section-head .bb-eyebrow::before { display: none; }
.bb-lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.65; max-width: 62ch; }
.bb-small { font-size: .88rem; }
.bb-muted { color: #7a879c; }
.bb-section code, .bb-section kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: var(--bb-sky); color: var(--bb-navy-2); padding: 2px 7px; border-radius: 6px; }

/* Full-width landing content: no gaps between stacked sections */
.bb-page, .bb-landing { margin: 0; }
:is(.bb-page, .bb-landing, .wp-block-post-content) > :is(.bb-section, .bb-subnav, .bb-landing, .wp-block-group) { margin-block: 0 !important; max-width: none; }
.bb-landing > * { margin-block: 0 !important; }

/* ---------- Layout ---------- */
.bb-section { position: relative; padding-block: var(--bb-section); overflow-x: clip; }
.bb-section[id] { scroll-margin-top: 140px; }
.bb-section--tight { padding-block: clamp(40px, 6vw, 72px); }
.bb-section--soft { background: var(--bb-soft); }
.bb-section--navy {
	background:
		radial-gradient(900px 520px at 88% -10%, rgba(54, 118, 214, .35), transparent 60%),
		radial-gradient(700px 420px at -5% 110%, rgba(232, 100, 27, .16), transparent 60%),
		var(--bb-navy);
	color: #c3d1e8;
}
.bb-section--navy :is(h1, h2, h3, h4) { color: #fff; }
.bb-container { width: 100%; max-width: var(--bb-max); margin-inline: auto; padding-inline: var(--bb-gutter); }
.bb-container--narrow { max-width: 900px; }
.bb-section-head { display: grid; justify-items: center; gap: 14px; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px) !important; text-align: center; }
.bb-section-head .bb-lead { margin-inline: auto; }
.bb-stack { display: grid; gap: 18px; align-content: start; }
.bb-stack--lg { gap: 26px; }
.bb-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.bb-grid--2, .bb-grid--3, .bb-grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .bb-grid--2, .bb-grid--3, .bb-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .bb-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .bb-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.bb-split { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) {
	.bb-split { grid-template-columns: 1fr 1fr; }
	.bb-split--wide-text { grid-template-columns: 1.1fr .9fr; }
	.bb-split--reverse > :first-child { order: 2; }
}
.bb-center { text-align: center; justify-items: center; justify-content: center; }
.bb-mt { margin-top: clamp(32px, 4vw, 48px) !important; }

/* ---------- Buttons ---------- */
:is(.bb-section, .bb-header, .bb-footer) .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bb-center .wp-block-buttons, .wp-block-buttons.bb-center { justify-content: center; }
body .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border: 2px solid transparent; border-radius: 999px;
	background: var(--bb-orange); color: #fff;
	font: 700 .95rem/1.1 var(--bb-font-body); letter-spacing: .01em; text-decoration: none; text-align: center;
	box-shadow: 0 12px 26px -12px rgba(232, 100, 27, .75);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
	cursor: pointer;
}
body .wp-block-button__link::after { content: ""; width: 16px; height: 16px; background: var(--i-arrow-w) center/contain no-repeat; transition: transform .2s ease; }
body .wp-block-button__link:hover { background: var(--bb-orange-2); color: #fff; transform: translateY(-1px); }
body .wp-block-button__link:hover::after { transform: translateX(3px); }
.is-style-bb-navy .wp-block-button__link { background: var(--bb-navy); box-shadow: 0 12px 26px -14px rgba(11, 31, 63, .8); }
.is-style-bb-navy .wp-block-button__link:hover { background: var(--bb-navy-2); }
.is-style-bb-outline .wp-block-button__link { background: transparent; color: var(--bb-navy); border-color: rgba(11, 31, 63, .2); box-shadow: none; }
.is-style-bb-outline .wp-block-button__link::after { background-image: var(--i-arrow-n); }
.is-style-bb-outline .wp-block-button__link:hover { background: var(--bb-navy); border-color: var(--bb-navy); color: #fff; }
.is-style-bb-outline .wp-block-button__link:hover::after { background-image: var(--i-arrow-w); }
.is-style-bb-light .wp-block-button__link { background: #fff; color: var(--bb-navy); box-shadow: none; }
.is-style-bb-light .wp-block-button__link::after { background-image: var(--i-arrow-n); }
.is-style-bb-light .wp-block-button__link:hover { background: var(--bb-peach); color: var(--bb-navy); }
.is-style-bb-ghost .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.is-style-bb-ghost .wp-block-button__link:hover { background: #fff; color: var(--bb-navy); }
.is-style-bb-ghost .wp-block-button__link:hover::after { background-image: var(--i-arrow-n); }
.is-style-bb-text .wp-block-button__link { background: none; color: var(--bb-navy); padding: 10px 2px; box-shadow: none; border-radius: 0; }
.is-style-bb-text .wp-block-button__link::after { background-image: var(--i-arrow-o); }
.is-style-bb-text .wp-block-button__link:hover { background: none; color: var(--bb-orange); }
.bb-btns-sm .wp-block-button__link { padding: 11px 18px; font-size: .86rem; }
.bb-btns-sm .wp-block-button__link::after { width: 14px; height: 14px; }
.bb-btns-block .wp-block-button { flex: 1 1 100%; }
.bb-btns-block .wp-block-button__link { width: 100%; }

/* ---------- Icons (tile drawn with ::before; icon data in icons.css) ---------- */
.bb-ico::before {
	content: ""; display: block; flex: none;
	width: var(--ico-size, 52px); height: var(--ico-size, 52px); border-radius: 15px;
	background: var(--ico-bg, var(--bb-sky)) var(--ico) center / calc(var(--ico-size, 52px) * .46) no-repeat;
}
.bb-ico--sm { --ico-size: 42px; }
.bb-ico--peach { --ico-bg: var(--bb-peach); }
.bb-section--navy .bb-ico::before, .bb-role--us .bb-ico::before, .bb-band .bb-ico::before { --ico-bg: rgba(255, 255, 255, .08); background-image: var(--ico-l); }

/* ---------- Lists ---------- */
.bb-checklist { list-style: none; padding: 0; display: grid; gap: 14px; }
.bb-checklist li { position: relative; padding-left: 36px; color: var(--bb-ink); font-weight: 600; line-height: 1.45; }
.bb-checklist li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #e3f6f2 var(--i-check-t) center / 13px no-repeat; }
.bb-checklist li strong { color: var(--bb-ink); }
.bb-checklist li span, .bb-checklist .bb-sub { display: block; font-weight: 500; color: var(--bb-text); font-size: .94rem; margin-top: 2px; }
:is(.bb-section--navy, .bb-role--us, .bb-plan--featured, .bb-band) .bb-checklist li { color: #fff; }
:is(.bb-section--navy, .bb-role--us, .bb-plan--featured, .bb-band) .bb-checklist li strong { color: #fff; }
:is(.bb-section--navy, .bb-role--us, .bb-plan--featured, .bb-band) .bb-checklist li::before { background-color: rgba(255, 255, 255, .1); background-image: var(--i-check-o); }
:is(.bb-section--navy, .bb-role--us, .bb-band) .bb-checklist li span { color: #a9bad6; }
.bb-checklist--desc li { font-weight: 500; color: var(--bb-text); }
.bb-checklist--desc li strong { font-weight: 800; font-size: 1.04rem; }
.bb-checklist--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px 24px; }
.bb-ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; font-weight: 700; color: var(--bb-ink); }
.bb-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.bb-ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #e3f6f2 var(--i-check-t) center / 11px no-repeat; }
.bb-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bb-chips li { padding: 6px 12px; border-radius: 999px; background: var(--bb-sky); color: var(--bb-navy-2); font-size: .78rem; font-weight: 700; line-height: 1.3; }
.bb-chips--lg { gap: 12px; }
.bb-chips--lg li { padding: 12px 20px; font-size: .95rem; background: #fff; border: 1px solid var(--bb-line); color: var(--bb-ink); box-shadow: 0 6px 16px -12px rgba(11, 31, 63, .35); }
.bb-section--navy .bb-chips li { background: rgba(255, 255, 255, .08); color: #e6eefb; border: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Announcement + Header ---------- */
.bb-announce { background: var(--bb-navy); color: #d3def0; text-align: center; font-size: .86rem; padding: 9px var(--bb-gutter); }
.bb-announce p { margin: 0; }
.bb-announce strong { color: #fff; }
.bb-announce a { color: #ffb48a; font-weight: 800; text-decoration: none; margin-left: 6px; white-space: nowrap; }
.bb-announce a:hover { text-decoration: underline; }

.bb-header-wrap, .bb-header { position: sticky; top: 0; z-index: 60; }
.admin-bar .bb-header-wrap { top: 32px; }
.bb-header { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--bb-line); }
.bb-header-wrap .bb-header { position: static; }
.bb-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--bb-header-h); }
.bb-brand { display: grid; gap: 2px; line-height: 1; flex: none; }
.bb-brand a { text-decoration: none; }
.bb-logo { font: 800 1.42rem/1 var(--bb-font-body); letter-spacing: -.035em; color: var(--bb-navy); text-transform: uppercase; }
.bb-logo strong { color: var(--bb-orange); font-weight: 800; }
.bb-logo sup { font-size: .45em; vertical-align: super; margin-left: 1px; }
.bb-tagline { font-size: .62rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--bb-navy-2); }
.bb-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.bb-header__actions .wp-block-button__link { padding: 11px 18px; font-size: .84rem; }
.bb-header__actions .wp-block-button__link::after { display: none; }
.bb-iconlink { display: inline-grid; place-items: center; position: relative; width: 42px; height: 42px; border-radius: 50%; text-decoration: none; transition: background .2s; }
.bb-iconlink:hover { background: var(--bb-sky); }
.bb-iconlink::before { content: ""; width: 21px; height: 21px; background: var(--i-cart-n) center/contain no-repeat; }
.bb-iconlink--user::before { background-image: var(--i-user-n); }
.bb-iconlink .bb-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bb-orange); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; }
.bb-header p.bb-iconwrap { display: flex; gap: 2px; }
.bb-header p.bb-iconwrap a { font-size: 0; }

/* Static-preview menu (WordPress uses the Navigation block styled below) */
.bb-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.bb-menu > li { position: relative; }
.bb-menu a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--bb-ink); text-decoration: none; font-size: .9rem; font-weight: 700; }
.bb-menu > li > a:hover, .bb-menu > li > a.is-current { background: var(--bb-sky); }
.bb-menu .has-sub > a::after { content: ""; width: 10px; height: 10px; background: var(--i-chev-n) center/contain no-repeat; transition: transform .2s; }
.bb-menu .has-sub:hover > a::after { transform: rotate(180deg); }
.bb-menu ul { position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--bb-line); border-radius: 16px; box-shadow: var(--bb-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.bb-menu li:hover > ul, .bb-menu li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.bb-menu ul a { border-radius: 10px; font-weight: 600; padding: 10px 12px; }
.bb-menu ul a:hover { background: var(--bb-soft); color: var(--bb-orange); }
.bb-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--bb-sky); cursor: pointer; position: relative; }
.bb-burger span, .bb-burger::before, .bb-burger::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--bb-navy); transition: .25s; }
.bb-burger::before { top: 15px; } .bb-burger span { top: 21px; } .bb-burger::after { top: 27px; }
.bb-header.is-open .bb-burger::before { top: 21px; transform: rotate(45deg); }
.bb-header.is-open .bb-burger::after { top: 21px; transform: rotate(-45deg); }
.bb-header.is-open .bb-burger span { opacity: 0; }
@media (max-width: 1080px) {
	.bb-burger { display: block; }
	.bb-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--bb-gutter) 24px; background: #fff; border-bottom: 1px solid var(--bb-line); box-shadow: var(--bb-shadow); max-height: calc(100vh - 80px); overflow: auto; }
	.bb-header.is-open .bb-menu { display: flex; }
	.bb-menu a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--bb-line); font-size: 1rem; }
	.bb-menu ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.bb-menu .has-sub > a::after { display: none; }
	.bb-header__actions .bb-hide-sm { display: none; }
}
@media (max-width: 480px) { .bb-header__actions .wp-block-buttons { display: none; } .bb-logo { font-size: 1.2rem; } }

/* WordPress header: the Navigation block collapses at 600px, so free up room on tablets */
@media (max-width: 1080px) { .bb-header-wrap .bb-header__actions .wp-block-buttons { display: none; } }
.bb-header-wrap .bb-header__inner { flex-wrap: nowrap; }
.bb-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; font-size: 1.1rem; }

/* WordPress Navigation block polish */
.bb-nav.wp-block-navigation { margin-inline: auto; font-size: .9rem; font-weight: 700; color: var(--bb-ink); gap: 2px; }
.bb-nav .wp-block-navigation-item__content { padding: 10px 12px; border-radius: 999px; }
.bb-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover { background: var(--bb-sky); }
.bb-nav .wp-block-navigation__submenu-container { border: 1px solid var(--bb-line) !important; border-radius: 16px; padding: 8px !important; box-shadow: var(--bb-shadow); min-width: 240px !important; }
.bb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.bb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--bb-soft); color: var(--bb-orange); }

/* ---------- Sub navigation (Coaching360 one-page) ---------- */
.bb-subnav { position: sticky; top: var(--bb-header-h); z-index: 40; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--bb-line); }
.admin-bar .bb-subnav { top: calc(var(--bb-header-h) + 32px); }
.bb-subnav ul { display: flex; gap: 6px; overflow-x: auto; list-style: none; margin: 0 auto !important; padding: 10px var(--bb-gutter) !important; max-width: var(--bb-max); scrollbar-width: none; }
.bb-subnav ul::-webkit-scrollbar { display: none; }
.bb-subnav a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: .87rem; font-weight: 700; color: var(--bb-text); text-decoration: none; transition: background-color .2s, color .2s; }
.bb-subnav a:hover { color: var(--bb-ink); background: var(--bb-soft); }
.bb-subnav a.is-active { background: var(--bb-navy); color: #fff; }
.bb-subnav li:last-child { margin-left: auto; }
.bb-subnav li:last-child a { background: var(--bb-orange); color: #fff; }

/* ---------- Hero ---------- */
.bb-hero {
	padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7vw, 96px);
	background:
		radial-gradient(800px 520px at -10% -10%, #e8f0fc 0%, transparent 60%),
		radial-gradient(700px 520px at 110% 110%, #fff0e6 0%, transparent 60%),
		#fff;
	overflow: hidden;
}
.bb-hero__grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .bb-hero__grid { grid-template-columns: 1.08fr .92fr; } }
.bb-hero__copy { display: grid; gap: 22px; justify-items: start; }
.bb-hero__media { position: relative; }
.bb-hero__media .wp-block-image img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 30px; box-shadow: var(--bb-shadow-lg); }
.bb-hero__media--wide .wp-block-image img { aspect-ratio: 5 / 4.4; object-position: 35% center; }
.bb-hero__media::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 34px; background: linear-gradient(140deg, var(--bb-sky), #ffe4d3); z-index: -1; }
.bb-hero__media { z-index: 0; isolation: isolate; }

.bb-float {
	position: absolute; z-index: 2; display: flex !important; align-items: center; gap: 12px;
	padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .96);
	box-shadow: 0 24px 50px -20px rgba(11, 31, 63, .45); color: var(--bb-ink); max-width: 270px;
}
.bb-float > * { margin: 0 !important; }
.bb-float p { font-size: .8rem; line-height: 1.3; color: var(--bb-text); }
.bb-float p strong { display: block; font-size: .95rem; color: var(--bb-ink); }
.bb-float.bb-ico::before { --ico-size: 44px; }
.bb-float--a { left: -24px; bottom: 9%; }
.bb-float--b { right: -18px; top: 8%; }
@media (max-width: 700px) {
	.bb-float--a { left: 12px; bottom: 12px; }
	.bb-float--b { right: 12px; top: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Mini score card (floating) */
.bb-score-mini { display: flex; align-items: center; gap: 12px; }
.bb-score-mini svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.bb-score-mini circle { fill: none; stroke-width: 10; }
.bb-score-mini .trk { stroke: #e7eef8; }
.bb-score-mini .val { stroke: url(#bbGrad) var(--bb-teal); stroke: var(--bb-teal); stroke-linecap: round; }
.bb-score-mini b { display: block; font: 700 1.3rem/1 var(--bb-font-display); color: var(--bb-ink); }
.bb-score-mini span { font-size: .75rem; color: var(--bb-text); }
.bb-score-mini em { font-style: normal; color: var(--bb-teal); font-weight: 800; font-size: .75rem; }

/* Goal pills */
.bb-goals { display: grid !important; gap: 12px; margin-top: 6px !important; width: 100%; }
.bb-goals > p { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bb-text); }
.bb-goal-pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bb-goal-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--bb-line); background: #fff; font-size: .86rem; font-weight: 700; color: var(--bb-ink); text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.bb-goal-pills a:hover { border-color: var(--bb-navy); background: var(--bb-navy); color: #fff; }

/* Stats row */
.bb-stats { display: flex !important; flex-wrap: wrap; gap: 14px 36px; padding-top: 8px; }
.bb-stats p { font-size: .85rem; line-height: 1.35; color: var(--bb-text); }
.bb-stats p strong { display: block; font: 600 1.7rem/1.1 var(--bb-font-display); color: var(--bb-ink); letter-spacing: -.02em; }

/* ---------- Cards ---------- */
.bb-card { display: grid; gap: 14px; align-content: start; padding: 30px; border-radius: var(--bb-radius); background: #fff; border: 1px solid var(--bb-line); transition: transform .25s ease, box-shadow .25s ease; }
.bb-card:hover { transform: translateY(-4px); box-shadow: var(--bb-shadow); }
.bb-card p { font-size: .97rem; }
.bb-section--navy .bb-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.bb-section--soft .bb-card { border-color: transparent; box-shadow: 0 1px 2px rgba(11, 31, 63, .04); }

/* Product cards */
.bb-product { display: flex !important; flex-direction: column; overflow: hidden; border-radius: var(--bb-radius); background: #fff; border: 1px solid var(--bb-line); transition: transform .25s ease, box-shadow .25s ease; scroll-margin-top: 120px; }
.bb-product:hover, .bb-product:target { transform: translateY(-4px); box-shadow: var(--bb-shadow); }
.bb-product:target { outline: 3px solid var(--bb-orange); outline-offset: 2px; }
.bb-product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bb-soft); }
.bb-product__media .wp-block-image { height: 100%; width: 100%; }
.bb-product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bb-product:hover .bb-product__media img { transform: scale(1.04); }
.bb-badge { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; background: var(--bb-navy); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bb-badge--green { background: var(--bb-teal); }
.bb-product__body { display: flex !important; flex-direction: column; gap: 12px; flex: 1; padding: 24px; }
.bb-product__body h3 { font-size: 1.3rem; }
.bb-product__body > p { font-size: .95rem; }
.bb-product__body .wp-block-buttons { margin-top: auto !important; padding-top: 10px; }

/* Steps (numbered cards) */
.bb-steps { position: relative; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .bb-steps { grid-template-columns: repeat(3, 1fr); } .bb-steps--4 { grid-template-columns: repeat(4, 1fr); } }
.bb-step { position: relative; z-index: 1; display: grid; gap: 12px; align-content: start; padding: 30px; border-radius: var(--bb-radius); background: #fff; border: 1px solid var(--bb-line); counter-increment: step; }
.bb-step::after { content: counter(step, decimal-leading-zero); position: absolute; top: 22px; right: 26px; font: 600 2.6rem/1 var(--bb-font-display); color: rgba(11, 31, 63, .08); }
.bb-step h3 { font-size: 1.25rem; }
.bb-step p { font-size: .97rem; }
.bb-section--navy .bb-step { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bb-section--navy .bb-step::after { color: rgba(255, 255, 255, .12); }
.bb-section--navy .bb-step:first-child { background: #fff; }
.bb-section--navy .bb-step:first-child h3 { color: var(--bb-ink); }
.bb-section--navy .bb-step:first-child p { color: var(--bb-text); }
.bb-section--navy .bb-step:first-child.bb-ico::before { --ico-bg: var(--bb-sky); background-image: var(--ico); }
.bb-section--navy .bb-step:first-child::after { color: rgba(11, 31, 63, .1); }
@media (min-width: 900px) {
	.bb-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 56px; border-top: 2px dashed rgba(37, 99, 201, .3); clip-path: inset(0 calc((1 - var(--draw, 1)) * 100%) 0 0); }
	.bb-section--navy .bb-steps::before { border-color: rgba(255, 255, 255, .2); }
}
.bb-note { font-size: .82rem; color: #8494ad; text-align: center; max-width: 720px; margin-inline: auto !important; }
.bb-section--navy .bb-note { color: #8ea2c3; }

/* Coaching 5-step monthly loop */
.bb-loop { position: relative; display: grid; gap: 16px; counter-reset: loop; }
.bb-guarantee .bb-eyebrow::before { display: none; }
.bb-loop__step { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 26px 18px; text-align: center; border-radius: var(--bb-radius); background: #fff; border: 1px solid var(--bb-line); counter-increment: loop; }
.bb-loop__step::before { content: counter(loop); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bb-navy); color: #fff; font: 600 1.35rem/1 var(--bb-font-display); box-shadow: 0 0 0 7px var(--bb-sky); margin-bottom: 6px; }
.bb-loop__step:nth-child(5)::before { background: var(--bb-orange); box-shadow: 0 0 0 7px var(--bb-peach); }
.bb-loop__step h3 { font-size: 1.25rem; }
.bb-loop__step p { font-size: .93rem; }
.bb-loop__label { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; color: var(--bb-navy); font-size: .9rem; }
.bb-loop__label::before { content: ""; width: 22px; height: 22px; background: var(--i-refresh-o) center/contain no-repeat; transform: rotate(var(--spin, 0deg)); }
@media (min-width: 1000px) {
	.bb-loop { grid-template-columns: repeat(5, 1fr); padding-bottom: 86px; }
	.bb-loop::before { content: ""; position: absolute; left: 10%; right: 10%; top: 54px; border-top: 2px dashed #b8c8e2; clip-path: inset(0 calc((1 - var(--draw, 1)) * 100%) 0 0); }
	.bb-loop::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 22px; height: 110px; border: 2px dashed #b8c8e2; border-top: 0; border-radius: 0 0 48px 48px; clip-path: inset(0 0 0 calc((1 - var(--draw2, 1)) * 100%)); }
	.bb-loop__label { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); z-index: 2; padding: 8px 18px; border-radius: 999px; background: var(--bb-soft); white-space: nowrap; }
	.bb-section:not(.bb-section--soft) .bb-loop__label { background: #fff; }
}

/* Bento — features around the phone */
.bb-bento { display: grid; gap: 20px; align-items: center; }
.bb-bento__col { display: grid !important; gap: 16px; }
@media (min-width: 1000px) { .bb-bento { grid-template-columns: 1fr 300px 1fr; gap: 28px; } }
.bb-feature { display: grid !important; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--bb-line); transition: transform .25s, box-shadow .25s; }
.bb-feature:hover { transform: translateY(-3px); box-shadow: var(--bb-shadow); }
.bb-feature::before { grid-row: span 2; }
.bb-feature h3 { font-size: 1.04rem; align-self: end; }
.bb-feature p { font-size: .9rem; line-height: 1.5; }

/* Phone mockup */
.bb-phone { position: relative; width: 100%; max-width: 290px; margin-inline: auto; padding: 12px; border-radius: 46px; background: linear-gradient(145deg, #2a3446, #0c1220); box-shadow: var(--bb-shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.bb-phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 86px; height: 22px; margin-left: -43px; border-radius: 12px; background: #05080f; z-index: 2; }
.bb-phone__screen { display: grid; gap: 12px; padding: 46px 16px 18px; border-radius: 36px; background: linear-gradient(180deg, #0f2a52 0%, #0b1f3f 100%); color: #cfe0f7; font-size: 12px; line-height: 1.3; overflow: hidden; }
.bb-phone__top { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 800; font-size: 15px; }
.bb-phone__top i { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #ffb48a, var(--bb-orange)); }
.bb-phone__score { position: relative; display: grid; place-items: center; padding: 6px 0; }
.bb-phone__score svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.bb-phone__score circle { fill: none; stroke-width: 9; }
.bb-phone__score .trk { stroke: rgba(255, 255, 255, .1); }
.bb-phone__score .val { stroke: #2dd4bf; stroke-linecap: round; }
.bb-phone__score div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.bb-phone__score small { font-size: 11px; color: #9fb6d8; }
.bb-phone__score b { display: block; font: 600 42px/1 var(--bb-font-display); color: #fff; }
.bb-phone__score em { font-style: normal; font-weight: 800; color: #5eead4; font-size: 11px; }
.bb-phone__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bb-phone__metrics div { padding: 8px 4px; border-radius: 10px; background: rgba(255, 255, 255, .06); text-align: center; }
.bb-phone__metrics span { display: block; font-size: 9px; color: #8ea6c9; }
.bb-phone__metrics b { display: block; color: #fff; font-size: 11.5px; margin: 2px 0; }
.bb-phone__metrics em { font-style: normal; font-size: 9px; color: #5eead4; font-weight: 700; }
.bb-phone__spark { height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .04); padding: 6px 8px; }
.bb-phone__spark svg { width: 100%; height: 100%; }
.bb-phone__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bb-phone__menu li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #e8f0fb; font-weight: 700; font-size: 11.5px; }
.bb-phone__menu li::after { content: "›"; color: #8ea6c9; font-size: 16px; line-height: 1; }
.bb-phone__menu li i { margin-left: auto; margin-right: 8px; font-style: normal; background: var(--bb-orange); color: #fff; border-radius: 9px; padding: 1px 7px; font-size: 10px; }
.bb-phone-stage { position: relative; isolation: isolate; padding: 24px 0; }
.bb-phone-stage::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, .35), rgba(37, 99, 201, .15) 45%, transparent 70%); filter: blur(10px); z-index: -1; }

/* Laptop mockup (Brand Partner) */
.bb-laptop { position: relative; max-width: 620px; margin-inline: auto; width: 100%; }
.bb-laptop__screen { padding: 12px 12px 14px; border-radius: 20px 20px 6px 6px; background: #121826; box-shadow: var(--bb-shadow-lg); }
.bb-laptop__base { height: 16px; margin: 0 -7%; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #e3e7ee, #a9b1bf); box-shadow: 0 20px 30px -18px rgba(11, 31, 63, .5); }
.bb-laptop__base::before { content: ""; display: block; width: 18%; height: 6px; margin: 0 auto; border-radius: 0 0 8px 8px; background: #c3c9d4; }
.bb-site { border-radius: 8px; overflow: hidden; background: #fff; font-size: 11px; color: #33415a; }
.bb-site__bar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #eef1f6; }
.bb-site__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d9e2; }
.bb-site__bar span { margin-left: 10px; flex: 1; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: 10px; color: #6b7891; }
.bb-site__nav { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid #eef1f6; }
.bb-site__nav b { margin-right: auto; font: italic 600 15px/1 var(--bb-font-display); color: #3d2f5c; }
.bb-site__hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; align-items: center; padding: 22px 18px; background: linear-gradient(120deg, #fbf5ef, #f2eef8); }
.bb-site__hero h4 { font: 600 21px/1.08 var(--bb-font-display); color: #2d2346; margin: 0 0 6px; }
.bb-site__hero p { margin: 0 0 10px; font-size: 11px; }
.bb-site__btn { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #3d2f5c; color: #fff; font-weight: 700; font-size: 10px; }
.bb-site__vials { display: flex; justify-content: center; gap: 6px; }
.bb-site__vials i { width: 34px; height: 66px; border-radius: 6px 6px 8px 8px; background: linear-gradient(180deg, #c7ccd6 0 16%, #a55a24 16% 100%); position: relative; box-shadow: inset -6px 0 10px rgba(0, 0, 0, .18); }
.bb-site__vials i::after { content: attr(data-l); position: absolute; left: 3px; right: 3px; top: 42%; padding: 3px 0; border-radius: 3px; background: #1b2232; color: #fff; font-style: normal; font-size: 7px; font-weight: 700; text-align: center; }
.bb-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px 16px; }
.bb-site__cards div { padding: 10px; border-radius: 8px; border: 1px solid #eef1f6; font-weight: 700; color: #2d2346; }
.bb-site__cards span { display: block; height: 30px; margin-bottom: 6px; border-radius: 6px; background: linear-gradient(135deg, #f1ebf8, #fbefe6); }
.bb-laptop__tag { position: absolute; right: -10px; bottom: 44px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--bb-shadow); font-size: .8rem; color: var(--bb-text); }
.bb-laptop__tag b { display: block; color: var(--bb-ink); font-size: .9rem; }
@media (max-width: 600px) { .bb-site__nav span { display: none; } .bb-site__hero h4 { font-size: 16px; } .bb-laptop__tag { display: none; } }

/* Photo cards (app features) */
.bb-photo-card { display: grid !important; overflow: hidden; border-radius: var(--bb-radius); background: #fff; border: 1px solid var(--bb-line); }
.bb-photo-card .wp-block-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bb-photo-card__body { display: grid !important; gap: 6px; padding: 20px 22px 24px; }
.bb-photo-card h3 { font-size: 1.15rem; }
.bb-photo-card p { font-size: .93rem; }
.bb-section--navy .bb-photo-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.bb-section--navy .bb-photo-card p { color: #b5c4dc; }

/* Rounded images */
.bb-img-round img { width: 100%; border-radius: 28px; object-fit: cover; box-shadow: var(--bb-shadow); }
.bb-img-tall img { aspect-ratio: 4 / 4.2; }
.bb-img-wide img { aspect-ratio: 16 / 11; }

/* Benefits */
.bb-benefit { display: grid !important; gap: 14px; align-content: start; padding: 32px; border-radius: var(--bb-radius); background: #fff; border: 1px solid var(--bb-line); }
.bb-benefit h3 { font-size: 1.35rem; }
.bb-benefit__label { font-size: .74rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bb-orange); padding-top: 14px; border-top: 1px solid var(--bb-line); }

/* Plans */
.bb-plans { display: grid; gap: 24px; max-width: 980px; margin-inline: auto; align-items: stretch; }
@media (min-width: 820px) { .bb-plans { grid-template-columns: 1fr 1fr; } }
.bb-plan { position: relative; display: flex !important; flex-direction: column; gap: 18px; padding: clamp(28px, 3.5vw, 40px); border-radius: 28px; background: #fff; border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow); }
.bb-plan--featured { background: radial-gradient(500px 300px at 100% 0%, rgba(54, 118, 214, .45), transparent 60%), var(--bb-navy); border-color: transparent; color: #c3d1e8; box-shadow: var(--bb-shadow-lg); }
.bb-plan--featured :is(h3, .bb-plan__price) { color: #fff !important; }
.bb-plan__badge { position: absolute; top: -14px; right: 28px; padding: 7px 14px; border-radius: 999px; background: var(--bb-orange); color: #fff; font-size: .72rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 10px 20px -8px rgba(232, 100, 27, .7); }
.bb-plan h3 { font-size: 1.35rem; }
.bb-plan__price { font: 600 3.4rem/1 var(--bb-font-display) !important; color: var(--bb-ink); letter-spacing: -.03em; }
.bb-plan__price em { font: 600 1rem/1 var(--bb-font-body); font-style: normal; color: var(--bb-text); letter-spacing: 0; }
.bb-plan--featured .bb-plan__price em { color: #a9bad6; }
.bb-plan__term { font-size: .88rem; padding-bottom: 18px; border-bottom: 1px solid var(--bb-line); }
.bb-plan--featured .bb-plan__term { border-color: rgba(255, 255, 255, .12); }
.bb-plan .bb-checklist li { font-weight: 600; font-size: .96rem; }
.bb-plan .wp-block-buttons { margin-top: auto !important; padding-top: 6px; }
.bb-plan .wp-block-button { width: 100%; }
.bb-plan .wp-block-button__link { width: 100%; }

/* Guarantee */
.bb-guarantee { display: grid !important; gap: 18px; justify-items: center; text-align: center; max-width: 860px; margin-inline: auto; padding: clamp(36px, 5vw, 60px); border-radius: 32px; background: linear-gradient(150deg, #fff8f3, #fff 45%, #eef4fd); border: 1px solid var(--bb-line); }
.bb-guarantee.bb-ico::before { --ico-size: 68px; --ico-bg: #fff; border-radius: 50%; box-shadow: 0 16px 30px -14px rgba(232, 100, 27, .5); }

/* FAQ */
.bb-faq { display: grid !important; gap: 12px; max-width: 880px; margin-inline: auto; }
.bb-faq .wp-block-details { padding: 0 26px; border-radius: 18px; background: #fff; border: 1px solid var(--bb-line); transition: box-shadow .25s, border-color .25s; }
.bb-faq .wp-block-details[open] { box-shadow: var(--bb-shadow); border-color: transparent; }
.bb-faq summary { position: relative; padding: 22px 48px 22px 0; list-style: none; cursor: pointer; font-size: 1.06rem; font-weight: 700; color: var(--bb-ink); }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--bb-sky) var(--i-plus-n) center / 14px no-repeat; transition: transform .25s ease, background-color .25s; }
.bb-faq [open] summary::after { transform: rotate(45deg); background-color: var(--bb-orange); background-image: var(--i-plus-w); }
.bb-faq details > p { padding-bottom: 24px; color: var(--bb-text); }

/* Testimonials slider */
.bb-slider { position: relative; }
.bb-slider__track { display: grid !important; grid-auto-flow: column; grid-auto-columns: 86%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 28px; scrollbar-width: none; }
.bb-slider__track::-webkit-scrollbar { display: none; }
.bb-slider__track > * { scroll-snap-align: start; }
@media (min-width: 700px) { .bb-slider__track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (min-width: 1040px) { .bb-slider__track { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; } }
.bb-slider__nav { display: flex; justify-content: center; gap: 10px; }
.bb-slider__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--bb-line); background: #fff var(--i-arrow-n) center / 18px no-repeat; cursor: pointer; transition: background-color .2s, border-color .2s; }
.bb-slider__nav button:first-child { transform: scaleX(-1); }
.bb-slider__nav button:hover { background-color: var(--bb-navy); background-image: var(--i-arrow-w); border-color: var(--bb-navy); }
.bb-slider__nav[hidden] { display: none; }
.bb-quote { display: flex !important; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--bb-radius); background: #fff; border: 1px solid var(--bb-line); box-shadow: 0 1px 2px rgba(11, 31, 63, .04); }
.bb-quote::before { content: "\201C"; height: 28px; font: 600 4.4rem/.9 var(--bb-font-display); color: var(--bb-orange); }
.bb-quote__text { font-size: 1.08rem; line-height: 1.6; color: var(--bb-ink); }
.bb-quote__name { margin-top: auto !important; padding-top: 18px; border-top: 1px solid var(--bb-line); font-size: .9rem; color: var(--bb-text); }
.bb-quote__name strong { display: block; color: var(--bb-ink); font-size: 1rem; }

/* Trust strip */
.bb-trust { display: grid !important; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .bb-trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bb-trust { grid-template-columns: repeat(4, 1fr); } }
.bb-trust__item { display: flex !important; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--bb-line); }
.bb-trust__item p { font-size: .84rem; line-height: 1.35; }
.bb-trust__item p strong { display: block; font-size: .98rem; color: var(--bb-ink); }

/* Navy band (home → Brand Partner teaser) */
.bb-band { display: grid !important; overflow: hidden; border-radius: 34px; background: radial-gradient(700px 400px at 0% 0%, rgba(54, 118, 214, .45), transparent 60%), var(--bb-navy); color: #c3d1e8; box-shadow: var(--bb-shadow-lg); }
.bb-band :is(h2, h3) { color: #fff; }
.bb-band__copy { display: grid !important; gap: 20px; align-content: center; padding: clamp(32px, 5vw, 64px); }
.bb-band .wp-block-image { height: 100%; }
.bb-band .wp-block-image img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: 38% center; }
@media (min-width: 960px) { .bb-band { grid-template-columns: 1.1fr .9fr; } }

/* CTA card */
.bb-cta { display: grid !important; overflow: hidden; border-radius: 34px; background: linear-gradient(120deg, #eef4fd, #fff 55%, #fff3eb); border: 1px solid var(--bb-line); }
.bb-cta__copy { display: grid !important; gap: 20px; align-content: center; padding: clamp(32px, 5vw, 64px); }
.bb-cta .wp-block-image { height: 100%; }
.bb-cta .wp-block-image img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
@media (min-width: 960px) { .bb-cta { grid-template-columns: .9fr 1.1fr; } }

/* Brand Partner: value strip */
.bb-section--flush-top { padding-top: 0; }
.bb-hero--bp { padding-bottom: clamp(96px, 10vw, 140px); }
.bb-values { position: relative; z-index: 3; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: clamp(-72px, -6vw, -48px) !important; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow); }
.bb-value { display: grid !important; gap: 6px; align-content: start; padding: 24px; border-right: 1px solid var(--bb-line); border-bottom: 1px solid var(--bb-line); }
.bb-value.bb-ico::before { --ico-size: 42px; margin-bottom: 6px; }
.bb-value h3 { font-size: 1.02rem; }
.bb-value p { font-size: .86rem; line-height: 1.45; }

/* Brand Partner: who does what */
.bb-roles { display: grid !important; gap: 24px; align-items: stretch; }
@media (min-width: 960px) { .bb-roles { grid-template-columns: .85fr 1.15fr; } }
.bb-role { display: grid !important; gap: 18px; align-content: start; padding: clamp(28px, 4vw, 44px); border-radius: 28px; }
.bb-role--you { background: linear-gradient(160deg, var(--bb-peach), #fff 70%); border: 1px solid #f7dccb; }
.bb-role--us { background: radial-gradient(600px 300px at 100% 0%, rgba(54, 118, 214, .4), transparent 60%), var(--bb-navy); color: #c3d1e8; }
.bb-role--us :is(h3) { color: #fff; }
.bb-role h3 { font: 600 clamp(1.6rem, 2.4vw, 2rem)/1.1 var(--bb-font-display); }
.bb-role__tag { font-size: .74rem !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bb-orange); }
.bb-role--us .bb-role__tag { color: #ffb48a; }

/* Brand Partner: four ways */
.bb-ways { display: grid !important; gap: 20px; }
@media (min-width: 640px) { .bb-ways { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bb-ways { grid-template-columns: repeat(4, 1fr); } }
.bb-way { position: relative; display: flex !important; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--bb-radius); background: #fff; border: 1px solid var(--bb-line); transition: transform .25s, box-shadow .25s; }
.bb-way:hover { transform: translateY(-4px); box-shadow: var(--bb-shadow); }
.bb-way h3 { font: 600 1.45rem/1.1 var(--bb-font-display); }
.bb-way p { font-size: .95rem; }
.bb-way__best { margin-top: auto !important; font-size: .84rem !important; color: var(--bb-text); }
.bb-way__best strong { color: var(--bb-ink); }
.bb-way__level { font-size: .72rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8b98ae; }
.bb-way__level::after { content: ""; display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--bb-orange) calc(var(--lvl, 1) * 25% * var(--fill, 1)), #e8edf5 0); }
.bb-way:nth-child(1) { --lvl: 1; } .bb-way:nth-child(2) { --lvl: 2; } .bb-way:nth-child(3) { --lvl: 3; } .bb-way:nth-child(4) { --lvl: 4; }
.bb-way:last-child { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(140deg, var(--bb-orange), var(--bb-blue)) border-box; border: 2px solid transparent; }

/* Feature bar (Program features) */
.bb-featurebar { display: grid !important; gap: 0; overflow: hidden; border-radius: 24px; background: var(--bb-navy); color: #c3d1e8; }
@media (min-width: 900px) { .bb-featurebar { grid-template-columns: 1.1fr repeat(4, 1fr); } }
.bb-featurebar > * { padding: 22px 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 900px) { .bb-featurebar > * { border-bottom: 0; border-left: 1px solid rgba(255, 255, 255, .1); } .bb-featurebar > :first-child { border-left: 0; } }
.bb-featurebar h3 { color: #fff !important; font: 600 1.5rem/1.1 var(--bb-font-display); align-self: center; }
.bb-featurebar p { font-size: .92rem; line-height: 1.45; display: flex; align-items: center; }

/* ---------- Footer ---------- */
.bb-footer { background: #071530; color: #9aabc7; padding-block: clamp(56px, 7vw, 84px) 28px; font-size: .92rem; }
.bb-footer a { color: #c9d6ea; text-decoration: none; transition: color .2s; }
.bb-footer a:hover { color: #fff; }
.bb-footer__grid { display: grid !important; gap: 36px; }
@media (min-width: 700px) { .bb-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bb-footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.bb-footer__brand { display: grid !important; gap: 18px; align-content: start; }
.bb-footer .bb-logo, .bb-footer .bb-logo a { color: #fff; }
.bb-footer .bb-tagline { color: #8ea2c3; }
.bb-footer h4, .bb-footer h3 { color: #fff !important; font-size: .78rem !important; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px !important; }
.bb-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.bb-footer__bottom { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px !important; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #7f92b3; }
.bb-footer__disclaimer { font-size: .78rem; line-height: 1.55; color: #7083a5; max-width: 60ch; }
.bb-social { display: flex !important; gap: 8px; list-style: none; padding: 0; }
.bb-social a, .bb-footer .wp-block-social-link-anchor { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.bb-social a:hover { background: var(--bb-orange); }
.bb-social svg { width: 17px; height: 17px; fill: currentColor; }
.bb-footer .wp-block-social-links .wp-block-social-link { background: rgba(255, 255, 255, .08) !important; color: #fff !important; }
.bb-footer .wp-block-social-links .wp-block-social-link:hover { background: var(--bb-orange) !important; }

/* ---------- Motion layer (GSAP in animate.js + CSS ambience) ---------- */
/* Hide the hero until GSAP has set its starting state (inline head script adds the class; 2.5s fail-safe). */
.bb-gsap-pending .bb-hero > .bb-container { visibility: hidden; }

/* Word masks for heading reveals */
.bb-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em; margin: 0 -.06em -.14em; }
.bb-w__i { display: inline-block; will-change: transform; }

/* Scroll progress bar */
.bb-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 3px; background: linear-gradient(90deg, var(--bb-orange), #ffb48a 50%, var(--bb-blue)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.admin-bar .bb-progress { top: 32px; }

/* Header gets depth once scrolled */
.bb-header { transition: box-shadow .35s ease, background-color .35s ease; }
.bb-header.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 12px 30px -18px rgba(11, 31, 63, .35); }

/* Drifting colour glows behind the hero */
.bb-hero::before, .bb-hero::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); pointer-events: none; animation: bb-drift 16s ease-in-out infinite alternate; }
.bb-hero::before { width: 520px; height: 520px; left: -160px; top: -140px; background: rgba(37, 99, 201, .16); }
.bb-hero::after { width: 460px; height: 460px; right: -120px; bottom: -160px; background: rgba(232, 100, 27, .16); animation-duration: 20s; animation-direction: alternate-reverse; }
.bb-hero > .bb-container { position: relative; z-index: 1; }
@keyframes bb-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.12); } 100% { transform: translate(-30px, 70px) scale(.95); } }

/* Ambient glow on navy sections */
.bb-section--navy::before { content: ""; position: absolute; top: -220px; right: -160px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(54, 118, 214, .35), transparent 65%); pointer-events: none; animation: bb-drift 18s ease-in-out infinite alternate; }
.bb-section--navy { overflow: hidden; }
.bb-section--navy > .bb-container { position: relative; z-index: 1; }

/* Phone glow breathes */
.bb-phone-stage::before { animation: bb-breathe 5s ease-in-out infinite alternate; }
@keyframes bb-breathe { from { opacity: .55; transform: scale(.92); } to { opacity: 1; transform: scale(1.06); } }

/* Guarantee shield pulse */
.bb-guarantee.bb-ico::before { animation: bb-pulse 2.6s ease-out infinite; }
@keyframes bb-pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 100, 27, .35), 0 16px 30px -14px rgba(232, 100, 27, .5); } 70% { box-shadow: 0 0 0 18px rgba(232, 100, 27, 0), 0 16px 30px -14px rgba(232, 100, 27, .5); } 100% { box-shadow: 0 0 0 0 rgba(232, 100, 27, 0), 0 16px 30px -14px rgba(232, 100, 27, .5); } }

/* Button shine sweep */
body .wp-block-button__link { position: relative; overflow: hidden; isolation: isolate; }
body .wp-block-button__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
body .wp-block-button__link:hover::before { transform: translateX(120%); }
.is-style-bb-text .wp-block-button__link::before { display: none; }

/* Card glare that follows the cursor (class added by animate.js) */
.bb-tilt { position: relative; will-change: transform; }
.bb-tilt::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .38), transparent 45%); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.bb-tilt:hover::after { opacity: 1; }
.bb-product.bb-tilt:hover, .bb-way.bb-tilt:hover, .bb-plan.bb-tilt:hover { box-shadow: var(--bb-shadow-lg); }

/* Marquee strips */
.bb-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.bb-marquee ul { display: flex !important; flex-wrap: nowrap !important; gap: 0 !important; width: max-content; margin: 0 !important; padding: 6px 0 !important; list-style: none; }
.bb-marquee li { flex: none; margin-right: 14px; white-space: nowrap; }
.bb-marquee--band { background: var(--bb-navy); padding-block: 22px; -webkit-mask-image: none; mask-image: none; }
.bb-marquee--band li { display: inline-flex; align-items: center; gap: 28px; margin-right: 28px; font: italic 500 clamp(1.25rem, 2.2vw, 1.75rem)/1.2 var(--bb-font-display); color: #fff; }
.bb-marquee--band li::after { content: "\2726"; font-style: normal; font-size: .8em; color: var(--bb-orange); }
.bb-marquee--band li:nth-child(even) { color: #ffb48a; }

@media (prefers-reduced-motion: reduce) {
	.bb-hero::before, .bb-hero::after, .bb-section--navy::before, .bb-phone-stage::before, .bb-guarantee.bb-ico::before { animation: none; }
	.bb-marquee ul { flex-wrap: wrap !important; width: auto; justify-content: center; }
}

/* ---------- Generic WP content (blog posts / regular pages) ---------- */
.bb-content { max-width: 760px; margin-inline: auto; padding: clamp(48px, 6vw, 88px) var(--bb-gutter); }
.bb-content h1 { font: 600 clamp(2.2rem, 4vw, 3.2rem)/1.08 var(--bb-font-display); color: var(--bb-ink); letter-spacing: -.02em; }
.bb-content :is(h2, h3) { font-family: var(--bb-font-display); color: var(--bb-ink); }
