/**
 * Botworks page components — layout preserved, Coinbase design tokens only.
 * Replaces hardcoded <style> blocks formerly embedded in page HTML.
 */

/* ---------- Base ---------- */
.bw {
	--blue: var(--bw-primary);
	--blue2: var(--bw-primary-active);
	--ink: var(--bw-ink);
	--slate: var(--bw-body);
	--mute: var(--bw-muted);
	--line: var(--bw-hairline);
	--soft: var(--bw-surface-soft);
	--soft2: var(--bw-surface-strong);
	--white: var(--bw-canvas);

	font-family: var(--bw-font-body, "DM Sans", system-ui, sans-serif);
	color: var(--bw-ink);
	line-height: 1.65;
	font-size: 17px;
}

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

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

.bw-full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}

.bw-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--bw-space-lg);
	box-sizing: border-box;
}

.bw-narrow {
	max-width: 720px;
	margin: 0 auto;
}

/* About — Our mission */
.bw-wrap.bw-narrow {
	text-align: center;
}

.bw-wrap.bw-narrow > .bw-h2 {
	margin: 0 0 20px;
	text-align: center !important;
}

.bw-wrap.bw-narrow > .bw-p {
	margin: 0 0 18px;
	text-align: center !important;
	font-size: 17.5px;
	line-height: 1.7;
	color: var(--bw-body);
}

.bw-wrap.bw-narrow > .bw-p:last-of-type {
	margin-bottom: 0;
}

.bw-wrap.bw-narrow > .bw-stats {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid var(--bw-hairline);
	gap: var(--bw-space-xl);
	text-align: center;
}

.bw-wrap.bw-narrow > .bw-stats .bw-stat-n {
	font-size: clamp(32px, 4vw, 40px);
}

.bw-wrap.bw-narrow > .bw-stats .bw-stat-l {
	text-align: center;
}

/* About — Our values */
.bw-section:has(> .bw-wrap > .bw-vals) {
	background: var(--bw-surface-soft);
}

.bw-section:has(> .bw-wrap > .bw-vals) > .bw-wrap > .bw-narrow {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}

.bw-section:has(> .bw-wrap > .bw-vals) > .bw-wrap > .bw-narrow .bw-h2 {
	margin-top: 14px;
}

.bw-vals {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--bw-space-lg);
	margin-top: 48px;
	width: 100%;
}

.bw-vals .bw-card {
	height: 100%;
	padding: 28px 24px;
	background: var(--bw-canvas);
}

.bw-vals .bw-card h3 {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
}

.bw h1,
.bw h2,
.bw h3,
.bw-h1,
.bw-h2,
.bw-h3 {
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--bw-ink);
	font-family: var(--bw-font-heading, "DM Sans", system-ui, -apple-system, sans-serif);
}

.bw-center {
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}

.bw-section {
	padding: var(--bw-space-section) 0;
}

/*
 * Inner pages (Platform / Pricing / About / Contact) often use
 * .bw-full without .bw-section — match Home vertical rhythm.
 */
.bw > section.bw-full:not(.bw-hero):not(.bw-logos):not(.bw-stats):not(.bw-finalcta):not(.bw-sec-band) {
	padding: var(--bw-space-section) 0;
}

/* Pricing + Contact only: tighter gap after hero */
body.bw-page-pricing .bw-hero > .bw-wrap,
body.bw-page-contact .bw-hero > .bw-wrap {
	padding-bottom: 0;
}

body.bw-page-pricing .bw-hero + .bw-section,
body.bw-page-pricing .bw-hero + section.bw-full,
body.bw-page-contact .bw-hero + .bw-section,
body.bw-page-contact .bw-hero + section.bw-full {
	padding-top: 40px;
}

/* ---------- Type ---------- */
.bw-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--bw-space-xs);
	font-family: var(--bw-font-heading, "DM Sans", system-ui, -apple-system, sans-serif);
	font-size: 13px;
	font-weight: 600;
	color: var(--bw-primary-active);
	background: #e8f0ff;
	border: 1px solid #c5d7ff;
	padding: 6px 14px;
	border-radius: var(--bw-radius-pill);
}

.bw-h1 {
	font-size: clamp(32px, 4.6vw, 58px);
	font-weight: 800;
	margin: 20px 0 0;
}

.bw-h2 {
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 800;
}

.bw-h3 {
	font-size: 20px;
	font-weight: 700;
}

.bw-lead {
	font-size: clamp(17px, 1.6vw, 20px);
	color: var(--bw-body);
	max-width: 680px;
	margin: 18px auto 0;
}

.bw-p {
	color: var(--bw-body);
	font-size: 17.5px;
	margin: 0 0 18px;
}

.bw-grad {
	background: linear-gradient(90deg, var(--bw-primary), #4c8dff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.bw-trust {
	margin-top: 22px;
	font-size: 14px;
	color: var(--bw-muted);
}

/* ---------- Buttons ---------- */
.bw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--bw-space-xs);
	font-weight: 600;
	font-size: 16px;
	padding: 13px 22px;
	border-radius: var(--bw-radius-sm);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	border: 1px solid transparent;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
}

.bw-btn:focus-visible {
	outline: 2px solid var(--bw-primary);
	outline-offset: 3px;
}

.bw-btn-primary {
	color: var(--bw-on-primary);
	background: var(--bw-primary);
}

.bw a.bw-btn-primary,
.bw .bw-btn-primary {
	color: #fff;
}

.bw-btn-primary:hover {
	background: var(--bw-primary-active);
	color: #fff;
}

.bw-btn-primary:disabled,
.bw-btn-primary[aria-disabled="true"] {
	background: var(--bw-primary-disabled);
	cursor: not-allowed;
}

.bw-btn-ghost {
	background: var(--bw-canvas);
	color: var(--bw-ink);
	border-color: var(--bw-hairline);
}

.bw-btn-ghost:hover {
	background: var(--bw-surface-soft);
	border-color: var(--bw-hairline);
}

.bw-form .bw-btn,
.bw-tier .bw-btn {
	width: 100%;
}

.bw-form .bw-btn,
.bw-form button[type="submit"] {
	background: var(--bw-primary);
	color: #fff;
	border-color: var(--bw-primary);
}

.bw-form .bw-btn:hover,
.bw-form button[type="submit"]:hover {
	background: var(--bw-primary-active);
	border-color: var(--bw-primary-active);
	color: #fff;
}

.bw-cta-row {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 30px;
}

/* ---------- Hero ---------- */
.bw-hero {
	background:
		radial-gradient(900px 420px at 50% -8%, #e8f0ff 0%, transparent 70%),
		var(--bw-canvas);
	text-align: center;
}

.bw-hero > .bw-wrap {
	padding-top: 72px;
	padding-bottom: 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Match Home .bw-center width when hero markup skips the wrapper */
.bw-hero > .bw-wrap > .bw-h1,
.bw-hero > .bw-wrap > .bw-lead,
.bw-hero > .bw-wrap > .bw-trust,
.bw-hero > .bw-wrap > .bw-cta-row {
	max-width: 675px;
	width: 100%;
}

.bw-hero > .bw-wrap > .bw-eyebrow {
	width: inherit !important;
}

.bw-hero > .bw-wrap > .bw-h1 {
	text-align: center;
}

.bw-hero .bw-center,
.bw-hero > .bw-wrap > .bw-center {
	width: 100%;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.bw-center > .bw-h2 {
	margin-top: 18px;
}

.bw-hero .bw-h1 {
	margin-top: 22px;
}

.bw-hero .bw-lead,
.bw-center .bw-lead {
	margin-left: auto;
	margin-right: auto;
}

.bw-hero .bw-cta-row {
	margin-top: 28px;
}

.bw-hero .bw-btn-primary {
	color: #fff;
}

.bw-hero-card {
	width: 100%;
	max-width: 720px;
	margin: 44px auto 0;
	background: var(--bw-canvas);
	border: 1px solid var(--bw-hairline);
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(10, 11, 13, 0.04), 0 16px 40px rgba(10, 11, 13, 0.06);
	overflow: hidden;
	text-align: left;
}

.bw-cardbar {
	display: flex;
	align-items: center;
	gap: var(--bw-space-xs);
	padding: 14px 18px;
	border-bottom: 1px solid var(--bw-hairline);
	background: var(--bw-surface-soft);
}

.bw-cardbar .bw-dot:nth-child(1) {
	background: #ff5f57;
}

.bw-cardbar .bw-dot:nth-child(2) {
	background: #febc2e;
}

.bw-cardbar .bw-dot:nth-child(3) {
	background: #28c840;
}

.bw-cardbar strong {
	margin-left: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bw-body);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bw-cardbar strong::after {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--bw-semantic-up);
	box-shadow: 0 0 0 0 rgba(5, 177, 105, 0.45);
	animation: bw-live-pulse 1.6s ease-out infinite;
}

.bw-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	flex-shrink: 0;
}

.bw-chatbody {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 220px;
}

.bw-msg {
	max-width: 78%;
	padding: 12px 16px;
	border-radius: 14px;
	font-size: 15px;
}

.bw-hero-card.bw-chat-ready .bw-msg:not(.is-visible) {
	display: none;
}

.bw-msg.is-visible {
	display: block;
	animation: bw-msg-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bw-msg.user {
	align-self: flex-end;
	background: var(--bw-primary);
	color: var(--bw-on-primary);
	border-bottom-right-radius: var(--bw-radius-xs);
}

.bw-msg.user.is-visible {
	animation-name: bw-msg-in-user;
}

.bw-msg.bot {
	align-self: flex-start;
	background: var(--bw-surface-soft);
	border: 1px solid var(--bw-hairline);
	border-bottom-left-radius: var(--bw-radius-xs);
	color: var(--bw-ink);
}

.bw-msg.bot.is-visible {
	animation-name: bw-msg-in-bot;
}

.bw-msg .bw-badge {
	display: inline-flex;
	animation: bw-badge-in 0.35s ease 0.2s both;
}

.bw-typing {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 12px 14px;
	border-radius: 14px;
	border-bottom-left-radius: var(--bw-radius-xs);
	background: var(--bw-surface-soft);
	border: 1px solid var(--bw-hairline);
	animation: bw-msg-in-bot 0.28s ease both;
}

.bw-typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--bw-muted-soft);
	animation: bw-typing-bounce 1s ease-in-out infinite;
}

.bw-typing span:nth-child(2) {
	animation-delay: 0.15s;
}

.bw-typing span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes bw-msg-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes bw-msg-in-user {
	from {
		opacity: 0;
		transform: translate(14px, 8px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes bw-msg-in-bot {
	from {
		opacity: 0;
		transform: translate(-14px, 8px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes bw-badge-in {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes bw-typing-bounce {
	0%,
	60%,
	100% {
		transform: translateY(0);
		opacity: 0.45;
	}
	30% {
		transform: translateY(-4px);
		opacity: 1;
	}
}

@keyframes bw-live-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(5, 177, 105, 0.45);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(5, 177, 105, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(5, 177, 105, 0);
	}
}

.bw-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--bw-semantic-up);
	background: #eafaf2;
	border: 1px solid #b6eed4;
	padding: 4px 10px;
	border-radius: var(--bw-radius-pill);
	margin-top: 4px;
}

/* ---------- Logos ---------- */
.bw-logos {
	background: var(--bw-canvas);
	border-top: 1px solid var(--bw-hairline);
	border-bottom: 1px solid var(--bw-hairline);
}

.bw-logos .bw-wrap {
	padding-top: 40px;
	padding-bottom: 40px;
	text-align: center;
}

.bw-logos p {
	margin: 0;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	color: var(--bw-muted);
	letter-spacing: 0.01em;
}

.bw-logos-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 48px;
	margin-top: 22px;
}

.bw-logo {
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.02em;
	color: #c0c4ca;
	opacity: 0.95;
	line-height: 1;
}

/* ---------- Home stats band (light) ---------- */
.bw-full.bw-stats {
	background: var(--bw-surface-soft);
	color: var(--bw-ink);
	border-top: none;
	border-bottom: none;
}

.bw-full.bw-stats .bw-wrap {
	padding-top: 56px;
	padding-bottom: 56px;
}

.bw-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--bw-space-xl);
	text-align: center;
	align-items: start;
}

.bw-full.bw-stats .bw-stat-n {
	font-family: var(--bw-font-heading, "DM Sans", system-ui, -apple-system, sans-serif);
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 700;
	letter-spacing: -0.03em;
	background: none;
	-webkit-background-clip: unset;
	background-clip: unset;
	color: var(--bw-primary);
	line-height: 1.1;
}

.bw-full.bw-stats .bw-stat-l {
	color: var(--bw-muted);
	font-size: 15px;
	margin-top: 8px;
	line-height: 1.4;
}

.bw-full.bw-stats .bw-stat-n.is-animating {
	opacity: 1;
}

/* ---------- About stats row ---------- */
.bw-stats:not(.bw-full) {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--bw-space-lg);
	margin-top: 40px;
	text-align: center;
}

.bw-stats:not(.bw-full) .bw-stat-n {
	font-family: var(--bw-font-heading, "DM Sans", system-ui, -apple-system, sans-serif);
	font-size: 40px;
	font-weight: 800;
	color: var(--bw-primary-active);
	background: none;
}

.bw-stats:not(.bw-full) .bw-stat-l {
	color: var(--bw-muted);
	font-size: 14px;
}

/* ---------- Grids & cards ---------- */
.bw-grid,
.bw-tiers,
.bw-steps {
	width: 100%;
}

.bw-grid2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--bw-space-lg);
	margin-top: 50px;
	width: 100%;
}

.bw-grid3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--bw-space-lg);
	margin-top: 50px;
	width: 100%;
}

.bw-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	margin-top: 50px;
	align-items: start;
}

.bw-card {
	background: var(--bw-canvas);
	border: 1px solid var(--bw-hairline);
	border-radius: var(--bw-radius-lg);
	padding: 28px;
	transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.bw-card:hover {
	border-color: #cfd3d9;
	box-shadow: 0 1px 2px rgba(10, 11, 13, 0.06), 0 8px 20px rgba(10, 11, 13, 0.04);
	transform: translateY(-3px);
}

.bw-card h3 {
	margin: 14px 0 8px;
}

.bw-card p {
	margin: 0;
	color: var(--bw-body);
	font-size: 15.5px;
}

.bw-ico {
	width: 46px;
	height: 46px;
	border-radius: var(--bw-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e8f0ff;
	color: var(--bw-primary-active);
	font-size: 22px;
	font-weight: 800;
}

/* Platform — Integrations */
.bw-integrations {
	background: var(--bw-surface-soft);
}

.bw-integrations .bw-center {
	max-width: 640px;
}

.bw-integrations .bw-center .bw-lead {
	margin-top: 16px;
}

.bw-integrations .bw-grid3 {
	margin-top: 48px;
	gap: 20px;
}

.bw-integrations .bw-card {
	text-align: center;
	padding: 32px 24px;
	background: var(--bw-canvas);
	border: 1px solid var(--bw-hairline);
	min-height: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

.bw-integrations .bw-card h3 {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: var(--bw-ink);
}

.bw-integrations .bw-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--bw-body);
	max-width: 280px;
}

.bw-integrations .bw-card::before {
	content: "";
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	border-radius: 10px;
	background: #e8f0ff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
}

/* ---------- Steps ---------- */
.bw-section:has(.bw-steps),
#how.bw-section {
	background: var(--bw-surface-soft);
}

.bw-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--bw-space-lg);
	margin-top: 54px;
	counter-reset: s;
}

.bw-step {
	position: relative;
	padding: 30px;
	border: 1px solid var(--bw-hairline);
	border-radius: var(--bw-radius-lg);
	background: var(--bw-canvas);
	box-shadow: 0 1px 2px rgba(10, 11, 13, 0.03);
}

.bw-step:before {
	counter-increment: s;
	content: counter(s);
	position: absolute;
	top: -18px;
	left: 24px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--bw-primary);
	color: var(--bw-on-primary);
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

.bw-step p {
	margin: 0;
	color: var(--bw-body);
	font-size: 15.5px;
}

/* ---------- Feature split ---------- */
.bw-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.bw-section > .bw-wrap > .bw-feature {
	width: 100%;
}

.bw-feature.rev {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.bw-feature.rev .bw-fcopy {
	order: 2;
}

.bw-fcopy {
	min-width: 0;
}

.bw-fcopy .bw-eyebrow {
	margin-bottom: 4px;
}

.bw-fcopy h2 {
	margin-top: 14px;
	margin-bottom: 16px;
}

.bw-fcopy p {
	color: var(--bw-body);
	margin: 0;
}

.bw-list {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
}

.bw-list li {
	position: relative;
	padding: 7px 0 7px 30px;
	color: var(--bw-ink);
	font-size: 15.5px;
}

.bw-list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 13px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #e8f0ff;
}

.bw-list li:after {
	content: "";
	position: absolute;
	left: 6px;
	top: 16px;
	width: 6px;
	height: 9px;
	border: solid var(--bw-primary);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.bw-visual {
	--bw-visual-pad: 22px;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(420px 220px at 90% -10%, rgba(0, 82, 255, 0.14), transparent 70%),
		linear-gradient(165deg, #eef3ff 0%, var(--bw-canvas) 55%, #f7f9fc 100%);
	border: 1px solid var(--bw-hairline);
	border-radius: 18px;
	padding: var(--bw-visual-pad);
	box-shadow:
		0 1px 2px rgba(10, 11, 13, 0.04),
		0 16px 40px rgba(10, 11, 13, 0.06);
}

.bw-visual::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 42px;
	background: rgba(255, 255, 255, 0.72);
	border-bottom: 1px solid var(--bw-hairline);
	backdrop-filter: blur(6px);
	z-index: 0;
}

.bw-visual::after {
	content: "";
	position: absolute;
	top: 16px;
	left: 22px;
	width: 54px;
	height: 10px;
	border-radius: 999px;
	background:
		radial-gradient(circle at 5px 5px, #ff5f57 4px, transparent 5px),
		radial-gradient(circle at 21px 5px, #febc2e 4px, transparent 5px),
		radial-gradient(circle at 37px 5px, #28c840 4px, transparent 5px);
	z-index: 1;
}

.bw-visual > * {
	position: relative;
	z-index: 1;
}

.bw-visual > .bw-mockrow:first-child,
.bw-visual > .bw-bars {
	margin-top: 34px;
}

.bw-mockrow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 13px 14px 13px 14px;
	border: 1px solid var(--bw-hairline);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.92);
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--bw-ink);
	box-shadow: 0 1px 2px rgba(10, 11, 13, 0.03);
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.2s ease,
		border-color 0.2s ease;
	transition-delay: calc(var(--bw-i, 0) * 90ms);
}

.bw-visual.is-inview .bw-mockrow,
.bw-visual.bw-visual-static .bw-mockrow {
	opacity: 1;
	transform: none;
}

.bw-mockrow:last-child {
	margin-bottom: 0;
}

.bw-mockrow:hover {
	border-color: #c5d7ff;
	box-shadow: 0 6px 16px rgba(0, 82, 255, 0.08);
}

.bw-mockrow::before {
	content: "";
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	border-radius: 8px;
	background: #e8f0ff center / 16px no-repeat;
	margin-right: 2px;
}

/* Omnichannel channel icons */
.bw-visual:not(:has(.bw-bars)) .bw-mockrow:nth-child(1)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}

.bw-feature:not(.rev) .bw-visual:not(:has(.bw-bars)) .bw-mockrow:nth-child(2)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.bw-feature:not(.rev) .bw-visual:not(:has(.bw-bars)) .bw-mockrow:nth-child(3)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.7 2.35a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.75.34 1.54.57 2.35.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.bw-feature:not(.rev) .bw-visual:not(:has(.bw-bars)) .bw-mockrow:nth-child(4)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E");
}

/* Trust & control icons */
.bw-feature.rev .bw-visual .bw-mockrow:nth-child(1)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}

.bw-feature.rev .bw-visual .bw-mockrow:nth-child(2)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

.bw-feature.rev .bw-visual .bw-mockrow:nth-child(3)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cline x1='9' y1='9' x2='9.01' y2='9'/%3E%3Cline x1='15' y1='9' x2='15.01' y2='9'/%3E%3C/svg%3E");
}

.bw-feature.rev .bw-visual .bw-mockrow:nth-child(4)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'/%3E%3C/svg%3E");
}

/* Analytics visual */
.bw-visual:has(.bw-bars) > .bw-mockrow::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
}

.bw-mockrow .bw-pill {
	flex-shrink: 0;
	margin-left: auto;
}

.bw-pill {
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: var(--bw-radius-pill);
	white-space: nowrap;
}

.bw-pill.g {
	background: #eafaf2;
	color: var(--bw-semantic-up);
	border: 1px solid #b6eed4;
}

.bw-pill.b {
	background: #e8f0ff;
	color: var(--bw-primary-active);
	border: 1px solid #c5d7ff;
}

.bw-visual.is-inview .bw-pill.g {
	animation: bw-pill-pulse 2.4s ease-in-out 0.6s infinite;
}

.bw-bars {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	height: 140px;
	padding: 18px 16px 14px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--bw-hairline);
	border-radius: 12px;
	margin-bottom: 12px;
	box-shadow: 0 1px 2px rgba(10, 11, 13, 0.03);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.bw-visual.is-inview .bw-bars,
.bw-visual.bw-visual-static .bw-bars {
	opacity: 1;
	transform: none;
}

.bw-bar {
	flex: 1;
	height: var(--bw-bar-h, 40%);
	min-height: 12px;
	background: linear-gradient(180deg, #4c8dff, var(--bw-primary));
	border-radius: 6px 6px 0 0;
	transform-origin: bottom;
	transform: scaleY(0.15);
	opacity: 0.55;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
	transition-delay: calc(120ms + var(--bw-i, 0) * 80ms);
}

.bw-bar:nth-child(1) { --bw-bar-h: 42%; }
.bw-bar:nth-child(2) { --bw-bar-h: 58%; }
.bw-bar:nth-child(3) { --bw-bar-h: 48%; }
.bw-bar:nth-child(4) { --bw-bar-h: 78%; }
.bw-bar:nth-child(5) { --bw-bar-h: 64%; }
.bw-bar:nth-child(6) { --bw-bar-h: 92%; }

.bw-visual.is-inview .bw-bar,
.bw-visual.bw-visual-static .bw-bar {
	transform: scaleY(1);
	opacity: 1;
}

@keyframes bw-pill-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(5, 177, 105, 0);
	}
	50% {
		box-shadow: 0 0 0 4px rgba(5, 177, 105, 0.12);
	}
}

/* ---------- Quotes ---------- */
.bw-quotes {
	background: var(--bw-surface-soft);
}

.bw-qgrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--bw-space-lg);
	margin-top: 48px;
}

.bw-quote {
	background: var(--bw-canvas);
	border: 1px solid var(--bw-hairline);
	border-radius: var(--bw-radius-lg);
	padding: 30px;
}

.bw-quote p {
	font-size: 18px;
	color: var(--bw-ink);
	margin: 0 0 20px;
	font-weight: 500;
}

.bw-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bw-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bw-primary), var(--bw-primary-active));
	color: var(--bw-on-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.bw-author b {
	display: block;
	font-size: 15px;
}

.bw-author span {
	font-size: 13px;
	color: var(--bw-muted);
}

/* ---------- Security chips (Enterprise-ready) ---------- */
.bw-sec-band {
	background: var(--bw-canvas);
	border-top: 1px solid var(--bw-hairline);
	border-bottom: 1px solid var(--bw-hairline);
	padding: var(--bw-space-section) 0;
}

.bw-sec-band .bw-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.bw-sec-band .bw-center {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}

.bw-sec-band .bw-center .bw-h2 {
	margin-top: 16px;
}

.bw-sec-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	max-width: 100%;
	margin-top: 48px;
	box-sizing: border-box;
}

.bw-sec-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 88px;
	border: 1px solid var(--bw-hairline);
	border-radius: var(--bw-radius-md);
	padding: 16px 12px;
	text-align: center;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.35;
	color: var(--bw-body);
	background: var(--bw-surface-soft);
	box-sizing: border-box;
}

/* ---------- Final CTA ---------- */
.bw-finalcta {
	background: linear-gradient(135deg, var(--bw-primary-active), var(--bw-primary));
	color: var(--bw-on-dark);
	text-align: center;
}

.bw-finalcta .bw-wrap {
	padding-top: 78px;
	padding-bottom: 78px;
}

.bw-finalcta h2 {
	color: var(--bw-on-dark);
}

.bw-finalcta p {
	color: rgba(255, 255, 255, 0.85);
	max-width: 560px;
	margin: 16px auto 0;
}

.bw-finalcta .bw-btn-primary,
.bw-finalcta a.bw-btn-primary {
	background: var(--bw-canvas);
	color: var(--bw-primary-active);
}

.bw-finalcta .bw-btn-primary:hover,
.bw-finalcta a.bw-btn-primary:hover {
	background: var(--bw-surface-soft);
	color: var(--bw-primary-active);
}

.bw-finalcta .bw-btn-ghost {
	background: transparent;
	color: var(--bw-on-dark);
	border-color: rgba(255, 255, 255, 0.45);
}

.bw-finalcta .bw-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.7);
}

/* ---------- Pricing ---------- */
.bw-tiers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--bw-space-lg);
	margin-top: 50px;
	align-items: stretch;
}

.bw-tier {
	background: var(--bw-canvas);
	border: 1px solid var(--bw-hairline);
	border-radius: 18px;
	padding: 30px;
	display: flex;
	flex-direction: column;
}

.bw-tier.pop {
	border-color: var(--bw-primary);
	box-shadow: 0 1px 2px rgba(0, 82, 255, 0.08), 0 16px 40px rgba(0, 82, 255, 0.1);
	position: relative;
}

.bw-tag {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--bw-primary);
	color: var(--bw-on-primary);
	font-size: 12px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: var(--bw-radius-pill);
}

.bw-tier h3 {
	font-size: 20px;
	font-weight: 700;
}

.bw-price {
	font-family: var(--bw-font-heading, "DM Sans", system-ui, -apple-system, sans-serif);
	font-size: 42px;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 14px 0 2px;
	font-feature-settings: "tnum";
}

.bw-price span {
	font-size: 15px;
	font-weight: 500;
	color: var(--bw-muted);
}

.bw-tier p.sub {
	color: var(--bw-body);
	font-size: 15px;
	margin: 0 0 18px;
}

.bw-feat {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	flex: 1;
}

.bw-feat li {
	position: relative;
	padding: 8px 0 8px 28px;
	font-size: 15px;
	color: var(--bw-ink);
	border-top: 1px solid var(--bw-hairline);
}

.bw-feat li:first-child {
	border-top: none;
}

.bw-feat li:before {
	content: "";
	position: absolute;
	left: 2px;
	top: 14px;
	width: 6px;
	height: 10px;
	border: solid var(--bw-primary);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.bw-faq-intro {
	max-width: 760px;
	margin: 72px auto 28px;
	text-align: center;
}

.bw-faq-intro .bw-h2 {
	margin: 0;
}

.bw-faq {
	max-width: 760px;
	margin: 0 auto;
}

.bw-faq details {
	border: 1px solid var(--bw-hairline);
	border-radius: var(--bw-radius-md);
	padding: 0 20px;
	margin-bottom: 12px;
	background: var(--bw-canvas);
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bw-faq details[open],
.bw-faq details.is-open {
	border-color: color-mix(in srgb, var(--bw-primary) 28%, var(--bw-hairline));
	box-shadow: 0 8px 24px rgba(10, 11, 13, 0.04);
}

.bw-faq summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 36px 18px 0;
	font-family: var(--bw-font-heading, "DM Sans", system-ui, -apple-system, sans-serif);
	font-weight: 600;
	font-size: 16.5px;
	line-height: 1.35;
	cursor: pointer;
	color: var(--bw-ink);
	list-style: none;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

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

.bw-faq summary::marker {
	content: "";
	display: none;
}

.bw-faq summary:focus,
.bw-faq summary:focus-visible,
.bw-faq summary:active {
	outline: none;
	box-shadow: none;
}

.bw-faq summary::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--bw-ink-muted, #6b7280);
	border-bottom: 2px solid var(--bw-ink-muted, #6b7280);
	transform: translateY(-65%) rotate(45deg);
	transition: transform 0.3s ease, border-color 0.25s ease;
}

.bw-faq details[open] summary::after,
.bw-faq details.is-open summary::after {
	transform: translateY(-20%) rotate(225deg);
	border-color: var(--bw-primary);
}

.bw-faq-panel {
	height: 0;
	overflow: hidden;
	transition: height 0.35s ease;
}

.bw-faq-panel-inner {
	padding: 0 0 18px;
}

.bw-faq p {
	color: var(--bw-body);
	font-size: 15.5px;
	line-height: 1.6;
	margin: 0;
}

/* Native fallback when JS has not wrapped the answer yet */
.bw-faq details > p {
	margin: 0 0 18px;
}

/* ---------- Contact form ---------- */
.bw-form {
	background: var(--bw-canvas);
	border: 1px solid var(--bw-hairline);
	border-radius: 18px;
	padding: 30px;
	box-shadow: 0 1px 2px rgba(10, 11, 13, 0.04), 0 12px 32px rgba(10, 11, 13, 0.05);
}

.bw-field {
	margin-bottom: 16px;
}

.bw-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--bw-ink);
}

.bw-field input,
.bw-field textarea,
.bw-field select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--bw-hairline);
	border-radius: var(--bw-radius-sm);
	font-size: 15px;
	font-family: inherit;
	color: var(--bw-ink);
	background: var(--bw-surface-soft);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bw-field textarea {
	min-height: calc(1.45em * 3 + 24px);
	height: calc(1.45em * 3 + 24px);
	resize: vertical;
}

.bw-field input::placeholder,
.bw-field textarea::placeholder {
	color: var(--bw-muted-soft);
}

.bw-field input:hover,
.bw-field textarea:hover {
	border-color: #c5cbd3;
}

.bw-field input:focus,
.bw-field textarea:focus,
.bw-field select:focus {
	border-color: var(--bw-primary);
	box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.16);
	outline: none;
	background: var(--bw-canvas);
}

.bw-note {
	font-size: 13px;
	color: var(--bw-muted);
	margin-top: 12px;
	text-align: center;
}

.bw-info {
	padding: 0 0 0 2rem;
}

.bw-info h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 4px;
	padding-bottom: 0.5rem;
	color: var(--bw-ink);
}

.bw-info p {
	color: var(--bw-body);
	font-size: 15.5px;
	margin: 0 0 22px;
	padding-bottom: 1rem;
}

.bw-info a {
	color: var(--bw-primary);
	font-weight: 600;
}

.bw-info a:hover {
	color: var(--bw-primary-active);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bw-info a:focus-visible {
	outline: none;
}

.bw-info-follow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}

.bw-info-follow a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid var(--bw-hairline);
	background: var(--bw-surface-soft);
	color: var(--bw-body);
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.bw-info-follow a:hover {
	color: var(--bw-primary);
	background: #e8f0ff;
	border-color: #c5d7ff;
	text-decoration: none;
}

.bw-info-follow svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* ---------- Nav chrome ---------- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(10px);
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--bw-hairline);
}

header.wp-block-template-part > .wp-block-group.alignfull {
	padding: 0;
}

header.wp-block-template-part .alignwide {
	max-width: 1200px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 16px !important;
	padding-bottom: 16px !important;
	padding-left: var(--bw-space-lg);
	padding-right: var(--bw-space-lg);
	box-sizing: border-box;
	align-items: center;
}

header.wp-block-template-part .wp-block-site-title {
	font-family: var(--bw-font-heading, "DM Sans", system-ui, -apple-system, sans-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

header.wp-block-template-part .wp-block-site-title a {
	color: var(--bw-ink);
	text-decoration: none;
	outline: none !important;
	box-shadow: none !important;
}

header.wp-block-template-part .wp-block-site-title a:hover {
	color: var(--bw-primary);
}

header.wp-block-template-part .wp-block-site-title a:focus,
header.wp-block-template-part .wp-block-site-title a:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

header.wp-block-template-part .wp-block-site-logo {
	display: none;
}

header.wp-block-template-part .wp-block-site-logo a:focus,
header.wp-block-template-part .wp-block-site-logo a:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

header.wp-block-template-part .wp-block-navigation {
	font-family: var(--bw-font-body, "DM Sans", system-ui, sans-serif);
	font-size: 15px;
	font-weight: 500;
	gap: 4px;
}

header.wp-block-template-part .wp-block-navigation a,
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--bw-ink) !important;
	padding: 8px 12px;
	text-decoration: none !important;
	border-radius: 6px;
	transition: color 0.15s ease, background-color 0.15s ease;
	outline: none !important;
	box-shadow: none !important;
}

header.wp-block-template-part .wp-block-navigation a:hover,
header.wp-block-template-part .wp-block-navigation a:focus,
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content:hover,
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content:focus {
	color: var(--bw-primary) !important;
	background-color: #e8f0ff;
	outline: none !important;
	box-shadow: none !important;
}

header.wp-block-template-part .wp-block-navigation a:focus-visible,
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

header.wp-block-template-part .wp-block-navigation .current-menu-item > a,
header.wp-block-template-part .wp-block-navigation [aria-current="page"] {
	color: var(--bw-primary) !important;
	font-weight: 600;
}

header.wp-block-template-part .bw-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

header.wp-block-template-part .bw-header-demo {
	flex-shrink: 0;
	padding: 10px 16px;
	font-size: 14px;
	white-space: nowrap;
	color: #fff !important;
	text-decoration: none;
}

header.wp-block-template-part .bw-header-demo:hover {
	color: #fff !important;
}

/* ---------- Demo modal ---------- */
html.bw-demo-modal-open {
	overflow: hidden;
}

.bw-demo-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.28s ease,
		visibility 0.28s ease;
}

.bw-demo-modal[hidden] {
	display: none !important;
}

.bw-demo-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.bw-demo-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 11, 13, 0.52);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.bw-demo-modal.is-open .bw-demo-modal__backdrop {
	opacity: 1;
}

.bw-demo-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(520px, 100%);
	max-height: min(90vh, 760px);
	overflow: auto;
	background: var(--bw-canvas);
	border: 1px solid var(--bw-hairline);
	border-radius: 18px;
	box-shadow: 0 24px 64px rgba(10, 11, 13, 0.22);
	padding: 28px 28px 24px;
	opacity: 0;
	transform: translateY(18px) scale(0.96);
	transition:
		opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.bw-demo-modal.is-open .bw-demo-modal__dialog {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.bw-demo-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 1px solid var(--bw-hairline);
	border-radius: 10px;
	background: var(--bw-surface-soft);
	color: var(--bw-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bw-demo-modal__close:hover {
	background: #e8f0ff;
	border-color: #c5d7ff;
	color: var(--bw-primary);
}

.bw-demo-modal__header {
	text-align: center;
	margin-bottom: 22px;
	padding-right: 28px;
}

.bw-demo-modal__header .bw-h2 {
	margin-top: 12px;
	font-size: 1.5rem;
}

.bw-demo-modal__header .bw-lead {
	margin-top: 10px;
	font-size: 13.5px;
	max-width: none;
}

.bw-demo-modal__body.bw-form {
	box-shadow: none;
	border: none;
	padding: 0;
	background: transparent;
}

.bw-demo-modal__body .bw-lead {
	margin-left: auto;
	margin-right: auto;
}

.wp-block-navigation a:hover {
	color: var(--bw-primary) !important;
}

.wp-block-navigation a:focus,
.wp-block-navigation a:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

.wp-block-navigation .current-menu-item > a,
.wp-block-navigation [aria-current="page"] {
	color: var(--bw-ink) !important;
	font-weight: 600;
}

/* ---------- Footer ---------- */
footer.wp-block-template-part {
	background: var(--bw-surface-soft);
	border-top: 1px solid var(--bw-hairline);
	margin-top: 0;
}

footer.wp-block-template-part > .wp-block-group {
	border-top: none !important;
	padding-top: 48px !important;
	padding-bottom: 32px !important;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--bw-space-lg);
	padding-right: var(--bw-space-lg);
	box-sizing: border-box;
}

footer.wp-block-template-part .wp-block-site-title {
	font-family: var(--bw-font-heading, "DM Sans", system-ui, -apple-system, sans-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

footer.wp-block-template-part .wp-block-site-title a {
	color: var(--bw-ink);
	text-decoration: none;
	outline: none !important;
	box-shadow: none !important;
}

footer.wp-block-template-part .wp-block-site-title a:focus,
footer.wp-block-template-part .wp-block-site-title a:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

footer.wp-block-template-part .wp-block-site-tagline {
	display: none;
}

footer.wp-block-template-part .wp-block-navigation {
	font-size: 14px;
	font-weight: 500;
	gap: 8px;
}

footer.wp-block-template-part .wp-block-navigation a {
	color: var(--bw-body) !important;
	padding: 4px 8px;
}

footer.wp-block-template-part .wp-block-navigation a:hover {
	color: var(--bw-primary) !important;
}

.bw-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--bw-hairline);
}

.bw-footer-copy {
	margin: 0;
	font-size: 13px;
	color: var(--bw-muted);
}

.bw-footer-social {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bw-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	color: var(--bw-muted);
	border: 1px solid transparent;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.bw-footer-social a:hover {
	color: var(--bw-primary);
	background: var(--bw-canvas);
	border-color: var(--bw-hairline);
}

.bw-footer-social svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* ---------- Responsive (same breakpoints as before) ---------- */
@media (max-width: 900px) {
	.bw-stat-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--bw-space-lg);
	}

	.bw-grid2,
	.bw-grid3,
	.bw-grid,
	.bw-steps,
	.bw-qgrid,
	.bw-tiers,
	.bw-vals,
	.bw-stats:not(.bw-full),
	.bw-feature,
	.bw-feature.rev,
	.bw-integrations .bw-grid3 {
		grid-template-columns: 1fr;
	}

	.bw-info {
		padding: 2rem 0 0;
	}

	.bw-feature.rev .bw-fcopy {
		order: 0;
	}

	.bw-section {
		padding: 72px 0;
	}

	.bw-hero > .bw-wrap {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.bw-logos-row {
		gap: 14px 28px;
	}

	.bw-qgrid {
		gap: 16px;
	}

	.bw-finalcta .bw-wrap {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.bw-form {
		padding: 22px;
	}

	header.wp-block-template-part .alignwide {
		flex-wrap: wrap;
		row-gap: 10px;
	}

	.bw-sec-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
		margin-top: 36px;
	}

	.bw-sec-band {
		padding: 72px 0;
	}

	.bw-sec-chip {
		min-height: 76px;
		font-size: 12.5px;
		padding: 14px 10px;
	}

	header.wp-block-template-part .alignwide {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
	}

	header.wp-block-template-part .bw-header-demo {
		padding: 8px 12px;
		font-size: 13px;
	}

	.bw-demo-modal {
		padding: 12px;
		align-items: flex-end;
	}

	.bw-demo-modal__dialog {
		width: 100%;
		max-height: 92vh;
		padding: 22px 18px 18px;
		border-radius: 16px 16px 0 0;
		transform: translateY(28px);
	}

	.bw-demo-modal.is-open .bw-demo-modal__dialog {
		transform: translateY(0);
	}

	.bw-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 600px) {
	.bw-sec-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.bw-btn,
	.bw-card,
	.bw-field input,
	.bw-field textarea,
	.bw-msg,
	.bw-msg.is-visible,
	.bw-msg.user.is-visible,
	.bw-msg.bot.is-visible,
	.bw-msg .bw-badge,
	.bw-typing,
	.bw-cardbar strong::after,
	.bw-mockrow,
	.bw-bars,
	.bw-bar,
	.bw-visual.is-inview .bw-pill.g,
	.bw-demo-modal,
	.bw-demo-modal__backdrop,
	.bw-demo-modal__dialog {
		animation: none !important;
		transition: none !important;
	}

	.bw-hero-card.bw-chat-ready .bw-msg:not(.is-visible),
	.bw-msg,
	.bw-mockrow,
	.bw-bars,
	.bw-bar {
		display: flex;
		opacity: 1;
		transform: none;
	}

	.bw-bar {
		display: block;
		transform: none;
	}

	.bw-card:hover {
		transform: none;
	}
}
