:root { --gold: #d5b477; }
em { color: #727969; }
.manifest em, .protocol em, .trust em { color: #a4ab9c; }
.tag { font-size: 10px; line-height: 1.7; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #248950; outline-offset: 6px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 200; background: #fff; color: #111; padding: 15px; }
.skip-link:focus { top: 15px; }
section[id] { scroll-margin-top: 28px; }
header { grid-template-columns: 1fr auto 1fr; }
header nav { gap: 30px; }
header nav a { font-size: 10px; color: #51584f; }
header .header-access { border: 1px solid #a98a5055; border-radius: 3px; padding: 9px 12px; color: #172016; font-size: 10px; min-height: 44px; display: inline-flex; align-items: center; background: linear-gradient(135deg, #fff8, #e5dfce66); }
.header-access span { margin-left: 20px; }
.hero { min-height: max(820px, 100vh); height: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 6vw; align-items: center; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--gold-dim); font-size: 10px; letter-spacing: .22em; }
.hero-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #d5b4772e; }
.hero-acciones { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-secondary { margin-top: 0; }
/* Tres cosas concretas debajo del botón: antes, bajo la llamada a la acción,
   no había nada y la columna quedaba corta contra el panel de la derecha. */
.hero-puntos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; margin: 54px 0 0; padding: 26px 0 0; border-top: 1px solid #a98a5040; list-style: none; max-width: 640px; }
.hero-puntos b { display: block; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.hero-puntos span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.hero-condiciones { max-width: 640px; margin-top: 28px; padding: 22px 24px; border: 1px solid #d1a64b; border-left: 5px solid #b98423; border-radius: 12px; background: linear-gradient(135deg, #fff3ce, #fffae9); box-shadow: 0 10px 28px #77591c1a; color: #554925; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; pointer-events: auto; }
.hero-condiciones h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: #6c4a12; font: 700 17px/1.35 Manrope, sans-serif; letter-spacing: normal; }
.hero-condiciones-icono { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid #d4a641; border-radius: 10px; background: #f8df98; color: #744d0d; }
.hero-condiciones-icono svg { width: 24px; height: 24px; }
.hero-condiciones p { margin: 0; }
.hero-condiciones summary { margin-top: 14px; padding-top: 10px; border-top: 1px solid #b9842347; color: #493b1b; cursor: pointer; font-weight: 700; }
.hero-condiciones summary::after { content: '+'; color: var(--gold-dim); flex-shrink: 0; }
.hero-condiciones details[open] summary::after { content: '−'; }
.hero-condiciones ul { margin: 10px 0 0; padding-left: 18px; }
.hero-condiciones li + li { margin-top: 6px; }

/* Vista del panel: muestra el producto en vez de repetir la ficha. */
.hero-panel { position: relative; z-index: 4; justify-self: end; width: min(420px, 100%); padding: 22px; border: 1px solid #a98a5059; border-radius: 16px; background: linear-gradient(160deg, #fdfcf8, #f4f1e7); box-shadow: 0 30px 70px #2a2a1f1f, inset 0 1px #fff; pointer-events: auto; }
.hero-panel-tope { display: flex; justify-content: space-between; align-items: center; margin: 0 0 18px; color: var(--muted); font-size: 9px; letter-spacing: .18em; }
.hero-panel-tope i { padding: 4px 8px; border: 1px solid #a98a5055; border-radius: 999px; color: var(--gold-dim); font-style: normal; font-size: 8px; }
.hero-panel-cab { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #a98a5033; }
.hero-panel-cab small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .16em; }
.hero-panel-cab b { display: block; margin-top: 5px; color: var(--ink); font: 600 19px/1 var(--mono, ui-monospace, monospace); letter-spacing: .02em; }
/* El estado cambia de color según la etapa, como en el panel de verdad. */
.hero-estado { padding: 6px 11px; border: 1px solid #a98a5055; border-radius: 999px; background: #f6efdd; color: #7a5c22; font: 600 10px/1 Manrope, sans-serif; font-style: normal; letter-spacing: .06em; transition: background .4s ease, color .4s ease, border-color .4s ease; }
.hero-estado[data-tono="curso"] { border-color: #6a8c7066; background: #e6efe4; color: #35543e; }
.hero-estado[data-tono="listo"] { border-color: #35543e; background: #35543e; color: #f3f6ef; }
.hero-panel-tope span { transition: opacity .3s ease; }
.hero-panel-avance > span b { color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-panel-avance small { display: block; margin-top: 10px; color: var(--muted); font-size: 10.5px; line-height: 1.5; min-height: 16px; }
.hero-barra i { width: 0; transition: width 1.6s cubic-bezier(.4, 0, .2, 1); }
.hero-panel-total b { transition: color .4s ease; }
.hero-panel[data-etapa="3"] .hero-panel-total b { color: #35543e; }
/* Un barrido de luz cada vez que cambia la etapa: es lo que hace que se lea
   como algo que está pasando y no como una tarjeta quieta. */
.hero-panel { overflow: clip; }
.hero-panel::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 38%, #ffffffb8 50%, transparent 62%); opacity: 0; }
.hero-panel[data-etapa] { animation: hero-sube 1s cubic-bezier(.2, .8, .2, 1) .3s both; }
.hero-panel[data-etapa]::after { animation: hero-destello 1.1s ease-out; }
/* Riel de etapas: llena la columna debajo del panel y explica el movimiento.
   La etapa viva la marca el atributo data-etapa, que pone el guion. */
.hero-pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid #a98a5033; list-style: none; }
.hero-pasos li { display: flex; flex-direction: column; gap: 8px; color: #9aa094; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; transition: color .4s ease; }
.hero-pasos i { height: 2px; border-radius: 999px; background: #a98a5033; transition: background .5s ease; }
.hero-panel[data-etapa="0"] .hero-pasos li:nth-child(-n+1),
.hero-panel[data-etapa="1"] .hero-pasos li:nth-child(-n+2),
.hero-panel[data-etapa="2"] .hero-pasos li:nth-child(-n+3),
.hero-panel[data-etapa="3"] .hero-pasos li:nth-child(-n+4) { color: var(--ink); }
.hero-panel[data-etapa="0"] .hero-pasos li:nth-child(-n+1) i,
.hero-panel[data-etapa="1"] .hero-pasos li:nth-child(-n+2) i,
.hero-panel[data-etapa="2"] .hero-pasos li:nth-child(-n+3) i,
.hero-panel[data-etapa="3"] .hero-pasos li:nth-child(-n+4) i { background: var(--gold); }
.hero-panel[data-etapa="3"] .hero-pasos li:nth-child(4) i { background: #35543e; }
@keyframes hero-destello { from { opacity: .55; transform: translateX(-12%); } to { opacity: 0; transform: translateX(12%); } }
.hero-panel-datos { margin: 18px 0 0; }
.hero-panel-datos > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; }
.hero-panel-datos dt { color: var(--muted); font-size: 11px; }
.hero-panel-datos dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-panel-avance { margin-top: 16px; padding-top: 16px; border-top: 1px solid #a98a5033; }
.hero-panel-avance > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.hero-barra { height: 6px; overflow: hidden; border-radius: 999px; background: #a98a5026; }
.hero-barra i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6a8c70, #35543e); }
.hero-panel-total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #a98a5033; }
.hero-panel-total span { color: var(--muted); font-size: 11px; }
.hero-panel-total b { color: var(--ink); font: 600 22px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums; }
/* La escena aparece recién cuando la ficha está cargada: antes se veía el
   canvas vacío y después las fichas de golpe. */
#scene { opacity: 0; transition: opacity .9s ease; }
#scene.listo { opacity: 1; }
.hero .copy > * { animation: hero-sube .85s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 { animation-delay: .05s; }
.hero .lead { animation-delay: .17s; }
.hero .cta { animation-delay: .27s; }
.hero-secondary { animation-delay: .35s; }
.hero-bottom { animation: hero-sube .9s cubic-bezier(.2, .8, .2, 1) .45s both; }
@keyframes hero-sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .copy { width: auto; }
.hero h1 { font-size: clamp(80px, 9.3vw, 148px); line-height: .87; }
.hero .lead { max-width: 430px; font-size: 15px; }
.cta { border: 1px solid #d5b47766; border-radius: 3px; padding: 12px 18px; width: 310px; align-items: center; gap: 16px; font-size: 10px; min-height: 56px; line-height: 1.5; text-align: left; background: linear-gradient(135deg, #263225, #111810 70%); color: #f1eee5; box-shadow: 0 3px 0 #090e0a, inset 0 1px #ffffff0d; }
.cta, .header-access { position: relative; isolation: isolate; overflow: hidden; transition: transform .2s ease, border-color .25s ease, box-shadow .25s ease; }
.cta::before, .header-access::before { content: ''; position: absolute; inset: 3px; z-index: -1; border: 1px solid #d5b4771a; border-radius: 1px; pointer-events: none; }
.cta::after, .header-access::after { content: ''; position: absolute; inset: -40% auto -40% -70%; width: 45%; z-index: -1; background: linear-gradient(90deg, transparent, #e6c99226, transparent); transform: skewX(-20deg); pointer-events: none; }
.cta > span, .header-access > span { display: inline-grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border: 2px dashed #d5b477b3; border-radius: 50%; color: var(--gold); font-size: 12px; line-height: 1; box-shadow: inset 0 0 0 2px #d5b47714; transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .25s; }
header .header-access > span { width: 24px; height: 24px; color: #80602e; border-color: #a98a5099; }
.cta:focus-visible, .header-access:focus-visible { border-color: var(--gold); box-shadow: 0 3px 0 #090e0a, 0 0 0 3px #d5b47726; }
.cta:focus-visible > span, .header-access:focus-visible > span { transform: rotate(30deg); }
@media (hover: hover) and (pointer: fine) {
  .cta:hover, .header-access:hover { transform: translateY(-2px); border-color: #d5b477cc; box-shadow: 0 4px 0 #090e0a, 0 8px 22px #a98a5026; }
  .cta:hover::after, .header-access:hover::after { animation: casino-sheen .75s ease-out both; }
  .cta:hover > span, .header-access:hover > span { transform: rotate(30deg); border-color: var(--gold); }
}
.cta:active, .header-access:active { transform: translateY(1px) scale(.985); box-shadow: 0 1px 0 #090e0a, inset 0 2px 8px #0003; }
@keyframes casino-sheen { to { left: 140%; } }
.hero-secondary { display: inline-block; margin-top: 22px; color: #52594e; font-size: 11px; text-decoration: none; pointer-events: auto; }
.hero-secondary span { margin-left: 20px; }
.hero .scene-card { width: 255px; bottom: 135px; }
.scene-card strong { font-size: 20px; }
.scene-card span, .scene-card small { font-size: 9px; line-height: 1.6; letter-spacing: .08em; }
.scene-card span { grid-column: 1/-1; }
.scene-card strong { grid-column: 1/-1; }
.hero .crypto { font-size: 9px; }
.hero-bottom { position: absolute; bottom: 35px; left: 4vw; right: 4vw; display: flex; justify-content: space-between; border-top: 1px solid #1112; padding-top: 22px; font-size: 8px; letter-spacing: .12em; color: #5c6457; }
.hero-bottom a { color: inherit; text-decoration: none; pointer-events: auto; }
.manifest { padding: 110px 8vw 95px; }
.manifest .tag, .protocol .tag, .trust .tag { color: var(--gold); }
.manifest h2 { font-size: clamp(60px, 7.5vw, 112px); line-height: .92; }
.manifest .manifest-intro { margin-top: 45px; }
.manifest-intro > span { color: var(--gold); font-size: 12px; }
.manifest .manifest-intro p { font-size: 15px; color: #b5b8ae; max-width: 490px; }
.manifest .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin-top: 80px; }
.section-divider { position: relative; z-index: 5; height: 0; display: flex; justify-content: center; pointer-events: none; }
.suit-divider { display: flex; align-items: center; justify-content: center; gap: 18px; width: min(280px, calc(100% - 48px)); height: 38px; padding: 0 18px; transform: translateY(-50%); border: 1px solid #d5b47730; border-radius: 40px; background: #161c17; color: var(--gold); font: 16px/1 Georgia, serif; }
.suit-divider::before, .suit-divider::after { content: ''; height: 1px; flex: 1; max-width: 90px; background: linear-gradient(90deg, transparent, currentColor); opacity: .3; }
.suit-divider::after { transform: rotate(180deg); }
.suit-divider span { opacity: .65; }
.manifest, .protocol, .trust { position: relative; isolation: isolate; }
.manifest::before, .protocol::before, .trust::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: repeating-linear-gradient(0deg, #c9d5be08 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, #c9d5be06 0 1px, transparent 1px 4px); }
.feature-grid article { border-top: 1px solid #ffffff26; padding-top: 23px; }
.feature-number { font-size: 10px; letter-spacing: .13em; color: var(--gold); }
.feature-grid h3 { font: 400 38px/.98 'Instrument Serif', serif; margin: 28px 0 20px; }
.manifest .feature-grid p { font-size: 14px; line-height: 1.85; color: #b5b8ae; }
.insights { position: relative; z-index: 4; background: #f2f0eaf5; padding: 120px 6vw; display: grid; grid-template-columns: .8fr 1.2fr; gap: 5vw; align-items: center; }
.insights h2, .continuity h2, .trust h2, .questions h2 { font-size: clamp(55px, 5.4vw, 82px); line-height: .94; }
.section-lead { max-width: 440px; color: #555f50; font-size: 14px; line-height: 1.9; margin: 30px 0; }
.sample-note { font-size: 10px; color: #67715e; margin-top: 35px; line-height: 1.7; }
.sample-note span { margin-right: 6px; }
.analytics { background: radial-gradient(ellipse at 95% 0, #3b2c2444, transparent 55%), linear-gradient(130deg, #121a1a, #090d10); color: #eef0e9; border: 1px solid #ba946438; border-radius: 18px; padding: 28px; box-shadow: 0 25px 60px #29241c22; }
.analytics { position: relative; isolation: isolate; transition: border-color .35s, box-shadow .35s; }
.analytics::before { content: ''; position: absolute; inset: 9px; border-radius: 10px; pointer-events: none; background: linear-gradient(var(--gold), var(--gold)) left top / 22px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) left top / 1px 22px no-repeat, linear-gradient(var(--gold), var(--gold)) right top / 22px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right top / 1px 22px no-repeat, linear-gradient(var(--gold), var(--gold)) left bottom / 22px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) left bottom / 1px 22px no-repeat, linear-gradient(var(--gold), var(--gold)) right bottom / 22px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right bottom / 1px 22px no-repeat; opacity: .4; }
.analytics::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at 20% 0, #d5b4771c, transparent 65%); opacity: 0; transition: opacity .35s; }
@media (hover: hover) and (pointer: fine) {
  .analytics:hover { border-color: #d5b47770; box-shadow: 0 25px 60px #29241c22, 0 0 25px #d5b47712; }
  .analytics:hover::after { opacity: 1; }
}
.panel-heading { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .1em; color: #b8bdb5; }
.sample-badge { border: 1px solid #d5b47740; color: var(--gold); padding: 5px 8px; border-radius: 20px; font-size: 9px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); padding: 32px 0; }
.kpis > button {
  display: flex; flex-direction: column; align-items: center; min-width: 0;
  padding: 0 8px; border: 0; border-right: 1px solid #ffffff10;
  background: transparent; color: inherit; text-align: center; gap: 12px;
  transition: color .2s ease, transform .2s ease;
}
.kpis > button:last-child { border: 0; }
.kpis > button[aria-selected="true"] { color: #f4e0ad; }
.kpis > button[aria-selected="true"] { background: linear-gradient(180deg, #d5b47718, transparent); border-radius: 9px; }
.kpis > button.actualiza strong { animation: metrica-cambio .34s ease-out; }
.kpis > button[aria-selected="true"] .metric-icon { text-shadow: 0 0 16px #d5b47788; }
.kpis > button[aria-selected="true"] strong { color: #fff7e7; }
@media (hover: hover) and (pointer: fine) { .kpis > button:hover { transform: translateY(-3px); } }
.kpis > button:focus-visible { outline: 1px solid #d5b477; outline-offset: 5px; border-radius: 5px; }
.metric-icon { color: var(--gold); font-size: 26px; line-height: 1; }
.kpis button > span:not(.metric-icon) { font-size: 11px; color: #c7cdc8; min-height: 32px; display: flex; align-items: center; }
.kpis strong { font-size: clamp(20px, 2.2vw, 33px); font-weight: 600; letter-spacing: -.06em; white-space: nowrap; }
.kpis strong span { font-size: .7em; }
.kpis small { font-size: 10px; color: #82c3b3; }
.chart-heading { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 18px; border-top: 1px solid #ffffff12; gap: 10px; }
.chart-heading h3 { font-size: 12px; font-weight: 500; margin: 0; }
.chart-heading span { font-size: 10px; color: #aab2a9; }
.chart { display: block; width: 100%; height: auto; overflow: visible; cursor: crosshair; touch-action: manipulation; }
.chart-explorador { transition: opacity .2s ease; }
[data-chart-line], [data-chart-fill], [data-chart-point], [data-chart-guide] { transition: d .38s ease, cx .22s ease, cy .22s ease; }
.chart-lectura { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3px 12px; margin-top: 10px; padding: 11px 13px; border: 1px solid #d5b47733; border-radius: 8px; background: #ffffff08; }
.chart-lectura span, .chart-lectura small { color: #aab2a9; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.chart-lectura b { color: #f3e5c5; font-size: 18px; line-height: 1; letter-spacing: -.04em; }
.chart-lectura small { grid-column: 1 / -1; letter-spacing: 0; text-transform: none; }
@keyframes metrica-cambio { 45% { color: #d5b477; transform: translateY(-2px); } }
.panel-foot { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: #aab2a9; padding-top: 20px; line-height: 1.6; }
.panel-foot i { display: inline-block; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; margin-right: 5px; }
.protocol { gap: 70px; padding: 100px 8vw; }
.protocol h2 { line-height: .95; font-size: clamp(50px, 5vw, 75px); }
.protocol .section-lead { color: #a2a89b; }
.protocol li { grid-template-columns: 42px 1fr; padding: 27px 0; }
.protocol li span { color: var(--gold); }
.protocol h3 { margin: 0 0 10px; font-size: 15px; font-weight: 500; }
.protocol li p { color: #b3baad; font-size: 14px; line-height: 1.9; max-width: 390px; }
.continuity { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; padding: 100px 8vw; background: #eeece6ed; }
.continuity-art { position: relative; display: grid; place-items: center; min-height: 390px; }
.orbit { position: absolute; border: 1px solid #1112; border-radius: 50%; width: 340px; height: 340px; }
.orbit-two { width: 260px; height: 260px; border-style: dashed; transform: rotate(-20deg); }
.noir-token { width: 185px; height: 185px; border: 8px dashed #b99f6e; outline: 2px solid #343b31; outline-offset: -18px; border-radius: 50%; background: radial-gradient(circle at 30% 20%, #414838, #111610 70%); box-shadow: 22px 35px 45px #1b211a38, inset 0 0 0 4px #12170e; color: var(--gold); font: 80px 'Instrument Serif', serif; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-16deg); }
.noir-token span { font: 6px Manrope, sans-serif; letter-spacing: .2em; }
/* Con el modelo 3D adentro, la ficha dibujada con CSS se apaga: quedan solo
   el canvas y las órbitas. */
.noir-token.con-modelo { width: 230px; height: 230px; border: 0; outline: 0; background: none; box-shadow: none; transform: none; font-size: 0; }
.noir-token canvas { display: block; width: 100%; height: 100%; }
.continuity-art:has(.con-modelo) { cursor: grab; }
.orbit-label { position: absolute; font-size: 8px; letter-spacing: .1em; background: #eeece6; padding: 10px; color: #4e5e47; }
.label-one { top: 40px; left: 15%; }
.label-two { bottom: 38px; right: 7%; }
.text-link { font-size: 11px; color: #263323; text-decoration: none; padding-bottom: 10px; border-bottom: 1px solid #263323; }
.text-link span { margin-left: 50px; }
@media (max-width: 760px) {
  .text-link { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; overflow-wrap: anywhere; }
  .text-link span { flex: none; margin-left: 0; }
}
.trust { position: relative; z-index: 4; background: #121713f5; color: #eef0e9; padding: 105px 8vw 50px; }
.trust-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; }
.trust-heading > .tag { grid-column: 1/-1; }
.trust .section-lead { color: #b3b9ae; align-self: end; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin-top: 55px; }
.trust-grid article { padding: 24px 0; border-top: 1px solid #ffffff26; }
.trust-grid article > span { color: var(--gold); font-size: 10px; }
.trust-grid h3 { font: 32px 'Instrument Serif', serif; margin: 25px 0 15px; }
.trust-grid p { font-size: 14px; line-height: 1.9; color: #b3b9ae; }
.trust-note { border-top: 1px solid #ffffff18; padding-top: 25px; font-size: 10px; line-height: 1.9; color: #a2ac9c; }
.questions { position: relative; z-index: 4; background: #f2f0eaf5; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 110px 8vw; }
.faq-list details { border-top: 1px solid #1112; padding: 24px 0; }
.faq-list details:last-child { border-bottom: 1px solid #1112; }
summary { display: flex; gap: 20px; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; font-size: 14px; line-height: 1.7; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary span { color: #4c7853; font-size: 18px; transition: transform .2s; }
details[open] summary span { transform: rotate(45deg); }
.faq-list p { font-size: 14px; color: #58634f; line-height: 1.9; padding-right: 25px; }
.end { min-height: 610px; padding: 70px 24px; }
.end h2 { font-size: clamp(65px, 8.5vw, 128px); line-height: .9; margin-bottom: 40px; }
.end-note { font-size: 10px; color: #626b5b; margin-top: 25px; }
footer { align-items: start; gap: 30px; }
footer p { margin: 0; font-size: 10px; }
footer > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; }
footer a { color: #c1c9b9; text-decoration: none; font-size: 10px; }
footer > div > span { flex-basis: 100%; text-align: right; margin-top: 8px; }
dialog { color: #171914; background: #f2f0ea; border: 1px solid #bfbda9; border-radius: 14px; padding: 45px; width: min(500px, calc(100% - 32px)); max-height: calc(100dvh - 40px); box-shadow: 0 25px 100px #0007; }
dialog::backdrop { background: #080e0bd9; backdrop-filter: blur(8px); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-close { position: absolute; right: 12px; top: 8px; width: 44px; height: 44px; background: #d5b4770d; border: 1px dashed #a98a5055; border-radius: 50%; font-size: 28px; color: #484f40; transition: background .2s, border-color .2s, transform .2s; }
.dialog-close:hover, .dialog-close:focus-visible { background: #d5b47726; border-color: #a98a50; }
.dialog-close:active { transform: scale(.94); }
dialog h2 { font-size: 70px; line-height: .9; }
dialog > p:not(.tag) { font-size: 13px; line-height: 1.9; color: #626b5b; margin: 30px 0; }
dialog small { display: block; color: #626b5b; font-size: 10px; line-height: 1.7; margin-top: 20px; }
@media (min-width: 761px) and (max-width: 1050px) { header nav { gap: 16px; } .insights { grid-template-columns: 1fr; } .insights-copy { max-width: 620px; } .analytics { max-width: 720px; width: 100%; } .kpis strong { font-size: 32px; } .continuity { gap: 30px; } .orbit { width: 290px; height: 290px; } }
@media (max-width: 760px) {
  header {
    position: absolute;
    left: 0;
    right: 0;
    height: 64px;
    min-height: 64px;
    padding: 0 16px;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    border-bottom-color: #ffffff1c;
  }
  header .logo { display: inline-flex; align-items: center; font-size: 10px; letter-spacing: .2em; white-space: nowrap; }
  header .logo img { width: 19px; height: 19px; }
  header nav { display: none; }
  header .header-acciones {
    grid-column: 3;
    grid-row: 1;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-width: 0;
  }
  header .header-acciones .noir-language { width: 38px; min-width: 38px; height: 38px; min-height: 38px; padding: 0; border-radius: 11px; }
  header .header-acciones .noir-language-trigger { width: 100%; min-height: 38px; padding: 0; justify-content: center; }
  header .header-acciones .header-access { min-height: 38px; height: 38px; max-width: 118px; padding: 0 6px 0 11px; border-radius: 11px; font-size: 8px; letter-spacing: .1em; }
  header .header-acciones .header-access > span { width: 24px; height: 24px; margin-left: 7px; }
  /* En celular la columna es una sola y el panel va abajo del texto; el alto
     deja de estar atado a la pantalla porque ahora hay más para mostrar. */
  .hero { min-height: 0; height: auto; padding: 130px 24px 60px; display: block; }
  .hero .copy { width: 100%; }
  .hero-acciones { gap: 16px; }
  .hero-puntos { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; padding-top: 20px; }
  .hero-puntos li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .hero-puntos span { margin-top: 0; text-align: right; }
  .hero-panel { width: 100%; margin: 38px 0 0; }
  .hero h1 { font-size: clamp(68px, 14vw, 104px); }
  /* El velo cuida la lectura del texto; abajo la lluvia respira. */
  .hero:after { background: linear-gradient(180deg, #f2f0eafa 0%, #f2f0eae6 52%, #f2f0ea40 78%, #f2f0ea00); }
  .hero .tag { font-size: 9px; letter-spacing: .13em; }
  .hero .lead { max-width: 330px; font-size: 14px; margin: 28px 0; }
  .hero .crypto { top: auto; bottom: 217px; right: 24px; font-size: 8px; }
  .hero .scene-card { bottom: 82px; right: 24px; width: 255px; }
  .hero-bottom { position: static; margin-top: 34px; }
  .hero-bottom > span { display: none; }
  .hero-bottom a { margin-left: auto; }
  .manifest, .insights, .protocol, .continuity, .trust, .questions { padding: 75px 24px; }
  .manifest h2 { font-size: clamp(50px, 11vw, 75px); }
  .manifest .manifest-intro { display: block; }
  .manifest .manifest-intro p { margin-top: 20px; font-size: 14px; }
  .manifest .feature-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 45px; }
  .feature-grid h3 { font-size: 34px; margin: 20px 0 15px; }
  .manifest .feature-grid p { margin: 0; }
  .insights, .continuity, .questions { grid-template-columns: 1fr; gap: 35px; }
  .insights h2, .continuity h2, .trust h2, .questions h2 { font-size: clamp(49px, 11vw, 70px); }
  .analytics { padding: 20px 14px; border-radius: 14px; min-width: 0; }
  .kpis { padding: 28px 0; }
  .kpis > button { padding: 0 4px; gap: 10px; }
  .kpis strong { font-size: clamp(18px, 4.6vw, 28px); }
  .kpis button > span:not(.metric-icon) { font-size: 10px; min-height: 32px; }
  .kpis small { font-size: 9px; min-height: 26px; }
  .panel-heading { font-size: 9px; }
  .chart-heading { align-items: start; }
  .chart-heading span { max-width: 100px; text-align: right; }
  .panel-foot { flex-direction: column; gap: 7px; }
  .protocol ol { margin-top: 35px; }
  .continuity-art { min-height: 310px; order: 2; }
  .orbit { width: 275px; height: 275px; }
  .orbit-two { width: 220px; height: 220px; }
  .label-one { top: 20px; }
  .label-two { bottom: 15px; }
  .trust-heading { display: block; }
  .trust-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .trust-grid h3 { margin-top: 18px; }
  .end { min-height: 530px; }
  .end h2 { font-size: clamp(53px, 11vw, 80px); }
  footer { padding: 40px 24px; }
  footer p { margin: 25px 0; }
  footer > div { justify-content: flex-start; }
  footer > div > span { text-align: left; }
  dialog { padding: 35px 25px; }
  dialog h2 { font-size: 60px; }
  dialog .cta, .hero .cta, .end .cta { max-width: 100%; }
}
@media (max-width: 360px) {
  /* El hero es contenido real en pantallas pequeñas; no reservar una pantalla
     entera evita el vacío que se veía al abrir el selector de idiomas. */
  .hero { min-height: 0; }
  header { padding-inline: 12px; gap: 7px; }
  header .header-acciones { gap: 5px; }
  header .header-acciones .header-access { max-width: 105px; padding-left: 8px; font-size: 7px; }
  header .header-acciones .header-access > span { width: 22px; height: 22px; margin-left: 5px; }
  .hero .crypto { padding: 12px; font-size: 7px; }
  .analytics { padding: 20px 12px; }
  .kpis { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
  .kpis > button { display: grid; grid-template-columns: 30px 1fr auto; gap: 4px 10px; text-align: left; border-right: 0; border-bottom: 1px solid #ffffff12; padding: 0 0 16px; }
  .kpis > button:last-child { padding-bottom: 0; }
  .kpis .metric-icon { grid-row: 1/3; font-size: 24px; }
  .kpis button > span:not(.metric-icon) { min-height: 0; font-size: 11px; }
  .kpis strong { grid-column: 3; grid-row: 1/3; font-size: 22px; }
  .kpis small { min-height: 0; grid-column: 2; }
  .chart-heading { flex-direction: column; gap: 8px; }
  .chart-heading span { max-width: none; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } #scene { opacity: 1 !important; } }
@media (prefers-reduced-motion: reduce) { .cta, .header-access, .cta > span, .header-access > span, .dialog-close { transform: none !important; } }

/* ── lenguaje compartido con el dashboard ──────────────────────────────── */
:root {
  --felt: #192e25;
  --felt-deep: #1b241a;
  --cream: #f2f0ea;
  --ink: #11120f;
  --muted: #626b5b;
  --gold: #d5b477;
  --gold-dim: #a98a50;
}

body { background: radial-gradient(ellipse at 85% 0, #d5b47716, transparent 55%), var(--cream); color: var(--ink); font-family: Manrope, system-ui, sans-serif; }
header {
  left: 0; right: 0; width: auto; padding: 0 4vw;
  background: radial-gradient(ellipse at 90% 0, #d5b47714, transparent 65%),
    repeating-linear-gradient(45deg, #ffffff03 0 1px, transparent 1px 5px), var(--felt);
  border-bottom: 1px solid #a98a5088;
}
header .logo { color: #faf6ed; }
header .logo i { color: var(--gold); }
/* La marca es la ficha del logo, no un carácter suelto. */
.logo img { width: 22px; height: 22px; vertical-align: -6px; margin-right: 4px; }
header nav a { color: #c7d0c5; }
header .header-access { color: #f2f0ea; background: #ffffff06; border-color: #d5b47788; }
header .header-access > span { color: var(--gold); border-color: #d5b47799; }
.tag, .manifest .tag, .protocol .tag, .trust .tag { color: var(--gold-dim); }
.hero { background: radial-gradient(ellipse at 85% 0, #d5b47712, transparent 58%); }
/* El titular tiene que leerse limpio aunque pasen fichas por detrás. */
.hero:after { background: linear-gradient(90deg, #f2f0eaee 0, #f2f0eacc 34%, #f2f0ea4d 58%, #f2f0ea00 76%); }
.hero h1, .manifest h2, .insights h2, .protocol h2, .continuity h2, .trust h2, .questions h2, .end h2,
.feature-grid h3, .trust-grid h3 { font-family: Manrope, system-ui, sans-serif; font-weight: 600; letter-spacing: -.035em; }
.hero h1 { color: var(--ink); line-height: 1.05; }
.hero h1 em, .manifest em, .insights em, .protocol em, .trust em, .continuity em, .questions em, .end em { color: var(--gold-dim); font-style: normal; }
.hero .lead, .section-lead { color: var(--muted); }
.cta {
  background: var(--felt); color: #f2f0ea; border-color: #a98a5088;
  border-radius: 10px; box-shadow: 0 3px 0 #111810, inset 0 1px #ffffff0d;
}
.cta:hover, .header-access:hover { border-color: var(--gold); box-shadow: 0 4px 0 #111810, 0 8px 22px #a98a5026; }
.hero-secondary { color: var(--muted); }
.hero-bottom { border-color: #a98a5055; color: var(--muted); }
.hero .scene-card, .hero .crypto {
  background: radial-gradient(ellipse at 90% 0, #d5b47714, transparent 65%),
    repeating-linear-gradient(45deg, #ffffff03 0 1px, transparent 1px 5px), var(--felt-deep);
  color: #faf6ed; border-color: #a98a5088; box-shadow: 0 24px 60px #17271d33, inset 0 0 0 4px #d5b47709;
}
.hero .scene-card strong { color: #faf6ed; font-family: Manrope, system-ui, sans-serif; font-weight: 600; }
.hero .scene-card span, .hero .scene-card small, .hero .crypto b { color: #c7d0c5; }
.manifest, .protocol, .trust {
  background-color: var(--felt);
  color: #faf6ed;
}
.feature-grid article, .trust-grid article { border-top-color: #d5b47755; }
.feature-grid h3, .trust-grid h3 { color: #faf6ed; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.15; }
.manifest .manifest-intro p, .manifest .feature-grid p, .protocol li p, .trust-grid p { color: #c7d0c5; }
.insights, .questions { background: var(--cream); color: var(--ink); }
.insights h2, .continuity h2, .questions h2 { color: var(--ink); }
.analytics { border-radius: 18px; border-color: #a98a5066; }
.continuity { background: #eeece6; }
.orbit { border-color: #a98a5055; }
.text-link { color: var(--felt); border-color: var(--gold-dim); }
.end { background: radial-gradient(ellipse at 50% 0, #294638, var(--felt) 68%); color: #faf6ed; }
.end h2 { color: #faf6ed; }
footer { background: #111a15; border-color: #a98a5055; }
.faq-list details { border-color: #a98a5055; }
summary span { color: var(--gold-dim); }

@media (max-width: 760px) {
  header { padding: 0 20px; }
  /* Igual que arriba: el velo protege el texto y libera la mitad de abajo,
     donde está la ficha. */
  .hero:after { background: linear-gradient(180deg, #f2f0eaf2 0, #f2f0eae6 52%, #f2f0ea40 78%, #f2f0ea00); }
  .hero h1 { font-size: clamp(54px, 13vw, 88px); }
  .cta { width: min(310px, 100%); }
  .feature-grid h3, .trust-grid h3 { font-size: 26px; }
  .end h2 { font-size: clamp(48px, 11vw, 78px); }
}

/* El paño del dashboard también es la superficie de las secciones de marca. */
.manifest, .protocol, .trust {
  background: radial-gradient(ellipse at 90% 0, #d5b47714, transparent 65%),
    repeating-linear-gradient(45deg, #ffffff03 0 1px, transparent 1px 5px), rgba(25, 46, 37, .92);
}
.manifest::before, .protocol::before, .trust::before { display: none; }
.end {
  background: radial-gradient(ellipse at 90% 0, #d5b47714, transparent 65%),
    repeating-linear-gradient(45deg, #ffffff03 0 1px, transparent 1px 5px), rgba(25, 46, 37, .92);
  color: #faf6ed;
}
.insights, .questions { background: rgba(242, 240, 234, .92); }
.continuity { background: rgba(238, 236, 230, .92); }
footer { background: rgba(17, 26, 21, .94); }
.end .cta {
  background: #e4c78f;
  color: #18271d;
  border-color: #f1dcae;
  box-shadow: 0 3px 0 #92713a, inset 0 1px #fff5d6;
}
.end .cta > span { color: #18271d; border-color: #92713a; }
.hero h1 { font-size: clamp(48px, 5vw, 86px); line-height: 1.02; }
.header-acciones .logo, header > .logo { font-size: 16px; letter-spacing: .22em; }
.hero .copy { transform: translateY(-42px); }
@media (max-width: 760px) {
  .hero .copy { transform: translateY(-24px); }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); line-height: 1.02; }
}

@media (min-width: 761px) {
  .hero h1 { font-size: clamp(42px, 4vw, 72px); }
  .manifest h2 { font-size: clamp(50px, 5.5vw, 86px); }
  .insights h2, .continuity h2, .trust h2, .questions h2 { font-size: clamp(48px, 4vw, 68px); }
  .protocol h2 { font-size: clamp(44px, 4vw, 64px); }
  .end h2 { font-size: clamp(52px, 6vw, 92px); }
}

/* Pantallas muy angostas: los titulares grandes desbordaban a lo ancho —lo
   detectó la revisión del hero, en la sección «Cómo funciona»—. */
@media (max-width: 400px) {
  .hero h1, .manifest h2, .insights h2, .protocol h2,
  .continuity h2, .trust h2, .questions h2, .end h2 { overflow-wrap: anywhere; }
  .protocol h2 { font-size: clamp(38px, 11.5vw, 50px); }
}
