/**
 * GemRadar — Web pública gemradar.es
 */
:root {
	--bg: #0a0a0f;
	--surface: #111118;
	--surface2: #1a1a24;
	--border: #2a2a3a;
	--accent: #00ff88;
	--accent2: #7c3aed;
	--accent-blue: #63b3ff;
	--text: #e8e8f0;
	--muted: #9a9ab3;
	--cymtech: #3A5AA2;
	--cymtech-light: #5B7EC4;
	--danger: #ff4444;
	--stock: #00bfff;
	--crypto: #f7931a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	background: var(--bg);
	color: var(--text);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	min-height: 100vh;
	overflow-x: hidden;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
	z-index: 0;
}

a { color: inherit; }

.wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px 64px;
	position: relative;
	z-index: 1;
}

/* Header */
.site-header {
	padding: 28px 0 20px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 0;
}

.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-icon {
	width: 44px;
	height: 44px;
	background: transparent;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
	overflow: hidden;
}
.logo-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.logo-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.logo-text h1,
.logo-text .logo-title {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.5px;
	line-height: 1.1;
	margin: 0;
}

.logo-text h1 span,
.logo-text .logo-title span { color: var(--accent); }

.brand-byline {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: var(--muted);
	margin: 0;
}

.site-header .brand-byline {
	display: flex;
	align-items: center;
	gap: 6px;
	line-height: 1;
	margin-top: 1px;
}

.site-header .brand-byline-by {
	flex-shrink: 0;
}

.site-header .brand-byline-logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	opacity: 0.95;
}

.site-header .brand-byline-logo:hover {
	opacity: 1;
	transform: none;
}

.site-header .brand-byline-logo img {
	width: 68px;
	height: auto;
	display: block;
	max-width: none;
}

.brand-cymtech {
	color: var(--cymtech);
	font-weight: 700;
	text-decoration: none;
}

.brand-cymtech:hover {
	color: var(--cymtech-light);
	text-decoration: underline;
}

.header-nav {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.nav-link {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	padding: 8px 14px;
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--muted);
	text-decoration: none;
	transition: border-color .2s, color .2s;
}

.nav-link:hover {
	border-color: var(--accent);
	color: var(--text);
}

.nav-cta {
	background: var(--accent);
	color: #0a0a0f;
	border-color: var(--accent);
	font-weight: 700;
}

.nav-cta:hover {
	filter: brightness(1.08);
	color: #0a0a0f;
}

/* Hero + slider */
.hero {
	padding: 72px 0 56px;
	text-align: center;
}

.hero-slider {
	position: relative;
	max-width: 1080px;
	margin: 0 auto 40px;
}

.hero-slider-glow {
	position: absolute;
	inset: -48px 6% auto;
	height: 360px;
	background: radial-gradient(ellipse at center, rgba(0,255,136,0.14) 0%, rgba(124,58,237,0.1) 42%, transparent 72%);
	pointer-events: none;
	z-index: 0;
}

.hero-slider-viewport {
	position: relative;
	min-height: 440px;
	height: var(--hero-viewport-height, 520px);
	z-index: 1;
}

/* Medición de la diapositiva 1 (la más alta) — ver hero-slider.js */
.hero-slide-intro.is-measuring {
	position: relative !important;
	visibility: visible !important;
	opacity: 1 !important;
	z-index: 3;
}

.hero-slide-visual {
	width: min(100%, 420px);
	height: 140px;
	margin-top: 28px;
	flex-shrink: 0;
}

.hero-slide-visual svg {
	width: 100%;
	height: 100%;
	display: block;
	overflow: visible;
}

.hero-visual-radar .hero-radar-sweep {
	transform-origin: 210px 70px;
}

.hero-slide.is-active .hero-visual-radar .hero-radar-sweep {
	animation: heroRadarSweep 4s linear infinite;
}

.hero-slide.is-active .hero-visual-chart .hero-chart-gem {
	stroke-dasharray: 420;
	stroke-dashoffset: 420;
	animation: heroChartDraw 2.2s ease forwards;
}

.hero-slide.is-active .hero-visual-chart .hero-chart-dot {
	animation: heroChartPulse 2s ease-in-out infinite;
}

.hero-slide.is-active .hero-visual-score rect:nth-child(1) { animation: heroBarUp 1.2s ease 0.1s both; }
.hero-slide.is-active .hero-visual-score rect:nth-child(2) { animation: heroBarUp 1.2s ease 0.25s both; }
.hero-slide.is-active .hero-visual-score rect:nth-child(3) { animation: heroBarUp 1.2s ease 0.4s both; }

.hero-slide.is-active .hero-visual-filter .hero-filter-gem-glow {
	animation: heroGemGlow 2.4s ease-in-out infinite;
}

.hero-visual-chart .hero-chart-gem {
	stroke-dasharray: 420;
	stroke-dashoffset: 420;
}

@keyframes heroRadarSweep {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes heroChartDraw {
	to { stroke-dashoffset: 0; }
}

@keyframes heroChartPulse {
	0%, 100% { r: 7; opacity: 1; }
	50% { r: 9; opacity: 0.85; }
}

@keyframes heroBarUp {
	from { transform: translateY(20px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

@keyframes heroGemGlow {
	0%, 100% { filter: drop-shadow(0 0 6px rgba(0,255,136,0.4)); }
	50% { filter: drop-shadow(0 0 14px rgba(0,255,136,0.75)); }
}

.hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px) scale(0.98);
	transition: opacity .55s ease, transform .55s ease, visibility .55s;
	padding: 0 12px;
}

.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.hero-slide-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: var(--muted);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: 22px;
	background: rgba(17, 17, 24, 0.6);
	backdrop-filter: blur(6px);
}

.hero-slide-tag .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 8px var(--accent);
	flex-shrink: 0;
}

.hero-slide-headline {
	font-size: clamp(30px, 5.8vw, 58px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -1.2px;
	margin: 0;
	max-width: 920px;
}

.hero-slide-headline .hero-accent {
	color: var(--accent);
}

.hero-slide-headline em {
	font-style: normal;
	color: var(--accent);
	text-shadow: 0 0 40px rgba(0, 255, 136, 0.25);
}

.hero-slide-title {
	font-size: clamp(32px, 6.2vw, 62px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -1px;
	margin-bottom: 16px;
	max-width: 860px;
}

.hero-slide-title em {
	font-style: normal;
	color: var(--accent);
	text-shadow: 0 0 40px rgba(0, 255, 136, 0.25);
}

.hero-slide-sub {
	font-size: 18px;
	color: var(--muted);
	max-width: 620px;
	line-height: 1.65;
}

.hero-slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 32px;
	position: relative;
	z-index: 2;
}

.hero-dots {
	display: flex;
	gap: 10px;
	align-items: center;
}

.hero-dot {
	width: 36px;
	height: 6px;
	border: none;
	border-radius: 999px;
	background: var(--surface2);
	padding: 0;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: background .2s;
}

.hero-dot:hover {
	background: var(--border);
}

.hero-dot.is-active {
	background: rgba(0, 255, 136, 0.2);
}

.hero-dot-progress {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: var(--accent);
	box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.hero-dot.is-active .hero-dot-progress {
	animation: heroDotProgress 6s linear forwards;
}

.hero-dot.is-active.is-paused .hero-dot-progress {
	animation-play-state: paused;
}

@keyframes heroDotProgress {
	from { width: 0; }
	to { width: 100%; }
}

.hero-arrow {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: rgba(17, 17, 24, 0.8);
	color: var(--muted);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .2s, color .2s, background .2s;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 2px;
}

.hero-arrow:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: rgba(0, 255, 136, 0.06);
}

.hero-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
	.hero-slide {
		transition: opacity .2s ease;
		transform: none;
	}
	.hero-dot.is-active .hero-dot-progress {
		animation: none;
		width: 100%;
	}
	.stat-card-live.is-live .stat-live-dot {
		animation: none;
	}
	.hero-radar-sweep,
	.hero-visual-chart .hero-chart-gem,
	.hero-visual-chart .hero-chart-dot,
	.hero-visual-score rect,
	.hero-visual-filter .hero-filter-gem-glow {
		animation: none !important;
	}
	.hero-visual-chart .hero-chart-gem {
		stroke-dashoffset: 0;
	}
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: var(--muted);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: 24px;
}

.hero-badge .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 8px var(--accent);
}

.hero-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 22px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform .15s, filter .15s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
	background: var(--accent);
	color: #0a0a0f;
}

.btn-primary:hover { filter: brightness(1.06); }

.btn-ghost {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--muted); }

/* Stats bar */
.stats-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 48px 0 64px;
}

.stat-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 20px;
	text-align: center;
}

.stat-val {
	font-size: 28px;
	font-weight: 800;
	color: var(--accent);
	line-height: 1;
	margin-bottom: 6px;
}

.stat-val.stat-val-up { color: var(--accent); }
.stat-val.stat-val-down { color: var(--danger); }

.stat-val-row {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.stat-trend-arrow {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.stat-trend-up {
	color: var(--accent);
}

.stat-trend-down {
	color: var(--danger);
}

.stat-trend-flat {
	color: var(--muted);
	font-size: 16px;
}

.stat-val-down .stat-val-num {
	color: var(--danger);
}

.stat-label {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.stat-live-dot {
	display: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 8px var(--accent);
	flex-shrink: 0;
}

.stat-card-live.is-live .stat-live-dot {
	display: inline-block;
	animation: statLivePulse 2s ease-in-out infinite;
}

@keyframes statLivePulse {
	0%, 100% {
		opacity: 1;
		box-shadow: 0 0 6px var(--accent);
	}
	50% {
		opacity: 0.55;
		box-shadow: 0 0 12px var(--accent);
	}
}

.stat-sublabel {
	font-size: 10px;
	color: var(--muted);
	margin-top: 4px;
	opacity: 0.85;
	line-height: 1.3;
}

.stat-val-down.stat-val {
	color: var(--danger);
}

.stat-val-down.stat-val-row {
	color: var(--accent);
}

/* Sections */
.section {
	margin-bottom: 72px;
}

.section-head {
	margin-bottom: 28px;
}

.section-head h3 {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.5px;
	margin-bottom: 8px;
}

.section-head p {
	color: var(--muted);
	font-size: 15px;
	max-width: 560px;
}

.section-head h3 span { color: var(--accent); }

/* Trending */
.trending-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.trend-row {
	display: grid;
	grid-template-columns: 36px 1fr auto;
	align-items: center;
	gap: 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px 20px;
	transition: border-color .2s;
}

.trend-row:hover { border-color: rgba(0,255,136,0.25); }

.trend-rank {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	color: var(--muted);
	font-weight: 700;
}

.trend-main {
	min-width: 0;
}

.trend-ticker {
	font-weight: 800;
	font-size: 16px;
	margin-bottom: 2px;
	display: flex;
	align-items: center;
	min-width: 0;
}

.trend-ticker .tk-with-logo {
	max-width: 100%;
}

.trend-name {
	font-size: 13px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.trend-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.tag {
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--surface2);
	color: var(--muted);
	border: 1px solid var(--border);
}

.tag-stock { color: var(--stock); border-color: rgba(0,191,255,0.25); }
.tag-crypto { color: var(--crypto); border-color: rgba(247,147,26,0.25); }

.trend-impulse {
	text-align: center;
	min-width: 88px;
	padding-left: 8px;
}

.impulse-badge {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 48px;
}

.impulse-arrows {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	line-height: 1;
}

.impulse-arrow {
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
}

.impulse-strong .impulse-arrow,
.impulse-solid .impulse-arrow {
	color: var(--accent);
}

.impulse-moderate .impulse-arrow {
	color: #f0b429;
}

.impulse-weak .impulse-dot {
	font-size: 28px;
	line-height: 1;
	color: var(--muted);
	font-weight: 700;
}

.trend-score {
	text-align: right;
}

.score-num {
	font-size: 26px;
	font-weight: 800;
	color: var(--accent);
	line-height: 1;
}

.score-label {
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	color: var(--muted);
}

.trend-delta {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	font-weight: 700;
	text-align: right;
	min-width: 52px;
}

.trend-delta.up { color: var(--accent); }
.trend-delta.down { color: var(--danger); }
.trend-delta.neu { color: var(--muted); }

.trend-loading, .trend-empty {
	text-align: center;
	padding: 48px;
	color: var(--muted);
	font-family: 'Space Mono', monospace;
	font-size: 13px;
	border: 1px dashed var(--border);
	border-radius: 14px;
}

.scan-meta {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: var(--muted);
	margin-top: 12px;
	text-align: right;
}

/* Movimientos destacados del día */
.today-moves-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.today-moves-col-title {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--muted);
}

.today-moves-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.today-move-card {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 14px 16px;
	transition: border-color .2s;
}

.today-move-card:hover {
	border-color: rgba(0, 255, 136, 0.18);
}

.today-move-icon {
	font-size: 22px;
	flex-shrink: 0;
}

.today-move-info {
	flex: 1;
	min-width: 0;
}

.today-move-ticker {
	font-size: 14px;
	font-weight: 800;
	margin-bottom: 2px;
}

.today-move-name {
	font-size: 11px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.today-move-pct {
	font-family: 'Space Mono', monospace;
	font-size: 16px;
	font-weight: 800;
	flex-shrink: 0;
}

.today-move-up { color: var(--accent); }
.today-move-down { color: var(--danger); }

.today-moves-meta {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: var(--muted);
	margin-top: 12px;
	text-align: right;
	opacity: 0.85;
}

/* News feed */
.news-feed-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.news-feed-item {
	display: block;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px 18px;
	text-decoration: none;
	color: inherit;
	transition: border-color .2s, background .2s;
}

.news-feed-item:hover {
	border-color: rgba(0, 255, 136, 0.28);
	background: rgba(0, 255, 136, 0.03);
}

.news-feed-item-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.news-feed-ticker {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	color: var(--accent);
}

.news-feed-date {
	margin-left: auto;
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: var(--muted);
}

.news-feed-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	margin-bottom: 6px;
}

.news-feed-source {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.news-feed-meta {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: var(--muted);
	margin-top: 12px;
	text-align: right;
	opacity: 0.85;
}

/* Área de conocimiento (landing) */
.knowledge-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.knowledge-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	transition: border-color .2s, transform .15s;
	min-height: 100%;
}
.knowledge-card:hover {
	border-color: rgba(0, 255, 136, 0.4);
	transform: translateY(-2px);
}
.knowledge-date {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: var(--muted);
	letter-spacing: 0.04em;
}
.knowledge-card h4 {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.02em;
	margin: 0;
}
.knowledge-card p {
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0;
	flex: 1;
}
.knowledge-cta {
	font-size: 0.88rem;
	font-weight: 650;
	color: var(--accent);
	margin-top: 4px;
}
.knowledge-more {
	margin-top: 20px;
	text-align: center;
}
.knowledge-more .btn-secondary-link {
	display: inline-block;
	padding: 12px 18px;
	border-radius: 10px;
	border: 1px solid var(--border);
	text-decoration: none;
	font-weight: 650;
	color: var(--text);
}
.knowledge-more .btn-secondary-link:hover {
	border-color: var(--accent);
	color: var(--accent);
}
@media (max-width: 900px) {
	.knowledge-grid {
		grid-template-columns: 1fr;
	}
}

/* GemScore */
.gemscore-block {
	background: linear-gradient(135deg, rgba(0,255,136,0.06), rgba(124,58,237,0.08));
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 32px;
}

.gemscore-intro {
	font-size: 15px;
	color: var(--muted);
	line-height: 1.65;
	margin-bottom: 24px;
	max-width: 720px;
}

.formula {
	font-family: 'Space Mono', monospace;
	font-size: 15px;
	font-weight: 700;
	color: var(--accent);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 16px 20px;
	margin: 20px 0 24px;
	text-align: center;
}

.pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.pillar {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 18px;
}

.pillar strong {
	display: block;
	font-size: 16px;
	margin-bottom: 8px;
	color: var(--accent);
}

.pillar p {
	font-size: 13px;
	color: var(--muted);
	margin-top: 8px;
	line-height: 1.5;
}

/* How it works */
.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.step {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 24px;
}

.step-num {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: var(--cymtech);
	font-weight: 700;
	margin-bottom: 12px;
}

.step h4 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 8px;
}

.step p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.55;
}

/* Sección emocional / humana (contraste con el bloque técnico) */
.human-section {
	position: relative;
	margin-bottom: 72px;
	padding: 40px 28px 36px;
	border-radius: 20px;
	border: 1px solid rgba(167, 139, 250, 0.22);
	background:
		linear-gradient(145deg, rgba(30, 22, 48, 0.55) 0%, rgba(17, 17, 24, 0.92) 45%, rgba(12, 14, 22, 0.98) 100%);
	overflow: hidden;
}

.human-section-glow {
	position: absolute;
	top: -80px;
	right: -60px;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle, rgba(124, 58, 237, 0.28) 0%, transparent 68%);
	pointer-events: none;
}

.human-section-glow::after {
	content: '';
	position: absolute;
	bottom: -120px;
	left: -40px;
	width: 240px;
	height: 240px;
	background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
}

.section-head-human {
	position: relative;
	z-index: 1;
}

.section-head-human h3 span {
	color: #fbbf24;
}

.human-lead {
	font-size: 16px;
	line-height: 1.65;
	color: #cbd5e1;
	max-width: 640px;
	margin-top: 4px;
}

.human-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 28px;
}

.human-card {
	background: rgba(10, 10, 18, 0.75);
	border: 1px solid rgba(154, 154, 179, 0.18);
	border-radius: 16px;
	padding: 22px 22px 20px;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.human-card:hover {
	border-color: rgba(251, 191, 36, 0.35);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.human-card-highlight {
	border-color: rgba(167, 139, 250, 0.4);
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(10, 10, 18, 0.85) 100%);
}

.human-card-highlight:hover {
	border-color: rgba(167, 139, 250, 0.55);
}

.human-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.human-card-icon {
	font-size: 28px;
	line-height: 1;
	filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.45));
}

.human-card-tag {
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #e8e8f0;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid rgba(154, 154, 179, 0.35);
	background: rgba(17, 17, 24, 0.9);
}

.human-card h4 {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--text);
	line-height: 1.3;
}

.human-card p {
	font-size: 14px;
	color: #a8b4c8;
	line-height: 1.6;
}

.human-card p em {
	color: #fde68a;
	font-style: normal;
	font-weight: 600;
}

.human-footnote {
	position: relative;
	z-index: 1;
	margin-top: 20px;
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}

/* FAQ — filosofía del sistema */
.faq-section .section-head h3 span {
	color: var(--accent-blue);
}

.faq-section .section-head p {
	max-width: none;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.faq-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.faq-item[open] {
	border-color: rgba(99, 179, 255, 0.35);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 48px 18px 20px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	position: relative;
	user-select: none;
	transition: color 0.3s ease, background 0.3s ease;
}

.faq-item[open] summary {
	background: rgba(99, 179, 255, 0.04);
}

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

.faq-item summary::after {
	content: '+';
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	font-family: 'Space Mono', monospace;
	font-size: 18px;
	font-weight: 700;
	color: var(--accent);
	transition: transform 0.4s ease, color 0.3s ease;
}

.faq-item[open] summary::after {
	transform: translateY(-50%) rotate(135deg);
	color: var(--accent-blue);
}

.faq-item summary:hover {
	color: var(--accent);
}

.faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	padding: 0 20px;
	border-top: 1px solid transparent;
	transition:
		grid-template-rows 0.42s ease,
		border-color 0.35s ease,
		padding 0.42s ease;
}

.faq-item[open] .faq-answer {
	grid-template-rows: 1fr;
	border-top-color: rgba(42, 42, 58, 0.6);
}

.faq-answer-inner {
	overflow: hidden;
	min-height: 0;
}

.faq-answer-inner p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.65;
	padding: 14px 0 18px;
	margin: 0;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.faq-item[open] .faq-answer-inner p {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.08s;
}

.faq-answer strong {
	color: var(--text);
	font-weight: 600;
}

.faq-answer em {
	color: #cbd5e1;
	font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
	.faq-item,
	.faq-item summary,
	.faq-item summary::after,
	.faq-answer,
	.faq-answer-inner p {
		transition: none;
	}
}

/* Highlights / Hall of Fame */
.hof-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.hof-grid-single {
	grid-template-columns: 1fr;
	width: 100%;
	max-width: none;
}

/* Régimen de mercado (landing v2) */
.regimen-section {
	padding-top: 8px;
}

.regime-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 22px 24px;
}

.regime-inner.regime-bull {
	border-left: 4px solid var(--accent);
	padding-left: 16px;
}

.regime-inner.regime-bear {
	border-left: 4px solid #f87171;
	padding-left: 16px;
}

.regime-badge {
	font-family: 'Space Mono', monospace;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.3px;
	margin-bottom: 6px;
}

.regime-bull .regime-badge { color: var(--accent); }
.regime-bear .regime-badge { color: #f87171; }

.regime-meta {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 10px;
}

.regime-note {
	font-size: 14px;
	line-height: 1.6;
	color: var(--text);
	margin: 0;
	opacity: 0.9;
}

.regime-loading {
	color: var(--muted);
	font-size: 14px;
}

.hof-col-title {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--text);
}

.hof-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hof-card {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 14px 16px;
	transition: border-color .2s;
}

.hof-card:hover {
	border-color: rgba(0, 255, 136, 0.2);
}

.hof-card-gold {
	border-color: rgba(245, 158, 11, 0.4);
	background: rgba(245, 158, 11, 0.05);
}

.hof-icon {
	font-size: 22px;
	flex-shrink: 0;
}

.hof-icon-logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.hof-info {
	flex: 1;
	min-width: 0;
}

.hof-ticker {
	font-size: 14px;
	font-weight: 800;
	margin-bottom: 2px;
}

.hof-name {
	font-size: 11px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hof-pct {
	font-family: 'Space Mono', monospace;
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	flex-shrink: 0;
	min-width: 88px;
	text-align: right;
}

.hof-pct-up { color: var(--accent); }

.hof-badge {
	font-size: 12px;
}

.highlights-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.highlight-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px;
	text-align: center;
}

.highlight-pct {
	font-size: 24px;
	font-weight: 800;
	color: var(--accent);
}

.highlight-ticker {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	color: var(--muted);
	margin-top: 4px;
}

/* Cymtech logo links */
.cymtech-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
	opacity: 0.92;
	transition: opacity .2s, transform .15s;
}

.cymtech-logo-link:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.cymtech-logo-link img {
	display: block;
	height: auto;
	max-width: 100%;
}

.cymtech-logo-block img {
	width: 160px;
	height: auto;
}

.cymtech-block {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 28px 32px;
}

.cymtech-block h4 {
	font-size: 18px;
	font-weight: 800;
	margin-bottom: 6px;
}

.cymtech-block p {
	font-size: 14px;
	color: var(--muted);
	max-width: 480px;
}

.cymtech-logo {
	font-size: 28px;
	font-weight: 800;
	color: var(--cymtech);
	letter-spacing: -0.5px;
}

/* Cymtech block */
.site-footer {
	border-top: 1px solid var(--border);
	padding: 32px 0;
	margin-top: 24px;
}

.footer-row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: var(--muted);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.footer-links a {
	color: var(--muted);
	text-decoration: none;
}

.footer-links a:hover {
	color: var(--accent);
}

/* Cookie banner */
.cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	padding: 16px;
	background: rgba(10, 10, 15, 0.96);
	border-top: 1px solid var(--border);
	backdrop-filter: blur(8px);
	transform: translateY(0);
	transition: transform .28s ease, opacity .28s ease;
}

.cookie-banner--hide {
	transform: translateY(110%);
	opacity: 0;
}

.cookie-banner-inner {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.cookie-banner-inner p {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.55;
	max-width: 640px;
}

.cookie-banner-inner a {
	color: var(--accent);
}

.cookie-banner-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.cookie-banner .btn {
	padding: 10px 16px;
	font-size: 12px;
}

/* Legal pages */
.legal-page {
	padding-bottom: 48px;
}

.legal-content {
	max-width: 760px;
	margin: 0 auto 48px;
}

.legal-content h2 {
	font-size: 32px;
	font-weight: 800;
	margin-bottom: 28px;
	letter-spacing: -0.5px;
}

.legal-content h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 28px 0 12px;
	color: var(--text);
}

.legal-content h4 {
	font-size: 15px;
	font-weight: 700;
	margin: 20px 0 8px;
	color: var(--accent);
}

.legal-content p,
.legal-content li {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.65;
	margin-bottom: 12px;
}

.legal-content ul {
	padding-left: 20px;
	margin-bottom: 16px;
}

.legal-content a {
	color: var(--accent);
}

.legal-table {
	width: 100%;
	border-collapse: collapse;
	margin: 12px 0 20px;
	font-size: 13px;
}

.legal-table th,
.legal-table td {
	border: 1px solid var(--border);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.legal-table th {
	background: var(--surface);
	color: var(--text);
	font-weight: 600;
}

.legal-table td {
	color: var(--muted);
}

.legal-table code {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: var(--text);
}

.legal-updated {
	margin-top: 32px;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
}

.disclaimer {
	margin-top: 20px;
	font-size: 12px;
	color: var(--muted);
	line-height: 1.6;
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface);
}

@media (max-width: 900px) {
	.stats-bar { grid-template-columns: repeat(2, 1fr); }
	.pillars, .steps, .human-grid, .highlights-grid, .hof-grid, .today-moves-grid { grid-template-columns: 1fr; }
	.human-section { padding: 28px 18px 24px; }
	.trend-row {
		grid-template-columns: 36px 1fr;
		grid-template-rows: auto auto;
	}
	.trend-impulse, .trend-score {
		grid-column: 2;
		text-align: left;
		padding-left: 0;
	}
}

@media (max-width: 600px) {
	.hero { padding: 48px 0 40px; }
	.hero-slider-viewport { min-height: 460px; height: var(--hero-viewport-height, 480px); }
	.hero-slide-visual { height: 120px; margin-top: 20px; }
	.hero-slide-headline { letter-spacing: -0.6px; }
	.hero-slider-nav { gap: 10px; margin-top: 24px; }
	.hero-arrow { width: 36px; height: 36px; font-size: 20px; }
	.stats-bar { grid-template-columns: 1fr 1fr; }
	.cymtech-block { flex-direction: column; align-items: flex-start; }
	.cookie-banner-inner { flex-direction: column; align-items: stretch; }
	.cookie-banner-actions { width: 100%; }
	.cookie-banner-actions .btn { flex: 1; justify-content: center; }
}
