/* Frase semilla (frase-semilla.html) — rediseño 2026-11-17
   Cabecera «palabras → semilla → claves» (misma composición que Autocustodia, UTXO y Direcciones) y secciones con profundidad.
   Sin JS o con «Reducir movimiento» la ilustración se ve completa (todas las clases on1…on4 puestas en el HTML). */

/* ---------- Cabecera en dos columnas ---------- */
html body .page-hero.ux-hero { max-width:1180px; margin:0 auto; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.04fr); gap:56px; align-items:center; text-align:left; padding:132px 24px 84px; isolation:isolate; }
html body .page-hero.ux-hero::after { display:none; }
html body .page-hero.ux-hero::before { content:''; position:absolute; z-index:-1; right:-4%; top:4%; width:60%; height:92%; background:radial-gradient(closest-side,rgba(247,147,26,.15),transparent 72%); pointer-events:none; }
html body .page-hero.ux-hero h1 { max-width:none; margin:14px 0 22px; font-size:clamp(2.2rem,4.2vw,3.7rem); letter-spacing:-.02em; background:linear-gradient(180deg,#fff 40%,#F7931A 150%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
html body .page-hero.ux-hero h1 span { -webkit-text-fill-color:#F7931A; }
html body .page-hero.ux-hero p { margin:0; max-width:34em; font-size:clamp(1.02rem,1.3vw,1.15rem); }
.ux-chips { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; list-style:none; padding:0; }
.ux-chips li { display:inline-flex; align-items:center; gap:9px; padding:8px 15px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.05); font-size:.86rem; color:#D0D0D3; }
.ux-chips svg { width:16px; height:16px; flex:none; stroke:#F7931A; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.ux-chips li.g svg { stroke:#3fd37a; }
.ux-chips li.r svg { stroke:#ff6b5e; }

/* ---------- Ilustración ---------- */
.ux-art { -webkit-text-size-adjust:100%; text-size-adjust:100%; margin:0; border-radius:26px; border:1px solid rgba(255,255,255,.1); background:linear-gradient(160deg,rgba(255,255,255,.065),rgba(255,255,255,.01) 55%),#050505; box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 34px 70px -26px rgba(0,0,0,.95),0 0 70px -22px rgba(247,147,26,.4); overflow:hidden; }
.ux-top { display:flex; align-items:center; gap:10px; padding:13px 18px; border-bottom:1px solid rgba(255,255,255,.08); font:500 .74rem/1 'JetBrains Mono',monospace; color:#A1A1A6; }
.ux-live { width:8px; height:8px; border-radius:50%; background:#3fd37a; box-shadow:0 0 8px #3fd37a; animation:uxPulse 2s ease-in-out infinite; flex:none; }
.ux-std { margin-left:auto; color:#F7931A; white-space:nowrap; }
.ux-sr { position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

.fsh-stage { display:flex; flex-direction:column; align-items:center; padding:22px 20px 4px; }

/* Placa de metal con las palabras */
.fsh-plate { position:relative; width:100%; padding:14px 18px 16px; border-radius:16px; border:1px solid rgba(255,255,255,.2);
  background:
    repeating-linear-gradient(90deg,rgba(255,255,255,.028) 0 1px,transparent 1px 3px),
    linear-gradient(135deg,#3a3a3e 0%,#1f1f22 38%,#2c2c30 62%,#18181a 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -1px 0 rgba(0,0,0,.6),0 18px 30px -18px rgba(0,0,0,.9);
  overflow:hidden; transition:transform .6s cubic-bezier(.2,.8,.2,1),box-shadow .6s,border-color .6s; }
.fsh-plate::after { content:''; position:absolute; inset:0; background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.14) 50%,transparent 65%); transform:translateX(-120%); pointer-events:none; }
.fsh-plate-h { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 6px 10px; font-size:.66rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#B9B9BE; }
.fsh-plate-h em { font-style:normal; flex:none; padding:3px 8px; border-radius:6px; border:1.5px solid rgba(255,107,94,.75); color:#ff8a80; background:rgba(255,107,94,.08); letter-spacing:.1em; transform:rotate(-3deg); }
.fsh-words { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.fsh-words li { display:flex; align-items:baseline; gap:7px; min-width:0; padding:7px 9px; border-radius:8px; background:rgba(0,0,0,.42); box-shadow:inset 0 1px 2px rgba(0,0,0,.7),0 1px 0 rgba(255,255,255,.07); font:600 .84rem/1.1 'JetBrains Mono',monospace; color:#F5F5F5; letter-spacing:.01em;
  transition:opacity .4s,transform .4s,color .5s; transition-delay:calc(var(--i) * 95ms); }
.fsh-words li span { flex:none; font-size:.62rem; font-weight:500; color:#F7931A; opacity:.85; }
.fsh-screw { position:absolute; width:7px; height:7px; border-radius:50%; background:radial-gradient(circle at 35% 35%,#8a8a90,#2a2a2d 70%); box-shadow:0 0 0 1px rgba(0,0,0,.5); }
.fsh-screw:nth-of-type(1) { top:7px; left:7px; } .fsh-screw:nth-of-type(2) { top:7px; right:7px; }
.fsh-screw:nth-of-type(3) { bottom:7px; left:7px; } .fsh-screw:nth-of-type(4) { bottom:7px; right:7px; }

/* Tubo PBKDF2 */
.fsh-pipe { position:relative; display:flex; align-items:center; justify-content:center; width:100%; height:52px; }
.fsh-pipe::before, .fsh-pipe::after { content:''; position:absolute; left:50%; top:0; bottom:0; width:2px; margin-left:-1px; }
.fsh-pipe::before { background:rgba(255,255,255,.12); }
.fsh-pipe::after { background:linear-gradient(180deg,#B9B9BE,#F7931A); box-shadow:0 0 8px rgba(247,147,26,.8); transform:scaleY(0); transform-origin:top; transition:transform .6s cubic-bezier(.2,.8,.2,1); }
.fsh-pipe span { position:relative; z-index:1; padding:4px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:#090909; font:500 .62rem/1.1 'JetBrains Mono',monospace; color:#A1A1A6; white-space:nowrap; transition:color .5s,border-color .5s; }
.fsh-pipe span b { font-weight:500; }
.fsh-pipe i { position:absolute; z-index:2; left:50%; top:0; width:8px; height:8px; margin-left:-4px; border-radius:50%; background:#F7931A; box-shadow:0 0 12px #F7931A; opacity:0; }

/* Semilla */
.fsh-seed { display:flex; flex-direction:column; align-items:center; gap:5px; padding:10px 18px; border-radius:14px; border:1px solid rgba(247,147,26,.45); background:radial-gradient(120% 140% at 50% 0%,rgba(247,147,26,.16),rgba(247,147,26,.03) 70%),#0a0a0a; transition:opacity .5s,transform .5s,box-shadow .6s; }
.fsh-seed-l { font-size:.64rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#F7931A; }
.fsh-seed code { font:600 .92rem/1 'JetBrains Mono',monospace; color:#F5F5F5; letter-spacing:.03em; background:none; padding:0; }

/* Árbol BIP 32 */
.fsh-tree { position:relative; width:100%; height:54px; }
.fsh-branch { position:absolute; inset:0; width:100%; height:100%; overflow:visible; clip-path:inset(0 0 0 0); transition:clip-path .8s cubic-bezier(.2,.8,.2,1); }
.fsh-branch path { fill:none; stroke:#F7931A; stroke-width:1.6; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 4px rgba(247,147,26,.6)); }
.fsh-path { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); padding:3px 9px; border-radius:999px; background:#070707; border:1px solid rgba(247,147,26,.35); font:500 .6rem/1.1 'JetBrains Mono',monospace; color:#D0D0D3; white-space:nowrap; transition:opacity .5s; }
.fsh-keys { list-style:none; margin:0; padding:0; width:100%; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.fsh-keys li { display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:11px; border:1px solid rgba(63,211,122,.45); background:rgba(63,211,122,.07); transition:opacity .45s,transform .45s,box-shadow .5s; transition-delay:calc(var(--i) * 110ms); }
.fsh-keys svg { width:17px; height:17px; flex:none; fill:none; stroke:#3fd37a; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.fsh-keys span { display:flex; flex-direction:column; gap:3px; min-width:0; }
.fsh-keys b { font:600 .78rem/1 'JetBrains Mono',monospace; color:#F5F5F5; }
.fsh-keys small { font-size:.62rem; line-height:1.1; color:#A1A1A6; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Estadísticas */
.ux-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:18px 0 0; border-top:1px solid rgba(255,255,255,.08); }
.ux-stats div { padding:14px 16px; }
.ux-stats div + div { border-left:1px solid rgba(255,255,255,.08); }
.ux-stats dt { font-size:.68rem; letter-spacing:.07em; text-transform:uppercase; color:#A1A1A6; margin-bottom:6px; }
.ux-stats dd { margin:0; font:600 clamp(.8rem,1.1vw,.95rem)/1.15 'JetBrains Mono',monospace; color:#F5F5F5; transition:opacity .5s; }
.ux-stats dd.g { color:#3fd37a; }
.ux-stats dd.o { color:#F7931A; }
html body .ux-art figcaption { padding:0 18px 16px; font-size:.8rem; color:#A1A1A6; line-height:1.5; }

/* ---------- Estados de la animación ---------- */
.ux-art:not(.on1) .fsh-words li { opacity:0; transform:translateY(8px) scale(.94); transition-delay:0s; }
.ux-art.on2 .fsh-words li { color:#D0D0D3; }
.ux-art.go2 .fsh-plate { transform:scale(.975); border-color:rgba(247,147,26,.55); box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 30px -8px rgba(247,147,26,.6); }
.ux-art.go2 .fsh-plate::after { animation:fshSheen 1.1s ease-in-out both; }
.ux-art.go2 .fsh-pipe i { animation:fshDrop .7s .25s ease-in both; }
.ux-art.on2 .fsh-pipe::after { transform:scaleY(1); }
.ux-art.on2 .fsh-pipe span { color:#F5F5F5; border-color:rgba(247,147,26,.5); }
.ux-art:not(.on2) .fsh-seed { opacity:.2; transform:scale(.94); }
.ux-art:not(.on2) .fsh-seed code { filter:blur(3px); }
.fsh-seed code { transition:filter .6s .2s; }
.ux-art:not(.on3) .fsh-branch { clip-path:inset(0 0 100% 0); }
.ux-art:not(.on3) .fsh-path { opacity:.25; }
.ux-art:not(.on3) .fsh-keys li { opacity:0; transform:translateY(8px); transition-delay:0s; }
.ux-art.on3 .fsh-keys li { box-shadow:0 0 18px -8px rgba(63,211,122,.8); }
.ux-art.on4 .fsh-seed { box-shadow:0 0 26px -8px rgba(247,147,26,.8); }
.ux-art:not(.on4) .ux-stats dd { opacity:.35; }

@keyframes uxPulse { 50% { transform:scale(1.45); opacity:.55; } }
@keyframes fshSheen { to { transform:translateX(120%); } }
@keyframes fshDrop { 0% { opacity:1; top:0; } 85% { opacity:1; } 100% { opacity:0; top:calc(100% - 8px); } }

/* ---------- Secciones: tarjetas con profundidad, numeración de fondo y acento naranja ---------- */
html body .hal.fs-main { max-width:860px; }
html body .fs-main .hal-block { position:relative; overflow:hidden; padding:34px 34px 30px; margin-bottom:18px; border-radius:22px; border:1px solid rgba(255,255,255,.08); background:linear-gradient(160deg,rgba(255,255,255,.045),rgba(255,255,255,.008) 55%),#0a0a0a; box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 22px 44px -26px rgba(0,0,0,.95); transition:border-color .3s,box-shadow .3s; }
html body .fs-main .hal-block::after { content:''; position:absolute; left:34px; top:0; width:56px; height:3px; border-radius:0 0 3px 3px; background:#F7931A; box-shadow:0 0 14px rgba(247,147,26,.7); }
html body .fs-main [data-n]::before { content:attr(data-n); position:absolute; right:22px; top:10px; font-family:'Archivo',sans-serif; font-weight:900; font-stretch:115%; font-size:5.4rem; line-height:1; color:transparent; -webkit-text-stroke:1px rgba(247,147,26,.28); pointer-events:none; }
html body .fs-main [data-n] > h2 { padding-right:96px; font-size:clamp(1.35rem,2.2vw,1.65rem); letter-spacing:-.01em; }
@media (hover:hover) { html body .fs-main .hal-block:hover { border-color:rgba(247,147,26,.3); box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 22px 44px -16px rgba(0,0,0,.95),0 0 32px -10px rgba(247,147,26,.25); } }
html body .fs-main .hal-block.cl-sum { border:1px solid rgba(247,147,26,.4); background-image:radial-gradient(120% 140% at 0% 0%,rgba(247,147,26,.15),rgba(247,147,26,0) 55%); }
html body .fs-main .hal-block.cl-sum p { color:#D2D2D6; }

/* Pasos de creación: línea de tiempo */
html body .fs-main ol.steps { position:relative; margin-top:18px; }
html body .fs-main ol.steps::before { content:''; position:absolute; left:21px; top:24px; bottom:24px; width:2px; background:linear-gradient(180deg,#F7931A,rgba(247,147,26,.15)); }
html body .fs-main ol.steps .step { position:relative; padding:0 0 0 0; margin-bottom:18px; border:0; background:none; }
html body .fs-main ol.steps .step > div:last-child { flex:1; min-width:0; padding:16px 18px; border-radius:14px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.025); transition:border-color .3s,background .3s; }
html body .fs-main ol.steps .step:hover > div:last-child { border-color:rgba(247,147,26,.35); background:rgba(247,147,26,.04); }
html body .fs-main ol.steps .step p { margin-bottom:0; }
html body .fs-main ol.steps .step h3 { font-size:1.12rem; }
html body .fs-main .step-n { position:relative; z-index:1; background:#0a0a0a; border:1.5px solid #F7931A; box-shadow:0 0 0 5px #0a0a0a,0 0 18px -4px rgba(247,147,26,.7); }

/* Tablas */
html body .fs-main :is(.hal-scroll, .sat-wrap) { border-radius:14px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.02); margin:14px 0; }
html body .fs-main :is(.hal-table, .sat-tab) th { background:rgba(255,255,255,.03); }
html body .fs-main :is(.hal-table, .sat-tab) tbody tr { transition:background .25s; }
html body .fs-main :is(.hal-table, .sat-tab) tbody tr:hover { background:rgba(247,147,26,.05); }
html body .fs-main :is(.hal-table, .sat-tab) tr:last-child td { border-bottom:0; }

/* Listas: cada punto como una tarjeta pequeña */
html body .fs-main .fs-list { gap:10px; margin:16px 0 4px; }
html body .fs-main .fs-list li { margin:0; padding:14px 16px 14px 18px; border:1px solid rgba(255,255,255,.08); border-left:0; border-radius:14px; background:rgba(255,255,255,.025); box-shadow:inset 3px 0 0 rgba(247,147,26,.6); }
html body .fs-main .fs-list li.ok, html body .fs-main .fs-list li.ko { position:relative; padding-left:48px; }
html body .fs-main .fs-list li.ok::before, html body .fs-main .fs-list li.ko::before { position:absolute; left:14px; top:13px; width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font:700 .78rem/1 'Archivo',sans-serif; }
html body .fs-main .fs-list li.ok { box-shadow:inset 3px 0 0 #3fd37a; background:rgba(63,211,122,.04); }
html body .fs-main .fs-list li.ok::before { content:'✓'; color:#3fd37a; background:rgba(63,211,122,.14); }
html body .fs-main .fs-list li.ko { box-shadow:inset 3px 0 0 #ff6b5e; background:rgba(255,107,94,.04); }
html body .fs-main .fs-list li.ko::before { content:'✕'; color:#ff6b5e; background:rgba(255,107,94,.14); }
html body .fs-main .fs-list.fs-x li { box-shadow:inset 3px 0 0 rgba(255,107,94,.7); }

/* Variantes de color: guardar (verde), errores y estafas (rojo) */
html body .fs-main .hal-block.fs-g { border-color:rgba(63,211,122,.3); background-image:radial-gradient(120% 140% at 100% 0%,rgba(63,211,122,.1),rgba(63,211,122,0) 55%); }
html body .fs-main .hal-block.fs-g::after { background:#3fd37a; box-shadow:0 0 14px rgba(63,211,122,.7); }
html body .fs-main .hal-block.fs-g[data-n]::before { -webkit-text-stroke-color:rgba(63,211,122,.32); }
html body .fs-main .hal-block.fs-r { border-color:rgba(255,107,94,.3); background-image:radial-gradient(120% 140% at 100% 0%,rgba(255,107,94,.1),rgba(255,107,94,0) 55%); }
html body .fs-main .hal-block.fs-r::after { background:#ff6b5e; box-shadow:0 0 14px rgba(255,107,94,.7); }
html body .fs-main .hal-block.fs-r[data-n]::before { -webkit-text-stroke-color:rgba(255,107,94,.32); }

/* FAQ y enlaces */
html body .fs-main .faq-item { border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:0 18px; margin-bottom:10px; background:rgba(255,255,255,.025); transition:border-color .3s,background .3s; }
html body .fs-main .faq-item[open] { border-color:rgba(247,147,26,.35); background:rgba(247,147,26,.05); }
html body .fs-main .faq-item summary { list-style:none; padding:16px 34px 16px 0; position:relative; }
html body .fs-main .faq-item summary::-webkit-details-marker { display:none; }
html body .fs-main .faq-item summary::after { content:'+'; position:absolute; right:0; top:50%; transform:translateY(-50%); font:600 1.3rem/1 'JetBrains Mono',monospace; color:#F7931A; transition:transform .3s; }
html body .fs-main .faq-item[open] summary::after { transform:translateY(-50%) rotate(45deg); }
html body .fs-main .faq-item p { margin:0; padding-bottom:16px; }
html body .fs-main .fs-more .hal-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
html body .fs-main .fs-more .hal-links li { margin:0; }
html body .fs-main .fs-more .hal-links a { display:flex; align-items:center; justify-content:space-between; gap:10px; height:100%; padding:14px 16px; border-radius:14px; border:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.03); color:#F5F5F5; font-size:.92rem; font-weight:600; transition:border-color .3s,background .3s,transform .3s; }
html body .fs-main .fs-more .hal-links a::after { content:'→'; color:#F7931A; transition:transform .3s; }
html body .fs-main .fs-more .hal-links a:hover { border-color:rgba(247,147,26,.45); background:rgba(247,147,26,.07); transform:translateY(-2px); }
html body .fs-main .fs-more .hal-links a:hover::after { transform:translateX(3px); }

/* ---------- Responsive ---------- */
@media (max-width:900px) {
  html body .page-hero.ux-hero { grid-template-columns:minmax(0,1fr); gap:34px; padding:108px 20px 56px; }
  html body .page-hero.ux-hero::before { width:100%; right:0; top:34%; height:66%; }
}
@media (max-width:600px) {
  html body .fs-main .hal-block { padding:26px 20px 22px; }
  html body .fs-main .hal-block::after { left:20px; }
  html body .fs-main [data-n]::before { font-size:3.6rem; right:14px; top:12px; }
  html body .fs-main [data-n] > h2 { padding-right:62px; }
  html body .fs-main .fs-more .hal-links { grid-template-columns:minmax(0,1fr); }
  html body .fs-main ol.steps::before { left:15px; }
  html body .fs-main ol.steps .step { flex-direction:row; gap:10px; padding:0; }
  html body .fs-main ol.steps .step-n { flex-basis:32px; height:32px; font-size:.85rem; box-shadow:0 0 0 4px #0a0a0a,0 0 14px -4px rgba(247,147,26,.7); }
  html body .fs-main ol.steps .step > div:last-child { padding:14px; }
}
@media (max-width:520px) {
  .fsh-stage { padding:20px 12px 2px; }
  .fsh-plate { padding:12px 10px 12px; }
  .fsh-plate-h { margin:0 4px 9px; font-size:.58rem; letter-spacing:.05em; }
  .fsh-words { gap:5px; }
  .fsh-words li { padding:6px 6px; gap:4px; font-size:.72rem; }
  .fsh-words li span { font-size:.54rem; }
  .fsh-keys { gap:6px; }
  .fsh-keys li { padding:7px 7px; gap:6px; }
  .fsh-keys svg { width:14px; height:14px; }
  .fsh-keys b { font-size:.7rem; }
  .fsh-keys small { font-size:.56rem; }
  .fsh-pipe span { font-size:.56rem; padding:4px 8px; }
  .ux-top .ux-std { display:none; }
  .ux-stats div { padding:12px 10px; }
  .ux-stats dt { font-size:.6rem; letter-spacing:.03em; }
  .ux-stats dd { font-size:.8rem; }
}
@media (prefers-reduced-motion:reduce) {
  .ux-live { animation:none; }
  .fsh-plate, .fsh-words li, .fsh-pipe::after, .fsh-pipe span, .fsh-seed, .fsh-seed code, .fsh-branch, .fsh-path, .fsh-keys li, .ux-stats dd,
  html body .fs-main .hal-block, html body .fs-main ol.steps .step > div:last-child, html body .fs-main .faq-item, html body .fs-main .faq-item summary::after,
  html body .fs-main .fs-more .hal-links a, html body .fs-main .fs-more .hal-links a::after, html body .fs-main :is(.hal-table, .sat-tab) tbody tr { transition:none!important; }
  .fsh-plate::after, .fsh-pipe i { animation:none!important; }
  html body .fs-main .fs-more .hal-links a:hover { transform:none; }
}
