/**
 * Page sections.
 *
 * Shared by every template - both homepages, Features, How It Works, Demo,
 * Pricing and FAQ. One component set rather than per-page CSS; tokens come
 * from style.css.
 */

/* -------------------------------------------------------------------------
 * Shared section furniture
 * ---------------------------------------------------------------------- */
.bb-section {
	position: relative;
	padding: var( --bb-section-y ) 0;
	background-color: var( --bb-bg );
}

/* Alternate bands so long pages read as a sequence of chapters rather than
   one white sheet. :where() holds the rhythm at the id's specificity alone,
   so the explicit #bb-main > .bb-section--* modifiers below always win. */
#bb-main > :where( .bb-section:nth-child( even ) ) {
	background-color: var( --bb-surface );
}

.bb-section--tint,
#bb-main > .bb-section--tint {
	background-color: var( --bb-surface );
}

.bb-section--plain,
#bb-main > .bb-section--plain {
	background-color: var( --bb-bg );
}

.bb-section__head {
	max-width: 780px;
	margin: 0 auto 48px;
	text-align: center;
}

.bb-section__title {
	font-size: var( --bb-h2 );
	line-height: 1.2;
	margin: 0 0 14px;
}

.bb-section__lead {
	margin: 0;
	color: var( --bb-muted );
	font-size: var( --bb-body );
	line-height: 1.55;
}

/* -------------------------------------------------------------------------
 * Hero - light ground, dot grid, and two soft brand glows
 * ---------------------------------------------------------------------- */
.bb-hero {
	position: relative;
	display: flex;
	align-items: center;
	padding: 110px 0 96px;
	background-color: var( --bb-bg );
	background-image:
		radial-gradient( 620px 380px at 18% 10%, rgba( 46, 218, 241, 0.2 ), transparent 70% ),
		radial-gradient( 560px 360px at 88% 30%, rgba( 5, 63, 72, 0.1 ), transparent 70% );
	overflow: hidden;
}

/* Dot grid, faded out towards the bottom edge. */
.bb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient( rgba( 5, 63, 72, 0.16 ) 1.2px, transparent 1.4px );
	background-size: 24px 24px;
	-webkit-mask-image: linear-gradient( 180deg, #000 0%, rgba( 0, 0, 0, 0.5 ) 55%, transparent 100% );
	mask-image: linear-gradient( 180deg, #000 0%, rgba( 0, 0, 0, 0.5 ) 55%, transparent 100% );
	pointer-events: none;
}

.bb-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin-inline: auto;
	text-align: center;
}

.bb-hero__title {
	font-size: var( --bb-h1 );
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 22px;
}

.bb-hero__lead {
	max-width: 740px;
	margin: 0 auto 34px;
	color: var( --bb-muted );
	font-size: calc( var( --bb-body ) + 2px );
	line-height: 1.5;
}

.bb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-bottom: 24px;
}

.bb-hero__note {
	margin: 0;
	color: var( --bb-muted );
	font-size: 17px;
}

/* The scroll cue belonged to the full-height photo hero; the light hero is
   short enough that the next section is already in view. */
.bb-hero__cue {
	display: none;
}

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */
.bb-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 32px;
	border: 1.5px solid transparent;
	border-radius: 50px;
	font-family: var( --bb-font-heading );
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.2px;
	cursor: pointer;
	transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Scoped to .bb-site so these outrank the `.bb-site a` link colour. */
.bb-site .bb-btn--primary {
	background-color: var( --bb-neon );
	border-color: var( --bb-neon );
	color: var( --bb-neon-ink );
	box-shadow: var( --bb-glow );
}

.bb-site .bb-btn--primary:hover {
	color: var( --bb-neon-ink );
	transform: translateY( -2px );
	box-shadow: 0 16px 36px rgba( 46, 218, 241, 0.48 );
}

.bb-site .bb-btn--ghost {
	background-color: var( --bb-bg );
	border-color: var( --bb-primary );
	color: var( --bb-primary );
}

.bb-site .bb-btn--ghost:hover {
	background-color: var( --bb-primary );
	color: #ffffff;
	transform: translateY( -2px );
}

/* -------------------------------------------------------------------------
 * Card grid
 * ---------------------------------------------------------------------- */
.bb-grid {
	display: grid;
	gap: 22px;
}

.bb-grid--1 { grid-template-columns: 1fr; }
.bb-grid--2 { grid-template-columns: repeat( 2, 1fr ); }
.bb-grid--3 { grid-template-columns: repeat( 3, 1fr ); }
.bb-grid--4 { grid-template-columns: repeat( 4, 1fr ); }

.bb-card {
	position: relative;
	padding: 28px 24px;
	border: 1px solid var( --bb-border );
	border-radius: var( --bb-radius );
	background-color: var( --bb-bg );
	box-shadow: var( --bb-shadow );
	overflow: hidden;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bb-card:hover {
	transform: translateY( -5px );
	border-color: var( --bb-border-strong );
	box-shadow: var( --bb-shadow-lift );
}

/* Soft cyan glow that follows the pointer, set by main.js. */
.bb-card::before {
	content: "";
	position: absolute;
	left: var( --bb-mx, 50% );
	top: var( --bb-my, 0% );
	width: 320px;
	height: 320px;
	transform: translate( -50%, -50% );
	background: radial-gradient( circle, rgba( 46, 218, 241, 0.14 ) 0%, transparent 65% );
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.bb-card:hover::before {
	opacity: 1;
}

.bb-card__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var( --bb-neon-wash );
	color: var( --bb-primary );
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.bb-card:hover .bb-card__icon {
	background: var( --bb-primary );
	color: var( --bb-neon );
	transform: translateY( -2px );
}

.bb-card__icon svg {
	width: 24px;
	height: 24px;
}

.bb-card__title {
	position: relative;
	font-size: var( --bb-h3 );
	line-height: 1.3;
	margin: 0 0 10px;
}

.bb-card__text {
	position: relative;
	margin: 0;
	color: var( --bb-muted );
	font-size: 17px;
	line-height: 1.55;
}

/* Numbered variant used by the "How it works" steps. */
.bb-card--step .bb-card__step {
	display: block;
	margin-bottom: 6px;
	color: #0a8fa1;
	font-family: var( --bb-font-heading );
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * Example commands - bordered rows
 * ---------------------------------------------------------------------- */
.bb-quotes {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bb-quotes li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid var( --bb-border );
	border-left: 3px solid var( --bb-neon );
	border-radius: 10px;
	background: var( --bb-bg );
	color: var( --bb-text );
	font-size: 18px;
	line-height: 1.45;
	transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.bb-quotes li:hover {
	transform: translateX( 4px );
	box-shadow: var( --bb-shadow );
}

.bb-quotes svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 4px;
	color: #0a8fa1;
}

/* -------------------------------------------------------------------------
 * Closing note
 * ---------------------------------------------------------------------- */
.bb-note {
	max-width: 820px;
	margin: 40px auto 0;
	padding: 20px 24px;
	border: 1px solid var( --bb-border-strong );
	border-left: 4px solid var( --bb-neon );
	border-radius: 10px;
	background: var( --bb-neon-wash-soft );
	color: var( --bb-text );
	font-size: 18px;
	line-height: 1.5;
	text-align: center;
}

.bb-note p {
	margin: 0 0 10px;
}

.bb-note p:last-child {
	margin-bottom: 0;
}

.bb-note__label {
	display: block;
	margin-bottom: 8px;
	color: var( --bb-primary );
	font-family: var( --bb-font-heading );
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * Final call to action - a deep-teal panel inside the container
 * ---------------------------------------------------------------------- */
.bb-cta,
#bb-main > .bb-cta {
	background-color: var( --bb-bg );
	text-align: center;
}

.bb-cta > .bb-container {
	position: relative;
	padding-top: 64px;
	padding-bottom: 60px;
	border-radius: 24px;
	background:
		radial-gradient( 520px 260px at 85% 0%, rgba( 46, 218, 241, 0.35 ), transparent 70% ),
		linear-gradient( 135deg, #0a5965 0%, var( --bb-primary ) 55%, #032a31 100% );
	box-shadow: 0 24px 60px rgba( 5, 63, 72, 0.25 );
	overflow: hidden;
}

/* Dot grid over the panel, echoing the hero. */
.bb-cta > .bb-container::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient( rgba( 255, 255, 255, 0.12 ) 1.2px, transparent 1.4px );
	background-size: 22px 22px;
	pointer-events: none;
}

.bb-cta .bb-section__head {
	position: relative;
	margin-bottom: 32px;
}

.bb-cta .bb-section__title {
	color: #ffffff;
}

.bb-cta .bb-section__lead {
	color: rgba( 255, 255, 255, 0.8 );
}

.bb-cta .bb-eyebrow {
	border-color: rgba( 255, 255, 255, 0.25 );
	background: rgba( 255, 255, 255, 0.06 );
	color: #ffffff;
}

.bb-cta__actions {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-bottom: 22px;
}

.bb-site .bb-cta .bb-btn--ghost {
	background: transparent;
	border-color: rgba( 255, 255, 255, 0.6 );
	color: #ffffff;
}

.bb-site .bb-cta .bb-btn--ghost:hover {
	background: #ffffff;
	border-color: #ffffff;
	color: var( --bb-primary );
}

.bb-cta__note {
	position: relative;
	margin: 0;
	color: rgba( 255, 255, 255, 0.7 );
	font-size: 17px;
}

/* -------------------------------------------------------------------------
 * FAQ accordion
 * ---------------------------------------------------------------------- */
.bb-faq {
	max-width: 880px;
	margin-inline: auto;
}

.bb-faq__item {
	border: 1px solid var( --bb-border );
	border-radius: 12px;
	background: var( --bb-bg );
	margin-bottom: 12px;
	overflow: hidden;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bb-faq__item.is-open {
	border-color: var( --bb-border-strong );
	box-shadow: var( --bb-shadow );
}

.bb-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	padding: 20px 22px;
	border: 0;
	background: transparent;
	color: var( --bb-text );
	font-family: var( --bb-font-heading );
	font-size: 19px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: color 0.25s ease;
}

.bb-faq__q:hover,
.bb-faq__item.is-open .bb-faq__q {
	color: var( --bb-primary );
}

.bb-faq__sign {
	position: relative;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var( --bb-neon-wash );
	transition: background-color 0.3s ease;
}

.bb-faq__item.is-open .bb-faq__sign {
	background: var( --bb-neon );
}

.bb-faq__sign::before,
.bb-faq__sign::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	background: var( --bb-primary );
	transform: translate( -50%, -50% );
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.bb-faq__sign::before {
	width: 12px;
	height: 2px;
}

.bb-faq__sign::after {
	width: 2px;
	height: 12px;
}

.bb-faq__item.is-open .bb-faq__sign::after {
	transform: translate( -50%, -50% ) rotate( 90deg );
	opacity: 0;
}

/* Height is animated from JS, so the panel starts fully collapsed. */
.bb-faq__a {
	height: 0;
	overflow: hidden;
	transition: height 0.32s ease;
}

.bb-faq__a p {
	margin: 0;
	padding: 0 22px 22px;
	color: var( --bb-muted );
	font-size: 18px;
	line-height: 1.55;
}

/* -------------------------------------------------------------------------
 * Scroll reveal - the class is removed by main.js as elements enter view.
 * Elements stay visible when JavaScript is unavailable.
 * ---------------------------------------------------------------------- */
.bb-js .bb-reveal {
	opacity: 0;
	transform: translateY( 24px );
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.bb-js .bb-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* -------------------------------------------------------------------------
 * Plain hero - inner pages, shorter
 * ---------------------------------------------------------------------- */
.bb-hero--plain {
	padding: 88px 0 64px;
	border-bottom: 1px solid var( --bb-border );
}

.bb-hero--plain .bb-hero__title {
	font-size: var( --bb-h1-sm );
}

/* -------------------------------------------------------------------------
 * Intro prose under a section heading
 * ---------------------------------------------------------------------- */
.bb-prose {
	max-width: 800px;
	margin-inline: auto;
	text-align: center;
}

.bb-prose p {
	margin: 0 0 16px;
	color: var( --bb-muted );
	font-size: 18px;
	line-height: 1.6;
}

.bb-prose p:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------
 * Single-column variant of the bordered row list
 * ---------------------------------------------------------------------- */
.bb-quotes--single {
	grid-template-columns: 1fr;
	max-width: 820px;
	margin-inline: auto;
}

/* -------------------------------------------------------------------------
 * Chat transcript - the demo conversations
 * ---------------------------------------------------------------------- */
.bb-chat {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 760px;
	margin-inline: auto;
	padding: 26px;
	border: 1px solid var( --bb-border );
	border-radius: 18px;
	background: var( --bb-surface );
}

.bb-chat__row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 84%;
}

.bb-chat__row--bot {
	align-self: flex-start;
	align-items: flex-start;
}

.bb-chat__row--you {
	align-self: flex-end;
	align-items: flex-end;
}

.bb-chat__who {
	font-family: var( --bb-font-heading );
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var( --bb-muted );
}

.bb-chat__row--you .bb-chat__who {
	color: var( --bb-primary );
}

.bb-chat__bubble {
	padding: 13px 17px;
	border: 1px solid var( --bb-border );
	border-radius: 14px;
	background: var( --bb-bg );
	color: var( --bb-text );
	box-shadow: 0 2px 8px rgba( 5, 63, 72, 0.05 );
}

.bb-chat__row--bot .bb-chat__bubble {
	border-bottom-left-radius: 4px;
}

.bb-chat__row--you .bb-chat__bubble {
	border-bottom-right-radius: 4px;
	border-color: transparent;
	background: #cdf5fb;
}

.bb-chat__bubble p {
	margin: 0 0 6px;
	font-size: 17px;
	line-height: 1.5;
}

.bb-chat__bubble p:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------
 * Wide card with labelled blocks - the How It Works steps
 * ---------------------------------------------------------------------- */
.bb-card--wide {
	padding: 30px 28px;
}

.bb-card__head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 14px;
}

.bb-card__head .bb-card__icon {
	flex: 0 0 auto;
	margin-bottom: 0;
}

.bb-card__head .bb-card__title {
	margin: 0;
	padding-top: 4px;
}

.bb-blocks {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 20px;
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var( --bb-border );
}

.bb-blocks__label {
	display: block;
	margin-bottom: 8px;
	color: var( --bb-primary );
	font-family: var( --bb-font-heading );
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bb-blocks__item p {
	margin: 0;
	color: var( --bb-muted );
	font-size: 16px;
	line-height: 1.55;
}

.bb-blocks__item ul {
	margin: 0;
	padding-left: 18px;
	color: var( --bb-muted );
	font-size: 16px;
	line-height: 1.6;
}

.bb-blocks__item li {
	margin-bottom: 4px;
}

/* -------------------------------------------------------------------------
 * Panel + list - pricing comparison and plan contents
 * ---------------------------------------------------------------------- */
.bb-panel {
	padding: 28px 26px;
	border: 1px solid var( --bb-border );
	border-radius: var( --bb-radius );
	background-color: var( --bb-bg );
	box-shadow: var( --bb-shadow );
}

.bb-panel__title {
	margin: 0 0 18px;
	color: var( --bb-primary );
	font-size: var( --bb-h3 );
}

.bb-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bb-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 9px 0;
	color: var( --bb-text );
	font-size: 17px;
	line-height: 1.5;
}

.bb-list li + li {
	border-top: 1px solid var( --bb-border );
}

.bb-list svg {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	margin-top: 3px;
	color: #0a8fa1;
}

/* -------------------------------------------------------------------------
 * Pricing plan
 * ---------------------------------------------------------------------- */
.bb-plan {
	position: relative;
	max-width: 560px;
	margin-inline: auto;
	padding: 38px 30px 32px;
	border: 1px solid var( --bb-border-strong );
	border-radius: 18px;
	background-color: var( --bb-bg );
	text-align: center;
	box-shadow: var( --bb-shadow-lift );
	overflow: hidden;
}

.bb-plan::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 5px;
	background: linear-gradient( 90deg, var( --bb-primary ), var( --bb-neon ) );
}

.bb-plan__name {
	margin: 0 0 6px;
	font-size: var( --bb-h3 );
}

.bb-plan__price {
	margin: 0 0 6px;
}

.bb-plan__amount {
	font-family: var( --bb-font-heading );
	font-size: 48px;
	font-weight: 700;
	color: var( --bb-primary );
	letter-spacing: -0.02em;
}

.bb-plan__period {
	color: var( --bb-muted );
	font-size: 18px;
}

.bb-plan__for {
	margin: 0 0 22px;
	color: var( --bb-muted );
	font-size: 17px;
}

.bb-plan__label {
	display: block;
	margin: 26px 0 10px;
	color: var( --bb-primary );
	font-family: var( --bb-font-heading );
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bb-plan .bb-list {
	text-align: left;
}

.bb-plan__note {
	margin: 18px 0 0;
	color: var( --bb-muted );
	font-size: 16px;
	line-height: 1.55;
}

/* -------------------------------------------------------------------------
 * Generic content page - terms, privacy, and anything without a template
 * ---------------------------------------------------------------------- */
.bb-entry {
	max-width: 820px;
	margin-inline: auto;
}

.bb-entry h1,
.bb-entry h2,
.bb-entry h3 {
	margin: 32px 0 14px;
	line-height: 1.25;
}

.bb-entry h1 { font-size: var( --bb-h1-sm ); margin-top: 0; }
.bb-entry h2 { font-size: var( --bb-h2 ); }
.bb-entry h3 { font-size: var( --bb-h3 ); }

.bb-entry p,
.bb-entry li {
	color: var( --bb-muted );
	font-size: 18px;
	line-height: 1.65;
}

.bb-entry a {
	text-decoration: underline;
	text-decoration-color: var( --bb-neon );
	text-underline-offset: 3px;
}

.bb-entry img {
	border-radius: var( --bb-radius );
}

/* =========================================================================
 * WebAgents homepage (page-new-home.php)
 * ====================================================================== */

/* -------------------------------------------------------------------------
 * Split hero - copy on the left, agent console on the right
 * ---------------------------------------------------------------------- */
.bb-hero--split {
	padding: 84px 0 92px;
}

.bb-hero--split .bb-hero__inner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: 56px;
	max-width: var( --bb-container );
	text-align: left;
}

.bb-hero--split .bb-hero__lead {
	margin-inline: 0;
}

.bb-hero--split .bb-hero__actions {
	justify-content: flex-start;
}

/* Cyan highlighter stroke under the key phrase of the headline. */
.bb-mark {
	position: relative;
	z-index: 0;
	white-space: nowrap;
	color: var( --bb-primary );
}

.bb-mark::after {
	content: "";
	position: absolute;
	left: -2px;
	right: -2px;
	bottom: 0.06em;
	z-index: -1;
	height: 0.32em;
	border-radius: 4px;
	background: rgba( 46, 218, 241, 0.45 );
}

.bb-hero__title .bb-mark {
	display: inline-block;
}

.bb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-chips li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var( --bb-muted );
	font-size: 16px;
	font-weight: 600;
}

.bb-chips svg {
	width: 17px;
	height: 17px;
	color: #0a8fa1;
}

/* The console: a mock dashboard listing the agents at work. */
.bb-console {
	position: relative;
	border: 1px solid var( --bb-border );
	border-radius: 20px;
	background: var( --bb-bg );
	box-shadow: 0 30px 70px rgba( 5, 63, 72, 0.16 ), 0 2px 6px rgba( 5, 63, 72, 0.05 );
	overflow: hidden;
}

/* Offset tile behind the console for depth. */
.bb-console-wrap {
	position: relative;
}

.bb-console-wrap::before {
	content: "";
	position: absolute;
	inset: 28px -18px -18px 28px;
	border-radius: 22px;
	background: linear-gradient( 135deg, var( --bb-neon ) 0%, var( --bb-primary ) 100% );
	opacity: 0.18;
}

.bb-console__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px;
	border-bottom: 1px solid var( --bb-border );
	background: var( --bb-surface );
}

.bb-console__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var( --bb-border-strong );
}

.bb-console__label {
	margin-left: 8px;
	color: var( --bb-muted );
	font-family: var( --bb-font-heading );
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.bb-console__live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	color: #0a8fa1;
	font-family: var( --bb-font-heading );
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bb-console__live::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var( --bb-neon );
	animation: bb-pulse 2.4s ease-in-out infinite;
}

.bb-console__rows {
	margin: 0;
	padding: 8px;
	list-style: none;
}

.bb-console__row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 13px 12px;
	border-radius: 12px;
	transition: background-color 0.25s ease;
}

.bb-console__row + .bb-console__row {
	border-top: 1px dashed var( --bb-border );
}

.bb-console__row:hover {
	background: var( --bb-surface );
}

.bb-console__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var( --bb-neon-wash );
	color: var( --bb-primary );
}

.bb-console__icon svg {
	width: 21px;
	height: 21px;
}

.bb-console__name {
	display: block;
	color: var( --bb-text );
	font-family: var( --bb-font-heading );
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
}

.bb-console__task {
	display: block;
	color: var( --bb-muted );
	font-size: 15px;
	line-height: 1.35;
}

.bb-console__state {
	padding: 4px 10px;
	border-radius: 50px;
	background: var( --bb-surface-2 );
	color: var( --bb-primary );
	font-family: var( --bb-font-heading );
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.bb-console__state--done {
	background: var( --bb-primary );
	color: #ffffff;
}

.bb-console__foot {
	margin: 0;
	padding: 10px 18px 14px;
	color: var( --bb-muted );
	font-size: 13px;
	text-align: right;
}

/* -------------------------------------------------------------------------
 * Services bento - six cards, first one twice as wide
 * ---------------------------------------------------------------------- */
.bb-services {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 22px;
}

.bb-service {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 26px 26px;
	border: 1px solid var( --bb-border );
	border-radius: 18px;
	background: var( --bb-bg );
	box-shadow: var( --bb-shadow );
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Gradient rule that grows along the top edge on hover. */
.bb-service::after {
	content: "";
	position: absolute;
	left: 26px;
	right: 26px;
	top: -1px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient( 90deg, var( --bb-primary ), var( --bb-neon ) );
	transform: scaleX( 0 );
	transform-origin: left;
	transition: transform 0.35s ease;
}

.bb-service:hover {
	transform: translateY( -5px );
	border-color: var( --bb-border-strong );
	box-shadow: var( --bb-shadow-lift );
}

.bb-service:hover::after {
	transform: scaleX( 1 );
}

.bb-service--featured {
	grid-column: span 2;
	background:
		radial-gradient( 420px 240px at 100% 0%, rgba( 46, 218, 241, 0.16 ), transparent 70% ),
		var( --bb-bg );
}

.bb-service__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.bb-service__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px 14px 14px 4px;
	background: var( --bb-primary );
	color: var( --bb-neon );
}

.bb-service__icon svg {
	width: 26px;
	height: 26px;
}

.bb-service__tag {
	padding: 5px 12px;
	border: 1px solid var( --bb-border-strong );
	border-radius: 50px;
	color: var( --bb-primary );
	font-family: var( --bb-font-heading );
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bb-service__title {
	margin: 0 0 10px;
	font-size: var( --bb-h3 );
}

/* Full-width closing card - the assistant that is already live. */
.bb-service--wide {
	grid-column: 1 / -1;
}

.bb-service--wide .bb-service__points {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 0 22px;
}

.bb-service--featured .bb-service__title {
	font-size: calc( var( --bb-h3 ) + 5px );
}

.bb-service__text {
	margin: 0 0 18px;
	color: var( --bb-muted );
	font-size: 17px;
	line-height: 1.55;
}

.bb-service__points {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.bb-service--featured .bb-service__points {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 0 22px;
}

.bb-service__points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 5px 0;
	color: var( --bb-text );
	font-size: 16px;
	line-height: 1.45;
}

.bb-service__points svg {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin-top: 3px;
	color: #0a8fa1;
}

.bb-site .bb-service__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var( --bb-primary );
	font-family: var( --bb-font-heading );
	font-size: 16px;
	font-weight: 700;
}

.bb-service__link span {
	transition: transform 0.25s ease;
}

.bb-service__link:hover span {
	transform: translateX( 4px );
}

/* -------------------------------------------------------------------------
 * Process row - numbered steps on a connecting rule
 * ---------------------------------------------------------------------- */
.bb-process {
	position: relative;
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-process::before {
	content: "";
	position: absolute;
	left: 28px;
	right: 28px;
	top: 28px;
	height: 2px;
	background: repeating-linear-gradient( 90deg, var( --bb-border-strong ) 0 8px, transparent 8px 14px );
}

.bb-process__step {
	position: relative;
}

.bb-process__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	border: 2px solid var( --bb-neon );
	border-radius: 50%;
	background: var( --bb-bg );
	color: var( --bb-primary );
	font-family: var( --bb-font-heading );
	font-size: 19px;
	font-weight: 700;
	box-shadow: 0 0 0 6px var( --bb-surface );
}

.bb-process__title {
	margin: 0 0 8px;
	font-size: var( --bb-h3 );
}

.bb-process__text {
	margin: 0;
	color: var( --bb-muted );
	font-size: 17px;
	line-height: 1.55;
}

/* -------------------------------------------------------------------------
 * Ink band - the one dark section on the page
 * ---------------------------------------------------------------------- */
.bb-section--ink,
#bb-main > .bb-section--ink {
	background-color: var( --bb-ink );
	background-image:
		radial-gradient( 700px 380px at 15% 0%, rgba( 46, 218, 241, 0.14 ), transparent 70% ),
		radial-gradient( 600px 380px at 100% 100%, rgba( 5, 63, 72, 0.6 ), transparent 70% );
	color: rgba( 255, 255, 255, 0.85 );
}

.bb-section--ink .bb-section__title {
	color: #ffffff;
}

.bb-section--ink .bb-section__lead {
	color: rgba( 255, 255, 255, 0.66 );
}

.bb-section--ink .bb-eyebrow {
	border-color: rgba( 46, 218, 241, 0.35 );
	background: transparent;
	color: var( --bb-neon );
}

.bb-surfaces {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 22px;
}

.bb-surface {
	padding: 30px 26px;
	border: 1px solid rgba( 255, 255, 255, 0.1 );
	border-top: 3px solid var( --bb-neon );
	border-radius: 16px;
	background: rgba( 255, 255, 255, 0.03 );
}

.bb-surface__kicker {
	display: block;
	margin-bottom: 10px;
	color: var( --bb-neon );
	font-family: var( --bb-font-heading );
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bb-site .bb-surface__title {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: var( --bb-h3 );
}

.bb-surface__text {
	margin: 0 0 16px;
	color: rgba( 255, 255, 255, 0.68 );
	font-size: 17px;
	line-height: 1.55;
}

.bb-surface__by {
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid rgba( 255, 255, 255, 0.1 );
	color: rgba( 255, 255, 255, 0.85 );
	font-size: 16px;
}

.bb-surface__by b {
	color: var( --bb-neon );
	font-weight: 600;
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */
@media ( max-width: 1024px ) {
	.bb-grid--4 { grid-template-columns: repeat( 2, 1fr ); }
	.bb-grid--3 { grid-template-columns: repeat( 2, 1fr ); }

	.bb-blocks { grid-template-columns: repeat( 2, 1fr ); }

	.bb-hero--split .bb-hero__inner {
		grid-template-columns: 1fr;
		gap: 48px;
		max-width: 720px;
	}

	.bb-services { grid-template-columns: repeat( 2, 1fr ); }

	.bb-process { grid-template-columns: repeat( 2, 1fr ); row-gap: 36px; }
	.bb-process::before { display: none; }

	.bb-surfaces { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

@media ( max-width: 767px ) {
	.bb-grid--2,
	.bb-grid--3,
	.bb-grid--4 { grid-template-columns: 1fr; }

	.bb-quotes { grid-template-columns: 1fr; }

	.bb-hero {
		padding: 72px 0 64px;
	}

	.bb-hero__actions .bb-btn,
	.bb-cta__actions .bb-btn {
		width: 100%;
		justify-content: center;
	}

	.bb-cta > .bb-container {
		width: auto;
		margin-inline: 12px;
		padding: 46px 20px 42px;
		border-radius: 18px;
	}

	.bb-faq__q { font-size: 17px; padding: 17px 18px; }
	.bb-faq__a p { padding: 0 18px 18px; }

	.bb-blocks { grid-template-columns: 1fr; gap: 16px; }
	.bb-chat { padding: 16px; }
	.bb-chat__row { max-width: 96%; }
	.bb-card--wide { padding: 24px 20px; }
	.bb-plan { padding: 32px 20px 28px; }
	.bb-plan__amount { font-size: 40px; }
	.bb-hero--plain { padding: 64px 0 48px; }

	.bb-hero--split { padding: 56px 0 64px; }
	.bb-mark { white-space: normal; }

	.bb-console__row { grid-template-columns: auto 1fr; }
	.bb-console__state { grid-column: 2; justify-self: start; }

	.bb-services { grid-template-columns: 1fr; }
	.bb-service--featured { grid-column: auto; }
	.bb-service--featured .bb-service__points,
	.bb-service--wide .bb-service__points { grid-template-columns: 1fr; }

	.bb-process { grid-template-columns: 1fr; }
}
