/* ------------------------------------------------------------------ */
/* MCP Insights hub - the pulse wall  [mcp_insights_hub]  (SLOT 4)      */
/* Consumes the shared .mcp-ins tokens (day + dark) so the in-page      */
/* theme toggle flips the whole hub. Brand purple field + orbs (dark),  */
/* soft lavender (day); glass cards kept; gold hairline whisper.        */
/* Designed at 1440 AND 390. No em/en dashes; no HTML-tag tokens        */
/* (late-inlined into a style block on the page).                       */
/* ------------------------------------------------------------------ */

.mcp-ih {
	--ih-font: 'Montserrat', system-ui, -apple-system, sans-serif;
	--ih-font-body: 'Inter', 'Nunito', system-ui, -apple-system, sans-serif;
	--ih-radius: 16px;
	/* pull the shared insights palette so a theme flip on .mcp-ins--dark repaints the hub */
	--ih-purple: var(--ins-purple, #603fd7);
	--ih-purple-soft: var(--ins-purple-soft, #a78bff);
	--ih-gold: var(--ins-gold, #f2a900);
	--ih-ink: var(--ins-ink, #333);
	--ih-muted: var(--ins-muted, #5f5b7a);
	--ih-dim: var(--ins-dim, #8a86a5);
	--ih-white: var(--ins-strong, #0A062C);
	--ih-panel: var(--ins-panel, #fff);
	--ih-panel-2: var(--ins-panel-2, #f3efff);
	--ih-edge: var(--ins-edge, #e7e4f4);
	--ih-band: var(--ins-band, #f4f1fc);
	--ih-green: var(--ins-green, #03875a);
	--ih-red: var(--ins-red, #d63a55);
	--ih-shadow: var(--ins-shadow, rgba(40, 30, 90, .12));

	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: clamp(36px, 5vw, 72px) clamp(16px, 4vw, 46px) clamp(48px, 6vw, 84px);
	/* DAY = the shared brand day field (--ins-bg), same as every insight tool page. */
	background: var(--ins-bg, #f8f9fa);
	color: var(--ih-ink);
	font-family: var(--ih-font-body);
	-webkit-font-smoothing: antialiased;
	border-radius: var(--ih-radius);
}
/* dark field = the iconic brand background (black banned). 4K orbs re-master (media 67790),
   the SAME asset + syntax the funding page uses - the old 740px file pixelated on retina. */
.mcp-ih.mcp-ins--dark {
	background: #100a34 url('https://mycryptoparadise.com/wp-content/uploads/2026/08/mcp-orbs-field-2880-v2.webp') center / cover no-repeat;
}

.mcp-ih *, .mcp-ih *::before, .mcp-ih *::after { box-sizing: border-box; }
.mcp-ih section, .mcp-ih .mcp-ih-hero, .mcp-ih .mcp-ih-wallhead { max-width: 1080px; margin-left: auto; margin-right: auto; }

/* ---- Hero ---- */
.mcp-ih-hero { text-align: center; margin: 0 auto clamp(24px, 3vw, 36px); max-width: 780px; }
.mcp-ih-eyebrow {
	display: inline-flex; align-items: center; gap: 9px; margin: 0 0 15px;
	font-family: var(--ih-font); font-weight: 600; font-size: 13px; letter-spacing: .14em;
	text-transform: uppercase; color: var(--ih-purple-soft);
}
.mcp-ih-mark { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.mcp-ih-h1 {
	font-family: var(--ih-font); font-weight: 600; font-size: clamp(27px, 4vw, 44px);
	line-height: 1.12; letter-spacing: -.01em; color: var(--ih-white); margin: 0 0 15px; text-wrap: balance;
}
.mcp-ih-dek { font-size: clamp(15px, 1.6vw, 17.5px); line-height: 1.6; color: var(--ih-muted); max-width: 56ch; margin: 0 auto; }
.mcp-ih-goldline { width: 64px; height: 2px; margin: 20px auto 0; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(242, 169, 0, .8), transparent); }

.mcp-ih-toolbar {
	display: flex; align-items: center; justify-content: center; gap: 14px 20px; flex-wrap: wrap;
	margin-top: 20px;
}
.mcp-ih-pulseline {
	display: inline-flex; align-items: center; gap: 9px; margin: 0;
	font-size: 14px; font-weight: 600; color: var(--ih-muted);
}
.mcp-ih-livedot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--ih-green);
	box-shadow: 0 0 0 0 rgba(3, 135, 90, .5); animation: mcp-ih-pulse 2.4s ease-out infinite;
}
.mcp-ins--dark .mcp-ih-livedot { background: #02c076; box-shadow: 0 0 0 0 rgba(2, 192, 118, .5); }
@keyframes mcp-ih-pulse { 0% { box-shadow: 0 0 0 0 rgba(2, 192, 118, .5); } 70% { box-shadow: 0 0 0 7px rgba(2, 192, 118, 0); } 100% { box-shadow: 0 0 0 0 rgba(2, 192, 118, 0); } }
.mcp-ih-themebtn {
	font-family: var(--ih-font); font-weight: 600; font-size: 13px; color: var(--ih-ink);
	background: var(--ih-panel); border: 1px solid var(--ih-edge); border-radius: 999px;
	padding: 8px 15px; cursor: pointer; min-height: 44px; transition: border-color .18s ease, background .18s ease;
}
.mcp-ih-themebtn:hover { border-color: var(--ih-purple-soft); }

/* ---- Market now strip (the 3-second instant answer) ---- */
.mcp-ih-market {
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px);
	margin-bottom: clamp(26px, 3vw, 40px);
}
.mcp-ih-mtile {
	padding: 16px 16px 15px; border-radius: 14px; background: linear-gradient(165deg, var(--ih-panel-2), var(--ih-panel));
	border: 1px solid var(--ih-edge); box-shadow: 0 10px 26px -12px var(--ih-shadow); min-width: 0;
}
.mcp-ih-mtile-k { margin: 0 0 6px; font-family: var(--ih-font); font-weight: 600; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ih-dim); }
.mcp-ih-mtile-v { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--ih-font); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px); color: var(--ih-white); line-height: 1.05; }
.mcp-ih-mtile-sub { margin: 6px 0 0; font-size: 12px; color: var(--ih-muted); line-height: 1.35; }

/* ---- Start here ---- */
.mcp-ih-start { margin-bottom: clamp(26px, 3vw, 40px); }
.mcp-ih-start-h { font-family: var(--ih-font); font-weight: 600; font-size: clamp(16px, 1.8vw, 20px); color: var(--ih-white); margin: 0 0 14px; display: flex; align-items: baseline; gap: 10px; }
.mcp-ih-start-sub { font-family: var(--ih-font-body); font-weight: 500; font-size: 13px; color: var(--ih-dim); text-transform: none; letter-spacing: 0; }
.mcp-ih-start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.mcp-ih-start .mcp-ih-card { border-color: color-mix(in srgb, var(--ih-accent) 40%, var(--ih-edge)); }

/* ---- Wall controls: delta-sort toggle + jump-nav ---- */
.mcp-ih-wallhead { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.mcp-ih-sort { display: inline-flex; background: var(--ih-panel); border: 1px solid var(--ih-edge); border-radius: 999px; padding: 3px; gap: 2px; }
/* SLOT 22: wall controls join the suite's 44px tap-target kit (was 38/36px). */
.mcp-ih-sortbtn {
	font-family: var(--ih-font); font-weight: 600; font-size: 13px; color: var(--ih-muted);
	background: transparent; border: 0; border-radius: 999px; padding: 8px 15px; cursor: pointer; min-height: 44px; transition: background .16s ease, color .16s ease;
	display: inline-flex; align-items: center; justify-content: center;
}
.mcp-ih-sortbtn.is-on { background: var(--ih-purple); color: #fff; box-shadow: 0 6px 16px -8px rgba(96, 63, 215, .8); }
.mcp-ih-jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.mcp-ih-jump::-webkit-scrollbar { display: none; }
.mcp-ih-jumpchip {
	white-space: nowrap; font-family: var(--ih-font); font-weight: 600; font-size: 12.5px; color: var(--ih-muted);
	text-decoration: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--ih-edge); background: var(--ih-panel); min-height: 44px; display: inline-flex; align-items: center;
}
.mcp-ih-jumpchip:hover { border-color: var(--ih-purple-soft); color: var(--ih-ink); }

/* ---- Pillars + the wall ---- */
.mcp-ih-wall { max-width: 1080px; margin: 0 auto; }
.mcp-ih-pillar { margin-bottom: clamp(22px, 2.6vw, 34px); scroll-margin-top: 92px; }
.mcp-ih-pillar-head { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.mcp-ih-pillar-h { font-family: var(--ih-font); font-weight: 600; font-size: clamp(15px, 1.6vw, 18px); letter-spacing: .02em; color: var(--ih-white); margin: 0; white-space: nowrap; }
.mcp-ih-pillar-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--ih-edge), transparent); }
.mcp-ih-grid, .mcp-ih-flat { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
/* flat "what moved today" mode */
.mcp-ih-wall[data-mode="moved"] .mcp-ih-pillar { display: none; }
.mcp-ih-flat[hidden] { display: none; }

/* ---- Pulse card ---- */
.mcp-ih-card {
	position: relative; display: flex; flex-direction: column; padding: 0;
	background: linear-gradient(165deg, var(--ih-panel-2), var(--ih-panel)); border: 1px solid var(--ih-edge);
	border-radius: var(--ih-radius); box-shadow: 0 14px 36px -14px var(--ih-shadow); overflow: hidden;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mcp-ih-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(242, 169, 0, .5), transparent); }
.mcp-ih-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--ih-accent) 55%, var(--ih-edge)); box-shadow: 0 22px 50px -16px var(--ih-shadow); }
.mcp-ih-card.is-quiet { opacity: .86; }

/* ---- Preview media window (SLOT 28): a real, dated screenshot of each tool ---- */
.mcp-ih-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: clamp(15px, 1.7vw, 20px) clamp(16px, 1.8vw, 22px) clamp(16px, 1.8vw, 20px); }
.mcp-ih-card:not(.has-media) .mcp-ih-body { padding-top: clamp(18px, 1.9vw, 24px); }
.mcp-ih-media {
	position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
	background: #0d0827; /* deep purple placeholder, never black */
	border-bottom: 1px solid color-mix(in srgb, var(--ih-accent) 44%, var(--ih-edge));
}
.mcp-ih-thumb {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%;
	display: block; transform: scale(1.02); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.mcp-ih-card:hover .mcp-ih-thumb { transform: scale(1.07); }
.mcp-ih-media-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(13, 8, 39, .14) 0%, rgba(13, 8, 39, 0) 34%, rgba(13, 8, 39, .06) 66%, rgba(13, 8, 39, .58) 100%); }
.mcp-ih-media .mcp-ih-tier {
	position: absolute; top: 10px; right: 10px; margin: 0; color: #e7e3fb;
	background: rgba(13, 8, 39, .62); border-color: rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
.mcp-ih-media .mcp-ih-tier--estimated { color: #ffcf6b; }
.mcp-ih-media .mcp-ih-tier--live { color: #c7b6ff; }
.mcp-ih-media .mcp-ih-tier--full { color: #58e0a8; }
.mcp-ih-media .mcp-ih-ico {
	position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 9px;
	background: rgba(13, 8, 39, .55); border-color: color-mix(in srgb, var(--ih-accent) 42%, rgba(255, 255, 255, .14));
	-webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}

.mcp-ih-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mcp-ih-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; color: var(--ih-accent); background: color-mix(in srgb, var(--ih-accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--ih-accent) 32%, transparent); }
.mcp-ih-tier { font-family: var(--ih-font); font-weight: 600; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--ih-edge); color: var(--ih-dim); background: var(--ih-band); }
.mcp-ih-tier--estimated { color: var(--ih-gold); border-color: color-mix(in srgb, var(--ih-gold) 40%, transparent); background: color-mix(in srgb, var(--ih-gold) 12%, transparent); }
.mcp-ih-tier--full { color: var(--ih-green); border-color: color-mix(in srgb, var(--ih-green) 40%, transparent); background: color-mix(in srgb, var(--ih-green) 12%, transparent); }
.mcp-ih-tier--live { color: var(--ih-purple-soft); border-color: color-mix(in srgb, var(--ih-purple-soft) 44%, transparent); background: color-mix(in srgb, var(--ih-purple-soft) 12%, transparent); }

.mcp-ih-card-h { font-family: var(--ih-font); font-weight: 600; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.28; margin: 0 0 12px; }
.mcp-ih-card-h a { color: var(--ih-white); text-decoration: none; }
.mcp-ih-card-h a:hover { color: var(--ih-accent); }

.mcp-ih-pulse { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.mcp-ih-readout { min-width: 0; }
.mcp-ih-c-lbl { margin: 0 0 3px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ih-dim); }
.mcp-ih-c-big { margin: 0; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; font-family: var(--ih-font); font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1; color: var(--ih-white); }
.mcp-ih-c-unit { font-size: .5em; font-weight: 600; color: var(--ih-muted); }
.mcp-ih-c-delta { display: inline-flex; align-items: center; gap: 2px; margin-left: 5px; font-family: var(--ih-font); font-weight: 700; font-size: 12.5px; padding: 2px 7px; border-radius: 999px; }
.mcp-ih-c-delta.is-up { color: var(--ih-green); background: color-mix(in srgb, var(--ih-green) 14%, transparent); }
.mcp-ih-c-delta.is-down { color: var(--ih-red); background: color-mix(in srgb, var(--ih-red) 14%, transparent); }
.mcp-ih-c-delta.is-flat { color: var(--ih-dim); background: var(--ih-band); }
.mcp-ih-c-delta.is-none { display: none; }

.mcp-ih-spark { flex: 0 0 auto; width: 96px; height: 26px; display: block; color: var(--ih-accent); opacity: .92; }
.mcp-ih-spark svg { display: block; width: 100%; height: 26px; overflow: visible; }
.mcp-ih-spark--up { color: var(--ih-green); }
.mcp-ih-spark--down { color: var(--ih-red); }
.mcp-ih-spark--neutral { color: var(--ih-accent); }
.mcp-ih-spark-empty { display: block; width: 96px; height: 26px; border-bottom: 1px dashed var(--ih-edge); }

.mcp-ih-c-read { margin: 0 0 15px; font-size: 13.5px; line-height: 1.5; color: var(--ih-muted); }
.mcp-ih-card.is-compact .mcp-ih-c-read { margin-bottom: 12px; }

/* ---- LAUNCHED cards (SLOT 29): the pre-SLOT-23 affordance restored verbatim for the  */
/* tools that have actually launched - linked title + "Open ->" + a clickable preview.  */
.mcp-ih-link { margin-top: auto; align-self: flex-start; font-family: var(--ih-font); font-weight: 600; font-size: 13.5px; color: var(--ih-accent); text-decoration: none; }
.mcp-ih-link span { display: inline-block; transition: transform .18s ease; }
.mcp-ih-card:hover .mcp-ih-link span { transform: translateX(4px); }
/* the whole preview window is the hit area on a launched card (title link stays the a11y path) */
.mcp-ih-medialink { position: absolute; inset: 0; z-index: 2; display: block; }

/* ---- HUB LOCK (SLOT 23): locked cards stay a Coming Soon tease. No anchors          */
/* render inside a card; the pulse (value, delta, sparkline) stays full strength    */
/* so the data visibly moves while the pages launch one by one. Gold chip, no black. */
.mcp-ih-card.is-locked { cursor: default; }
.mcp-ih-card.is-locked .mcp-ih-card-h, .mcp-ih-card.is-locked .mcp-ih-c-read { opacity: .78; }
.mcp-ih-soon {
	margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
	font-family: var(--ih-font); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--ih-gold); padding: 7px 13px; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--ih-gold) 42%, transparent);
	background: color-mix(in srgb, var(--ih-gold) 10%, transparent);
}
.mcp-ih-soon svg { flex: 0 0 auto; }
.mcp-ih-soonline {
	max-width: 1080px; margin: 0 auto clamp(18px, 2vw, 26px); font-size: 13px; line-height: 1.5;
	color: var(--ih-dim); text-align: center;
}

/* ---- CTA strip ---- */
.mcp-ih-cta { margin: clamp(30px, 4vw, 48px) auto 0; padding: clamp(26px, 3vw, 38px); text-align: center; background: linear-gradient(165deg, var(--ih-panel-2), var(--ih-panel)); border: 1px solid var(--ih-edge); border-radius: var(--ih-radius); position: relative; overflow: hidden; }
.mcp-ih-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 169, 0, .55), transparent); }
.mcp-ih-cta-h { font-family: var(--ih-font); font-weight: 600; font-size: clamp(19px, 2.2vw, 25px); color: var(--ih-white); margin: 0 0 10px; text-wrap: balance; }
.mcp-ih-cta-p { font-size: clamp(14.5px, 1.5vw, 16px); line-height: 1.55; color: var(--ih-muted); max-width: 54ch; margin: 0 auto 20px; }
.mcp-ih-cta-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ih-font); font-weight: 600; font-size: 15px; color: #fff; text-decoration: none; padding: 13px 26px; border-radius: 999px; background: var(--ih-purple); box-shadow: 0 10px 26px -8px rgba(96, 63, 215, .8); transition: transform .18s ease, box-shadow .18s ease; min-height: 48px; }
.mcp-ih-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(96, 63, 215, .9); }
.mcp-ih-cta-btn span { transition: transform .18s ease; }
.mcp-ih-cta-btn:hover span { transform: translateX(4px); }

/* ---- Footer ---- */
.mcp-ih-risk { max-width: 1080px; margin: clamp(28px, 3vw, 40px) auto 0; padding-top: 18px; border-top: 1px solid var(--ih-edge); text-align: center; }
.mcp-ih-byline { font-weight: 600; font-size: 12.5px; color: var(--ih-muted); margin: 0 0 8px; }
.mcp-ih-risk p:last-child { font-size: 12px; line-height: 1.55; color: var(--ih-dim); margin: 0 auto; max-width: 74ch; }

/* ---- Mobile (designed, not reflowed) ---- */
@media (max-width: 900px) {
	.mcp-ih-market { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mcp-ih-market .mcp-ih-mtile[data-tile="etf"] { grid-column: 1 / -1; }
	.mcp-ih-start-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.mcp-ih { padding: 92px 14px 46px; border-radius: 0; }
	.mcp-ih-toolbar { flex-direction: column-reverse; gap: 12px; }
	/* SLOT 23 fix (pre-existing): column + inherited wrap made the wide jump nav a phantom  */
	/* flex line, pushing the sort toggle half off-screen at 390. nowrap = children stretch  */
	/* to the container, the jump nav scrolls horizontally as designed.                      */
	.mcp-ih-wallhead { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
	.mcp-ih-sort { align-self: center; }
	.mcp-ih-jump { order: -1; margin: 0 -14px; padding: 0 14px 4px; }
	.mcp-ih-grid, .mcp-ih-flat { grid-template-columns: 1fr; gap: 12px; }
	.mcp-ih-body { padding: 16px 18px 18px; }
	.mcp-ih-c-big { font-size: 30px; }
}
@media (max-width: 380px) {
	.mcp-ih-market { grid-template-columns: 1fr 1fr; }
	.mcp-ih-spark { width: 76px; }
}

@media (prefers-reduced-motion: reduce) {
	.mcp-ih-card, .mcp-ih-link span, .mcp-ih-thumb, .mcp-ih-cta-btn, .mcp-ih-cta-btn span, .mcp-ih-livedot { transition: none !important; animation: none !important; }
}
