/* ==========================================================================
   CodersRegion — "AI dark" design system (dark by default, light via toggle)
   Tokens → base → layout → effects → components → header/footer → templates
   ========================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* --------------------------------------------------------------------------
   Tokens (dark is the default; dark "islands" keep these in light mode too)
   -------------------------------------------------------------------------- */

:root,
.cr-hero,
.cr-page-hero,
.cr-section--dark,
.cr-cta,
.cr-site-footer {
	--bg: #07071a;
	--bg-alt: #0c0c24;
	--surface: rgba(255, 255, 255, 0.035);
	--surface-hover: rgba(255, 255, 255, 0.06);
	--surface-solid: #11112b;
	--border: rgba(167, 139, 250, 0.16);
	--border-strong: rgba(167, 139, 250, 0.38);
	--heading: #f6f5ff;
	--text: #bcbad8;
	--muted: #8e8bb0;
	--link: #b8a4ff;
	--chip-bg: rgba(139, 92, 246, 0.12);
	--input-bg: rgba(255, 255, 255, 0.04);
	--shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
	--grid-line: rgba(167, 139, 250, 0.07);
	--dot: rgba(167, 139, 250, 0.45);
}

:root {
	--violet: #8b5cf6;
	--violet-l: #a78bfa;
	--violet-d: #6d28d9;
	--cyan: #22d3ee;
	--grad: linear-gradient(100deg, #60a5fa 0%, #8b5cf6 45%, #e879f9 100%);
	--grad-btn: linear-gradient(100deg, #4f46e5 0%, #7c3aed 55%, #9333ea 100%);
	--grad-icon: linear-gradient(135deg, #6366f1 0%, #8b5cf6 55%, #c026d3 100%);
	--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section-y: clamp(72px, 9vw, 124px);
	--r-sm: 10px;
	--r: 18px;
	--r-lg: 26px;
	--header-h: 72px;
	--header-top: 14px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--header-bg: rgba(14, 13, 38, 0.62);
	color-scheme: dark;
}

html[data-theme="light"] {
	--bg: #ffffff;
	--bg-alt: #f6f4ff;
	--surface: #ffffff;
	--surface-hover: #ffffff;
	--surface-solid: #ffffff;
	--border: rgba(76, 29, 149, 0.12);
	--border-strong: rgba(109, 40, 217, 0.32);
	--heading: #120d33;
	--text: #4d4a6b;
	--muted: #6a6689;
	--link: #6d28d9;
	--chip-bg: rgba(139, 92, 246, 0.08);
	--input-bg: #ffffff;
	--shadow: 0 18px 40px -22px rgba(49, 26, 120, 0.25);
	--grid-line: rgba(109, 40, 217, 0.06);
	--dot: rgba(109, 40, 217, 0.22);
	--header-bg: rgba(255, 255, 255, 0.8);
	color-scheme: light;
}

html[data-theme="light"] :is(.cr-hero, .cr-page-hero, .cr-section--dark, .cr-cta, .cr-site-footer) {
	--bg: #07071a;
	--bg-alt: #0c0c24;
	--surface: rgba(255, 255, 255, 0.035);
	--surface-hover: rgba(255, 255, 255, 0.06);
	--surface-solid: #11112b;
	--border: rgba(167, 139, 250, 0.16);
	--border-strong: rgba(167, 139, 250, 0.38);
	--heading: #f6f5ff;
	--text: #bcbad8;
	--muted: #8e8bb0;
	--link: #b8a4ff;
	--chip-bg: rgba(139, 92, 246, 0.12);
	--input-bg: rgba(255, 255, 255, 0.04);
	--grid-line: rgba(167, 139, 250, 0.07);
	--dot: rgba(167, 139, 250, 0.45);
	color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 40px);
	background: var(--bg);
}

body.cr-site {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

.cr-site img, .cr-site svg, .cr-site video, .cr-site iframe { max-width: 100%; }
.cr-site img { display: block; height: auto; }

.cr-site h1, .cr-site h2, .cr-site h3, .cr-site h4, .cr-site h5, .cr-site h6 {
	margin: 0 0 0.5em;
	color: var(--heading);
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.16;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.cr-site h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.cr-site h2 { font-size: clamp(1.85rem, 1.35rem + 1.8vw, 2.9rem); }
.cr-site h3 { font-size: clamp(1.12rem, 1.04rem + 0.3vw, 1.3rem); line-height: 1.3; letter-spacing: -0.01em; }
.cr-site h4 { font-size: 1.05rem; line-height: 1.35; }

/* Gradient words: wrap in <em> inside a heading */
.cr-site :is(h1, h2, h3) em,
.cr-grad-text {
	font-style: normal;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.cr-site p { margin: 0 0 1.1em; }

.cr-site a {
	color: var(--link);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s var(--ease);
}

.cr-site a:hover { color: var(--heading); }
.cr-site strong { color: var(--heading); font-weight: 600; }
.cr-site ul, .cr-site ol { margin: 0 0 1.2em; padding-left: 1.25em; }
.cr-site li + li { margin-top: 0.35em; }
.cr-site :focus-visible { outline: 2px solid var(--violet-l); outline-offset: 3px; border-radius: 6px; }
.cr-site ::selection { background: var(--violet); color: #fff; }

.screen-reader-text, .cr-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cr-skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: var(--r-sm);
	background: var(--violet-d);
	color: #fff !important;
	font-weight: 600;
}

.cr-skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.cr-container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.cr-container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.cr-section {
	position: relative;
	padding-block: var(--section-y);
	background: var(--bg);
	isolation: isolate;
}

.cr-section--tight { padding-block: clamp(44px, 5vw, 68px); }
.cr-section--flush-top { padding-top: 0; }

.cr-section--soft {
	background:
		radial-gradient(800px 380px at 50% 0%, rgba(139, 92, 246, 0.1), transparent 70%),
		var(--bg-alt);
}

.cr-section--brand { background: var(--bg-alt); }
.cr-section--line { border-top: 1px solid var(--border); }

.cr-section--dark {
	background:
		radial-gradient(900px 420px at 80% -10%, rgba(139, 92, 246, 0.28), transparent 60%),
		radial-gradient(700px 360px at 0% 110%, rgba(34, 211, 238, 0.12), transparent 60%),
		var(--bg-alt);
	color: var(--text);
}

/* Halftone dot fields (as on the original site) */
.cr-section--soft::before,
.cr-section--dark::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 8%;
	right: -40px;
	width: 360px;
	height: 360px;
	background-image: radial-gradient(var(--dot) 1.2px, transparent 1.6px);
	background-size: 14px 14px;
	-webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 15%, transparent 100%);
	opacity: 0.6;
	pointer-events: none;
}

.cr-section--dark::before { top: auto; right: auto; bottom: -40px; left: -60px; }

.cr-section-head {
	max-width: 780px;
	margin: 0 auto clamp(40px, 5vw, 64px);
	text-align: center;
}

.cr-section-head--left { margin-left: 0; text-align: left; }
.cr-section-head > :last-child { margin-bottom: 0; }

.cr-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px !important;
	padding: 6px 14px 6px 11px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: var(--chip-bg);
	color: var(--heading);
	font-family: var(--font-display);
	font-size: 0.74rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cr-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: var(--grad);
	box-shadow: 0 0 12px 2px rgba(167, 139, 250, 0.85);
	animation: cr-pulse 2.4s ease-in-out infinite;
}

@keyframes cr-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.55; transform: scale(0.8); }
}

.cr-lead { color: var(--text); font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem); line-height: 1.7; }

.cr-grid {
	display: grid;
	gap: clamp(16px, 2vw, 24px);
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}

.cr-grid--2 { --cols: 2; }
.cr-grid--3 { --cols: 3; }
.cr-grid--4 { --cols: 4; }
.cr-grid > * { margin: 0 !important; }

@media (max-width: 1024px) { .cr-grid--4, .cr-grid--3 { --cols: 2; } }
@media (max-width: 640px) { .cr-grid--4, .cr-grid--3, .cr-grid--2 { --cols: 1; } }

.cr-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(36px, 6vw, 84px);
	align-items: center;
}

.cr-split--top { align-items: start; }
.cr-split--wide-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.cr-split > * { margin: 0 !important; }
.cr-split > * > :last-child { margin-bottom: 0; }

@media (max-width: 900px) {
	.cr-split, .cr-split--wide-left { grid-template-columns: minmax(0, 1fr); }
	.cr-split--reverse-mobile > :first-child { order: 2; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.cr-site .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }
.cr-site .wp-block-buttons.is-content-justification-center, .cr-section-head .wp-block-buttons { justify-content: center; }
.cr-site .wp-block-button { margin: 0; }

.cr-site .wp-block-button__link,
.cr-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 26px;
	border: 0;
	border-radius: 14px;
	background: var(--grad-btn);
	color: #fff !important;
	font-family: var(--font-display);
	font-size: 0.97rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 12px 30px -10px rgba(124, 58, 237, 0.75);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.cr-site .wp-block-button__link::after,
.cr-btn--arrow::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("../icons/arrow-right.svg") center / contain no-repeat;
	mask: url("../icons/arrow-right.svg") center / contain no-repeat;
	transition: transform 0.25s var(--ease);
}

.cr-site .wp-block-button__link:hover,
.cr-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.12);
	color: #fff !important;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 18px 40px -12px rgba(139, 92, 246, 0.95);
}

.cr-site .wp-block-button__link:hover::after, .cr-btn--arrow:hover::after { transform: translateX(3px); }

.cr-site .is-style-outline > .wp-block-button__link,
.cr-btn--ghost {
	border: 1px solid var(--border-strong);
	background: var(--surface);
	color: var(--heading) !important;
	box-shadow: none;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.cr-site .is-style-outline > .wp-block-button__link::after { display: none; }

.cr-site .is-style-outline > .wp-block-button__link:hover,
.cr-btn--ghost:hover {
	border-color: var(--violet-l);
	background: var(--surface-hover);
	color: var(--heading) !important;
	box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
	filter: none;
}

.cr-btn--sm { min-height: 42px; padding: 9px 18px; border-radius: 12px; font-size: 0.9rem; }

.cr-link-arrow, .cr-card__more a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--link);
	font-family: var(--font-display);
	font-size: 0.93rem;
	font-weight: 600;
	text-decoration: none;
}

.cr-link-arrow::after, .cr-card__more a::after {
	content: "";
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: url("../icons/arrow-right.svg") center / contain no-repeat;
	mask: url("../icons/arrow-right.svg") center / contain no-repeat;
	transition: transform 0.25s var(--ease);
}

.cr-link-arrow:hover::after, .cr-card__more a:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Icons
   -------------------------------------------------------------------------- */

.cr-icon {
	display: inline-block;
	flex: none;
	width: 1.25em;
	height: 1.25em;
	background: currentColor;
	-webkit-mask: var(--i) center / contain no-repeat;
	mask: var(--i) center / contain no-repeat;
	vertical-align: -0.2em;
}

/* Card icon tile: ::before = gradient tile, ::after = white glyph */
.has-icon { position: relative; }

.has-icon::before {
	content: "";
	display: block;
	width: 52px;
	height: 52px;
	margin-bottom: 22px;
	border-radius: 14px;
	background: var(--grad-icon);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 12px 28px -10px rgba(139, 92, 246, 0.9);
}

.has-icon::after {
	content: "";
	position: absolute;
	top: calc(var(--card-pad, 28px) + 14px);
	left: calc(var(--card-pad, 28px) + 14px);
	width: 24px;
	height: 24px;
	background: #fff;
	-webkit-mask: var(--i) center / contain no-repeat;
	mask: var(--i) center / contain no-repeat;
}

.has-icon.is-accent::before { background: linear-gradient(135deg, #f97316, #ec4899); box-shadow: 0 12px 28px -10px rgba(236, 72, 153, 0.85); }

.cr-i-activity { --i: url("../icons/activity.svg"); }
.cr-i-arrow-right { --i: url("../icons/arrow-right.svg"); }
.cr-i-award { --i: url("../icons/award.svg"); }
.cr-i-badge-check { --i: url("../icons/badge-check.svg"); }
.cr-i-bell { --i: url("../icons/bell.svg"); }
.cr-i-book-open { --i: url("../icons/book-open.svg"); }
.cr-i-bot { --i: url("../icons/bot.svg"); }
.cr-i-brain { --i: url("../icons/brain-circuit.svg"); }
.cr-i-briefcase { --i: url("../icons/briefcase.svg"); }
.cr-i-building { --i: url("../icons/building-2.svg"); }
.cr-i-calendar { --i: url("../icons/calendar.svg"); }
.cr-i-chart { --i: url("../icons/chart-column.svg"); }
.cr-i-check { --i: url("../icons/check.svg"); }
.cr-i-check-circle { --i: url("../icons/circle-check-big.svg"); }
.cr-i-clipboard { --i: url("../icons/clipboard-check.svg"); }
.cr-i-clock { --i: url("../icons/clock.svg"); }
.cr-i-cloud { --i: url("../icons/cloud.svg"); }
.cr-i-code { --i: url("../icons/code-xml.svg"); }
.cr-i-compass { --i: url("../icons/compass.svg"); }
.cr-i-cpu { --i: url("../icons/cpu.svg"); }
.cr-i-credit-card { --i: url("../icons/credit-card.svg"); }
.cr-i-dashboard { --i: url("../icons/layout-dashboard.svg"); }
.cr-i-database { --i: url("../icons/database.svg"); }
.cr-i-eye { --i: url("../icons/eye.svg"); }
.cr-i-file { --i: url("../icons/file-text.svg"); }
.cr-i-filter { --i: url("../icons/filter.svg"); }
.cr-i-gauge { --i: url("../icons/gauge.svg"); }
.cr-i-git-merge { --i: url("../icons/git-merge.svg"); }
.cr-i-globe { --i: url("../icons/globe.svg"); }
.cr-i-graduation { --i: url("../icons/graduation-cap.svg"); }
.cr-i-hand-coins { --i: url("../icons/hand-coins.svg"); }
.cr-i-handshake { --i: url("../icons/handshake.svg"); }
.cr-i-headset { --i: url("../icons/headset.svg"); }
.cr-i-heart-pulse { --i: url("../icons/heart-pulse.svg"); }
.cr-i-house { --i: url("../icons/house.svg"); }
.cr-i-layers { --i: url("../icons/layers.svg"); }
.cr-i-life-buoy { --i: url("../icons/life-buoy.svg"); }
.cr-i-link { --i: url("../icons/link.svg"); }
.cr-i-list-checks { --i: url("../icons/list-checks.svg"); }
.cr-i-lock { --i: url("../icons/lock.svg"); }
.cr-i-mail { --i: url("../icons/mail.svg"); }
.cr-i-menu { --i: url("../icons/menu.svg"); }
.cr-i-message { --i: url("../icons/message-circle.svg"); }
.cr-i-monitor-smartphone { --i: url("../icons/monitor-smartphone.svg"); }
.cr-i-moon { --i: url("../icons/moon.svg"); }
.cr-i-palette { --i: url("../icons/palette.svg"); }
.cr-i-phone { --i: url("../icons/phone.svg"); }
.cr-i-play { --i: url("../icons/play.svg"); }
.cr-i-plug { --i: url("../icons/plug.svg"); }
.cr-i-puzzle { --i: url("../icons/puzzle.svg"); }
.cr-i-receipt { --i: url("../icons/receipt.svg"); }
.cr-i-refresh { --i: url("../icons/refresh-cw.svg"); }
.cr-i-repeat { --i: url("../icons/repeat.svg"); }
.cr-i-rocket { --i: url("../icons/rocket.svg"); }
.cr-i-route { --i: url("../icons/route.svg"); }
.cr-i-scale { --i: url("../icons/scale.svg"); }
.cr-i-school { --i: url("../icons/school.svg"); }
.cr-i-search { --i: url("../icons/search.svg"); }
.cr-i-send { --i: url("../icons/send.svg"); }
.cr-i-server { --i: url("../icons/server.svg"); }
.cr-i-settings { --i: url("../icons/settings.svg"); }
.cr-i-shield { --i: url("../icons/shield-check.svg"); }
.cr-i-cart { --i: url("../icons/shopping-cart.svg"); }
.cr-i-smartphone { --i: url("../icons/smartphone.svg"); }
.cr-i-sparkles { --i: url("../icons/sparkles.svg"); }
.cr-i-star { --i: url("../icons/star.svg"); }
.cr-i-sun { --i: url("../icons/sun.svg"); }
.cr-i-target { --i: url("../icons/target.svg"); }
.cr-i-terminal { --i: url("../icons/terminal.svg"); }
.cr-i-trending { --i: url("../icons/trending-up.svg"); }
.cr-i-truck { --i: url("../icons/truck.svg"); }
.cr-i-users { --i: url("../icons/users.svg"); }
.cr-i-wallet { --i: url("../icons/wallet.svg"); }
.cr-i-workflow { --i: url("../icons/workflow.svg"); }
.cr-i-wrench { --i: url("../icons/wrench.svg"); }
.cr-i-x { --i: url("../icons/x.svg"); }
.cr-i-zap { --i: url("../icons/zap.svg"); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.cr-card {
	--card-pad: clamp(24px, 2.4vw, 32px);
	position: relative;
	height: 100%;
	padding: var(--card-pad);
	border: 1px solid var(--border);
	border-radius: var(--r);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 45%), var(--surface);
	box-shadow: var(--shadow);
	transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cr-card > :last-child { margin-bottom: 0; }
.cr-card h3 { margin-bottom: 0.5em; }
.cr-card p { font-size: 0.98rem; line-height: 1.68; }
.cr-card ul { margin-bottom: 0; font-size: 0.96rem; }

.cr-card:hover {
	transform: translateY(-4px);
	border-color: var(--border-strong);
	box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.14), 0 24px 60px -24px rgba(124, 58, 237, 0.6);
}

.cr-card:has(.cr-card__more a) { display: flex; flex-direction: column; }
.cr-card .cr-card__more { margin-top: auto; padding-top: 16px; }
.cr-card:has(.cr-card__more a) .cr-card__more a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Card with an illustration (the purple line icons from the original site) */
.cr-card--art { text-align: center; }
.cr-card--art figure, .cr-card--art .wp-block-image { margin: 0 auto 18px !important; }

.cr-card--art img {
	width: 116px;
	height: 116px;
	margin-inline: auto;
	object-fit: contain;
	filter: drop-shadow(0 0 22px rgba(139, 92, 246, 0.55));
	transition: transform 0.4s var(--ease);
}

.cr-card--art:hover img { transform: translateY(-5px) scale(1.05); }

.cr-media img, .cr-site .cr-media img {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: 0 30px 80px -30px rgba(124, 58, 237, 0.6);
}

.cr-media--plain img { border: 0; box-shadow: none; }

.cr-media--glow { position: relative; isolation: isolate; }

.cr-media--glow::before {
	content: "";
	position: absolute;
	inset: 6%;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(139, 92, 246, 0.6), transparent);
	filter: blur(34px);
}

.cr-site figure { margin: 0 0 1.4em; }
.cr-site figcaption, .cr-site .wp-element-caption { margin-top: 10px; color: var(--muted); font-size: 0.88rem; text-align: center; }

/* --------------------------------------------------------------------------
   Lists & chips
   -------------------------------------------------------------------------- */

.cr-site ul.cr-checklist, .cr-checklist ul { margin: 0 0 1.2em; padding: 0; list-style: none; }
.cr-checklist li { position: relative; padding-left: 34px; }
.cr-checklist li + li { margin-top: 11px; }

.cr-checklist li::before {
	content: "";
	position: absolute;
	top: 0.28em;
	left: 0;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: var(--grad-icon);
	box-shadow: 0 6px 14px -6px rgba(139, 92, 246, 0.9);
}

.cr-checklist li::after {
	content: "";
	position: absolute;
	top: calc(0.28em + 5px);
	left: 5px;
	width: 12px;
	height: 12px;
	background: #fff;
	-webkit-mask: url("../icons/check.svg") center / contain no-repeat;
	mask: url("../icons/check.svg") center / contain no-repeat;
}

.cr-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.2em !important; padding: 0 !important; list-style: none; }

.cr-chips li {
	margin: 0 !important;
	padding: 8px 16px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--heading);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
	transition: border-color 0.25s, background-color 0.25s, transform 0.25s;
}

.cr-chips li:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--chip-bg); }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.cr-steps {
	display: grid;
	gap: clamp(16px, 2vw, 24px);
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	counter-reset: cr-step;
}

.cr-steps--2 { --cols: 2; }
.cr-steps--4 { --cols: 4; }
.cr-steps--5 { --cols: 5; }

.cr-step {
	position: relative;
	margin: 0 !important;
	padding: 28px 24px 26px;
	border: 1px solid var(--border);
	border-radius: var(--r);
	background: var(--surface);
	counter-increment: cr-step;
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.cr-step:hover { transform: translateY(-3px); border-color: var(--border-strong); }

.cr-step::before {
	content: counter(cr-step, decimal-leading-zero);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	border: 1px solid var(--border-strong);
	border-radius: 16px;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--font-display);
	font-size: 1.7rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.cr-step h3 { font-size: 1.08rem; }
.cr-step p { margin-bottom: 0; font-size: 0.95rem; line-height: 1.62; }

.cr-step .cr-step__time {
	display: inline-block;
	margin: 0 0 12px;
	padding: 3px 10px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: var(--chip-bg);
	color: var(--heading);
	font-size: 0.76rem;
	font-weight: 600;
}

@media (max-width: 1100px) { .cr-steps--5 { --cols: 3; } .cr-steps--4 { --cols: 2; } }
@media (max-width: 760px) { .cr-steps--5, .cr-steps--4, .cr-steps { --cols: 1; } }

/* --------------------------------------------------------------------------
   Hero backgrounds: aurora glows, planet arc, light beam, grid
   -------------------------------------------------------------------------- */

.cr-hero,
.cr-page-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: var(--text);
	background:
		radial-gradient(ellipse 72% 58% at 80% 112%, transparent 58.6%, rgba(221, 214, 254, 0.9) 59.2%, rgba(139, 92, 246, 0.6) 60.1%, rgba(34, 211, 238, 0.18) 62%, transparent 68%),
		radial-gradient(900px 520px at 85% 0%, rgba(124, 58, 237, 0.45), transparent 62%),
		radial-gradient(700px 480px at 0% 100%, rgba(37, 99, 235, 0.28), transparent 60%),
		linear-gradient(180deg, #04040f 0%, #08081c 100%);
}

.cr-hero::before,
.cr-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(var(--grid-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
	background-size: 60px 60px;
	-webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 80%);
	mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 80%);
}

.cr-hero::after,
.cr-page-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: 40%;
	left: -20%;
	width: 140%;
	height: 260px;
	background:
		linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0) 12%, rgba(192, 132, 252, 0.75) 46%, rgba(56, 189, 248, 0.65) 60%, transparent 86%) center 48% / 100% 2px no-repeat,
		linear-gradient(90deg, transparent 6%, rgba(168, 85, 247, 0.24) 45%, rgba(56, 189, 248, 0.18) 62%, transparent 90%) center / 100% 90px no-repeat;
	filter: blur(1px);
	opacity: 0.9;
	transform: rotate(-11deg);
	pointer-events: none;
	animation: cr-beam 14s ease-in-out infinite alternate;
}

@keyframes cr-beam {
	from { transform: rotate(-11deg) translateX(-3%); }
	to { transform: rotate(-9deg) translateX(3%); }
}

.cr-hero { padding-block: calc(var(--header-h) + var(--header-top) + clamp(56px, 7vw, 100px)) clamp(80px, 9vw, 128px); }
.cr-hero h1 { max-width: 16ch; margin-bottom: 0.45em; }
.cr-hero .cr-lead { max-width: 58ch; }

.cr-page-hero { padding-block: calc(var(--header-h) + var(--header-top) + clamp(48px, 6vw, 84px)) clamp(64px, 7vw, 96px); }
.cr-page-hero h1 { max-width: 22ch; font-size: clamp(2.15rem, 1.5rem + 2.6vw, 3.6rem); }
.cr-page-hero .cr-lead { max-width: 64ch; }
.cr-page-hero--center { text-align: center; }
.cr-page-hero--center h1, .cr-page-hero--center .cr-lead { margin-inline: auto; }
.cr-page-hero--center .wp-block-buttons, .cr-page-hero--center .cr-hero-points { justify-content: center; }

.cr-hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 32px 0 0 !important;
	padding: 0 !important;
	list-style: none;
	color: var(--text);
	font-size: 0.93rem;
}

.cr-hero-points li { position: relative; margin: 0 !important; padding-left: 26px; }

.cr-hero-points li::before {
	content: "";
	position: absolute;
	top: 0.32em;
	left: 0;
	width: 17px;
	height: 17px;
	background: var(--violet-l);
	-webkit-mask: url("../icons/circle-check-big.svg") center / contain no-repeat;
	mask: url("../icons/circle-check-big.svg") center / contain no-repeat;
}

.cr-breadcrumbs { margin: 0 0 22px; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.cr-breadcrumbs a { color: var(--text) !important; text-decoration: none; }
.cr-breadcrumbs a:hover { color: var(--heading) !important; }
.cr-breadcrumbs .breadcrumb_last { color: var(--muted); }
.cr-breadcrumbs .cr-sep { margin: 0 8px; opacity: 0.5; }

.cr-glass {
	position: relative;
	padding: clamp(24px, 2.6vw, 34px);
	border: 1px solid var(--border-strong);
	border-radius: var(--r-lg);
	background: linear-gradient(160deg, rgba(139, 92, 246, 0.18), rgba(255, 255, 255, 0.03) 45%, rgba(34, 211, 238, 0.07));
	box-shadow: 0 30px 80px -30px rgba(124, 58, 237, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.cr-glass::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 12%;
	right: 12%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(221, 214, 254, 0.95), transparent);
}

.cr-glass h2, .cr-glass h3 { font-size: 1.12rem; letter-spacing: -0.005em; }
.cr-glass > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   AI orb (home hero visual)
   -------------------------------------------------------------------------- */

.cr-orb { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; }

.cr-orb__glow {
	position: absolute;
	inset: 18%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(139, 92, 246, 0.8), rgba(79, 70, 229, 0.35) 55%, transparent);
	filter: blur(28px);
	animation: cr-breathe 6s ease-in-out infinite;
}

@keyframes cr-breathe {
	0%, 100% { opacity: 0.85; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.07); }
}

.cr-orb__ring {
	position: absolute;
	inset: 4%;
	border: 1px dashed rgba(196, 181, 253, 0.3);
	border-radius: 50%;
	animation: cr-spin 60s linear infinite;
}

.cr-orb__ring::after {
	content: "";
	position: absolute;
	top: 50%;
	left: -5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #c4b5fd;
	box-shadow: 0 0 16px 5px rgba(167, 139, 250, 0.9);
}

.cr-orb__ring--2 { inset: 21%; border-style: solid; border-color: rgba(34, 211, 238, 0.24); animation-duration: 34s; animation-direction: reverse; }
.cr-orb__ring--2::after { background: #67e8f9; box-shadow: 0 0 16px 5px rgba(34, 211, 238, 0.85); }

@keyframes cr-spin { to { transform: rotate(360deg); } }

.cr-orb__core {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-content: center;
	width: 34%;
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.6), transparent 30%),
		radial-gradient(circle at 70% 82%, rgba(34, 211, 238, 0.55), transparent 50%),
		linear-gradient(145deg, #8b5cf6, #4338ca 55%, #1e1b4b);
	box-shadow:
		0 0 0 10px rgba(139, 92, 246, 0.09),
		0 0 0 24px rgba(139, 92, 246, 0.045),
		0 0 100px 14px rgba(124, 58, 237, 0.75),
		inset 0 -14px 30px rgba(0, 0, 0, 0.35);
	transform: translate(-50%, -50%);
	text-align: center;
}

.cr-orb__core .cr-icon { width: 36px; height: 36px; margin: 0 auto 6px; color: #fff; }
.cr-orb__core strong { display: block; color: #fff; font-family: var(--font-display); font-size: clamp(1rem, 0.8rem + 0.7vw, 1.3rem); font-weight: 600; line-height: 1.15; }
.cr-orb__core small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.78); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

.cr-orb__node {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid rgba(196, 181, 253, 0.26);
	border-radius: 999px;
	background: rgba(17, 15, 45, 0.8);
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	animation: cr-float 7s ease-in-out infinite;
}

.cr-orb__node .cr-icon { width: 15px; height: 15px; color: var(--violet-l); }
.cr-orb__node:nth-of-type(even) { animation-delay: -3.5s; }
.cr-orb__node:nth-of-type(3n) .cr-icon { color: var(--cyan); }

@keyframes cr-float {
	0%, 100% { transform: translate(-50%, -50%); }
	50% { transform: translate(-50%, calc(-50% - 7px)); }
}

.cr-float {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 12px;
	border: 1px solid rgba(196, 181, 253, 0.3);
	border-radius: 16px;
	background: linear-gradient(160deg, rgba(42, 31, 96, 0.88), rgba(15, 13, 40, 0.9));
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	animation: cr-float-card 8s ease-in-out infinite;
}

.cr-float__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--grad-icon); }
.cr-float__icon .cr-icon { width: 19px; height: 19px; color: #fff; }
.cr-float b { display: block; color: #fff; font-size: 0.84rem; font-weight: 600; line-height: 1.3; }
.cr-float small { display: block; color: #bdb8e2; font-size: 0.74rem; line-height: 1.35; }
.cr-float--a { top: 5%; left: -4%; }
.cr-float--b { top: 43%; right: -7%; animation-delay: -2.5s; }
.cr-float--c { bottom: 6%; left: -2%; animation-delay: -5s; }
.cr-float--b .cr-float__icon { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.cr-float--c .cr-float__icon { background: linear-gradient(135deg, #10b981, #06b6d4); }

@keyframes cr-float-card {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
	.cr-orb { width: min(86vw, 420px); margin-top: 24px; }
	.cr-float--a { left: 0; }
	.cr-float--b { right: 0; }
}

@media (max-width: 520px) {
	.cr-orb__node { padding: 6px 10px; gap: 5px; font-size: 0.66rem; }
	.cr-orb__node .cr-icon { width: 12px; height: 12px; }
	.cr-float { gap: 8px; padding: 8px 10px 8px 8px; border-radius: 12px; }
	.cr-float__icon { width: 30px; height: 30px; border-radius: 9px; }
	.cr-float b { font-size: 0.72rem; }
	.cr-float small { font-size: 0.64rem; }
	.cr-orb__core small { display: none; }
	.cr-float--b { display: none; }
	.cr-float--a { top: 2%; }
}

@media (prefers-reduced-motion: reduce) {
	.cr-orb__ring, .cr-orb__glow, .cr-orb__node, .cr-float, .cr-hero::after, .cr-page-hero::after, .cr-eyebrow::before { animation: none !important; }
	html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Code window & AI chat mockups
   -------------------------------------------------------------------------- */

.cr-mock { position: relative; min-width: 0; }
.cr-code { max-width: 100%; }

.cr-code {
	overflow: hidden;
	border: 1px solid rgba(196, 181, 253, 0.24);
	border-radius: 18px;
	background: linear-gradient(180deg, #131133, #0b0a22);
	box-shadow: 0 40px 90px -40px rgba(124, 58, 237, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cr-code__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(196, 181, 253, 0.14);
	background: rgba(255, 255, 255, 0.03);
	color: #9d98c9;
	font: 500 0.78rem/1 var(--font-sans);
}

.cr-code__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.cr-code__bar i:nth-child(2) { background: #febc2e; }
.cr-code__bar i:nth-child(3) { margin-right: 10px; background: #28c840; }

.cr-code pre {
	margin: 0;
	padding: 20px 22px 24px;
	overflow-x: auto;
	color: #d7d4f5;
	font: 0.82rem/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	white-space: pre;
}

.cr-code .k { color: #c084fc; }
.cr-code .t { color: #67e8f9; }
.cr-code .s { color: #86efac; }
.cr-code .c { color: #77729f; font-style: italic; }
.cr-code .f { color: #93c5fd; }

.cr-chat {
	position: relative;
	z-index: 2;
	width: min(100%, 390px);
	margin: -56px 0 0 auto;
	padding: 16px;
	border: 1px solid rgba(196, 181, 253, 0.28);
	border-radius: 18px;
	background: linear-gradient(160deg, rgba(44, 32, 102, 0.95), rgba(16, 14, 42, 0.96));
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.95);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.cr-chat__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-size: 0.86rem; font-weight: 600; }
.cr-chat__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad-icon); }
.cr-chat__avatar .cr-icon { width: 17px; height: 17px; color: #fff; }
.cr-chat__head em { margin-left: auto; color: #86efac; font-size: 0.72rem; font-style: normal; }
.cr-chat__msg { margin: 0 0 8px; padding: 10px 13px; border-radius: 13px; font-size: 0.82rem; line-height: 1.5; }
.cr-chat__msg:last-child { margin-bottom: 0; }
.cr-chat__msg--user { width: fit-content; max-width: 85%; margin-left: auto; background: var(--grad-btn); color: #fff; }
.cr-chat__msg--bot { max-width: 94%; border: 1px solid rgba(196, 181, 253, 0.16); background: rgba(255, 255, 255, 0.05); color: #dcd8ff; }

@media (max-width: 640px) {
	.cr-chat { margin: 16px 0 0; }
}

/* --------------------------------------------------------------------------
   Stats, logos, certifications, screenshots
   -------------------------------------------------------------------------- */

.cr-stats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
.cr-stats--3 { --cols: 3; }
.cr-split .cr-stats { --cols: 2; }

.cr-stat {
	position: relative;
	margin: 0 !important;
	padding: clamp(24px, 3vw, 34px) 20px;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--r);
	background: var(--surface);
	text-align: center;
}

.cr-stat::before {
	content: "";
	position: absolute;
	right: 20%;
	bottom: -40%;
	left: 20%;
	height: 80%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(139, 92, 246, 0.38), transparent);
	filter: blur(18px);
}

.cr-stat p { position: relative; margin: 0; }

.cr-stat .cr-stat__num {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--font-display);
	font-size: clamp(2.3rem, 1.8rem + 2vw, 3.4rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.cr-stat .cr-stat__label { margin-top: 8px; color: var(--text); font-size: 0.93rem; font-weight: 500; }

@media (max-width: 760px) { .cr-stats { --cols: 2; } .cr-stats--3 { --cols: 1; } }

.cr-logos-label { margin: 0 0 26px !important; color: var(--muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-align: center; text-transform: uppercase; }

.cr-logos { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: center; gap: 14px; }

.cr-logos > * {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 78px;
	margin: 0 !important;
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--surface);
	transition: border-color 0.3s, transform 0.3s;
}

.cr-logos > *:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.cr-logos img { width: auto; max-width: 100%; max-height: 32px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.72; transition: opacity 0.3s; }
html[data-theme="light"] .cr-logos img { filter: brightness(0); opacity: 0.55; }
.cr-logos > *:hover img { opacity: 1; }

@media (max-width: 900px) { .cr-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cr-certs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.cr-certs > * { margin: 0 !important; }
.cr-cert { text-align: center; }
.cr-cert figure, .cr-cert .wp-block-image { margin: 0 0 12px !important; }

.cr-cert img {
	width: 100%;
	max-width: 124px;
	height: auto;
	aspect-ratio: 225 / 220;
	margin-inline: auto;
	object-fit: contain;
	filter: drop-shadow(0 0 22px rgba(139, 92, 246, 0.5)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.5));
	transition: transform 0.35s var(--ease);
}

.cr-cert:hover img { transform: translateY(-6px) scale(1.04); }
.cr-cert p { margin: 0; color: var(--text); font-size: 0.82rem; font-weight: 500; line-height: 1.35; }

@media (max-width: 1024px) { .cr-certs { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 480px) { .cr-certs { gap: 18px 10px; } .cr-cert p { font-size: 0.68rem; } }

.cr-shot {
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--r);
	background: var(--surface);
	transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.cr-shot:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.cr-shot img {
	width: 100%;
	aspect-ratio: 16 / 10;
	padding: 12px;
	object-fit: contain;
	background: linear-gradient(160deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.05));
	border-bottom: 1px solid var(--border);
}

.cr-shot__body { padding: 22px 24px 24px; }
.cr-shot__body h3 { font-size: 1.05rem; }
.cr-shot__body p { margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.cr-quote {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0 !important;
	padding: clamp(26px, 2.8vw, 34px);
	border: 1px solid var(--border);
	border-radius: var(--r);
	background: linear-gradient(180deg, rgba(139, 92, 246, 0.09), rgba(255, 255, 255, 0) 40%), var(--surface);
	transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.cr-quote:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.cr-quote::before {
	content: "";
	display: block;
	width: 34px;
	height: 34px;
	margin-bottom: 18px;
	background: var(--grad);
	-webkit-mask: url("../icons/quote.svg") center / contain no-repeat;
	mask: url("../icons/quote.svg") center / contain no-repeat;
}

.cr-quote__text { flex: 1; color: var(--heading); font-size: 1rem; line-height: 1.72; }

.cr-quote__who {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.cr-quote__who > * { margin: 0 !important; }
.cr-quote__who img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.5); }
.cr-quote__who p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.cr-quote__who p strong { display: block; color: var(--heading); font-size: 0.98rem; }
.cr-center-quote { max-width: 860px; margin-inline: auto; }
.cr-center-quote .cr-quote__text { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.26rem); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.cr-faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }

.cr-faq .wp-block-details, .cr-faq details {
	margin: 0 !important;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--surface);
	transition: border-color 0.3s, background-color 0.3s;
}

.cr-faq details[open] {
	border-color: var(--border-strong);
	background: linear-gradient(180deg, rgba(139, 92, 246, 0.09), transparent 70%), var(--surface);
}

.cr-faq summary {
	position: relative;
	display: block;
	padding: 20px 64px 20px 24px;
	color: var(--heading);
	font-family: var(--font-display);
	font-size: 1.04rem;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.cr-faq summary::-webkit-details-marker { display: none; }

.cr-faq summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--chip-bg);
	transform: translateY(-50%);
}

.cr-faq summary::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 25px;
	z-index: 1;
	width: 16px;
	height: 16px;
	background: var(--violet-l);
	-webkit-mask: url("../icons/chevron-down.svg") center / contain no-repeat;
	mask: url("../icons/chevron-down.svg") center / contain no-repeat;
	transform: translateY(-50%);
	transition: transform 0.3s var(--ease);
}

.cr-faq details[open] summary::before { transform: translateY(-50%) rotate(180deg); }
.cr-faq details > :not(summary) { margin: 0 0 20px; padding: 0 64px 0 24px; }
.cr-faq details > p + p { margin-top: -8px; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cr-cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(48px, 6vw, 84px) clamp(24px, 5vw, 80px);
	border: 1px solid rgba(196, 181, 253, 0.3);
	border-radius: 30px;
	background:
		radial-gradient(ellipse 62% 72% at 50% 132%, transparent 58%, rgba(221, 214, 254, 0.75) 59%, rgba(139, 92, 246, 0.45) 60%, transparent 66%),
		radial-gradient(600px 320px at 100% 0%, rgba(232, 121, 249, 0.3), transparent 60%),
		radial-gradient(600px 320px at 0% 100%, rgba(79, 70, 229, 0.45), transparent 60%),
		#0b0a24;
	box-shadow: 0 40px 100px -40px rgba(124, 58, 237, 0.8);
	text-align: center;
}

.cr-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(196, 181, 253, 0.35) 1px, transparent 1.4px);
	background-size: 18px 18px;
	-webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, transparent 30%, #000 100%);
	mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, transparent 30%, #000 100%);
	opacity: 0.5;
}

.cr-cta h2 { max-width: 22ch; margin-inline: auto; }
.cr-cta .cr-lead, .cr-cta p { max-width: 62ch; margin-inline: auto; }
.cr-cta .wp-block-buttons { justify-content: center; }
.cr-cta__meta { margin: 24px auto 0 !important; color: var(--muted) !important; font-size: 0.9rem; }
.cr-cta__meta a { color: #fff !important; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.cr-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0 !important;
	padding: clamp(28px, 3vw, 38px);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	background: var(--surface);
}

.cr-plan.is-featured {
	border: 1.5px solid transparent;
	background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--grad) border-box;
	box-shadow: 0 30px 80px -30px rgba(139, 92, 246, 0.75);
}

.cr-plan__badge {
	position: absolute;
	top: -14px;
	left: 50%;
	margin: 0 !important;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--grad-btn);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transform: translateX(-50%);
	white-space: nowrap;
}

.cr-plan h3 { margin-bottom: 4px; font-size: 1.3rem; }
.cr-plan__price { margin: 16px 0 4px !important; color: var(--heading); font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.cr-plan__price small { color: var(--muted); font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; }
.cr-plan__for { color: var(--muted); font-size: 0.92rem; }
.cr-plan .cr-checklist { flex: 1; margin-top: 12px; }
.cr-plan .wp-block-buttons { margin-top: 26px; }
.cr-plan .wp-block-button, .cr-plan .wp-block-button__link { width: 100%; }

/* --------------------------------------------------------------------------
   Prose
   -------------------------------------------------------------------------- */

.cr-prose { color: var(--text); font-size: 1.06rem; line-height: 1.8; }
.cr-prose > * { margin-top: 0; }
.cr-prose h2 { margin-top: 1.9em; font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem); }
.cr-prose h3 { margin-top: 1.6em; font-size: 1.22rem; }
.cr-prose > h2:first-child, .cr-prose > h3:first-child { margin-top: 0; }
.cr-prose ul, .cr-prose ol { padding-left: 0; list-style: none; }
.cr-prose ul li, .cr-prose ol li { position: relative; padding-left: 32px; }

.cr-prose ul li::before {
	content: "";
	position: absolute;
	top: 0.42em;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: var(--grad-icon);
}

.cr-prose ul li::after {
	content: "";
	position: absolute;
	top: calc(0.42em + 5px);
	left: 5px;
	width: 10px;
	height: 10px;
	background: #fff;
	-webkit-mask: url("../icons/check.svg") center / contain no-repeat;
	mask: url("../icons/check.svg") center / contain no-repeat;
}

.cr-prose ol { counter-reset: cr-ol; }
.cr-prose ol li { counter-increment: cr-ol; }

.cr-prose ol li::before {
	content: counter(cr-ol);
	position: absolute;
	top: 0.2em;
	left: 0;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 7px;
	background: var(--grad-icon);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
}

.cr-prose .wp-block-embed, .cr-prose figure { margin-block: 1.8em; }

.cr-prose .wp-block-embed__wrapper {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--border-strong);
	border-radius: var(--r);
	background: #000;
	box-shadow: 0 30px 70px -30px rgba(124, 58, 237, 0.75);
}

.cr-prose .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.cr-prose img { border-radius: var(--r); }
.cr-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--violet); color: var(--heading); font-size: 1.1rem; }
.cr-prose hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--border); }
.cr-prose table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 0.96rem; }
.cr-prose th, .cr-prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }

.cr-callout {
	padding: 22px 24px;
	border: 1px solid var(--border-strong);
	border-left: 3px solid var(--violet);
	border-radius: var(--r-sm);
	background: var(--chip-bg);
	color: var(--heading);
}

.cr-callout > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Header: floating glass pill
   -------------------------------------------------------------------------- */

.cr-site-header {
	position: fixed;
	top: var(--header-top);
	right: 0;
	left: 0;
	z-index: 100;
	pointer-events: none;
}

.admin-bar .cr-site-header { top: calc(var(--header-top) + 32px); }
@media (max-width: 782px) { .admin-bar .cr-site-header { top: calc(var(--header-top) + 46px); } }

.cr-site-header > .cr-container { max-width: calc(var(--container) + 40px + 2 * var(--gutter)); }

.cr-header-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	height: var(--header-h);
	padding-inline: 22px 14px;
	border: 1px solid var(--border);
	border-radius: 20px;
	background: var(--header-bg);
	box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
	-webkit-backdrop-filter: saturate(160%) blur(18px);
	backdrop-filter: saturate(160%) blur(18px);
	pointer-events: auto;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.cr-site-header.is-scrolled .cr-header-inner {
	border-color: var(--border-strong);
	box-shadow: 0 16px 50px -20px rgba(76, 29, 149, 0.6);
}

.cr-logo { display: inline-flex; flex: none; align-items: center; }
.cr-logo img { width: auto; height: 26px; }
.cr-logo .cr-logo--dark { display: none; }
html[data-theme="light"] .cr-logo .cr-logo--dark { display: block; }
html[data-theme="light"] .cr-logo .cr-logo--light { display: none; }

@media (max-width: 480px) { .cr-logo img { height: 21px; } }

.cr-nav { margin-left: auto; }

.cr-nav__list { display: flex; align-items: center; gap: 2px; margin: 0 !important; padding: 0 !important; list-style: none; }
.cr-nav__list > li { position: relative; margin: 0 !important; }

.cr-nav__list > li > a,
.cr-nav__list > li > .cr-nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border: 0;
	border-radius: 11px;
	background: none;
	color: var(--heading);
	font-family: var(--font-display);
	font-size: 0.93rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.cr-nav__list > li > a:hover,
.cr-nav__list > li > .cr-nav__toggle:hover,
.cr-nav__list > li.is-open > .cr-nav__toggle { background: var(--chip-bg); color: var(--heading); }

.cr-nav__list > li.current-menu-item > a,
.cr-nav__list > li.current-menu-ancestor > a,
.cr-nav__list > li.current-menu-ancestor > .cr-nav__toggle { color: var(--violet-l); }

html[data-theme="light"] .cr-nav__list > li.current-menu-item > a,
html[data-theme="light"] .cr-nav__list > li.current-menu-ancestor > .cr-nav__toggle { color: var(--violet-d); }

.cr-nav__toggle::after {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("../icons/chevron-down.svg") center / contain no-repeat;
	mask: url("../icons/chevron-down.svg") center / contain no-repeat;
	transition: transform 0.2s var(--ease);
}

.cr-nav__list > li.is-open > .cr-nav__toggle::after { transform: rotate(180deg); }

.cr-nav__panel {
	position: absolute;
	top: calc(100% + 18px);
	left: 50%;
	min-width: 320px;
	padding: 10px;
	border: 1px solid var(--border-strong);
	border-radius: var(--r);
	background: var(--surface-solid);
	box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.75);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}

.cr-nav__panel::before { content: ""; position: absolute; top: -20px; right: 0; left: 0; height: 20px; }

.cr-nav__list > li.is-open > .cr-nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (hover: hover) and (min-width: 1101px) {
	.cr-nav__list > li:hover > .cr-nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}

.cr-nav__panel--wide { width: min(740px, calc(100vw - 48px)); }
.cr-nav__panel ul { display: grid; gap: 2px; margin: 0 !important; padding: 0 !important; list-style: none; }
.cr-nav__panel--wide ul { grid-template-columns: 1fr 1fr; }
.cr-nav__panel li { margin: 0 !important; }

.cr-nav__panel a {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 11px 12px;
	border-radius: 12px;
	color: var(--heading);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

/* Icon tile: the span keeps its own mask off; the glyph is drawn by ::after */
.cr-nav__panel a .cr-icon {
	position: relative;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--chip-bg);
	-webkit-mask: none;
	mask: none;
	transition: background-color 0.2s;
}

.cr-nav__panel a .cr-icon::after {
	content: "";
	position: absolute;
	inset: 8px;
	background: var(--violet-l);
	-webkit-mask: var(--i) center / contain no-repeat;
	mask: var(--i) center / contain no-repeat;
}

html[data-theme="light"] .cr-nav__panel a .cr-icon::after { background: var(--violet-d); }

.cr-nav__panel a small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.8rem; font-weight: 400; line-height: 1.4; }
.cr-nav__panel a:hover, .cr-nav__panel .current-menu-item > a { background: var(--chip-bg); }
.cr-nav__panel a:hover .cr-icon { background: var(--grad-icon); }
.cr-nav__panel a:hover .cr-icon::after { background: #fff; }

.cr-nav__panel-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 8px 2px 0;
	padding: 12px 12px 4px;
	border-top: 1px solid var(--border);
	font-size: 0.86rem;
}

.cr-nav__panel-foot span { color: var(--muted); }

.cr-header-actions { display: flex; flex: none; align-items: center; gap: 10px; }

.cr-theme-toggle,
.cr-menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--surface);
	color: var(--heading);
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.cr-theme-toggle:hover, .cr-menu-btn:hover { border-color: var(--border-strong); background: var(--chip-bg); }
.cr-theme-toggle .cr-icon, .cr-menu-btn .cr-icon { width: 19px; height: 19px; }
.cr-theme-toggle .cr-i-moon { display: none; }
html[data-theme="light"] .cr-theme-toggle .cr-i-moon { display: inline-block; }
html[data-theme="light"] .cr-theme-toggle .cr-i-sun { display: none; }

.cr-menu-btn { display: none; }
.cr-menu-btn .cr-i-x { display: none; }
.cr-nav-open .cr-menu-btn .cr-i-x { display: inline-block; }
.cr-nav-open .cr-menu-btn .cr-i-menu { display: none; }
.cr-nav__mobile-cta { display: none; }

@media (max-width: 1100px) {
	:root { --header-h: 64px; --header-top: 10px; }

	.cr-menu-btn { display: inline-flex; }
	.cr-header-cta { display: none; }
	.cr-header-actions { margin-left: auto; }
	.cr-header-inner { padding-inline: 16px 10px; }

	.cr-nav {
		position: fixed;
		top: calc(var(--header-top) + var(--header-h) + 10px);
		right: var(--gutter);
		left: var(--gutter);
		z-index: 99;
		max-height: calc(100vh - var(--header-h) - 40px);
		margin: 0;
		padding: 10px 16px 20px;
		overflow-y: auto;
		border: 1px solid var(--border-strong);
		border-radius: var(--r);
		background: var(--surface-solid);
		box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.8);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
		pointer-events: auto;
	}

	.admin-bar .cr-nav { top: calc(var(--header-top) + var(--header-h) + 56px); }
	.cr-nav-open .cr-nav { opacity: 1; visibility: visible; transform: none; }
	.cr-nav-open { overflow: hidden; }

	.cr-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.cr-nav__list > li { border-bottom: 1px solid var(--border); }
	.cr-nav__list > li:last-child { border-bottom: 0; }

	.cr-nav__list > li > a,
	.cr-nav__list > li > .cr-nav__toggle {
		justify-content: space-between;
		width: 100%;
		padding: 15px 4px;
		border-radius: 0;
		font-size: 1.02rem;
		font-weight: 600;
	}

	.cr-nav__list > li > a:hover,
	.cr-nav__list > li > .cr-nav__toggle:hover,
	.cr-nav__list > li.is-open > .cr-nav__toggle { background: none; }

	.cr-nav__panel, .cr-nav__panel--wide {
		position: static;
		display: none;
		width: auto;
		min-width: 0;
		margin: 0 0 12px;
		padding: 4px;
		border: 0;
		background: var(--chip-bg);
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.cr-nav__panel::before { display: none; }
	.cr-nav__list > li.is-open > .cr-nav__panel { display: block; transform: none; }
	.cr-nav__panel--wide ul { grid-template-columns: 1fr; }
	.cr-nav__panel a { align-items: center; }
	.cr-nav__panel a small { display: none; }
	.cr-nav__mobile-cta { display: block !important; margin-top: 16px; }
	.cr-nav__mobile-cta .cr-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.cr-site-footer {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 7vw, 96px) 0 30px;
	background: radial-gradient(800px 300px at 50% 0%, rgba(124, 58, 237, 0.24), transparent 70%), #04040f;
	color: var(--text);
	font-size: 0.95rem;
}

.cr-site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	right: 10%;
	left: 10%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.85), rgba(34, 211, 238, 0.6), transparent);
}

.cr-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.cr-footer-brand img { width: auto; height: 26px; margin-bottom: 22px; }
.cr-footer-brand p { max-width: 36ch; color: var(--muted); }
.cr-footer-col h2 { margin: 4px 0 18px; color: var(--heading); font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.cr-footer-col ul { margin: 0; padding: 0; list-style: none; }
.cr-footer-col li + li { margin-top: 10px; }
.cr-site-footer a { color: var(--text); text-decoration: none; }
.cr-site-footer a:hover { color: #fff; }
.cr-footer-contact { display: grid; gap: 12px; margin-top: 24px; }
.cr-footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.cr-footer-contact .cr-icon { width: 18px; height: 18px; color: var(--violet-l); }

.cr-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: clamp(44px, 5vw, 64px);
	padding-top: 24px;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.86rem;
}

.cr-footer-bottom p { margin: 0; }

@media (max-width: 960px) { .cr-footer-grid { grid-template-columns: 1fr 1fr; } .cr-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .cr-footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Case studies
   -------------------------------------------------------------------------- */

.cr-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--r);
	background: var(--surface);
	transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cr-post-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 30px 70px -30px rgba(124, 58, 237, 0.65); }
.cr-post-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0a24; }
.cr-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cr-post-card__media.is-square img { object-fit: contain; background: #fff; }
.cr-post-card:hover .cr-post-card__media img { transform: scale(1.05); }

.cr-post-card__play {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px 5px 9px;
	border: 1px solid rgba(196, 181, 253, 0.3);
	border-radius: 999px;
	background: rgba(10, 8, 30, 0.82);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 600;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.cr-post-card__play .cr-icon { width: 12px; height: 12px; color: var(--violet-l); }
.cr-post-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }

.cr-post-card__tag {
	align-self: flex-start;
	margin: 0 0 12px !important;
	padding: 3px 10px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: var(--chip-bg);
	color: var(--heading);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-post-card__title { margin: 0 0 10px !important; font-size: 1.12rem !important; line-height: 1.35 !important; }
.cr-post-card__title a { color: var(--heading) !important; text-decoration: none; }
.cr-post-card__title a::after { content: ""; position: absolute; inset: 0; }
.cr-post-card__excerpt { margin: 0 0 16px !important; color: var(--text); font-size: 0.95rem; line-height: 1.6; }
.cr-post-card__more { margin-top: auto; color: var(--link); font-size: 0.92rem; font-weight: 600; }

.cr-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 44px; padding: 0; list-style: none; }
.cr-filter li { margin: 0 !important; }

.cr-filter button {
	padding: 10px 20px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--heading);
	font: 500 0.92rem/1.2 var(--font-display);
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.cr-filter button:hover { border-color: var(--border-strong); }
.cr-filter button[aria-pressed="true"] { border-color: transparent; background: var(--grad-btn); color: #fff; box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.85); }
.cr-post-card[hidden] { display: none; }

.cr-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 26px; color: var(--muted); font-size: 0.9rem; }
.cr-article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.cr-article-meta .cr-icon { width: 16px; height: 16px; color: var(--violet-l); }
.cr-article-cover { position: relative; z-index: 2; margin-top: calc(-1 * clamp(40px, 6vw, 84px)); }
.cr-article-cover img { width: 100%; border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: 0 40px 100px -40px rgba(124, 58, 237, 0.85); }
.cr-page-hero--article { padding-bottom: calc(clamp(64px, 7vw, 96px) + clamp(40px, 6vw, 84px)); }

.cr-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.cr-article-aside { position: sticky; top: calc(var(--header-h) + var(--header-top) + 24px); display: grid; gap: 20px; }
.cr-aside-card { padding: 26px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
.cr-aside-card h2 { margin-bottom: 10px; font-size: 1.12rem; }
.cr-aside-card p { font-size: 0.95rem; line-height: 1.6; }
.cr-aside-card .cr-btn { width: 100%; }

.cr-aside-card--dark {
	border-color: rgba(196, 181, 253, 0.3);
	background:
		radial-gradient(300px 200px at 100% 0%, rgba(232, 121, 249, 0.28), transparent 60%),
		radial-gradient(300px 200px at 0% 100%, rgba(79, 70, 229, 0.42), transparent 60%),
		#0b0a24;
	color: #bcbad8;
}

.cr-aside-card--dark h2 { color: #fff; }
.cr-aside-card ul { margin: 0; padding: 0; list-style: none; font-size: 0.94rem; }
.cr-aside-card li + li { margin-top: 8px; }
.cr-aside-card li a { text-decoration: none; }

@media (max-width: 1000px) { .cr-article-layout { grid-template-columns: 1fr; } .cr-article-aside { position: static; } }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.cr-form-card {
	position: relative;
	padding: clamp(26px, 3.2vw, 42px);
	border: 1px solid var(--border-strong);
	border-radius: var(--r-lg);
	background: linear-gradient(160deg, rgba(139, 92, 246, 0.13), rgba(255, 255, 255, 0.02) 50%), var(--surface-solid);
	box-shadow: 0 40px 100px -40px rgba(124, 58, 237, 0.75);
}

.cr-form-card h2 { font-size: 1.55rem; }
.cr-site .wpcf7 form { margin: 0; }
.cr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cr-form-grid .cr-field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .cr-form-grid { grid-template-columns: 1fr; } }

.cr-field label, .cr-field > p { display: block; margin: 0; color: var(--heading); font-size: 0.9rem; font-weight: 600; }
.cr-site .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 7px; }

.cr-site .wpcf7 input[type="text"],
.cr-site .wpcf7 input[type="email"],
.cr-site .wpcf7 input[type="tel"],
.cr-site .wpcf7 input[type="url"],
.cr-site .wpcf7 select,
.cr-site .wpcf7 textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--border-strong);
	border-radius: 12px;
	background: var(--input-bg);
	color: var(--heading);
	font: 400 1rem/1.5 var(--font-sans);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.cr-site .wpcf7 textarea { min-height: 140px; resize: vertical; }
.cr-site .wpcf7 input:focus, .cr-site .wpcf7 select:focus, .cr-site .wpcf7 textarea:focus { border-color: var(--violet-l); outline: none; box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.22); }
.cr-site .wpcf7 ::placeholder { color: var(--muted); }

.cr-site .wpcf7 input[type="submit"] {
	width: 100%;
	min-height: 54px;
	padding: 14px 24px;
	border: 0;
	border-radius: 14px;
	background: var(--grad-btn);
	color: #fff;
	font: 600 1rem/1.2 var(--font-display);
	cursor: pointer;
	box-shadow: 0 14px 30px -12px rgba(124, 58, 237, 0.85);
	transition: filter 0.2s, transform 0.2s;
}

.cr-site .wpcf7 input[type="submit"]:hover { filter: brightness(1.12); transform: translateY(-1px); }
.cr-site .wpcf7-not-valid-tip { margin-top: 6px; color: #f87171; font-size: 0.84rem; }
.cr-site .wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 0.94rem; }
.cr-site .wpcf7-spinner { display: block; margin: 12px auto 0; }
.cr-form-note { margin: 14px 0 0 !important; color: var(--muted); font-size: 0.84rem; text-align: center; }
.cr-page-hero .cr-form-card .cr-muted { color: var(--muted); }

.cr-contact-list { display: grid; gap: 18px; margin: 30px 0 0 !important; padding: 0 !important; list-style: none; }
.cr-contact-list li { position: relative; margin: 0 !important; padding-left: 60px; }

.cr-contact-list li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: var(--grad-icon);
	box-shadow: 0 10px 24px -10px rgba(139, 92, 246, 0.95);
}

.cr-contact-list .cr-icon { position: absolute; top: 12px; left: 12px; width: 20px; height: 20px; color: #fff; }
.cr-contact-list a, .cr-contact-list strong { color: var(--heading) !important; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.cr-center { text-align: center; }
.cr-mt-0 { margin-top: 0 !important; }
.cr-mb-0 { margin-bottom: 0 !important; }
.cr-mt-lg { margin-top: clamp(36px, 5vw, 56px) !important; }
.cr-muted { color: var(--muted); }
.cr-small { font-size: 0.9rem; }
.cr-divider { height: 1px; margin: 0; border: 0; background: var(--border); }

.cr-404 { padding-block: calc(var(--header-h) + 120px) clamp(96px, 12vw, 160px); text-align: center; }

.cr-404 .cr-404__code {
	margin: 0 0 8px;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--font-display);
	font-size: clamp(4.5rem, 3rem + 7vw, 9rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.05em;
}

.cr-js .cr-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.cr-js .cr-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cr-js .cr-reveal { opacity: 1; transform: none; transition: none; } }

.cr-site .cr-container > :last-child { margin-bottom: 0; }
.cr-nav-open iframe[title*="chat" i] { visibility: hidden !important; }

/* Service page "signs" card with the purple line illustration */
.cr-card--signs figure,
.cr-card--signs .wp-block-image { margin: 0 0 14px !important; }

.cr-card--signs img {
	width: 92px;
	height: 92px;
	object-fit: contain;
	filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

/* ==========================================================================
   v3 components
   ========================================================================== */

/* Cursor spotlight layer (JS sets --mx/--my) */
.cr-card {
	background:
		radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(139, 92, 246, 0.16), transparent 45%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 45%),
		var(--surface);
}

.cr-step, .cr-shot {
	background:
		radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(139, 92, 246, 0.14), transparent 45%),
		var(--surface);
}

.cr-quote {
	background:
		radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(139, 92, 246, 0.14), transparent 45%),
		linear-gradient(180deg, rgba(139, 92, 246, 0.09), rgba(255, 255, 255, 0) 40%),
		var(--surface);
}

/* Footer: brand + 3 link columns */
.cr-footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
.cr-footer-col__sub { margin-top: 30px !important; }
@media (max-width: 960px) { .cr-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cr-footer-grid { grid-template-columns: 1fr; } }

/* Announcement pill (hero) */
.cr-announce {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px !important;
	padding: 5px 14px 5px 5px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: rgba(139, 92, 246, 0.1);
	color: var(--heading);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.4;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: border-color 0.25s, background-color 0.25s;
}

.cr-announce:hover { border-color: var(--violet-l); background: rgba(139, 92, 246, 0.18); }
.cr-announce a { color: var(--heading) !important; text-decoration: none; }
.cr-announce a::after { content: " \2192"; color: var(--violet-l); }

.cr-announce strong {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--grad-btn);
	color: #fff !important;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Logo marquee */
.cr-marquee {
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.cr-marquee__track {
	display: flex;
	gap: 16px;
	width: max-content;
	animation: cr-marquee 45s linear infinite;
}

.cr-marquee:hover .cr-marquee__track { animation-play-state: paused; }

.cr-marquee__track > * {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 190px;
	height: 84px;
	margin: 0 !important;
	padding: 18px 24px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--surface);
}

.cr-marquee__track img {
	width: auto;
	max-width: 100%;
	max-height: 34px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.75;
}

@keyframes cr-marquee { to { transform: translateX(calc(-50% - 8px)); } }

@media (prefers-reduced-motion: reduce) {
	.cr-marquee__track { flex-wrap: wrap; justify-content: center; width: auto; animation: none; }
}

/* Tech marquee (text pills) */
.cr-tech .cr-marquee__track > * {
	width: auto;
	height: auto;
	padding: 10px 20px;
	border-radius: 999px;
	color: var(--heading);
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 500;
	white-space: nowrap;
}

.cr-tech .cr-marquee__track { animation-duration: 60s; }
.cr-tech--reverse .cr-marquee__track { animation-direction: reverse; }
.cr-tech + .cr-tech { margin-top: 14px !important; }

/* Bento grid */
.cr-bento {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 22px);
}

.cr-bento > * { margin: 0 !important; }
.cr-bento > .is-wide { grid-column: span 2; }

.cr-bento > .cr-card.is-wide {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 24px;
	align-items: center;
	border-color: var(--border-strong);
	background:
		radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(139, 92, 246, 0.18), transparent 45%),
		radial-gradient(600px 300px at 100% 100%, rgba(124, 58, 237, 0.3), transparent 60%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 45%),
		var(--surface);
}

.cr-bento .is-wide > * { margin: 0 !important; }
.cr-bento .is-wide > :first-child > :last-child { margin-bottom: 0; }
.cr-bento .is-wide figure { margin: 0 !important; }

.cr-bento .is-wide figure img {
	width: 100%;
	max-width: 240px;
	margin-inline: auto;
	filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.6));
}

@media (max-width: 1024px) {
	.cr-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.cr-bento { grid-template-columns: minmax(0, 1fr); }
	.cr-bento > .cr-card.is-wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
}

/* Product cards (big image) */
.cr-product {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	background:
		radial-gradient(460px circle at var(--mx, -999px) var(--my, -999px), rgba(139, 92, 246, 0.16), transparent 45%),
		var(--surface);
	transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cr-product:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 30px 80px -30px rgba(124, 58, 237, 0.65); }
.cr-product > figure, .cr-product > .wp-block-image { margin: 0 !important; overflow: hidden; }

.cr-product > figure img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-bottom: 1px solid var(--border);
	transition: transform 0.6s var(--ease);
}

.cr-product:hover > figure img { transform: scale(1.04); }

.cr-product__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(22px, 2.4vw, 30px);
}

.cr-product__body > :last-child { margin-bottom: 0; }
.cr-product__body .cr-chips { margin-bottom: 14px !important; }
.cr-product__body .cr-chips li { padding: 4px 12px; font-size: 0.78rem; }
.cr-product__body h3 { font-size: 1.3rem; }
.cr-product__body .cr-card__more { margin-top: auto; padding-top: 14px; }
.cr-product:has(.cr-card__more a) .cr-card__more a::before { content: ""; position: absolute; inset: 0; }

/* Result cards (client outcomes) */
.cr-result {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--r);
	background:
		radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(139, 92, 246, 0.16), transparent 45%),
		var(--surface);
	transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.cr-result:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.cr-result > figure, .cr-result > .wp-block-image { margin: 0 !important; }
.cr-result > figure img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-bottom: 1px solid var(--border); }
.cr-result__body { padding: 22px 24px 24px; }
.cr-result__body > :last-child { margin-bottom: 0; }

.cr-result__body .cr-result__num {
	margin: 0 0 2px !important;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--font-display);
	font-size: 2.3rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.cr-result__body .cr-result__label { margin: 0 0 12px !important; color: var(--heading); font-size: 0.95rem; font-weight: 600; }

.cr-result__body h3 {
	margin-bottom: 6px;
	color: var(--muted);
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-result__body p { font-size: 0.95rem; line-height: 1.6; }

/* Job cards */
.cr-jobs { display: grid; gap: 16px; }

.cr-job {
	position: relative;
	margin: 0 !important;
	padding: clamp(22px, 2.6vw, 32px);
	border: 1px solid var(--border);
	border-radius: var(--r);
	background:
		radial-gradient(500px circle at var(--mx, -999px) var(--my, -999px), rgba(139, 92, 246, 0.14), transparent 45%),
		var(--surface);
	transition: border-color 0.3s var(--ease);
}

.cr-job:hover { border-color: var(--border-strong); }

.cr-job__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.cr-job__head > * { margin: 0 !important; }
.cr-job__head h3 { margin-bottom: 10px !important; font-size: 1.35rem; }
.cr-job__head .cr-chips { margin: 0 !important; }
.cr-job__head .cr-chips li { padding: 4px 12px; font-size: 0.8rem; }
.cr-job__head .wp-block-buttons { margin: 0; }
.cr-job > p { margin: 16px 0 0; }
.cr-job details { margin: 18px 0 0; border-top: 1px solid var(--border); }

.cr-job summary {
	position: relative;
	padding: 16px 30px 0 0;
	color: var(--link);
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.cr-job summary::-webkit-details-marker { display: none; }

.cr-job summary::after {
	content: "";
	position: absolute;
	top: 19px;
	right: 0;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("../icons/chevron-down.svg") center / contain no-repeat;
	mask: url("../icons/chevron-down.svg") center / contain no-repeat;
	transition: transform 0.3s var(--ease);
}

.cr-job details[open] summary::after { transform: rotate(180deg); }
.cr-job details > :not(summary) { margin-top: 16px; }
.cr-job details h4 { margin-top: 18px; color: var(--heading); font-size: 0.95rem; }

/* Glow line divider */
.cr-glow-line {
	height: 1px;
	margin: 0;
	border: 0;
	background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.7), rgba(34, 211, 238, 0.5), transparent);
}

/* Homepage hero scale */
.cr-hero--home h1 { max-width: 15ch; font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.6rem); }

/* File upload (job application) */
.cr-site .wpcf7 input[type="file"] {
	width: 100%;
	padding: 10px;
	border: 1px dashed var(--border-strong);
	border-radius: 12px;
	background: var(--input-bg);
	color: var(--text);
	font: 400 0.92rem/1.4 var(--font-sans);
	cursor: pointer;
}

.cr-site .wpcf7 input[type="file"]::file-selector-button {
	margin-right: 14px;
	padding: 8px 16px;
	border: 0;
	border-radius: 9px;
	background: var(--grad-btn);
	color: #fff;
	font: 600 0.85rem/1.2 var(--font-display);
	cursor: pointer;
}
