/* Pete Panel Blocks — theme utilities (loaded front + editor). */

/* No root gap: full-bleed sections must touch the header/footer. */
.wp-site-blocks > * + * {
	margin-block-start: 0 !important;
}

/* Animated brand gradient text (signature hero treatment). */
@keyframes pete-gradient-sweep {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 200% 50%; }
	100% { background-position: 0% 50%; }
}
.pete-gradient-text {
	background-image: linear-gradient(135deg, #ff6b00 0%, #ffa300 33%, #ffd661 66%, #ff6b00 100%);
	background-size: 300% 300%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
	animation: pete-gradient-sweep 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
	.pete-gradient-text { animation: none; }
}

/* SaaS feature/pricing cards. */
.pete-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pete-card:hover {
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
	transform: translateY(-3px);
}

/* Outline (ghost) button variant on dark backgrounds. */
.pete-btn-ghost .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
}

/* Eyebrow label above section headings. */
.pete-eyebrow {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.8rem;
	color: var(--wp--preset--color--primary);
}

/* Sticky translucent header. */
.pete-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* Header nav typography. */
.pete-header .wp-block-navigation {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
}

/* Contact form. */
.pete-contact-form .pp-hp {
	position: absolute;
	left: -9999px;
}
.pete-contact-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3rem;
	font-family: var(--wp--preset--font-family--heading);
}
.pete-contact-form input[type="text"],
.pete-contact-form input[type="email"],
.pete-contact-form textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	font: inherit;
	background: var(--wp--preset--color--base);
}
.pete-contact-form input:focus,
.pete-contact-form textarea:focus {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 1px;
}
.pete-contact-notice {
	padding: 0.8rem 1rem;
	border-radius: 10px;
	font-weight: 600;
}
.pete-contact-notice--ok {
	background: #ecfdf5;
	color: #047857;
}
.pete-contact-notice--err {
	background: #fef2f2;
	color: #b91c1c;
}

/* Footer link color on dark background. */
.pete-footer a {
	color: #cbd5e1;
	text-decoration: none;
}
.pete-footer a:hover {
	color: #ffffff;
}
