/* Capturaya · web de descarga. Mobile first. Tokens en :root (ver ../../DESIGN.md) */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --night-0: #05071a;
  --night-1: #0b1030;
  --night-2: #121a44;
  --line: rgba(160, 175, 255, 0.14);
  --line-2: rgba(160, 175, 255, 0.26);
  --ink: #eef1ff;
  --ink-2: #a9b1d6;
  --ink-3: #8c94c0;
  --blue: #2f5bff;
  --blue-hi: #5b7dff;
  --violet: #7b3ff2;
  --shutter: #ff3b48;
  --ok: #3ddc84;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
  --gutter: 16px;
  --topbar: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 16px); }
body {
  margin: 0;
  background: var(--night-0);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-hi); text-underline-offset: 3px; }
a:hover { color: #8aa2ff; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; color: var(--ink); }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--ink-3); }
.sprite { display: none; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--night-0); border-radius: var(--r-sm); font-weight: 600; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid #9fb2ff; outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.wrap-wide { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* --- Teclas fisicas --- */
kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.75em; height: 1.75em; padding: 0 .45em; margin: 0 .1em;
  font: 500 .76em/1 var(--mono);
  color: var(--ink);
  background: linear-gradient(#1d2658, #141b45);
  border: 1px solid rgba(170, 185, 255, .22);
  border-bottom-width: 3px; border-bottom-color: rgba(0, 0, 0, .55);
  border-radius: 7px;
  vertical-align: .08em;
  white-space: nowrap;
}

/* OS: por defecto se muestra Mac; data-os=win cambia */
.os-mac, .os-win { white-space: nowrap; }
/* Mac y Windows siempre a la vista: "⇧⌘X o Ctrl Shift X" */
.os-mac + .os-win::before { content: "o"; margin: 0 .45em; font-size: .85em; font-weight: 500; color: var(--ink-3); }
.ostag { font-size: .72em; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); margin-left: .25em; }

/* --- Barra superior: lo mas estrecha posible --- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--topbar);
  background: rgba(5, 7, 26, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand__word { font-weight: 800; font-stretch: 125%; letter-spacing: .24em; font-size: .8rem; }
.topbar__links { display: none; margin-left: auto; gap: 4px; }
.topbar__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink-2); text-decoration: none; font-size: .9rem; border-radius: var(--r-sm); transition: color .2s var(--ease); }
.topbar__links a:hover { color: var(--ink); }
.topbar .btn--small { margin-left: auto; }
@media (min-width: 860px) {
  .topbar__links { display: flex; }
  .topbar .btn--small { margin-left: 8px; }
}

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 10px 20px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  color: var(--ink); text-decoration: none; font-weight: 600;
  cursor: pointer; touch-action: manipulation;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { color: var(--ink); border-color: rgba(190, 200, 255, .45); background: rgba(255, 255, 255, .07); }
.btn:active { transform: scale(.97); }
.btn--small { min-height: 36px; padding: 6px 14px; font-size: .875rem; border-radius: 9px; }
.btn--primary, .btn--dl.is-primary {
  background: linear-gradient(180deg, #3a60ff 0%, var(--blue) 50%, #3d2fc9 135%);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 30px -12px rgba(47, 91, 255, .75);
}
.btn--primary:hover, .btn--dl.is-primary:hover { background: linear-gradient(180deg, #3459f5 0%, #2b52ec 50%, #3d2fc9 135%); border-color: rgba(255, 255, 255, .28); }
.btn--ghost { background: transparent; }
.btn--dl { justify-content: flex-start; text-align: left; min-height: 76px; padding: 12px 22px 12px 20px; width: 100%; gap: 14px; }
.btn--dl .ico { width: 26px; height: 26px; }
.btn__label { display: flex; flex-direction: column; line-height: 1.2; }
.btn__kicker { font-weight: 500; font-size: .74rem; color: rgba(238, 241, 255, .78); }
.btn__main { font-size: 1.3rem; font-weight: 750; font-stretch: 110%; letter-spacing: -0.01em; }
.btn__meta { font-weight: 400; font-size: .76rem; color: rgba(238, 241, 255, .74); margin-top: 2px; }
.btn--dl.is-primary .btn__kicker, .btn--dl.is-primary .btn__meta { color: #fff; }
.btn--dl.is-soon [data-size="win"] { color: #ffc9cd; font-weight: 600; }

.link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--blue-hi); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: #8aa2ff; }

/* --- HERO --- */
.hero { position: relative; padding: 32px 0 24px; isolation: isolate; }
.ambient {
  position: absolute; inset: -10% 0 auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 40% at 50% 8%, rgba(47, 91, 255, .38), transparent 70%),
    radial-gradient(30% 30% at 85% 30%, rgba(123, 63, 242, .28), transparent 70%),
    radial-gradient(28% 26% at 12% 36%, rgba(47, 91, 255, .2), transparent 70%);
  mask-image: linear-gradient(#000 55%, transparent);
}
.hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lockup { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.lockup__icon { width: 56px; height: 56px; filter: drop-shadow(0 10px 24px rgba(47, 91, 255, .45)); }
.lockup__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.lockup__word { font-weight: 800; font-stretch: 125%; letter-spacing: .26em; font-size: 1.05rem; }
.lockup__by { color: var(--ink-2); font-size: .85rem; font-weight: 500; margin-top: 3px; }
h1, .h2, .privacy__title, .closing__title { font-stretch: 112%; }
h1 {
  font-size: clamp(2.3rem, 8.2vw, 4.75rem);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 780;
}
h1 .soft { color: var(--ink-2); font-weight: 600; }
.lead { margin-top: 22px; max-width: 37rem; text-wrap: balance; font-size: clamp(1.05rem, 2.6vw, 1.22rem); color: var(--ink-2); line-height: 1.6; }

.dl { display: grid; gap: 10px; width: 100%; max-width: 580px; margin-top: 32px; }
@media (min-width: 560px) { .dl { grid-template-columns: 1fr 1fr; } }
.dl .is-primary { order: -1; }
.dl-note, .mobile-note { margin-top: 14px; font-size: .92rem; color: var(--ink-2); max-width: 32rem; }
.dl-note { color: #ffc5c9; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 22px; font-size: .9rem; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 18px; }
.facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); margin-left: -11px; margin-right: -7px; }

.try { margin-top: 26px; }
.try__btn {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 16px;
  background: rgba(255, 255, 255, .03); color: var(--ink-2);
  border: 1px dashed rgba(220, 228, 255, .38); border-radius: 999px;
  font-size: .9rem; cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.try__btn:hover { color: var(--ink); border-color: rgba(230, 236, 255, .7); background: rgba(255, 255, 255, .06); }
.try__touch { display: none; }
@media (hover: none) and (pointer: coarse) { .try__desk { display: none; } .try__touch { display: inline; } }
[data-os="mobile"] .try__desk { display: none; }
[data-os="mobile"] .try__touch { display: inline; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--shutter); box-shadow: 0 0 0 4px rgba(255, 59, 72, .18); }
@media (prefers-reduced-motion: no-preference) { .rec { animation: rec 2s var(--ease) infinite; } }
@keyframes rec { 50% { box-shadow: 0 0 0 7px rgba(255, 59, 72, .05); } }

/* Escenario: la captura protagonista */
.stage { margin-top: 40px; margin-bottom: 0; perspective: 1800px; }
.stage__tilt { position: relative; transform-origin: 50% 0%; }
.screen {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(190, 200, 255, .2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 60px 120px -40px rgba(47, 91, 255, .45), 0 40px 80px -30px rgba(0, 0, 0, .9);
  background: var(--night-1);
  aspect-ratio: 1600 / 1001;
}
.screen::after { /* reflejo de cristal en el borde superior */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 18%);
}
.screen img { width: 100%; height: 100%; object-fit: cover; }
.stage__toast {
  position: absolute; right: 4%; bottom: -18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(14, 20, 52, .92); border: 1px solid var(--line-2);
  font-weight: 600; font-size: .95rem; box-shadow: var(--shadow);
}
.stage__toast .ico { color: var(--ok); stroke-width: 2.4; }

@media (prefers-reduced-motion: no-preference) {
  .stage__tilt { animation: tilt-in 1.4s var(--ease) both .15s; }
  .stage__toast { animation: toast-in .6s var(--ease) both 1.5s; }
  @supports (animation-timeline: view()) {
    .stage__tilt {
      animation: untilt linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 42%;
    }
    .stage__toast { animation: toast-in linear both; animation-timeline: view(); animation-range: entry 40% cover 46%; }
  }
}
@keyframes tilt-in { from { transform: rotateX(24deg) scale(.9) translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes untilt { from { transform: rotateX(26deg) scale(.88); } to { transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* --- Secciones --- */
.section { padding: 88px 0; }
.h2 { font-size: clamp(1.9rem, 5.4vw, 3.25rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; }
.sub { margin-top: 14px; color: var(--ink-2); font-size: 1.08rem; max-width: 40rem; }

/* Como funciona */
.steps { display: grid; gap: 64px; margin-top: 56px; counter-reset: s; }
.step { display: grid; gap: 22px; align-items: center; }
.frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--night-1); }
.step__n { display: inline-block; font-size: .8rem; color: var(--ink-3); margin-bottom: 10px; }
.step h3 { font-size: clamp(1.4rem, 3.4vw, 2rem); letter-spacing: -0.025em; font-weight: 650; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 1.05rem; max-width: 30rem; }
@media (min-width: 900px) {
  .step { grid-template-columns: 7fr 5fr; gap: 56px; }
  .step:nth-child(even) .step__media { order: 2; }
  .step:nth-child(even) { grid-template-columns: 5fr 7fr; }
}

/* Funciones: bento con jerarquia */
.features { background: linear-gradient(180deg, transparent, rgba(18, 26, 68, .35) 30%, transparent); }
.bento { display: grid; gap: 14px; margin-top: 48px; grid-template-columns: 1fr; }
.tile {
  position: relative; padding: 24px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(25, 34, 84, .55), rgba(11, 16, 48, .55));
  border: 1px solid var(--line);
  overflow: hidden;
}
.tile h3 { font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 650; }
.tile__p { margin-top: 8px; color: var(--ink-2); max-width: 34rem; }
.tile__hint { margin-top: 14px; font-size: .9rem; color: var(--ink-3); }

/* Esquinas de visor (el motivo del icono): aparecen al pasar */
.visor::before, .visor::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none;
  border: 2px solid rgba(255, 255, 255, .85); opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.visor::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; transform: translate(6px, 6px); }
.visor::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; transform: translate(-6px, -6px); }
.visor:hover::before, .visor:hover::after, .visor:focus-within::before, .visor:focus-within::after { opacity: 1; transform: none; }

@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--tools { grid-column: span 6; }
  .tile--weight { grid-column: span 3; }
  .tile--select { grid-column: span 3; }
  .tile--freeze { grid-column: span 3; }
  .tile--out { grid-column: span 3; }
  .tile--tray { grid-column: span 6; }
}
@media (min-width: 1040px) {
  .tile--tools { grid-column: span 4; grid-row: span 2; padding: 32px; }
  .tile--weight { grid-column: span 2; }
  .tile--select { grid-column: span 2; }
  .tile--freeze { grid-column: span 2; }
  .tile--out { grid-column: span 2; }
  .tile--tray { grid-column: span 2; }
  .tile--tools h3 { font-size: 1.6rem; }
}

/* Barra de herramientas recreada */
.toolbar {
  display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 24px; padding: 6px;
  background: rgba(10, 12, 28, .9); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px;
  box-shadow: var(--shadow);
}
.tool {
  position: relative; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 10px; border: 0;
  background: transparent; color: #d9defa; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.tool .ico { width: 24px; height: 24px; }
.tool__k { position: absolute; right: 4px; bottom: 2px; font-size: .66rem; font-weight: 600; color: var(--ink-2); }
.tool:hover { background: rgba(255, 255, 255, .08); }
.tool[aria-pressed="true"] { background: var(--blue); color: #fff; }
.tool[aria-pressed="true"] .tool__k { color: #fff; }
.tool-desc { margin-top: 18px; min-height: 3.2em; color: var(--ink-2); }
.tool-desc strong { margin-right: 4px; }
.tool-desc kbd { margin-right: 8px; }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.swatches > span:not(.swatches__l) { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .16); }
.swatches > span:nth-child(1) { background: #ff3b30; border-color: #fff; }
.swatches > span:nth-child(2) { background: #ff9500; }
.swatches > span:nth-child(3) { background: #ffd60a; }
.swatches > span:nth-child(4) { background: #34c759; }
.swatches > span:nth-child(5) { background: #0a84ff; }
.swatches > span:nth-child(6) { background: #af52de; }
.swatches > span:nth-child(7) { background: #ff2d92; }
.swatches > span:nth-child(8) { background: #ffffff; }
.swatches > span:nth-child(9) { background: #8e8e93; }
.swatches > span:nth-child(10) { background: #000000; }
.swatches__l { margin-left: 6px; font-size: .9rem; color: var(--ink-3); }
.proof { margin: 28px 0 0; }
.proof picture { display: block; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow); background: #fff; }
.proof figcaption { margin-top: 12px; font-size: .9rem; color: var(--ink-3); }
@media (min-width: 1040px) { .proof { margin-top: 36px; } }

/* Grosor */
.weight {
  position: relative; margin-top: 20px; padding: 14px 16px; border-radius: 14px;
  background: rgba(10, 12, 28, .9); border: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; gap: 12px; cursor: ns-resize;
}
.weight__svg { flex: 1; min-width: 0; height: 56px; overflow: visible; }
.weight__svg path { fill: none; stroke: var(--shutter); stroke-linecap: round; transition: stroke-width .15s var(--ease); }
.weight__v { font-weight: 600; white-space: nowrap; min-width: 4ch; text-align: right; }
.weight__ctl { display: block; margin-top: 14px; }
input[type="range"] { width: 100%; height: 44px; accent-color: var(--blue); background: transparent; cursor: pointer; }

/* Seleccion */
.marquee-demo { position: relative; margin-top: 22px; height: 150px; border-radius: 12px; overflow: hidden;
  background:
    linear-gradient(rgba(5, 7, 26, .55), rgba(5, 7, 26, .55)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 22px),
    #19225a;
}
.sel { position: absolute; inset: 30px 22% 22px 14%; background: rgba(255, 255, 255, .06); }
.sel, .tryout__sel { outline: 1.5px dashed rgba(255, 255, 255, .9); outline-offset: 0; }
.sel i, .tryout__sel i { position: absolute; width: 8px; height: 8px; background: #fff; border: 1px solid #05071a; border-radius: 1px; }
.sel i:nth-of-type(1), .tryout__sel i:nth-of-type(1) { left: -4px; top: -4px; }
.sel i:nth-of-type(2), .tryout__sel i:nth-of-type(2) { left: calc(50% - 4px); top: -4px; }
.sel i:nth-of-type(3), .tryout__sel i:nth-of-type(3) { right: -4px; top: -4px; }
.sel i:nth-of-type(4), .tryout__sel i:nth-of-type(4) { right: -4px; top: calc(50% - 4px); }
.sel i:nth-of-type(5), .tryout__sel i:nth-of-type(5) { right: -4px; bottom: -4px; }
.sel i:nth-of-type(6), .tryout__sel i:nth-of-type(6) { left: calc(50% - 4px); bottom: -4px; }
.sel i:nth-of-type(7), .tryout__sel i:nth-of-type(7) { left: -4px; bottom: -4px; }
.sel i:nth-of-type(8), .tryout__sel i:nth-of-type(8) { left: -4px; top: calc(50% - 4px); }
.sel__badge { position: absolute; left: -2px; top: -30px; padding: 3px 7px; border-radius: 5px; background: rgba(0, 0, 0, .82); color: #fff; font-size: .75rem; font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .tile--select:hover .sel, .tile--select:focus-within .sel { animation: resize 2.4s var(--ease) infinite alternate; }
}
@keyframes resize { to { inset: 30px 10% 22px 24%; } }

/* Monitores */
.monitors { display: flex; align-items: flex-end; justify-content: center; gap: 10px; margin-top: 22px; height: 130px; }
.mon { position: relative; width: 58%; aspect-ratio: 16 / 10; border-radius: 8px; border: 1.5px dashed rgba(255, 255, 255, .85);
  background: linear-gradient(160deg, #3a2d7a, #1b2560 50%, #c75a3b 140%); }
.mon--b { width: 34%; background: linear-gradient(160deg, #1b2a6b, #2f5bff 160%); }
.mon__bar { position: absolute; inset: 0 0 auto; height: 7px; background: rgba(255, 255, 255, .28); border-radius: 6px 6px 0 0; }
.mon__dock { position: absolute; left: 24%; right: 24%; bottom: 5px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .35); }

/* Salidas */
.outs { display: grid; gap: 2px; margin-top: 14px; }
.outs li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.outs li:last-child { border-bottom: 0; }
.outs li > span:first-child { min-width: 7.5rem; }
.copied { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(61, 220, 132, .12); color: #8ff0b8; font-size: .8rem; font-weight: 600; }

/* Barra de menus */
.menubar { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 22px; padding: 4px 8px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }
.menubar__item { display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; border-radius: 6px; }
.menubar__item--on { background: rgba(255, 255, 255, .16); }

/* --- Privacidad: banda de afirmacion --- */
.privacy { padding: 96px 0; border-block: 1px solid var(--line); background:
  radial-gradient(60% 120% at 0% 0%, rgba(47, 91, 255, .16), transparent 60%), var(--night-0); }
.privacy__inner { display: grid; gap: 24px; }
.privacy__title { font-size: clamp(2rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; max-width: 15ch; }
.privacy__p { color: var(--ink-2); font-size: 1.12rem; max-width: 36rem; }
.privacy__list { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 8px; }
.privacy__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.privacy__list .ico { color: var(--ok); stroke-width: 2.4; }
@media (min-width: 900px) {
  .privacy__inner { grid-template-columns: 1.2fr 1fr; align-items: end; column-gap: 64px; }
  .privacy__title { grid-row: span 2; }
  .privacy__list { grid-column: 2; }
}

/* --- Tabla de atajos --- */
.table-wrap { margin-top: 40px; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: rgba(11, 16, 48, .5); }
.ktable { width: 100%; border-collapse: collapse; }
.ktable th, .ktable td { padding: 12px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.ktable tbody tr:last-child > * { border-bottom: 0; }
.ktable thead th { font-size: .8rem; font-weight: 600; color: var(--ink-3); background: rgba(255, 255, 255, .025); }
.ktable tbody th { font-weight: 500; color: var(--ink); }
.ktable td { color: var(--ink-2); white-space: nowrap; }
.ktable kbd { font-size: .86em; }
.ktable tbody tr:hover { background: rgba(255, 255, 255, .025); }
[data-os="mac"] .ktable .col-mac, [data-os="win"] .ktable .col-win { background: rgba(47, 91, 255, .07); }
@media (max-width: 599px) {
  /* En movil: una fila = accion arriba, teclas debajo */
  .ktable thead { display: none; }
  .ktable tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .ktable tbody tr:last-child { border-bottom: 0; }
  .ktable th, .ktable td { padding: 0; border: 0; }
  .ktable tbody th { grid-column: 1 / -1; margin-bottom: 8px; }
  .ktable td { white-space: normal; }
  .ktable td.col-mac::before { content: "Mac  "; }
  .ktable td.col-win::before { content: "Win  "; }
  .ktable td.col-mac::before, .ktable td.col-win::before { display: block; font-size: .72rem; color: var(--ink-3); margin-bottom: 4px; }
  .ktable td.col-both { grid-column: 1 / -1; }
  [data-os="mac"] .ktable .col-mac, [data-os="win"] .ktable .col-win { background: none; }
}

/* --- Instalacion --- */
.tabs { display: inline-flex; gap: 4px; margin-top: 36px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 9px; border: 0; background: transparent; color: var(--ink-2); font-weight: 600; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.tab .ico { width: 18px; height: 18px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--night-0); }
.no-js .tabs { display: none; }
.panel { margin-top: 28px; }
.panel[hidden] { display: none; }
.no-js #panel-win { margin-top: 56px; }

.isteps { display: grid; gap: 14px; }
.istep { display: grid; gap: 22px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(11, 16, 48, .55); align-items: center; }
.istep h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; letter-spacing: -0.02em; font-weight: 650; }
.istep__n { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--blue); color: #fff; font: 600 .95rem/1 var(--mono); }
.istep__text > p { margin-top: 10px; color: var(--ink-2); }
.istep__text > p.muted { font-size: .92rem; color: var(--ink-3); }
.istep__text > p.why { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: rgba(47, 91, 255, .1); border: 1px solid rgba(91, 125, 255, .28); font-size: .95rem; }
.path { display: flex; flex-wrap: wrap; gap: 6px; }
.path span { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 7px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); color: var(--ink); font-size: .9rem; font-weight: 500; }
.path { column-gap: 22px; }
.path span { position: relative; }
.path span + span::before { content: "›"; position: absolute; left: -15px; color: var(--ink-3); }
@media (min-width: 900px) {
  .istep { grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 32px; }
  .istep--wide { grid-template-columns: 1fr 1.15fr; }
}

/* Mocks de sistema (ilustrativos) */
.mock { border-radius: 14px; background: #1e1f26; border: 1px solid rgba(255, 255, 255, .12); padding: 16px; box-shadow: var(--shadow); font-size: .9rem; color: #e6e6ea; }
.mock__title { font-weight: 700; font-size: 1rem; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mock__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.mock__row--warn span:first-child { flex: 1 1 14rem; color: #c9c9d1; }
.mock__btn { padding: 5px 12px; border-radius: 7px; background: rgba(255, 255, 255, .14); font-weight: 600; white-space: nowrap; }
.mock__btn--hl, .mock__wbtn--hl { outline: 2px solid var(--shutter); outline-offset: 3px; }
.mock__app { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #55565e; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.switch--on { background: #2f7bff; outline: 2px solid var(--shutter); outline-offset: 3px; }
.switch--on::after { transform: translateX(16px); }
.mock--win { background: #0f3a6b; border-color: rgba(255, 255, 255, .15); border-radius: 6px; padding: 20px; }
.mock__wtitle { font-size: 1.25rem; font-weight: 600; color: #fff; }
.mock__wtext { margin-top: 10px; color: #d4e2f5; }
.mock__link { display: inline-block; margin-top: 10px; color: #fff; text-decoration: underline; outline: 2px solid var(--shutter); outline-offset: 3px; border-radius: 2px; }
.mock__wfoot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.mock__wbtn { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .6); color: #fff; border-radius: 2px; }
.keys-big { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 28px 12px; font-size: 1.6rem; }
.keys-big kbd { min-width: 2.3em; height: 2.3em; border-radius: 12px; border-bottom-width: 5px; }
.keys-big--file { gap: 12px; font-size: 1rem; color: var(--ink-2); }
.keys-big--file .ico { width: 28px; height: 28px; color: var(--blue-hi); }

/* --- FAQ --- */
.faq__list { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 4px; cursor: pointer; list-style: none;
  font-size: 1.08rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq summary:hover .ico { color: var(--ink); }
.faq details p { padding: 0 4px 20px; color: var(--ink-2); max-width: 40rem; }

/* --- Cierre --- */
.closing { position: relative; padding: 110px 0 120px; text-align: center; overflow: hidden; isolation: isolate; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 50% 30%, rgba(47, 91, 255, .28), transparent 70%), radial-gradient(30% 40% at 62% 50%, rgba(123, 63, 242, .2), transparent 70%); }
.closing__inner { display: flex; flex-direction: column; align-items: center; }
.closing__icon { width: 96px; height: 96px; filter: drop-shadow(0 20px 40px rgba(47, 91, 255, .5)); }
.closing__title { margin-top: 28px; font-size: clamp(2.1rem, 6.6vw, 4.25rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; }
.dl--center { margin-top: 36px; }
.share-line { margin-top: 28px; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; }

/* --- Pie --- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .9rem; color: var(--ink-2); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.footer__brand .brand__word { color: var(--ink); font-size: .78rem; }
.heart { color: var(--shutter); margin: 0 .2em; }

/* --- Demo del atajo --- */
.tryout { position: fixed; inset: 0; z-index: 200; background: rgba(3, 4, 14, .58); cursor: crosshair; touch-action: none; user-select: none; -webkit-user-select: none; }
.tryout[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .tryout:not([hidden]) { animation: fade .25s var(--ease); } }
@keyframes fade { from { opacity: 0; } }
.tryout__hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 22px; border-radius: 14px; background: rgba(0, 0, 0, .7); color: #fff; font-weight: 600; font-size: 1.1rem; text-align: center; pointer-events: none; max-width: calc(100% - 32px); }
.tryout__sub { display: block; margin-top: 6px; font-weight: 400; font-size: .85rem; color: #c9cee8; }
.tryout.is-dragging .tryout__hint, .tryout.is-done .tryout__hint { display: none; }
.tryout__sel { position: absolute; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 9999px rgba(3, 4, 14, .35); }
.tryout__sel[hidden] { display: none; }
.tryout__done {
  position: absolute; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(460px, calc(100% - 32px)); padding: 20px; border-radius: 16px;
  background: rgba(11, 16, 48, .96); border: 1px solid var(--line-2); box-shadow: var(--shadow); cursor: default; text-align: center;
}
.tryout__done[hidden] { display: none; }
.tryout__copied { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.tryout__copied .ico { color: var(--ok); stroke-width: 2.4; }
.tryout__copied .muted { font-weight: 400; font-size: .85rem; }
.tryout__msg { margin-top: 6px; color: var(--ink-2); }
.tryout__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 10px 18px; border-radius: 999px; background: rgba(14, 20, 52, .96); border: 1px solid var(--line-2); font-weight: 600; box-shadow: var(--shadow);
  transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.btn--dl.is-primary.is-soon [data-size="win"] { color: #fff; }

/* Tu atajo: pasos + ventanas de Ajustes que funcionan */
.sc { display: grid; gap: 40px; margin-top: 44px; }
@media (min-width: 1040px) { .sc { grid-template-columns: 5fr 7fr; align-items: start; gap: 56px; } }
.sc__steps { list-style: none; display: grid; gap: 26px; }
.sc__steps li { display: flex; gap: 16px; }
.sc__steps h3 { font-size: 1.1rem; font-weight: 600; }
.sc__steps p { margin-top: 6px; color: var(--ink-2); line-height: 1.6; }
.sc__wins { display: grid; gap: 22px; }
@media (min-width: 680px) { .sc__wins { grid-template-columns: 1fr 1fr; } }
.sc__try { grid-column: 1 / -1; font-size: .92rem; color: var(--ink-3); }
.fwin { position: relative; margin: 0; padding-top: 150px; }
.fwin__body strong { color: inherit; font-weight: 600; }
.fwin figcaption { margin-top: 10px; font-size: .85rem; font-weight: 600; color: var(--ink-3); text-align: center; }
.fwin__menu { position: absolute; top: 0; right: 10px; width: 188px; padding: 5px; border-radius: 8px; font-size: .8rem; display: grid; gap: 1px;
  background: rgba(40, 42, 54, .96); border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow); z-index: 1; }
.fwin__mi { display: flex; justify-content: space-between; padding: 4px 9px; border-radius: 5px; color: #e9ebf5; }
.fwin__mi em { font-style: normal; color: #9aa0b8; }
.fwin__mi.is-on { background: var(--blue); color: #fff; }
.fwin__mi.is-on em { color: #dfe6ff; }
.fwin__sep { height: 1px; margin: 3px 6px; background: rgba(255, 255, 255, .12); }
.fwin__bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: .8rem; font-weight: 600; border-radius: 10px 10px 0 0; }
.fwin__body { display: grid; gap: 10px; justify-items: start; padding: 18px 20px 20px; border-radius: 0 0 10px 10px; font-size: .9rem; }
.fwin__rec { min-height: 44px; min-width: 170px; padding: 0 14px; border-radius: 7px; font: 500 .95rem var(--mono); cursor: pointer; transition: box-shadow .2s var(--ease), background .2s var(--ease); }
.fwin__rec:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 2px; }
.fwin__rec.is-rec { animation: rec 1.1s ease-in-out infinite; }
@keyframes rec { 50% { box-shadow: 0 0 0 4px rgba(47, 91, 255, .35); } }
.fwin__st { font-size: .82rem; min-height: 2.6em; line-height: 1.35; }
.fwin__st.is-bad { color: #ff7b84; }
.fwin__chk { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.fwin__chk i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: var(--blue); color: #fff; font-style: normal; font-size: .7rem; }
/* macOS */
.fwin--mac .fwin__bar { background: #2b2d36; color: #d9dbe6; justify-content: center; position: relative; border: 1px solid rgba(255,255,255,.1); border-bottom: 0; }
.fwin__dots { position: absolute; left: 12px; display: flex; gap: 6px; }
.fwin__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.fwin__dots i:nth-child(2) { background: #febc2e; } .fwin__dots i:nth-child(3) { background: #28c840; }
.fwin--mac .fwin__body { background: #22242c; color: #eceef6; border: 1px solid rgba(255,255,255,.1); border-top: 0; }
.fwin--mac .fwin__rec { background: #3a3d4a; color: #fff; border: 1px solid rgba(255,255,255,.14); }
.fwin--mac .fwin__st { color: #9ea3b8; }
/* Windows 11 */
.fwin--win .fwin__menu { background: #f9f9f9; border-color: #e3e3e3; border-radius: 8px; }
.fwin--win .fwin__mi { color: #1b1b1b; }
.fwin--win .fwin__mi.is-on { background: #e8eefc; color: #1b1b1b; }
.fwin--win .fwin__sep { background: #e3e3e3; }
.fwin--win .fwin__bar { background: #f3f3f3; color: #1b1b1b; font-weight: 400; justify-content: space-between; border: 1px solid #dcdcdc; border-bottom: 0; }
.fwin__x { color: #555; }
.fwin--win .fwin__body { background: #fff; color: #1b1b1b; font-family: "Segoe UI", var(--font); border: 1px solid #dcdcdc; border-top: 0; }
.fwin--win .fwin__rec { background: #fff; color: #1b1b1b; border: 1px solid #8a8a8a; border-bottom-width: 2px; border-radius: 4px; font-family: "Segoe UI", var(--font); text-align: left; }
.fwin--win .fwin__rec.is-rec { border-bottom-color: #0067c0; }
.fwin--win .fwin__st { color: #5f5f5f; }
.fwin--win .fwin__st.is-bad { color: #b22222; }
.fwin--win .fwin__chk i { background: #0067c0; border-radius: 3px; }
.lead__link { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.lead__link:hover { text-decoration-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .fwin__rec.is-rec { animation: none; box-shadow: 0 0 0 4px rgba(47, 91, 255, .35); } }

/* Ayuda para Mac: desplegables con capturas reales */
.hm { display: grid; gap: 12px; margin-top: 36px; max-width: 60rem; }
.hm__box { border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255, 255, 255, .025); }
.hm__box[open] { border-color: var(--line-2); }
.hm__box summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 20px; cursor: pointer; list-style: none; }
.hm__box summary::-webkit-details-marker { display: none; }
.hm__box summary span { display: grid; gap: 2px; }
.hm__box summary strong { font-size: 1.08rem; }
.hm__box summary small { color: var(--ink-3); font-size: .88rem; }
.hm__box summary .ico { flex: none; color: var(--ink-3); transition: transform .3s var(--ease); }
.hm__box[open] summary .ico { transform: rotate(45deg); color: var(--ink); }
.hm__box summary:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 2px; border-radius: var(--r-lg); }
.hm__body { padding: 4px 20px 24px; }
.hm__why p { color: var(--ink-2); line-height: 1.7; max-width: 44rem; }
.hm__why p + p { margin-top: 12px; }
.hm__steps { list-style: none; display: grid; gap: 28px; }
.hm__step { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: start; }
.hm__txt h4 { font-size: 1rem; font-weight: 600; }
.hm__txt p { margin-top: 4px; color: var(--ink-2); line-height: 1.6; }
.hm__img { grid-column: 2; width: 100%; max-width: 560px; height: auto; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow); }
@media (max-width: 560px) { .hm__img { grid-column: 1 / -1; } }
.news__list { display: grid; gap: 10px; padding-left: 40px; color: var(--ink-2); line-height: 1.6; }
.news__list li::marker { color: var(--blue-hi); }
.hm__img--alta { max-width: 300px; }
.hm__img--media { max-width: 420px; }
/* La prueba es de ordenador: en móvil y tablet no tiene sentido, se oculta */
[data-os="mobile"] .try { display: none; }
@media (hover: none) and (pointer: coarse) { .try { display: none; } }

/* ---------- Simulador "Pruébala aquí" (Capturaya dentro de la web) ---------- */
.sim { position: fixed; inset: 0; z-index: 300; cursor: crosshair; user-select: none; -webkit-user-select: none; touch-action: none; }
.sim[hidden] { display: none; }
.sim__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.sim__px { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sim__px i { position: absolute; display: block; backdrop-filter: blur(9px) saturate(.9); -webkit-backdrop-filter: blur(9px) saturate(.9);
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 12px 12px; }
.sim__coach { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); max-width: min(620px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 14px;
  background: rgba(14, 16, 32, .94); border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow); color: #eef1ff; font-size: .95rem; line-height: 1.5; text-align: center; pointer-events: none; }
.sim__coach b { color: #fff; }
.sim__coach:empty { display: none; }
@media (prefers-reduced-motion: no-preference) { .sim__coach.is-new { animation: coach .45s var(--ease); } }
@keyframes coach { from { opacity: 0; transform: translate(-50%, -8px); } }
.sim__bar { position: absolute; display: flex; gap: 2px; padding: 4px; border-radius: 8px; background: rgba(33, 33, 36, .94); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 6px 18px rgba(0,0,0,.4); cursor: default; }
.sim__bar[hidden] { display: none; }
.sim__bar--v { flex-direction: column; }
.sim__bar button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #e6e6e6; cursor: pointer; }
.sim__bar button .ico { width: 16px; height: 16px; }
.sim__bar button:hover { background: rgba(255,255,255,.1); color: #fff; }
.sim__bar button.is-on, .sim__bar button.is-primary { background: #0a84ff; color: #fff; }
.sim__bar button:focus-visible { outline: 2px solid #5b9dff; outline-offset: 1px; }
.sim__sep { display: block; background: rgba(255,255,255,.14); }
.sim__bar--v .sim__sep { height: 1px; margin: 2px 4px; }
.sim__bar--h .sim__sep { width: 1px; margin: 4px 2px; }
.sim__swatch { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); }
.sim__pal { position: absolute; display: grid; grid-template-columns: repeat(5, 22px); gap: 0; padding: 6px; border-radius: 8px; background: rgba(33,33,36,.96); border: 1px solid rgba(255,255,255,.14); cursor: default; }
.sim__pal[hidden] { display: none; }
.sim__pal button { width: 22px; height: 22px; padding: 3px; border: 0; background: none; cursor: pointer; }
.sim__pal button span { display: block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); }
.sim__pal button.is-on span { box-shadow: 0 0 0 2px rgba(33,33,36,1), 0 0 0 4px #0a84ff; }
.sim__width { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(33,33,36,.94); border: 1px solid rgba(255,255,255,.14); color: #fff; font: 600 .85rem var(--mono); pointer-events: none; }
.sim__width[hidden] { display: none; }
.sim__width svg { width: 80px; height: 30px; overflow: visible; }
.sim__width path { fill: none; stroke-linecap: round; }
.sim__tip { position: absolute; padding: 4px 8px; border-radius: 5px; background: rgba(20,20,22,.95); color: #fff; font-size: .78rem; white-space: nowrap; pointer-events: none; }
.sim__tip[hidden] { display: none; }
.sim__text { position: absolute; min-width: 160px; padding: 0 2px; border: 0; outline: 1px dashed rgba(255,255,255,.6); background: transparent; font-weight: 700; font-family: system-ui, sans-serif; }
.sim__text[hidden] { display: none; }
.sim__brand { position: absolute; right: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(33,33,36,.94); border: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .02em; pointer-events: none; }
.sim__brand small { font-weight: 500; opacity: .7; margin-left: 4px; }
.sim__done { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 32px)); padding: 26px 26px 22px; border-radius: 18px;
  background: rgba(10, 13, 34, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow); text-align: center; cursor: default; }
.sim__done[hidden] { display: none; }
.sim__copied { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-weight: 700; font-size: 1.1rem; }
.sim__copied .ico { color: var(--ok); width: 20px; height: 20px; }
.sim__copied span { font-weight: 400; font-size: .85rem; color: var(--ink-3); }
.sim__pitch { margin-top: 12px; color: var(--ink-2); line-height: 1.6; }
.sim__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.toast { z-index: 400; }
/* Ayuda para Mac en un solo bloque, en verde de "seguro" */
.hm__box--trust { border-color: rgba(61, 220, 132, .35); background: linear-gradient(180deg, rgba(61, 220, 132, .07), rgba(61, 220, 132, .02)); }
.hm__box--trust[open] { border-color: rgba(61, 220, 132, .55); }
.hm__box--trust summary { justify-content: flex-start; }
.hm__box--trust summary > .ico { margin-left: auto; }
.hm__shield { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(61, 220, 132, .16); color: var(--ok); }
.hm__shield .ico { width: 22px; height: 22px; stroke-width: 2.4; }
.hm__box--trust .istep__n { background: #1f9d5c; }
.hm__h { margin: 30px 0 16px; font-size: 1.15rem; font-weight: 700; }
.hm__h small { display: block; margin-top: 2px; font-size: .88rem; font-weight: 500; color: var(--ink-3); }
.hm__why .hm__h { margin-top: 8px; }
.hm__why { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
/* Aviso "Ayuda para instalar en Mac" bajo las descargas: grande y en verde de confianza */
.machelp { display: flex; align-items: center; gap: 14px; width: min(100%, 560px); margin: 16px auto 0; padding: 14px 18px; min-height: 64px;
  border-radius: 16px; border: 1.5px solid rgba(61, 220, 132, .55); background: linear-gradient(180deg, rgba(61, 220, 132, .16), rgba(61, 220, 132, .06));
  color: var(--ink); text-decoration: none; text-align: left; transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease); }
.machelp:hover { border-color: var(--ok); background: linear-gradient(180deg, rgba(61, 220, 132, .24), rgba(61, 220, 132, .09)); transform: translateY(-1px); }
.machelp:focus-visible { outline: 3px solid var(--ok); outline-offset: 3px; }
.machelp__ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(61, 220, 132, .2); color: #fff; }
.machelp__ico .ico { width: 22px; height: 22px; }
.machelp__txt { display: grid; gap: 2px; }
.machelp__txt strong { font-size: 1.12rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.machelp__txt span { font-size: .95rem; color: #c9f5dc; }
.machelp__go { flex: none; margin-left: auto; width: 22px; height: 22px; color: var(--ok); }
[data-os="win"] .machelp { opacity: .8; }
/* La guía del simulador: protagonista y señalando lo que dice */
.sim__coach { top: 20px; max-width: min(720px, calc(100vw - 32px)); padding: 16px 24px 18px; border: 0; border-radius: 18px;
  background: linear-gradient(135deg, #2f5bff 0%, #6a3cf0 100%); color: #fff; font-size: 1.12rem; line-height: 1.5;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 18px 50px rgba(47, 91, 255, .45), 0 4px 14px rgba(0,0,0,.4); }
.sim__coach b { color: #fff; }
.sim__coachtop { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.sim__coachtop b { font-weight: 800; }
.sim__dots { display: inline-flex; gap: 4px; }
.sim__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); }
.sim__dots i.is-on { background: #3ddc84; }
@keyframes hintpulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.75); } 70% { box-shadow: 0 0 0 12px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.sim[data-hint="caught"] .sim__bar--v { outline: 2px solid #3ddc84; outline-offset: 3px; animation: hintpulse 1.4s ease-out infinite; }
.sim[data-hint="first"] .sim__bar button[data-act="color"],
.sim[data-hint="first"] .sim__bar button[data-act="undo"] { outline: 2px solid #3ddc84; outline-offset: 1px; animation: hintpulse 1.4s ease-out infinite; }
.sim[data-hint="more"] .sim__bar button[data-act="copy"] { outline: 2px solid #3ddc84; outline-offset: 2px; animation: hintpulse 1.2s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .sim[data-hint] .sim__bar--v, .sim[data-hint] .sim__bar button { animation: none !important; } }
