/* --------------------------------------------------------------------------
   BoltPress MCP (theme 1.9.0): homepage block (patterns/mcp-teaser.php), the
   floating chat visual (template-parts/mcp-stage.php) and the /wordpress-mcp/
   page (page-wordpress-mcp.php). Enqueued on the Homepage and BoltPress MCP
   templates only.
   -------------------------------------------------------------------------- */

/* Shared: plain text only, no pills or badges in this block (founder 2026-11-02). */
.mcp-note {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #4a5568;
}

.mcp-note strong {
	color: var(--boltpress-colors-primary);
}

.mcp-page .section__badge {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: #8a5a00;
}

.mcp-sec--dark .section__badge {
	color: var(--boltpress-colors-accent);
}

/* Solid dark gold: the site's yellow accent does not read on cream (about 5:1 here). */
.mcp-ink {
	display: block;
	color: #8a5a00;
}

/* Logo row: "+", app logos, arrow, BoltPress */
.mcp-logos {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mcp-logos__stack {
	display: flex;
}

.mcp-logo {
	width: 48px;
	height: 48px;
	margin-left: -10px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	border: 2px solid var(--boltpress-colors-background-alt);
	box-shadow: 0 4px 14px rgba(0, 31, 63, 0.12);
	flex-shrink: 0;
}

.mcp-logo:first-child {
	margin-left: 0;
}

.mcp-logo img {
	width: 24px;
	height: 24px;
}

.mcp-logo--plus {
	background: #efe7cc;
	color: var(--boltpress-colors-primary);
	font-size: 22px;
	font-weight: 700;
}

.mcp-logos__arrow {
	color: var(--boltpress-colors-primary);
}

.mcp-logos__arrow svg {
	display: block;
	width: 36px;
	height: 14px;
}

.mcp-logo--bp {
	width: 54px;
	height: 54px;
	margin-left: 0;
	background: var(--boltpress-colors-primary);
	border-color: var(--boltpress-colors-primary);
	color: var(--boltpress-colors-accent);
}

.mcp-logo--bp svg {
	width: 26px;
	height: 26px;
}

/* --------------------------------------------------------------------------
   Homepage band (1.9.2): the MCP page hero design, with an h2 that matches the
   hero h1 sizes from main.css.
   -------------------------------------------------------------------------- */
.mcp-home {
	padding: 96px 0;
	/* 768-1023px: the stage spans the whole container, and its tilted plane reaches past
	   the screen edge (7px at 900px, 19px at 1020px), which scrolled the page sideways.
	   Clip only the x axis, so nothing is cut vertically. */
	overflow-x: clip;
}

.mcp-home .mcp-home__title {
	max-width: none;
	margin: 26px 0 18px;
	font-size: var(--boltpress-typography-font-size-4xl);
	line-height: 1.05;
	letter-spacing: -2px;
	color: #fff;
}

.mcp-home .mcp-home__title .hero__gradient-text {
	display: block;
}

/* --------------------------------------------------------------------------
   Floating chat visual (tilted plane, chips bobbing in front)
   -------------------------------------------------------------------------- */
.mcp-stage {
	position: relative;
	height: 420px;
	perspective: 1200px;
}

.mcp-stage--permission {
	height: 440px;
}

.mcp-stage__plane {
	position: absolute;
	inset: 0;
	transform: rotateY(-14deg) rotateX(8deg);
	transform-style: preserve-3d;
}

.mcp-win {
	position: absolute;
	left: 4%;
	top: 8%;
	width: 82%;
	display: grid;
	gap: 12px;
	padding: 18px;
	border-radius: 18px;
	background: #0e1626;
	color: #fff;
	box-shadow: 0 30px 60px rgba(0, 31, 63, 0.3);
}

.mcp-win p {
	margin: 0;
}

.mcp-win__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.85);
}

.mcp-win__bar svg {
	width: 18px;
	height: 18px;
	color: var(--boltpress-colors-accent);
}

.mcp-win__q {
	justify-self: end;
	max-width: 85%;
	padding: 9px 14px;
	border-radius: 14px 14px 4px 14px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 14.5px;
}

.mcp-res {
	display: grid;
	gap: 8px;
	padding: 14px;
	border-radius: 14px;
	background: #fff;
	color: var(--boltpress-colors-primary);
}

.mcp-res__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 800;
	color: #5a6578;
}

.mcp-res__head b {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--boltpress-colors-primary);
}

.mcp-res__head b i {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--boltpress-colors-primary);
	color: var(--boltpress-colors-accent);
}

.mcp-res__head b i svg {
	width: 10px;
	height: 10px;
}

.mcp-res__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #f6f7f9;
	font-size: 14px;
	font-weight: 700;
}

.mcp-res__row em {
	color: #1d6e41;
	font-size: 13px;
	font-style: normal;
	font-weight: 800;
	white-space: nowrap;
}

.mcp-res__row em::before {
	content: "\2713\00a0";
}

.mcp-res__row em.is-wait {
	color: #8a5a00;
}

.mcp-res__row em.is-wait::before {
	content: "\2192\00a0";
}

.mcp-float {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 16px 34px rgba(0, 31, 63, 0.18);
	font-size: 13.5px;
	font-weight: 800;
	color: var(--boltpress-colors-primary);
	transform: translateZ(60px);
}

.mcp-float svg,
.mcp-float img {
	width: 16px;
	height: 16px;
}

.mcp-float--lock {
	left: -4%;
	bottom: -2%;
	animation: mcp-bob 5s ease-in-out infinite;
}

.mcp-float--lock svg {
	color: #2f9e5f;
}

.mcp-float--perm {
	right: -2%;
	top: 2%;
	animation: mcp-bob 5s ease-in-out infinite -2.5s;
}

.mcp-float--perm i {
	position: relative;
	width: 30px;
	height: 18px;
	border-radius: 999px;
	background: var(--boltpress-colors-primary);
}

.mcp-float--perm i::after {
	content: "";
	position: absolute;
	top: 3px;
	right: 3px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--boltpress-colors-accent);
}

.mcp-float--logo {
	right: 6%;
	bottom: 0;
	padding: 9px;
	border-radius: 50%;
	animation: mcp-bob 6s ease-in-out infinite -1s;
}

.mcp-float--logo img {
	width: 24px;
	height: 24px;
}

@keyframes mcp-bob {
	50% {
		transform: translateZ(60px) translateY(-10px);
	}
}

/* --------------------------------------------------------------------------
   /wordpress-mcp/
   -------------------------------------------------------------------------- */
.mcp-hero {
	text-align: left;
	/* Same as .mcp-home: at 768-1023px the tilted visual can reach past the screen edge.
	   Clip only the x axis, so nothing is cut vertically. */
	overflow-x: clip;
}

.mcp-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}

.mcp-hero h1 {
	max-width: none;
	margin: 26px 0 18px;
}

.mcp-hero h1 .hero__gradient-text {
	display: block;
}

.mcp-hero .hero__subtitle {
	max-width: 520px;
	margin-left: 0;
	margin-right: 0;
}

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

.mcp-hero__note {
	margin-top: 20px;
	color: var(--boltpress-colors-dark-text-muted);
}

.mcp-hero__note strong {
	color: var(--boltpress-colors-accent);
}

.mcp-hero .mcp-logo,
.mcp-sec--dark .mcp-logo {
	border-color: var(--boltpress-colors-dark-bg);
}

.mcp-hero .mcp-logo--plus,
.mcp-sec--dark .mcp-logo--plus {
	background: #1c2234;
	color: #fff;
}

.mcp-hero .mcp-logos__arrow,
.mcp-sec--dark .mcp-logos__arrow {
	color: rgba(255, 255, 255, 0.6);
}

.mcp-hero .mcp-logo--bp,
.mcp-sec--dark .mcp-logo--bp {
	background: var(--boltpress-colors-accent);
	border-color: var(--boltpress-colors-accent);
	color: var(--boltpress-colors-primary);
}

.mcp-hero .mcp-win {
	background: #121b2e;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.mcp-sec {
	padding: 96px 0;
}

.mcp-sec--light {
	background: #fff;
}

.mcp-sec--alt {
	background: var(--boltpress-colors-background-alt);
}

.mcp-sec--dark {
	background: var(--boltpress-colors-dark-bg);
	color: #fff;
}

.mcp-sec .section__header h2 {
	font-size: 44px;
	line-height: 1.08;
	letter-spacing: -1px;
	color: var(--boltpress-colors-primary);
}

.mcp-sec--dark .section__header h2 {
	color: #fff;
}


/* The problem: one example, then a short list */
.mcp-problem {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}

.mcp-problem__lead h2 {
	margin: 12px 0 24px;
	font-size: 44px;
	line-height: 1.08;
	letter-spacing: -1px;
	color: var(--boltpress-colors-primary);
}

.mcp-inj {
	margin: 0;
	max-width: 440px;
	padding: 20px 22px;
	border-radius: 18px;
	background: #f6f7f9;
	border: 1px solid #e6e9ee;
}

.mcp-inj p {
	margin: 0;
}

.mcp-inj__c {
	font-size: 17px;
	font-weight: 700;
	color: var(--boltpress-colors-primary);
}

.mcp-inj__h {
	margin-top: 8px !important;
	padding: 6px 10px;
	border-radius: 6px;
	background: #fff3c4;
	font-size: 15px;
	font-weight: 700;
	color: #5c4500;
}

.mcp-inj figcaption {
	margin-top: 12px;
	font-size: 13px;
	color: #5a6578;
}

.mcp-reasons {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mcp-reasons li {
	padding-left: 18px;
	border-left: 3px solid var(--boltpress-colors-accent);
	font-size: 17px;
	line-height: 1.55;
	color: #4a5568;
}

.mcp-reasons b {
	display: block;
	margin-bottom: 2px;
	font-family: var(--boltpress-typography-font-family-heading);
	font-size: 21px;
	color: var(--boltpress-colors-primary);
}

.mcp-srcs {
	grid-column: 1 / -1;
	margin: 8px 0 0;
	font-size: 13px;
	color: #5a6578;
}

.mcp-srcs a {
	color: #4a5568;
}

/* How it works */
.mcp-flow {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	align-items: center;
	max-width: 1000px;
	margin: 0 auto;
}

.mcp-node {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 24px;
	border-radius: 20px;
	text-align: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.mcp-node h3 {
	margin: 0;
	font-size: 20px;
	color: #fff;
}

.mcp-node p {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.68);
}

.mcp-node--gate {
	background: rgba(255, 220, 0, 0.06);
	border: 2px solid var(--boltpress-colors-accent);
}

.mcp-node--gate ul {
	display: grid;
	gap: 6px;
	width: 100%;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.mcp-node--gate li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.07);
	font-size: 14px;
	font-weight: 700;
	text-align: left;
	color: #fff;
}

.mcp-node--gate li::before {
	content: "";
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--boltpress-colors-accent);
}

.mcp-logo--site {
	background: #1c2234;
	border-color: #1c2234;
	color: var(--boltpress-colors-accent);
	margin-left: 0;
}

.mcp-logo--site svg {
	width: 22px;
	height: 22px;
}

.mcp-flow__arrow {
	position: relative;
	justify-self: center;
	width: 2px;
	height: 34px;
	background: linear-gradient(180deg, rgba(255, 220, 0, 0.2), var(--boltpress-colors-accent));
}

.mcp-flow__arrow::after {
	content: "";
	position: absolute;
	left: -4px;
	bottom: -2px;
	border: 5px solid transparent;
	border-top: 7px solid var(--boltpress-colors-accent);
	border-bottom: 0;
}

.mcp-blocked {
	margin: 20px 0 0;
	text-align: center;
	font-size: 14px;
	font-weight: 800;
	color: #ffb0b0;
}

.mcp-blocked::before {
	content: "\2715\00a0";
}

/* Permissions */
.mcp-perm {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
	max-width: 1020px;
}

.mcp-pcard {
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e6e9ee;
	box-shadow: 0 24px 50px rgba(0, 31, 63, 0.1);
	overflow: hidden;
}

.mcp-pcard__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0;
	padding: 14px 18px;
	border-bottom: 1px solid #e6e9ee;
	font-weight: 800;
	color: var(--boltpress-colors-primary);
}

.mcp-pcard__bar > span:first-child {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.mcp-pcard__try {
	font-size: 12px;
	font-weight: 700;
	color: #5a6578;
}

.mcp-pcard__list {
	margin: 0;
	padding: 6px 18px;
	list-style: none;
}

.mcp-pcard__list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f2f5;
	font-size: 15px;
	font-weight: 600;
	color: var(--boltpress-colors-primary);
}

.mcp-pcard__list li:last-child {
	border-bottom: 0;
}

.mcp-pcard__list li.is-never {
	color: #4a5568;
}

.mcp-toggle {
	position: relative;
	flex-shrink: 0;
	width: 42px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #cbd2dc;
	cursor: pointer;
	transition: background-color 0.2s;
}

.mcp-toggle::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	transition: left 0.2s, background-color 0.2s;
}

.mcp-toggle[aria-pressed="true"] {
	background: var(--boltpress-colors-primary);
}

.mcp-toggle[aria-pressed="true"]::after {
	left: 21px;
	background: var(--boltpress-colors-accent);
}

.mcp-toggle[disabled] {
	opacity: 0.55;
	cursor: default;
}

.mcp-never {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #a61f1f;
}


.mcp-perm__copy h2 {
	margin: 14px 0;
	font-size: 42px;
	line-height: 1.06;
	letter-spacing: -1px;
	color: var(--boltpress-colors-primary);
}

.mcp-perm__copy > p {
	margin: 0;
	font-size: 17px;
	color: #4a5568;
}

.mcp-ticks {
	display: grid;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.mcp-ticks li {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
	color: var(--boltpress-colors-primary);
}

.mcp-ticks li::before {
	content: "";
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--boltpress-colors-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFDC00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* FAQ */
.mcp-narrow {
	max-width: 780px;
}

.mcp-faq__title {
	margin: 0 0 20px;
	text-align: center;
	font-size: 40px;
	color: var(--boltpress-colors-primary);
}

.mcp-faq {
	display: grid;
	gap: 10px;
}

.mcp-faq__item {
	padding: 16px 20px;
	border-radius: 14px;
	background: #f6f7f9;
}

.mcp-faq__item summary {
	font-family: var(--boltpress-typography-font-family-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--boltpress-colors-primary);
	cursor: pointer;
}

.mcp-faq__item p {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: #4a5568;
}

/* --------------------------------------------------------------------------
   Breakpoints (mobile-first; collapse queries use 767/1023 per theme rules)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
	.mcp-home .mcp-home__title {
		font-size: var(--boltpress-typography-font-size-5xl);
	}

	.mcp-hero__grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.mcp-flow {
		grid-template-columns: 1fr auto 1.2fr auto 1fr;
	}

	.mcp-flow__arrow {
		width: 48px;
		height: 2px;
		background: linear-gradient(90deg, rgba(255, 220, 0, 0.2), var(--boltpress-colors-accent));
	}

	.mcp-flow__arrow::after {
		left: auto;
		right: -2px;
		top: -4px;
		bottom: auto;
		border: 5px solid transparent;
		border-left: 7px solid var(--boltpress-colors-accent);
		border-right: 0;
	}

	.mcp-perm {
		grid-template-columns: 380px 1fr;
	}

	.mcp-problem {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}
}

@media (max-width: 767px) {
	.mcp-home {
		padding: 56px 0;
	}

	.mcp-home .mcp-home__title {
		font-size: var(--boltpress-typography-font-size-3xl);
		letter-spacing: -0.5px;
		line-height: 1.12;
	}

	.mcp-problem__lead h2,
	.mcp-sec .section__header h2,
	.mcp-perm__copy h2,
	.mcp-faq__title {
		font-size: 32px;
		letter-spacing: -0.6px;
	}

	.mcp-logo {
		width: 40px;
		height: 40px;
		margin-left: -9px;
	}

	.mcp-logo img {
		width: 20px;
		height: 20px;
	}

	.mcp-logo--bp {
		width: 44px;
		height: 44px;
		margin-left: 0;
	}

	.mcp-logos {
		gap: 10px;
	}

	.mcp-logos__arrow svg {
		width: 26px;
	}

	.mcp-stage,
	.mcp-stage--permission {
		height: auto;
		perspective: none;
	}

	.mcp-stage__plane {
		position: relative;
		transform: none;
	}

	.mcp-win {
		position: relative;
		left: 0;
		top: 0;
		width: 100%;
	}

	.mcp-float {
		display: none;
	}

	.mcp-sec {
		padding: 56px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mcp-float {
		animation: none;
	}
}
