/* dBCut · web. Animaciones solo con transform y opacity; todo se ve bien sin ellas (prefers-reduced-motion). */

/* ---------- Fuentes (autoalojadas) ---------- */
@font-face {
  font-family: "Inter";
  src: url(../fonts/inter-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url(../fonts/poppins-700.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
/* Respaldo con métricas parecidas: evita saltos al cargar la fuente. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; size-adjust: 107.12%; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); ascent-override: 92.33%; descent-override: 30.78%; line-gap-override: 8.79%; size-adjust: 113.73%; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #0b0918;
  --bg-2: #100d20;
  --surface: #15122a;
  --surface-2: #1c1834;
  --line: rgba(180, 176, 210, 0.14);
  --line-2: rgba(180, 176, 210, 0.26);
  --text: #f3f2fa;
  --text-2: #b6b2cf;
  --text-3: #918dab;

  --kept: #5b80ff;
  --kept-hi: #6f9bff;
  --kept-lo: #4a52ef;
  --cut: #ff5373;
  --cut-deep: #b8375c;
  --thr: #f7c548;
  --focus: #9fb6ff;

  --grad: linear-gradient(100deg, #2b66f0 0%, #3d44f2 46%, #8e1cf0 100%);
  --grad-text: linear-gradient(100deg, #6aa5ff 0%, #8c86ff 50%, #c27bff 100%);

  --f-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Poppins", "Poppins Fallback", "Inter", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --head-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--f-body);
  font-feature-settings: "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; overflow-wrap: break-word; }
/* Palabras compuestas largas en alemán (Rückerstattungsrichtlinie…): se parten con guion en vez de salirse. */
:lang(de) :is(h1, h2, h3) { hyphens: auto; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(91, 128, 255, 0.4); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.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: absolute; left: 16px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* ---------- Botones ---------- */
.btn-buy {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.8em 1.25em; border-radius: 12px;
  background: var(--grad); color: #fff;
  font-weight: 650; font-size: 1rem; line-height: 1.2; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 28px -12px rgba(61, 68, 242, 0.75);
  transition: transform 0.25s var(--ease);
}
.btn-buy .sym { width: 1.15em; height: 1.15em; flex: none; }
/* Al pasar el ratón, una línea de cursor de reproducción cruza el botón. */
.btn-buy::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 2px;
  background: rgba(255, 255, 255, 0.85); box-shadow: 0 0 14px 3px rgba(255, 255, 255, 0.35);
  opacity: 0; transform: translateX(-8px);
}
.btn-buy:hover { transform: translateY(-1px); }
.btn-buy:active { transform: translateY(0); }
.btn-lg { font-size: 1.0625rem; padding: 0.95em 1.45em; border-radius: 14px; }
.btn-sm { font-size: 0.875rem; padding: 0.62em 0.95em; border-radius: 10px; }
.btn-sm .sym { display: none; }

.link-more {
  display: inline-flex; align-items: center; gap: 0.45em; padding: 0.5em 0.1em;
  color: var(--text-2); font-weight: 550; text-decoration: none;
  transition: color 0.2s;
}
.link-more svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.link-more:hover { color: var(--text); }
.link-more:hover svg { transform: translateY(2px); }

/* ---------- Cabecera ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 9, 24, 0.94);
}
.head-row { display: flex; align-items: center; gap: 12px; height: var(--head-h); }
.logo { display: inline-flex; flex: none; border-radius: 8px; }
.logo-svg { height: 28px; width: auto; }
.head-nav { margin-left: auto; }
.head-nav ul { display: flex; gap: 4px; }
.head-nav a {
  position: relative; display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text-2); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  transition: color 0.2s;
}
.head-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.head-nav a:hover { color: var(--text); }
.head-nav a:hover::after { transform: scaleX(1); }

.lang { position: relative; }
.lang summary {
  display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 10px;
  color: var(--text-2); font-size: 0.875rem; font-weight: 600; cursor: pointer; list-style: none;
  border: 1px solid var(--line); transition: color 0.2s, border-color 0.2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang summary svg:last-child { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }
.lang summary:hover { color: var(--text); border-color: var(--line-2); }
.lang[open] summary svg:last-child { transform: rotate(180deg); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  animation: pop 0.22s var(--ease);
}
.lang a {
  display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 8px;
  color: var(--text-2); text-decoration: none; font-size: 0.9375rem;
}
.lang a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.lang a[aria-current]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--kept-hi); }
.lang a[aria-current] { color: var(--text); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }

/* Barra de progreso de lectura: un cursor de reproducción sobre una línea de tiempo. */
.scrub { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.scrub i {
  position: absolute; left: 0; bottom: 0; width: 1px; height: 9px; background: var(--text);
  opacity: 0; transition: opacity 0.3s;
}
.scrub i::before {
  content: ""; position: absolute; left: -4px; top: -5px; border: 4.5px solid transparent; border-top: 5px solid var(--text);
}
.is-scrolled .scrub i { opacity: 0.9; }

/* ---------- Comunes de sección ---------- */
.sec { padding-block: clamp(64px, 8vw, 112px); }
.eyebrow, .marker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-3); font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase;
}
.marker .flag { width: 10px; height: 12px; color: var(--m, var(--kept)); }
.lead { color: var(--text-2); font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem); line-height: 1.6; }
h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); margin-top: 18px; }

/* Aparición de secciones (solo con JS y si se permite el movimiento) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal-side { transform: translateX(28px); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  /* El hero no se oculta nunca (no retrasa el LCP): solo sube un poco al cargar. */
  .rise { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
  @keyframes rise { from { transform: translateY(14px); } }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(24px, 4vw, 48px); }
.hero::before {
  /* Un único brillo de marca, detrás de la forma de onda */
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 4%; width: min(1100px, 120vw); height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(61, 68, 242, 0.22), rgba(142, 28, 240, 0.08) 55%, transparent);
  pointer-events: none;
}
.hero h1 {
  margin-top: 20px; max-width: 14ch;
  font-size: clamp(2.75rem, 1.2rem + 6.4vw, 6rem); line-height: 0.98; letter-spacing: -0.035em;
}
/* La palabra «silencio», marcada como un tramo que se va a quitar */
.cut-word { position: relative; z-index: 0; font-style: normal; white-space: nowrap; }
.cut-word::before {
  content: ""; position: absolute; z-index: -1; inset: 0.16em -0.07em 0.02em;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 83, 115, 0.26) 0 2px, transparent 2px 9px),
    rgba(255, 83, 115, 0.1);
  box-shadow: inset 0 3px 0 var(--cut);
  border-radius: 2px;
}
.hero-row { display: grid; gap: 28px; margin-top: 28px; align-items: end; }
.hero .lead { max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--text-3); font-size: 0.9375rem; }
.facts li { display: flex; align-items: center; gap: 9px; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--kept); transform: rotate(45deg); }
@media (min-width: 900px) {
  .hero-row { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
  .hero-cta { justify-content: flex-end; }
}

/* ---------- Forma de onda (hero) ---------- */
.wave {
  margin: clamp(36px, 4.5vw, 56px) 0 0; padding: clamp(14px, 2vw, 22px);
  background: linear-gradient(180deg, #17142c, #120f24);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.wave-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8125rem; color: var(--text-2); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; }
.lg-kept { background: var(--kept); }
.lg-cut { background: var(--cut-deep); }
.lg-thr { height: 2px !important; width: 12px !important; background: var(--thr); }
.readout { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.readout-seq { font-size: 0.75rem; color: var(--text-3); margin-bottom: 6px; }
.readout-time {
  font: 700 clamp(2.2rem, 1.4rem + 3vw, 3.6rem)/1 var(--f-body);
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
  min-width: 4.1ch; text-align: right;
}

.wave-area {
  position: relative; container-type: inline-size;
  height: clamp(150px, 19vw, 240px);
  background: #0c0a1a; border-radius: 10px; overflow: hidden;
}
.w-db span {
  position: absolute; left: 6px; z-index: 3; transform: translateY(-50%);
  padding: 1px 4px; border-radius: 3px; background: rgba(12, 10, 26, 0.8);
  font-size: 0.6875rem; color: var(--text-3); font-variant-numeric: tabular-nums;
}
.w-db span::after { content: ""; position: absolute; left: 0; width: 100cqw; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.04); z-index: -1; }
.w-noise, .w-seg { position: absolute; top: 0; height: 100%; overflow: visible; }
.w-noise { left: 0; width: 100%; }
.w-noise path { stroke: var(--cut-deep); stroke-width: 2.7; }
.w-seg path { stroke: var(--kept); stroke: url(#g-kept); stroke-width: 2.9; }
.w-defs { position: absolute; }
.w-cut {
  position: absolute; top: 0; height: 100%;
  background: repeating-linear-gradient(-45deg, rgba(255, 83, 115, 0.13) 0 1px, transparent 1px 7px), rgba(120, 25, 60, 0.28);
  box-shadow: inset 0 2px 0 var(--cut);
  transform-origin: left center;
}
.w-thr { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed var(--thr); z-index: 2; transform-origin: left center; }
.w-thr span {
  position: absolute; right: 6px; top: 0; transform: translateY(-50%);
  padding: 2px 7px; border-radius: 99px; background: var(--thr); color: #1d1606;
  font-size: 0.6875rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.w-ghost {
  position: absolute; top: 8%; bottom: 8%; left: calc(var(--keep) * 100%); right: 0;
  display: grid; place-items: center;
  border: 1.5px dashed rgba(255, 83, 115, 0.45); border-left: 0; border-radius: 0 10px 10px 0;
  opacity: 0;
}
.w-ghost span { font: 700 clamp(1.4rem, 1rem + 2.2vw, 2.6rem)/1 var(--f-body); color: var(--cut); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.w-playhead { position: absolute; z-index: 4; top: 0; bottom: 0; left: 0; width: 1.5px; background: #fff; opacity: 0; box-shadow: 0 0 12px rgba(255, 255, 255, 0.6); }
.w-playhead::before { content: ""; position: absolute; left: -5px; top: 0; border: 5.5px solid transparent; border-top: 7px solid #fff; }

.w-ruler { position: relative; height: 24px; margin-top: 6px; font-size: 0.75rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.w-ruler span { position: absolute; top: 4px; transform: translateX(-50%); white-space: nowrap; }
.w-ruler span:first-child { transform: none; }
.w-ruler-before span:last-child, .w-ruler .ghost-end { transform: translateX(-100%); }
.w-ruler-after { opacity: 0; }
.w-ruler-after .end { color: var(--text); font-weight: 600; }
.w-ruler-after .ghost-end { color: rgba(255, 83, 115, 0.7); text-decoration: line-through; }
@media (max-width: 640px) {
  .w-ruler .minor { display: none; }
  .w-db { display: none; }
  .readout { width: 100%; flex-direction: row; justify-content: space-between; align-items: baseline; }
  .readout-seq { margin: 0; }
  .keys li { grid-template-columns: 92px 1fr; gap: 12px; }
}

.wave-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 10px; }
.stats { display: flex; gap: clamp(18px, 4vw, 44px); margin: 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 0.8125rem; color: var(--text-3); }
.stats dd { margin: 0; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.st-cut dd { color: var(--cut); }

.seg-ctl { display: inline-flex; padding: 3px; border-radius: 11px; background: #0c0a1a; border: 1px solid var(--line); }
.seg-ctl[hidden] { display: none; }
.seg-ctl button {
  min-width: 84px; padding: 7px 14px; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  color: var(--text-2); font-size: 0.875rem; font-weight: 600; transition: color 0.2s, background-color 0.2s;
}
.seg-ctl button:hover { color: var(--text); }
.seg-ctl button[aria-pressed="true"] { background: #2a2647; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }

/* Estados animados. Sin JS (o con movimiento reducido) se ve el estado «analizado». */
.wave .w-seg, .wave .w-cut, .wave .w-thr, .wave .w-noise, .wave .w-ghost, .wave .w-ruler > div, .wave .w-thr span, .wave .stats { will-change: transform, opacity; }
.wave.is-raw .w-cut, .wave.is-raw .w-thr, .wave.is-raw .stats, .wave.is-scan:not(.is-scan-done) .stats { opacity: 0; }
.wave.is-cut .w-seg { transform: translateX(calc(var(--dx) * 1cqw)); }
.wave.is-cut .w-cut { transform: translateX(calc(var(--dx) * 1cqw)) scaleX(0); opacity: 0; }
.wave.is-cut .w-noise { opacity: 0; }
.wave.is-cut .w-thr { transform: scaleX(var(--keep)); }
.wave.is-cut .w-thr span { opacity: 0; }
.wave.is-cut .w-ghost { opacity: 1; }
.wave.is-cut .w-ruler-before { opacity: 0; }
.wave.is-cut .w-ruler-after { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .wave.is-anim .w-seg { transition: transform 1s var(--ease-io) calc(var(--t) * 0.28s); }
  .wave.is-anim .w-cut { transition: transform 1s var(--ease-io) calc(var(--t) * 0.28s), opacity 0.7s var(--ease-io) calc(var(--t) * 0.28s); }
  .wave.is-anim .w-noise, .wave.is-anim .w-thr span, .wave.is-anim .w-ruler > div { transition: opacity 0.6s var(--ease-io); }
  .wave.is-anim .w-thr { transition: transform 1.1s var(--ease-io), opacity 0.5s; }
  .wave.is-anim .w-ghost { transition: opacity 0.6s var(--ease) 0.7s; }
  .wave.is-anim.is-cut .w-ghost { transition-delay: 0.9s; }
  .wave.is-anim:not(.is-cut) .w-ghost { transition-delay: 0s; transition-duration: 0.25s; }
  .wave.is-anim .stats { transition: opacity 0.6s var(--ease); }
  /* Barrido de análisis: cada silencio se marca cuando el cursor pasa por él */
  .wave.is-scan .w-cut { transition: opacity 0.35s ease calc(var(--t) * 1.7s); }
  .wave.is-scan .w-playhead { opacity: 1; transform: translateX(100cqw); transition: transform 1.7s linear, opacity 0.2s; }
  .wave.is-scan-done .w-playhead { opacity: 0; transform: translateX(100cqw); transition: opacity 0.4s; }
}

/* ---------- Revisar (sección) ---------- */
.review-grid { display: grid; gap: 56px; align-items: center; }
.review-copy .lead { margin-top: 20px; max-width: 30em; }
.keys { margin-top: 36px; display: grid; gap: 4px; max-width: 32em; }
.keys li {
  position: relative; display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 16px;
  padding: 14px 16px; margin-inline: -16px; border-radius: 14px; color: var(--text-2);
  cursor: default;
}
.keys li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); opacity: 0; transition: opacity 0.25s;
}
.keys li.is-on { color: var(--text); }
.keys li.is-on::before { opacity: 1; }
.kbds { display: flex; gap: 6px; }
kbd {
  position: relative; display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 9px; background: linear-gradient(180deg, #2b2747, #211d38);
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 3px 0 #0d0b1c, inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--text); font: 600 0.875rem/1 var(--f-body); transition: transform 0.15s var(--ease);
}
kbd.wide { min-width: 84px; }
kbd svg { width: 15px; height: 15px; }
.keys li.is-on kbd { transform: translateY(2px); }
.keys li.is-on kbd:nth-child(2) { transition-delay: 0.08s; }

.dock {
  justify-self: center; width: min(100%, 400px); margin: 0;
  background: #1b1b1f; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.dock-tab {
  display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  background: #232327; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem; color: #d7d7dc;
}
.dock-tab svg { width: 12px; height: 12px; color: #9a9aa3; }
.dock-tab span { padding-bottom: 1px; box-shadow: inset 0 -2px 0 var(--kept); }
.shot { padding: 10px; }
.shot-in { position: relative; }
.shot img { border-radius: 4px; }
.spot {
  position: absolute; border-radius: 8px; pointer-events: none;
  box-shadow: 0 0 0 2px var(--thr), 0 0 0 6px rgba(247, 197, 72, 0.18), 0 0 24px 4px rgba(247, 197, 72, 0.35);
  opacity: 0; transform: scale(1.18); transition: opacity 0.25s, transform 0.35s var(--ease);
}
.spot.is-on { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .review-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(56px, 8vw, 120px); }
}

/* ---------- Cabeceras de sección en dos columnas ---------- */
.split-head { display: grid; gap: 20px; align-items: end; }
.split-head h2 { max-width: 15ch; }
.split-head .lead { max-width: 34em; }
@media (min-width: 900px) {
  .split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}

/* ---------- Cómo funciona ---------- */
.how { padding-top: clamp(56px, 7vw, 96px); }
.how h2 { max-width: 16ch; }
.steps { position: relative; display: grid; gap: 22px; margin: 44px 0 0; padding: 0; list-style: none; }
.steps::before {
  content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2);
  transform-origin: top;
}
.steps li { position: relative; padding-left: 46px; }
.steps p { color: var(--text-2); font-size: 1.0625rem; }
.steps strong { color: var(--text); font-weight: 650; }
.step-n {
  position: absolute; left: 0; top: 0; display: grid; place-items: start center;
  width: 23px; height: 28px; padding-top: 3px;
  background: var(--kept); color: #fff; font-size: 0.8125rem; font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%);
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .steps::before { left: 0; right: 0; top: 13px; bottom: auto; width: auto; height: 1px; transform-origin: left; }
  .steps li { padding: 46px 0 0; }
}
.how-fig { position: relative; margin: 52px 0 0; }
.win {
  background: #1b1b1f; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.how-result {
  position: relative; width: min(340px, 86%); margin: -36px auto 0; aspect-ratio: 380 / 330;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #1b1b1f;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9);
}
.how-result picture, .how-result img { width: 100%; height: 100%; }
.how-result img { object-fit: cover; object-position: 50% 100%; }
@media (min-width: 900px) {
  .how-fig { margin-bottom: 40px; }
  .how-result { position: absolute; right: clamp(-28px, -2vw, 0px); bottom: -56px; width: 300px; margin: 0; }
}

/* ---------- Ritmo ---------- */
.pace-box {
  margin-top: 44px; padding: clamp(16px, 2.4vw, 28px);
  background: linear-gradient(180deg, #17142c, #120f24); border: 1px solid var(--line); border-radius: 20px;
}
.pace-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 0.875rem;
}
.thr-chip { display: flex; align-items: center; gap: 10px; }
.thr-chip b { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.thr-chip .auto { padding: 2px 10px; border-radius: 99px; border: 1px solid rgba(247, 197, 72, 0.6); color: var(--thr); font-size: 0.8125rem; }
.pace-rows li, .pace-scale {
  display: grid; grid-template-columns: minmax(180px, 290px) minmax(0, 1fr) 150px; gap: 28px; align-items: center;
}
.pace-scale { padding-top: 14px; font-size: 0.75rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pace-scale .scale { display: flex; justify-content: space-between; }
.pace-scale b { font-weight: 500; }
.pace-rows li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pace-rows li:last-child { border-bottom: 0; }
.pace-name h3 { font: 650 1.0625rem/1.3 var(--f-body); letter-spacing: -0.01em; }
.pace-name p { margin-top: 2px; font-size: 0.9375rem; color: var(--text-2); line-height: 1.45; }
.pace-name .pace-fine { margin-top: 6px; font-size: 0.8125rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pace-bar {
  position: relative; height: 16px; border-radius: 4px; overflow: hidden;
  background: repeating-linear-gradient(-45deg, rgba(255, 83, 115, 0.2) 0 1px, transparent 1px 6px), rgba(120, 25, 60, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 83, 115, 0.25);
}
.pace-bar i {
  position: absolute; inset: 0; border-radius: 4px;
  background: linear-gradient(90deg, #4a52ef, #5b80ff 60%, #6f9bff);
  transform-origin: left center; transform: scaleX(var(--k));
}
.pace-num { display: flex; justify-content: flex-end; gap: 22px; margin: 0; }
.pace-num div { display: flex; flex-direction: column-reverse; align-items: flex-end; }
.pace-num dt { font-size: 0.75rem; color: var(--text-3); }
.pace-num dd { margin: 0; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pace-note { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.9375rem; }
.pace-note strong { color: var(--text); font-weight: 650; }
@media (max-width: 760px) {
  .pace-scale { display: none; }
  .pace-rows li { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; }
  .pace-bar { grid-column: 1 / -1; grid-row: 2; }
  .pace-num { gap: 16px; }
}

/* ---------- Varias pistas ---------- */
.mt { margin: 44px 0 0; }
.mt-grid {
  --lane: 52px;
  display: grid; grid-template-columns: 176px minmax(0, 1fr);
  background: #0c0a1a; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.mt-heads { display: grid; grid-template-rows: repeat(4, var(--lane)); background: var(--surface); border-right: 1px solid var(--line); }
.mt-h { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 0.8125rem; color: var(--text-2); }
.mt-h:last-child, .mt-lane:nth-child(4) { border-bottom: 0; }
.mt-h b { flex: none; display: grid; place-items: center; width: 28px; height: 22px; border-radius: 5px; background: #2a2647; color: var(--text); font-size: 0.75rem; }
.mt-h.is-on { background: rgba(91, 128, 255, 0.1); box-shadow: inset 2px 0 0 var(--kept); color: var(--text); }
.mt-h.is-on b { background: var(--kept); }
.mt-h span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-h em { margin-left: auto; font-style: normal; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--kept-hi); }
.mt-h em.mute { color: var(--text-3); }
.mt-lanes { position: relative; display: grid; grid-template-rows: repeat(4, var(--lane)); }
.mt-lane { position: relative; border-bottom: 1px solid var(--line); }
.mt-lane svg { position: absolute; left: 0; top: 7px; width: 100%; height: calc(100% - 14px); overflow: visible; }
.mt-lane path { stroke-width: 3px; vector-effect: non-scaling-stroke; }
.mt-a1 path.v { stroke: var(--kept); }
.mt-a1 path.c { stroke: var(--cut-deep); }
.mt-a2 path { stroke: #7f79ad; }
.mt-a3 .flat { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.mt-clip {
  position: absolute; inset: 8px 0; display: flex; align-items: center; padding-left: 10px;
  background: linear-gradient(180deg, #3f3a7a, #332f66); border-radius: 4px;
  color: rgba(255, 255, 255, 0.82); font-size: 0.75rem; white-space: nowrap; overflow: hidden;
}
.mt-cut {
  position: absolute; top: 0; bottom: 0; z-index: 1;
  background: repeating-linear-gradient(-45deg, rgba(255, 83, 115, 0.16) 0 1px, transparent 1px 7px), rgba(120, 25, 60, 0.3);
  box-shadow: inset 1.5px 0 0 var(--cut), inset -1.5px 0 0 var(--cut);
  transform-origin: top center;
}
.mt figcaption { margin-top: 14px; color: var(--text-3); font-size: 0.9375rem; }
@media (max-width: 640px) {
  .mt-grid { --lane: 44px; grid-template-columns: 76px minmax(0, 1fr); }
  .mt-h { padding: 0 8px; gap: 6px; font-size: 0.75rem; }
  .mt-h em, .mt-clip { font-size: 0; }
  .mt-h span { display: none; }
  .mt-lane path { stroke-width: 1.6px; }
}

/* ---------- Tres formas de aplicar ---------- */
.modes-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .modes-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); } }
.mode-pick { margin: 32px 0 0; padding: 0; border: 0; min-width: 0; }
.lbl, .mode-pick legend { padding: 0; margin-bottom: 10px; color: var(--text-3); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.seg { position: relative; display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 12px; background: #0c0a1a; border: 1px solid var(--line); }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.seg label {
  padding: 9px 16px; border-radius: 9px; cursor: pointer;
  color: var(--text-2); font-size: 0.9375rem; font-weight: 600; transition: color 0.2s, background-color 0.2s;
}
.seg label:hover { color: var(--text); }
.seg input:checked + label { background: #2a2647; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.seg input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.mode-list { display: grid; gap: 4px; margin: 20px 0 0; }
.mode-list div { padding: 12px 14px; margin-inline: -14px; border-radius: 12px; border: 1px solid transparent; color: var(--text-3); transition: color 0.25s, border-color 0.25s, background-color 0.25s; }
.mode-list dt { color: var(--text-2); font-weight: 650; }
.mode-list dd { margin: 2px 0 0; font-size: 0.9375rem; }
.mode-list [data-m="delete"],
.modes:has(#m-cut:checked) [data-m="cut"],
.modes:has(#m-markers:checked) [data-m="markers"] { color: var(--text-2); border-color: var(--line); background: rgba(255, 255, 255, 0.035); }
.modes:has(#m-cut:checked) .mode-list [data-m="delete"],
.modes:has(#m-markers:checked) .mode-list [data-m="delete"] { color: var(--text-3); border-color: transparent; background: transparent; }
.mode-list [data-m="delete"] dt,
.modes:has(#m-cut:checked) [data-m="cut"] dt,
.modes:has(#m-markers:checked) [data-m="markers"] dt { color: var(--text); }
.modes:has(#m-cut:checked) .mode-list [data-m="delete"] dt,
.modes:has(#m-markers:checked) .mode-list [data-m="delete"] dt { color: var(--text-2); }

.mode-fig { margin: 0; padding: clamp(14px, 2vw, 20px); background: #0c0a1a; border: 1px solid var(--line); border-radius: 18px; }
.md-area { position: relative; container-type: inline-size; padding-left: 0; }
.md-ruler {
  position: relative; height: 30px; border-bottom: 1px solid var(--line-2);
  font-size: 0.6875rem; color: var(--text-3); font-variant-numeric: tabular-nums;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc(100% / 28)) bottom / 100% 5px no-repeat;
}
.md-ruler span { position: absolute; top: 2px; transform: translateX(-50%); }
.md-ruler span:first-child { transform: none; }
.md-lane { position: relative; height: 54px; margin-top: 8px; }
.md-la { height: 64px; }
.md-tag {
  position: absolute; z-index: 3; left: 6px; top: 6px; padding: 1px 6px; border-radius: 4px;
  background: rgba(12, 10, 26, 0.75); color: var(--text-2); font-size: 0.6875rem; font-weight: 700;
}
.md-clip { position: absolute; top: 0; bottom: 0; transform-origin: left center; overflow: hidden; }
.md-lv .md-clip { background: linear-gradient(180deg, #3f3a7a, #332f66); }
.md-la .md-clip { background: #1a2350; }
.md-clip svg { position: absolute; left: 0; top: 6px; width: 100%; height: calc(100% - 12px); }
.md-clip path { stroke-width: 2.5px; vector-effect: non-scaling-stroke; stroke: var(--kept); }
.md-c path { stroke: #6a4f8f; }
.md-c::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 83, 115, 0.22) 0 1px, transparent 1px 7px), rgba(120, 25, 60, 0.55);
  box-shadow: inset 0 2px 0 var(--cut);
}
.md-v::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #0c0a1a; }
.md-razor {
  position: absolute; z-index: 2; top: 34px; bottom: -2px; width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.55); opacity: 0;
}
.md-mark { position: absolute; bottom: 0; height: 4px; background: var(--cut); border-radius: 2px 2px 0 0; opacity: 0; transform: translateY(-5px); }
.md-mark::before {
  content: ""; position: absolute; left: -1px; bottom: 3px; width: 10px; height: 12px; background: var(--cut);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 50% 100%, 0 66%);
}
.md-ghost {
  position: absolute; top: 38px; bottom: 0; left: calc(var(--keep) * 100%); right: 0;
  display: grid; place-items: center; border: 1.5px dashed rgba(255, 83, 115, 0.45); border-left: 0; border-radius: 0 10px 10px 0;
}
.md-ghost span { font: 700 clamp(1.1rem, 0.9rem + 1vw, 1.6rem)/1 var(--f-body); color: var(--cut); font-variant-numeric: tabular-nums; }
.md-status { display: grid; margin-top: 14px; font-size: 0.875rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.md-status span { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
.md-status [data-m="delete"],
.modes:has(#m-cut:checked) .md-status [data-m="cut"],
.modes:has(#m-markers:checked) .md-status [data-m="markers"] { opacity: 1; visibility: visible; transition: opacity 0.3s 0.15s, visibility 0s; }
.modes:has(#m-cut:checked) .md-status [data-m="delete"],
.modes:has(#m-markers:checked) .md-status [data-m="delete"] { opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0s 0.2s; }

/* Estado «Eliminar» (por defecto): los silencios se cierran y la voz se junta. */
.md-v { transform: translateX(calc(var(--dx) * 1cqw)); }
.md-c { transform: translateX(calc(var(--dx) * 1cqw)) scaleX(0); opacity: 0; }
/* «Solo cortar»: todo en su sitio y una línea de cuchilla en cada borde de silencio. */
.modes:has(#m-cut:checked, #m-markers:checked) .md-clip { transform: none; opacity: 1; }
.modes:has(#m-cut:checked, #m-markers:checked) .md-ghost { opacity: 0; }
.modes:has(#m-cut:checked, #m-markers:checked) .md-v::after { opacity: 0; }
.modes:has(#m-cut:checked) .md-razor { opacity: 1; }
/* «Marcadores»: ningún clip cambia; una marca roja sobre cada silencio. */
.modes:has(#m-markers:checked) .md-c::before { opacity: 0; }
.modes:has(#m-markers:checked) .md-lv .md-c { background: linear-gradient(180deg, #3f3a7a, #332f66); }
.modes:has(#m-markers:checked) .md-la .md-c { background: #1a2350; }
.modes:has(#m-markers:checked) .md-mark { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .md-clip { transition: transform 0.75s var(--ease-io), opacity 0.5s var(--ease-io); }
  .md-c::before, .md-v::after { transition: opacity 0.4s; }
  .md-razor { transition: opacity 0.3s 0.1s; }
  .md-mark { transition: opacity 0.3s, transform 0.4s var(--ease); }
  .md-ghost { transition: opacity 0.4s 0.4s; }
  .modes:has(#m-cut:checked, #m-markers:checked) .md-ghost { transition-delay: 0s; }
}
@media (max-width: 640px) {
  .md-lane { height: 44px; }
  .md-la { height: 52px; }
  .md-clip path { stroke-width: 1.6px; }
  .md-ruler span:nth-child(even) { display: none; }
}

.safe {
  display: grid; gap: 20px 48px; align-items: center; margin-top: clamp(48px, 6vw, 72px); padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, 0.02);
}
.safe h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); }
.safe-copy p { margin-top: 10px; color: var(--text-2); max-width: 34em; }
.safe-ui { padding: 18px 20px; border-radius: 14px; background: #1b1b1f; border: 1px solid rgba(255, 255, 255, 0.08); }
.safe-check { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.safe-check .box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--kept); color: #fff; }
.safe-check .ck { width: 15px; height: 15px; }
.safe-note { margin-top: 10px; color: var(--text-2); font-size: 0.875rem; }
@media (min-width: 900px) { .safe { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); } }

/* ---------- Qué cortar / privado ---------- */
.more { padding-top: 0; }
.more-grid { display: grid; gap: 64px; }
.more h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); max-width: 16ch; }
.more-item > p:not(.marker) { margin-top: 16px; color: var(--text-2); max-width: 32em; }
@media (min-width: 900px) {
  .more-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
  .more-item + .more-item { padding-left: clamp(40px, 6vw, 80px); margin-left: clamp(40px, 6vw, 80px); border-left: 1px solid var(--line); }
}
.scope-viz { display: grid; gap: 12px; margin-top: 28px; max-width: 460px; }
.scope-viz li { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 14px; font-size: 0.875rem; color: var(--text-2); }
.sv {
  position: relative; display: block; height: 24px; border-radius: 6px; border: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, rgba(180, 176, 210, 0.08) 0 1px, transparent 1px 10%), #0c0a1a;
}
.sv b { position: absolute; top: 4px; bottom: 4px; border-radius: 3px; background: linear-gradient(90deg, #4a52ef, #5b80ff); transform-origin: left center; }
.sv .io { box-shadow: -3px 0 0 -1px #e8e6f5, 3px 0 0 -1px #e8e6f5; }
.checks { margin-top: 24px; max-width: 460px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks .ck, .price-pts .ck { flex: none; width: 18px; height: 18px; color: var(--kept-hi); }

/* ---------- Idiomas ---------- */
.langs-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; margin-top: 44px; }
@media (min-width: 1000px) { .langs-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.langs-row figure { margin: 0; }
.lang-shot {
  aspect-ratio: 380 / 432; overflow: hidden; border-radius: 14px; background: #1b1b1f;
  border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s var(--ease);
}
.lang-shot picture, .lang-shot img { width: 100%; height: 100%; }
.lang-shot img { object-fit: cover; object-position: 50% 100%; }
.langs-row li:hover .lang-shot { transform: translateY(-4px); }
.langs-row figcaption { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; color: var(--text-2); }
.langs-row .is-current figcaption { color: var(--text); }
.langs-row .is-current figcaption::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--kept-hi); }

/* ---------- Precio ---------- */
.price-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "specs"; }
.price-head { grid-area: head; }
.price-head h2 { max-width: 12ch; }
@media (min-width: 900px) {
  .price-grid { grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: "head card" "specs card"; column-gap: clamp(56px, 8vw, 120px); align-items: start; }
}
.price-card {
  grid-area: card; position: relative; padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(180deg, #1e1a3a, #151229 70%); border: 1px solid var(--line-2); border-radius: 24px;
  box-shadow: 0 60px 110px -60px rgba(61, 68, 242, 0.65);
}
.price-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px; background: var(--grad); }
.price-name { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text-2); }
.mark-svg { width: 28px; height: 28px; border-radius: 7px; }
.price { margin-top: 18px; }
.amt { font: 700 clamp(3.5rem, 2.6rem + 3vw, 4.75rem)/1 var(--f-display); letter-spacing: -0.04em; }
.price-line { margin-top: 8px; color: var(--text-2); }
.price-pts { margin-top: 22px; }
.price-pts li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.price-card .btn-buy { display: flex; justify-content: center; width: 100%; margin-top: 22px; white-space: normal; text-align: center; }
.price-fine { margin-top: 12px; text-align: center; color: var(--text-3); font-size: 0.875rem; }
.price-fine + .price-fine { margin-top: 4px; }
.price-fine a, .faq a, .doc a, .faq-head a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(182, 178, 207, 0.5); }
.price-fine a:hover, .faq a:hover, .doc a:hover, .faq-head a:hover { color: var(--text); text-decoration-color: currentColor; }
.specs { grid-area: specs; display: grid; gap: 32px; }
@media (min-width: 640px) { .specs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.spec h3 { font: 650 1.0625rem/1.3 var(--f-body); letter-spacing: -0.01em; margin-bottom: 12px; }
.spec li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.9375rem; }
.spec li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 5px; height: 5px; border-radius: 1px; background: var(--kept); transform: rotate(45deg); }
.spec em { color: var(--text); font-style: normal; font-weight: 600; }
code { font: 500 0.9em/1 ui-monospace, "Cascadia Mono", Consolas, monospace; padding: 2px 6px; border-radius: 5px; background: var(--surface-2); color: var(--text); }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; gap: 36px; }
.faq-head p:not(.marker) { margin-top: 18px; color: var(--text-2); max-width: 26em; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 100px); }
  .faq-head { position: sticky; top: calc(var(--head-h) + 40px); align-self: start; }
}
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem; transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: #fff; }
.pm { flex: none; width: 18px; height: 18px; color: var(--text-3); transition: transform 0.3s var(--ease); }
.pm-v { transform-origin: center; transition: transform 0.3s var(--ease); }
.faq-list details[open] .pm-v { transform: scaleY(0); }
.faq-list details[open] .pm { color: var(--text); }
.faq-a { padding: 0 44px 22px 0; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .faq-list details[open] .faq-a { animation: faq-in 0.35s var(--ease); }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
}

/* ---------- Llamada final ---------- */
.cta {
  --wave-h: clamp(90px, 11vw, 150px);
  position: relative; isolation: isolate; overflow: hidden; text-align: center; border-top: 1px solid var(--line);
  padding-block: clamp(96px, 12vw, 150px) calc(var(--wave-h) + clamp(48px, 6vw, 72px));
}
.cta::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1000px, 130vw); height: 520px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(61, 68, 242, 0.2), rgba(142, 28, 240, 0.06) 60%, transparent);
}
.cta-wave {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; width: 100%; height: var(--wave-h); opacity: 0.3;
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent); mask-image: linear-gradient(to top, #000 20%, transparent);
}
.cta-wave path { stroke: var(--kept); stroke-width: 1.6px; vector-effect: non-scaling-stroke; }
.cta h2 { max-width: 18ch; margin: 0 auto; }
.cta p { margin-top: 18px; color: var(--text-2); font-size: 1.0625rem; }
.cta .btn-buy { margin-top: 32px; }

/* ---------- Páginas interiores: soporte, políticas, 404 ---------- */
.page-head { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 56px); }
.page-head h1 { margin-top: 16px; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.5rem); letter-spacing: -0.035em; }
.page-head .lead { margin-top: 18px; max-width: 36em; }
.contact-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; max-width: 820px; margin-top: 28px; padding: 16px 18px;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface);
}
.contact-box p { flex: 1 1 260px; color: var(--text-2); font-size: 0.9375rem; }
.btn-mail {
  display: inline-flex; align-items: center; gap: 0.55em; padding: 0.7em 1.05em; border-radius: 11px;
  background: #2a2647; border: 1px solid var(--line-2); color: var(--text); font-weight: 600; text-decoration: none;
  overflow-wrap: anywhere; transition: background-color 0.2s, transform 0.25s var(--ease);
}
.btn-mail svg { flex: none; width: 1.1em; height: 1.1em; }
.btn-mail:hover { background: #332e57; transform: translateY(-1px); }
.doc-grid { display: grid; gap: 32px; padding-bottom: clamp(72px, 9vw, 120px); }
@media (min-width: 1000px) { .doc-grid { grid-template-columns: 210px minmax(0, 1fr); gap: 64px; } }
.toc p { color: var(--text-3); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.toc ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text-2); font-size: 0.9375rem; text-decoration: none; border: 1px solid var(--line); }
.toc a:hover { color: var(--text); border-color: var(--line-2); }
@media (min-width: 1000px) {
  .toc { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; }
  .toc ul { display: grid; gap: 2px; }
  .toc a { border: 0; padding: 6px 0; }
}
.doc section { padding-block: 36px; border-top: 1px solid var(--line); }
.doc section:first-child { padding-top: 0; border-top: 0; }
.doc h2 { margin: 0; font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.2rem); }
.doc p, .doc ul, .doc ol { margin-top: 16px; color: var(--text-2); max-width: 44em; }
.doc strong { color: var(--text); font-weight: 650; }
.doc em { font-style: normal; color: var(--text); }
.num { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: s; }
.num li { position: relative; padding-left: 40px; counter-increment: s; }
.num li::before {
  content: counter(s); position: absolute; left: 0; top: 1px; display: grid; place-items: start center; width: 23px; height: 27px; padding-top: 3px;
  background: var(--kept); color: #fff; font-size: 0.8125rem; font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%);
}
.dots li { position: relative; padding-left: 22px; }
.dots li + li { margin-top: 8px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 5px; height: 5px; border-radius: 1px; background: var(--kept); transform: rotate(45deg); }
.doc .note { padding: 14px 16px; border-left: 3px solid var(--thr); border-radius: 0 10px 10px 0; background: rgba(247, 197, 72, 0.06); }
.doc kbd { min-width: 0; height: auto; padding: 2px 7px; border-radius: 6px; font-size: 0.8125rem; box-shadow: 0 2px 0 #0d0b1c; }
.with-shot { display: grid; gap: 32px; align-items: start; }
.with-shot .dock { width: min(100%, 320px); justify-self: start; }
@media (min-width: 900px) { .with-shot { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; } }

.legal { max-width: 46rem; padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.legal h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.5rem); letter-spacing: -0.03em; }
.legal .updated { margin-top: 14px; color: var(--text-3); font-size: 0.9375rem; }
.legal h2 { margin-top: 44px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }
.legal p, .legal ul { margin-top: 16px; color: var(--text-2); }
.legal ul { padding-left: 1.3em; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--kept-hi); }
.legal strong { color: var(--text); font-weight: 650; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(159, 182, 255, 0.6); overflow-wrap: anywhere; }
.legal a:hover { text-decoration-color: currentColor; }
.legal .tr-note { margin: 0 0 28px; padding: 12px 16px; border-left: 3px solid var(--thr); border-radius: 0 10px 10px 0; background: rgba(247, 197, 72, 0.06); font-size: 0.9375rem; }

.nf { display: grid; justify-items: center; gap: 18px; padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.nf-code { font: 700 clamp(5rem, 3rem + 8vw, 9rem)/1 var(--f-display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--cut); }
.nf h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.nf .lead { max-width: 30em; }
.nf-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.nf-langs a { display: block; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-weight: 600; }
.nf-langs a:hover { background: rgba(255, 255, 255, 0.05); }

/* ---------- Animaciones al aparecer (solo transform/opacity) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .steps:not(.is-in)::before { transform: scaleY(0); }
  .js .steps::before { transition: transform 1.2s var(--ease-io) 0.2s; }
  .js .steps:not(.is-in) .step-n { opacity: 0; transform: translateY(-6px); }
  .js .steps .step-n { transition: opacity 0.4s, transform 0.5s var(--ease); transition-delay: calc(0.35s + var(--i) * 0.3s); }
  .js .pace-rows:not(.is-in) .pace-bar i { transform: scaleX(1); }
  .js .pace-rows .pace-bar i { transition: transform 1.3s var(--ease-io) calc(0.35s + var(--i) * 0.14s); }
  .js .mt:not(.is-in) .mt-cut { transform: scaleY(0); }
  .js .mt .mt-cut { transition: transform 0.6s var(--ease-io) calc(0.4s + var(--t) * 1.1s); }
  .js .scope-viz:not(.is-in) .sv b { transform: scaleX(0); }
  .js .scope-viz .sv b { transition: transform 0.9s var(--ease-io) calc(0.3s + var(--i, 0) * 0.12s); }
}
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .js .steps:not(.is-in)::before { transform: scaleX(0); }
}

/* ---------- Menú en móvil ---------- */
.m-nav { display: none; position: relative; }
.m-nav summary {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  color: var(--text-2); cursor: pointer; list-style: none; transition: color 0.2s, border-color 0.2s;
}
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary svg { width: 18px; height: 18px; }
.m-nav summary:hover { color: var(--text); border-color: var(--line-2); }
.m-nav ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  animation: pop 0.22s var(--ease);
}
.m-nav a { display: block; padding: 11px 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; }
.m-nav a:hover, .m-nav a[aria-current] { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.head-nav a[aria-current] { color: var(--text); }

/* ---------- Sugerencia de idioma ---------- */
.lang-toast {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 440px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 14px 14px 18px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.8);
  animation: toast-in 0.45s var(--ease);
}
.lang-toast p { flex: 1 1 200px; font-size: 0.9375rem; color: var(--text); }
.lang-toast .go {
  padding: 8px 12px; border-radius: 9px; background: #2a2647; color: var(--text); font-weight: 600; font-size: 0.875rem; text-decoration: none;
  border: 1px solid var(--line-2);
}
.lang-toast .go:hover { background: #332e57; }
.lang-toast button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--text-2); cursor: pointer; }
.lang-toast button:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lang-toast button svg { width: 16px; height: 16px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Pie ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 40px 48px; color: var(--text-3); font-size: 0.875rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.foot-row .logo-svg { height: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .head-nav { display: none; }
  .lang { margin-left: auto; }
  .m-nav { display: block; }
  /* En móvil los dos menús se abren bajo la cabecera, pegados al margen derecho, para no salirse nunca de la pantalla. */
  .lang, .m-nav { position: static; }
  .lang ul, .m-nav ul { right: var(--gutter); width: min(300px, 100% - 2 * var(--gutter)); min-width: 0; }
}
@media (max-width: 480px) {
  .head-row { gap: 8px; }
  .logo-svg { height: 24px; }
  .lang summary span { display: none; }
  .lang summary { padding: 0 9px; }
  .btn-sm { padding-inline: 0.8em; }
}
/* Pantallas muy estrechas (320 px): en la cabecera, solo el icono del logotipo, para que quepa «Comprar – $6.99». */
@media (max-width: 370px) {
  .site-head .logo { width: 24px; overflow: hidden; border-radius: 6px; }
  .site-head .logo-svg { flex: none; max-width: none; }
}

/* ---------- Movimiento reducido: todo quieto y visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
