/* ZCAI en versión oscura con secciones claras · se carga después de zela.css
   El salto Suite (clara) → ZCAI (noche) se apoya en cambiar los tokens, no los componentes. */
.theme-dark {
  color-scheme: dark;
  --bg: #050b18; --surface: #0b1527; --ink: #eef3f9; --ink-2: #c9d4e2; --muted: #9fb0c4; --line: #1c2940;
  --violet: #a48bff; --teal: #2dd4bf;
  background: var(--bg); color: var(--ink);
}
.paper {
  color-scheme: light;
  --bg: #f7f6f2; --surface: #fff; --ink: #11202f; --ink-2: #2a3a4d; --muted: #56606e; --line: #e3e0d8;
  --violet: #6a4cf5; --teal: #0d9488;
  background: var(--bg); color: var(--ink);
  position: relative; border-radius: 36px; margin-inline: clamp(8px, 1.4vw, 20px);
}
.theme-dark .head { background: rgb(5 11 24 / 82%); border-bottom-color: rgb(255 255 255 / 7%); }
.theme-dark .head nav a { color: var(--ink-2); }
.theme-dark .head nav a.on { background: rgb(255 255 255 / 7%); color: #fff; }
.theme-dark .head__aside { border-left-color: var(--line); }
.theme-dark .head__menu { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 20%); }
.theme-dark .head__menu i { background: #fff; box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; }
.suite-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 10px; border-radius: 999px; background: #fff; font: 500 12.5px/1 var(--sans); color: #536074; }
.suite-pill img { height: 18px; width: auto; }
.theme-dark .hero::before { background: radial-gradient(closest-side, rgb(124 50 253 / 26%), transparent 70%), radial-gradient(closest-side at 30% 70%, rgb(0 214 229 / 12%), transparent 70%); }
.theme-dark .btn--sec { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 24%); }
.paper .btn--sec { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgb(10 20 36 / 16%); }
.theme-dark .badge { background: rgb(0 214 229 / 10%); color: var(--z-cyan); box-shadow: inset 0 0 0 1px rgb(0 214 229 / 25%); }
.paper .badge { background: var(--black); box-shadow: none; }
.theme-dark .card { box-shadow: none; }
.theme-dark .honest { background: rgb(164 139 255 / 8%); border-color: rgb(164 139 255 / 22%); color: #d9d2ff; }
.paper .honest { background: rgb(106 76 245 / 6%); border-color: rgb(106 76 245 / 18%); color: #2a2a5a; }
.theme-dark .shot { box-shadow: 0 50px 90px -40px rgb(0 0 0 / 85%), 0 0 0 1px rgb(255 255 255 / 10%); }
.paper .shot { box-shadow: 0 50px 90px -42px rgb(10 20 60 / 45%), 0 0 0 1px rgb(10 20 36 / 8%); }
.theme-dark .strip { background: #08101f; }
.theme-dark .step { box-shadow: none; }
.theme-dark .step__n { background: #0f1c33; }
.theme-dark .cmp__head > div:nth-child(2) { background: linear-gradient(90deg, #2a1470, #123a6e) !important; }
.theme-dark .cmp__row > div:nth-child(2) { background: rgb(164 139 255 / 7%); }
.theme-dark .foot { border-top: 1px solid var(--line); }
.tagpro { display: inline-flex; align-items: center; font: 700 10.5px/1 var(--sans); letter-spacing: .1em; padding: 5px 8px; border-radius: 6px; background: var(--btn); color: #fff; vertical-align: middle; margin-left: 8px; }
.tagfree { display: inline-flex; align-items: center; font: 700 10.5px/1 var(--sans); letter-spacing: .1em; padding: 5px 8px; border-radius: 6px; background: rgb(45 212 191 / 14%); color: var(--teal); box-shadow: inset 0 0 0 1px rgb(45 212 191 / 30%); vertical-align: middle; margin-left: 8px; }
.paper .tagfree { background: rgb(13 148 136 / 10%); }

.sg2 { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ben { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Planes */
.plans { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin-inline: auto; }
.plan { border-radius: 26px; padding: 34px 32px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.plan--free { background: #f7f6f2; color: #11202f; }
.plan--pro { background: radial-gradient(70% 60% at 100% 0%, rgb(124 50 253 / 38%), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgb(0 214 229 / 14%), transparent 70%), #0a0f22; color: var(--n-text); box-shadow: 0 0 0 1px rgb(164 139 255 / 30%), 0 40px 80px -40px rgb(124 50 253 / 50%); }
.plan__k { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #6a4cf5; }
.plan--pro .plan__k { color: var(--z-cyan); }
.plan h3 { font: 400 34px/1.1 var(--serif); }
.plan > p { font-size: 16px; color: #56606e; }
.plan--pro > p { color: var(--n-muted); }
.plan__price { display: flex; align-items: baseline; gap: 10px; padding-block: 14px; border-block: 1px solid rgb(10 20 36 / 10%); }
.plan--pro .plan__price { border-color: rgb(255 255 255 / 10%); }
.plan__price b { font: 400 40px/1 var(--serif); }
.plan__price span { font-size: 14px; color: #56606e; }
.plan--pro .plan__price span { color: var(--n-muted); }
.plan ul { display: grid; gap: 11px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { width: 18px; height: 18px; color: #0d9488; margin-top: 2px; }
.plan--pro li .ic { color: var(--z-cyan); }
.plan .btn { width: 100%; margin-top: auto; }
.plan__fine { font-size: 12.5px; color: #6b7480; text-align: center; }
.plan--pro .plan__fine { color: var(--n-muted); }
.plan .btn--sec { background: #fff; color: #11202f; box-shadow: inset 0 0 0 1.5px rgb(10 20 36 / 16%); }

/* Pro: beneficios */
.pro4 { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pro4 > div { padding: 28px 26px 0 0; }
.pro4 > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.pro4 .n { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--z-cyan); }
.paper .pro4 .n { color: var(--violet); }
.pro4 h3 { margin-top: 16px; font: 400 26px/1.15 var(--serif); }
.pro4 p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }

/* Reseñas (espacios reservados) */
.revs { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rev { border-radius: var(--r); padding: 28px; background: var(--surface); border: 1px dashed rgb(164 139 255 / 35%); display: grid; gap: 18px; }
.paper .rev { border-color: rgb(106 76 245 / 30%); }
.rev__q { font: 400 64px/0.6 var(--serif); color: var(--violet); height: 26px; }
.rev__lines { display: grid; gap: 9px; }
.rev__lines i { display: block; height: 10px; border-radius: 6px; background: rgb(255 255 255 / 8%); }
.paper .rev__lines i { background: rgb(10 20 36 / 7%); }
.rev__who { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.rev__who span:first-child { width: 40px; height: 40px; border-radius: 50%; background: rgb(255 255 255 / 8%); }
.paper .rev__who span:first-child { background: rgb(10 20 36 / 7%); }
.rev__who b { display: block; color: var(--ink); font-weight: 600; }
.rev__tag { justify-self: start; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: rgb(164 139 255 / 10%); color: var(--violet); }

/* Artículo publicado anotado */
.pub { position: relative; max-width: 1000px; margin: 56px auto 0; }
.pub__page { background: #fff; color: #1d2327; border-radius: 16px; overflow: hidden; }
.pub__hero { aspect-ratio: 21 / 8; width: 100%; object-fit: cover; }
.pub__body { padding: 34px 48px 40px; display: grid; gap: 14px; max-width: 760px; margin-inline: auto; }
.pub__body .k { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #00788f; }
.pub__body h4 { margin: 0; font: 700 36px/1.15 var(--serif); }
.pub__body .lead { font-size: 17px; color: #3c434a; }
.pub__toc { display: grid; gap: 6px; padding: 14px 18px; border-radius: 10px; background: #f6f7f7; font-size: 14.5px; color: #2a3a4d; }
.pub__toc b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #646970; }
.pub__body h5 { margin: 8px 0 0; font: 700 22px/1.25 var(--serif); }
.pub__body p { font-size: 15.5px; color: #3c434a; line-height: 1.65; }
.pub__cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: #11202f; color: #fff; font-size: 15px; }
.pub__cta span:last-child { font: 600 13.5px/1 var(--sans); background: var(--btn); padding: 10px 14px; border-radius: 999px; white-space: nowrap; }
.note { position: absolute; display: flex; align-items: center; gap: 10px; font: 600 13px/1.3 var(--sans); color: #fff; background: rgb(10 15 34 / 92%); padding: 10px 14px; border-radius: 999px; box-shadow: 0 0 0 1px rgb(0 214 229 / 35%), 0 14px 30px -12px rgb(0 0 0 / 60%); white-space: nowrap; }
.note i { width: 22px; height: 22px; border-radius: 50%; background: var(--btn); display: grid; place-items: center; font: 700 11px/1 var(--sans); font-style: normal; }

/* Flujo (landing) */
.flow { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.flow__s { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 12px; align-content: start; position: relative; }
.flow__s + .flow__s::before { content: ""; position: absolute; left: -17px; top: 44px; width: 17px; height: 1.5px; background: linear-gradient(90deg, var(--z-violet), var(--z-cyan)); }
.flow__n { font: 400 36px/1 var(--serif); color: var(--violet); }
.flow__s h3 { font: 600 18px/1.3 var(--sans); }
.flow__s p { font-size: 14.5px; color: var(--muted); }
.flow__ui { border-radius: 12px; background: var(--bg); border: 1px solid var(--line); padding: 12px; font-size: 13px; color: var(--ink-2); display: grid; gap: 8px; }
.flow__ui .r { flex-wrap: wrap; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.flow__ui .wbtn { padding: 7px 10px; font-size: 12px; border-radius: 999px; }
.crumb { font: 500 12.5px/1.4 var(--sans); color: var(--ink-2); }
.crumb b { color: var(--violet); }

/* Descarga */
.dl { margin-top: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.dl__box { position: relative; overflow: hidden; border-radius: 26px; padding: 34px; display: grid; gap: 18px; align-content: start; }
.dl__box--free { background: var(--surface); border: 1px solid var(--line); }
.dl__box--pro { background: radial-gradient(70% 60% at 100% 0%, rgb(124 50 253 / 38%), transparent 70%), #0a0f22; color: var(--n-text); box-shadow: 0 0 0 1px rgb(164 139 255 / 30%); }
.dl__file { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.dl__file .badge { width: 52px; height: 52px; border-radius: 14px; }
.dl__file b { display: block; font-size: 16px; }
.dl__file span { font-size: 13.5px; color: var(--muted); }
.dl__box h3 { font: 400 32px/1.1 var(--serif); }
.dl__box > p { color: var(--muted); }
.dl__box--pro > p { color: var(--n-muted); }
.dl__steps { counter-reset: s; display: grid; gap: 10px; font-size: 15.5px; }
.dl__steps li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; }
.dl__steps li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--sans); background: var(--bg); border: 1px solid var(--line); color: var(--ink); translate: 0 5px; }
.dl__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.dl__fine { font-size: 12.5px; color: var(--muted); }
.dl__box--pro .dl__fine { color: var(--n-muted); }
.dl__box--pro ul { display: grid; gap: 10px; font-size: 15.5px; }
.dl__box--pro li { display: flex; gap: 10px; }
.dl__box--pro .ic { width: 18px; height: 18px; color: var(--z-cyan); margin-top: 2px; }

/* Tabla Free / Pro */
.fp { margin-top: 44px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); max-width: 980px; margin-inline: auto; }
.fp__row { display: grid; grid-template-columns: 1.6fr .7fr .7fr; }
.fp__row + .fp__row { border-top: 1px solid var(--line); }
.fp__row > div { padding: 15px 22px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.fp__row > div:not(:first-child) { justify-content: center; }
.fp__row > div:nth-child(3) { background: rgb(106 76 245 / 5%); }
.fp__head > div { font: 700 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fp__head > div:nth-child(3) { background: var(--black) !important; color: #fff; }
.fp .ic { width: 18px; height: 18px; }
.fp .y { color: var(--violet); }
.fp .n { color: #b5bdc8; }
.fp small { font-size: 12px; color: var(--muted); }

@media (max-width: 1080px) {
  .plans, .dl { grid-template-columns: 1fr; }
  .pro4 { grid-template-columns: 1fr 1fr; }
  .pro4 > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .pro4 > div { padding-bottom: 28px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__s:nth-child(3)::before { display: none; }
  .revs, .sg2 { grid-template-columns: 1fr; }
  .ben { grid-template-columns: 1fr 1fr; }
  .note { display: none; }
}
@media (max-width: 760px) {
  .paper { border-radius: 26px; margin-inline: 8px; }
  .pro4, .flow, .ben { grid-template-columns: 1fr; }
  .pro4 > div, .pro4 > div + div { padding: 22px 0; border-left: 0; }
  .pro4 > div + div { border-top: 1px solid var(--line); }
  .flow__s + .flow__s::before { display: none; }
  .plan, .dl__box { padding: 26px 20px; }
  .pub__body { padding: 22px 18px 26px; }
  .pub__body h4 { font-size: 26px; }
  .pub__hero { aspect-ratio: 16 / 9; }
  .pub__cta { flex-direction: column; align-items: flex-start; }
  .fp__row { grid-template-columns: 1.4fr .6fr .6fr; }
  .fp__row > div { padding: 12px 10px; font-size: 13.5px; }
}

.theme-dark .band.dark { box-shadow: 0 0 0 1px rgb(255 255 255 / 7%); }
.card h3.d { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-ls); line-height: 1.15; }
.feat > div { min-width: 0; }
