/*
Theme Name: AI Made MCP Theme
Theme URI: https://aimade.tech/mcp-agent-suite/
Author: AIMADE.TECH
Author URI: https://aimade.tech/
Description: AI Made MCP Theme is an AI-agent-controllable WordPress block theme with Full Site Editing, polished launch visuals, MCP-ready design controls, and secure governance workflows when paired with MCP Agent Suite.
Version: 1.0.2
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aimade-mcp
Tags: full-site-editing, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, one-column, two-columns, wide-blocks

AI Made MCP Theme is distributed under the terms of the GNU GPL v2 or later.
*/

.aimade-brand-mark img {
	max-width: 140px;
	height: auto;
}

:root {
	--aimade-ink: #07111f;
	--aimade-cyan: #06b6d4;
	--aimade-blue: #1e40af;
	--aimade-mint: #22c55e;
	--aimade-shadow: 0 24px 70px rgba(15, 23, 42, .14);
}

body {
	background:
		radial-gradient(circle at 8% 6%, rgba(6, 182, 212, .08), transparent 24rem),
		radial-gradient(circle at 92% 10%, rgba(30, 64, 175, .08), transparent 28rem),
		#ffffff;
}

.aimade-glass-header {
	z-index: 50;
	border-bottom: 1px solid rgba(15, 23, 42, .08);
	background: rgba(255, 255, 255, .82) !important;
	backdrop-filter: blur(18px) saturate(150%);
	box-shadow: 0 12px 40px rgba(15, 23, 42, .06);
}

.aimade-brand-mark {
	position: relative;
	margin: 0;
}

.aimade-brand-mark::after {
	content: "";
	position: absolute;
	inset: -6px;
	z-index: -1;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(6, 182, 212, .26), rgba(30, 64, 175, .22));
	filter: blur(10px);
}

.aimade-brand-mark img {
	max-width: 148px;
	height: auto;
	display: block;
}

.aimade-header-email {
	margin: 0;
	padding: .35rem .7rem;
	border: 1px solid rgba(6, 182, 212, .22);
	border-radius: 999px;
	background: #ecfeff;
}

.aimade-header-email a {
	color: #075985;
	text-decoration: none;
	font-weight: 700;
}

.wp-block-button__link {
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 45px rgba(30, 64, 175, .2);
	filter: saturate(112%);
}

.aimade-header .wp-block-button__link,
.aimade-cta-section .wp-block-button__link {
	border-radius: 999px;
	box-shadow: 0 16px 40px rgba(30, 64, 175, .24);
}

.aimade-cta-section {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .22), transparent 20rem),
		linear-gradient(135deg, #0f172a, #1e40af 55%, #06b6d4) !important;
}

.aimade-cta-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(135deg, #000, transparent 75%);
}

.aimade-footer {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 10% 10%, rgba(6, 182, 212, .18), transparent 24rem),
		linear-gradient(180deg, #07111f, #0f172a) !important;
}

.aimade-footer::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -120px;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(6, 182, 212, .24);
	border-radius: 999px;
	box-shadow: inset 0 0 90px rgba(6, 182, 212, .1);
}

.aimade-footer a {
	color: #67e8f9;
}

.wp-block-column,
.wp-block-group {
	box-sizing: border-box;
}

.wp-block-post-title a,
.wp-block-site-title a {
	text-decoration-thickness: 2px;
	text-underline-offset: .18em;
}

@media (max-width: 782px) {
	.aimade-header-email {
		display: none;
	}

	.aimade-brand-mark img {
		max-width: 118px;
	}
}

.aimade-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s ease var(--aimade-delay, 0ms), transform .6s ease var(--aimade-delay, 0ms);
}

.aimade-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.aimade-reveal,
	.wp-block-button__link {
		transition: none !important;
		transform: none !important;
	}
}

.aimade-skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 9999;
	padding: .75rem 1rem;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	box-shadow: var(--aimade-shadow);
	transition: top .18s ease;
}

.aimade-skip-link:focus {
	top: 1rem;
}

:where(a, button, input, textarea, select):focus-visible {
	outline: 3px solid var(--aimade-cyan);
	outline-offset: 3px;
	border-radius: .35rem;
}

::selection {
	background: rgba(6, 182, 212, .24);
	color: #07111f;
}

.wp-block-image img,
.wp-block-post-featured-image img {
	border-radius: 1.25rem;
}

@media print {
	.aimade-header,
	.aimade-footer,
	.wp-block-navigation,
	.wp-block-buttons {
		display: none !important;
	}

	body {
		background: #fff !important;
		color: #000 !important;
	}

	a::after {
		content: " (" attr(href) ")";
		font-size: .85em;
	}
}
