/* ==========================================================================
   Landing (home) · home.css
   Layout específico de templates/landing.html. Consume los tokens y
   componentes de design-system.css (prefijos --nx- / .nx-).
   Clases propias con prefijo `lp-`.
   (landing.css queda intacto: lo siguen usando terms/privacy/risk/ticket_result.)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body.lp {
    font-family: var(--nx-font-sans);
    background: var(--nx-bg);
    color: var(--nx-text);
    line-height: var(--nx-lh-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
:where(.lp) a { color: inherit; text-decoration: none; }
:where(.lp) ul { list-style: none; }
:where(.lp) img { max-width: 100%; }
[hidden] { display: none !important; }

/* ── TICKER: vive en public-header.css (compartido por el header público) ── */

/* ── HERO ───────────────────────────────────────────────────────────────── */
.lp-hero { position: relative; overflow: hidden; padding: 3rem 0 5rem; border-bottom: 1px solid var(--nx-border); }
.lp-hero__glow {
    position: absolute; pointer-events: none; border-radius: 50%;
    top: 25%; left: 50%; width: 600px; height: 350px; max-width: 100vw;
    transform: translate(-50%, -50%);
    background: var(--nx-halo-accent); filter: blur(110px);
}
.lp-hero__glow--cyan { top: 33%; left: 25%; width: 350px; height: 350px; transform: none; background: var(--nx-halo-cyan); filter: blur(100px); }
.lp-hero__grid { position: relative; display: grid; gap: 3rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.lp-hero__copy { text-align: center; }
.lp-hero__copy .nx-pill { margin-bottom: 1.5rem; }
.lp-hero__title { margin-bottom: 1.5rem; }
.lp-hero__sub { max-width: 42rem; margin-inline: auto; }
.lp-hero__cta { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.lp-hero__note {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35rem 0.85rem;
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid var(--nx-border);
    font-size: var(--nx-fs-xs); font-weight: 500; color: var(--nx-muted);
}
.lp-hero__note .lp-sep { color: var(--nx-faint); opacity: 0.6; }
@media (min-width: 640px) {
    .lp-hero__cta { flex-direction: row; justify-content: center; }
}
@media (min-width: 1024px) {
    .lp-hero { padding: 6rem 0; }
    .lp-hero__grid { grid-template-columns: 7fr 5fr; gap: 3rem; }
    .lp-hero__copy { text-align: left; }
    .lp-hero__sub { margin-inline: 0; }
    .lp-hero__cta { justify-content: flex-start; }
    .lp-hero__note { justify-content: flex-start; }
}

/* Signal preview (terminal) */
.lp-preview-wrap { position: relative; max-width: 30rem; width: 100%; margin-inline: auto; }
.lp-preview { border-radius: var(--nx-r-xl); padding: 1.25rem; border: 1px solid var(--nx-border-strong); box-shadow: var(--nx-shadow-lg); }
.lp-preview__head {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    padding-bottom: 0.75rem; margin-bottom: 1rem; border-bottom: 1px solid var(--nx-border);
}
.lp-preview__title { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--nx-fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nx-muted); }
.lp-sig { background: var(--nx-surface-2); border: 1px solid var(--nx-border); border-radius: var(--nx-r-lg); padding: 1rem; }
.lp-sig + .lp-sig { margin-top: 0.75rem; }
.lp-sig__top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; }
.lp-sig__pair { font-size: var(--nx-fs-md); font-weight: 700; color: var(--nx-text-strong); }
.lp-sig__prices {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem;
    padding: 0.6rem; margin: 0.5rem 0 0.75rem;
    text-align: center; font-family: var(--nx-font-mono); font-size: var(--nx-fs-xs);
    background: var(--nx-overlay); border: 1px solid var(--nx-border); border-radius: var(--nx-r-md);
}
.lp-sig__prices label { display: block; font-size: 0.625rem; text-transform: uppercase; color: var(--nx-muted); }
.lp-sig__prices span { display: block; margin-top: 0.15rem; font-weight: 700; color: var(--nx-text-strong); }
.lp-sig__prices .is-sl label, .lp-sig__prices .is-sl span { color: var(--nx-rose-text); }
.lp-sig__prices .is-tp label, .lp-sig__prices .is-tp span { color: var(--nx-emerald-text); }
.lp-sig__conf { display: flex; justify-content: space-between; font-size: var(--nx-fs-xs); color: var(--nx-muted); margin-bottom: 0.3rem; }
.lp-sig__conf span:last-child { font-family: var(--nx-font-mono); font-weight: 700; color: var(--nx-cyan-text); }
.lp-preview__foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem;
    margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--nx-border);
    font-size: var(--nx-fs-xs); color: var(--nx-text-2);
}
.lp-preview__channels { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1rem; }
.lp-preview__channels span { display: inline-flex; align-items: center; gap: 0.35rem; }
.lp-preview__channels .is-tg { color: var(--nx-cyan-text); }
.lp-preview__sent { font-size: var(--nx-fs-2xs); color: var(--nx-emerald-text); font-weight: 500; display: inline-flex; align-items: center; gap: 0.35rem; }
.lp-float-tp {
    position: absolute; z-index: 2; top: -0.9rem; right: 0.5rem;
    font-family: var(--nx-font-mono); font-weight: 700;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: var(--nx-shadow-md);
    animation: lp-float 4s ease-in-out infinite;
}
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ── STATS / VALIDACIÓN (#performance) ──────────────────────────────────── */
.lp-validate { text-align: center; }
.lp-validate .nx-lead { margin-inline: auto; margin-top: 0.5rem; }
.lp-validate__title:empty { display: none; }
.lp-validate__title { font-size: var(--nx-fs-2xl); margin-top: 0.25rem; }
.lp-validate__grid { display: grid; gap: 1rem; margin-top: 2rem; text-align: left; grid-template-columns: minmax(0, 1fr); }
.lp-validate__grid > div { display: flex; flex-direction: column; }
.lp-validate__card { flex: 1; display: flex; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--nx-r-lg); font-size: var(--nx-fs-sm); font-weight: 500; color: var(--nx-text); }
.stat-num:empty { display: none; }
.stat-num { font-size: 1.75rem; font-weight: 800; text-align: center; margin-bottom: 0.5rem; }
.lp-validate__cta { margin-top: 2rem; }
@media (min-width: 640px)  { .lp-validate__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lp-validate__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── WIRE (#noticias) ───────────────────────────────────────────────────── */
.lp-wire-feature { border-radius: var(--nx-r-xl); border-color: var(--nx-border-strong); overflow: hidden; margin-bottom: 2rem; transition: border-color var(--nx-dur); }
.lp-wire-feature:hover { border-color: var(--nx-border-accent); }
.lp-wire-feature__grid { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: minmax(0, 1fr); padding: 1.5rem; }
.lp-wire-feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-bottom: 1rem; font-family: var(--nx-font-mono); font-size: var(--nx-fs-xs); color: var(--nx-muted); }
.lp-wire-feature__title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.875rem); font-weight: 700; line-height: 1.3; color: var(--nx-text-strong); }
.lp-wire-feature__body { margin-top: 1rem; font-size: clamp(0.875rem, 0.85rem + 0.15vw, 1rem); line-height: var(--nx-lh-body); color: var(--nx-text-2); white-space: pre-line; }
.lp-wire-feature__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.lp-wire-feature__chips .nx-chip { font-size: var(--nx-fs-xs); padding: 0.25rem 0.75rem; border-radius: var(--nx-r-sm); }
.lp-wire-feature__actions { margin-top: 1.5rem; }
@media (min-width: 1024px) { .lp-wire-feature__grid { grid-template-columns: 7fr 5fr; padding: 2rem; } }

.lp-matrix .nx-meter { height: 6px; margin-top: 0.3rem; }
.lp-matrix__row + .lp-matrix__row { margin-top: 0.8rem; }
.lp-matrix__row > div:first-child { display: flex; justify-content: space-between; gap: 0.5rem; font-size: var(--nx-fs-2xs); }
.lp-matrix__row > div:first-child span:first-child { color: var(--nx-text-2); }
.lp-matrix__row > div:first-child span:last-child { font-weight: 700; }
.lp-matrix__diag { margin-top: 1rem; padding: 0.6rem; border-radius: var(--nx-r-xs); background: var(--nx-surface-2); border: 1px solid var(--nx-border); font-size: var(--nx-fs-2xs); color: var(--nx-muted); line-height: 1.6; }
.lp-matrix__diag strong { color: var(--nx-accent-text); font-weight: 600; }

.lp-wire-grid { display: grid; gap: 1.5rem; margin-bottom: 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .lp-wire-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-wire-card { display: flex; flex-direction: column; border-radius: var(--nx-r-lg); transition: border-color var(--nx-dur); }
.lp-wire-card:hover { border-color: var(--nx-border-strong); }
.lp-wire-card__meta { display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; font-family: var(--nx-font-mono); font-size: var(--nx-fs-xs); color: var(--nx-muted); }
.lp-wire-card__meta span:first-child { color: var(--nx-cyan-text); font-weight: 600; text-transform: uppercase; }
.lp-wire-card__title { font-size: var(--nx-fs-lg); font-weight: 700; color: var(--nx-text-strong); line-height: 1.35; }
.lp-wire-card__body {
    margin-top: 0.5rem; font-size: var(--nx-fs-xs); line-height: var(--nx-lh-body); color: var(--nx-muted);
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.lp-wire-card__foot { margin-top: auto; padding-top: 0.75rem; display: flex; justify-content: space-between; gap: 0.75rem; font-size: var(--nx-fs-xs); color: var(--nx-muted); }
.lp-wire-card__foot-wrap { margin-top: 1rem; border-top: 1px solid var(--nx-border); }

/* Gate (login prompt) */
.lp-gate { position: relative; overflow: hidden; border-radius: var(--nx-r-xl); padding: 1.5rem; }
.lp-gate .nx-halo { right: -2.5rem; bottom: -2.5rem; width: 16rem; height: 16rem; }
.lp-gate__inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; align-items: stretch; }
.lp-gate__copy { display: flex; gap: 1rem; align-items: flex-start; }
.lp-gate__title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: var(--nx-fs-xl); font-weight: 700; color: var(--nx-text-strong); }
.lp-gate__title .nx-badge { text-transform: none; font-weight: 400; }
.lp-gate__text { margin-top: 0.3rem; max-width: 42rem; font-size: var(--nx-fs-sm); color: var(--nx-text-2); }
.lp-gate__text strong { color: var(--nx-text-strong); }
.lp-gate__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.lp-gate__actions .nx-btn { flex: 1; }
@media (min-width: 1024px) {
    .lp-gate { padding: 2rem; }
    .lp-gate__inner { flex-direction: row; align-items: center; justify-content: space-between; }
    .lp-gate__actions .nx-btn { flex: none; }
}

/* ── DAILY (#analisis-diario) ───────────────────────────────────────────── */
.lp-daily-grid { display: grid; gap: 2rem; margin-bottom: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .lp-daily-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-daily-card { display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-color: var(--nx-border-strong); transition: border-color var(--nx-dur); }
.lp-daily-card .nx-halo { top: -2.5rem; right: -2.5rem; }
.lp-daily-card--gold:hover { border-color: rgba(234, 179, 8, 0.45); }
.lp-daily-card--btc:hover  { border-color: rgba(6, 182, 212, 0.45); }
.lp-daily-card__top { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 1rem; }
.lp-daily-card__meta { font-family: var(--nx-font-mono); font-size: var(--nx-fs-xs); color: var(--nx-muted); }
.lp-daily-card__asset { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.lp-daily-card__name { display: flex; align-items: center; gap: 0.6rem; }
.lp-daily-card__name h3 { font-size: var(--nx-fs-2xl); font-weight: 700; color: var(--nx-text-strong); }
.lp-daily-card__price { font-family: var(--nx-font-mono); text-align: right; }
.lp-daily-card__price strong { font-size: var(--nx-fs-xl); color: var(--nx-text-strong); }
.lp-daily-card__price span { margin-left: 0.4rem; font-size: var(--nx-fs-xs); font-weight: 700; }
.lp-daily-card__headline { font-size: var(--nx-fs-md); font-weight: 600; color: var(--nx-cyan-text); margin-bottom: 1rem; }
.lp-daily-card .nx-metrics { margin-bottom: 1rem; }
.lp-daily-card .nx-terminal { margin-bottom: 1rem; padding: 0.75rem; }
.lp-daily-card__terminal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin-top: 0.75rem; padding-top: 0.6rem; border-top: 1px solid var(--nx-border); font-size: 0.625rem; color: var(--nx-muted); }
.lp-daily-card__desc { font-size: var(--nx-fs-xs); line-height: var(--nx-lh-body); color: var(--nx-text-2); }
.lp-daily-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 1.25rem; padding-top: 0.75rem; border-top: 1px solid var(--nx-border); font-size: var(--nx-fs-xs); }
.lp-daily-card__foot .nx-mono { font-size: var(--nx-fs-2xs); color: var(--nx-muted); }
.lp-daily-card--gold .lp-daily-card__foot a { color: var(--nx-yellow-text); font-weight: 600; }
.lp-daily-card--btc  .lp-daily-card__foot a { color: var(--nx-cyan-text); font-weight: 600; }
.lp-daily-info { flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.25rem; border-radius: var(--nx-r-xl); }
.lp-daily-info p { color: var(--nx-text-2); }
.lp-daily-info strong { color: var(--nx-text-strong); }
.lp-daily-info .nx-btn { flex-shrink: 0; }
@media (min-width: 768px) { .lp-daily-info { flex-direction: row; align-items: center; justify-content: space-between; } }
.lp-daily-info__copy { display: flex; align-items: flex-start; gap: 0.75rem; }

/* ── FEATURES ───────────────────────────────────────────────────────────── */
.lp-features { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px)  { .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lp-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-feature .nx-icon-tile { margin-bottom: 1rem; }
.lp-feature__title { font-size: var(--nx-fs-lg); font-weight: 700; color: var(--nx-text-strong); }
.lp-feature__desc { margin-top: 0.5rem; font-size: var(--nx-fs-xs); line-height: var(--nx-lh-body); color: var(--nx-muted); }

/* ── HOW ────────────────────────────────────────────────────────────────── */
.lp-steps { position: relative; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
    .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-steps::before {
        content: ''; position: absolute; top: 24px; left: 16.66%; right: 16.66%; height: 1px;
        background: linear-gradient(90deg, transparent, var(--nx-border-accent), transparent);
    }
}
.lp-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-step__num {
    width: 48px; height: 48px; margin-bottom: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--nx-accent-strong); color: #fff;
    font-size: var(--nx-fs-lg); font-weight: 700;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.45);
}
.lp-step__title { font-size: var(--nx-fs-md); font-weight: 700; color: var(--nx-text-strong); margin-bottom: 0.5rem; }
.lp-step__desc { max-width: 20rem; font-size: var(--nx-fs-xs); line-height: var(--nx-lh-body); color: var(--nx-muted); }
.lp-disclaimer { max-width: 48rem; margin: 3.5rem auto 0; text-align: center; display: block; }

/* ── ENGINE ─────────────────────────────────────────────────────────────── */
.lp-pipeline-wrap { overflow-x: auto; padding-bottom: 1rem; margin-bottom: 2.5rem; scrollbar-width: thin; }
.lp-pipeline { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: max-content; min-width: 100%; margin-inline: auto; font-family: var(--nx-font-mono); font-size: var(--nx-fs-xs); }
.lp-pipe { flex: 0 1 auto; min-width: 7rem; max-width: 9.5rem; padding: 0.75rem 0.85rem; border-radius: var(--nx-r-lg); border: 1px solid var(--nx-border-strong); text-align: center; }
.lp-pipe__icon { font-size: 0.95rem; line-height: 1; margin-bottom: 0.3rem; }
.lp-pipe__label { display: block; font-weight: 700; line-height: 1.3; }
.lp-pipe__sub { display: block; margin-top: 0.15rem; font-size: 0.625rem; color: var(--nx-muted); }
.lp-pipe--final { border-color: rgba(16, 185, 129, 0.5); background: var(--nx-tint-emerald); }
.lp-pipe-arrow { flex-shrink: 0; color: var(--nx-faint); }
.lp-engine-cards { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px)  { .lp-engine-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lp-engine-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-eng__kicker { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--nx-font-mono); font-size: var(--nx-fs-xs); }
.lp-eng__title { margin-top: 0.3rem; font-size: var(--nx-fs-md); font-weight: 700; color: var(--nx-text-strong); }
.lp-eng__desc { margin-top: 0.5rem; font-size: var(--nx-fs-xs); line-height: var(--nx-lh-body); color: var(--nx-muted); }
.lp-eng__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.lp-eng--highlight { border-color: var(--nx-border-accent); background: linear-gradient(160deg, var(--nx-tint-accent) 0%, var(--nx-glass) 55%); }

/* ── PRICING ────────────────────────────────────────────────────────────── */
.lp-pricing { display: grid; gap: 2rem; max-width: 64rem; margin-inline: auto; align-items: stretch; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lp-pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-price { display: flex; flex-direction: column; justify-content: space-between; padding: 1.75rem; }
.lp-price__badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); border-radius: var(--nx-r-pill); padding: 0.15rem 0.8rem; font-size: var(--nx-fs-2xs); font-weight: 600; letter-spacing: 0.06em; }
.lp-price__name { font-family: var(--nx-font-mono); font-size: var(--nx-fs-xs); font-weight: 600; text-transform: uppercase; color: var(--nx-muted); }
.nx-card--featured .lp-price__name { color: var(--nx-accent-text); }
.lp-price__amount { margin-top: 1rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.4rem; }
.lp-price__amount .lp-price__num { font-size: 2.25rem; font-weight: 800; color: var(--nx-text-strong); line-height: 1; letter-spacing: -0.02em; }
.lp-price__amount sup { font-size: 1.1rem; vertical-align: super; font-weight: 700; margin-right: 1px; }
.lp-price__period { font-size: var(--nx-fs-xs); color: var(--nx-muted); }
.lp-price__desc { margin-top: 0.5rem; font-size: var(--nx-fs-xs); color: var(--nx-muted); }
.lp-price .nx-checklist { margin-top: 1.5rem; }
.nx-card--featured .nx-checklist li > i { color: var(--nx-accent-text); }
.lp-price__btn { margin-top: 2rem; }

/* ── REFERRAL ───────────────────────────────────────────────────────────── */
.lp-referral { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .lp-referral { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
.lp-referral__items { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.lp-referral__item { display: flex; align-items: center; gap: 0.85rem; font-size: var(--nx-fs-xs); }
.lp-referral__item strong { display: block; font-size: var(--nx-fs-sm); font-weight: 600; color: var(--nx-text-strong); }
.lp-referral__item span { color: var(--nx-muted); }
.lp-referral__card { text-align: center; overflow: hidden; padding: 2rem; }
.lp-referral__big { font-family: var(--nx-font-mono); font-size: 3rem; font-weight: 800; line-height: 1.1; color: var(--nx-cyan-text); }
.lp-referral__big span { font-family: var(--nx-font-sans); font-size: var(--nx-fs-lg); font-weight: 400; color: var(--nx-muted); }
.lp-referral__sub { margin: 0.25rem 0 1.5rem; font-size: var(--nx-fs-xs); color: var(--nx-muted); }
.lp-referral__rows { text-align: left; margin-bottom: 1.5rem; }
.lp-referral__rows .nx-kv { gap: 0.65rem; }
.lp-referral__rows .nx-kv__row { font-size: var(--nx-fs-xs); }
.lp-referral__rows .nx-kv__row > :last-child { color: var(--nx-emerald-text); font-weight: 600; }

/* ── TELEGRAM + CTA ─────────────────────────────────────────────────────── */
.lp-telegram { text-align: center; }
.lp-telegram .nx-pill { margin-bottom: 1.5rem; }
.lp-telegram .nx-lead { margin-inline: auto; max-width: 28rem; }
.lp-telegram__btn { margin-top: 1.5rem; }
.lp-telegram__last {
    display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 0.75rem;
    margin-top: 1.5rem; padding: 0.6rem 1rem; border-radius: var(--nx-r-lg);
    font-size: var(--nx-fs-xs); color: var(--nx-muted);
}
.lp-telegram__last strong { color: var(--nx-text-strong); font-family: var(--nx-font-mono); }
.lp-cta { position: relative; overflow: hidden; text-align: center; }
.lp-cta::before {
    content: ''; position: absolute; inset: auto 0 0 0; height: 70%; pointer-events: none;
    background: radial-gradient(ellipse 60% 70% at 50% 100%, var(--nx-halo-accent), transparent 70%);
}
.lp-cta .nx-container { position: relative; }
.lp-cta__title { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; color: var(--nx-text-strong); }
.lp-cta__sub { margin-top: 0.75rem; font-size: var(--nx-fs-sm); color: var(--nx-muted); }
.lp-cta__btn { margin-top: 2rem; }
.lp-cta__btn i { color: var(--nx-accent); }

/* Revelado suave al cargar datos */
.lp-fade-in { animation: lp-fade 0.5s var(--nx-ease) both; }
@keyframes lp-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Gate: en mobile los botones bajan de línea en vez de desbordar */
.lp-gate__actions { flex-wrap: wrap; }
.lp-gate__actions .nx-btn { white-space: normal; text-align: center; min-width: 9rem; }

/* ── Mini-gráfico de tendencia (Análisis Cuantitativo Abierto) ─────────── */
.lp-spark { position: relative; margin: 0.25rem 0 1rem; color: var(--nx-faint); }
.lp-spark.is-up   { color: var(--nx-emerald); }
.lp-spark.is-down { color: var(--nx-rose); }
.lp-spark__svg { display: block; width: 100%; height: 64px; overflow: visible; }
.lp-spark__line { stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lp-spark__ema { stroke: var(--nx-muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.7; }
.lp-spark__dot { position: absolute; right: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2px var(--nx-surface); }
.lp-spark__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin-top: 0.4rem; font-family: var(--nx-font-mono); font-size: var(--nx-fs-2xs); color: var(--nx-muted); }
.lp-spark__period { font-weight: 600; letter-spacing: 0.06em; }
.lp-spark__legend { display: inline-flex; align-items: center; gap: 0.35rem; }
.lp-spark__legend i { display: inline-block; width: 14px; border-top: 1px dashed var(--nx-muted); }
.lp-spark__delta { margin-left: auto; font-weight: 700; color: var(--nx-text-2); }
.lp-spark.is-up .lp-spark__arrow { color: var(--nx-emerald-text); }
.lp-spark.is-down .lp-spark__arrow { color: var(--nx-rose-text); }

/* ── Wire de noticias: links internos ─────────────────────────────────── */
.lp-wire-link { color: inherit; text-decoration: none; transition: color var(--nx-dur); }
.lp-wire-link:hover, .lp-wire-link:focus-visible { color: var(--nx-accent-text); }
.lp-wire-feature__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.lp-wire-all { margin: -1.5rem 0 2.5rem; text-align: right; font-size: var(--nx-fs-sm); }
