/**
 * Nnaico Theme - Custom Styles
 * Matches nnaico.pages.dev design
 * Uses Utopia fluid type & space system
 */

/* Override WordPress core font size presets with Utopia */
:root {
	--wp--preset--font-size--small: var(--step--1) !important;
	--wp--preset--font-size--normal: var(--step-0) !important;
	--wp--preset--font-size--medium: var(--step-1) !important;
	--wp--preset--font-size--large: var(--step-2) !important;
	--wp--preset--font-size--x-large: var(--step-3) !important;
	--wp--preset--font-size--huge: var(--step-4) !important;
}

/* Remove gaps between full-width sections */
.wp-block-group.alignfull + .wp-block-group.alignfull,
.wp-block-group.alignfull + .wp-block-pattern,
.alignfull + .alignfull {
	margin-top: 0;
}

/* Remove default WordPress block margins for sections */
main > .wp-block-group.alignfull,
.entry-content > .wp-block-group.alignfull {
	margin-top: 0;
	margin-bottom: 0;
}

/* Base Typography */
body {
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: var(--step-0);
	overflow-x: clip;
}

/* Smooth scroll */
html {
	scroll-behavior: smooth;
}

/* Header - fixed overlay */
header.wp-block-template-part:has(.nnaico-header) {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

.admin-bar header.wp-block-template-part:has(.nnaico-header) {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar header.wp-block-template-part:has(.nnaico-header) {
		top: 46px;
	}
}

.nnaico-header {
	background: transparent;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hero extends behind fixed header, no bottom padding (chat flush with edge) */
main > .wp-block-group.alignfull:first-child,
.entry-content > .wp-block-group.alignfull:first-child {
	position: relative;
	padding-top: calc(var(--space-xl-2xl) + 60px);
	padding-bottom: 0 !important;
}

@media (max-width: 782px) {
	main > .wp-block-group.alignfull:first-child,
	.entry-content > .wp-block-group.alignfull:first-child {
		padding-top: calc(var(--space-3xl-4xl) + 60px) !important;
	}
}

/* Section after hero: accommodate chat overlap + breathing room */
.entry-content > .wp-block-group.alignfull:first-child + .wp-block-group.alignfull {
	padding-top: calc(var(--space-xl-2xl) + var(--space-2xl-4xl)) !important;
}

.nnaico-header .wp-block-site-logo img {
	filter: brightness(0) invert(1);
	transition: filter 0.3s ease;
}

.nnaico-header .wp-block-navigation a,
.nnaico-header .wp-block-button__link.is-style-outline {
	transition: color 0.3s ease, border-color 0.3s ease;
}

/* Scrolled state - light mode */
.nnaico-header.is-scrolled {
	background-color: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nnaico-header.is-scrolled .wp-block-site-logo img {
	filter: none;
}

.nnaico-header.is-scrolled .wp-block-navigation a {
	color: #1f2937 !important;
}

.nnaico-header.is-scrolled .is-style-outline .wp-block-button__link {
	color: #1f2937 !important;
	border-color: #6b7280 !important;
}

/* Footer logo */
footer .wp-block-site-logo img,
.wp-block-template-part[data-area="footer"] .wp-block-site-logo img {
	filter: brightness(0) invert(1);
}

/* Navigation - centered on page */
.nnaico-header > .wp-block-group {
	position: relative;
	overflow: visible;
}

.nnaico-header .wp-block-navigation {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: max-content;
}

.wp-block-navigation__container {
	gap: var(--space-l);
}

.wp-block-navigation a {
	font-size: var(--step-0) !important;
	transition: opacity 0.2s ease;
}

.wp-block-navigation a:hover {
	opacity: 0.8;
}

.wp-block-navigation a.current-item {
	opacity: 1;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}

/* Buttons */
.wp-block-buttons {
	gap: var(--space-xs);
}

.nnaico-header .wp-block-buttons {
	gap: var(--space-2xs);
}

.wp-block-button__link {
	transition: all 0.2s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

/* Value Props Cards */
.nnaico-card-indigo > .wp-block-heading::before,
.nnaico-card-orange > .wp-block-heading::before,
.nnaico-card-sky > .wp-block-heading::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 24px;
	vertical-align: -4px;
	margin-right: 8px;
	background-size: contain;
	background-repeat: no-repeat;
}

.nnaico-card-indigo {
	background: linear-gradient(to top left, rgba(165, 180, 252, 0.3) 0%, white 30%, white 100%);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.nnaico-card-indigo > .wp-block-heading::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%236366f1'%3E%3Cpath d='M212,76V72a44,44,0,0,0-74.86-31.31,3.93,3.93,0,0,0-1.14,2.8v88.72a4,4,0,0,0,6.2,3.33A47.67,47.67,0,0,1,167.68,128a8.18,8.18,0,0,1,8.31,7.58,8,8,0,0,1-8,8.42,32,32,0,0,0-32,32v33.88a4,4,0,0,0,1.49,3.12,47.92,47.92,0,0,0,74.21-17.16,4,4,0,0,0-4.49-5.56A68.06,68.06,0,0,1,192,192h-7.73a8.18,8.18,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h8a51.6,51.6,0,0,0,24-5.88v0A52,52,0,0,0,212,76Zm-12,36h-4a36,36,0,0,1-36-36V72a8,8,0,0,1,16,0v4a20,20,0,0,0,20,20h4a8,8,0,0,1,0,16ZM88,28A44.05,44.05,0,0,0,44,72v4a52,52,0,0,0-4,94.12h0A51.6,51.6,0,0,0,64,176h7.73A8.18,8.18,0,0,1,80,183.47,8,8,0,0,1,72,192H64a67.48,67.48,0,0,1-15.21-1.73,4,4,0,0,0-4.5,5.55A47.93,47.93,0,0,0,118.51,213a4,4,0,0,0,1.49-3.12V176a32,32,0,0,0-32-32,8,8,0,0,1-8-8.42A8.18,8.18,0,0,1,88.32,128a47.67,47.67,0,0,1,25.48,7.54,4,4,0,0,0,6.2-3.33V43.49a4,4,0,0,0-1.14-2.81A43.85,43.85,0,0,0,88,28Zm8,48a36,36,0,0,1-36,36H56a8,8,0,0,1,0-16h4A20,20,0,0,0,80,76V72a8,8,0,0,1,16,0Z'/%3E%3C/svg%3E");
}

.nnaico-card-orange {
	background: linear-gradient(to top left, rgba(253, 186, 116, 0.3) 0%, white 30%, white 100%);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.nnaico-card-orange > .wp-block-heading::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23f59e0b'%3E%3Cpath d='M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17Z'/%3E%3C/svg%3E");
}

.nnaico-card-sky {
	background: linear-gradient(to top left, rgba(125, 211, 252, 0.3) 0%, white 40%, white 100%);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.nnaico-card-sky > .wp-block-group:last-child {
	margin-top: auto;
}

.nnaico-card-sky > .wp-block-heading::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%230ea5e9'%3E%3Cpath d='M229.66,218.34l-50.07-50.07a88.11,88.11,0,1,0-11.31,11.31l50.07,50.07a8,8,0,0,0,11.31-11.31ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z'/%3E%3C/svg%3E");
}

/* Feature Cards */
.nnaico-feature-card {
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border: 1px solid #f3f4f6;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nnaico-feature-card:hover {
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* Step Cards */
.nnaico-step-card {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Footer Links */
footer ul {
	list-style: none;
}

footer a {
	color: var(--color-text-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

footer a:hover {
	color: var(--color-text-inverse);
}

/* Footer social icons */
.footer-social {
	display: flex;
	gap: var(--space-m);
	align-items: center;
}

.footer-social__link {
	color: #9ca3af;
	transition: color 0.2s ease;
}

.footer-social__link:hover {
	color: #fff;
}

/* Lists without bullets */
.is-style-default {
	list-style: none;
}

/* Hero italic text color */
h1 em {
	font-style: italic;
	color: var(--color-brand-primary);
}

/* Mobile menu toggle - hidden on desktop */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	color: white;
	padding: var(--space-3xs);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	z-index: 1000;
	align-self: center;
	margin-top: 3px;
	margin-right: var(--space-s) !important;
	outline: none;
}

.is-scrolled .mobile-menu-toggle {
	color: var(--wp--preset--color--gray-900);
}

/* Mobile nav dropdown */
.mobile-nav-drawer {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: #f3f4f6;
	z-index: 999;
	padding: calc(60px + var(--space-xl)) var(--space-m) var(--space-l);
	display: flex;
	flex-direction: column;
	gap: 0;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
}

.mobile-nav-drawer.is-open {
	transform: translateY(0);
}

.mobile-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 998;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.mobile-nav-drawer a {
	color: var(--wp--preset--color--gray-900);
	font-size: var(--step-2);
	font-weight: 600;
	text-decoration: none;
	padding: var(--space-s) 0;
	border-bottom: 1px solid #e5e7eb;
	display: block;
}

.mobile-nav-drawer a:last-child {
	border-bottom: none;
}

.mobile-nav-drawer a.current-item {
	color: var(--wp--preset--color--primary-600);
}

/* Responsive adjustments */
@media (max-width: 782px) {
	.mobile-menu-toggle {
		display: block;
	}

	.nnaico-header .wp-block-navigation {
		display: none;
	}

	/* Hide "Book a demo" on mobile */
	.nnaico-header .wp-block-button:not(.is-style-outline) {
		display: none;
	}

	.nnaico-header .is-style-outline .wp-block-button__link {
		border: none !important;
	}

	.wp-block-columns {
		gap: var(--space-m) !important;
	}

	/* Reduce section padding on mobile — skip hero and gradient sections */
	.wp-block-group.alignfull:not(:first-child):not([class*="gradient"]) {
		padding-top: var(--space-xl) !important;
		padding-bottom: var(--space-xl) !important;
	}

	/* Hide faux search input in "From Scattered Docs" card */
	.nnaico-card-sky > .wp-block-group.has-border-color {
		display: none;
	}
}

/* Focus states */
a:focus,
button:focus,
.wp-block-button__link:focus {
	outline: 2px solid var(--color-brand-primary);
	outline-offset: 2px;
}

/* Animation for fade in */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Chat input styling */
.nnaico-chat-input {
	background: var(--color-bg-primary);
	border: 1px solid var(--color-border-default);
	border-radius: var(--space-xs);
	padding: var(--space-xs) var(--space-s);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Remove margins from first/last elements in patterns */
.wp-block-group > :first-child {
	margin-top: 0;
}

.wp-block-group > :last-child {
	margin-bottom: 0;
}

/* Restore gap between heading and following paragraph inside groups */
.wp-block-group > .wp-block-heading + p {
	margin-top: var(--space-xs);
}

.has-hero-gradient-gradient-background .wp-block-heading + p {
	margin-top: var(--space-l);
}

.has-cta-gradient-gradient-background > .wp-block-heading + p {
	margin-top: var(--space-l);
}

/* Hero Floating Shapes */
.hero-shapes {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.hero-shape {
	position: absolute;
	border-radius: 9999px;
	background: linear-gradient(to right, rgba(96, 165, 250, 0.08), transparent);
	backdrop-filter: blur(1px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.05);
	opacity: 0;
	animation: heroShapeIn 2.4s ease-out forwards, heroShapeFloat 12s ease-in-out infinite;
}

.hero-shape::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent 70%);
}

/* Ensure hero content stays above shapes */
.entry-content > .wp-block-group.alignfull:first-child > .wp-block-group {
	position: relative;
	z-index: 1;
}

@keyframes heroShapeIn {
	from {
		opacity: 0;
		transform: translateY(-150px) rotate(var(--shape-rotate-start));
	}
	to {
		opacity: 1;
		transform: translateY(0) rotate(var(--shape-rotate));
	}
}

@keyframes heroShapeFloat {
	0%, 100% { transform: translateY(0) rotate(var(--shape-rotate)); }
	50% { transform: translateY(15px) rotate(var(--shape-rotate)); }
}

.hero-shape--1 {
	--shape-rotate: 12deg;
	--shape-rotate-start: -3deg;
	width: 600px;
	height: 140px;
	left: -10%;
	top: 15%;
	background: linear-gradient(to right, rgba(96, 165, 250, 0.08), transparent);
	animation-delay: 0.3s, 0s;
}

.hero-shape--2 {
	--shape-rotate: -15deg;
	--shape-rotate-start: -30deg;
	width: 500px;
	height: 120px;
	right: -5%;
	top: 70%;
	background: linear-gradient(to right, rgba(34, 211, 238, 0.08), transparent);
	animation-delay: 0.5s, -3s;
}

.hero-shape--3 {
	--shape-rotate: -8deg;
	--shape-rotate-start: -23deg;
	width: 300px;
	height: 80px;
	left: 5%;
	bottom: 5%;
	background: linear-gradient(to right, rgba(129, 140, 248, 0.08), transparent);
	animation-delay: 0.4s, -6s;
}

.hero-shape--4 {
	--shape-rotate: 20deg;
	--shape-rotate-start: 5deg;
	width: 200px;
	height: 60px;
	right: 15%;
	top: 10%;
	background: linear-gradient(to right, rgba(125, 211, 252, 0.08), transparent);
	animation-delay: 0.6s, -2s;
}

.hero-shape--5 {
	--shape-rotate: -25deg;
	--shape-rotate-start: -40deg;
	width: 150px;
	height: 40px;
	left: 20%;
	top: 5%;
	background: linear-gradient(to right, rgba(191, 219, 254, 0.08), transparent);
	animation-delay: 0.7s, -8s;
}

@media (max-width: 782px) {
	.hero-shapes { display: none; }
}

/* Icon styles */
.nnaico-icon {
	display: inline-block;
	vertical-align: middle;
	fill: currentColor;
	flex-shrink: 0;
}

.nnaico-icon-inline {
	vertical-align: -0.125em;
}

/* Icon sizes using Utopia */
.nnaico-icon-xs { width: var(--step--1); height: var(--step--1); }
.nnaico-icon-sm { width: var(--step-0); height: var(--step-0); }
.nnaico-icon-md { width: var(--step-2); height: var(--step-2); }
.nnaico-icon-lg { width: var(--step-3); height: var(--step-3); }
.nnaico-icon-xl { width: var(--step-4); height: var(--step-4); }

/* ============================================
   Pricing Page
   ============================================ */

/* Pricing hero: tighten heading-to-paragraph gap */
.pricing-hero .wp-block-heading + p {
	margin-top: var(--space-s) !important;
}

/* Pricing hero: override global first-child rules for proper padding */
main > .pricing-hero.wp-block-group.alignfull:first-child,
.entry-content > .pricing-hero.wp-block-group.alignfull:first-child {
	padding-top: calc(var(--space-xl-3xl) + 60px) !important;
	padding-bottom: var(--space-xl-3xl) !important;
}

/* Remove extra top padding on section after pricing hero */
.entry-content > .pricing-hero.wp-block-group.alignfull:first-child + .wp-block-group.alignfull {
	padding-top: var(--space-xl-3xl) !important;
}

/* Pricing Cards Grid */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-m);
	max-width: 1100px;
	margin: 0 auto;
}

@media (max-width: 782px) {
	.pricing-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
	}
}

.pricing-card {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: var(--space-xs);
	padding: var(--space-l);
	display: flex;
	flex-direction: column;
	position: relative;
}

.pricing-card:has(.pricing-card__badge) {
	border: 2px solid var(--wp--preset--color--primary-600);
}

.pricing-card__badge {
	position: absolute;
	top: calc(-1 * var(--space-2xs));
	left: 50%;
	transform: translateX(-50%);
	background: var(--wp--preset--color--primary-600);
	color: white;
	font-size: var(--step--2);
	font-weight: 600;
	padding: var(--space-3xs) var(--space-xs);
	border-radius: var(--space-3xs);
	white-space: nowrap;
}

.pricing-card__name {
	font-size: var(--step-1);
	font-weight: 700;
	color: var(--wp--preset--color--gray-900);
}

.pricing-card__price {
	margin-top: var(--space-s);
}

.pricing-card__price-value {
	font-size: var(--step-4);
	font-weight: 700;
	color: var(--wp--preset--color--gray-900);
}

.pricing-card__price-period {
	color: var(--wp--preset--color--gray-600);
}

.pricing-card__desc {
	font-size: var(--step-0);
	color: var(--wp--preset--color--gray-600);
	margin-top: var(--space-3xs);
	margin-bottom: var(--space-m);
}

.pricing-card__features {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--space-l);
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}

.pricing-card__feature {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	font-size: var(--step-0);
	color: var(--wp--preset--color--gray-600);
}

.pricing-card__check {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--wp--preset--color--primary-600);
}

.pricing-card__cta {
	display: block;
	width: 100%;
	text-align: center;
	padding: var(--space-xs) var(--space-s);
	border-radius: var(--space-3xs);
	font-weight: 600;
	font-size: var(--step-0);
	background: var(--wp--preset--color--primary-600);
	color: white;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
	box-sizing: border-box;
}

.pricing-card__cta:hover {
	background: var(--wp--preset--color--primary-700);
	color: white;
	transform: translateY(-1px);
}

/* Info Boxes (Assistants, Tools) */
.pricing-info-box {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: var(--space-xs);
	padding: var(--space-l);
	max-width: 900px;
	margin: 0 auto;
}

.pricing-info-box + .pricing-info-box {
	margin-top: var(--space-m);
}

.pricing-info-box__title {
	font-size: var(--step-2);
	font-weight: 700;
	color: var(--wp--preset--color--gray-900);
	margin: 0 0 var(--space-2xs);
}

.pricing-info-box__desc {
	font-size: var(--step-0);
	color: var(--wp--preset--color--gray-600);
	margin: 0 0 var(--space-m);
}

.pricing-info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-m);
}

.pricing-tools-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-m);
}

@media (max-width: 782px) {
	.pricing-tools-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.pricing-info-grid,
	.pricing-tools-grid {
		grid-template-columns: 1fr;
	}

	.pricing-info-box {
		padding: var(--space-m);
	}
}

.pricing-info-item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-xs);
}

.pricing-info-item__emoji {
	font-size: var(--step-1);
	line-height: 1.4;
}

.pricing-info-item__name {
	font-weight: 500;
	color: var(--wp--preset--color--gray-900);
}

.pricing-info-item__desc {
	font-size: var(--step--1);
	color: var(--wp--preset--color--gray-600);
	margin-top: var(--space-4xs);
}

.pricing-tool-item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-xs);
}

.pricing-tool-item__check {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--wp--preset--color--primary-600);
	margin-top: 2px;
}

.pricing-tool-item__name {
	font-weight: 500;
	color: var(--wp--preset--color--gray-900);
}

.pricing-tool-item__desc {
	font-size: var(--step--1);
	color: var(--wp--preset--color--gray-600);
	margin-top: var(--space-4xs);
}

.pricing-footnote {
	text-align: center;
	color: var(--wp--preset--color--gray-600);
	margin-top: var(--space-xl);
	font-size: var(--step--1);
}

/* Security Callout */
.pricing-security-callout {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-s);
	text-decoration: none;
	color: inherit;
}

.pricing-security-callout__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(59, 130, 246, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--primary-400);
}

.pricing-security-callout__title {
	font-size: var(--step-4);
	font-weight: 700;
	color: white;
	margin: 0;
}

.pricing-security-callout__desc {
	font-size: var(--step-1);
	color: var(--wp--preset--color--slate-400);
	max-width: 500px;
	margin: 0;
}

.pricing-security-callout__link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2xs);
	color: var(--wp--preset--color--primary-400);
	font-weight: 500;
	transition: color 0.2s ease;
}

.pricing-security-callout:hover .pricing-security-callout__link {
	color: var(--wp--preset--color--primary-300);
}

.pricing-security-callout:hover .pricing-security-callout__link svg {
	transform: translateX(4px);
	transition: transform 0.2s ease;
}

/* ============================================
   About Page
   ============================================ */

/* About hero: tighten heading-to-paragraph gap */
.about-hero .wp-block-heading + p {
	margin-top: var(--space-s) !important;
}

/* About hero: override global first-child rules for proper padding */
main > .about-hero.wp-block-group.alignfull:first-child,
.entry-content > .about-hero.wp-block-group.alignfull:first-child {
	padding-top: calc(var(--space-xl-3xl) + 60px) !important;
	padding-bottom: var(--space-xl-3xl) !important;
}

/* Remove extra top padding on section after about hero (no chat overlap) */
.entry-content > .about-hero.wp-block-group.alignfull:first-child + .wp-block-group.alignfull {
	padding-top: var(--space-xl-3xl) !important;
}

/* Team photos grid */
.about-team-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-s);
}

.about-team-grid img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	border-radius: var(--space-xs);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-team-grid img:last-child {
	filter: grayscale(100%);
}

@media (max-width: 782px) {
	.about-team-grid img {
		height: 240px;
	}
}

/* About feature cards grid */
.about-features-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-m);
}

@media (max-width: 782px) {
	.about-features-grid {
		grid-template-columns: 1fr;
	}
}

.about-feature-card {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: var(--space-xs);
	padding: var(--space-l);
}

.about-feature-card__icon {
	width: 40px;
	height: 40px;
	background: var(--wp--preset--color--primary-100);
	border-radius: var(--space-3xs);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--space-s);
}

.about-feature-card__icon svg {
	width: 20px;
	height: 20px;
	color: var(--wp--preset--color--primary-600);
}

.about-feature-card h3 {
	font-size: var(--step-1);
	font-weight: 600;
	color: var(--wp--preset--color--gray-900);
	margin: 0 0 var(--space-2xs);
}

.about-feature-card p {
	font-size: var(--step-0);
	color: var(--wp--preset--color--gray-600);
	margin: 0;
	line-height: 1.6;
}

/* FAQ Accordion */
.pricing-faq details {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: var(--space-xs);
	overflow: hidden;
}

.pricing-faq details + details {
	margin-top: var(--space-xs);
}

.pricing-faq summary {
	padding: var(--space-s) var(--space-m);
	font-weight: 500;
	color: var(--wp--preset--color--gray-900);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-s);
	list-style: none;
	transition: background 0.2s ease;
}

.pricing-faq summary:hover {
	background: #f9fafb;
}

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

.pricing-faq summary::marker {
	display: none;
	content: '';
}

.pricing-faq summary::after {
	content: '';
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background-image: url("data:image/svg+xml,%3Csvg fill='none' viewBox='0 0 24 24' stroke='%236b7280' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	transition: transform 0.2s ease;
}

.pricing-faq details[open] summary::after {
	transform: rotate(180deg);
}

.pricing-faq details > div {
	padding: 0 var(--space-m) var(--space-s);
	color: var(--wp--preset--color--gray-600);
	line-height: 1.6;
}

/* ===========================================
   Security Page
   =========================================== */

.security-hero .wp-block-heading + p {
	margin-top: var(--space-s) !important;
}

main > .security-hero.wp-block-group.alignfull:first-child,
.entry-content > .security-hero.wp-block-group.alignfull:first-child {
	padding-top: calc(var(--space-xl-3xl) + 60px) !important;
	padding-bottom: var(--space-xl-3xl) !important;
}

.entry-content > .security-hero.wp-block-group.alignfull:first-child + .wp-block-group.alignfull {
	padding-top: var(--space-xl-3xl) !important;
}

.security-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-m);
	max-width: 1100px;
	margin: 0 auto;
}

.security-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: var(--space-xs);
	padding: var(--space-l);
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.security-card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border-color: var(--wp--preset--color--primary-200, #bfdbfe);
}

.security-card__icon {
	width: 40px;
	height: 40px;
	border-radius: var(--space-3xs);
	background: var(--wp--preset--color--primary-100);
	color: var(--wp--preset--color--primary-600, #2563eb);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--space-s);
}

.security-card__icon svg {
	width: 20px;
	height: 20px;
}

.security-card__title {
	font-size: var(--step-1);
	font-weight: 600;
	color: var(--wp--preset--color--gray-900);
	margin: 0 0 var(--space-2xs);
}

.security-card__desc {
	font-size: var(--step-0);
	color: var(--wp--preset--color--gray-600);
	line-height: 1.6;
	margin: 0;
}

/* Security FAQ */
.security-faq {
	display: flex;
	flex-direction: column;
	gap: var(--space-s);
}

.security-faq__item {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: var(--space-xs);
	padding: var(--space-m) var(--space-l);
}

.security-faq__question {
	font-size: var(--step-1);
	font-weight: 600;
	color: var(--wp--preset--color--gray-900);
	margin: 0 0 var(--space-2xs);
}

.security-faq__answer {
	font-size: var(--step-0);
	color: var(--wp--preset--color--gray-600);
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 782px) {
	.security-grid {
		grid-template-columns: 1fr;
	}
}

/* ===========================================
   Legal Pages (Privacy, Terms)
   =========================================== */

.privacy-hero .wp-block-heading + p {
	margin-top: var(--space-s) !important;
}

main > .privacy-hero.wp-block-group.alignfull:first-child,
.entry-content > .privacy-hero.wp-block-group.alignfull:first-child {
	padding-top: calc(var(--space-xl-3xl) + 60px) !important;
	padding-bottom: var(--space-xl-3xl) !important;
}

.entry-content > .privacy-hero.wp-block-group.alignfull:first-child + .wp-block-group.alignfull {
	padding-top: var(--space-xl-3xl) !important;
}

.terms-hero .wp-block-heading + p {
	margin-top: var(--space-s) !important;
}

main > .terms-hero.wp-block-group.alignfull:first-child,
.entry-content > .terms-hero.wp-block-group.alignfull:first-child {
	padding-top: calc(var(--space-xl-3xl) + 60px) !important;
	padding-bottom: var(--space-xl-3xl) !important;
}

.entry-content > .terms-hero.wp-block-group.alignfull:first-child + .wp-block-group.alignfull {
	padding-top: var(--space-xl-3xl) !important;
}

/* Legal content spacing */
.legal-content h2 {
	margin-top: var(--space-xl-2xl);
	margin-bottom: var(--space-s);
}

.legal-content h3 {
	margin-top: var(--space-m-l);
	margin-bottom: var(--space-2xs);
}

.legal-content p {
	margin-bottom: var(--space-s);
	line-height: 1.7;
}

.legal-content ul {
	margin-bottom: var(--space-s);
}

.legal-content li {
	line-height: 1.7;
	margin-bottom: var(--space-3xs);
}
