/*
 * DevBytes theme effects — everything theme.json cannot express.
 * Tokens per DESIGN.md. Dark-only design.
 */

/* ===========================================================================
 * UNIVERSAL FOUNDATION — app-grade responsive baseline for every DevBytes page
 * ======================================================================== */

/* Brand display font, self-hosted (Impact is absent on Linux/Android) */
@font-face {
	font-family: "Anton";
	src: url("../fonts/anton.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	overflow-x: hidden;
	min-height: 100svh;
	padding-left: env(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

/* Comfortable tap targets everywhere (app-grade) */
button,
input,
select,
textarea,
.wp-block-button__link {
	min-height: 44px;
	font: inherit;
}

a,
button {
	touch-action: manipulation;
}

:focus-visible {
	outline: 2px solid #00d9ff;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

html {
	scroll-behavior: smooth;
}

body {
	background: #020509;
	-webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------------------
 * Hero background: two gradient layers over the hero image (set inline on the
 * section as --devbytes-hero-image so the media-library URL stays dynamic).
 * ------------------------------------------------------------------------- */
.hero-bg {
	/* One continuous vertical scrim over the whole section: it starts as dark
	   as the artwork's faded bottom edge and stays dark all the way through the
	   lead card and services areas, so there's no lighter band or drop. */
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.9) 100%);
	background-size: cover;
	background-position: center top;
}

/* The hero artwork is a dedicated layer that always renders at its native
   aspect ratio (full width), so it fits to scale identically on every view.
   A bottom fade blends its lower edge into the section for a natural look
   where the copy flows past it. */
.hero-art {
	position: absolute;
	inset-inline: 0;
	top: 0;
	aspect-ratio: 1632 / 768;
	background-image: var(--devbytes-hero-image, none);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	pointer-events: none;
}

/* Darken the artwork the way the original hero did (two gradient scrims over
   the image) so the copy stays readable against the bright blue glow. */
.hero-art::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.28) 65%, rgba(0, 0, 0, 0.75) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.82));
	pointer-events: none;
}

.hero-art::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 48%;
	background: linear-gradient(to top, #020509 0%, rgba(2, 5, 9, 0.62) 40%, rgba(2, 5, 9, 0) 100%);
	pointer-events: none;
}

/* 38px blueprint grid overlay */
.tech-grid {
	background-image:
		linear-gradient(var(--wp--custom--grid-line, rgba(0, 174, 255, 0.055)) 1px, transparent 1px),
		linear-gradient(90deg, var(--wp--custom--grid-line, rgba(0, 174, 255, 0.055)) 1px, transparent 1px);
	background-size: 38px 38px;
	position: absolute;
	inset: 0;
	opacity: 0.3;
	pointer-events: none;
}

/* Bottom fade inside the hero */
.hero-fade {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 14rem;
	background: linear-gradient(to top, #000000, transparent);
	pointer-events: none;
}

/* Angular "tech chip" corners on process cards */
.clip-tech {
	clip-path: polygon(0 0, 97% 0, 100% 18%, 100% 82%, 97% 100%, 0 100%, 2% 88%, 2% 12%);
}

/* ---------------------------------------------------------------------------
 * Neon shadows
 * ------------------------------------------------------------------------- */
.shadow-neon {
	box-shadow: 0 0 24px rgba(0, 174, 255, 0.35);
}

.shadow-neon-strong {
	box-shadow: 0 0 45px rgba(0, 174, 255, 0.5);
}

/* ---------------------------------------------------------------------------
 * Header: fixed, blurred, bordered. Body offsets by header height.
 * ------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 50;
	height: var(--wp--custom--header-height, 82px);
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border-bottom: 1px solid var(--wp--custom--border-blue--30, rgba(0, 170, 255, 0.3));
}

.has-fixed-header {
	padding-top: var(--wp--custom--header-height, 82px);
}

/* Logo */
.devbytes-logo {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 2.125rem;
	letter-spacing: -0.08em;
	color: var(--wp--preset--color--white);
	text-decoration: none;
	filter: drop-shadow(0 0 12px rgba(0, 174, 255, 0.35));
	white-space: nowrap;
}

.devbytes-logo .accent {
	color: var(--wp--preset--color--devblue);
}

.devbytes-logo .glyph {
	font-family: var(--wp--preset--font-family--mono);
	font-style: normal;
	font-size: 1.25rem;
	color: var(--wp--preset--color--devblue);
	margin-left: 0.375rem;
}

.site-header-inner {
	max-width: 1600px;
	margin: 0 auto;
	height: var(--wp--custom--header-height, 82px);
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 0 1.5rem;
}

@media (min-width: 1024px) {
	.site-header-inner {
		padding: 0 2.5rem;
	}
}

.devbytes-logo {
	margin-right: auto;
}

/* Desktop nav */
.site-nav {
	display: flex;
	gap: 1.4rem;
	align-items: center;
	font-size: 0.9375rem;
}

/* Services dropdown (hover/focus on desktop, toggle on touch) */
.nav-item.has-submenu {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.submenu-toggle {
	background: none;
	border: 0;
	color: var(--wp--preset--color--devblue);
	cursor: pointer;
	font-size: 0.8rem;
	padding: 0.25rem;
	min-height: 0;
}

.submenu {
	display: none;
	position: absolute;
	top: calc(100% + 0.9rem);
	left: -0.75rem;
	min-width: 230px;
	background: rgba(0, 0, 0, 0.95);
	border: 1px solid var(--wp--custom--border-blue--30, rgba(0, 170, 255, 0.3));
	border-radius: 0.75rem;
	box-shadow: 0 0 24px rgba(0, 174, 255, 0.2);
	padding: 0.5rem;
	z-index: 60;
}

/* Invisible hover bridge across the gap between trigger and panel */
.submenu::before {
	content: "";
	position: absolute;
	top: -1rem;
	left: 0;
	right: 0;
	height: 1rem;
}

.submenu a {
	display: block;
	padding: 0.6rem 0.9rem;
	border-radius: 0.5rem;
	font-weight: 600;
	border-bottom: 0 !important;
}

.submenu a:hover {
	background: rgba(0, 170, 255, 0.12);
	color: var(--wp--preset--color--devcyan);
}

@media (min-width: 1024px) {
	.nav-item.has-submenu:hover .submenu,
	.nav-item.has-submenu:focus-within .submenu,
	.submenu.is-open {
		display: block;
	}
}

@media (max-width: 1023px) {
	.nav-item.has-submenu {
		flex-wrap: wrap;
	}

	.submenu.is-open {
		display: block;
		position: static;
		width: 100%;
		border: 0;
		box-shadow: none;
		background: transparent;
		padding: 0 0 0 1rem;
	}
}

/* Location badge — xl and up only */
.location-badge {
	display: none;
	align-items: center;
	gap: 0.5rem;
}

@media (min-width: 1280px) {
	.location-badge {
		display: flex;
	}
}

.badge-glyph {
	color: var(--wp--preset--color--devblue);
	font-size: 1.5rem;
}

.badge-text {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

.badge-line1 {
	color: var(--wp--preset--color--devblue);
}

.badge-line2 {
	color: var(--wp--preset--color--slate-400);
}

/* Header CTA — md and up only */
.header-cta {
	display: none;
	padding: 0.75rem 1.25rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.125rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.header-cta {
		display: inline-block;
	}
}

/* Nav links */
.site-nav a {
	color: var(--wp--preset--color--slate-300);
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s;
}

.site-nav a:hover {
	color: var(--wp--preset--color--white);
}

.site-nav a[aria-current="page"],
.site-nav a.is-active {
	color: var(--wp--preset--color--devblue);
	border-bottom: 2px solid var(--wp--preset--color--devblue);
	padding-bottom: 0.5rem;
}

/* ---------------------------------------------------------------------------
 * Buttons — three DESIGN.md variants. All font-display via theme.json.
 * ------------------------------------------------------------------------- */
.btn-outline-neon .wp-block-button__link,
a.btn-outline-neon {
	background: transparent;
	border: 2px solid var(--wp--preset--color--devblue);
	color: var(--wp--preset--color--white);
	box-shadow: 0 0 24px rgba(0, 174, 255, 0.35);
	border-radius: 0.5rem;
	transition: background 0.2s, color 0.2s;
}

.btn-outline-neon .wp-block-button__link:hover,
a.btn-outline-neon:hover {
	background: var(--wp--preset--color--devblue);
	color: var(--wp--preset--color--black);
}

.btn-gradient .wp-block-button__link,
button.btn-gradient {
	background: linear-gradient(90deg, #00aaff 0%, #00d9ff 100%);
	color: var(--wp--preset--color--black);
	box-shadow: 0 0 24px rgba(0, 174, 255, 0.35);
	border: 0;
	border-radius: 0.5rem;
	transition: filter 0.2s;
}

.btn-gradient .wp-block-button__link:hover,
button.btn-gradient:hover {
	filter: brightness(1.1);
}

.btn-solid .wp-block-button__link {
	background: var(--wp--preset--color--devblue);
	color: var(--wp--preset--color--black);
	box-shadow: 0 0 24px rgba(0, 174, 255, 0.35);
	border-radius: 0.5rem;
	transition: background 0.2s;
}

.btn-solid .wp-block-button__link:hover {
	background: var(--wp--preset--color--devcyan);
}

/* ---------------------------------------------------------------------------
 * Cards & section furniture
 * ------------------------------------------------------------------------- */
.lead-card {
	background: rgba(0, 0, 0, 0.9);
	border: 1px solid var(--wp--custom--border-blue--80, rgba(0, 170, 255, 0.8));
	border-radius: 1rem;
	box-shadow: 0 0 45px rgba(0, 174, 255, 0.5);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	position: relative;
	z-index: 10;
}

.process-card {
	background: rgba(0, 0, 0, 0.7);
	border: 1px solid var(--wp--custom--border-blue--50, rgba(0, 170, 255, 0.5));
}

.icon-circle {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-inline: auto;
	border: 2px solid var(--wp--preset--color--devblue);
	border-radius: 9999px;
	color: var(--wp--preset--color--devblue);
	font-size: 1.5rem;
	box-shadow: 0 0 24px rgba(0, 174, 255, 0.35);
}

.eyebrow-mono {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--sm);
	letter-spacing: 0.25em;
	color: var(--wp--preset--color--devblue);
	text-transform: uppercase;
}

.accent-border-left {
	border-left: 4px solid var(--wp--preset--color--devcyan);
	padding-left: 1.25rem;
}

.accent-border-left-blue {
	border-left: 4px solid var(--wp--preset--color--devblue);
	padding-left: 1.25rem;
}

.contact-glow {
	position: relative;
	overflow: hidden;
}

.contact-glow::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 0%, rgba(0, 174, 255, 0.18), transparent 50%);
	pointer-events: none;
}

/* ---------------------------------------------------------------------------
 * Forms (lead-gen card)
 * ------------------------------------------------------------------------- */
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="url"] {
	width: 100%;
	border-radius: 0.5rem;
	border: 1px solid var(--wp--custom--border-blue--70, rgba(0, 170, 255, 0.7));
	background: var(--wp--preset--color--black);
	padding: 0.75rem 1rem;
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--white);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-form input:focus {
	border-color: var(--wp--preset--color--devcyan);
	box-shadow: 0 0 0 1px var(--wp--preset--color--devcyan);
}

.lead-form ::placeholder {
	color: var(--wp--preset--color--slate-400);
}

/* Honeypot field — visually hidden, still in the accessibility tree off */
.lead-form .db-field-website-url {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------------------------------------------------------------------------
 * Mobile menu (baseline had none — accessible disclosure pattern)
 * ------------------------------------------------------------------------- */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: 2px solid var(--wp--preset--color--devblue);
	border-radius: 0.5rem;
	color: var(--wp--preset--color--white);
	font-size: 1.25rem;
	line-height: 1;
	padding: 0.5rem 0.75rem;
	cursor: pointer;
}

@media (max-width: 1023px) {
	.site-nav {
		display: none;
	}

	.mobile-menu-toggle {
		display: inline-block;
	}

	.site-nav.is-open {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: var(--wp--custom--header-height, 82px);
		inset-inline: 0;
		background: rgba(0, 0, 0, 0.95);
		border-bottom: 1px solid var(--wp--custom--border-blue--30, rgba(0, 170, 255, 0.3));
		padding: 1.5rem;
		gap: 1.25rem;
	}
}

/* Screen-reader-only helper */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

/* ===========================================================================
 * Homepage sections (DESIGN.md structure)
 * ======================================================================== */

/* --- Hero ---------------------------------------------------------------- */
.hero-section {
	position: relative;
	min-height: min(900px, 100svh);
	overflow: hidden;
	padding-top: var(--wp--custom--header-height, 82px);
}

.hero-container {
	position: relative;
	max-width: 1600px;
	margin: 0 auto;
	padding: 1.75rem 1.5rem 4rem;
}

@media (min-width: 1024px) {
	.hero-container {
		padding-inline: 2.5rem;
	}
}

.hero-grid {
	display: grid;
	align-items: start;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
	.hero-grid {
		grid-template-columns: 1fr 380px;
	}
}

.hero-copy {
	max-width: 930px;
}

.hero-eyebrow {
	margin-bottom: 1.25rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--devblue);
	text-transform: uppercase;
}

.hero-h1 {
	font-size: clamp(3.4rem, 7vw, 7rem);
	text-wrap: balance;
	font-weight: 900;
	text-transform: uppercase;
	line-height: 0.82;
	letter-spacing: -0.035em;
	margin: 0;
	filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.8));
}

.hero-h1 .delivers {
	display: block;
	margin-top: 0.18em;
	font-size: clamp(3.2rem, 7vw, 7rem);
	font-style: italic;
	line-height: 0.9;
	letter-spacing: -0.045em;
	color: var(--wp--preset--color--devblue);
	filter: drop-shadow(0 0 24px rgba(0, 174, 255, 0.25));
}

.hero-taglines {
	margin-top: 1.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero-taglines .sep {
	color: var(--wp--preset--color--devblue);
}

.hero-lede {
	margin-top: 1.75rem;
	max-width: 650px;
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--wp--preset--color--slate-200);
}

.hero-lede strong {
	color: var(--wp--preset--color--white);
}

/* Mobile/tablet hero: tighten the stack under the headline. */
@media (max-width: 1023px) {
	.hero-container {
		padding-top: 1.5rem;
	}

	.hero-taglines {
		margin-top: 1rem;
	}

	.hero-lede {
		margin-top: 1rem;
	}
}

/* Lead-gen card */
.lead-card {
	padding: 1.5rem;
}

.lead-card h2 {
	font-size: 1.875rem;
	line-height: 1;
	margin: 0;
}

.lead-card .card-copy {
	margin-top: 0.75rem;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.5rem;
	color: var(--wp--preset--color--slate-300);
}

.lead-form {
	margin-top: 1.25rem;
	display: grid;
	gap: 0.75rem;
}

.lead-form button[type="submit"] {
	width: 100%;
	padding: 1rem 1.25rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
}

.trust-row {
	margin-top: 1rem;
	display: flex;
	justify-content: space-between;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 10px;
	color: var(--wp--preset--color--slate-400);
}

.form-feedback {
	font-size: var(--wp--preset--font-size--sm);
	margin-top: 0.5rem;
	min-height: 1.25rem;
}

.form-feedback.is-success { color: var(--wp--preset--color--devcyan); }
.form-feedback.is-error { color: #ff6b6b; }

/* --- Services strip (inside hero) ---------------------------------------- */
.services-strip {
	display: grid;
	grid-template-columns: 1fr;
	border-top: 1px solid var(--wp--custom--border-blue--50, rgba(0, 170, 255, 0.5));
	padding-top: 1.75rem;
	margin-top: 2.5rem;
}

@media (min-width: 640px) {
	.services-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.services-strip { grid-template-columns: repeat(6, 1fr); }
}

.service-col {
	padding: 1rem 1.25rem;
	text-align: center;
	border-right: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
}

.service-col:last-child { border-right: 0; }

.service-col h3 {
	font-size: 1.375rem;
	letter-spacing: 0.03em;
	margin: 0;
}

.service-col p {
	margin: 0.5rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--wp--preset--color--slate-200);
}

.service-col .icon-circle { margin-bottom: 0.75rem; }

.service-arrow {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.25rem 0.75rem;
	font-size: 1.5rem;
	color: var(--wp--preset--color--devblue);
	text-decoration: none;
}

/* --- Process -------------------------------------------------------------- */
.process-section {
	background: var(--wp--preset--color--bg-process);
	border-top: 1px solid var(--wp--custom--border-blue--30, rgba(0, 170, 255, 0.3));
	border-bottom: 1px solid var(--wp--custom--border-blue--30, rgba(0, 170, 255, 0.3));
}

.process-container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 3rem 1.5rem;
	display: grid;
	gap: 2rem;
	align-items: center;
	grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
	.process-container {
		grid-template-columns: 0.95fr 1.05fr;
		padding-inline: 2.5rem;
	}
}

.process-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--devblue);
	text-transform: uppercase;
}

.process-h2 {
	margin: 0.25rem 0 0;
	font-size: clamp(3rem, 5vw, 5rem);
	line-height: 1;
}

.process-h2 .arrow { color: var(--wp--preset--color--devblue); }

.process-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

@media (min-width: 768px) {
	.process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-card {
	padding: 1.25rem;
}

.process-card .glyph {
	color: var(--wp--preset--color--devblue);
	font-size: 1.5rem;
}

.process-card .step {
	margin-top: 0.5rem;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.875rem;
	color: var(--wp--preset--color--devblue);
}

.process-card h3 {
	font-size: 1.375rem;
	letter-spacing: 0.03em;
	margin: 0.25rem 0 0;
}

.process-card p {
	margin: 0.375rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--wp--preset--color--slate-200);
}

/* --- About ---------------------------------------------------------------- */
.about-section {
	background: var(--wp--preset--color--black);
	border-bottom: 1px solid var(--wp--custom--border-blue--20, rgba(0, 170, 255, 0.2));
}

.about-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 5rem 1.5rem;
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
	.about-container { grid-template-columns: 1fr 1fr; }
}

.about-h2 {
	margin-top: 1rem;
	font-size: 3rem;
	text-wrap: balance;
	line-height: 1;
}

.about-body {
	display: grid;
	gap: 1.25rem;
	color: var(--wp--preset--color--slate-300);
	align-content: start;
}

.about-body p { margin: 0; }

.local-seo-callout {
	font-weight: 700;
	color: var(--wp--preset--color--white);
}

/* --- Contact -------------------------------------------------------------- */
.contact-section {
	background: var(--wp--preset--color--bg-contact);
	border-bottom: 1px solid var(--wp--custom--border-blue--30, rgba(0, 170, 255, 0.3));
}

.contact-container {
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
	padding: 6rem 1.5rem;
	text-align: center;
}

.contact-eyebrow {
	font-family: var(--wp--preset--font-family--mono);
	letter-spacing: 0.3em;
	color: var(--wp--preset--color--devblue);
	text-transform: uppercase;
}

.contact-h2 {
	margin-top: 1rem;
	font-size: clamp(3.75rem, 8vw, 6rem);
	line-height: 1;
}

.contact-copy {
	max-width: 42rem;
	margin: 1.5rem auto 0;
	color: var(--wp--preset--color--slate-400);
}

.contact-cta {
	display: inline-block;
	margin-top: 2rem;
	padding: 1rem 2rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 0.5rem;
	background: var(--wp--preset--color--devblue);
	color: var(--wp--preset--color--black);
	box-shadow: 0 0 24px rgba(0, 174, 255, 0.35);
	transition: background 0.2s;
}

.contact-cta:hover {
	background: var(--wp--preset--color--devcyan);
	color: var(--wp--preset--color--black);
}

/* ===========================================================================
 * Blog (Phase 5)
 * ======================================================================== */

.blog-h1 {
	font-size: clamp(2.5rem, 1rem + 4vw, 4.5rem);
	line-height: 0.95;
	text-wrap: balance;
}

.post-grid .post-card {
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 1rem;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.25rem;
	height: 100%;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.post-grid .post-card:hover {
	border-color: var(--wp--custom--border-blue--70, rgba(0, 170, 255, 0.7));
	box-shadow: 0 0 24px rgba(0, 174, 255, 0.15);
}

.post-card .wp-block-post-title a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.post-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--devblue);
}

.post-card .wp-block-post-excerpt {
	color: var(--wp--preset--color--slate-300);
	font-size: var(--wp--preset--font-size--sm);
}

.post-card-date {
	margin: 0.75rem 0 0.25rem;
}

.post-single .post-meta {
	gap: 1rem;
	color: var(--wp--preset--color--slate-400);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--xs);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.post-single .post-meta a {
	color: var(--wp--preset--color--devblue);
	text-decoration: none;
}

.post-single .wp-block-post-title {
	font-size: clamp(2.25rem, 1rem + 3.5vw, 4rem);
	line-height: 0.95;
	margin-top: 0.75rem;
	text-wrap: balance;
}

.post-hero-image img {
	box-shadow: 0 0 45px rgba(0, 174, 255, 0.15);
}

/* Long-form reading styles */
.prose {
	color: var(--wp--preset--color--slate-200);
	font-size: var(--wp--preset--font-size--lg);
	line-height: 1.75;
}

.prose h2,
.prose h3 {
	margin-top: 2.5rem;
	text-wrap: balance;
}

.prose h2 { font-size: var(--wp--preset--font-size--3-xl); }
.prose h3 { font-size: var(--wp--preset--font-size--2-xl); }

.prose a {
	color: var(--wp--preset--color--devblue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose a:hover { color: var(--wp--preset--color--devcyan); }

.prose blockquote {
	border-left: 4px solid var(--wp--preset--color--devcyan);
	padding-left: 1.25rem;
	margin-inline: 0;
	color: var(--wp--preset--color--white);
	font-style: italic;
}

.prose code {
	font-family: var(--wp--preset--font-family--mono);
	background: #000;
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 0.375rem;
	padding: 0.125rem 0.375rem;
	font-size: 0.9em;
}

.prose pre {
	background: #000;
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 0.75rem;
	padding: 1.25rem;
	overflow-x: auto;
}

.prose img { border-radius: 0.75rem; }

.prose ul,
.prose ol { padding-left: 1.5rem; }

.post-footer-nav a {
	color: var(--wp--preset--color--devblue);
	text-decoration: none;
	font-family: var(--wp--preset--font-family--display);
	text-transform: uppercase;
}

/* Pagination */
.wp-block-query-pagination {
	font-family: var(--wp--preset--font-family--mono);
	margin-bottom: 3rem;
}

.wp-block-query-pagination a { color: var(--wp--preset--color--devblue); text-decoration: none; }
.wp-block-query-pagination .current { color: var(--wp--preset--color--white); }

/* Image wordmark in the header */
.devbytes-logo-img img {
	/* Explicit width/height attrs on the <img> set the intrinsic ratio;
	   max-height caps the visual size WITHOUT overriding that ratio, so the
	   reserved box and the rendered box stay consistent (no CLS). */
	display: block;
	width: auto;
	height: auto;
	max-height: 52px;
	filter: drop-shadow(0 0 12px rgba(0, 174, 255, 0.35));
}

@media (max-width: 480px) {
	.devbytes-logo-img img {
		max-height: 42px;
	}
}

.footer-logo img {
	/* Same pattern as the header logo: let the width/height attributes own
	   the aspect ratio; max-height only caps the display size. */
	width: auto;
	height: auto;
	max-height: 40px;
}

.footer-nav {
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.footer-nav a {
	color: var(--wp--preset--color--slate-300);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--sm);
}

.footer-nav a:hover {
	color: var(--wp--preset--color--devblue);
}

.page-h1 {
	font-size: clamp(2.5rem, 1rem + 4vw, 4.5rem);
	line-height: 0.95;
	text-wrap: balance;
}

/* ===========================================================================
 * Knowledge base / docs layout + editorial article patterns
 * ======================================================================== */

.kb-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 3rem;
	max-width: 1400px;
	margin: 0 auto;
	padding: 3rem 1.5rem;
}

@media (max-width: 1023px) {
	.kb-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.kb-sidebar {
	position: sticky;
	top: calc(var(--wp--custom--header-height, 82px) + 1.5rem);
	align-self: start;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 0.75rem;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.25rem;
}

@media (max-width: 1023px) {
	.kb-sidebar {
		position: static;
		max-height: none;
	}
}

.kb-sidebar-title a {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.375rem;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.kb-topic-label {
	margin: 1.25rem 0 0.25rem;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--devblue);
}

.kb-article-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kb-article-list a {
	display: block;
	padding: 0.45rem 0.6rem;
	border-radius: 0.5rem;
	color: var(--wp--preset--color--slate-300);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.4;
}

.kb-article-list a:hover {
	color: var(--wp--preset--color--white);
	background: rgba(0, 170, 255, 0.1);
}

.kb-article-list .is-current > a {
	color: var(--wp--preset--color--devcyan);
	background: rgba(0, 170, 255, 0.12);
	border-left: 3px solid var(--wp--preset--color--devblue);
}

.kb-empty {
	color: var(--wp--preset--color--slate-500);
	font-size: var(--wp--preset--font-size--xs);
	margin: 0.25rem 0 0;
}

.kb-h1 {
	font-size: clamp(2.25rem, 1rem + 3vw, 3.5rem);
	line-height: 1;
	text-wrap: balance;
}

.kb-card {
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 0.75rem;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.25rem;
	margin-top: 1rem;
	transition: border-color 0.2s;
}

.kb-card:hover {
	border-color: var(--wp--custom--border-blue--70, rgba(0, 170, 255, 0.7));
}

.kb-card .wp-block-post-title a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.kb-card .wp-block-post-title a:hover { color: var(--wp--preset--color--devblue); }

.kb-cta {
	margin-top: 3rem;
	border: 1px solid var(--wp--custom--border-blue--50, rgba(0, 170, 255, 0.5));
	border-radius: 1rem;
	background: rgba(0, 170, 255, 0.06);
	padding: 1.5rem;
}

.kb-topic-chip a,
.category-chip a {
	display: inline-block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--devblue);
	text-decoration: none;
	border: 1px solid var(--wp--custom--border-blue--50, rgba(0, 170, 255, 0.5));
	border-radius: 9999px;
	padding: 0.25rem 0.85rem;
	margin-right: 0.5rem;
}

.kb-topic-chip a:hover,
.category-chip a:hover {
	background: rgba(0, 170, 255, 0.12);
}

/* Editorial article header (SEL/SEJ patterns) */
.post-dek {
	font-size: 1.1875rem;
	font-weight: 300;
	color: var(--wp--preset--color--slate-300);
	margin-top: 0.75rem;
}

.byline {
	gap: 0.85rem;
	margin-top: 1.25rem;
}

.byline-avatar img {
	border-radius: 9999px;
	border: 2px solid var(--wp--custom--border-blue--50, rgba(0, 170, 255, 0.5));
}

.byline-name a {
	color: var(--wp--preset--color--white);
	font-weight: 700;
	text-decoration: none;
}

.byline-name a:hover { color: var(--wp--preset--color--devblue); }

.kb-updated {
	color: var(--wp--preset--color--slate-500);
}

.read-time {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--xs);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--slate-400);
}

/* Body links: brand bottom-border (reads better on dark) */
.prose a {
	text-decoration: none;
	border-bottom: 2px solid var(--wp--preset--color--devblue);
	padding-bottom: 1px;
}

.prose a:hover {
	color: var(--wp--preset--color--devcyan);
	border-bottom-color: var(--wp--preset--color--devcyan);
}

/* Author box + related grid */
.author-box {
	margin-top: 2rem;
	gap: 1rem;
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 1rem;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.5rem;
}

.author-box img { border-radius: 9999px; }

.author-bio-text {
	color: var(--wp--preset--color--slate-300);
	font-size: var(--wp--preset--font-size--sm);
	margin-top: 0.25rem;
}

.related-title {
	font-size: var(--wp--preset--font-size--2-xl);
	margin-top: 3rem;
}

.related-card { padding: 0.85rem; }

.kb-sublist {
	list-style: none;
	margin: 0.15rem 0 0.35rem;
	padding-left: 0.85rem;
	border-left: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
}

.kb-article-list .is-current-link {
	color: var(--wp--preset--color--devcyan);
	background: rgba(0, 170, 255, 0.12);
}

/* ===========================================================================
 * FAQ accordion (visible Q&A content — no FAQPage markup by design)
 * ======================================================================== */

.faq-section {
	margin-top: 2.5rem;
}

.faq-item {
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 0.75rem;
	background: rgba(0, 0, 0, 0.55);
	margin-top: 0.75rem;
	overflow: hidden;
}

.faq-item summary {
	cursor: pointer;
	padding: 1rem 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--white);
	list-style: none;
	position: relative;
	padding-right: 3rem;
	min-height: 44px;
}

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

.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--wp--preset--color--devblue);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.25rem;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item summary:hover { background: rgba(0, 170, 255, 0.08); }

.faq-item .faq-answer {
	padding: 0 1.25rem 1.25rem;
	color: var(--wp--preset--color--slate-300);
	line-height: 1.65;
}

/* ===========================================================================
 * Editorial content-box library — varied, scannable, fun to read.
 * Writers mix these at varied positions; all inherit .prose typography.
 * ======================================================================== */

/* Key takeaways / highlights (SEJ pattern) */
.box-highlights {
	border: 1px solid var(--wp--custom--border-blue--50, rgba(0, 170, 255, 0.5));
	border-radius: 1rem;
	background: rgba(0, 170, 255, 0.06);
	padding: 1.5rem;
	margin: 2rem 0;
}

.box-highlights .box-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
	margin: 0 0 0.75rem;
}

.box-highlights ul {
	margin: 0;
	padding-left: 1.25rem;
}

.box-highlights li::marker {
	content: "▪ ";
	color: var(--wp--preset--color--devblue);
}

/* Info callout (blue) and tip callout (cyan) */
.box-callout,
.box-tip {
	border-left: 4px solid var(--wp--preset--color--devblue);
	border-radius: 0 0.75rem 0.75rem 0;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
}

.box-tip {
	border-left-color: var(--wp--preset--color--devcyan);
	background: rgba(0, 217, 255, 0.05);
}

.box-callout .box-label,
.box-tip .box-label {
	display: block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--devblue);
	margin-bottom: 0.4rem;
}

.box-tip .box-label { color: var(--wp--preset--color--devcyan); }

/* Pull quote */
.pull-quote {
	border: 0;
	margin: 2.5rem 0;
	padding: 0 0 0 1.5rem;
	border-left: 4px solid var(--wp--preset--color--devblue);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.75rem;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
	font-style: normal;
}

.pull-quote cite {
	display: block;
	margin-top: 0.5rem;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	color: var(--wp--preset--color--slate-400);
}

/* Checklist box */
.box-checklist {
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 1rem;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.5rem;
	margin: 2rem 0;
}

.box-checklist ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.box-checklist li {
	padding-left: 1.75rem;
	position: relative;
	margin-bottom: 0.6rem;
}

.box-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--devcyan);
	font-weight: 700;
}

/* Numbered steps */
.steps-list {
	list-style: none;
	counter-reset: step;
	margin: 2rem 0;
	padding: 0;
}

.steps-list > li {
	counter-increment: step;
	position: relative;
	padding: 0 0 1.25rem 3.25rem;
}

.steps-list > li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--wp--preset--font-family--mono);
	color: var(--wp--preset--color--devblue);
	border: 1px solid var(--wp--custom--border-blue--50, rgba(0, 170, 255, 0.5));
	border-radius: 0.5rem;
	padding: 0.2rem 0.5rem;
	font-size: 0.875rem;
}

/* Tables in prose */
.prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	font-size: var(--wp--preset--font-size--sm);
}

.prose th {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--devblue);
	text-align: left;
	padding: 0.6rem 0.9rem;
	border-bottom: 2px solid var(--wp--custom--border-blue--50, rgba(0, 170, 255, 0.5));
}

.prose td {
	padding: 0.6rem 0.9rem;
	border-bottom: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	color: var(--wp--preset--color--slate-200);
}

/* Mid-content CTA band */
.cta-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	justify-content: space-between;
	border: 1px solid var(--wp--custom--border-blue--50, rgba(0, 170, 255, 0.5));
	border-radius: 1rem;
	background: linear-gradient(90deg, rgba(0, 170, 255, 0.1), rgba(0, 217, 255, 0.04));
	padding: 1.5rem;
	margin: 2.5rem 0;
}

.cta-band p {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.375rem;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
}

/* ===========================================================================
 * Blog sidebar layout
 * ======================================================================== */

.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

@media (min-width: 1100px) {
	.post-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

.post-sidebar {
	align-self: start;
}

@media (min-width: 1100px) {
	.post-sidebar {
		position: sticky;
		top: calc(var(--wp--custom--header-height, 82px) + 1.5rem);
	}
}

.sidebar-box {
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 1rem;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.25rem;
	margin-bottom: 1.25rem;
}

.sidebar-box .box-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--white);
}

.sidebar-box ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-box li {
	margin-bottom: 0.65rem;
	line-height: 1.4;
}

.sidebar-box a {
	color: var(--wp--preset--color--slate-300);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--sm);
}

.sidebar-box a:hover { color: var(--wp--preset--color--devcyan); }

.sidebar-box .sidebar-date {
	display: block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	color: var(--wp--preset--color--slate-500);
}

/* Learn hub topic sections */
.learn-topic-section {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
}

.learn-topic-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.learn-topic-head h2 {
	font-size: var(--wp--preset--font-size--3-xl);
	margin: 0;
}

.learn-topic-all {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--devblue);
	text-decoration: none;
}

.learn-topic-all:hover { color: var(--wp--preset--color--devcyan); }

.learn-topic-desc {
	color: var(--wp--preset--color--slate-400);
	margin: 0.5rem 0 0;
}

.learn-card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1.25rem;
}

@media (min-width: 768px) {
	.learn-card-grid { grid-template-columns: repeat(2, 1fr); }
}

.learn-card-grid .kb-card { margin-top: 0; }

.learn-card-grid .kb-card h3 {
	font-size: var(--wp--preset--font-size--xl);
	margin: 0 0 0.5rem;
}

.learn-card-grid .kb-card h3 a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.learn-card-grid .kb-card h3 a:hover { color: var(--wp--preset--color--devblue); }

.learn-card-grid .kb-card p {
	color: var(--wp--preset--color--slate-300);
	font-size: var(--wp--preset--font-size--sm);
	margin: 0 0 0.5rem;
}

/* ===========================================================================
 * Service-page hero band + showcase sections (competitor-teardown patterns)
 * ======================================================================== */

.service-hero {
	border-bottom: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	background: radial-gradient(circle at 20% 0%, rgba(0, 174, 255, 0.1), transparent 55%);
}

.service-hero-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 3rem 1.5rem 2.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	justify-content: space-between;
}

.service-hero-text { max-width: 760px; }

.service-hero-sub {
	color: var(--wp--preset--color--slate-300);
	font-size: var(--wp--preset--font-size--lg);
	margin-top: 0.75rem;
}

.service-hero-ctas {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.service-hero-cta {
	display: inline-block;
	padding: 0.9rem 1.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 0.5rem;
}

/* Honesty trust bar — our answer to fake guarantee bars */
.trust-bar {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	border: 1px solid var(--wp--custom--border-blue--30, rgba(0, 170, 255, 0.3));
	border-radius: 1rem;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
}

@media (min-width: 768px) {
	.trust-bar { grid-template-columns: repeat(3, 1fr); }
}

.trust-bar .trust-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
	color: var(--wp--preset--color--white);
}

.trust-bar .trust-item .glyph { color: var(--wp--preset--color--devcyan); font-size: 1.25rem; }

/* Showcase service cards (with sub-service links) */
.showcase-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 2rem 0;
}

@media (min-width: 768px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .showcase-grid { grid-template-columns: repeat(3, 1fr); } }

.showcase-card {
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 1rem;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.5rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.showcase-card:hover {
	border-color: var(--wp--custom--border-blue--70, rgba(0, 170, 255, 0.7));
	box-shadow: 0 0 24px rgba(0, 174, 255, 0.15);
}

.showcase-card .icon-circle { margin: 0 0 0.85rem; }

.showcase-card h3 { font-size: 1.375rem; margin: 0; }

.showcase-card h3 a { color: var(--wp--preset--color--white); text-decoration: none; }
.showcase-card h3 a:hover { color: var(--wp--preset--color--devblue); }

.showcase-card > p {
	color: var(--wp--preset--color--slate-300);
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.6;
	margin: 0.6rem 0 0.85rem;
}

.showcase-card .sub-links {
	list-style: none;
	margin: 0;
	padding: 0.75rem 0 0;
	border-top: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
}

.showcase-card .sub-links li { margin: 0.35rem 0; }

.showcase-card .sub-links a {
	color: var(--wp--preset--color--slate-300);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--sm);
	border-bottom: 0;
}

.showcase-card .sub-links a::before { content: "→ "; color: var(--wp--preset--color--devblue); }
.showcase-card .sub-links a:hover { color: var(--wp--preset--color--devcyan); }

/* Why-us value cards */
.value-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 2rem 0;
}

@media (min-width: 768px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 0.75rem;
	background: rgba(0, 0, 0, 0.45);
	padding: 1.25rem;
}

.value-card h3 { font-size: 1.125rem; margin: 0 0 0.4rem; color: var(--wp--preset--color--devcyan); }

.value-card p { margin: 0; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--slate-300); }

/* Homepage additions */
.home-band {
	max-width: 1600px;
	margin: 0 auto;
	padding: 3.5rem 1.5rem;
}

@media (min-width: 1024px) { .home-band { padding-inline: 2.5rem; } }

.home-band .band-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.home-band .band-head h2 { margin: 0; font-size: clamp(2rem, 1rem + 2.5vw, 3rem); }

@media (min-width: 1024px) {
	.learn-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.home-trust {
	border-top: 1px solid var(--wp--custom--border-blue--30, rgba(0, 170, 255, 0.3));
	border-bottom: 1px solid var(--wp--custom--border-blue--30, rgba(0, 170, 255, 0.3));
	background: var(--wp--preset--color--bg-process);
}

.home-trust .trust-bar { border: 0; background: transparent; margin: 0; }

.home-posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1rem;
}

@media (min-width: 768px) { .home-posts-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===========================================================================
 * CTA BUTTONS — rebuilt. These are the conversion elements; they must pop.
 * Appended last so they win over the earlier variant rules.
 * ======================================================================== */

.btn-gradient .wp-block-button__link,
button.btn-gradient,
.btn-solid .wp-block-button__link,
a.contact-cta,
a.service-hero-cta,
a.header-cta,
a.btn-outline-neon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	font-family: "Anton", Impact, "Arial Narrow", sans-serif;
	font-weight: 400;
	font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.3125rem);
	letter-spacing: 0.055em;
	text-transform: uppercase;
	line-height: 1;
	padding: 1.05em 1.9em;
	border-radius: 0.625rem;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

/* Arrow as a pseudo-element: correct metrics (Anton has no glyph for it)
   and it can animate. Literal arrows were removed from the copy. */
.btn-gradient .wp-block-button__link::after,
button.btn-gradient::after,
.btn-solid .wp-block-button__link::after,
a.contact-cta::after,
a.service-hero-cta::after,
a.header-cta::after,
a.btn-outline-neon::after {
	content: "\2192";
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.92em;
	line-height: 1;
	transform: translateX(0);
	transition: transform 0.18s ease;
}

.btn-gradient .wp-block-button__link:hover::after,
button.btn-gradient:hover::after,
.btn-solid .wp-block-button__link:hover::after,
a.contact-cta:hover::after,
a.service-hero-cta:hover::after,
a.header-cta:hover::after,
a.btn-outline-neon:hover::after {
	transform: translateX(0.28em);
}

/* --- Variant 1: gradient fill (primary conversion CTA) ------------------- */
.btn-gradient .wp-block-button__link,
button.btn-gradient {
	background: linear-gradient(135deg, #00d9ff 0%, #00aaff 55%, #0088e0 100%);
	color: #00131f;
	border: 0;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
	box-shadow:
		0 0 0 1px rgba(120, 235, 255, 0.55),
		0 2px 10px rgba(0, 0, 0, 0.45),
		0 0 22px rgba(0, 174, 255, 0.55),
		0 0 54px rgba(0, 174, 255, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gradient .wp-block-button__link:hover,
button.btn-gradient:hover {
	color: #00131f;
	transform: translateY(-2px);
	box-shadow:
		0 0 0 1px rgba(160, 243, 255, 0.85),
		0 4px 14px rgba(0, 0, 0, 0.5),
		0 0 30px rgba(0, 200, 255, 0.75),
		0 0 76px rgba(0, 174, 255, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* --- Variant 2: solid fill ---------------------------------------------- */
.btn-solid .wp-block-button__link,
a.contact-cta {
	background: var(--wp--preset--color--devblue);
	color: #00131f;
	border: 0;
	box-shadow:
		0 0 0 1px rgba(120, 235, 255, 0.45),
		0 2px 10px rgba(0, 0, 0, 0.45),
		0 0 22px rgba(0, 174, 255, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-solid .wp-block-button__link:hover,
a.contact-cta:hover {
	background: var(--wp--preset--color--devcyan);
	color: #00131f;
	transform: translateY(-2px);
	box-shadow:
		0 0 0 1px rgba(160, 243, 255, 0.8),
		0 4px 14px rgba(0, 0, 0, 0.5),
		0 0 32px rgba(0, 210, 255, 0.7),
		0 0 70px rgba(0, 174, 255, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* --- Variant 3: outlined neon (header / service hero) -------------------- */
a.btn-outline-neon,
a.header-cta,
a.service-hero-cta {
	background: rgba(0, 20, 35, 0.35);
	border: 2px solid var(--wp--preset--color--devblue);
	color: var(--wp--preset--color--white);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow:
		0 0 18px rgba(0, 174, 255, 0.4),
		inset 0 0 18px rgba(0, 174, 255, 0.12);
}

a.btn-outline-neon:hover,
a.header-cta:hover,
a.service-hero-cta:hover {
	background: var(--wp--preset--color--devblue);
	border-color: var(--wp--preset--color--devcyan);
	color: #00131f;
	transform: translateY(-2px);
	box-shadow:
		0 0 28px rgba(0, 200, 255, 0.7),
		0 0 64px rgba(0, 174, 255, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Header CTA runs a touch smaller so the bar stays balanced */
a.header-cta {
	font-size: 1.0625rem;
	padding: 0.8em 1.35em;
}

/* Pressed state + keyboard focus */
.btn-gradient .wp-block-button__link:active,
button.btn-gradient:active,
.btn-solid .wp-block-button__link:active,
a.contact-cta:active,
a.service-hero-cta:active,
a.header-cta:active,
a.btn-outline-neon:active {
	transform: translateY(0);
}

.btn-gradient .wp-block-button__link:focus-visible,
button.btn-gradient:focus-visible,
.btn-solid .wp-block-button__link:focus-visible,
a.contact-cta:focus-visible,
a.service-hero-cta:focus-visible,
a.header-cta:focus-visible,
a.btn-outline-neon:focus-visible {
	outline: 3px solid var(--wp--preset--color--devcyan);
	outline-offset: 3px;
}

/* Full-width submit inside the lead card */
.lead-form button[type="submit"] {
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.btn-gradient .wp-block-button__link,
	button.btn-gradient,
	.btn-solid .wp-block-button__link,
	a.contact-cta,
	a.service-hero-cta,
	a.header-cta,
	a.btn-outline-neon { transition: none; }
}

/* ===========================================================================
 * CTA CONTEXT SYSTEM — outlined neon is the house style; the accent color
 * and fill are keyed to the section each button sits in, so every button
 * reads against its own background and the hierarchy stays legible.
 * ======================================================================== */

/* Default everywhere: outlined neon on devblue */
.btn-gradient .wp-block-button__link,
button.btn-gradient,
.btn-solid .wp-block-button__link,
a.contact-cta,
a.service-hero-cta,
a.header-cta,
a.btn-outline-neon {
	background: rgba(0, 18, 32, 0.45);
	border: 2px solid var(--wp--preset--color--devblue);
	color: var(--wp--preset--color--white);
	text-shadow: none;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow:
		0 0 20px rgba(0, 174, 255, 0.45),
		inset 0 0 20px rgba(0, 174, 255, 0.1);
}

.btn-gradient .wp-block-button__link:hover,
button.btn-gradient:hover,
.btn-solid .wp-block-button__link:hover,
a.contact-cta:hover,
a.service-hero-cta:hover,
a.header-cta:hover,
a.btn-outline-neon:hover {
	background: var(--wp--preset--color--devblue);
	border-color: var(--wp--preset--color--devcyan);
	color: #00131f;
	transform: translateY(-2px);
	box-shadow:
		0 0 30px rgba(0, 200, 255, 0.75),
		0 0 68px rgba(0, 174, 255, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* --- Hero lead card: the single highest-intent action. Filled gradient so
       it outranks every other button on the page. --------------------------- */
.lead-form button[type="submit"] {
	background: linear-gradient(135deg, #00d9ff 0%, #00aaff 55%, #0088e0 100%);
	border: 2px solid rgba(140, 240, 255, 0.7);
	color: #00131f;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
	box-shadow:
		0 2px 10px rgba(0, 0, 0, 0.45),
		0 0 26px rgba(0, 174, 255, 0.6),
		0 0 62px rgba(0, 174, 255, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.lead-form button[type="submit"]:hover {
	background: linear-gradient(135deg, #5ce8ff 0%, #00c4ff 55%, #00a0f0 100%);
	border-color: rgba(190, 248, 255, 0.95);
	color: #00131f;
	box-shadow:
		0 4px 14px rgba(0, 0, 0, 0.5),
		0 0 36px rgba(0, 210, 255, 0.85),
		0 0 84px rgba(0, 174, 255, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* --- Inside tinted accent boxes (CTA bands, KB callout): the background is
       already blue, so outline would vanish — go solid cyan. --------------- */
.cta-band .wp-block-button__link,
.kb-cta .wp-block-button__link {
	background: var(--wp--preset--color--devcyan);
	border-color: var(--wp--preset--color--devcyan);
	color: #00131f;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow:
		0 2px 10px rgba(0, 0, 0, 0.4),
		0 0 26px rgba(0, 217, 255, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-band .wp-block-button__link:hover,
.kb-cta .wp-block-button__link:hover {
	background: #7af0ff;
	border-color: #7af0ff;
	color: #00131f;
	box-shadow:
		0 4px 14px rgba(0, 0, 0, 0.45),
		0 0 34px rgba(0, 217, 255, 0.8),
		0 0 76px rgba(0, 217, 255, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* --- Closing contact section (radial cyan glow bg): brightest, final ask -- */
.contact-section a.contact-cta {
	border-color: var(--wp--preset--color--devcyan);
	box-shadow:
		0 0 26px rgba(0, 217, 255, 0.6),
		inset 0 0 22px rgba(0, 217, 255, 0.12);
}

.contact-section a.contact-cta:hover {
	background: var(--wp--preset--color--devcyan);
	border-color: #aef4ff;
	box-shadow:
		0 0 38px rgba(0, 217, 255, 0.9),
		0 0 90px rgba(0, 217, 255, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* --- Service hero band (radial blue glow): cyan accent to separate it from
       the header button directly above it. -------------------------------- */
a.service-hero-cta {
	border-color: var(--wp--preset--color--devcyan);
	box-shadow:
		0 0 22px rgba(0, 217, 255, 0.5),
		inset 0 0 20px rgba(0, 217, 255, 0.1);
}

/* --- Header bar (solid black, must stay quiet next to the logo) ---------- */
a.header-cta {
	background: rgba(0, 0, 0, 0.6);
	box-shadow:
		0 0 16px rgba(0, 174, 255, 0.35),
		inset 0 0 14px rgba(0, 174, 255, 0.08);
}

/* ===========================================================================
 * Pricing cards + contact grid
 * ======================================================================== */

.pricing-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin: 2rem 0;
	align-items: stretch;
}

@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--wp--custom--border-blue--30, rgba(0, 170, 255, 0.3));
	border-radius: 1rem;
	background: rgba(0, 0, 0, 0.55);
	padding: 1.75rem 1.5rem 1.5rem;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.price-card:hover {
	border-color: var(--wp--custom--border-blue--70, rgba(0, 170, 255, 0.7));
	box-shadow: 0 0 28px rgba(0, 174, 255, 0.18);
}

.price-card.is-featured {
	border-color: var(--wp--preset--color--devcyan);
	background: linear-gradient(180deg, rgba(0, 170, 255, 0.1), rgba(0, 0, 0, 0.6));
	box-shadow: 0 0 40px rgba(0, 174, 255, 0.28);
}

.price-flag {
	position: absolute;
	top: -0.75rem;
	left: 1.5rem;
	margin: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #00131f;
	background: var(--wp--preset--color--devcyan);
	border-radius: 9999px;
	padding: 0.25rem 0.75rem;
}

.price-tier {
	margin: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--devblue);
}

.price-tag {
	margin: 0.35rem 0 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 3rem;
	line-height: 1;
	color: var(--wp--preset--color--white);
}

.price-tag span {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.95rem;
	color: var(--wp--preset--color--slate-400);
	letter-spacing: 0.05em;
}

.price-for {
	margin: 0.6rem 0 1rem;
	color: var(--wp--preset--color--slate-300);
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.5;
}

.price-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1rem 0 0;
	border-top: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	flex: 1 1 auto;
}

.price-list li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 0.55rem;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.5;
	color: var(--wp--preset--color--slate-200);
}

.price-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--devcyan);
	font-weight: 700;
}

.price-card .wp-block-buttons { margin-top: auto; }
.price-card .wp-block-button { width: 100%; }
.price-card .wp-block-button__link { width: 100%; font-size: 1rem; padding: 0.95em 1.2em; }

/* Contact page */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 1.5rem 0 2rem;
}

@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
	border: 1px solid var(--wp--custom--border-blue--25, rgba(0, 170, 255, 0.25));
	border-radius: 0.875rem;
	background: rgba(0, 0, 0, 0.5);
	padding: 1.25rem;
}

.contact-card p { margin: 0; }

.contact-card .contact-label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--devblue);
	margin-bottom: 0.4rem;
}

.contact-card .contact-note {
	margin-top: 0.5rem;
	font-size: var(--wp--preset--font-size--xs);
	line-height: 1.5;
	color: var(--wp--preset--color--slate-400);
}

/* Lead-card rendered standalone (shortcode) rather than in the hero grid */
.showcase-page .lead-card,
.page-single .lead-card {
	max-width: 520px;
	margin: 1.5rem 0 2rem;
}

/* Anchor offset so the fixed header doesn't cover jump targets */
[id] { scroll-margin-top: calc(var(--wp--custom--header-height, 82px) + 1rem); }
