/* ==========================================================================
   Recursos Worship — Programa de autores · landing (2026)
   Se carga después de css/styles.css y css/nav.css (mismo sistema que la home);
   aquí solo va lo propio de esta página. Todo plano: sin sombras, glows ni
   degradados. Acento: el morado de la home (no se redefine la paleta).
   --------------------------------------------------------------------------
   1. Base de la página
   2. Hero
   3. A quién buscamos + tira
   4. Cómo funciona (cuatro pasos animados)
   5. Regalías + calculadora
   6. Ventajas
   7. Tres mercados
   8. Qué publicamos
   9. Pagos
   10. Aplicación (formulario)
   11. CTA final
   12. Responsive
   13. Movimiento reducido
   ========================================================================== */

/* 1. Base ------------------------------------------------------------------ */
.au-page {
  --au-danger: #d92d20;
  --au-field: var(--surface);
  --au-card: var(--panel);
}
:root[data-theme="dark"] .au-page { --au-danger: #ff6b6b; --au-field: rgba(255, 255, 255, 0.06); --au-card: #1f1f1f; }
.au-page section[id] { scroll-margin-top: 96px; }
.au-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 2. Hero ------------------------------------------------------------------ */
.au-page .hero { min-height: clamp(600px, 84svh, 860px); border-radius: 0; }
/* Franja del lienzo en negro puro (pedido: sin la curva del hero y fondo negro) */
.au-page .hero-shell { background: #000; }
.au-title { max-width: 23ch; }
.au-hl { color: var(--accent-fg); white-space: nowrap; }
.au-hero .hero-proof { gap: 10px 24px; }
.au-langs { display: inline-flex; gap: 4px; margin-left: 2px; }
.au-langs b { display: inline-grid; place-items: center; height: 22px; padding: 0 7px; border-radius: 6px; background: var(--fill); color: var(--ink-2); font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; }

/* 3. Lienzo de creadores (propio de esta página) -----------------------------
   Una ventana de editor sobre la franja oscura: mesas de trabajo con piezas reales,
   cuadrícula de puntos y cursores multijugador con el nombre de cada perfil.
   Plano: bordes de 1 px, sin sombras. Posiciones en % (x y ancho sobre el ancho del
   lienzo, y sobre su alto); en móvil se usan --mx/--my/--mw y se ocultan las .is-desk. */
.au-canvas { padding: clamp(56px, 6vw, 96px) 0 clamp(64px, 7vw, 112px); color: #fff; }
.au-canvas-head { display: grid; justify-items: center; gap: 14px; text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.au-canvas-kicker { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.au-canvas-title { max-width: 24ch; font-size: clamp(30px, 3.2vw, 52px); font-weight: 650; line-height: 1.05; letter-spacing: -0.04em; color: #fff; text-wrap: balance; }
.au-canvas-title span { color: rgba(255, 255, 255, 0.5); }

.au-win {
  --win-bg: #15101b;
  position: relative;
  border-radius: 22px;
  background: var(--win-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  isolation: isolate;
}
.au-win-bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 16px; height: 50px; padding: 0 12px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.au-win-dots { display: inline-flex; gap: 7px; flex: none; }
.au-win-dots i { width: 11px; height: 11px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); }
.au-win-file { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 560; color: rgba(255, 255, 255, 0.86); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-win-file img { width: 16px; height: 16px; flex: none; }
.au-win-file em { font-style: normal; font-weight: 450; color: rgba(255, 255, 255, 0.45); }
.au-win-people { display: inline-flex; margin-left: auto; padding-left: 6px; flex: none; }
.au-win-people i {
  display: grid; place-items: center;
  width: 28px; height: 28px; margin-left: -6px;
  border-radius: 999px; border: 2px solid var(--win-bg);
  background: var(--c); color: var(--t, #fff);
  font-style: normal; font-size: 10.5px; font-weight: 650; letter-spacing: 0.01em;
}
.au-win-people i.is-you { background: #7c4dff; }
.au-win-publish { flex: none; display: inline-grid; place-items: center; height: 32px; padding: 0 14px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; transition: transform 0.15s var(--ease-ui), background-color 0.15s var(--ease-ui); }
.au-win-publish.is-press { transform: scale(0.93); background: var(--accent-hover); }

.au-board {
  position: relative;
  aspect-ratio: 2.4;
  background-color: #110c16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.3px);
  background-size: 22px 22px;
  background-position: 11px 11px;
}
.au-ab { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); margin: 0; }
.au-ab figcaption { position: absolute; left: 0; bottom: calc(100% + 6px); max-width: 100%; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; line-height: 1.2; color: rgba(255, 255, 255, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-ab-media { aspect-ratio: var(--ar); border-radius: 6px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.au-ab-media img, .au-ab-media video { width: 100%; height: 100%; object-fit: cover; }

/* Selección (una por cursor, del color de su cursor) */
.au-sel { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; border-radius: 6px; box-shadow: 0 0 0 1.5px var(--c); opacity: 0; transition: opacity 0.22s var(--ease-ui); }
.au-sel.is-on { opacity: 1; }
.au-sel i { position: absolute; width: 8px; height: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--c); }
.au-sel i:nth-child(1) { left: -4px; top: -4px; }
.au-sel i:nth-child(2) { right: -4px; top: -4px; }
.au-sel i:nth-child(3) { left: -4px; bottom: -4px; }
.au-sel i:nth-child(4) { right: -4px; bottom: -4px; }
.au-sel b { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); padding: 2px 7px; border-radius: 5px; background: var(--c); color: var(--t, #fff); font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; font-weight: 500; white-space: nowrap; }

/* Cursores multijugador */
.au-cur { position: absolute; left: 0; top: 0; z-index: 4; display: block; pointer-events: none; transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0); transition: transform 1.3s cubic-bezier(0.45, 0, 0.2, 1); will-change: transform; }
.au-cur.is-jump { transition: none; }
.au-cur svg { display: block; width: 20px; height: 22px; fill: var(--c); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.au-cur b { position: absolute; left: 15px; top: 19px; padding: 3px 8px; border-radius: 6px 10px 10px 10px; background: var(--c); color: var(--t, #fff); font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.au-cur.is-you b { padding: 3px 10px; font-weight: 650; }
.au-cur.is-flip b { left: auto; right: 6px; border-radius: 10px 6px 10px 10px; }
.au-cur.is-click svg { animation: auClick 0.32s var(--ease-ui); }
@keyframes auClick { 50% { transform: scale(0.82); } }

/* Aviso al publicar */
.au-pub-toast {
  position: absolute; right: 12px; top: 60px; z-index: 5;
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 8px 0 11px; border-radius: 10px;
  background: #fff; color: #141414;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translateY(-6px); filter: blur(4px);
  transition: opacity 0.35s var(--ease-quint), transform 0.35s var(--ease-quint), filter 0.35s var(--ease-quint);
}
.au-pub-toast .ico { color: var(--accent); }
.au-pub-toast em { display: inline-grid; place-items: center; height: 22px; padding: 0 6px; border-radius: 6px; background: #f1ecff; color: #4a22c4; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; font-style: normal; font-weight: 500; opacity: 0; transition: opacity 0.3s var(--ease-ui); }
.au-pub-toast.is-on { opacity: 1; transform: none; filter: none; }
.au-pub-toast.is-on em { opacity: 1; }
.au-pub-toast.is-on em:nth-of-type(2) { transition-delay: 0.25s; }
.au-pub-toast.is-on em:nth-of-type(3) { transition-delay: 0.5s; }

/* 4. Cómo funciona --------------------------------------------------------- */
.au-how .head { margin-bottom: clamp(32px, 4vw, 56px); }
.au-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); }
.au-step { display: grid; gap: 22px; align-content: start; }
.au-step-visual {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--r-xl);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
}
.au-step-copy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: center; padding: 0 4px; }
.au-step-num { grid-row: span 2; align-self: start; display: inline-grid; place-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; font-weight: 500; }
.au-step h3 { font-size: clamp(19px, 1.4vw, 21px); font-weight: 620; letter-spacing: -0.02em; line-height: 1.2; }
.au-step p { grid-column: 2; color: var(--muted); font-size: 15.5px; line-height: 1.5; max-width: 36ch; }

/* Tarjeta base de los cuatro pasos */
.au-card { position: relative; width: 84%; display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.au-card-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); padding-bottom: 4px; }
.au-card-head img { width: 20px; height: 20px; }
.au-card-head .ico { color: var(--accent-fg); }

/* Paso 1: se escribe el enlace del portafolio y se envía */
.au-apply-label { font-size: 12px; font-weight: 560; color: var(--muted); }
.au-apply-field { display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 12px; background: var(--surface); }
.au-apply-url { flex: 1; min-width: 0; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.au-apply-url b { color: var(--accent-fg); font-weight: 500; }
.au-apply-btn { display: grid; place-items: center; height: 38px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; }
.au-toast {
  position: absolute; left: 50%; bottom: -16px;
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 13px 0 10px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink);
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 6px);
}
.au-steps.is-live .au-apply-url { animation: auType 6s steps(28, end) infinite; }
.au-steps.is-live .au-apply-btn { animation: auPress 6s var(--ease-quint) infinite; }
.au-steps.is-live .au-toast { animation: auToast 6s var(--ease-quint) infinite; }
@keyframes auType { 0%, 6% { clip-path: inset(0 100% 0 0); } 36%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes auPress { 0%, 44% { transform: none; } 47% { transform: scale(0.95); } 51%, 100% { transform: none; } }
@keyframes auToast {
  0%, 50% { opacity: 0; transform: translate(-50%, 6px); filter: blur(4px); }
  58%, 90% { opacity: 1; transform: translate(-50%, 0); filter: none; }
  100% { opacity: 0; transform: translate(-50%, 0); filter: blur(4px); }
}

/* Paso 2: el portafolio se revisa pieza por pieza */
.au-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.au-review-grid i { position: relative; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; background: #171717; }
.au-review-grid img { width: 100%; height: 100%; object-fit: cover; }
.au-review-grid em {
  position: absolute; right: 6px; top: 6px; width: 20px; height: 20px; border-radius: 999px;
  background: var(--accent); opacity: 0; transform: scale(0.6);
}
.au-review-grid em::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.au-review-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 2px; }
.au-review-foot small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-review-ok { flex: none; display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 11.5px; font-weight: 600; opacity: 0; }
.au-steps.is-live .au-review-grid em { animation: auCheck 6.5s var(--ease-quint) infinite; }
.au-steps.is-live .au-review-grid i:nth-child(2) em { animation-delay: 0.35s; }
.au-steps.is-live .au-review-grid i:nth-child(3) em { animation-delay: 0.7s; }
.au-steps.is-live .au-review-grid i:nth-child(4) em { animation-delay: 1.05s; }
.au-steps.is-live .au-review-ok { animation: auFade 6.5s var(--ease-quint) infinite; }
@keyframes auCheck {
  0%, 10% { opacity: 0; transform: scale(0.6); }
  18%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: scale(0.8); }
}
@keyframes auFade {
  0%, 34% { opacity: 0; filter: blur(4px); }
  42%, 88% { opacity: 1; filter: none; }
  96%, 100% { opacity: 0; filter: blur(4px); }
}

/* Paso 3: el producto se publica en las tres tiendas */
.au-pub { gap: 8px; }
.au-pub-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.au-pub-item img { width: 64px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #171717; }
.au-pub-item b { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; }
.au-pub-item small { display: block; font-size: 11.5px; color: var(--muted); }
.au-pub-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 34px; padding: 0 8px; border-radius: 10px; background: var(--surface); }
.au-pub-row b { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.au-pub-row small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-pub-row i { font-style: normal; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--accent-fg); opacity: 0; }
.au-pub-row i::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.au-steps.is-live .au-pub-row i { animation: auPub 6s var(--ease-quint) infinite; }
.au-steps.is-live .au-pub-row:nth-of-type(3) i { animation-delay: 0.45s; }
.au-steps.is-live .au-pub-row:nth-of-type(4) i { animation-delay: 0.9s; }
.au-steps.is-live .au-pub-row { animation: auRow 6s var(--ease-quint) infinite; }
.au-steps.is-live .au-pub-row:nth-of-type(3) { animation-delay: 0.45s; }
.au-steps.is-live .au-pub-row:nth-of-type(4) { animation-delay: 0.9s; }
@keyframes auPub {
  0%, 12% { opacity: 0; transform: translateX(-4px); }
  20%, 86% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: none; }
}
@keyframes auRow {
  0%, 12% { background: var(--surface); }
  20%, 86% { background: var(--accent-soft); }
  94%, 100% { background: var(--surface); }
}

/* Paso 4: el reparto de cada venta y los métodos de pago */
.au-pay-split { position: relative; height: 12px; border-radius: 99px; background: var(--fill-hover); overflow: hidden; margin-top: 4px; }
.au-pay-split i { position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform-origin: left; transform: scaleX(0.85); }
.au-pay-legend { display: flex; justify-content: space-between; gap: 10px; }
.au-pay-legend b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.au-pay-legend span:first-child b { color: var(--accent-fg); }
.au-pay-legend span:last-child { text-align: right; }
.au-pay-legend small { display: block; font-size: 11.5px; color: var(--muted); }
.au-pay-methods { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.au-pay-methods span { display: inline-grid; place-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 560; }
.au-steps.is-live .au-pay-split i { animation: auGrow 6s var(--ease-quint) infinite; }
.au-steps.is-live .au-pay-methods span { animation: auMethod 6s var(--ease-quint) infinite; }
.au-steps.is-live .au-pay-methods span:nth-child(2) { animation-delay: 1.2s; }
.au-steps.is-live .au-pay-methods span:nth-child(3) { animation-delay: 2.4s; }
@keyframes auGrow { 0%, 4% { transform: scaleX(0); } 30%, 100% { transform: scaleX(0.85); } }
@keyframes auMethod {
  0%, 30% { background: var(--surface); color: var(--ink-2); }
  36%, 50% { background: var(--accent); color: #fff; }
  56%, 100% { background: var(--surface); color: var(--ink-2); }
}

/* 5. Regalías + calculadora ------------------------------------------------ */
.au-royalty-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.au-checks { display: grid; gap: 12px; }
.au-checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.au-checks .ico { margin-top: 2px; color: var(--accent-fg); }

.au-calc { display: grid; gap: 8px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--surface); }
.au-calc-kicker { font-size: 15px; font-weight: 560; color: var(--muted); }
.au-calc-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: clamp(56px, 6.4vw, 96px); font-weight: 650; line-height: 1; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.au-calc-total small { font-size: clamp(16px, 1.3vw, 19px); font-weight: 560; letter-spacing: -0.01em; color: var(--muted); }
.au-calc-sub { font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 18px; }

.au-range { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.au-range label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 540; color: var(--ink-2); }
.au-range output { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.au-range input[type="range"] {
  --pct: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer;
}
.au-range input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 99px;
  /* relleno sólido hasta el valor (una capa de imagen de un solo color; el color plano no puede ir en capas superiores) */
  background: linear-gradient(var(--accent), var(--accent)) 0 0 / var(--pct) 100% no-repeat, var(--fill-hover);
}
.au-range input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--fill-hover); }
.au-range input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--accent); }
.au-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -8px; border-radius: 999px;
  background: var(--panel); border: 2px solid var(--accent);
  transition: transform var(--t-ui) var(--ease-ui);
}
.au-range input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 999px; background: var(--panel); border: 2px solid var(--accent); }
.au-range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.au-range input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }

.au-calc-split { position: relative; height: 10px; margin-top: 10px; border-radius: 99px; background: var(--fill-hover); overflow: hidden; }
.au-calc-split i { position: absolute; inset: 0 15% 0 0; border-radius: inherit; background: var(--accent); }
.au-calc-facts { display: grid; margin: 4px 0 0; }
.au-calc-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.au-calc-facts dt { font-size: 15px; color: var(--muted); }
.au-calc-facts dd { margin: 0; font-size: clamp(20px, 1.7vw, 24px); font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.au-calc-facts dd.is-accent { color: var(--accent-fg); }
.au-calc-note { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* 6. Ventajas -------------------------------------------------------------- */
.au-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.au-benefit { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.au-benefit-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-fg); }
.au-benefit h3 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 620; letter-spacing: -0.02em; line-height: 1.2; }
.au-benefit p { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 40ch; }
.au-benefit.is-feature { background: var(--accent-deep); color: #fff; }
.au-benefit.is-feature .au-benefit-ico { background: rgba(255, 255, 255, 0.12); color: #fff; }
.au-benefit.is-feature p { color: rgba(255, 255, 255, 0.72); max-width: 26ch; }
.au-benefit-num { position: absolute; right: clamp(20px, 2vw, 32px); top: clamp(16px, 1.6vw, 26px); font-size: clamp(72px, 7vw, 112px); font-weight: 650; line-height: 1; letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.14); font-variant-numeric: tabular-nums; pointer-events: none; }
.au-benefit-num span { font-size: 0.45em; letter-spacing: -0.02em; }

/* 7. Tres mercados --------------------------------------------------------- */
.au-markets { padding-bottom: var(--space-lg); }
.au-market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); margin-top: clamp(40px, 5vw, 72px); }
.au-market { display: grid; gap: 8px; align-content: start; padding: clamp(22px, 2.2vw, 32px); border-radius: var(--r-xl); background: var(--surface); }
.au-market-code { justify-self: start; display: inline-grid; place-items: center; height: 30px; padding: 0 11px; margin-bottom: 8px; border-radius: 9px; background: var(--ink); color: var(--on-ink); font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.03em; }
.au-market h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 620; letter-spacing: -0.02em; line-height: 1.2; }
.au-market p { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 34ch; }
.au-market-url { margin-top: 6px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; color: var(--accent-fg); }
.au-stats { margin-top: clamp(48px, 6vw, 80px); }

/* 8. Qué publicamos -------------------------------------------------------- */
.au-publish { padding-top: 0; }
.au-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.au-type { display: grid; align-content: start; padding: 10px; border-radius: var(--r-lg); background: var(--surface); transition: background-color var(--t-ui); }
.au-type:hover { background: var(--surface-2); }
.au-type-media { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0d0d10; }
.au-type-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-quint); }
.au-type:hover .au-type-media video { transform: scale(1.03); }
.au-type-canva { display: flex; align-items: center; justify-content: center; gap: 4%; background: var(--surface-2); }
.au-type-canva img { flex: none; height: 74%; width: auto; border-radius: 8px; transition: transform 1s var(--ease-quint); }
.au-type-canva img:nth-child(2) { height: 54%; }
.au-type:hover .au-type-canva img:nth-child(1) { transform: translateY(-4px) rotate(-2deg); }
.au-type:hover .au-type-canva img:nth-child(3) { transform: translateY(-4px) rotate(2deg); }
.au-type-mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface-2); }
.au-type-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; transition: transform 1s var(--ease-quint); }
.au-type-mosaic img:first-child { grid-row: span 2; }
.au-type-mosaic img:last-child { display: none; }
.au-type:hover .au-type-mosaic img { transform: scale(1.02); }
.au-type-copy { display: grid; gap: 4px; padding: 14px 6px 6px; }
.au-type-copy h3 { font-size: 17px; font-weight: 620; letter-spacing: -0.015em; line-height: 1.25; }
.au-type-copy p { font-size: 14.5px; line-height: 1.45; color: var(--muted); }

/* 9. Pagos ----------------------------------------------------------------- */
.au-payouts .head { margin-bottom: clamp(32px, 4vw, 56px); }
.au-pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.au-payout { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-xl); background: var(--panel); }
.au-payout-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-fg); }
.au-payout-ico svg { width: 24px; height: 24px; }
.au-payout h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 620; letter-spacing: -0.02em; line-height: 1.2; }
.au-payout p { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 32ch; }

/* 10. Aplicación (formulario) ---------------------------------------------- */
.au-apply-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.au-apply-copy { display: grid; gap: 18px; position: sticky; top: 112px; }
.au-criteria { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.au-criteria-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.au-criteria ul { display: grid; gap: 16px; }
.au-criteria li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.au-criteria-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-fg); }
.au-criteria b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.au-criteria li > span:last-child { font-size: 15px; line-height: 1.45; color: var(--muted); }

.au-form-card { padding: clamp(22px, 2.6vw, 40px); border-radius: var(--r-xl); background: var(--au-card); box-shadow: inset 0 0 0 1px var(--line); }
.au-form-card [hidden] { display: none !important; }
.au-form-head { display: grid; gap: 6px; margin-bottom: 22px; }
.au-form-head h3 { font-size: clamp(21px, 1.7vw, 24px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
.au-form-head p { font-size: 14px; color: var(--muted); }

.au-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.au-field { display: grid; gap: 7px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.au-field.is-wide { grid-column: 1 / -1; }
.au-field > label, .au-field > legend { padding: 0; font-size: 14px; font-weight: 560; line-height: 1.35; color: var(--ink-2); }
.au-field > legend { margin-bottom: 9px; }
.au-opt { margin-left: 6px; font-size: 12.5px; font-weight: 450; color: var(--muted-2); }

.au-input {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid transparent; border-radius: 12px;
  background: var(--au-field); color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.3;
  outline: none;
  transition: border-color var(--t-ui), background-color var(--t-ui), box-shadow var(--t-ui);
}
.au-input::placeholder { color: var(--muted-2); }
.au-input:hover { border-color: var(--line-2); }
.au-input:focus, .au-input:focus-visible { outline: none; border-color: var(--accent); background: var(--au-card); box-shadow: inset 0 0 0 1px var(--accent); }
.au-input[aria-invalid="true"] { border-color: var(--au-danger); }
.au-input[aria-invalid="true"]:focus { box-shadow: inset 0 0 0 1px var(--au-danger); }
textarea.au-input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.au-hint { font-size: 13px; line-height: 1.4; color: var(--muted); }
.au-err { font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--au-danger); }

.au-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.au-chip { position: relative; display: inline-flex; }
.au-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.au-chip span {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--au-field); color: var(--ink-2);
  font-size: 14px; font-weight: 540; white-space: nowrap;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background-color var(--t-ui), color var(--t-ui), box-shadow var(--t-ui);
}
.au-chip:hover span { background: var(--fill-hover); }
.au-chip input:checked + span { background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent); }
.au-chip input:checked + span::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: url(/wp-content/plugins/recursos-worship-core/src/Modules/ThemeCanvas/site/assets/icons/presenter/icons__local-media__check.svg) center / contain no-repeat; mask: url(/wp-content/plugins/recursos-worship-core/src/Modules/ThemeCanvas/site/assets/icons/presenter/icons__local-media__check.svg) center / contain no-repeat; }
.au-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.au-check { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.au-check input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.au-box { position: relative; width: 22px; height: 22px; border-radius: 7px; background: var(--au-field); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color var(--t-ui), box-shadow var(--t-ui); }
.au-box::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); opacity: 0; transition: opacity var(--t-ui); }
.au-check input:checked + .au-box { background: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.au-check input:checked + .au-box::after { opacity: 1; }
.au-check input:focus-visible + .au-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.au-check input[aria-invalid="true"] + .au-box { box-shadow: inset 0 0 0 1.5px var(--au-danger); }
.au-check a { color: var(--accent-fg); text-decoration: underline; text-underline-offset: 2px; }

.au-alert { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--au-danger) 10%, transparent); color: var(--au-danger); font-size: 14px; line-height: 1.45; }
.au-alert span { display: block; margin-top: 2px; color: var(--ink-2); }
.au-alert a { color: var(--accent-fg); text-decoration: underline; text-underline-offset: 2px; }

.au-form-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.au-submit { min-width: 220px; }
.au-submit[aria-disabled="true"] { cursor: progress; opacity: 0.75; }
.au-submit.is-loading::before { content: ""; width: 15px; height: 15px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: auSpin 0.8s linear infinite; }
@keyframes auSpin { to { transform: rotate(360deg); } }

.au-done { display: grid; justify-items: center; gap: 14px; padding: clamp(20px, 3vw, 44px) 8px; text-align: center; outline: none; animation: supportingReveal 0.6s var(--ease-quint) both; }
.au-done-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-fg); }
.au-done h3 { font-size: clamp(24px, 2vw, 30px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
.au-done > p { max-width: 44ch; font-size: 16px; line-height: 1.5; color: var(--muted); }
.au-done-ref { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; font-weight: 500; }
.au-done .btn-row { margin-top: 8px; }

/* 11. CTA final ------------------------------------------------------------ */
.au-cta-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.au-cta-facts li { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.86); font-size: 14px; font-weight: 540; }

/* 12. Responsive ----------------------------------------------------------- */
@media (max-width: 1200px) {
  .au-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
  .au-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-type-mosaic img:last-child { display: block; }
  .au-type-mosaic { grid-template-columns: 1fr 1fr; }
  .au-type-mosaic img:first-child { grid-row: auto; }
}
@media (max-width: 900px) {
  .au-win-file em { display: none; }
  .au-steps { grid-template-columns: 1fr; max-width: 560px; }
  .au-royalty-grid, .au-apply-grid { grid-template-columns: 1fr; }
  .au-apply-copy { position: static; }
  .au-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-market-grid, .au-pay-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .au-pay-grid { max-width: 640px; }
}
/* Lienzo en móvil: más alto que ancho, cinco piezas y tres cursores */
@media (max-width: 700px) {
  .au-board { aspect-ratio: 0.75; background-size: 18px 18px; background-position: 9px 9px; }
  .au-ab { left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); width: calc(var(--mw) * 1%); }
  .au-ab.is-desk, .au-cur.is-desk { display: none; }
  .au-ab figcaption { font-size: 10px; }
  .au-win { border-radius: 18px; }
  .au-win-bar { gap: 10px; height: 46px; padding: 0 8px 0 14px; }
  .au-win-dots, .au-win-file { display: none; }
  .au-win-people { margin-left: 0; padding-left: 6px; }
  .au-win-publish { margin-left: auto; }
  .au-cur b { font-size: 11px; }
  .au-pub-toast { top: 54px; right: 8px; }
}
@media (max-width: 560px) {
  .au-title { max-width: none; }
  .au-hl { white-space: normal; }
  .au-hero .hero-proof { gap: 10px 16px; }
  .au-benefit-grid { grid-template-columns: 1fr; }
  .au-types { grid-template-columns: 1fr; gap: 10px; }
  .au-type { padding: 8px; border-radius: 20px; }
  .au-type-media { border-radius: 13px; }
  .au-type-copy { padding: 12px 4px 4px; }
  .au-card { width: 88%; }
  .au-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .au-form-card { padding: 20px 16px; border-radius: 24px; }
  .au-submit { width: 100%; min-width: 0; }
  .au-calc-facts div { gap: 10px; }
  .au-stats .stat:nth-child(3) { padding-left: 0; }
  .au-done .btn-row .btn { width: 100%; }
}

/* 13. Movimiento reducido -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .au-steps .au-toast { opacity: 1; transform: translate(-50%, 0); }
  .au-steps .au-review-grid em, .au-steps .au-review-ok, .au-steps .au-pub-row i { opacity: 1; transform: none; }
  .au-steps.is-live *, .au-steps.is-live *::after { animation: none !important; }
  .au-done { animation: none; }
}

/* Cifra en palabra («Miles», «Thousands», «Milhares»): más chica que los números, misma altura de fila */
.au-stats .stat-num.au-stat-word { font-size: clamp(28px, 2.9vw, 44px); letter-spacing: -0.035em; padding-top: calc(clamp(40px, 4.4vw, 64px) - clamp(28px, 2.9vw, 44px)); }
