/* =========================================================
   Pelve — main stylesheet
   Design tokens → reset → layout → components → blog → media
   ========================================================= */

:root {
	--bg: #0A0A0A;
	--bg-elev-1: #141414;
	--bg-elev-2: #1A1A1A;
	--border: #2A2A2A;
	--border-strong: #3A3A3A;
	--text: #FFFFFF;
	--text-dim: #A0A0A0;
	--text-muted: #6B6B6B;
	--accent: #00FF88;
	--accent-dim: rgba(0, 255, 136, 0.16);
	--accent-glow: rgba(0, 255, 136, 0.35);
	--radius-card: 12px;
	--radius-btn: 8px;
	--radius-pill: 999px;
	--container: 1200px;
	--container-narrow: 720px;
	--shadow-card: 0 1px 0 rgba(255,255,255,0.02) inset, 0 24px 48px -24px rgba(0,0,0,0.6);
	--shadow-glow: 0 0 0 1px rgba(0,255,136,0.4), 0 0 40px var(--accent-glow);
	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
a:hover { opacity: .85; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #000; }

/* ---------- a11y ---------- */
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 9999;
	background: var(--accent); color: #000; padding: 8px 12px; border-radius: var(--radius-btn);
	font-weight: 600;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (min-width: 768px) { .container { padding-inline: 40px; } }

.section { padding-block: 96px; position: relative; }
@media (max-width: 767px) { .section { padding-block: 64px; } }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--small { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 8px 0 16px; letter-spacing: -0.02em; font-weight: 700; }
.section-lede { color: var(--text-dim); font-size: 17px; max-width: 640px; }

.eyebrow {
	display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--accent); padding: 6px 10px;
	background: var(--accent-dim); border-radius: var(--radius-pill);
}

/* ---------- grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 22px; border-radius: var(--radius-btn);
	font-weight: 600; font-size: 15px; line-height: 1;
	transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
	white-space: nowrap; cursor: pointer; user-select: none;
}
.btn:hover { transform: translateY(-1px); opacity: 1; }
.btn:active { transform: translateY(0); }

.btn-primary {
	background: var(--accent); color: #000;
	box-shadow: 0 0 0 1px rgba(0,255,136,0.4), 0 12px 32px -10px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(0,255,136,0.6), 0 18px 40px -8px var(--accent-glow); }

.btn-ghost {
	background: transparent; color: var(--text);
	box-shadow: inset 0 0 0 1px var(--border-strong);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }

.btn-lg { padding: 18px 28px; font-size: 16px; }

/* ---------- header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10,10,10,0.7);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: padding .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-stuck {
	background: rgba(10,10,10,0.9);
	border-bottom-color: var(--border);
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding-block: 18px;
	transition: padding .25s var(--ease);
}
.site-header.is-stuck .header-inner { padding-block: 12px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { opacity: 1; color: var(--text); }
.brand-mark {
	width: 28px; height: 28px; border-radius: 8px;
	background: radial-gradient(circle at 30% 30%, var(--accent), #007a44 70%);
	box-shadow: 0 0 16px var(--accent-glow);
}
.brand-text { font-size: 18px; letter-spacing: -0.01em; }

.primary-nav { display: none; }
@media (min-width: 960px) { .primary-nav { display: block; } }
.primary-menu {
	list-style: none; padding: 0; margin: 0;
	display: flex; align-items: center; gap: 28px;
}
.primary-menu a {
	color: var(--text-dim); font-weight: 500; font-size: 15px;
}
.primary-menu a:hover, .primary-menu .current-menu-item a { color: var(--text); opacity: 1; }

.header-cta { display: none; }
@media (min-width: 960px) { .header-cta { display: inline-flex; padding: 10px 18px; font-size: 14px; } }

.nav-toggle {
	display: inline-flex; flex-direction: column; gap: 5px; padding: 8px;
	border-radius: 8px;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
	border-top: 1px solid var(--border);
	background: var(--bg);
	overflow: hidden;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .container { padding-block: 24px; }
.mobile-menu-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu-list a {
	display: block; padding: 12px 4px; color: var(--text); font-weight: 500; font-size: 18px;
	border-bottom: 1px solid var(--border);
}
.mobile-cta { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; isolation: isolate; }
@media (min-width: 768px) { .hero { padding: 120px 0 140px; } }
.hero-glow {
	position: absolute; inset: -20% -10% auto -10%; height: 80%; z-index: -1;
	background:
		radial-gradient(60% 60% at 70% 30%, rgba(0,255,136,0.18), transparent 60%),
		radial-gradient(50% 50% at 20% 80%, rgba(0,255,136,0.08), transparent 60%);
	filter: blur(20px);
	animation: hero-pulse 12s var(--ease) infinite alternate;
}
@keyframes hero-pulse {
	0% { opacity: .85; transform: translateY(0); }
	100% { opacity: 1; transform: translateY(-12px); }
}
.hero-grid {
	display: grid; gap: 56px; align-items: center;
	grid-template-columns: 1fr;
}
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

.hero-headline {
	font-size: clamp(36px, 6vw, 64px);
	line-height: 1.05; letter-spacing: -0.025em; font-weight: 800;
	margin: 16px 0 20px;
}
.hero-sub { font-size: 18px; color: var(--text-dim); max-width: 560px; margin: 0 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-trust {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; gap: 18px;
	color: var(--text-muted); font-size: 14px;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }

.hero-visual { display: flex; justify-content: center; }
.phone-frame {
	width: 100%; max-width: 340px; aspect-ratio: 9 / 18.5;
	border-radius: 44px;
	background: linear-gradient(180deg, #1A1A1A, #0F0F0F);
	box-shadow:
		inset 0 0 0 1px var(--border),
		inset 0 0 0 8px #050505,
		0 60px 80px -40px rgba(0,255,136,0.25),
		0 30px 60px -20px rgba(0,0,0,0.8);
	overflow: hidden; position: relative;
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; }
.phone-placeholder {
	position: absolute; inset: 12px; border-radius: 32px; background: #050505;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 16px; padding: 32px;
}
.phone-screen { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone-pulse {
	width: 160px; height: 160px; border-radius: 50%;
	background: radial-gradient(circle, rgba(0,255,136,0.18), transparent 70%);
	box-shadow: inset 0 0 0 2px var(--accent), 0 0 60px var(--accent-glow);
	animation: ring-pulse 4s ease-in-out infinite;
}
@keyframes ring-pulse {
	0%, 100% { transform: scale(0.92); opacity: .8; }
	50% { transform: scale(1.05); opacity: 1; }
}
.phone-label { color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.phone-sub { color: var(--text-dim); font-size: 14px; }

/* ---------- cards ---------- */
.card {
	background: var(--bg-elev-1);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 28px;
	box-shadow: var(--shadow-card);
	transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	box-shadow: var(--shadow-glow);
}
.card h3 { font-size: 18px; margin: 16px 0 8px; letter-spacing: -0.01em; font-weight: 600; }
.card p { color: var(--text-dim); margin: 0; }

.card-icon {
	width: 44px; height: 44px; border-radius: 10px;
	background: var(--accent-dim); color: var(--accent);
	display: inline-flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 22px; height: 22px; }

/* ---------- how it works ---------- */
.how-steps {
	list-style: none; padding: 0; margin: 0;
	display: grid; gap: 24px;
	grid-template-columns: 1fr;
	counter-reset: step;
	position: relative;
}
@media (min-width: 768px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-step {
	background: var(--bg-elev-1); border: 1px solid var(--border);
	border-radius: var(--radius-card); padding: 32px; position: relative;
}
.how-step h3 { margin: 16px 0 8px; font-size: 20px; font-weight: 600; }
.how-step p { color: var(--text-dim); margin: 0; }
.step-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	background: #000; color: var(--accent);
	box-shadow: 0 0 0 2px var(--accent), 0 0 24px var(--accent-glow);
	font-weight: 700;
}
@media (min-width: 768px) {
	.how-step:not(:last-child)::after {
		content: ''; position: absolute; top: 52px; right: -16px;
		width: 32px; height: 1px;
		background: linear-gradient(90deg, var(--accent), transparent);
	}
}

/* ---------- features ---------- */
.features-grid .feature-card { display: flex; flex-direction: column; align-items: flex-start; }

/* ---------- testimonials ---------- */
.testimonials-grid .testimonial-card {
	display: flex; flex-direction: column; gap: 16px; margin: 0;
}
.testimonials-grid .stars { display: inline-flex; gap: 2px; color: var(--accent); }
.testimonials-grid .stars svg { width: 16px; height: 16px; }
.testimonials-grid blockquote { margin: 0; color: var(--text); font-size: 16px; line-height: 1.55; }
.testimonials-grid figcaption { display: flex; flex-direction: column; gap: 2px; color: var(--text-dim); }
.testimonials-grid figcaption strong { color: var(--text); }
.testimonials-grid figcaption span { font-size: 13px; color: var(--text-muted); }

/* ---------- pricing ---------- */
.price-card { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; position: relative; }
.price-card .price { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin: 0; color: var(--text); display: inline-flex; align-items: baseline; gap: 4px; }
.price-card .price span { font-size: 24px; color: var(--text-dim); font-weight: 600; }
.price-card .price small { font-size: 14px; color: var(--text-dim); font-weight: 500; margin-left: 6px; }
.price-card--featured { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.price-card .badge {
	position: absolute; top: -12px; right: 20px;
	background: var(--accent); color: #000; padding: 4px 10px;
	border-radius: var(--radius-pill); font-size: 12px; font-weight: 700;
}
.price-card .btn { width: 100%; }

/* ---------- clinical ---------- */
.clinical-inner { max-width: 920px; margin-inline: auto; text-align: center; }
.clinical-inner .section-head { margin-inline: auto; text-align: center; }
.logo-row {
	list-style: none; padding: 0; margin: 32px 0 0;
	display: grid; gap: 16px;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .logo-row { grid-template-columns: repeat(5, 1fr); } }
.logo-row li {
	height: 56px; border-radius: var(--radius-card);
	background: var(--bg-elev-1); border: 1px solid var(--border);
	display: flex; align-items: center; justify-content: center;
	color: var(--text-dim); font-weight: 600; letter-spacing: 0.04em;
}

/* ---------- FAQ ---------- */
.faq-inner { max-width: 760px; margin-inline: auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
	background: var(--bg-elev-1); border: 1px solid var(--border);
	border-radius: var(--radius-card); padding: 20px 24px;
	transition: border-color .25s var(--ease);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
	cursor: pointer; list-style: none;
	font-weight: 600; font-size: 17px;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: '+'; color: var(--accent); font-size: 22px; line-height: 1;
	transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 12px 0 0; color: var(--text-dim); }

/* ---------- final CTA ---------- */
.section-final-cta { text-align: center; padding-block: 120px; position: relative; overflow: hidden; isolation: isolate; }
.final-cta-glow {
	position: absolute; inset: auto -20% -40% -20%; height: 80%; z-index: -1;
	background: radial-gradient(50% 50% at 50% 50%, rgba(0,255,136,0.18), transparent 70%);
	filter: blur(30px);
}
.final-cta-inner h2 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.025em; margin: 0 0 12px; line-height: 1.1; }
.final-cta-inner p { color: var(--text-dim); font-size: 18px; margin: 0 0 28px; }

/* ---------- footer ---------- */
.site-footer {
	background: var(--bg);
	border-top: 1px solid var(--border);
	padding-block: 64px 24px;
	margin-top: 64px;
}
.footer-grid {
	display: grid; gap: 32px;
	grid-template-columns: 1fr;
	align-items: start;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 2fr 1fr; } }
.footer-tagline { color: var(--text-dim); margin: 12px 0 0; }
.footer-menu {
	list-style: none; padding: 0; margin: 0;
	display: grid; gap: 12px;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .footer-menu { grid-template-columns: repeat(3, 1fr); } }
.footer-menu a { color: var(--text-dim); font-weight: 500; }
.footer-menu a:hover { color: var(--text); opacity: 1; }
.footer-cta { display: flex; justify-content: flex-start; }
@media (min-width: 768px) { .footer-cta { justify-content: flex-end; } }
.appstore-badge svg { height: 40px; width: auto; }
.footer-bottom {
	margin-top: 40px; padding-top: 24px;
	border-top: 1px solid var(--border);
	color: var(--text-muted); font-size: 13px;
}

/* ---------- blog archive ---------- */
.archive-head { max-width: 760px; margin-bottom: 48px; }
.archive-head h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.025em; margin: 8px 0 16px; line-height: 1.1; }

.post-grid { gap: 28px; }
.post-card {
	background: var(--bg-elev-1); border: 1px solid var(--border);
	border-radius: var(--radius-card); overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-glow); }
.post-card-media {
	display: block; aspect-ratio: 16 / 10; overflow: hidden;
	background: var(--bg-elev-2);
}
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-fallback {
	display: block; width: 100%; height: 100%;
	background: radial-gradient(60% 60% at 50% 50%, rgba(0,255,136,0.15), transparent 70%), var(--bg-elev-2);
}
.post-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 13px; }
.post-card-meta time { color: var(--text-muted); }
.post-card-title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--accent); opacity: 1; }
.post-card-excerpt { color: var(--text-dim); margin: 0; font-size: 15px; }
.post-card-read { color: var(--text-muted); font-size: 13px; margin-top: auto; }

.tag {
	display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill);
	background: var(--accent-dim); color: var(--accent);
	font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}

/* ---------- single post ---------- */
.single-post { padding-bottom: 48px; }
.single-hero { padding-top: 56px; padding-bottom: 0; }
.single-hero-inner { max-width: var(--container-narrow); }
.breadcrumbs { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; display: inline-flex; gap: 8px; align-items: center; }
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--accent); opacity: 1; }
.single-title {
	font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.025em;
	font-weight: 800; margin: 12px 0 20px;
}
.single-meta { color: var(--text-muted); font-size: 14px; display: inline-flex; flex-wrap: wrap; gap: 8px; }
.single-feature { margin: 48px auto 0; max-width: 1080px; padding-inline: 24px; }
.single-feature img { width: 100%; border-radius: var(--radius-card); }

.single-body-wrap { max-width: var(--container-narrow); padding-top: 56px; }
.entry-content { color: var(--text); font-size: 18px; line-height: 1.7; }
.entry-content > * { margin-block: 24px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 28px; line-height: 1.25; margin-top: 48px; letter-spacing: -0.015em; font-weight: 700; }
.entry-content h3 { font-size: 22px; line-height: 1.3; margin-top: 36px; font-weight: 600; }
.entry-content h4 { font-size: 18px; font-weight: 600; margin-top: 28px; }
.entry-content p { color: var(--text); }
.entry-content a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 24px; color: var(--text); }
.entry-content li { margin-block: 8px; }
.entry-content blockquote {
	margin: 32px 0; padding: 20px 24px;
	border-left: 3px solid var(--accent);
	background: var(--bg-elev-1); border-radius: var(--radius-btn);
	color: var(--text); font-size: 19px; font-style: italic;
}
.entry-content code {
	background: var(--bg-elev-2); padding: 2px 6px; border-radius: 4px;
	font-size: 0.92em; border: 1px solid var(--border);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.entry-content pre {
	background: var(--bg-elev-2); border: 1px solid var(--border);
	padding: 20px; border-radius: var(--radius-card); overflow-x: auto;
}
.entry-content pre code { background: transparent; border: 0; padding: 0; }
.entry-content img, .entry-content figure { border-radius: var(--radius-card); }
.entry-content hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }

.single-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 24px; }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-elev-1); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 20px; }
.author-box .author-avatar img { border-radius: 50%; width: 56px; height: 56px; }
.author-box strong { color: var(--text); }
.author-box p { color: var(--text-dim); margin: 4px 0 0; font-size: 15px; }
.single-tags { color: var(--text-muted); font-size: 14px; }
.single-tags .tags-label { color: var(--text-dim); margin-right: 8px; }
.single-tags a { color: var(--accent); margin-right: 8px; }

/* ---------- in-content CTA banner ---------- */
.cta-banner {
	margin: 48px 0;
	background: linear-gradient(135deg, rgba(0,255,136,0.08), rgba(0,255,136,0.02));
	border: 1px solid var(--accent);
	border-radius: var(--radius-card); padding: 28px;
	box-shadow: 0 0 40px -10px var(--accent-glow);
}
.cta-banner-inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 768px) { .cta-banner-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; } }
.cta-banner h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.cta-banner p { margin: 0; color: var(--text-dim); }

/* ---------- pagination ---------- */
.pagination { margin-top: 56px; display: flex; justify-content: center; }
.pagination .nav-links { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border-radius: var(--radius-btn);
	background: var(--bg-elev-1); border: 1px solid var(--border);
	color: var(--text-dim); font-weight: 600; font-size: 14px;
}
.pagination .page-numbers:hover, .pagination .page-numbers.current {
	background: var(--accent); color: #000; border-color: var(--accent);
}

/* ---------- search form ---------- */
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-field {
	flex: 1; min-width: 0;
	background: var(--bg-elev-1); border: 1px solid var(--border);
	border-radius: var(--radius-btn); padding: 12px 16px;
	color: var(--text); outline: none;
	transition: border-color .2s var(--ease);
}
.search-field::placeholder { color: var(--text-muted); }
.search-field:focus { border-color: var(--accent); }
.search-form-wrap { margin-bottom: 32px; }

/* ---------- 404 ---------- */
.section-404 { padding-block: 120px; }
.error-inner { max-width: 600px; margin-inline: auto; text-align: center; }
.error-inner h1 { font-size: clamp(32px, 5vw, 56px); margin: 16px 0 12px; letter-spacing: -0.025em; line-height: 1.1; }
.error-inner p { color: var(--text-dim); font-size: 18px; margin: 0 0 28px; }
.error-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.error-search { max-width: 480px; margin-inline: auto; }

/* ---------- static page ---------- */
.page-hero { padding: 56px 0 8px; }
.page-title { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.025em; margin: 0; line-height: 1.1; }
.page-body-wrap { max-width: var(--container-narrow); padding-top: 32px; padding-bottom: 64px; }

.empty-state { color: var(--text-dim); padding: 48px 0; text-align: center; }

/* ---------- WP gallery / alignment helpers ---------- */
.alignleft { float: left; margin: 8px 24px 16px 0; }
.alignright { float: right; margin: 8px 0 16px 24px; }
.aligncenter { margin: 16px auto; display: block; }
.alignwide { max-width: min(100%, 1080px); margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }

/* ---------- prevent FOUC of mobile menu ---------- */
@media (min-width: 960px) { .mobile-menu { display: none !important; } }
