/* AMT — landing corporativa (referencias: Interactive Brokers, Infosel). Colores solo desde tokens.css o alfas de ellos. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; }
body.lp { background: var(--bg); overflow-x: hidden; font-size: 15px; line-height: 1.6; }

:where(.lp) ul { list-style: none; margin: 0; padding: 0; }
.lp .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.lp-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }

/* ---------- botones ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: 3px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .16s, border-color .16s, color .16s, box-shadow .16s;
}
.lp-btn-blue { background: var(--text); color: var(--bg); }
.lp-btn-blue:hover { background: #fff; }
.lp-btn-line { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, .02); }
.lp-btn-line:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06); }
.lp-btn-lg { height: 50px; padding: 0 28px; font-size: 15px; }
.lp-btn-block { width: 100%; height: 46px; }
.lp-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 15px; font-weight: 600; color: var(--text); }
.lp-link .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--text); color: var(--bg); stroke-width: 2.4; transition: transform .2s var(--ease); }
.lp-link:hover .ic { transform: translateX(3px); }

/* ---------- aviso superior ---------- */
.lp-notice {
  position: relative; z-index: 51; display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 40px; padding: 8px 20px; background: var(--blue-600); color: #fff; font-size: 13.5px; font-weight: 500; text-align: center;
}
.lp-notice-tag { padding: 1px 8px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lp-notice-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- barra de navegación ---------- */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(5, 5, 5, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-soft); }
.lp-nav-inner { display: flex; align-items: center; height: 72px; }
.lp-brand { display: inline-flex; align-items: center; gap: 12px; margin-right: 40px; }
.lp-brand span { font-size: 18px; font-weight: 600; letter-spacing: .16em; line-height: 1; transform: translateY(1px); }
.lp-menu { display: flex; align-items: center; gap: 2px; height: 100%; margin-left: auto; }
.lp-mi-link .ic { width: 17px; height: 17px; }
.lp-nav-sep { width: 1px; height: 22px; margin: 0 10px 0 6px; background: var(--line-strong); }
.lp-mi { position: relative; height: 100%; display: flex; align-items: center; }
.lp-mi-btn, .lp-mi-link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color .16s, background .16s;
}
.lp-mi-btn .ic { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.lp-mi-btn:hover, .lp-mi-link:hover, .lp-mi.is-open .lp-mi-btn { color: var(--text); background: var(--hover); }
.lp-mi.is-open .lp-mi-btn .ic { transform: rotate(180deg); }
.lp-drop {
  position: absolute; top: calc(100% - 6px); left: -8px; min-width: 390px; padding: 8px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.lp-mi.is-open .lp-drop { opacity: 1; visibility: visible; transform: none; }
.lp-drop a { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; transition: background .14s; }
.lp-drop a:hover { background: var(--hover); }
.lp-drop .ic { grid-row: span 2; width: 34px; height: 34px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); background: var(--blue-soft); }
.lp-drop b { font-size: 14px; font-weight: 600; color: var(--text); }
.lp-drop small { font-size: 12.5px; line-height: 1.4; color: var(--text-3); }
.lp-nav-right { display: flex; align-items: center; gap: 10px; }
.lp-lang { display: inline-flex; align-items: center; gap: 8px; margin-right: 8px; }
.lp-lang button { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; color: var(--text-4); transition: color .16s; }
.lp-lang button:hover { color: var(--text-2); }
.lp-lang button.is-active { color: var(--text); }
.lp-lang i { width: 2px; height: 2px; border-radius: 50%; background: var(--text-4); }
.lp-menu-signin { display: none; }
.lp-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
.lp-burger .ic { width: 20px; height: 20px; }

/* ---------- encabezado con foto ---------- */
.lp-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
/* la foto (la plataforma en uso, con el logo) ocupa la mitad derecha a todo color; se funde con el negro por la izquierda y abajo */
.lp-hero-bg { position: absolute; top: 0; bottom: 0; right: 0; width: 50%; }
.lp-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 58%; }
.lp-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(5, 5, 5, .86) 8%, rgba(5, 5, 5, .55) 20%, rgba(5, 5, 5, .2) 34%, rgba(5, 5, 5, 0) 46%),
    linear-gradient(180deg, rgba(5, 5, 5, .25) 0%, transparent 14%, transparent 80%, var(--bg) 100%);
}

.lp-hero-inner { position: relative; padding-top: 128px; padding-bottom: 96px; }
.lp-hero-inner > * { max-width: min(600px, 44vw); }
.lp-hero h1 { max-width: min(640px, 45vw); font-size: clamp(38px, 4.6vw, 66px); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; }
.lp-lead { max-width: 620px; margin-top: 26px; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.lp-cta { display: flex; align-items: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.lp-cta-center { justify-content: center; }
.lp-fine { margin-top: 16px; font-size: 13px; color: var(--text-3); }
.lp-pillars { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.lp-pillars li + li { border-left: 1px solid var(--line); }
.lp-pillars a { display: flex; flex-direction: column; gap: 4px; padding: 24px 24px 28px; transition: background .16s; }
.lp-pillars li:first-child a { padding-left: 0; }
.lp-pillars a:hover b { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.lp-pillars b { font-size: 15px; font-weight: 600; transition: color .16s; }
.lp-pillars span { font-size: 13.5px; color: var(--text-3); }

/* ---------- secciones ---------- */
.lp-sec { padding: 120px 0 0; }
.lp-sec-tight { padding-top: 112px; }
.lp-sec-head { max-width: 760px; margin-bottom: 44px; }
.lp-sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-sec h2, .lp-final h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.lp-sec-head p { margin-top: 16px; font-size: 17px; color: var(--text-2); }
.lp-lead-sm { margin-top: 18px; font-size: 16.5px; line-height: 1.65; color: var(--text-2); }

/* panel azul marino (fondo tipo IBKR) */
.lp-panel {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0) 40%), var(--bg-1);
}

/* vitrina con pestañas */
.lp-show-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.lp-show-tabs::-webkit-scrollbar { display: none; }
.lp-show-tabs button { flex: none; height: 40px; padding: 0 18px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-3); transition: color .16s, background .16s; }
.lp-show-tabs button:hover { color: var(--text); }
.lp-show-tabs button[aria-selected="true"] { color: var(--text); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); }
.lp-show-body { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px 0 56px 48px; }
.lp-show-text h3 { font-size: 26px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.lp-show-text p { margin-top: 14px; font-size: 16px; color: var(--text-2); }
.lp-show .lp-devices { margin-right: -60px; }
.lp-show .dv-phone, .lp-feature .dv-phone { right: calc(60px + 3%); }
.lp-fade { animation: lp-fade .45s var(--ease); }
@keyframes lp-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- marcos de dispositivo ---------- */
.lp-devices { position: relative; padding-bottom: 28px; }
.dv-laptop { position: relative; width: 100%; }
.dv-screen {
  position: relative; padding: 9px 9px 0; border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #1c1d21, #121316); border: 1px solid var(--line-strong); border-bottom: none;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}
.dv-screen::before { content: ""; position: absolute; top: 3px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.dv-screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 6px 6px 0 0; background: var(--bg); }
.dv-base {
  position: relative; height: 16px; margin: 0 -7%; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #2a2c31 0%, #17181b 55%, #0b0b0c 100%);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .5);
}
.dv-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: rgba(0, 0, 0, .45); }
.dv-phone {
  position: absolute; right: 2%; bottom: 0; width: 23%; padding: 6px; border-radius: 30px;
  background: linear-gradient(180deg, #232429, #111215); border: 1px solid var(--line-strong);
  box-shadow: -20px 30px 70px rgba(0, 0, 0, .65);
}
.dv-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 24px; background: var(--bg); }
.dv-phone[hidden] { display: none; }
.lp-devices-solo { padding-bottom: 8px; }

/* ---------- ecosistema ---------- */
.lp-eco { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lp-eco-item { position: relative; padding: 30px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.lp-eco-item:hover { background: rgba(255, 255, 255, .02); }
.lp-eco-item::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.lp-eco-item:hover::after { transform: scaleX(1); }
.lp-eco-item .ic { width: 26px; height: 26px; color: var(--text-2); stroke-width: 1.3; }
.lp-eco-item h3 { margin-top: 22px; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.lp-eco-item p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--text-3); }

/* ---------- bloques de producto ---------- */
.lp-feature { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center; padding: 64px 0 64px 56px; }
.lp-feature .lp-devices { margin-right: -70px; }
.lp-feature-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); padding: 64px 56px 64px 0; }
.lp-feature-rev .lp-feature-text { order: 2; }
.lp-feature-rev .lp-devices { margin-right: 0; margin-left: -70px; }
.lp-checks { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.lp-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.lp-checks .ic { width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; color: var(--text); background: rgba(255, 255, 255, .07); stroke-width: 2.4; }
.lp-checks-sm li { font-size: 14.5px; color: var(--text-2); }

/* mentorías: banda con foto */
.lp-campus { position: relative; margin-top: 120px; padding: 110px 0; overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.lp-campus-bg { position: absolute; inset: 0; }
.lp-campus-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.32); }
.lp-campus-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 5, .97) 0%, rgba(5, 5, 5, .82) 45%, rgba(5, 5, 5, .55) 100%); }
.lp-campus-inner { position: relative; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 64px; align-items: center; }
.lp-campus .lp-devices { margin-right: -60px; }

/* AMT Campus: banda oscura con el panel publicitario a la derecha, fundido hacia el texto */
.lp-mentor { position: relative; margin-top: 120px; overflow: hidden; background: #0b0c0f; color: #fff; }
.lp-mentor-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.lp-mentor-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.lp-mentor-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, #0b0c0f 0%, rgba(11, 12, 15, .82) 16%, rgba(11, 12, 15, 0) 42%),
  linear-gradient(180deg, #0b0c0f 0%, rgba(11, 12, 15, 0) 12%, rgba(11, 12, 15, 0) 86%, #0b0c0f 100%); }
.lp-mentor-inner { position: relative; display: flex; align-items: center; min-height: 880px; padding-top: 110px; padding-bottom: 110px; }
.lp-mentor-text { max-width: 470px; }
body .lp-mentor .lp-kicker { color: rgba(255, 255, 255, .55); }
body .lp-mentor h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; margin-bottom: 20px; }
body .lp-mentor .lp-lead-sm { color: rgba(255, 255, 255, .68); }
body .lp-mentor .lp-checks li { color: rgba(255, 255, 255, .88); }
body .lp-mentor .lp-checks .ic { background: rgba(255, 255, 255, .1); color: #fff; }
.lp-mentor-apply { margin-top: 34px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lp-mentor-apply-k { margin: 0; font-size: 15px; font-weight: 600; color: #fff; }
.lp-mentor-apply-t { margin: 6px 0 16px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .66); }
.lp-mentor-apply-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; background: #fff; color: #0b0d10; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s; }
.lp-mentor-apply-btn:hover { background: #e6e8eb; }
.lp-mentor-apply-btn .ic { width: 15px; height: 15px; }

/* mercados */
.lp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* escena: laptop al centro y paneles de cristal flotando en 3D alrededor (sobre el blanco de la página, sin marco) */
.mk-stage {
  position: relative; aspect-ratio: 1176 / 600; container-type: inline-size; perspective: 1600px;
  --mk-pos: #1f9d63; --mk-neg: #d8414f; --mk-ink: #0b0d10; --mk-dim: #66707d; --mk-blue: #3d7bff;
}
.mk-title { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.mk-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mk-links path { fill: none; stroke: rgba(61, 123, 255, .35); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.mk-title .lp-kicker { justify-content: center; }
.mk-floor { position: absolute; left: 24%; right: 24%; top: 86%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 23, 42, .22), rgba(15, 23, 42, 0)); filter: blur(6px); }
/* laptop de frente al centro, con el celular a su derecha */
.mk-laptop { position: absolute; left: 26%; width: 48%; top: 27%; z-index: 2; }
.mk-laptop .lp-devices { padding-bottom: 0; }
.mk-laptop .dv-screen { box-shadow: 0 40px 80px rgba(15, 23, 42, .22); }
.mk-laptop .dv-phone { right: 6%; bottom: -4%; width: 19%; z-index: 3; box-shadow: -12px 24px 50px rgba(15, 23, 42, .35); }

.mk-glass {
  position: absolute; z-index: 3; padding: 1.15cqw 1.25cqw 1.25cqw; border-radius: 1cqw;
  background: linear-gradient(140deg, rgba(255, 255, 255, .82), rgba(244, 246, 250, .52));
  border: 1px solid rgba(10, 14, 20, .09);
  box-shadow: 0 2.6cqw 5cqw -1.6cqw rgba(15, 23, 42, .28), inset 0 1px 0 rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  color: var(--mk-ink); font-size: clamp(8px, 1.02cqw, 12.5px); font-variant-numeric: tabular-nums; line-height: 1.35;
  transform-style: preserve-3d; animation: mk-float 7s ease-in-out infinite;
}
.mk-g-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1cqw; margin-bottom: .9cqw; padding-bottom: .7cqw; border-bottom: 1px solid rgba(10, 14, 20, .08); white-space: nowrap; }
.mk-g-head b { font-weight: 600; font-size: 1.08em; }
.mk-g-head span { color: var(--mk-dim); font-size: .9em; }
.mk-g-heat { left: 1%; top: 5%; width: 24%; transform: rotateY(20deg) rotateZ(-1deg); }
.mk-g-income { right: 1%; top: 3%; width: 25%; transform: rotateY(-20deg) rotateZ(1deg); animation-delay: -2s; }
.mk-g-sec { left: 38%; top: 0; width: 24%; z-index: 1; transform: rotateX(14deg); animation-delay: -4s; opacity: .96; }
.mk-g-cal { left: 0; top: 60%; width: 30%; transform: rotateY(16deg) rotateZ(.6deg); animation-delay: -1s; }
.mk-g-ratios { right: 0; top: 59%; width: 28%; transform: rotateY(-16deg) rotateZ(-.6deg); animation-delay: -3s; }
@keyframes mk-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -0.55cqw; } }
@media (prefers-reduced-motion: reduce) { .mk-glass { animation: none; } }

/* mapa de calor (sectores, logotipos y escala) en la paleta clara del resto de paneles */
.hm { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 2px; aspect-ratio: 5 / 3.4; }
.hm-sec { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.hm-sec > p { margin: 0; padding: .2cqw .25cqw .25cqw; font-size: .64em; color: var(--mk-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-side { display: grid; grid-template-rows: 1fr 1fr; gap: 2px; min-height: 0; }
.hm-g { flex: 1; display: grid; gap: 2px; min-height: 0; }
.hm-col { grid-template-rows: 1fr 1fr; }
.hm-row { grid-template-columns: 1.45fr 1fr; }
.hm-t { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1cqw; min-width: 0; min-height: 0; overflow: hidden; border-radius: .2cqw; color: #fff; text-align: center; }
.hm-t img { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.hm-t b { font-size: .74em; font-weight: 600; line-height: 1.05; }
.hm-t i { font-style: normal; font-size: .66em; opacity: .95; }
.hm-t.is-lg img { width: 1.9cqw; height: 1.9cqw; }
.hm-t.is-lg b { font-size: .95em; }
.hm-t.is-lg i { font-size: .8em; }
.hm-t.is-md img { width: 1.6cqw; height: 1.6cqw; }
.hm-t.is-md b { font-size: .85em; }
.hm-t.p3 { background: var(--mk-pos); } .hm-t.p2 { background: color-mix(in srgb, var(--mk-pos) 80%, #fff); } .hm-t.p1 { background: color-mix(in srgb, var(--mk-pos) 64%, #fff); }
.hm-t.n3 { background: var(--mk-neg); } .hm-t.n2 { background: color-mix(in srgb, var(--mk-neg) 82%, #fff); } .hm-t.n1 { background: color-mix(in srgb, var(--mk-neg) 64%, #fff); }
.hm-t.z { background: #a3a9b2; }
.hm-scale { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin-top: .6cqw; font-size: .6em; color: var(--mk-dim); text-align: center; }
.hm-scale span { padding-bottom: .25cqw; border-bottom: .25cqw solid; }
.hm-scale span:nth-child(1) { border-color: var(--mk-neg); } .hm-scale span:nth-child(2) { border-color: color-mix(in srgb, var(--mk-neg) 82%, #fff); } .hm-scale span:nth-child(3) { border-color: color-mix(in srgb, var(--mk-neg) 64%, #fff); }
.hm-scale span:nth-child(4) { border-color: #a3a9b2; }
.hm-scale span:nth-child(5) { border-color: color-mix(in srgb, var(--mk-pos) 64%, #fff); } .hm-scale span:nth-child(6) { border-color: color-mix(in srgb, var(--mk-pos) 80%, #fff); } .hm-scale span:nth-child(7) { border-color: var(--mk-pos); }
/* estado de resultados */
.mk-tbl { width: 100%; border-collapse: collapse; }
.mk-tbl th, .mk-tbl td { padding: .38cqw 0; text-align: right; white-space: nowrap; }
.mk-tbl thead th { color: var(--mk-dim); font-weight: 500; font-size: .82em; letter-spacing: .06em; }
.mk-tbl tbody th { text-align: left; font-weight: 400; color: #3f4550; }
.mk-tbl tbody td { padding-left: 1cqw; }
.mk-tbl tbody td:last-child { font-weight: 600; }
.mk-tbl tbody tr + tr > * { border-top: 1px solid rgba(10, 14, 20, .06); }
/* listas: reportes y calendario */
.mk-list { margin: 0; padding: 0; list-style: none; }
.mk-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8cqw; align-items: center; padding: .45cqw 0; white-space: nowrap; }
.mk-list li + li { border-top: 1px solid rgba(10, 14, 20, .06); }
.mk-list em { font-style: normal; font-weight: 600; font-size: .86em; padding: .1cqw .45cqw; border-radius: .25cqw; background: rgba(61, 123, 255, .1); color: #2a5fd8; }
.mk-list span { overflow: hidden; text-overflow: ellipsis; color: #3f4550; }
.mk-list time { color: var(--mk-dim); font-size: .9em; }
.mk-cal li { grid-template-columns: auto auto minmax(0, 1fr) auto; }
.mk-cal em { background: none; padding: 0; color: var(--mk-dim); }
.mk-cal time { color: var(--mk-ink); font-size: 1em; }
.mk-cal i { width: .7cqw; height: .9cqw; min-width: 6px; min-height: 8px; border-radius: 1px; }
.mk-cal i.hi { background: #e5484d; } .mk-cal i.md { background: #f5a524; }
/* razones */
.mk-ratios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9cqw 1.4cqw; margin: 0; }
.mk-ratios dt { color: var(--mk-dim); font-size: .86em; }
.mk-ratios dd { margin: .15cqw 0 0; font-size: 1.5em; font-weight: 600; letter-spacing: -.02em; }
.lp-devices-float { margin-right: -48px; }
.lp-devices-float .dv-phone { right: calc(48px + 4%); }

/* seguridad */
.lp-trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
/* la escena (panel de cristal con el Λ) sale desde el borde izquierdo de la pantalla y se funde con la página:
   sin marco; la pared blanca de la derecha de la foto continúa en el blanco de la sección */
.lp-trust-photo {
  margin-left: calc(-1 * (max(0px, (100vw - 1240px) / 2) + 32px));
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 72%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.lp-trust-photo img { display: block; width: 100%; height: auto; }
.lp-trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin-top: 36px; }
.lp-trust-list li { display: flex; gap: 14px; }
.lp-trust-list .ic { width: 22px; height: 22px; color: var(--text-2); margin-top: 1px; }
.lp-trust-list b { display: block; font-size: 15px; font-weight: 600; }
.lp-trust-list span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--text-3); }

/* planes */
.lp-billing { display: inline-flex; gap: 2px; margin-top: 28px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-1); }
.lp-billing button { height: 36px; padding: 0 20px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--text-3); }
.lp-billing button.is-active { background: rgba(255, 255, 255, .08); color: var(--text); }
.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 20px; }
.lp-plan { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-1); }
.lp-plan-pro { border-color: var(--blue-line); background: radial-gradient(600px 300px at 100% 0%, rgba(31, 94, 255, .16), transparent 70%), var(--bg-1); }
.lp-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-plan h3 { font-size: 20px; font-weight: 600; }
.lp-plan-tag { padding: 3px 9px; border-radius: 20px; background: var(--blue-soft); border: 1px solid var(--blue-line); font-size: 11.5px; font-weight: 600; color: var(--blue); }
.lp-plan-d { margin-top: 6px; font-size: 14px; color: var(--text-3); }
.lp-price { display: flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.lp-price b { font-size: 46px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-price span { font-size: 14px; color: var(--text-3); }
.lp-price-alt { min-height: 22px; margin-top: 6px; font-size: 13px; color: var(--text-3); }
.lp-plan:not(.lp-plan-pro) .lp-price { margin-bottom: 28px; }
.lp-plan .lp-btn-block { margin-top: 0; }
.lp-plan-pro .lp-btn-block { margin-top: 0; }
.lp-plan-pro .lp-price-alt { margin-bottom: 0; }
.lp-plan .lp-checks { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); }

/* cierre */
.lp-final { position: relative; margin-top: 140px; padding: 140px 0; overflow: hidden; text-align: center; border-top: 1px solid var(--line-soft); }
.lp-final-bg { position: absolute; inset: 0; }
.lp-final-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: grayscale(1) brightness(.5); }
.lp-final-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, .72), rgba(5, 5, 5, .55) 50%, rgba(5, 5, 5, .92)); }
.lp-final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.lp-final h2 { margin-top: 26px; max-width: 720px; }

/* pie */
.lp-foot { padding: 72px 0 40px; border-top: 1px solid var(--line-soft); background: var(--bg); }
.lp-foot-top { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 48px; }
.lp-foot-brand p { margin-top: 16px; font-size: 14px; color: var(--text-3); }
.lp-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lp-foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.lp-foot-cols b { margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.lp-foot-cols a { font-size: 14px; color: var(--text-2); transition: color .14s; }
.lp-foot-cols a:hover { color: var(--text); }
.lp-risk { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-soft); font-size: 12.5px; line-height: 1.7; color: var(--text-3); }
.lp-risk b { color: var(--text-2); font-weight: 600; }
.lp-foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; font-size: 13px; color: var(--text-3); }
.lp-foot-bottom nav { display: flex; gap: 20px; }
.lp-foot-bottom a:hover { color: var(--text); }

/* aparición suave */
.lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.lp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  /* sin desenfoque: un backdrop-filter convertiría la barra en contenedor del menú fijo */
  .lp-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5, 5, 5, .97); }
  .lp-burger { display: inline-flex; }
  .lp-nav-right { margin-left: auto; }
  .lp-nav-sep { display: none; }
  .lp-mi-link { justify-content: flex-start !important; gap: 12px; }
  .lp-menu > .lp-mi-link { border-bottom: 1px solid var(--line-soft); }
  .lp-menu {
    position: fixed; top: var(--lp-nav-bottom, 112px); left: 0; right: 0; bottom: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; height: auto; padding: 12px 20px 40px; overflow-y: auto;
    background: var(--bg); border-top: 1px solid var(--line-soft);
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .lp-nav.is-menu .lp-menu { opacity: 1; visibility: visible; }
  .lp-mi { flex-direction: column; align-items: stretch; height: auto; border-bottom: 1px solid var(--line-soft); }
  .lp-mi-btn, .lp-mi-link { justify-content: space-between; height: 56px; padding: 0 4px; font-size: 17px; color: var(--text); border-radius: 0; }
  .lp-mi-btn:hover, .lp-mi-link:hover, .lp-mi.is-open .lp-mi-btn { background: none; }
  .lp-drop { position: static; display: none; min-width: 0; padding: 0 0 12px; border: none; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .lp-mi.is-open .lp-drop { display: block; }
  .lp-drop a { padding: 10px 4px; }
  .lp-menu-signin { display: inline-flex; height: 48px; margin-top: 24px; }
  .lp-show-body { grid-template-columns: minmax(0, 1fr); padding: 36px 28px 40px; gap: 36px; }
  .lp-show .lp-devices { margin-right: 0; }
  .lp-show .dv-phone, .lp-feature .dv-phone { right: 3%; }
  .lp-feature, .lp-feature-rev { grid-template-columns: minmax(0, 1fr); padding: 44px 32px 48px; gap: 44px; }
  .lp-feature-rev .lp-feature-text { order: 0; }
  .lp-feature .lp-devices, .lp-feature-rev .lp-devices { margin: 0; }
  .lp-campus-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lp-campus .lp-devices, .lp-devices-float { margin-right: 0; }
  .lp-devices-float .dv-phone { right: 3%; }
  .lp-eco { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-trust-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-trust-photo { margin: 0 calc(50% - 50vw); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 80%, transparent 100%); }
  .lp-trust-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 40%; }
  .lp-foot-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .lp-wrap { padding: 0 20px; }
  .lp-hide-sm { display: none; }
  .lp-lang { margin-right: 0; }
  .lp-nav-inner { height: 64px; }
  .lp-brand { margin-right: 16px; }
  .lp-nav-right { gap: 8px; }
  .lp-nav-right .lp-btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .lp-notice { justify-content: flex-start; font-size: 12.5px; gap: 10px; line-height: 1.4; }
  .lp-notice-txt { text-align: left; }
  .lp-notice-more { display: none; }
  .lp-hero-inner { padding-top: 28px; padding-bottom: 56px; }
  .lp-hero-inner > *, .lp-hero h1 { max-width: none; }
  .lp-hero-bg { position: relative; width: 100%; height: 92vw; max-height: 520px; }
  .lp-hero-bg img { object-position: 45% 52%; }
  .lp-hero-bg::after { background: linear-gradient(180deg, transparent 0%, transparent 62%, var(--bg) 100%); }
  .lp-lead { font-size: 16px; }
  .lp-cta .lp-btn-lg { flex: 1 1 100%; }
  .lp-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-pillars li:nth-child(3) { border-left: none; }
  .lp-pillars li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-pillars a, .lp-pillars li:first-child a { padding: 18px 14px 20px 0; }
  .lp-pillars li:nth-child(even) a { padding-left: 14px; }
  .lp-sec { padding-top: 88px; }
  .lp-sec-head { margin-bottom: 32px; }
  .lp-panel { border-radius: 16px; }
  .lp-show-body { padding: 28px 18px 32px; }
  .lp-feature, .lp-feature-rev { padding: 32px 18px 36px; }
  .lp-eco { grid-template-columns: minmax(0, 1fr); }
  .lp-eco-item { padding: 24px 20px; }
  .lp-campus { margin-top: 88px; padding: 72px 0; }
  .lp-mentor { margin-top: 88px; }
  .lp-mentor-photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 4.2; }
  .lp-mentor-photo::after { background: linear-gradient(180deg, #0b0c0f 0%, rgba(11, 12, 15, 0) 14%, rgba(11, 12, 15, 0) 70%, #0b0c0f 100%); }
  .lp-mentor-inner { min-height: 0; padding-top: 0; padding-bottom: 72px; margin-top: -40px; }
  .mk-stage { aspect-ratio: 1176 / 940; margin-top: 0; }
  .mk-links, .mk-g-sec, .mk-g-income, .mk-g-cal, .mk-g-ratios { display: none; }
  .mk-title { margin-bottom: 24px; text-align: left; }
  .mk-title .lp-kicker { justify-content: flex-start; }
  .mk-laptop { left: 4%; width: 92%; top: 36%; }
  .mk-laptop .dv-phone { right: 4%; width: 22%; }
  .mk-glass { font-size: 2.1cqw; padding: 2cqw 2.2cqw; border-radius: 2cqw; }
  .mk-g-heat { left: 0; top: 0; width: 58%; }
  .mk-g-ratios { right: 0; top: auto; bottom: 0; width: 56%; }
  .hm-t img, .hm-t.is-lg img, .hm-t.is-md img { width: 3.6cqw; height: 3.6cqw; }
  .mk-g-ratios { right: 0; top: auto; bottom: 0; width: 56%; }
  .lp-trust-list { grid-template-columns: minmax(0, 1fr); }
  .lp-plans { grid-template-columns: minmax(0, 1fr); }
  .lp-plan { padding: 26px 22px; }
  .lp-final { margin-top: 96px; padding: 96px 0; }
  .lp-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .lp-foot-bottom { flex-direction: column; align-items: flex-start; }
  .dv-phone { width: 30%; border-radius: 20px; padding: 4px; }
  .dv-phone img { border-radius: 16px; }
  .dv-screen { padding: 5px 5px 0; border-radius: 10px 10px 0 0; }
  .dv-base { height: 10px; }
}
@media (max-width: 400px) {
  .lp-lang { display: none; }
}

/* resumen de planes (el detalle vive en /planes/) */
.lp-plans-teaser {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px;
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 55%), var(--bg-1);
}
.lp-plans-teaser-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-left: 48px; border-left: 1px solid var(--line); }
.lp-teaser-price { display: flex; align-items: flex-start; gap: 2px; }
.lp-teaser-price sup { margin-top: 10px; font-size: 24px; color: var(--text-3); line-height: 1; }
.lp-teaser-price b { font-size: 76px; font-weight: 600; line-height: .9; letter-spacing: -.05em; background: linear-gradient(180deg, #fff, #8a8f98); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-teaser-price span { align-self: flex-end; margin: 0 0 8px 10px; font-size: 13px; color: var(--text-3); }
@media (max-width: 860px) {
  .lp-plans-teaser { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; gap: 28px; }
  .lp-plans-teaser-cta { padding-left: 0; border-left: none; padding-top: 24px; border-top: 1px solid var(--line); }
  .lp-plans-teaser-cta .lp-btn-lg { width: 100%; }
}

/* ---------- algoritmos: espacio de trabajo propio de AMT (editor · cotizaciones · órdenes), paleta de la marca ---------- */
.al-grid { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 64px; align-items: center; }
#algoritmos .al-text h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.08; }
#algoritmos .al-text .lp-lead-sm { margin-top: 18px; }
#algoritmos .al-text .lp-checks { margin-top: 26px; }
/* dos ventanas con la esencia de un software de escritorio de trading (editor de estrategias + monitor de cotizaciones), colores de AMT */
.xs { position: relative; aspect-ratio: 100 / 95; container-type: inline-size; width: 100%; max-width: 680px; justify-self: end; }
.xe, .xq { position: absolute; overflow: hidden; box-shadow: 0 4cqw 9cqw -3cqw rgba(15, 23, 42, .5), 0 .2cqw .6cqw rgba(15, 23, 42, .18); font-family: "Segoe UI", Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.xe { right: 0; top: 46cqw; width: 84%; z-index: 2; border: 1px solid #2a3140; background: #10141b; color: #dfe5ee; font-size: 1.55cqw; zoom: .8; }
.xe-title { display: flex; align-items: center; gap: 1.1cqw; height: 4.6cqw; padding-left: 1.2cqw; background: #151a23; font-size: 1.6cqw; color: #f2f4f8; }
.xe-app { display: grid; place-items: center; width: 2.7cqw; height: 2.7cqw; border-radius: .4cqw; background: #000; border: 1px solid #3a4252; color: #fff; }
.xe-app svg { width: 56%; height: 56%; }
.xe-ctl { margin-left: auto; display: flex; height: 100%; }
.xe-ctl i { display: grid; place-items: center; width: 6cqw; }
.xe-ctl svg { width: 1.3cqw; height: 1.3cqw; fill: none; stroke: #e6e9ef; stroke-width: 1; }
.xe-menu { display: flex; gap: 2.9cqw; padding: .9cqw 2.2cqw 1cqw; background: #151a23; font-size: 1.6cqw; color: #eef1f6; }
.xe-menu u { text-underline-offset: .25cqw; }
.xe-tools { display: flex; align-items: center; gap: 1.9cqw; padding: .6cqw 2.2cqw 1.2cqw; background: #151a23; }
.xe-tb { display: block; width: 2.7cqw; height: 2.7cqw; color: #d5dbe5; }
.xe-tb svg { width: 100%; height: 100%; }
.xe-dd { display: block; width: 1.3cqw; height: 1.3cqw; margin-left: -1.4cqw; color: #d5dbe5; }
.xe-dd svg { width: 100%; height: 100%; }
.xe-sep { width: 1px; height: 3cqw; background: #2f3747; }
.xe-tabs { display: flex; align-items: flex-end; padding: 0 1cqw; background: #151a23; border-bottom: 1px solid #2a3140; }
.xe-tabs .is-on { display: inline-flex; align-items: center; gap: .9cqw; margin-left: 1.4cqw; padding: .9cqw 1.8cqw; background: #10141b; border: 1px solid #2a3140; border-bottom: 0; margin-bottom: -1px; font-weight: 700; color: #f4f6fa; clip-path: polygon(0 0, 100% 0, 100% 100%, -2cqw 100%); }
.xe-ticon { display: grid; place-items: center; width: 2cqw; height: 2cqw; border: 1px solid #8c97a8; border-radius: .25cqw; background: #000; color: #fff; }
.xe-ticon svg { width: 60%; height: 60%; }
.xe-tabr { margin-left: auto; display: flex; gap: 1cqw; padding-bottom: .7cqw; }
.xe-tabr svg { width: 2cqw; height: 2cqw; color: #c9d0db; }
.xe-code { margin: 0; padding: 1.2cqw 0 2.4cqw; counter-reset: ln; font: 1.62cqw / 1.62 Consolas, "Cascadia Mono", "SF Mono", Menlo, monospace; letter-spacing: .02em; white-space: pre; overflow: hidden; color: #dfe5ee; }
.xe-code .l { display: block; }
.xe-code .l::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 5cqw; margin-right: 3.6cqw; text-align: right; color: #8a94a5; }
.xe-code .k { color: #6f9cf2; }
.xe-code .i { color: #e6ebf2; }
.xe-code .n { color: #a9c4e4; }
.xe-code .s { color: #e7c38a; }
.xe-code .r { color: #f0616d; }
.xe-code .c { color: #6c7a8d; }
.xe-status { display: flex; align-items: center; gap: 3.2cqw; padding: 1cqw 1.4cqw; background: #151a23; border-top: 1px solid #222936; font-size: 1.5cqw; color: #e6e9ef; white-space: nowrap; }
.xe-amt { display: inline-flex; align-items: center; gap: .7cqw; color: #8fa0b8; }
.xe-amt i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #3ecf8e; }
.xe-status span:nth-child(3) { margin-left: auto; }
/* monitor de cotizaciones */
.xq { left: 0; top: 0; width: 100%; z-index: 1; border: 1px solid #1f2733; border-radius: .5cqw; background: #030406; color: #eef1f5; font-size: 1.42cqw; }
.xq th:nth-child(7), .xq td:nth-child(7) { display: none; }
.xq table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.xq th { padding: 1.1cqw .8cqw; text-align: left; font-weight: 400; color: #a3acb9; background: #07090d; border-right: 1px solid #141922; border-bottom: 1px solid #141922; }
.xq td { padding: .55cqw .8cqw; border-right: 1px solid #12161d; border-bottom: 1px solid #12161d; }
.xq .r { text-align: right; }
.xq .c { text-align: center; }
.xq-sort { display: inline-block; margin-left: .6cqw; padding: 0 .4cqw; border: 1px solid #5d6776; font-style: normal; font-size: .9em; color: #c9d0db; }
.xq-grp td { padding: .55cqw .8cqw; background: #2a2f38; color: #f2f4f7; border-right: 0; }
.xq-grp i { display: inline-block; margin-right: 1cqw; font-style: normal; font-size: .8em; color: #dfe3e9; }
.xq-sym { color: #fff; }
.xq-sym.is-sel { outline: 1.5px solid #f2f4f7; outline-offset: -2px; }
.xq-desc { color: #e9edf2; text-transform: uppercase; max-width: 15cqw; overflow: hidden; text-overflow: ellipsis; }
.xq-trend { width: 10cqw; padding-top: .3cqw !important; padding-bottom: .3cqw !important; }
.xq-trend svg { display: block; width: 100%; height: 2.4cqw; }
.xq-trend .t-up rect { fill: #13804a; }
.xq-trend .t-dn rect { fill: #8e1e27; }
.xq-trend .t-fl rect { fill: #6b7380; }
.xq td.up { color: #2ee07b; }
.xq td.dn { color: #ff4554; }
/* volumen en celdas amarillas, estilo terminal */
.xq td:last-child { background: #f5c518; color: #000; font-weight: 500; border-color: #c9a10f; }
.xq .xq-grp td:last-child { background: #2a2f38; color: #f2f4f7; font-weight: 400; border-color: transparent; }
@media (max-width: 1100px) { .al-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 760px) {
  .xs { aspect-ratio: auto; display: grid; gap: 14px; }
  .xe, .xq { position: static; width: auto; zoom: 1; }
  .xe { font-size: 2.6cqw; }
  .xe-title { height: 8cqw; font-size: 2.6cqw; }
  .xe-app { width: 4.6cqw; height: 4.6cqw; }
  .xe-ctl i { width: 8cqw; } .xe-ctl svg { width: 2.2cqw; height: 2.2cqw; }
  .xe-menu { font-size: 2.6cqw; gap: 3.4cqw; padding: 1.6cqw 3cqw; }
  .xe-tools, .xe-tabr, .xe-status span:nth-child(n+3) { display: none; }
  .xe-tabs .is-on { padding: 1.4cqw 2.6cqw; }
  .xe-ticon { width: 3.2cqw; height: 3.2cqw; }
  .xe-code { font-size: 2.45cqw; }
  .xe-code .l::before { width: 6cqw; margin-right: 3cqw; }
  .xe-status { font-size: 2.4cqw; padding: 1.8cqw 2.4cqw; }
  .xq { font-size: 2.7cqw; }
  .xq th:nth-child(2), .xq td:nth-child(2), .xq th:nth-child(4), .xq td:nth-child(4), .xq th:nth-child(5), .xq td:nth-child(5), .xq th:nth-child(7), .xq td:nth-child(7), .xq th:nth-child(9), .xq td:nth-child(9) { display: none; }
  .xq-trend { width: 22cqw; } .xq-trend svg { height: 5cqw; }
  .xq th, .xq td { padding-left: 2cqw; padding-right: 2cqw; }
}

/* ---------- comunidad: fondo blanco con la foto completa (la chica con el teléfono mostrando el perfil de AMT) ---------- */
.lp-com { position: relative; margin-top: 120px; overflow: hidden; background: #fff; }
.lp-com-inner { position: relative; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 680px; padding-top: 72px; padding-bottom: 72px; }
.lp-com-photo { position: absolute; top: 0; bottom: 0; right: 0; left: max(34%, calc((100vw - 1240px) / 2 + 420px)); container-type: size; }
/* la foto entera (3:2) anclada abajo a la derecha; sus bordes superior e izquierdo se funden con el gris de la sección */
.lp-com-photo img { position: absolute; right: 0; bottom: 0; display: block; width: min(100cqw, 150cqh); height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%), linear-gradient(180deg, transparent 0%, #000 9%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%), linear-gradient(180deg, transparent 0%, #000 9%, #000 84%, transparent 100%);
  mask-composite: intersect; }

.lp-com-text { position: relative; z-index: 1; grid-column: 1; }
body .lp-com h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; margin-bottom: 20px; color: #0b0d10; }
body .lp-com .lp-kicker { color: var(--text-3); }
body .lp-com .lp-lead-sm { color: var(--text-2); }
body .lp-com .lp-checks li { color: #0b0d10; }
body .lp-com .lp-checks .ic { background: rgba(10, 14, 20, .06); }
@media (max-width: 1100px) { .lp-com-inner { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); } .lp-com-photo { left: 38%; } }
@media (max-width: 760px) {
  .lp-com { margin-top: 88px; }
  .lp-com-inner { display: block; min-height: 0; padding-top: 8px; padding-bottom: 64px; }
  .lp-com-photo { position: relative; left: auto; width: 100%; aspect-ratio: 3 / 2; container-type: normal; }
  .lp-com-photo img { position: static; width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 82%, transparent 100%); }
}

/* firma del grupo ATS (Algorithmic Trading Society) */
.ats-logo { display: block; width: auto; height: 22px; font-family: Inter, system-ui, sans-serif; }
.lp-by { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); max-width: 360px; font-size: 12.5px; letter-spacing: .02em; color: var(--text-4); }
.lp-by .ats-logo { height: 25px; color: var(--text-3); opacity: .85; }
.lp-foot-by { display: inline-flex; align-items: center; flex-wrap: wrap; white-space: pre-wrap; }
.lp-foot-by .ats-logo { height: 24px; margin-left: 10px; color: var(--text-2); }

/* vitrina con 12 secciones: una sola fila, repartida a lo ancho (en celular se desliza de lado) */
@media (min-width: 1101px) {
  .lp-show-tabs { justify-content: space-between; gap: 2px; padding: 10px 12px; overflow: visible; }
  .lp-show-tabs button { height: 38px; padding: 0 11px; font-size: 13.5px; }
}
}

/* ---------- preguntas frecuentes ---------- */
.lp-faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.lp-faq-item { border-bottom: 1px solid var(--line); }
.lp-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary .ic { flex: none; width: 18px; height: 18px; color: var(--text-3); transition: transform .2s; }
.lp-faq-item[open] summary .ic { transform: rotate(180deg); }
.lp-faq-item p { padding: 0 0 22px; max-width: 720px; font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
