/* ============================================================
   MarketPulse design system
   ============================================================ */
:root {
	--mp-primary: #2563eb;
	--mp-primary-dark: #1e40af;
	--mp-accent: #ea580c;
	--mp-accent-dark: #c2410c;
	--mp-text: #0f172a;
	--mp-muted: #475569;
	--mp-faint: #94a3b8;
	--mp-border: #e2e8f0;
	--mp-bg: #ffffff;
	--mp-tint: #f8fafc;
	--mp-radius: 14px;
	--mp-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 28px -14px rgba(15, 23, 42, .16);
	--mp-shadow-lg: 0 2px 4px rgba(15, 23, 42, .06), 0 22px 48px -20px rgba(15, 23, 42, .22);
	--mp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mp-font-head: "Newsreader", Georgia, "Times New Roman", serif;
	--mp-wrap: 1180px;
	--mp-green: #16a34a;
	--mp-red: #dc2626;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--mp-font);
	color: var(--mp-text);
	background: var(--mp-bg);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1, h2 { font-family: var(--mp-font-head); font-weight: 600; letter-spacing: 0; }
h3, h4 { font-family: var(--mp-font); }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 750; margin-top: 1.8em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
a { color: var(--mp-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.mp-wrap { max-width: var(--mp-wrap); margin: 0 auto; padding: 0 24px; }
.mp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mp-skip { position: absolute; left: -9999px; top: 0; background: var(--mp-primary); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.mp-skip:focus { left: 0; color: #fff; }
.mp-lead { font-size: 1.15rem; color: var(--mp-muted); }
.mp-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--mp-primary); margin: 0 0 .8em; }

/* Buttons */
.mp-btn {
	display: inline-block; background: var(--mp-primary); color: #fff !important;
	padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 1rem;
	border: 0; cursor: pointer; text-decoration: none !important;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	box-shadow: 0 6px 18px -8px rgba(37, 99, 235, .55);
}
.mp-btn:hover { background: var(--mp-primary-dark); transform: translateY(-1px); }
.mp-btn--sm { padding: 9px 18px; font-size: .9rem; }
.mp-btn--cta { background: var(--mp-accent); box-shadow: 0 6px 18px -8px rgba(234, 88, 12, .6); }
.mp-btn--cta:hover { background: var(--mp-accent-dark); }
.mp-btn--ghost { background: #fff; color: var(--mp-primary) !important; border: 2px solid var(--mp-border); box-shadow: none; }
.mp-btn--ghost:hover { border-color: var(--mp-primary); background: #fff; }
.mp-link { font-weight: 700; white-space: nowrap; }

/* Header */
.mp-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--mp-border); }
.mp-header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.mp-brand__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--mp-text) !important; text-decoration: none !important; }
.mp-brand__mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--mp-primary), #1e3a8a); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.mp-brand__accent { color: var(--mp-primary); }
.mp-nav { margin-left: auto; }
.mp-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mp-nav__list a { display: block; padding: 10px 14px; color: var(--mp-text) !important; font-weight: 600; font-size: .98rem; border-radius: 8px; text-decoration: none !important; }
.mp-nav__list a:hover { background: var(--mp-tint); }
.mp-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mp-nav + .mp-header__actions { margin-left: 0; }
.mp-iconbtn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--mp-border); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--mp-text); }
.mp-iconbtn:hover { border-color: var(--mp-primary); color: var(--mp-primary); }
.mp-menu-toggle { display: none; flex-direction: column; gap: 5px; }
.mp-menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.mp-searchbar { border-top: 1px solid var(--mp-border); padding: 14px 0; background: #fff; }
.mp-searchbar .search-form { display: flex; gap: 10px; }
.mp-mobilemenu { border-top: 1px solid var(--mp-border); background: #fff; padding: 8px 24px 20px; }
.mp-mobilemenu__list { list-style: none; margin: 0; padding: 0; }
.mp-mobilemenu__list a { display: block; padding: 12px 4px; font-weight: 600; color: var(--mp-text) !important; border-bottom: 1px solid var(--mp-border); text-decoration: none !important; }

/* Hero */
.mp-hero { background: linear-gradient(180deg, #eef4ff 0%, #fff 100%); padding: 72px 0 64px; overflow: hidden; }
.mp-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.mp-hero h1 { margin: 0 0 .5em; }
.mp-hero__search { display: flex; gap: 10px; margin: 28px 0 18px; max-width: 560px; }
.mp-hero__search input[type="search"] { flex: 1; padding: 13px 18px; border: 2px solid var(--mp-border); border-radius: 10px; font-size: 1rem; font-family: inherit; }
.mp-hero__search input[type="search"]:focus { outline: none; border-color: var(--mp-primary); }
.mp-hero__topics { color: var(--mp-muted); font-size: .95rem; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.mp-hero__art { position: relative; height: 340px; }
.mp-hero__card { position: absolute; background: #fff; border: 1px solid var(--mp-border); border-radius: 16px; box-shadow: var(--mp-shadow); padding: 18px 22px; display: flex; align-items: center; gap: 12px; font-size: 1.05rem; animation: float 7s ease-in-out infinite; }
.mp-hero__card span { font-size: 1.7rem; }
.mp-hero__card--1 { top: 6%; left: 8%; }
.mp-hero__card--2 { top: 0; right: 10%; animation-delay: -2s; }
.mp-hero__card--3 { bottom: 12%; left: 0; animation-delay: -4s; }
.mp-hero__card--4 { bottom: 0; right: 4%; animation-delay: -5.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Sections / grids */
.mp-section { padding: 64px 0; }
.mp-section--tint { background: var(--mp-tint); }
.mp-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.mp-section-title { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; }
.mp-grid { display: grid; gap: 24px; }
.mp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mp-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; }
.mp-stack { display: grid; gap: 12px; }
.mp-rowlink { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--mp-border); border-radius: 12px; padding: 16px 20px; color: var(--mp-text) !important; font-weight: 600; text-decoration: none !important; transition: border-color .15s, transform .15s; }
.mp-rowlink:hover { border-color: var(--mp-primary); transform: translateX(4px); }
.mp-rowlink__arrow { color: var(--mp-primary); font-weight: 800; }
.mp-compcard { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--mp-border); border-radius: 16px; padding: 22px 24px; color: var(--mp-text) !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.mp-compcard:hover { border-color: var(--mp-primary); box-shadow: 0 12px 30px -18px rgba(37,99,235,.45); transform: translateY(-2px); }
.mp-compcard__vs { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--mp-primary), #1e3a8a); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .05em; }
.mp-compcard__body { display: grid; gap: 6px; min-width: 0; }
.mp-compcard__title { font-weight: 700; font-size: 17px; line-height: 1.35; }
.mp-compcard__excerpt { color: var(--mp-muted); font-size: 14px; line-height: 1.55; }

/* Cards */
.mp-card { background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.mp-card:hover { transform: translateY(-4px); box-shadow: var(--mp-shadow); }
.mp-card__media { display: block; }
.mp-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mp-card__cat { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mp-primary); }
.mp-card__title { margin: 0; font-size: 1.15rem; }
.mp-card__title a { color: var(--mp-text) !important; text-decoration: none !important; }
.mp-card__excerpt { color: var(--mp-muted); font-size: .96rem; margin: 0; flex: 1; }
.mp-card__meta { color: var(--mp-faint); font-size: .85rem; display: flex; gap: 8px; }
.mp-card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* Editorial SVG thumbnails */
.mp-thumb { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; background: var(--thumb-color, #2563eb); background: linear-gradient(135deg, var(--thumb-color, #2563eb), color-mix(in srgb, var(--thumb-color, #2563eb) 55%, #0f172a)); }
.mp-thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.25), transparent 55%); }
.mp-thumb__cat { position: relative; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.mp-thumb__title { position: relative; font-size: 1.3rem; font-weight: 800; line-height: 1.3; margin: 6px 0; }
.mp-thumb__brand { position: relative; font-size: .78rem; font-weight: 600; opacity: .75; }

/* Chips */
.mp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; }
.mp-chip { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--mp-border); border-radius: 999px; padding: 10px 18px; color: var(--mp-text) !important; font-weight: 600; text-decoration: none !important; transition: border-color .15s, transform .15s; }
.mp-chip:hover { border-color: var(--chip-color, var(--mp-primary)); transform: translateY(-2px); }
.mp-chip span { background: var(--mp-tint); border-radius: 999px; padding: 1px 10px; font-size: .82rem; color: var(--mp-muted); }

/* Article */
.mp-articlewrap { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 56px; padding-top: 32px; align-items: start; }
.mp-breadcrumbs { font-size: .88rem; color: var(--mp-muted); margin-bottom: 20px; }
.mp-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.mp-breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--mp-faint); }
.mp-article__head h1 { margin: .3em 0 .5em; }
.mp-article__meta { color: var(--mp-muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.mp-article__author { font-weight: 700; color: var(--mp-text); }
.mp-article__content { font-size: 1.06rem; }
.mp-article__content > * { max-width: 100%; }
.mp-article__content img { border-radius: 12px; }
.mp-article__content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.mp-article__content th, .mp-article__content td { border: 1px solid var(--mp-border); padding: 10px 14px; text-align: left; }
.mp-article__content th { background: var(--mp-tint); font-weight: 700; }
.mp-article__content blockquote { border-left: 4px solid var(--mp-primary); margin: 1.5em 0; padding: .6em 1.2em; background: var(--mp-tint); border-radius: 0 10px 10px 0; color: var(--mp-muted); }
.mp-article__content ul, .mp-article__content ol { padding-left: 1.4em; }
.mp-article__content li { margin-bottom: .45em; }
.mp-disclosure { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 14px 18px; font-size: .92rem; color: #92400e; margin: 18px 0; }
.mp-disclosure a { color: #92400e; font-weight: 700; }

/* TOC */
.mp-toc { background: var(--mp-tint); border: 1px solid var(--mp-border); border-radius: 12px; padding: 20px 24px; margin: 8px 0 28px; }
.mp-toc__title { font-weight: 800; margin: 0 0 10px; font-size: 1rem; }
.mp-toc ol { margin: 0; padding-left: 1.3em; }
.mp-toc li { margin-bottom: 6px; }
.mp-toc a { color: var(--mp-text); font-size: .96rem; }

/* Sidebar */
.mp-sidebar__sticky { position: sticky; top: 96px; display: grid; gap: 24px; }
.mp-sidebar__toc { background: #fff; border: 1px solid var(--mp-border); border-radius: 12px; padding: 20px; font-size: .9rem; }
.mp-sidebar__toc ol { margin: 0; padding-left: 1.2em; }
.mp-sidebar__toc li { margin-bottom: 6px; }
.mp-sidebar__toc a { color: var(--mp-muted); }

/* Newsletter */
.mp-newsletter { background: linear-gradient(135deg, #1e293b, #1e3a8a); color: #fff; border-radius: 16px; padding: 32px; }
.mp-newsletter h2, .mp-newsletter h3 { color: #fff; margin-top: 0; }
.mp-newsletter p { color: #cbd5e1; }
.mp-newsletter form { display: grid; gap: 10px; margin-top: 18px; }
.mp-newsletter input[type="email"], .mp-newsletter input[type="text"] { padding: 13px 16px; border-radius: 10px; border: 0; font-size: 1rem; font-family: inherit; width: 100%; }
.mp-newsletter .mp-btn { width: 100%; }
.mp-newsletter__note { font-size: .82rem; color: #94a3b8; margin: 8px 0 0; }
.mp-newsletter__msg { font-weight: 600; margin: 10px 0 0; }

/* Pros / cons / verdict */
.mp-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 2em 0; }
.mp-proscons__col { border-radius: 12px; padding: 22px; border: 1px solid var(--mp-border); }
.mp-proscons__col--pros { background: #f0fdf4; border-color: #bbf7d0; }
.mp-proscons__col--cons { background: #fef2f2; border-color: #fecaca; }
.mp-proscons h3 { margin-top: 0; }
.mp-proscons__col--pros h3 { color: var(--mp-green); }
.mp-proscons__col--cons h3 { color: var(--mp-red); }
.mp-proscons ul { margin: 0; padding-left: 1.2em; }
.mp-verdict { background: var(--mp-tint); border: 1px solid var(--mp-border); border-left: 5px solid var(--mp-primary); border-radius: 12px; padding: 26px; margin: 2em 0; }
.mp-verdict h3 { margin-top: 0; }

/* Comparison table */
.mp-comptablewrap { overflow-x: auto; margin: 2em 0 1em; border: 1px solid var(--mp-border); border-radius: 12px; }
.mp-comptable { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.mp-comptable th, .mp-comptable td { padding: 13px 16px; border-bottom: 1px solid var(--mp-border); text-align: left; }
.mp-comptable thead th { background: #1e293b; color: #fff; font-weight: 700; }
.mp-comptable tbody th { background: var(--mp-tint); font-weight: 600; white-space: nowrap; }
.mp-compcta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 2em; }

/* Tool facts */
.mp-facts { background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); box-shadow: var(--mp-shadow); padding: 28px; margin: 0 0 28px; }
.mp-facts__tagline { font-size: 1.15rem; color: var(--mp-muted); }
.mp-facts__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.mp-facts__pricing { margin: 12px 0 0; }

/* Checklist */
.mp-checklist { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.mp-checklist li { position: relative; padding-left: 32px; }
.mp-checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: var(--mp-green); font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.mp-checklist--2 { grid-template-columns: 1fr 1fr; }

/* Share / author / related */
.mp-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--mp-border); border-bottom: 1px solid var(--mp-border); margin: 2.5em 0; }
.mp-share__label { font-weight: 700; }
.mp-share a, .mp-share button { border: 1px solid var(--mp-border); border-radius: 8px; padding: 8px 14px; font-size: .9rem; font-weight: 600; color: var(--mp-text) !important; background: #fff; cursor: pointer; text-decoration: none !important; }
.mp-share a:hover, .mp-share button:hover { border-color: var(--mp-primary); color: var(--mp-primary) !important; }
.mp-authorbox { display: flex; gap: 20px; background: var(--mp-tint); border: 1px solid var(--mp-border); border-radius: 12px; padding: 24px; margin: 0 0 2em; }
.mp-authorbox__avatar { border-radius: 50%; flex-shrink: 0; }
.mp-authorbox__label { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mp-faint); margin: 0; font-weight: 700; }
.mp-authorbox__name { font-weight: 800; font-size: 1.1rem; margin: 2px 0 6px; }
.mp-authorbox__name a { color: var(--mp-text) !important; }
.mp-authorbox__bio { color: var(--mp-muted); margin: 0; font-size: .96rem; }
.mp-related { margin: 56px 0; }

/* Why / footer */
.mp-why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mp-footer { background: #0f172a; color: #cbd5e1; padding: 64px 0 32px; margin-top: 0; }
.mp-footer .mp-brand__name { color: #fff !important; }
.mp-footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 56px; margin-bottom: 48px; }
.mp-footer__brand p { color: #94a3b8; }
.mp-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mp-footer__col h3 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.mp-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mp-footer__list a { color: #94a3b8 !important; text-decoration: none !important; }
.mp-footer__list a:hover { color: #fff !important; }
.mp-footer__bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; color: #64748b; }
.mp-footer .mp-newsletter { margin-top: 24px; }

/* Archive / pagination / 404 */
.mp-archivehead { margin: 8px 0 32px; }
.mp-archivehead__desc { color: var(--mp-muted); max-width: 720px; }
.mp-pagination { display: flex; gap: 8px; justify-content: center; margin: 48px 0; }
.mp-pagination .page-numbers { border: 1px solid var(--mp-border); border-radius: 8px; padding: 8px 14px; color: var(--mp-text) !important; text-decoration: none !important; font-weight: 600; }
.mp-pagination .current { background: var(--mp-primary); border-color: var(--mp-primary); color: #fff !important; }
.mp-404 { text-align: center; padding: 80px 24px; max-width: 640px; }
.mp-404__code { font-size: 5rem; font-weight: 800; color: var(--mp-border); margin: 0; line-height: 1; }
.mp-404 .mp-hero__search { margin: 28px auto; }
.mp-404 .mp-chips { justify-content: center; margin: 24px 0; }
.mp-empty { padding: 24px 0 64px; }

/* Page */
.mp-pagewrap { padding-top: 32px; padding-bottom: 64px; }
.mp-article--page { max-width: 780px; }

/* Search form (widget) */
.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: 12px 16px; border: 2px solid var(--mp-border); border-radius: 10px; font-size: 1rem; font-family: inherit; }
.search-form .search-submit { background: var(--mp-primary); color: #fff; border: 0; border-radius: 10px; padding: 12px 22px; font-weight: 700; cursor: pointer; }

/* Contact form */
.mp-form { display: grid; gap: 16px; max-width: 640px; }
.mp-form label { font-weight: 600; display: grid; gap: 6px; }
.mp-form input, .mp-form textarea, .mp-form select { padding: 13px 16px; border: 2px solid var(--mp-border); border-radius: 10px; font-size: 1rem; font-family: inherit; width: 100%; }
.mp-form input:focus, .mp-form textarea:focus { outline: none; border-color: var(--mp-primary); }
.mp-form__msg { font-weight: 600; }
.mp-form__hp { position: absolute; left: -9999px; }

/* Reveal animation (JS adds .in) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
	.mp-articlewrap { grid-template-columns: 1fr; }
	.mp-sidebar { display: none; }
	.mp-split, .mp-why { grid-template-columns: 1fr; }
	.mp-hero__inner { grid-template-columns: 1fr; }
	.mp-hero__art { display: none; }
	.mp-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.mp-nav { display: none; }
	.mp-menu-toggle { display: inline-flex; }
	.mp-header__cta { display: none; }
	.mp-grid--3, .mp-grid--2 { grid-template-columns: 1fr; }
	.mp-proscons { grid-template-columns: 1fr; }
	.mp-checklist--2 { grid-template-columns: 1fr; }
	.mp-hero { padding: 48px 0; }
	.mp-hero__search { flex-direction: column; }
	.mp-footer__top { grid-template-columns: 1fr; }
	.mp-footer__cols { grid-template-columns: 1fr 1fr; }
	.mp-section { padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
}

/* ============================================================
   MarketPulse 1.1.0 — premium editorial layer
   ============================================================ */

/* Section subtitles */
.mp-section__sub { color: var(--mp-muted); margin: -18px 0 0; font-size: 1rem; }
.mp-section--tight { padding-top: 8px; }
.mp-section__head > div { min-width: 0; }

/* Premium hero: indigo/blue gradient mesh */
.mp-hero--pro {
	background:
		radial-gradient(900px 480px at 12% 8%, rgba(59, 130, 246, .5), transparent 60%),
		radial-gradient(760px 520px at 88% 18%, rgba(14, 165, 233, .35), transparent 60%),
		radial-gradient(700px 600px at 55% 115%, rgba(99, 102, 241, .45), transparent 60%),
		linear-gradient(135deg, #0f1f4b 0%, #1e3a8a 45%, #1d4ed8 100%);
	color: #fff;
	padding: 96px 0 88px;
	position: relative;
}
.mp-hero--pro::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
	background-size: 26px 26px;
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.mp-hero--pro .mp-hero__inner { position: relative; z-index: 1; }
.mp-hero--pro h1 { color: #fff; font-weight: 600; }
.mp-eyebrow--light { color: #bfdbfe; }
.mp-lead--light { color: #dbeafe; }
.mp-hero--pro .mp-hero__search input[type="search"] { border: 0; background: rgba(255,255,255,.97); }
.mp-hero--pro .mp-hero__topics { color: #bfdbfe; }
.mp-hero--pro .mp-hero__topics a { color: #fff; font-weight: 600; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
.mp-hero--pro .mp-hero__topics a:hover { background: rgba(255,255,255,.24); text-decoration: none; }

/* Glass cards in hero art (inline SVG icons, no emojis) */
.mp-glass {
	position: absolute; display: flex; align-items: center; gap: 12px;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-radius: 18px; padding: 16px 22px; color: #fff;
	box-shadow: 0 18px 40px -18px rgba(2, 6, 23, .55);
	animation: float 7s ease-in-out infinite;
}
.mp-glass__icon { display: inline-flex; width: 46px; height: 46px; border-radius: 13px; align-items: center; justify-content: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.mp-glass strong { font-size: 1.02rem; font-weight: 700; }
.mp-glass--1 { top: 4%; left: 6%; }
.mp-glass--2 { top: 0; right: 8%; animation-delay: -2s; }
.mp-glass--3 { bottom: 14%; left: 0; animation-delay: -4s; }
.mp-glass--4 { bottom: 2%; right: 4%; animation-delay: -5.5s; }

/* Stats strip — real counts from WP queries */
.mp-stats { background: #fff; border-bottom: 1px solid var(--mp-border); }
.mp-stats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 34px 0; }
.mp-stats__item { display: flex; align-items: baseline; gap: 14px; }
.mp-stats__num { font-family: var(--mp-font-head); font-size: 2.5rem; font-weight: 700; color: var(--mp-primary-dark); line-height: 1; }
.mp-stats__label { color: var(--mp-muted); font-weight: 600; font-size: 1rem; }

/* Featured story spotlight */
.mp-section--spotlight { padding-bottom: 0; }
.mp-spotlight {
	display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
	background: #fff; border: 1px solid var(--mp-border); border-radius: 20px; overflow: hidden;
	color: var(--mp-text) !important; text-decoration: none !important;
	box-shadow: var(--mp-shadow-lg); transition: transform .2s ease, box-shadow .2s ease;
}
.mp-spotlight:hover { transform: translateY(-4px); }
.mp-spotlight__media { display: block; min-height: 320px; }
.mp-spotlight__media img, .mp-spotlight__media .mp-thumb { width: 100%; height: 100%; object-fit: cover; }
.mp-spotlight__body { display: flex; flex-direction: column; gap: 12px; padding: 40px; justify-content: center; }
.mp-spotlight__title { font-family: var(--mp-font-head); font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 600; line-height: 1.2; }
.mp-spotlight__excerpt { color: var(--mp-muted); font-size: 1.02rem; }
.mp-spotlight__meta { display: flex; align-items: center; gap: 10px; color: var(--mp-faint); font-size: .9rem; flex-wrap: wrap; }

/* Category showcase cards */
.mp-catcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mp-catcard {
	display: flex; align-items: center; gap: 16px; background: #fff;
	border: 1px solid var(--mp-border); border-radius: 16px; padding: 20px 22px;
	color: var(--mp-text) !important; text-decoration: none !important;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mp-catcard:hover { transform: translateY(-4px); box-shadow: var(--mp-shadow-lg); border-color: var(--cat-color); }
.mp-catcard__icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--cat-color); background-color: #eef2ff; background: color-mix(in srgb, var(--cat-color) 12%, #fff); }
.mp-catcard__body { display: grid; gap: 3px; min-width: 0; flex: 1; }
.mp-catcard__name { font-weight: 700; font-size: 1.05rem; }
.mp-catcard__count { color: var(--mp-muted); font-size: .9rem; }
.mp-catcard__arrow { color: var(--mp-faint); font-weight: 800; font-size: 1.2rem; transition: transform .18s ease, color .18s ease; }
.mp-catcard:hover .mp-catcard__arrow { transform: translateX(4px); color: var(--cat-color); }

/* Upgraded post cards */
.mp-card { border-radius: 18px; }
.mp-card__media { overflow: hidden; display: block; }
.mp-card__media img { transition: transform .35s ease; display: block; }
.mp-card:hover .mp-card__media img { transform: scale(1.045); }
.mp-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mp-card__badge {
	display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
	color: var(--badge-color, var(--mp-primary)); background-color: #eff6ff; border: 1px solid #dbeafe;
	background: color-mix(in srgb, var(--badge-color, var(--mp-primary)) 11%, #fff);
	border: 1px solid color-mix(in srgb, var(--badge-color, var(--mp-primary)) 25%, #fff);
	padding: 5px 12px; border-radius: 999px; text-decoration: none !important;
}
a.mp-card__badge:hover { background: color-mix(in srgb, var(--badge-color, var(--mp-primary)) 18%, #fff); }
/* Legacy alias (single.php / chips pre-1.1 markup) */
.mp-card__cat { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mp-primary); }
.mp-card__time { display: inline-flex; align-items: center; gap: 6px; color: var(--mp-faint); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.mp-card__title { font-family: var(--mp-font-head); font-weight: 600; font-size: 1.3rem; line-height: 1.3; }
.mp-card--tool .mp-card__title { font-size: 1.25rem; }

/* Trust section */
.mp-section--trust { background: linear-gradient(180deg, #eef4ff 0%, var(--mp-tint) 100%); }
.mp-section--trust .mp-section-title { font-family: var(--mp-font-head); }

/* Article featured-image hero */
.mp-article__hero { margin: 8px 0 32px; }
.mp-article__hero img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--mp-shadow-lg); display: block; }

/* Archive header (pro) */
.mp-archivehead--pro {
	background: linear-gradient(135deg, #eef4ff 0%, #f8fafc 60%, #fff 100%);
	border: 1px solid var(--mp-border); border-radius: 20px; padding: 44px 48px; margin: 8px 0 40px;
}
.mp-archivehead--pro h1 { margin-bottom: .35em; }
.mp-archivehead__count { margin: 18px 0 0; }
.mp-countpill { display: inline-block; background: #fff; border: 1px solid var(--mp-border); border-radius: 999px; padding: 8px 18px; font-weight: 700; color: var(--mp-primary-dark); font-size: .92rem; box-shadow: var(--mp-shadow); }

/* Premium footer */
.mp-footer--pro {
	background:
		radial-gradient(800px 400px at 90% 0%, rgba(37, 99, 235, .18), transparent 60%),
		linear-gradient(180deg, #0b1526 0%, #0f172a 100%);
	color: #cbd5e1; padding: 72px 0 32px; border-top: 1px solid #1e293b;
}
.mp-footer--pro .mp-footer__top { grid-template-columns: 1.1fr 1.3fr 1fr; gap: 48px; align-items: start; }
.mp-footer--pro .mp-brand__name { font-size: 1.45rem; }
.mp-footer__tagline { color: #94a3b8; margin: 14px 0 18px; line-height: 1.6; }
.mp-footer__disclosure { display: inline-block; font-size: .82rem; font-weight: 600; color: #bfdbfe; background: rgba(37, 99, 235, .16); border: 1px solid rgba(37, 99, 235, .35); border-radius: 999px; padding: 8px 16px; }
.mp-footer__mid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mp-footer--pro .mp-footer__col h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 16px; }
.mp-footer--pro .mp-footer__list { gap: 12px; }
.mp-footer--pro .mp-footer__list a { color: #94a3b8 !important; font-size: .96rem; }
.mp-footer--pro .mp-footer__list a:hover { color: #fff !important; text-decoration: none !important; padding-left: 2px; }
.mp-footer__side .mp-newsletter { margin-top: 0; box-shadow: 0 18px 40px -18px rgba(2, 6, 23, .7); }
.mp-footer--pro .custom-logo { max-height: 40px; width: auto; }
.mp-header .custom-logo { max-height: 40px; width: auto; }

/* Responsive additions */
@media (max-width: 1020px) {
	.mp-stats__list { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 26px 0; }
	.mp-stats__num { font-size: 2rem; }
	.mp-spotlight { grid-template-columns: 1fr; }
	.mp-spotlight__media { min-height: 240px; }
	.mp-spotlight__body { padding: 28px; }
	.mp-catcards { grid-template-columns: repeat(2, 1fr); }
	.mp-archivehead--pro { padding: 32px 28px; }
	.mp-footer--pro .mp-footer__top { grid-template-columns: 1fr 1fr; }
	.mp-footer__side { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 760px) {
	.mp-hero--pro { padding: 60px 0 56px; }
	.mp-hero__art { display: none; }
	.mp-stats__list { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
	.mp-stats__item { gap: 12px; }
	.mp-stats__num { font-size: 1.8rem; }
	.mp-catcards { grid-template-columns: 1fr; }
	.mp-footer--pro .mp-footer__top { grid-template-columns: 1fr; }
	.mp-footer__mid { grid-template-columns: 1fr 1fr; }
	.mp-section__head { flex-wrap: wrap; }
}
