/*
 * Bubo "Liquid Calm" stylesheet.
 *
 * Layers, in order: base · chrome · components · funnel · motion · dark.
 * Every color references a token: --wp--preset--color--* (palette) or
 * --wp--custom--* (radii, shadows, motion, nocturne bridge). Raw hex is
 * banned here by tests/cases/23-css-base.test.php.
 */

/* ======================================================================
 * BASE
 * ==================================================================== */

:root {
	color-scheme: light dark;
	/* The page ground the hero horizon fades into; retargeted by auto-dark
	 * and by the Nocturne variation's styles.css. */
	--bubo-page-canvas: var(--wp--custom--daylight--canvas);
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
	text-wrap: balance;
}

::selection {
	background: var(--wp--preset--color--indigo-soft);
	color: var(--wp--preset--color--ink);
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--indigo);
	outline-offset: 2px;
	border-radius: 4px;
}

.bubo-skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 18px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--pill);
	box-shadow: var(--wp--custom--shadow--card);
	font-weight: 600;
	text-decoration: none;
}

.bubo-skip-link:focus-visible {
	top: 16px;
}

.bubo-prose p,
.bubo-prose li {
	max-inline-size: var(--wp--custom--measure);
}

/* Micro-labels and tickers: the mono app grammar. */
.bubo-micro-label,
.bubo-ticker,
.bubo-step-num {
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 500;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
	font-variant-numeric: tabular-nums;
}

.bubo-num,
.bubo-stat-num {
	font-family: var(--wp--preset--font-family--mono);
	font-variant-numeric: tabular-nums;
}

/* ======================================================================
 * CHROME: header, footer, focused, app shell
 * ==================================================================== */

.bubo-header {
	position: sticky;
	top: 0;
	z-index: 50;
	padding-block: 14px;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}

.bubo-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.bubo-wordmark .bubo-owl {
	color: var(--wp--preset--color--indigo);
	flex: none;
}

.bubo-wordmark-name {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

.bubo-header .wp-block-navigation a {
	color: var(--wp--preset--color--slate);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9375rem;
}

.bubo-header .wp-block-navigation a:hover {
	color: var(--wp--preset--color--ink);
}

.bubo-header .wp-block-button__link {
	padding: 10px 20px;
	font-size: 0.875rem;
}

.bubo-header-focused {
	padding-block: 22px;
}

.bubo-footer {
	border-top: 1px solid var(--wp--preset--color--hairline);
	padding-block: clamp(40px, 6vw, 64px) 28px;
}

.bubo-footer-micro {
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--slate);
}

.bubo-footer-links {
	gap: 24px;
	margin-top: 20px;
}

.bubo-footer-links p {
	margin: 0;
}

.bubo-footer-links a {
	color: var(--wp--preset--color--slate);
	text-decoration: none;
	font-size: 0.9375rem;
}

.bubo-footer-links a:hover {
	color: var(--wp--preset--color--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bubo-footer-legal {
	margin-top: 24px;
	color: var(--wp--preset--color--slate);
	max-inline-size: none;
}

.bubo-footer-slim {
	padding-block: 24px;
	border-top: 1px solid var(--wp--preset--color--hairline);
}

.bubo-footer-slim .bubo-footer-legal {
	margin: 0;
	text-align: center;
}

.bubo-focused {
	padding-block: clamp(48px, 8vh, 96px);
	min-height: 60vh;
}

.bubo-app-shell {
	margin: 0;
	min-height: 100svh;
}

.bubo-app-shell .wp-block-post-content {
	margin: 0;
}

/* ======================================================================
 * COMPONENTS
 * ==================================================================== */

/* Buttons: indigo pill, calm lift. */
.wp-element-button,
.wp-block-button__link {
	border-radius: var(--wp--custom--radius--pill);
	padding: 12px 24px;
	box-shadow: var(--wp--custom--shadow--sm);
	text-decoration: none;
}

.is-style-outline .wp-block-button__link,
.bubo-btn-ghost .wp-block-button__link {
	background: transparent;
	border: 1.5px solid var(--wp--preset--color--hairline);
	color: var(--wp--preset--color--ink);
	box-shadow: none;
}

.is-style-outline .wp-block-button__link:hover,
.bubo-btn-ghost .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--indigo);
	color: var(--wp--preset--color--indigo);
	background: transparent;
}

/* Chips: mono pill with a semantic dot. Text stays ink for AA; the hue
 * lives in the dot (the PRD amber pair is reserved for large text and the
 * plugins' own widgets). */
.bubo-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 28px 0 0;
}

.bubo-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 13px;
	border-radius: var(--wp--custom--radius--pill);
	border: 1px solid var(--wp--preset--color--hairline);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.bubo-chip-dot {
	width: 6px;
	height: 6px;
	border-radius: var(--wp--custom--radius--pill);
	flex: none;
}

.bubo-dot-success { background: var(--wp--preset--color--success); }
.bubo-dot-amber   { background: var(--wp--preset--color--amber); }
.bubo-dot-indigo  { background: var(--wp--preset--color--indigo); }

.bubo-chip-status {
	background: var(--wp--preset--color--amber-soft);
	border-color: transparent;
}

.bubo-chip-mode {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--indigo-soft);
	color: var(--wp--preset--color--indigo);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Sections share a fluid vertical rhythm. */
.bubo-section {
	padding-block: clamp(72px, 9vw, 120px);
}

.bubo-standfirst {
	font-size: 1.125rem;
	color: var(--wp--preset--color--slate);
	max-inline-size: 55ch;
	margin-bottom: clamp(36px, 5vw, 56px);
}

/* --- Hero: the Night Shift ------------------------------------------ */

.bubo-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(88px, 12vw, 150px) clamp(120px, 14vw, 180px);
}

.bubo-hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}

.bubo-hero-copy .bubo-micro-label {
	margin-bottom: 18px;
}

.bubo-hero h1 {
	margin: 0 0 0.4em;
}

.bubo-hero-sub {
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--wp--preset--color--slate);
	max-inline-size: 46ch;
}

.bubo-hero-ctas {
	margin-top: 32px;
	gap: 12px;
}

.bubo-chartline {
	position: absolute;
	inset: auto 0 0 0;
	width: 100%;
	height: min(60%, 420px);
	z-index: 1;
	color: var(--wp--preset--color--indigo);
	opacity: 0.3;
	pointer-events: none;
}

.bubo-horizon {
	position: absolute;
	inset: auto 0 0 0;
	height: 130px;
	z-index: 1;
	background: linear-gradient(180deg, transparent 0%, var(--bubo-page-canvas) 96%);
	pointer-events: none;
}

.bubo-perch {
	display: grid;
	justify-items: center;
	position: relative;
}

.bubo-perch::before {
	content: "";
	position: absolute;
	top: -10px;
	width: 200px;
	height: 200px;
	border-radius: var(--wp--custom--radius--pill);
	background: radial-gradient(closest-side, var(--wp--preset--color--indigo), transparent 72%);
	opacity: 0.3;
	pointer-events: none;
}

.bubo-owl-hero {
	position: relative;
	z-index: 2;
	color: var(--wp--preset--color--indigo);
	margin-bottom: -26px;
	filter: drop-shadow(var(--wp--custom--shadow--accent));
}

.bubo-app-card {
	position: relative;
	z-index: 1;
	width: min(360px, 100%);
	padding: 34px 24px 20px;
	background: var(--wp--preset--color--elevated);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--custom--shadow--card);
}

.bubo-app-card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.bubo-app-card-price {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 0 10px;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 500;
	color: var(--wp--preset--color--ink);
}

.bubo-watch-dot {
	width: 8px;
	height: 8px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--success);
	flex: none;
}

.bubo-spark {
	width: 100%;
	height: 40px;
	color: var(--wp--preset--color--success);
	opacity: 0.9;
}

/* Chart furniture: faint vertical time ticks the line travels across,
 * and the arrowhead riding the leading edge. */
.bubo-spark-grid {
	color: var(--wp--preset--color--track);
}

.bubo-spark-grid line {
	vector-effect: non-scaling-stroke;
}

.bubo-app-card-foot {
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--wp--preset--color--track);
}

/* --- Strategy tiles: app excerpts ----------------------------------- */

.bubo-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.bubo-tile {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--md);
	padding: 28px;
	box-shadow: var(--wp--custom--shadow--sm);
}

.bubo-tile-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.bubo-tile .bubo-icon {
	color: var(--wp--preset--color--indigo);
	flex: none;
}

.bubo-tile h3 {
	margin: 0 0 10px;
}

.bubo-tile .bubo-chip-mode {
	margin-bottom: 14px;
}

.bubo-tile p {
	color: var(--wp--preset--color--slate);
	margin: 0;
}

.bubo-tile-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--wp--preset--color--track);
}

.bubo-tile-foot .bubo-micro-label {
	text-transform: none;
	letter-spacing: 0.02em;
}

/* --- Automated day trading statement ---------------------------------- */

.bubo-daytrade .bubo-micro-label {
	margin-bottom: 14px;
}

.bubo-daytrade-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(24px, 4vw, 56px);
	margin-block: clamp(20px, 3vw, 32px);
}

.bubo-daytrade-cols p {
	margin: 0;
	color: var(--wp--preset--color--slate);
	max-inline-size: 52ch;
}

/* --- How it works ---------------------------------------------------- */

.bubo-how-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(48px, 7vw, 96px);
	align-items: start;
}

.bubo-steps {
	list-style: none;
	margin: clamp(32px, 4vw, 48px) 0 0;
	padding: 0;
	position: relative;
}

.bubo-step-line {
	position: absolute;
	left: 17px;
	top: 8px;
	bottom: 48px;
	width: 2px;
	background: var(--wp--preset--color--track);
	transform-origin: top;
}

.bubo-step {
	position: relative;
	padding-left: 64px;
	margin-bottom: clamp(36px, 5vw, 52px);
}

.bubo-step:last-child {
	margin-bottom: 0;
}

.bubo-step-num {
	position: absolute;
	left: 0;
	top: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--wp--custom--radius--pill);
	border: 1px solid var(--wp--preset--color--hairline);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--indigo);
	font-size: 0.8125rem;
}

.bubo-step h3 {
	margin: 0 0 8px;
}

.bubo-step p {
	color: var(--wp--preset--color--slate);
	margin: 0;
	max-inline-size: 48ch;
}

.bubo-how-aside {
	border-radius: var(--wp--custom--radius--lg);
	padding: clamp(32px, 4vw, 48px);
	position: sticky;
	top: 96px;
}

.bubo-how-aside .bubo-icon-lg {
	color: var(--wp--preset--color--indigo);
	margin-bottom: 18px;
}

.bubo-aside-lead {
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--wp--preset--color--ink);
	margin: 0 0 14px;
}

/* --- Trust ledger ----------------------------------------------------- */

.bubo-ledger {
	border-top: 1px solid var(--wp--preset--color--hairline);
}

.bubo-ledger-row {
	display: grid;
	grid-template-columns: 24px minmax(200px, 280px) 1fr;
	gap: 20px;
	align-items: start;
	padding-block: 22px;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}

.bubo-ledger-row .bubo-icon {
	color: var(--wp--preset--color--indigo);
	margin-top: 2px;
}

.bubo-ledger-row strong {
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.bubo-ledger-row span {
	color: var(--wp--preset--color--slate);
}

/* --- Track record ----------------------------------------------------- */

.bubo-track-band {
	background: var(--wp--preset--color--elevated);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--card);
	padding: clamp(40px, 6vw, 72px);
}

.bubo-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: clamp(28px, 4vw, 48px);
	margin: clamp(32px, 4vw, 48px) 0 0;
}

.bubo-stat dt {
	margin-bottom: 10px;
}

.bubo-stat dd {
	margin: 0;
}

.bubo-stat-num {
	font-size: clamp(2rem, 4vw, 2.9rem);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--ink);
	line-height: 1.1;
}

.bubo-track-note {
	margin-top: clamp(28px, 4vw, 40px);
	color: var(--wp--preset--color--slate);
}

.bubo-track-link a {
	font-weight: 600;
	text-underline-offset: 4px;
}

/* --- Track record page: funds ----------------------------------------- */

.bubo-funds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(24px, 4vw, 48px);
	margin-top: clamp(32px, 5vw, 56px);
}

.bubo-fund {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--lg);
	padding: clamp(24px, 3vw, 40px);
	box-shadow: var(--wp--custom--shadow--sm);
}

.bubo-fund-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
}

.bubo-fund-head h2 {
	margin: 0 0 6px;
	font-size: var(--wp--preset--font-size--lg);
}

.bubo-fund-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px;
	margin: 0 0 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--wp--preset--color--track);
}

.bubo-fund-stats dt {
	margin-bottom: 6px;
}

.bubo-fund-stats dd {
	margin: 0;
	color: var(--wp--preset--color--ink);
}

.bubo-fund-stats .bubo-stat-num {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.bubo-fund-stats .bubo-num {
	font-size: 0.9375rem;
	font-weight: 500;
}

.bubo-fund-note {
	color: var(--wp--preset--color--slate);
	font-size: 0.9375rem;
	margin: 0 0 16px;
}

.bubo-fund-alloc summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--ink);
	padding-block: 12px;
	border-top: 1px solid var(--wp--preset--color--track);
}

.bubo-fund-alloc summary::-webkit-details-marker {
	display: none;
}

.bubo-fund-alloc table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	margin-top: 6px;
}

.bubo-fund-alloc th {
	text-align: left;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
	padding: 8px 0;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}

.bubo-fund-alloc td {
	padding: 7px 0;
	border-bottom: 1px solid var(--wp--preset--color--track);
	color: var(--wp--preset--color--ink);
}

.bubo-fund-alloc td .bubo-ticker {
	margin-left: 8px;
}

.bubo-alloc-num {
	text-align: right;
	font-family: var(--wp--preset--font-family--mono);
	font-variant-numeric: tabular-nums;
}

.bubo-record-note {
	color: var(--wp--preset--color--slate);
	max-inline-size: var(--wp--custom--measure);
	margin-top: clamp(28px, 4vw, 44px);
}

.bubo-record-disclaimer {
	color: var(--wp--preset--color--slate);
	max-inline-size: 75ch;
	margin-top: 16px;
}

/* --- FAQ --------------------------------------------------------------- */

.bubo-accordion {
	margin-top: clamp(24px, 3vw, 40px);
	border-top: 1px solid var(--wp--preset--color--hairline);
}

.bubo-faq-item {
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}

.bubo-faq-item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-block: 20px;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--wp--preset--color--ink);
}

.bubo-faq-item summary::-webkit-details-marker {
	display: none;
}

.bubo-faq-marker {
	position: relative;
	width: 18px;
	height: 18px;
	flex: none;
}

.bubo-faq-marker::before,
.bubo-faq-marker::after {
	content: "";
	position: absolute;
	inset: 8px 0;
	background: var(--wp--preset--color--indigo);
	border-radius: 2px;
}

.bubo-faq-marker::after {
	transform: rotate(90deg);
}

/* Open/closed marker is STATE, not motion: it must flip under reduced
 * motion too. Only the transition lives in the motion block. */
.bubo-faq-item[open] .bubo-faq-marker::before,
.bubo-fund-alloc[open] .bubo-faq-marker::before {
	transform: rotate(45deg);
}

.bubo-faq-item[open] .bubo-faq-marker::after,
.bubo-fund-alloc[open] .bubo-faq-marker::after {
	transform: rotate(135deg);
}

.bubo-faq-body {
	display: grid;
}

.bubo-faq-body > p {
	min-height: 0;
	overflow: hidden;
	margin: 0 0 20px;
	color: var(--wp--preset--color--slate);
	max-inline-size: var(--wp--custom--measure);
}

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

.bubo-cta-band {
	border-radius: var(--wp--custom--radius--lg);
	padding: clamp(48px, 7vw, 80px);
	text-align: center;
}

.bubo-cta-band .bubo-owl-cta {
	color: var(--wp--preset--color--indigo);
	margin-bottom: 8px;
}

.bubo-cta-band h2 {
	margin: 0 0 0.4em;
}

.bubo-cta-band p {
	color: var(--wp--preset--color--slate);
	max-inline-size: 45ch;
	margin-inline: auto;
}

.bubo-cta-band .wp-block-buttons {
	margin-top: 28px;
}

.bubo-cta-band .bubo-micro-label {
	margin-top: 22px;
}

/* --- Archives, 404, search -------------------------------------------- */

.bubo-archive-item {
	padding-block: 28px;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}

.bubo-archive-item h2 a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.bubo-archive-item h2 a:hover {
	color: var(--wp--preset--color--indigo);
}

.bubo-404 {
	text-align: center;
	padding-block: clamp(64px, 10vh, 128px);
}

.bubo-404 .bubo-owl-asleep {
	color: var(--wp--preset--color--slate);
	margin-inline: auto;
}

.bubo-404 .wp-block-buttons {
	justify-content: center;
}

.wp-block-search__input {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--sm);
	padding: 12px 14px;
	color: var(--wp--preset--color--ink);
	font-size: 0.9375rem;
}

.wp-block-search__input:focus {
	border-color: var(--wp--preset--color--indigo);
	outline: 2px solid var(--wp--preset--color--indigo);
	outline-offset: 1px;
}

.wp-block-search__button {
	background: var(--wp--preset--color--indigo);
	color: var(--wp--preset--color--surface);
	border: 0;
	border-radius: var(--wp--custom--radius--sm);
	padding: 12px 18px;
	font-weight: 600;
	cursor: pointer;
}

.wp-block-search__button:hover {
	background: var(--wp--preset--color--indigo-press);
}

/* ======================================================================
 * FUNNEL: Fluent Forms skin (signup) + focused-page rhythm.
 * The theme never restyles the funnel widgets' internals (their bdf-
 * prefixed ids stay untouched); it only matches their token system.
 * ==================================================================== */

.fluentform .ff-el-input--label label {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--ink);
	margin-bottom: 6px;
}

.fluentform .ff-el-form-control {
	width: 100%;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--sm);
	padding: 12px 14px;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--ink);
	box-shadow: none;
}

.fluentform .ff-el-form-control::placeholder {
	color: var(--wp--preset--color--slate);
}

.fluentform .ff-el-form-control:focus {
	border-color: var(--wp--preset--color--indigo);
	outline: 2px solid var(--wp--preset--color--indigo);
	outline-offset: 1px;
	box-shadow: none;
}

.fluentform .ff-el-form-check input[type="checkbox"] {
	accent-color: var(--wp--preset--color--indigo);
	width: 16px;
	height: 16px;
}

.fluentform .ff-el-form-check-label {
	color: var(--wp--preset--color--slate);
	font-size: 0.9375rem;
}

.fluentform .ff-btn-submit {
	background: var(--wp--preset--color--indigo);
	color: var(--wp--preset--color--surface);
	border: 0;
	/* Radius sm, not pill: the funnel widgets' own buttons are 10px and the
	 * signup form sits between them in the same flow. */
	border-radius: var(--wp--custom--radius--sm);
	padding: 13px 26px;
	font-size: 0.9375rem;
	font-weight: 600;
	width: 100%;
	cursor: pointer;
	box-shadow: var(--wp--custom--shadow--sm);
}

.fluentform .ff-btn-submit:hover {
	background: var(--wp--preset--color--indigo-press);
}

.fluentform .ff-el-is-error .ff-el-form-control {
	border-color: var(--wp--preset--color--danger);
	background: var(--wp--preset--color--danger-soft);
}

.fluentform .error,
.fluentform .ff-el-is-error .error {
	color: var(--wp--preset--color--danger);
	font-size: 0.875rem;
	margin-top: 6px;
}

/* Success message: ink text for AA (success-on-success-soft is 3.6:1);
 * the hue arrives as a leading dot, same grammar as the chips. */
.fluentform .ff-message-success {
	background: var(--wp--preset--color--success-soft);
	color: var(--wp--preset--color--ink);
	border-radius: var(--wp--custom--radius--md);
	padding: 16px 18px 16px 36px;
	font-weight: 500;
	position: relative;
}

.fluentform .ff-message-success::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 50%;
	margin-top: -4px;
	width: 8px;
	height: 8px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--success);
}

.bubo-focused .fluentform {
	margin-top: 12px;
}

/* ======================================================================
 * RESPONSIVE COLLAPSES (WordPress's own nav goes hamburger below 782px;
 * these handle the bespoke grids).
 * ==================================================================== */

@media (max-width: 781px) {
	.bubo-hero {
		padding-block: clamp(56px, 10vw, 88px) clamp(96px, 16vw, 140px);
	}

	.bubo-hero-grid {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.bubo-hero-sub {
		max-inline-size: none;
	}

	.bubo-perch {
		max-width: 360px;
		margin-inline: auto;
	}

	.bubo-how-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.bubo-how-aside {
		position: static;
	}

	.bubo-ledger-row {
		grid-template-columns: 24px 1fr;
	}

	.bubo-ledger-row span {
		grid-column: 2;
	}

	.bubo-header .alignwide {
		flex-wrap: wrap;
	}
}

/* ======================================================================
 * MOTION. Everything here is transform/opacity (grid-template-rows for
 * the accordion) and fully gated behind prefers-reduced-motion.
 * The engine adds .bubo-js on <html> only when motion is allowed, so
 * no-JS and reduced-motion users always see the finished state.
 * ==================================================================== */

@media (prefers-reduced-motion: no-preference) {

	.wp-element-button,
	.wp-block-button__link,
	.fluentform .ff-btn-submit {
		transition:
			transform var(--wp--custom--motion--duration-base) var(--wp--custom--motion--ease-out),
			box-shadow var(--wp--custom--motion--duration-base) var(--wp--custom--motion--ease-out),
			background-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease-out),
			border-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease-out),
			color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease-out);
	}

	.wp-element-button:hover,
	.wp-block-button__link:hover,
	.fluentform .ff-btn-submit:hover {
		transform: var(--wp--custom--motion--lift);
		box-shadow: var(--wp--custom--shadow--card);
	}

	.wp-element-button:active,
	.wp-block-button__link:active,
	.fluentform .ff-btn-submit:active {
		transform: none;
	}

	.bubo-tile {
		transition:
			transform var(--wp--custom--motion--duration-base) var(--wp--custom--motion--ease-out),
			border-color var(--wp--custom--motion--duration-base) var(--wp--custom--motion--ease-out),
			box-shadow var(--wp--custom--motion--duration-base) var(--wp--custom--motion--ease-out);
	}

	.bubo-tile:hover {
		transform: var(--wp--custom--motion--lift);
		border-color: var(--wp--preset--color--indigo);
		box-shadow: var(--wp--custom--shadow--card);
	}

	.bubo-header .wp-block-navigation a,
	.bubo-footer-links a,
	.bubo-archive-item h2 a {
		transition: color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease-out);
	}

	/* Reveal grammar: rise 14px, 480ms, staggered by --bubo-i. */
	html.bubo-js [data-bubo-reveal] {
		opacity: 0;
		transform: translateY(14px);
	}

	html.bubo-js [data-bubo-reveal].is-in {
		opacity: 1;
		transform: none;
		transition:
			opacity var(--wp--custom--motion--duration-reveal) var(--wp--custom--motion--ease-out),
			transform var(--wp--custom--motion--duration-reveal) var(--wp--custom--motion--ease-out);
		transition-delay: calc(var(--bubo-i, 0) * 60ms);
	}

	/* The chart line draws itself, then settles. */
	html.bubo-js .bubo-chartline path {
		transition: stroke-dashoffset 1400ms cubic-bezier(0.4, 0, 0.2, 1);
	}

	/* Owl: blink is a quick eyelid squeeze; the glow breathes. Blink (lid)
	 * and scroll-look compose through custom props so they never fight. */
	.bubo-owl-eyes {
		transform-origin: 24px 22px;
		transform: scaleY(var(--bubo-lid, 1));
		transition: transform 70ms ease-in-out;
	}

	.bubo-owl.is-blinking .bubo-owl-eyes {
		--bubo-lid: 0.12;
	}

	/* The flyer: the owl moves perches as you scroll. The engine clones the
	 * hero owl into a fixed-position wrapper, hides the static owls it
	 * replaces, and flies the wrapper between perch anchors. It banks into
	 * the turn via --bubo-bank on the inner svg. No JS, reduced motion, or
	 * a narrow viewport means no flyer: the static owls stay at rest. */
	html.bubo-flyer-on .bubo-perch > .bubo-owl-hero,
	html.bubo-flyer-on .bubo-owl-cta {
		visibility: hidden;
	}

	.bubo-flyer {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 40;
		pointer-events: none;
		transform-origin: 0 0;
		will-change: transform;
	}

	.bubo-flyer.is-flying {
		transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
	}

	.bubo-flyer .bubo-owl {
		display: block;
		margin: 0;
		transform: rotate(var(--bubo-bank, 0deg));
		transform-origin: 50% 50%;
		transition: transform 420ms ease-out;
	}

	.bubo-perch::before {
		animation: bubo-breathe 4.5s ease-in-out infinite alternate;
	}

	/* Watching dot: the splash pulse cadence (1.4s). */
	.bubo-watch-dot {
		animation: bubo-watch 1.4s ease-in-out infinite;
	}

	/* Step connector draws downward on scroll. */
	html.bubo-js .bubo-step-line {
		transform: scaleY(0);
		transition: transform 900ms var(--wp--custom--motion--ease-out);
	}

	html.bubo-js .bubo-step-line.is-in {
		transform: scaleY(1);
	}

	/* FAQ unfolds. */
	.bubo-faq-item[open] .bubo-faq-body {
		animation: bubo-unfold 240ms var(--wp--custom--motion--ease-out);
	}

	.bubo-faq-marker::before,
	.bubo-faq-marker::after {
		transition: transform var(--wp--custom--motion--duration-base) var(--wp--custom--motion--ease-out);
	}
}

@keyframes bubo-breathe {
	from { opacity: 0.22; }
	to   { opacity: 0.42; }
}

@keyframes bubo-watch {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.35; }
}

@keyframes bubo-unfold {
	from {
		grid-template-rows: 0fr;
		opacity: 0;
	}
	to {
		grid-template-rows: 1fr;
		opacity: 1;
	}
}

/* ======================================================================
 * NOCTURNE SCOPE + AUTO-DARK.
 * The hero carries Nocturne even in Daylight; OS dark mode carries it
 * everywhere. Values come from the theme.json nocturne bridge, so this
 * file stays hex-free. When the Bubo Nocturne style variation is active
 * the remapped values coincide with the palette, so nothing conflicts.
 * ==================================================================== */

.bubo-nocturne-scope {
	--wp--preset--color--canvas: var(--wp--custom--nocturne--canvas);
	--wp--preset--color--surface: var(--wp--custom--nocturne--surface);
	--wp--preset--color--elevated: var(--wp--custom--nocturne--elevated);
	--wp--preset--color--ink: var(--wp--custom--nocturne--ink);
	--wp--preset--color--slate: var(--wp--custom--nocturne--slate);
	--wp--preset--color--muted: var(--wp--custom--nocturne--muted);
	--wp--preset--color--hairline: var(--wp--custom--nocturne--hairline);
	--wp--preset--color--track: var(--wp--custom--nocturne--track);
	--wp--preset--color--indigo: var(--wp--custom--nocturne--indigo);
	--wp--preset--color--indigo-press: var(--wp--custom--nocturne--indigo-press);
	--wp--preset--color--indigo-soft: var(--wp--custom--nocturne--indigo-soft);
	--wp--preset--color--success: var(--wp--custom--nocturne--success);
	--wp--preset--color--success-soft: var(--wp--custom--nocturne--success-soft);
	--wp--preset--color--amber: var(--wp--custom--nocturne--amber);
	--wp--preset--color--amber-soft: var(--wp--custom--nocturne--amber-soft);
	--wp--preset--color--danger: var(--wp--custom--nocturne--danger);
	--wp--preset--color--danger-soft: var(--wp--custom--nocturne--danger-soft);
	color: var(--wp--preset--color--slate);
}

.bubo-nocturne-scope h1,
.bubo-nocturne-scope h2,
.bubo-nocturne-scope h3 {
	color: var(--wp--preset--color--ink);
}

/* Primary button inside Nocturne ground: dark text on the brightened
 * indigo (white on it fails AA; canvas-dark text passes). */
.bubo-nocturne-scope .wp-block-button:not(.is-style-outline):not(.bubo-btn-ghost) .wp-block-button__link {
	color: var(--wp--custom--nocturne--canvas);
}

/* OS-level dark mode: the whole page joins the hero's world. When the
 * Bubo Nocturne variation is active these values coincide with the
 * palette, so the remap is a no-op there. */
@media (prefers-color-scheme: dark) {
	:root {
		--wp--preset--color--canvas: var(--wp--custom--nocturne--canvas);
		--wp--preset--color--surface: var(--wp--custom--nocturne--surface);
		--wp--preset--color--elevated: var(--wp--custom--nocturne--elevated);
		--wp--preset--color--ink: var(--wp--custom--nocturne--ink);
		--wp--preset--color--slate: var(--wp--custom--nocturne--slate);
		--wp--preset--color--muted: var(--wp--custom--nocturne--muted);
		--wp--preset--color--hairline: var(--wp--custom--nocturne--hairline);
		--wp--preset--color--track: var(--wp--custom--nocturne--track);
		--wp--preset--color--indigo: var(--wp--custom--nocturne--indigo);
		--wp--preset--color--indigo-press: var(--wp--custom--nocturne--indigo-press);
		--wp--preset--color--indigo-soft: var(--wp--custom--nocturne--indigo-soft);
		--wp--preset--color--success: var(--wp--custom--nocturne--success);
		--wp--preset--color--success-soft: var(--wp--custom--nocturne--success-soft);
		--wp--preset--color--amber: var(--wp--custom--nocturne--amber);
		--wp--preset--color--amber-soft: var(--wp--custom--nocturne--amber-soft);
		--wp--preset--color--danger: var(--wp--custom--nocturne--danger);
		--wp--preset--color--danger-soft: var(--wp--custom--nocturne--danger-soft);
		--wp--custom--shadow--sm: var(--wp--custom--shadow-dark--sm);
		--wp--custom--shadow--card: var(--wp--custom--shadow-dark--card);
		--bubo-page-canvas: var(--wp--custom--nocturne--canvas);
	}

	/* Dark text on bright indigo, matching the Nocturne variation. */
	.wp-block-button:not(.is-style-outline):not(.bubo-btn-ghost) .wp-block-button__link,
	.wp-block-search__button {
		color: var(--wp--preset--color--canvas);
	}
}

/* The funnel and app templates are ALWAYS Daylight, in every mode and
 * under the Nocturne variation: the demo-funnel widgets and the dashboard
 * carry their own immutable light inline styles, and the seam with them
 * outranks the theme's dark preference. Body-level custom properties win
 * over the :root remaps above for everything on these templates. */
body.page-template-page-focused,
body.page-template-page-app {
	color-scheme: light;
	--bubo-page-canvas: var(--wp--custom--daylight--canvas);
	--wp--preset--color--canvas: var(--wp--custom--daylight--canvas);
	--wp--preset--color--surface: var(--wp--custom--daylight--surface);
	--wp--preset--color--elevated: var(--wp--custom--daylight--elevated);
	--wp--preset--color--ink: var(--wp--custom--daylight--ink);
	--wp--preset--color--slate: var(--wp--custom--daylight--slate);
	--wp--preset--color--muted: var(--wp--custom--daylight--muted);
	--wp--preset--color--hairline: var(--wp--custom--daylight--hairline);
	--wp--preset--color--track: var(--wp--custom--daylight--track);
	--wp--preset--color--indigo: var(--wp--custom--daylight--indigo);
	--wp--preset--color--indigo-press: var(--wp--custom--daylight--indigo-press);
	--wp--preset--color--indigo-soft: var(--wp--custom--daylight--indigo-soft);
	--wp--preset--color--success: var(--wp--custom--daylight--success);
	--wp--preset--color--success-soft: var(--wp--custom--daylight--success-soft);
	--wp--preset--color--amber: var(--wp--custom--daylight--amber);
	--wp--preset--color--amber-soft: var(--wp--custom--daylight--amber-soft);
	--wp--preset--color--danger: var(--wp--custom--daylight--danger);
	--wp--preset--color--danger-soft: var(--wp--custom--daylight--danger-soft);
	--wp--custom--shadow--sm: var(--wp--custom--shadow-daylight--sm);
	--wp--custom--shadow--card: var(--wp--custom--shadow-daylight--card);
	background: var(--wp--preset--color--canvas);
	color: var(--wp--preset--color--slate);
}

/* ======================================================================
 * SUPPORT HUB (templates/page-support.html + the bubo/support-* patterns).
 * Reuses the accordion, tile, and chip grammar; adds the search cluster,
 * category filters, status pill, and contact polish. Tokens only, both
 * modes first-class (the hero band carries the Nocturne scope; the rest
 * of the page follows Daylight or the OS/variation dark remap).
 * ==================================================================== */

/* The filter/search UI is JS-revealed; make sure hidden always wins. */
.bubo-support [hidden] {
	display: none !important;
}

.bubo-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Anchor jumps land with breathing room; smooth only on the support page
 * and only for people who have not asked for reduced motion. */
.bubo-support .bubo-section[id] {
	scroll-margin-top: 16px;
}

.bubo-support .bubo-support-group[id] {
	scroll-margin-top: 20px;
}

.bubo-support details[id] {
	scroll-margin-top: 24px;
}

/* --- Hero + search ---------------------------------------------------- */

.bubo-support-hero {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding-block: clamp(64px, 8vw, 104px) clamp(88px, 10vw, 132px);
}

.bubo-support-hero .bubo-horizon {
	height: 90px;
}

.bubo-support-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 720px;
	margin-inline: auto;
}

.bubo-support-hero .bubo-owl-support {
	color: var(--wp--preset--color--indigo);
	margin-bottom: 10px;
}

.bubo-support-hero .bubo-micro-label {
	margin-bottom: 16px;
}

.bubo-support-hero h1 {
	font-size: var(--wp--preset--font-size--xl);
	margin: 0 0 14px;
}

.bubo-support-hero-sub {
	color: var(--wp--preset--color--slate);
	font-size: 1.0625rem;
	max-inline-size: 52ch;
	margin-inline: auto;
}

.bubo-support-search {
	max-width: 620px;
	margin: 30px auto 0;
}

.bubo-support-searchbox {
	position: relative;
}

.bubo-support-search-icon {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--wp--preset--color--slate);
	pointer-events: none;
}

.bubo-support-input {
	width: 100%;
	padding: 15px 24px 15px 52px;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--text);
	font-size: 1.0625rem;
	box-shadow: var(--wp--custom--shadow--card);
}

.bubo-support-input::placeholder {
	color: var(--wp--preset--color--slate);
	opacity: 1;
}

.bubo-support-input:focus {
	border-color: var(--wp--preset--color--indigo);
	outline: 2px solid var(--wp--preset--color--indigo);
	outline-offset: 1px;
}

.bubo-support-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.bubo-support-filter {
	padding: 6px 13px;
	border-radius: var(--wp--custom--radius--pill);
	border: 1px solid var(--wp--preset--color--hairline);
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.bubo-support-filter:hover {
	border-color: var(--wp--preset--color--indigo);
}

.bubo-support-filter[aria-pressed="true"] {
	background: var(--wp--preset--color--indigo-soft);
	border-color: var(--wp--preset--color--indigo);
}

.bubo-support-noresults {
	margin-top: 18px;
	padding: 18px 22px;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--md);
	color: var(--wp--preset--color--slate);
}

.bubo-support-noresults p {
	margin: 0 0 6px;
}

.bubo-support-noresults p:last-child {
	margin: 0;
}

.bubo-support-quick {
	justify-content: center;
	margin-top: 28px;
}

.bubo-support-quick li {
	display: contents;
}

a.bubo-support-chip {
	text-decoration: none;
}

a.bubo-support-chip:hover {
	border-color: var(--wp--preset--color--indigo);
	color: var(--wp--preset--color--ink);
}

/* --- Getting started cards -------------------------------------------- */

.bubo-support-cards {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.bubo-support-cardlink {
	margin: 16px 0 0;
}

.bubo-support-cardlink a {
	font-weight: 600;
	text-underline-offset: 4px;
}

/* --- FAQ + troubleshooting groups ------------------------------------- */

.bubo-support-group {
	margin-top: 36px;
}

.bubo-support-group:first-child {
	margin-top: 0;
}

.bubo-support-group-label {
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 500;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
	margin: 0 0 2px;
}

/* Multi-paragraph accordion bodies (fix + report link) collapse as one. */
.bubo-faq-body > div {
	min-height: 0;
	overflow: hidden;
}

.bubo-faq-body > div > p {
	margin: 0 0 12px;
	color: var(--wp--preset--color--slate);
	max-inline-size: var(--wp--custom--measure);
}

.bubo-faq-body > div > p:last-child {
	margin-bottom: 20px;
}

.bubo-support code {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.875em;
	background: var(--wp--preset--color--track);
	color: var(--wp--preset--color--ink);
	padding: 2px 7px;
	border-radius: 6px;
	white-space: nowrap;
}

.bubo-support-report {
	font-weight: 600;
	font-size: 0.9375rem;
	text-underline-offset: 4px;
}

/* --- Service status ---------------------------------------------------- */

.bubo-support-pill {
	margin: 6px 0 14px;
	font-size: 0.8125rem;
}

.bubo-support-known,
.bubo-support-status ul {
	color: var(--wp--preset--color--slate);
	max-inline-size: var(--wp--custom--measure);
}

.bubo-support-status ul {
	padding-left: 22px;
	margin: 0;
}

/* --- Contact ----------------------------------------------------------- */

.bubo-support-form {
	max-width: 620px;
}

.bubo-support-form .ff-el-group {
	margin-bottom: 18px;
}

.fluentform select.ff-el-form-control {
	width: 100%;
	cursor: pointer;
}

.fluentform textarea.ff-el-form-control {
	min-height: 140px;
	resize: vertical;
}

.bubo-support-alt {
	margin-top: 24px;
	color: var(--wp--preset--color--slate);
	font-size: 0.9375rem;
}

@media (prefers-reduced-motion: no-preference) {
	html:has(.bubo-support) {
		scroll-behavior: smooth;
	}

	.bubo-support-filter,
	a.bubo-support-chip {
		transition:
			border-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease-out),
			background-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease-out),
			color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease-out);
	}

	.bubo-support-input {
		transition: border-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease-out);
	}
}

/* ======================================================================
 * SUPPORT DEMOS: animated pointer walkthroughs inside the troubleshooting
 * and FAQ rows. Each demo is a token-true vector replica of the real
 * widget (disclaimer box, demo login, the app's Home strip), so it adapts
 * to Daylight and Nocturne like everything else. The static state below
 * is the FINISHED state; the pointer choreography exists only inside the
 * reduced-motion gate at the end, so reduced-motion (and no-CSS-animation)
 * visitors see the solved frame, never a frozen half-step. Horizontal
 * pointer travel uses container-query units so the path scales with the
 * card. Everything animated is transform or opacity.
 * ==================================================================== */

.bubo-demo {
	margin: 4px 0 20px;
	max-width: 400px;
	padding: 18px;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--custom--shadow--sm);
	container-type: inline-size;
}

.bubo-demo-stage {
	position: relative;
}

.bubo-demo-cursor {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 6;
	color: var(--wp--preset--color--ink);
	filter: drop-shadow(var(--wp--custom--shadow--sm));
	pointer-events: none;
}

/* Static rest positions: where each pointer sits when the animation does
 * not run (reduced motion), matching the final keyframe of its journey. */
.bubo-demo-disclaimer .bubo-demo-cursor {
	transform: translate(42cqw, 214px);
}

.bubo-demo-prices .bubo-demo-cursor {
	transform: translate(92cqw, 92px);
}

.bubo-demo-login .bubo-demo-cursor {
	transform: translate(76cqw, 196px);
}

.bubo-demo-ripple {
	position: absolute;
	width: 26px;
	height: 26px;
	border: 2px solid var(--wp--preset--color--indigo);
	border-radius: var(--wp--custom--radius--pill);
	opacity: 0;
	transform: scale(0.4);
	z-index: 5;
	pointer-events: none;
}

.bubo-demo-bar {
	display: block;
	height: 8px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--track);
}

.bubo-demo-btn {
	display: inline-block;
	font-family: var(--wp--preset--font-family--text);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	border-radius: var(--wp--custom--radius--sm);
	padding: 11px 16px;
}

.bubo-demo-btn-confirm,
.bubo-demo-btn-send {
	background: var(--wp--preset--color--indigo);
	color: var(--wp--preset--color--surface);
}

/* --- Disclaimer walkthrough ------------------------------------------- */

.bubo-demo-scrollbox {
	position: relative;
	height: 120px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--canvas);
}

.bubo-demo-doc {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 24px 14px 18px;
	transform: translateY(-78px);
}

.bubo-demo-doc .bubo-demo-bar:nth-child(1)  { width: 92%; }
.bubo-demo-doc .bubo-demo-bar:nth-child(2)  { width: 78%; }
.bubo-demo-doc .bubo-demo-bar:nth-child(3)  { width: 86%; }
.bubo-demo-doc .bubo-demo-bar:nth-child(4)  { width: 62%; }
.bubo-demo-doc .bubo-demo-bar:nth-child(5)  { width: 88%; }
.bubo-demo-doc .bubo-demo-bar:nth-child(6)  { width: 74%; }
.bubo-demo-doc .bubo-demo-bar:nth-child(7)  { width: 81%; }
.bubo-demo-doc .bubo-demo-bar:nth-child(8)  { width: 66%; }
.bubo-demo-doc .bubo-demo-bar:nth-child(9)  { width: 84%; }
.bubo-demo-doc .bubo-demo-bar:nth-child(10) { width: 42%; }

.bubo-demo-scrollbar {
	position: absolute;
	right: 4px;
	top: 4px;
	bottom: 4px;
	width: 5px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--track);
}

.bubo-demo-thumb {
	position: absolute;
	left: 0;
	top: 0;
	width: 5px;
	height: 42px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--muted);
	transform: translateY(70px);
}

.bubo-demo-hint {
	font-size: 0.75rem;
	color: var(--wp--preset--color--slate);
	margin: 10px 2px 10px;
}

.bubo-demo-agree {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	margin: 0 2px 12px;
}

.bubo-demo-checkbox {
	position: relative;
	width: 15px;
	height: 15px;
	flex: none;
	margin-top: 1px;
	border: 1.5px solid var(--wp--preset--color--slate);
	border-radius: 4px;
}

.bubo-demo-checkmark {
	position: absolute;
	inset: -1.5px;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--indigo);
	border-radius: 4px;
	color: var(--wp--preset--color--surface);
}

.bubo-demo-agreetext {
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--wp--preset--color--ink);
}

/* --- Update-prices walkthrough ---------------------------------------- */

/* Two deliberate rows (chip + balances, then the button right-aligned):
 * the pointer choreography depends on the button's row, so the layout
 * must not re-wrap with viewport width. */
.bubo-demo-homebar {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 8px 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--wp--preset--color--track);
}

.bubo-demo-chip {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	padding: 4px 8px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--amber-soft);
	color: var(--wp--preset--color--ink);
}

.bubo-demo-balances {
	font-size: 0.6875rem;
	color: var(--wp--preset--color--slate);
}

.bubo-demo-balances strong {
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 500;
	font-size: 0.6875rem;
	color: var(--wp--preset--color--ink);
	font-variant-numeric: tabular-nums;
}

.bubo-demo-btn-ghost {
	grid-column: 2;
	justify-self: end;
	padding: 7px 12px;
	font-size: 0.75rem;
	border: 1px solid var(--wp--preset--color--hairline);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
}

.bubo-demo-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 2px;
	border-bottom: 1px solid var(--wp--preset--color--track);
}

.bubo-demo-row:last-of-type {
	border-bottom: 0;
	padding-bottom: 2px;
}

.bubo-demo-ticker {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
}

.bubo-demo-price {
	position: relative;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8125rem;
	color: var(--wp--preset--color--ink);
	font-variant-numeric: tabular-nums;
	min-width: 92px;
	text-align: right;
}

.bubo-demo-stale {
	position: absolute;
	right: 0;
	top: 0;
	opacity: 0;
}

.bubo-demo-fresh {
	opacity: 1;
}

/* --- Demo-login walkthrough ------------------------------------------- */

.bubo-demo-login .bubo-demo-stage {
	text-align: center;
}

.bubo-demo-urlbar {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	color: var(--wp--preset--color--slate);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--canvas);
	padding: 5px 12px;
	margin-bottom: 12px;
}

.bubo-demo-h {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--ink);
	margin: 0 0 8px;
}

.bubo-demo-bar-sub {
	width: 62%;
	height: 7px;
	margin: 0 auto 14px;
}

.bubo-demo-input {
	position: relative;
	display: flex;
	align-items: center;
	height: 38px;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--sm);
	background: var(--wp--preset--color--surface);
	padding: 0 12px;
	text-align: left;
}

.bubo-demo-typed {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--ink);
}

/* The caret is absolutely positioned and steps along the measured chunk
 * boundaries by transform (hidden chunks keep their layout width, so an
 * in-flow caret would float at the phantom end of the full address). The
 * fonts are self-hosted, so the pixel boundaries are stable. */
.bubo-demo-caret {
	position: absolute;
	left: 0;
	top: 11px;
	width: 1.5px;
	height: 16px;
	background: var(--wp--preset--color--indigo);
	opacity: 0;
	transform: translateX(123px);
}

.bubo-demo-btn-send {
	display: block;
	width: 100%;
	margin-top: 10px;
	text-align: center;
}

.bubo-demo-sent {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 12px 0 0;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--wp--preset--color--ink);
}

.bubo-demo-sentdot {
	width: 7px;
	height: 7px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--success);
	flex: none;
}

/* --- Embedded walkthrough video (core Video block, "Bubo demo card") ---
 * For the MP4 exports of these walkthroughs when the operator embeds them
 * natively: same card grammar as the vector demos, captions in the text
 * face. The block's text-track panel carries the .vtt captions. */

.wp-block-video.is-style-bubo-demo-card {
	max-width: 424px;
}

.wp-block-video.is-style-bubo-demo-card video {
	display: block;
	width: 100%;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--custom--shadow--sm);
	background: var(--wp--preset--color--surface);
}

.wp-block-video.is-style-bubo-demo-card video::cue {
	font-family: var(--wp--preset--font-family--text);
	font-size: 0.9375rem;
}

.wp-block-video.is-style-bubo-demo-card figcaption {
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 500;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
	text-align: left;
	margin-top: 10px;
}

/* Ripple rest positions (static; only scale/opacity ever animate).
 * Ripples that land ON an indigo button flip to a surface ring so the
 * click stays visible; the rest ring in indigo on light ground. */
.bubo-demo-rip-check   { left: -3px; top: 148px; }
.bubo-demo-rip-confirm { left: 34px; top: 190px; border-color: var(--wp--preset--color--surface); }
.bubo-demo-rip-update  { right: 16px; top: 32px; }
.bubo-demo-rip-input   { left: 20cqw; top: 88px; }
.bubo-demo-rip-send    { left: 46cqw; top: 138px; border-color: var(--wp--preset--color--surface); }

/* SUPPORT DEMOS MOTION: every demo animation lives inside this gate.
 * Without it (reduced motion, no CSS animation) the static finished
 * state above is what renders. */
@media (prefers-reduced-motion: no-preference) {

	.bubo-demo-disclaimer .bubo-demo-cursor { animation: bubo-demo-cur-disclaimer 12s ease-in-out infinite; }
	.bubo-demo-disclaimer .bubo-demo-doc { animation: bubo-demo-doc 12s ease-in-out infinite; }
	.bubo-demo-disclaimer .bubo-demo-thumb { animation: bubo-demo-thumb 12s ease-in-out infinite; }
	.bubo-demo-disclaimer .bubo-demo-agree { animation: bubo-demo-unlock 12s linear infinite; }
	.bubo-demo-disclaimer .bubo-demo-checkmark { animation: bubo-demo-check 12s var(--wp--custom--motion--ease-out) infinite; }
	.bubo-demo-disclaimer .bubo-demo-btn-confirm { animation: bubo-demo-enable 12s linear infinite; }
	.bubo-demo-disclaimer .bubo-demo-rip-check { animation: bubo-demo-rip-a 12s ease-out infinite; }
	.bubo-demo-disclaimer .bubo-demo-rip-confirm { animation: bubo-demo-rip-b 12s ease-out infinite; }

	.bubo-demo-prices .bubo-demo-cursor { animation: bubo-demo-cur-prices 9s ease-in-out infinite; }
	.bubo-demo-prices .bubo-demo-btn-ghost { animation: bubo-demo-press 9s ease-in-out infinite; }
	.bubo-demo-prices .bubo-demo-stale { animation: bubo-demo-stale 9s linear infinite; }
	.bubo-demo-prices .bubo-demo-fresh { animation: bubo-demo-fresh 9s var(--wp--custom--motion--ease-out) infinite; }
	.bubo-demo-prices .bubo-demo-rip-update { animation: bubo-demo-rip-c 9s ease-out infinite; }

	.bubo-demo-login .bubo-demo-cursor { animation: bubo-demo-cur-login 11s ease-in-out infinite; }
	.bubo-demo-login .bubo-demo-caret { animation: bubo-demo-caret 11s linear infinite; }
	.bubo-demo-login .bubo-demo-typed span:nth-child(1) { animation: bubo-demo-type1 11s linear infinite; }
	.bubo-demo-login .bubo-demo-typed span:nth-child(2) { animation: bubo-demo-type2 11s linear infinite; }
	.bubo-demo-login .bubo-demo-typed span:nth-child(3) { animation: bubo-demo-type3 11s linear infinite; }
	.bubo-demo-login .bubo-demo-typed span:nth-child(4) { animation: bubo-demo-type4 11s linear infinite; }
	.bubo-demo-login .bubo-demo-sent { animation: bubo-demo-sent 11s var(--wp--custom--motion--ease-out) infinite; }
	.bubo-demo-login .bubo-demo-rip-input { animation: bubo-demo-rip-d 11s ease-out infinite; }
	.bubo-demo-login .bubo-demo-rip-send { animation: bubo-demo-rip-e 11s ease-out infinite; }
}

@keyframes bubo-demo-cur-disclaimer {
	0%        { transform: translate(104cqw, 30px); }
	10%, 14%  { transform: translate(55cqw, 60px); }
	18%       { transform: translate(55cqw, 55px); }
	23%       { transform: translate(55cqw, 62px); }
	28%       { transform: translate(55cqw, 55px); }
	34%, 40%  { transform: translate(55cqw, 62px); }
	46%, 49%  { transform: translate(3cqw, 155px); }
	50%       { transform: translate(3cqw, 157px); }
	52%       { transform: translate(3cqw, 155px); }
	58%, 61%  { transform: translate(11cqw, 196px); }
	62%       { transform: translate(11cqw, 198px); }
	64%       { transform: translate(11cqw, 196px); }
	72%, 100% { transform: translate(42cqw, 214px); }
}

@keyframes bubo-demo-doc {
	0%, 16%   { transform: translateY(0); }
	25%, 30%  { transform: translateY(-40px); }
	40%, 100% { transform: translateY(-78px); }
}

@keyframes bubo-demo-thumb {
	0%, 16%   { transform: translateY(0); }
	25%, 30%  { transform: translateY(36px); }
	40%, 100% { transform: translateY(70px); }
}

@keyframes bubo-demo-unlock {
	0%, 40%   { opacity: 0.45; }
	45%, 100% { opacity: 1; }
}

@keyframes bubo-demo-check {
	0%, 49%   { opacity: 0; transform: scale(0.5); }
	53%       { opacity: 1; transform: scale(1.12); }
	56%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes bubo-demo-enable {
	0%, 61%   { opacity: 0.5; }
	66%, 100% { opacity: 1; }
}

@keyframes bubo-demo-rip-a {
	0%, 49%   { opacity: 0; transform: scale(0.4); }
	51%       { opacity: 0.75; transform: scale(0.5); }
	58%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes bubo-demo-rip-b {
	0%, 61%   { opacity: 0; transform: scale(0.4); }
	63%       { opacity: 0.75; transform: scale(0.5); }
	70%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes bubo-demo-cur-prices {
	0%        { transform: translate(104cqw, 96px); }
	18%, 23%  { transform: translate(82cqw, 44px); }
	25%       { transform: translate(82cqw, 46px); }
	27%       { transform: translate(82cqw, 44px); }
	38%, 100% { transform: translate(92cqw, 92px); }
}

@keyframes bubo-demo-press {
	0%, 23%   { transform: scale(1); }
	25%       { transform: scale(0.96); }
	28%, 100% { transform: scale(1); }
}

@keyframes bubo-demo-stale {
	0%, 30%   { opacity: 1; }
	37%, 100% { opacity: 0; }
}

@keyframes bubo-demo-fresh {
	0%, 32%   { opacity: 0; transform: translateY(3px); }
	42%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes bubo-demo-rip-c {
	0%, 23%   { opacity: 0; transform: scale(0.4); }
	25%       { opacity: 0.75; transform: scale(0.5); }
	33%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes bubo-demo-cur-login {
	0%        { transform: translate(104cqw, 150px); }
	12%, 14%  { transform: translate(24cqw, 96px); }
	15%       { transform: translate(24cqw, 98px); }
	17%       { transform: translate(24cqw, 96px); }
	50%       { transform: translate(27cqw, 100px); }
	56%, 59%  { transform: translate(48cqw, 146px); }
	60%       { transform: translate(48cqw, 148px); }
	62%       { transform: translate(48cqw, 146px); }
	72%, 100% { transform: translate(76cqw, 196px); }
}

@keyframes bubo-demo-caret {
	0%, 14%   { opacity: 0; transform: translateX(13px); }
	16%       { opacity: 1; transform: translateX(13px); }
	18%       { opacity: 0; transform: translateX(13px); }
	20%, 21%  { opacity: 1; transform: translateX(13px); }
	22%, 29%  { opacity: 1; transform: translateX(46px); }
	30%, 37%  { opacity: 1; transform: translateX(77px); }
	38%, 45%  { opacity: 1; transform: translateX(95px); }
	46%, 53%  { opacity: 1; transform: translateX(123px); }
	56%, 100% { opacity: 0; transform: translateX(123px); }
}

@keyframes bubo-demo-type1 {
	0%, 19%   { opacity: 0; }
	22%, 100% { opacity: 1; }
}

@keyframes bubo-demo-type2 {
	0%, 27%   { opacity: 0; }
	30%, 100% { opacity: 1; }
}

@keyframes bubo-demo-type3 {
	0%, 35%   { opacity: 0; }
	38%, 100% { opacity: 1; }
}

@keyframes bubo-demo-type4 {
	0%, 43%   { opacity: 0; }
	46%, 100% { opacity: 1; }
}

@keyframes bubo-demo-sent {
	0%, 70%   { opacity: 0; transform: translateY(4px); }
	78%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes bubo-demo-rip-d {
	0%, 13%   { opacity: 0; transform: scale(0.4); }
	15%       { opacity: 0.75; transform: scale(0.5); }
	23%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes bubo-demo-rip-e {
	0%, 59%   { opacity: 0; transform: scale(0.4); }
	61%       { opacity: 0.75; transform: scale(0.5); }
	69%, 100% { opacity: 0; transform: scale(1.5); }
}

/* ======================================================================
 * SUPPORT DEMO RIGS: the shared kit behind the per-article walkthroughs.
 * Three standard choreographies so every article's demo reuses one set of
 * keyframes instead of a bespoke timeline:
 *   rig A (9s)  "panel-action": header strip + action button top-right,
 *               click at 25%, state flips mid-cycle (the Update-prices shape).
 *   rig B (11s) "form-action": fixed-height head, field at a standard y,
 *               primary button below, result line flips in late (the
 *               demo-login shape; optional typed chunks).
 *   rig C (9s)  "showcase": icon rows the pointer glides down, a moving
 *               highlight, optional sequential reveals.
 * Statics are the SOLVED frame; every animation lives in the gate below.
 * ==================================================================== */

.bubo-demo-label {
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 500;
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
	margin: 0 0 6px;
}

.bubo-demo-sub2 {
	font-size: 0.75rem;
	color: var(--wp--preset--color--slate);
	margin: 0;
}

.bubo-demo-note {
	font-size: 0.6875rem;
	color: var(--wp--preset--color--slate);
	margin: 10px 0 0;
}

.bubo-demo-bhead {
	height: 78px;
	overflow: hidden;
}

.bubo-rig-b .bubo-demo-stage {
	text-align: left;
}

.bubo-rig-b .bubo-demo-sent {
	justify-content: flex-start;
	text-align: left;
}

.bubo-demo-swap {
	position: relative;
}

.bubo-demo-was {
	position: absolute;
	left: 0;
	top: 0;
	white-space: nowrap;
	opacity: 0;
}

.bubo-demo-now {
	opacity: 1;
}

.bubo-demo-early-was {
	opacity: 0;
}

.bubo-demo-list {
	border-top: 1px solid var(--wp--preset--color--track);
}

.bubo-demo-lrow {
	position: relative;
	/* Own stacking context so the highlight underlay can sit at z -1,
	 * BEHIND the row text (absolute children otherwise paint above). */
	z-index: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 4px;
	border-bottom: 1px solid var(--wp--preset--color--track);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--wp--preset--color--ink);
}

.bubo-demo-lrow .bubo-icon-s {
	color: var(--wp--preset--color--indigo);
	flex: none;
}

.bubo-demo-ltext {
	flex: 1;
	min-width: 0;
}

.bubo-demo-ltext span {
	color: var(--wp--preset--color--slate);
	font-weight: 400;
}

.bubo-demo-underlay {
	position: absolute;
	inset: 3px -6px;
	z-index: -1;
	background: var(--wp--preset--color--indigo-soft);
	border-radius: var(--wp--custom--radius--sm);
	opacity: 0;
	pointer-events: none;
}

.bubo-demo-chead {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 10px;
	font-weight: 600;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--ink);
}

.bubo-demo-chead .bubo-owl {
	color: var(--wp--preset--color--indigo);
}

.bubo-demo-wbar {
	display: block;
	height: 6px;
	width: 132px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--indigo);
	transform-origin: left center;
	flex: none;
}

.bubo-demo-w1 { transform: scaleX(0.52); }
.bubo-demo-w2 { transform: scaleX(0.33); }
.bubo-demo-w3 { transform: scaleX(0.15); }

.bubo-demo-phone {
	float: left;
	width: 44px;
	height: 70px;
	border: 1.5px solid var(--wp--preset--color--hairline);
	border-radius: 10px;
	padding: 5px 4px;
	margin-right: 12px;
	background: var(--wp--preset--color--surface);
}

.bubo-demo-phone .bubo-demo-bar {
	height: 5px;
	margin-bottom: 5px;
}

.bubo-demo-tiles {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.bubo-demo-tile-s {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--wp--preset--color--track);
	flex: none;
}

.bubo-demo-tile-owl {
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--indigo-soft);
	color: var(--wp--preset--color--indigo);
}

.bubo-demo-sign {
	display: block;
	color: var(--wp--preset--color--ink);
}

.bubo-demo-fieldcode {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	color: var(--wp--preset--color--ink);
}

.bubo-demo-chip-live {
	background: var(--wp--preset--color--indigo-soft);
	color: var(--wp--preset--color--indigo);
}

.bubo-dot-danger {
	background: var(--wp--preset--color--danger);
}

.bubo-demo-lrow .bubo-demo-chip,
.bubo-demo-lrow .bubo-chip {
	flex: none;
}

.bubo-demo-lrow .bubo-demo-urlbar {
	margin-bottom: 0;
	padding: 4px 10px;
	flex: none;
}

.bubo-demo-row .bubo-demo-swap {
	display: inline-block;
}

.bubo-demo-confirm {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.bubo-demo-confirm .bubo-demo-btn {
	padding: 8px 12px;
	font-size: 0.75rem;
	width: auto;
	display: inline-block;
	margin: 0;
}

.bubo-demo-input .bubo-demo-early-was {
	position: absolute;
	left: 12px;
	top: 8px;
}

.bubo-demo-badcode code {
	background: var(--wp--preset--color--danger-soft);
}

/* Pointer rest positions per rig (the reduced-motion frame). */
.bubo-rig-a .bubo-demo-cursor {
	transform: translate(92cqw, 92px);
}

.bubo-rig-b .bubo-demo-cursor {
	transform: translate(76cqw, 196px);
}

.bubo-rig-c .bubo-demo-cursor {
	transform: translate(88cqw, 152px);
}

.bubo-demo-rip-a  { right: 16px; top: 32px; }
.bubo-demo-rip-b1 { left: 20cqw; top: 88px; }
.bubo-demo-rip-b2 { left: 46cqw; top: 138px; border-color: var(--wp--preset--color--surface); }

/* SUPPORT DEMOS MOTION: shared rig kit (gated). */
@media (prefers-reduced-motion: no-preference) {

	.bubo-rig-a .bubo-demo-cursor { animation: bubo-demo-cur-a 9s ease-in-out infinite; }
	.bubo-rig-a .bubo-demo-act { animation: bubo-demo-press-a 9s ease-in-out infinite; }
	.bubo-rig-a .bubo-demo-rip-a { animation: bubo-demo-ripf-a 9s ease-out infinite; }
	.bubo-rig-a .bubo-demo-was { animation: bubo-demo-flip-mid-out 9s linear infinite; }
	.bubo-rig-a .bubo-demo-now { animation: bubo-demo-flip-mid-in 9s var(--wp--custom--motion--ease-out) infinite; }
	.bubo-rig-a .bubo-demo-w1 { animation: bubo-demo-wbar1 9s var(--wp--custom--motion--ease-out) infinite; }
	.bubo-rig-a .bubo-demo-w2 { animation: bubo-demo-wbar2 9s var(--wp--custom--motion--ease-out) infinite; }
	.bubo-rig-a .bubo-demo-w3 { animation: bubo-demo-wbar3 9s var(--wp--custom--motion--ease-out) infinite; }

	.bubo-rig-b .bubo-demo-cursor { animation: bubo-demo-cur-b 11s ease-in-out infinite; }
	.bubo-rig-b .bubo-demo-act { animation: bubo-demo-press-b 11s ease-in-out infinite; }
	.bubo-rig-b .bubo-demo-rip-b1 { animation: bubo-demo-ripf-b1 11s ease-out infinite; }
	.bubo-rig-b .bubo-demo-rip-b2 { animation: bubo-demo-ripf-b2 11s ease-out infinite; }
	.bubo-rig-b .bubo-demo-btype span:nth-child(1) { animation: bubo-demo-btype1 11s linear infinite; }
	.bubo-rig-b .bubo-demo-btype span:nth-child(2) { animation: bubo-demo-btype2 11s linear infinite; }
	.bubo-rig-b .bubo-demo-btype span:nth-child(3) { animation: bubo-demo-btype3 11s linear infinite; }
	.bubo-rig-b .bubo-demo-btype span:nth-child(4) { animation: bubo-demo-btype4 11s linear infinite; }
	.bubo-rig-b .bubo-demo-late { animation: bubo-demo-late-in 11s var(--wp--custom--motion--ease-out) infinite; }
	.bubo-rig-b .bubo-demo-early-was { animation: bubo-demo-early-out 11s linear infinite; }

	.bubo-rig-c .bubo-demo-cursor { animation: bubo-demo-cur-c 9s ease-in-out infinite; }
	.bubo-rig-c .bubo-demo-u1 { animation: bubo-demo-shl1 9s ease-in-out infinite; }
	.bubo-rig-c .bubo-demo-u2 { animation: bubo-demo-shl2 9s ease-in-out infinite; }
	.bubo-rig-c .bubo-demo-u3 { animation: bubo-demo-shl3 9s ease-in-out infinite; }
	.bubo-rig-c .bubo-demo-u4 { animation: bubo-demo-shl4 9s ease-in-out infinite; }
	.bubo-rig-c .bubo-demo-s1 { animation: bubo-demo-flip-s1 9s var(--wp--custom--motion--ease-out) infinite; }
	.bubo-rig-c .bubo-demo-s2 { animation: bubo-demo-flip-s2 9s var(--wp--custom--motion--ease-out) infinite; }
	.bubo-rig-c .bubo-demo-s3 { animation: bubo-demo-flip-s3 9s var(--wp--custom--motion--ease-out) infinite; }
}

@keyframes bubo-demo-cur-a {
	0%        { transform: translate(104cqw, 96px); }
	18%, 23%  { transform: translate(82cqw, 44px); }
	25%       { transform: translate(82cqw, 46px); }
	27%       { transform: translate(82cqw, 44px); }
	38%, 100% { transform: translate(92cqw, 92px); }
}

@keyframes bubo-demo-press-a {
	0%, 23%   { transform: scale(1); }
	25%       { transform: scale(0.96); }
	28%, 100% { transform: scale(1); }
}

@keyframes bubo-demo-ripf-a {
	0%, 23%   { opacity: 0; transform: scale(0.4); }
	25%       { opacity: 0.75; transform: scale(0.5); }
	33%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes bubo-demo-flip-mid-in {
	0%, 30%   { opacity: 0; transform: translateY(3px); }
	40%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes bubo-demo-flip-mid-out {
	0%, 30%   { opacity: 1; }
	37%, 100% { opacity: 0; }
}

@keyframes bubo-demo-wbar1 {
	0%, 30%   { transform: scaleX(0.62); }
	42%, 100% { transform: scaleX(0.52); }
}

@keyframes bubo-demo-wbar2 {
	0%, 30%   { transform: scaleX(0.26); }
	42%, 100% { transform: scaleX(0.33); }
}

@keyframes bubo-demo-wbar3 {
	0%, 30%   { transform: scaleX(0.12); }
	42%, 100% { transform: scaleX(0.15); }
}

@keyframes bubo-demo-cur-b {
	0%        { transform: translate(104cqw, 150px); }
	12%, 14%  { transform: translate(24cqw, 96px); }
	15%       { transform: translate(24cqw, 98px); }
	17%       { transform: translate(24cqw, 96px); }
	50%       { transform: translate(27cqw, 100px); }
	56%, 59%  { transform: translate(48cqw, 146px); }
	60%       { transform: translate(48cqw, 148px); }
	62%       { transform: translate(48cqw, 146px); }
	72%, 100% { transform: translate(76cqw, 196px); }
}

@keyframes bubo-demo-press-b {
	0%, 59%   { transform: scale(1); }
	61%       { transform: scale(0.97); }
	64%, 100% { transform: scale(1); }
}

@keyframes bubo-demo-ripf-b1 {
	0%, 13%   { opacity: 0; transform: scale(0.4); }
	15%       { opacity: 0.75; transform: scale(0.5); }
	23%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes bubo-demo-ripf-b2 {
	0%, 59%   { opacity: 0; transform: scale(0.4); }
	61%       { opacity: 0.75; transform: scale(0.5); }
	69%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes bubo-demo-btype1 {
	0%, 17%   { opacity: 0; }
	20%, 100% { opacity: 1; }
}

@keyframes bubo-demo-btype2 {
	0%, 25%   { opacity: 0; }
	28%, 100% { opacity: 1; }
}

@keyframes bubo-demo-btype3 {
	0%, 33%   { opacity: 0; }
	36%, 100% { opacity: 1; }
}

@keyframes bubo-demo-btype4 {
	0%, 41%   { opacity: 0; }
	44%, 100% { opacity: 1; }
}

@keyframes bubo-demo-late-in {
	0%, 70%   { opacity: 0; transform: translateY(4px); }
	78%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes bubo-demo-early-out {
	0%, 15%   { opacity: 1; }
	20%, 100% { opacity: 0; }
}

@keyframes bubo-demo-cur-c {
	0%        { transform: translate(104cqw, 20px); }
	18%       { transform: translate(80cqw, 30px); }
	30%       { transform: translate(76cqw, 38px); }
	45%       { transform: translate(76cqw, 80px); }
	60%       { transform: translate(76cqw, 88px); }
	75%       { transform: translate(76cqw, 124px); }
	84%       { transform: translate(78cqw, 130px); }
	92%, 100% { transform: translate(88cqw, 152px); }
}

@keyframes bubo-demo-shl1 {
	0%, 16%   { opacity: 0; }
	24%       { opacity: 1; }
	36%, 100% { opacity: 0; }
}

@keyframes bubo-demo-shl2 {
	0%, 44%   { opacity: 0; }
	52%       { opacity: 1; }
	64%, 100% { opacity: 0; }
}

@keyframes bubo-demo-shl3 {
	0%, 70%   { opacity: 0; }
	78%       { opacity: 1; }
	88%, 100% { opacity: 0; }
}

@keyframes bubo-demo-shl4 {
	0%, 84%   { opacity: 0; }
	90%       { opacity: 1; }
	97%, 100% { opacity: 0; }
}

@keyframes bubo-demo-flip-s1 {
	0%, 26%   { opacity: 0; transform: scale(0.85); }
	32%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes bubo-demo-flip-s2 {
	0%, 54%   { opacity: 0; transform: scale(0.85); }
	60%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes bubo-demo-flip-s3 {
	0%, 79%   { opacity: 0; transform: scale(0.85); }
	85%, 100% { opacity: 1; transform: scale(1); }
}
