/* Satoshi Tango · Blog 2.0 · tema v1.1.14
   Tokens: 03_design_system_y_tono v4.1 §2. No usar colores fuera de esta lista. */

:root {
    --st-primary: #1D43FB;
    --st-primary-hover: #1636D6;
    --st-night: #0F172A;
    --st-soft: #F0F4FF;
    --st-soft-strong: #E3EAFF;
    --st-soft-line: #DCE3FF;
    --st-surface: #F8FAFC;
    --st-line: #E2E8F0;
    --st-line-strong: #CBD5E1;
    --st-text: #0F172A;
    --st-body: #334155;
    --st-muted: #475569;
    --st-subtle: #64748B;
    --st-on-dark: #E2E8F0;
    --st-on-dark-2: #CBD5E1;
    --st-on-dark-accent: #7C93FF;
    --st-font: var(--gh-font-body, 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
    --st-font-heading: var(--gh-font-heading, var(--st-font));
    --st-r-pill: 9999px;   /* buscador, chips, compartir, paginación */
    --st-r-sm: 12px;       /* botones del blog */
    --st-r-md: 16px;       /* imágenes, tarjetas, tablas, FAQ */
    --st-r-lg: 24px;       /* banner de la app, CTA */
    --st-radius-btn: var(--st-r-sm);
    --st-radius-card: var(--st-r-md);
    --st-radius-cta: var(--st-r-lg);
    --st-measure: 720px;   /* columna de lectura: 75–80 caracteres por línea (03 §2) */
    --st-wrap: 1408px;
    --st-gutter: 20px;
    --st-header-h: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
@media (min-width: 768px) { :root { --st-gutter: 32px; } }
@media (min-width: 1200px) { :root { --st-gutter: 48px; } }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--st-header-h) + 16px); }
body { margin: 0; font-family: var(--st-font); font-size: 17px; line-height: 1.65; color: var(--st-text); background: #FFFFFF; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--st-primary); }
h1, h2, h3, h4 { font-family: var(--st-font-heading); color: var(--st-text); }
:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 3px; }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.st-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--st-night); color: #FFFFFF; font-weight: 600; text-decoration: none; }
.st-skip:focus { top: 12px; }
.st-main { display: block; }

/* ---------- Botones ---------- */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--st-radius-btn); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; }
.st-btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.st-btn--primary { background: var(--st-primary); color: #FFFFFF; }
.st-btn--primary:hover { background: var(--st-primary-hover); }
.st-btn--ghost { background: #FFFFFF; color: var(--st-text); border-color: var(--st-line); }
.st-btn--ghost:hover { border-color: var(--st-line-strong); }
.st-btn--on-dark { background: transparent; color: #FFFFFF; border-color: rgba(148, 163, 184, .45); }
.st-btn--on-dark:hover { border-color: #FFFFFF; }

/* ---------- Header global (réplica de satoshitango.com) ---------- */
.st-site { position: relative; z-index: 60; border-bottom: 1px solid var(--st-line); background: #FFFFFF; font-family: var(--st-font); color: #111827; }
.st-site__inner { max-width: var(--st-wrap); height: 98px; margin: 0 auto; padding: 0 var(--st-gutter); display: flex; align-items: center; gap: 32px; }
.st-site__logo { flex-shrink: 0; display: block; }
.st-site__logo img { width: 103px; height: auto; }
.st-site__nav { flex: 1; min-width: 0; }
.st-site__list { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.st-site__link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; border: 0; background: none; color: #111827; font: inherit; font-size: 16px; font-weight: 700; line-height: 24px; text-decoration: none; cursor: pointer; }
/* Hover igual al de satoshitango.com: el texto pasa a #1E40AF (blue-800 del sitio), sin subrayado ni fondo; la flecha de Criptomonedas no cambia */
.st-site__link:hover { color: #1E40AF; }
.st-site__link[aria-current] { color: var(--st-primary); font-weight: 700; }
.st-site__link svg { color: var(--st-body); transition: transform .2s ease; }
.st-site__link[aria-expanded="true"] svg, .st-site__pill[aria-expanded="true"] svg { transform: rotate(180deg); }
.st-site__dd { position: relative; }
.st-site__menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 70; min-width: 230px; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--st-line); border-radius: 12px; background: #FFFFFF; box-shadow: 0 12px 32px rgba(15, 23, 42, .12); }
.st-site__menu[hidden] { display: none; }
/* Puente invisible sobre los 8 px entre "Criptomonedas" y su menú: al bajar el mouse, el menú no se cierra */
.st-site__nav .st-site__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.st-site__menu--right { left: auto; right: 0; min-width: 180px; }
.st-site__menu a, .st-site__menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: #111827; font: inherit; font-size: 15px; font-weight: 400; text-align: left; text-decoration: none; cursor: pointer; }
.st-site__menu a:hover, .st-site__menu button:hover { background: #F1F5F9; }
.st-site__menu button[aria-current] { font-weight: 600; }
.st-site__menu img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.st-site__menu-more { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--st-line); }
.st-site__menu-more a { color: var(--st-primary); font-weight: 500; }
.st-site__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.st-site__pill { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 8px 12px; border: 0; border-radius: 12px; background: #F1F5F9; color: #111827; font: inherit; font-size: 16px; font-weight: 400; cursor: pointer; }
.st-site__pill img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
/* Iniciar sesión y Registrarse: mismo alto (48 px) y mismo radio (12 px, el de los botones del blog).
   Hovers iguales a satoshitango.com: Iniciar sesión pinta el fondo de #F3F4F6 y Registrarse pasa a #1E40AF */
.st-site__login { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border: 1px solid var(--st-line); border-radius: var(--st-radius-btn); background: #FFFFFF; color: #111827; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.st-site__login:hover { background: #F3F4F6; }
.st-site__register { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: var(--st-radius-btn); background: var(--st-primary); color: #FFFFFF; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.st-site__register:hover { background: #1E40AF; }
.st-site__toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--st-line); border-radius: 12px; background: #FFFFFF; color: #111827; cursor: pointer; }
.st-site__mobile-actions { display: none; }
.st-site a:focus-visible, .st-site button:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 2px; }
@media (max-width: 960px) {
    .st-site__inner { height: 64px; gap: 12px; }
    .st-site__logo img { width: 88px; }
    .st-site__toggle { display: inline-flex; }
    /* Barra mobile como en satoshitango.com: logo, país y menú. El acceso a la cuenta va dentro del menú */
    .st-site__login, .st-site__register { display: none; }
    .st-site__nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 8px var(--st-gutter) 20px; border-bottom: 1px solid var(--st-line); background: #FFFFFF; box-shadow: 0 12px 24px rgba(15, 23, 42, .08); }
    .st-site__nav.is-open { display: block; }
    .st-site__list { flex-direction: column; align-items: stretch; gap: 0; }
    .st-site__list > li { border-bottom: 1px solid var(--st-line); }
    .st-site__list > li:last-child { border-bottom: 0; }
    .st-site__link { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 16px; }
    .st-site__nav .st-site__menu { position: static; min-width: 0; margin: 0 0 8px; padding: 0; border: 0; box-shadow: none; }
    .st-site__pill { height: 44px; }
    .st-site__mobile-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 16px; }
    .st-site__mbtn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 16px; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
    .st-site__mbtn--login { border: 1px solid var(--st-line); border-radius: var(--st-radius-btn); background: #FFFFFF; color: #111827; }
    .st-site__mbtn--login:hover { background: #F3F4F6; }
    .st-site__mbtn--register { border-radius: var(--st-radius-btn); background: var(--st-primary); color: #FFFFFF; }
    .st-site__mbtn--register:hover { background: #1E40AF; }
}
@media (max-width: 340px) { .st-site__pill span { display: none; } .st-site__pill { padding: 8px 10px; } .st-site__mobile-actions { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Barra de progreso de lectura (fija arriba) ---------- */
.st-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 3px; pointer-events: none; }
.st-progress span { display: block; height: 100%; background: var(--st-primary); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Cabecera del blog (sin segundo menú) ---------- */
.st-wrap { max-width: var(--st-wrap); margin: 0 auto; padding: 0 var(--st-gutter); }
.st-blogtop__inner { max-width: var(--st-wrap); margin: 0 auto; padding: 0 var(--st-gutter); }
.st-blogrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0 0; margin-bottom: 32px; }
.st-blogrow--home { padding-top: 40px; margin-bottom: 40px; }
.st-postrow .st-blogrow { margin-bottom: 0; }
.st-blogrow .st-crumbs { font-size: 16px; gap: 10px; }
.st-blogrow .st-crumbs > * + *::before { content: "›"; margin-right: 10px; color: #94A3B8; }
.st-blogrow .st-crumbs [aria-current] { color: var(--st-text); font-weight: 600; }
.st-searchpill { display: flex; align-items: center; gap: 10px; width: 320px; max-width: 100%; height: 44px; padding: 0 18px; border: 0; border-radius: var(--st-r-pill); background: #F1F5F9; color: var(--st-subtle); font: inherit; font-size: 15px; text-align: left; cursor: text; transition: background .15s ease; }
.st-searchpill:hover { background: #E2E8F0; }
.st-searchpill:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 2px; }
.st-searchpill svg { flex-shrink: 0; color: var(--st-muted); }
.st-blogtop__title { margin: 0; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.st-blogtop__lead { max-width: 64ch; margin: 12px 0 0; font-size: 18px; line-height: 1.55; color: var(--st-muted); }
/* Categorías como tags */
.st-cattags { display: flex; gap: 8px; margin: 28px 0 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.st-cattags::-webkit-scrollbar { display: none; }
.st-cattag { display: inline-flex; align-items: center; flex-shrink: 0; height: 38px; padding: 0 16px; border: 1px solid var(--st-line); border-radius: var(--st-r-pill); background: #FFFFFF; color: var(--st-muted); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.st-cattag:hover { border-color: var(--st-line-strong); color: var(--st-text); }
.st-cattag[aria-current] { border-color: var(--st-night); background: var(--st-night); color: #FFFFFF; font-weight: 600; }
.st-cattag:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 2px; }
.st-latest { padding-top: 8px; }
.st-latest__title { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.st-latest .st-cattags { margin-top: 16px; }
.st-latest + .st-feed { padding-top: 32px; }
@media (max-width: 700px) {
    .st-blogrow { padding-top: 20px; margin-bottom: 24px; }
    .st-blogrow--home { padding-top: 24px; margin-bottom: 24px; }
    .st-searchpill { width: 100%; }
}

/* ---------- Carrusel de destacados (patrón Lemon) · v1.1.11 ----------
   De punta a punta de la pantalla. La nota activa tiene el ancho de la columna del blog (como la destacada de ARQ) y las vecinas
   se ven completas, un poco más chicas (90%); al llegar al centro crecen al tamaño grande. Sin fundido ni transparencia.
   Loop infinito (los clones los agrega main.js), dots y flechas debajo. Con .st-featured--side-arrows las flechas van
   sobre los bordes de la nota activa (desde 1000 px). Responde al ancho del propio carrusel (container queries).
   Para probar otro ancho de la nota activa: --st-slide-max en .st-featured (ej.: 1180px).
   Altura (escritorio): la da la imagen, que no se recorta porque lleva el título. Más ancho de imagen = tarjeta más alta:
   --st-media-fr en .st-featured (1.75fr por defecto ≈ 480 px de alto a 1440 px; 1.12fr era la altura anterior, ≈ 370 px). */
.st-featured { container-type: inline-size; margin: 0 0 64px; }
.st-featured__head { max-width: var(--st-wrap); margin: 0 auto 20px; padding: 0 var(--st-gutter); }
.st-featured__title { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; color: var(--st-text); }
.st-featured__stage { --st-gap: 10px; --st-peek: 20px; --st-side-scale: .9; --st-slide-w: 100%; position: relative; }
.st-featured.is-carousel .st-featured__stage { --st-slide-w: calc(100% - 2 * (var(--st-peek) + var(--st-gap))); }

/* Ventana y pista. Con una sola nota, la tarjeta queda alineada a la columna del blog. */
.st-featured__viewport { overflow: hidden; touch-action: pan-y; }
.st-featured:not(.is-carousel) .st-featured__viewport { max-width: var(--st-wrap); margin: 0 auto; padding: 0 var(--st-gutter); }
.st-featured__track { display: flex; gap: var(--st-gap); margin: 0; padding: 0; transition: transform .55s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
/* Centra la primera nota desde el primer render, antes de que cargue el JS (sin saltos de layout) */
.st-featured.is-carousel .st-featured__track { transform: translate3d(calc((100% - var(--st-slide-w)) / 2), 0, 0); }
.st-featured.is-dragging .st-featured__track,
.st-featured.is-jumping .st-featured__track { transition: none; }
.st-featured.is-dragging { -webkit-user-select: none; user-select: none; }
.st-featured.is-dragging .st-featured__viewport { cursor: grabbing; }

/* Slide */
.st-slide { position: relative; display: flex; flex: 0 0 var(--st-slide-w); flex-direction: column; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--st-line); border-radius: var(--st-r-lg); background: var(--st-surface); transition: transform .55s cubic-bezier(.22, .61, .36, 1), transform-origin .55s cubic-bezier(.22, .61, .36, 1), border-color .15s ease; }
/* Vecinas al 90%: se achican hacia afuera, así el espacio con la nota activa no cambia */
.st-featured.is-carousel .st-slide:not(.is-active) { transform: scale(var(--st-side-scale)); cursor: pointer; }
.st-slide.is-before { transform-origin: 100% 50%; }
.st-slide.is-after { transform-origin: 0 50%; }
.st-featured.is-jumping .st-slide { transition: none; }
.st-slide__media { order: -1; margin: 0; padding: 8px 8px 0; }
.st-slide__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--st-r-md); background: var(--st-soft); -webkit-user-drag: none; }
/* Orden: chips → título → bajada → fecha → botón. La fecha va pegada a la bajada y el botón se separa del bloque de texto */
.st-slide__body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; padding: 16px 20px 22px; }
.st-slide .st-chips { max-width: 100%; min-width: 0; margin: 0 0 14px; }
.st-slide__date { margin-top: 10px; color: var(--st-subtle); font-size: 14px; line-height: 1.4; }
/* Textos completos, sin "…": la tarjeta crece con el texto y todas las notas toman el alto de la más larga */
.st-slide__title { margin: 0 0 8px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; color: var(--st-text); text-wrap: balance; }
.st-slide__link, .st-slide__link:hover, .st-slide__link:visited { color: inherit; text-decoration: none; box-shadow: none; }
/* Toda la tarjeta es clic: un solo link por nota (el del título) */
.st-slide__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: calc(var(--st-r-lg) - 1px); }
.st-slide__link:focus-visible { outline: none; }
.st-slide__link:focus-visible::after { box-shadow: inset 0 0 0 2px var(--st-primary); }
.st-slide__excerpt { margin: 0; color: var(--st-muted); font-size: 15px; line-height: 1.55; text-wrap: pretty; }
/* "Leer nota": mismas medidas que los botones del blog (48 px, 16/600, radio 12), en neutro para no competir con los CTA */
.st-slide__more { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 20px; padding: 0 24px; border-radius: var(--st-radius-btn); background: var(--st-night); color: #FFFFFF; font-size: 16px; line-height: 1.2; font-weight: 600; white-space: nowrap; }
.st-slide__more svg { flex: 0 0 18px; transition: transform .2s ease; }

/* Navegación: flechas + dots, centrados debajo de la nota activa */
.st-featured__nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; padding: 0 var(--st-gutter); }
.st-featured__nav[hidden] { display: none; }
.st-featured__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid var(--st-line); border-radius: var(--st-r-pill); background: #FFFFFF; color: var(--st-text); cursor: pointer; transition: border-color .15s ease; -webkit-tap-highlight-color: transparent; }
.st-featured__btn--prev svg { transform: rotate(180deg); }
.st-featured__btn:hover { border-color: var(--st-primary); }
.st-featured__btn:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 2px; }
.st-featured__dots { display: flex; align-items: center; }
/* Dots: activo en el primary (#1D43FB) y más largo; inactivos en #64748B, que cumple 3:1 sobre blanco (WCAG 1.4.11). Área de toque de 24 px (WCAG 2.5.8) */
.st-featured__dot { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0; padding: 0; border: 0; border-radius: var(--st-r-pill); background: none; cursor: pointer; transition: width .3s ease; -webkit-tap-highlight-color: transparent; }
.st-featured__dot::before { content: ""; display: block; width: 8px; height: 8px; border-radius: var(--st-r-pill); background: var(--st-subtle); transition: width .3s ease, background-color .2s ease; }
.st-featured__dot.is-active { width: 40px; cursor: default; }
.st-featured__dot.is-active::before { width: 24px; background: var(--st-primary); }
.st-featured__dot:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 0; }
.st-featured__live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (hover: hover) {
    .st-featured.is-carousel .st-slide:not(.is-active):hover { border-color: var(--st-line-strong); }
    .st-featured:not(.is-carousel) .st-slide:hover .st-slide__more svg,
    .st-slide.is-active:hover .st-slide__more svg { transform: translateX(4px); }
    .st-featured__dot:not(.is-active):hover::before { background: var(--st-muted); transform: scale(1.25); }
}
/* Tablet: texto e imagen lado a lado */
@container (min-width: 700px) {
    /* Nota activa con el ancho de la columna (alineada con "Destacados" y la grilla), dejando al menos 40 px de cada vecina a la vista */
    .st-featured__stage { --st-gap: 24px; --st-peek: 40px; }
    .st-featured.is-carousel .st-featured__stage { --st-slide-w: min(var(--st-slide-max, calc(var(--st-wrap) - 2 * var(--st-gutter))), calc(100% - 2 * var(--st-gutter)), calc(100% - 2 * (var(--st-peek) + var(--st-gap)))); }
    .st-slide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; }
    .st-slide--noimg { grid-template-columns: minmax(0, 1fr); }
    .st-slide__media { order: 0; padding: 10px; }
    .st-slide__body { padding: 24px 8px 24px 28px; }
    .st-slide .st-chips { margin-bottom: 16px; }
    .st-slide__title { margin-bottom: 10px; }
    .st-slide__date { margin-top: 12px; }
    .st-slide__more { margin-top: 22px; }
    .st-slide--noimg .st-slide__body { padding: 32px; }
    .st-slide__title { font-size: clamp(20px, 2.4cqi, 28px); line-height: 1.2; }
    .st-slide__excerpt { font-size: 16px; line-height: 1.6; }
}
/* Escritorio: tarjeta más alta. La imagen ocupa cerca de dos tercios del ancho y el texto crece en proporción */
@container (min-width: 1000px) {
    .st-slide { grid-template-columns: minmax(0, 1fr) minmax(0, var(--st-media-fr, 1.75fr)); }
    .st-slide--noimg { grid-template-columns: minmax(0, 1fr); }
    .st-slide__media { padding: 14px; }
    .st-slide__body { padding: 36px 16px 36px 48px; }
    .st-slide .st-chips { margin-bottom: 18px; }
    .st-slide__title { margin-bottom: 12px; }
    .st-slide__date { margin-top: 14px; }
    .st-slide__more { margin-top: 28px; }
    .st-slide--noimg .st-slide__body { padding: 48px; }
    .st-slide__title { font-size: clamp(26px, 2.3cqi, 34px); line-height: 1.15; }
    .st-slide__excerpt { font-size: 17px; }
    /* Variante: flechas sobre los bordes de la nota activa, centradas en su alto (40 px = dots + margen) */
    .st-featured--side-arrows .st-featured__btn { position: absolute; z-index: 2; top: calc((100% - 40px) / 2); margin-top: -22px; }
    .st-featured--side-arrows .st-featured__btn--prev { left: calc((100% - var(--st-slide-w)) / 2 - 22px); }
    .st-featured--side-arrows .st-featured__btn--next { right: calc((100% - var(--st-slide-w)) / 2 - 22px); }
}
@media (prefers-reduced-motion: reduce) {
    .st-featured__track, .st-slide, .st-slide__more svg, .st-featured__btn, .st-featured__dot, .st-featured__dot::before { transition: none; }
}

/* ---------- Listados ---------- */
.st-feed { max-width: var(--st-wrap); margin: 0 auto; padding: 40px var(--st-gutter) 72px; }
.st-feed[hidden] { display: none; }
.st-feed__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.st-feed__title { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.st-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

.st-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 24px; }
/* 2 columnas desde 768 px y 3 desde 1100 px: por debajo de esos anchos las tarjetas quedaban tan angostas que la bajada no entraba en 3 líneas */
@media (min-width: 768px) { .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .st-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; } }
.st-card { position: relative; border: 1px solid var(--st-line); border-radius: var(--st-r-md); background: #FFFFFF; transition: border-color .2s ease; }
.st-card[hidden] { display: none; }
.st-card__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: inherit; color: inherit; text-decoration: none; }
.st-card__link:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 3px; }
/* Hover (patrón Upstart): la foto se acerca y se oscurece un poco, aparece un ícono de flecha en el centro (primary al 80%) y el borde se marca.
   Los textos no cambian de color. Sin sombra */
.st-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--st-soft); }
.st-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(15, 23, 42, .32); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.st-card__icon { position: absolute; z-index: 1; top: 50%; left: 50%; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: var(--st-r-pill); background: rgba(29, 67, 251, .8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: #FFFFFF; opacity: 0; transform: scale(.7); transition: opacity .3s ease, transform .35s cubic-bezier(.22, .61, .36, 1); pointer-events: none; }
.st-card__icon svg { width: 22px; height: 22px; transform: rotate(-45deg); }
.st-card__img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; background: var(--st-soft); transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.st-card__img--empty { background: var(--st-soft); }
.st-card__body { display: flex; flex: 1; flex-direction: column; padding: 16px 20px 20px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
/* Un solo color de chip en Destacados y en Últimos artículos */
.st-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--st-r-pill); background: var(--st-line); color: var(--st-body); font-size: 12px; line-height: 1.3; font-weight: 600; }
.st-chip--country { gap: 6px; padding-left: 5px; }
.st-chip--country img { width: 14px; height: 14px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--st-line); }
.st-chip--country svg { width: 14px; height: 14px; color: var(--st-subtle); }
/* Título completo. Bajada siempre en 3 líneas para que todas las tarjetas queden parejas:
   ocupa 3 líneas aunque el texto sea más corto y, si es más largo, se corta en la tercera.
   Con extractos de hasta 110 caracteres entra completa en todos los anchos */
.st-card__title { margin: 0 0 6px; font-size: 19px; line-height: 1.35; letter-spacing: -.01em; font-weight: 600; text-wrap: balance; }
.st-card__excerpt { display: -webkit-box; min-height: calc(1.55em * 3); margin: 0 0 16px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 16px; line-height: 1.55; color: var(--st-muted); text-wrap: pretty; }
.st-card__meta { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: auto 0 0; font-size: 14px; color: var(--st-subtle); }
.st-card__meta > * + *::before { content: "·"; margin-right: 8px; }
@media (hover: hover) {
    .st-card:hover { border-color: var(--st-line-strong); }
    .st-card:hover .st-card__img { transform: scale(1.08); }
    .st-card:hover .st-card__media::after { opacity: 1; }
    .st-card:hover .st-card__icon { opacity: 1; transform: scale(1); }
}
/* Mismo efecto con el foco del teclado */
.st-card:focus-within { border-color: var(--st-line-strong); }
.st-card:focus-within .st-card__media::after { opacity: 1; }
.st-card:focus-within .st-card__icon { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
    .st-card__img, .st-card__icon { transition: none; }
    .st-card:hover .st-card__img { transform: none; }
}

.st-empty { margin-top: 8px; padding: 32px 20px; border: 1px dashed var(--st-line-strong); border-radius: var(--st-radius-card); color: var(--st-muted); text-align: center; }
.st-empty[hidden] { display: none; }
.st-empty p { margin: 0 0 14px; }
.st-pagination .st-btn { border-radius: var(--st-r-pill); }
.st-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 56px; font-size: 15px; color: var(--st-subtle); }

/* ---------- Archivos (categoría, tag, autor) ---------- */
.st-archive { border-bottom: 1px solid var(--st-line); background: var(--st-surface); }
.st-archive__inner { max-width: var(--st-wrap); margin: 0 auto; padding: 40px var(--st-gutter) 40px; }
.st-archive__title { margin: 10px 0 12px; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.st-archive__lead { max-width: 60ch; margin: 0; font-size: 18px; line-height: 1.55; color: var(--st-muted); }
.st-author-head { display: flex; align-items: flex-start; gap: 20px; margin-top: 10px; }
.st-author-head img { width: 88px; height: 88px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.st-author-head .st-archive__title { margin-top: 0; }
.st-author-head__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 0; font-size: 15px; color: var(--st-subtle); }
.st-author-head__links a { font-weight: 600; }

.st-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--st-subtle); }
.st-crumbs a { color: var(--st-muted); font-weight: 500; text-decoration: none; }
.st-crumbs a:hover { color: var(--st-primary); text-decoration: underline; }
.st-crumbs > * + *::before { content: "/"; margin-right: 6px; color: var(--st-line-strong); }

/* ---------- Nota ---------- */
.st-post { max-width: var(--st-wrap); margin: 0 auto; padding: 24px var(--st-gutter) 80px; display: grid; grid-template-columns: minmax(0, 1fr); }
.st-article { width: 100%; max-width: var(--st-measure); min-width: 0; margin: 0 auto; }
.st-rail { display: none; }
@media (min-width: 1100px) {
    .st-post { grid-template-columns: minmax(0, var(--st-measure)) 300px; justify-content: center; column-gap: 72px; padding-top: 40px; }
    .st-article { margin: 0; }
    .st-rail { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow-y: auto; }
}
@media (min-width: 1360px) { .st-post { column-gap: 96px; } }
.st-toc[hidden], .st-sharebar__toc[hidden] { display: none !important; }
.st-toc__title { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.st-toc__list { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--st-line); }
.st-toc__list a { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--st-muted); font-size: 14px; line-height: 1.4; text-decoration: none; }
.st-toc__list a:hover { color: var(--st-text); }
.st-toc__list a[aria-current] { border-left-color: var(--st-primary); color: var(--st-text); font-weight: 500; }
.st-article__head { margin-bottom: 24px; }
.st-article__title { margin: 0 0 20px; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.st-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.st-badge__likes { display: inline-flex; align-items: center; gap: 6px; }
.st-badge__likes[hidden] { display: none; }
.st-badge__likes::before { margin-right: 4px !important; }
.st-badge__likes svg { width: 16px; height: 16px; }
.st-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.st-badge__author { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.st-badge__avatar { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; object-fit: cover; background: var(--st-soft); }
.st-badge__name { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--st-text); }
.st-badge__avatar--brand { display: grid; place-items: center; overflow: hidden; background: #FFFFFF; box-shadow: 0 0 0 1px var(--st-line); }
.st-badge__avatar--brand img { width: 22px; height: 22px; object-fit: contain; }
.st-badge__role { display: block; font-size: 13px; color: var(--st-subtle); }
.st-badge__facts { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--st-muted); }
.st-badge__facts li::before { content: "·"; margin-right: 10px; color: #94A3B8; }
@media (max-width: 600px) {
    .st-badge__facts { flex-basis: 100%; }
    .st-badge__facts li:first-child::before { display: none; }
}
@media (max-width: 360px) {
    .st-badge__facts { flex-direction: column; gap: 2px; }
    .st-badge__facts li::before { display: none; }
}
.st-article__image { margin: 0 0 32px; }
.st-article__image img { width: 100%; border-radius: var(--st-radius-card); }
.st-article__image figcaption { margin-top: 8px; font-size: 14px; color: var(--st-subtle); }

/* Contenido de la nota. Las tarjetas HTML del 04 traen estilos inline; acá solo se tipografía el Markdown (hijos directos). */
.st-content { font-size: 18px; line-height: 1.7; color: var(--st-text); overflow-wrap: break-word; }
@media (max-width: 600px) { .st-content { font-size: 17px; } }
.st-content > * { margin-top: 0; margin-bottom: 0; }
.st-content > * + * { margin-top: 1.15em; }
.st-content > h2 { margin-top: 2em; font-size: 28px; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.st-content > h3 { margin-top: 1.6em; font-size: 21px; line-height: 1.35; letter-spacing: -.01em; font-weight: 600; }
.st-content > h2 + *, .st-content > h3 + * { margin-top: .6em; }
.st-content h2, .st-content h3 { scroll-margin-top: calc(var(--st-header-h) + 24px); }
.st-content a { color: var(--st-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.st-content a:hover { text-decoration-thickness: 2px; }
.st-content > ul, .st-content > ol { padding-left: 1.4em; }
.st-content > ul li, .st-content > ol li { margin: .45em 0; padding-left: .2em; }
.st-content > ul li::marker { color: var(--st-subtle); }
.st-content > ol li::marker { color: var(--st-muted); font-weight: 600; }
.st-content > blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--st-line-strong); color: var(--st-body); font-style: normal; }
.st-content code { padding: .15em .4em; border: 1px solid var(--st-line); border-radius: 6px; background: var(--st-surface); font-size: .88em; }
.st-content pre { overflow: auto; padding: 16px; border-radius: var(--st-radius-card); background: var(--st-night); color: var(--st-on-dark); font-size: 14px; }
.st-content pre code { padding: 0; border: 0; background: none; }
.st-content > hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--st-line); }
.st-content > table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.st-content > table th, .st-content > table td { padding: 10px 12px; border-bottom: 1px solid var(--st-line); text-align: left; vertical-align: top; }
.st-content > table th { background: var(--st-surface); color: var(--st-muted); font-size: 13.5px; font-weight: 700; }
.st-content figure { margin-left: 0; margin-right: 0; }
.st-content figcaption { margin-top: 8px; font-size: 14px; color: var(--st-subtle); text-align: center; }
.st-content .kg-image { margin: 0 auto; border-radius: var(--st-radius-card); }
.kg-width-wide, .kg-width-full { width: 100%; }
.kg-width-wide img, .kg-width-full img { width: 100%; }
.st-content .kg-embed-card iframe { max-width: 100%; }
/* El último bloque de cada nota es el disclaimer (02 §3, bloque 10). */
.st-content > hr:has(+ p:last-child) { display: none; }
.st-content > p:last-child { margin-top: 2.4em; padding-top: 16px; border-top: 1px solid var(--st-line); font-size: 14px; line-height: 1.55; color: var(--st-subtle); }

/* "¿Te sirvió esta nota?" (patrón OKX) */
.st-feedback { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--st-line); }
.st-feedback__q { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: 600; color: var(--st-text); }
.st-feedback__q svg { color: var(--st-subtle); }
.st-feedback__actions { display: flex; gap: 10px; }
.st-feedback__btn { min-width: 96px; height: 44px; padding: 0 20px; border: 1px solid var(--st-line-strong); border-radius: var(--st-r-pill); background: #FFFFFF; color: var(--st-text); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.st-feedback__btn:hover { border-color: var(--st-text); }
.st-feedback__btn:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 2px; }
.st-feedback__btn[aria-pressed="true"] { border-color: var(--st-night); background: var(--st-night); color: #FFFFFF; }
.st-feedback.is-voted .st-feedback__btn[aria-pressed="false"] { opacity: .5; cursor: default; }
.st-feedback__status { flex-basis: 100%; margin: 0; font-size: 15px; color: var(--st-muted); text-align: center; }
.st-feedback__status:empty { display: none; }

/* Mejoras de las tarjetas del 04 (antes vivían en <style> dentro de cada tarjeta). */
.st-cta-btn:hover { background: var(--st-primary-hover) !important; }
/* Todos los CTA con el mismo estilo que los botones del tema (las tarjetas viejas traen 700 y radio 10 inline) */
.st-content .st-cta-btn { font-size: 16px !important; font-weight: 600 !important; line-height: 1.2 !important; border-radius: var(--st-r-sm) !important; padding: 14px 24px !important; }
.st-cta-btn:focus-visible, .st-cta-link:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
@media (max-width: 560px) {
    .st-cta { padding: 22px !important; }
    .st-cta-btn { display: block !important; text-align: center !important; }
    .st-cta-link { margin-left: 0 !important; margin-top: 14px !important; }
}
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::marker { content: ""; }
.st-faq summary:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 2px; border-radius: 12px; }
.st-faq .st-faq-chev { transition: transform .2s ease; }
.st-faq details[open] .st-faq-chev { transform: rotate(180deg); color: var(--st-primary) !important; }

.st-related { max-width: var(--st-wrap); margin: 72px auto 0; padding: 48px var(--st-gutter) 72px; border-top: 1px solid var(--st-line); }
.st-related__title { margin: 0 0 24px; font-size: 24px; letter-spacing: -.02em; font-weight: 600; }


/* Tarjetas del 04 anteriores a la v3: traen Inter inline */
.st-content [style*="'Inter'"] { font-family: var(--st-font) !important; }

/* ---------- Tarjetas del 04: el color principal se reserva para links, CTA y un acento por componente ---------- */
.st-content strong, .st-content b { font-weight: 600; }
.st-content .st-answer > p:first-child, .st-content .st-kt > p:first-child { color: var(--st-muted) !important; }
.st-content .st-kt { background: var(--st-surface) !important; }
.st-content .st-kt li > span[aria-hidden="true"] { background: var(--st-night) !important; font-weight: 600 !important; }
.st-content .st-kt strong { font-weight: 600 !important; }
.st-content .st-table th[style*="#1D43FB" i] { background: var(--st-surface) !important; color: var(--st-text) !important; box-shadow: inset 0 3px 0 var(--st-primary); border-bottom: 1px solid var(--st-line) !important; }
.st-content .st-table th[style*="#1D43FB" i] span { opacity: 1 !important; color: var(--st-muted) !important; font-weight: 400 !important; }
.st-content .st-table td[style*="#F0F4FF" i] { background: #FBFCFE !important; border-bottom-color: var(--st-line) !important; color: var(--st-text) !important; }
.st-content .st-table td { font-weight: 400 !important; }
.st-content .st-table th[scope="row"] { font-weight: 500 !important; }
.st-content .st-table th[scope="col"] { font-weight: 600 !important; }
.st-content .st-faq summary span span:first-child { font-weight: 600 !important; }
.st-content .st-faq details[open] .st-faq-chev { color: var(--st-text) !important; }

/* ---------- Compartir ---------- */
.st-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.st-share__label { margin: 0; font-size: 14px; font-weight: 600; color: var(--st-muted); }
.st-share__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.st-share__native[hidden] { display: none; }
.st-share__btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--st-line); border-radius: 50%; background: #FFFFFF; color: var(--st-muted); cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.st-share__btn:hover { border-color: var(--st-line-strong); color: var(--st-text); }
.st-share__status { font-size: 14px; color: var(--st-text); }
.st-share__status:empty { display: none; }
/* Columna lateral (desktop): debajo del índice, acompaña todo el scroll */
.st-share--rail { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 20px; border-top: 1px solid var(--st-line); }
.st-share--rail .st-share__list { gap: 6px; }
.st-share--rail .st-share__btn { width: 36px; height: 36px; }
.st-share--rail .st-share__btn svg { width: 16px; height: 16px; }
/* Panel "Más" de la barra mobile */
.st-share--sheet .st-share__list { gap: 12px; }
.st-share--sheet .st-share__btn { width: 48px; height: 48px; }

/* ---------- Barra fija inferior de la nota (mobile) ---------- */
.st-sharebar { display: none; }
@media (max-width: 1099px) {
    .st-sharebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px var(--st-gutter) calc(6px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--st-line); background: #FFFFFF; box-shadow: 0 -4px 16px rgba(15, 23, 42, .06); transition: transform .2s ease, visibility .2s; }
    .st-sharebar.is-hidden { transform: translateY(100%); visibility: hidden; }
}
.st-sharebar__toc { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--st-line); border-radius: var(--st-r-pill); background: #FFFFFF; color: var(--st-text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.st-sharebar__toc svg { color: var(--st-muted); }
.st-sharebar__toc:hover { border-color: var(--st-line-strong); }
.st-sharebar__actions { display: flex; gap: 8px; margin-left: auto; }
.st-sharebar__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--st-line); border-radius: 50%; background: #FFFFFF; color: var(--st-muted); cursor: pointer; }
.st-sharebar__btn:hover { border-color: var(--st-line-strong); color: var(--st-text); }
.st-sharebar__toc:focus-visible, .st-sharebar__btn:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 2px; }
.st-sharebar__status { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 6px 14px; border-radius: var(--st-r-pill); background: var(--st-night); color: #FFFFFF; font-size: 14px; white-space: nowrap; pointer-events: none; }
.st-sharebar__status:empty { display: none; }

/* Paneles desde abajo (índice y "Más" de compartir) */
.st-sheet { width: 100%; max-width: min(100%, 560px); max-height: min(72vh, 560px); margin: auto auto 0; padding: 0; border: 0; border-radius: 20px 20px 0 0; background: #FFFFFF; color: var(--st-text); box-shadow: 0 -12px 40px rgba(15, 23, 42, .18); }
.st-sheet[open] { display: flex; flex-direction: column; animation: st-sheet-in .22s ease-out; }
.st-sheet::backdrop { background: rgba(15, 23, 42, .45); }
@keyframes st-sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.st-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 4px var(--st-gutter); }
.st-sheet__title { margin: 0; font-size: 16px; font-weight: 600; }
.st-sheet__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--st-muted); cursor: pointer; }
.st-sheet__close:hover { background: #F1F5F9; color: var(--st-text); }
.st-sheet__close:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 2px; }
.st-sheet__body { overflow-y: auto; padding: 8px var(--st-gutter) calc(24px + env(safe-area-inset-bottom, 0px)); }
.st-sheet .st-toc__list a { padding: 10px 0 10px 14px; font-size: 16px; }
@media (min-width: 1100px) { .st-sheet { display: none !important; } }

/* ---------- Banner de la app ---------- */
.st-app { margin: 56px 0 72px; }
.st-article .st-app { margin: 48px 0 0; }
@media (min-width: 1100px) { .st-article > .st-app { display: none; } }
.st-app__inner { position: relative; display: grid; gap: 32px; overflow: hidden; padding: 40px 28px; border: 1px solid var(--st-soft-line); border-radius: var(--st-r-lg); background: var(--st-soft); color: var(--st-text); }
@media (min-width: 900px) { .st-app__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 48px; padding: 56px 64px; } }
.st-article .st-app__inner { padding: 36px 32px; }
@media (min-width: 900px) { .st-article .st-app__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; } }
.st-app__eyebrow { margin: 0 0 10px; color: var(--st-muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.st-app__title { max-width: 22ch; margin: 0 0 20px; color: var(--st-text); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.st-article .st-app__title { font-size: clamp(22px, 2.4vw, 28px); }
.st-app__points { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.st-app__points li { position: relative; padding-left: 28px; color: var(--st-body); font-size: 16px; line-height: 1.5; }
.st-app__points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; box-shadow: 0 0 0 1px var(--st-soft-line); }
.st-app__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Un solo CTA por dispositivo (criterio: CTA justos y necesarios) */
.st-app__cta--reg { display: none; }
@media (min-width: 900px) { .st-app__cta--reg { display: inline-flex; } .st-app__cta--dl { display: none; } }
.st-app--compact .st-app__cta--reg { display: inline-flex; }
.st-app__visual { display: flex; justify-content: center; align-items: center; }
.st-app__img { display: block; width: 100%; max-width: 420px; height: auto; margin: -24px 0 -56px; filter: drop-shadow(0 24px 48px rgba(15, 23, 42, .18)); }
@media (max-width: 899px) { .st-app__img { max-width: 300px; margin: 0 auto -40px; } }
.st-app__qr { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--st-soft-line); color: var(--st-text); font-size: 14px; font-weight: 500; text-align: center; text-decoration: none; }
.st-app__qr img { width: 160px; height: 160px; }
@media (max-width: 899px) { .st-app__qr, .st-app__visual--qr { display: none; } }
@media (max-width: 560px) {
    .st-app__actions { flex-direction: column; }
    .st-app__actions .st-btn { width: 100%; }
}
/* Versión compacta (columna lateral de la nota) */
.st-app--compact { margin: 0; transition: opacity .2s ease, visibility .2s; }
.st-app--compact.is-muted { opacity: 0; visibility: hidden; }
/* Si índice + compartir + banner no entran en el alto de la ventana, el script oculta el banner para que el índice y compartir no se corten */
.st-rail .st-app--compact.is-tight { display: none; }
.st-app--compact .st-app__inner { display: block; padding: 24px; border-radius: var(--st-r-lg); }
.st-app--compact .st-app__title { margin-bottom: 16px; font-size: 19px; line-height: 1.3; }
.st-app--compact .st-app__actions { flex-direction: column; }
.st-app--compact .st-btn { width: 100%; }

/* ---------- Footer (réplica de satoshitango.com) ---------- */
.st-sitefooter { margin-top: 0; padding: 64px 0 24px; border-radius: 24px 24px 0 0; background: #111827; color: #FFFFFF; font-family: var(--st-font); font-size: 16px; line-height: 24px; }
.st-sitefooter__inner { max-width: var(--st-wrap); margin: 0 auto; padding: 0 var(--st-gutter); }
.st-sitefooter a { color: #6B7280; text-decoration: none; }
.st-sitefooter a:hover { color: #FFFFFF; }
.st-sitefooter a:focus-visible, .st-sitefooter select:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.st-sitefooter ul { margin: 0; padding: 0; list-style: none; }
.st-sitefooter__top { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 32px; }
.st-sitefooter__logo img { width: 120px; height: auto; }
.st-sitefooter__country { position: relative; display: inline-flex; align-items: center; gap: 8px; width: 170px; height: 40px; padding: 0 12px; border: 1px solid #FFFFFF; border-radius: 8px; color: #FFFFFF; }
.st-sitefooter__country select { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0 20px 0 0; border: 0; background: transparent; color: #FFFFFF; font: inherit; font-size: 15px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.st-sitefooter__country select option { color: #111827; }
.st-sitefooter__country svg:last-child { position: absolute; right: 12px; pointer-events: none; }
.st-sitefooter__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 900px) { .st-sitefooter__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .st-sitefooter__cols { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px; } }
.st-sitefooter__head { margin: 0 0 12px; color: #FFFFFF; font-size: 16px; line-height: 24px; font-weight: 700; }
.st-sitefooter__col li + li { margin-top: 8px; }
.st-sitefooter__col a, .st-sitefooter .st-category-links a { font-size: 14px; line-height: 20px; }
.st-sitefooter .st-category-links { display: block; }
.st-sitefooter .st-category-links li + li { margin-top: 8px; }
.st-sitefooter__app { display: flex; flex-direction: column; align-items: center; grid-column: 1 / -1; text-align: center; }
@media (min-width: 1200px) { .st-sitefooter__app { grid-column: auto; } }
.st-sitefooter a.st-sitefooter__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 176px; height: 48px; padding: 12px 24px; border-radius: 8px; background: #1D43FB; color: #FFFFFF; font-size: 16px; }
.st-sitefooter a.st-sitefooter__btn:hover { background: #1636D6; }
.st-sitefooter__qr { display: block; margin-top: 16px; }
.st-sitefooter__qr img { width: 112px; height: 112px; border-radius: 8px; }
.st-sitefooter__small { margin: 8px 0 0; color: #6B7280; font-size: 12px; line-height: 16px; }
.st-sitefooter__app .st-sitefooter__small { max-width: 190px; }
.st-sitefooter__social { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.st-sitefooter__social .st-sitefooter__head { margin: 0; }
.st-sitefooter__social ul { display: flex; gap: 16px; }
.st-sitefooter__social a { display: block; opacity: .8; }
.st-sitefooter__social a:hover { opacity: 1; }
.st-sitefooter__social img { width: 20px; height: 20px; }
.st-sitefooter__legal { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.st-sitefooter__fiscal img { width: 84px; height: auto; }
.st-sitefooter__copy { margin: 0; color: #FFFFFF; font-size: 14px; line-height: 14px; }
.st-sitefooter__legal .st-sitefooter__small a { color: #6B7280; }
.st-sitefooter__legal .st-sitefooter__small a:hover { color: #FFFFFF; }
@media (max-width: 560px) { .st-sitefooter__legal { flex-direction: column; align-items: flex-start; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
    .st-sheet[open] { animation: none; }
}
@media print {
    .st-site, .st-rail, .st-sharebar, .st-sheet, .st-feedback, .st-share, .st-app, .st-related, .st-progress, .st-sitefooter__top, .st-sitefooter__cols, .st-sitefooter__social { display: none !important; }
}
