/* Sitio de promoción de CamaLeo (local, sin dependencias).
   Colores de Leo copiados de frontend/src/brand.css (bloque generado por
   scripts/brand/extract-leo-palette.mjs); scripts/check-site.mjs comprueba que
   sigan coincidiendo. Fuentes OFL incluidas (Poppins ExtraBold y DM Sans). */

@font-face { font-family: "Poppins ExtraBold"; src: url("../fonts/Poppins-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  /* @brand:start */
  --leo-violet: #7f29fc;
  --leo-blue: #2233fd;
  --leo-cyan: #00a8fd;
  --leo-ink: #03092f;
  /* @brand:end */
  --night: color-mix(in srgb, var(--leo-ink) 92%, var(--leo-blue));
  --night-2: color-mix(in srgb, var(--leo-ink) 80%, var(--leo-blue));
  --paper: #f3f2fd;
  --ink: #0c1140;
  --muted: #4a4f75;
  --on-night: #eef0ff;
  --on-night-muted: #b8bfe8;
  --violet-light: color-mix(in srgb, var(--leo-violet) 60%, #ffffff);
  --cyan-light: color-mix(in srgb, var(--leo-cyan) 70%, #ffffff);
  --gradient: linear-gradient(120deg, var(--leo-violet), var(--leo-blue) 60%, var(--leo-cyan));
  --font-display: "Poppins ExtraBold", "DM Sans", "Segoe UI", sans-serif;
  --font-ui: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; background: var(--night); color: var(--on-night); font: 400 16px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--leo-cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; border-radius: 10px; padding: 10px 14px; background: #ffffff; color: var(--ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.accent { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Apertura ------------------------------------------------------------------ */
.intro { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: #050b35; transition: opacity .7s ease, visibility .7s; }
.intro[hidden] { display: none; }
html.intro-pending .intro[hidden] { display: grid; }
html.intro-pending .intro-skip { visibility: hidden; }
html.intro-pending, html.intro-open { overflow: hidden; }
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro-video { width: 100%; height: 100%; object-fit: cover; }
.intro-skip {
  position: absolute; right: clamp(16px, 4vw, 40px); bottom: clamp(16px, 5vh, 44px);
  min-height: 46px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 0 22px;
  background: rgba(3, 9, 47, .55); color: #ffffff; font: 700 15px/1 var(--font-ui); cursor: pointer; backdrop-filter: blur(6px);
}
.intro-skip:hover { background: rgba(127, 41, 252, .55); }

/* --- Cabecera ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--leo-ink) 78%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--max); height: var(--header-h); margin: 0 auto; padding: 0 var(--gutter); }
.wordmark { color: #ffffff; font: 800 26px/1 var(--font-display); text-decoration: none; letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.site-nav a { position: relative; padding: 6px 0; color: var(--on-night); font-size: 15px; font-weight: 700; text-decoration: none; }
.site-nav a:not(.nav-cta)::after { position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--gradient); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:not(.nav-cta):hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav .nav-cta { border: 2px solid var(--leo-cyan); border-radius: 999px; padding: 9px 20px; }
.site-nav .nav-cta:hover { background: rgba(0, 168, 253, .14); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; background: transparent; color: #ffffff; cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; margin: 0 auto; border-radius: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
.menu-bars::before { transform: translateY(-6px); }
.menu-bars::after { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-2px) rotate(-45deg); }

/* --- Botones ------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px; padding: 0 28px; font: 700 17px/1 var(--font-ui); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { border: 0; background: linear-gradient(120deg, var(--leo-violet), color-mix(in srgb, var(--leo-violet) 50%, var(--leo-blue))); color: #ffffff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12) inset, 0 14px 34px -12px var(--leo-violet); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(255, 255, 255, .2) inset, 0 18px 38px -12px var(--leo-violet); }
.btn-ghost { border: 0; padding: 0 8px; background: transparent; color: #ffffff; }
.btn-ghost .play-ring { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--leo-violet); border-radius: 50%; }
.btn-ghost:hover .play-ring { background: rgba(127, 41, 252, .25); }

/* --- Portada ------------------------------------------------------------------- */
/* Fondo: degradados de la noche de Leo; curvas de luz y suelo en .hero-lights/.hero-floor. */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 75% at 78% 45%, color-mix(in srgb, var(--leo-violet) 34%, transparent), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, color-mix(in srgb, var(--leo-blue) 30%, transparent), transparent 70%),
    linear-gradient(180deg, #050b35 0%, var(--night) 55%, #0a1060 100%);
}
.hero-lights { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-lights path { fill: none; stroke-linecap: round; }
.hero-lights .halo { stroke-width: 46; opacity: .5; filter: url(#glow-wide); }
.hero-lights .glow { stroke-width: 11; opacity: 1; filter: url(#glow-near); }
.hero-lights .core { stroke: #f2f9ff; stroke-width: 2.4; opacity: .9; }
.hero-lights .spark { stroke: #ffffff; stroke-width: 3; stroke-dasharray: 70 930; opacity: 0; filter: url(#glow-near); }
.hero-lights .beam-3 .core, .hero-lights .beam-4 .core { opacity: .55; }
.hero-floor {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 190px;
  background:
    radial-gradient(32% 55% at 74% 100%, rgba(0, 168, 253, .55), transparent 70%),
    radial-gradient(60% 80% at 70% 100%, rgba(34, 51, 253, .45), transparent 75%),
    linear-gradient(180deg, transparent 0 72%, rgba(0, 168, 253, .08) 72%, rgba(10, 16, 96, .9) 100%);
}
.hero-floor::after { position: absolute; left: 0; right: 0; bottom: 52px; height: 2px; background: linear-gradient(90deg, transparent 5%, rgba(0, 168, 253, .55) 40%, #bfe9ff 72%, rgba(127, 41, 252, .6) 88%, transparent); filter: blur(.6px); box-shadow: 0 0 18px rgba(0, 168, 253, .8); content: ""; }

.hero-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 0 12px;
  max-width: var(--max); min-height: clamp(560px, calc(100vh - var(--header-h) - 40px), 700px); margin: 0 auto; padding: 8px var(--gutter) 0;
}
.hero-text { position: relative; z-index: 1; padding-bottom: 40px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; border: 1px solid rgba(0, 168, 253, .4); border-radius: 999px; padding: 5px 13px; background: rgba(3, 9, 47, .35); color: var(--cyan-light); font-size: 13.5px; font-weight: 700; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leo-cyan); box-shadow: 0 0 10px var(--leo-cyan); }
.hero h1 { color: #ffffff; font-size: clamp(38px, 5.9vw, 86px); line-height: 1.02; text-shadow: 0 4px 24px rgba(3, 9, 47, .55), 0 0 1px rgba(255, 255, 255, .4); }
.hero h1 .line { display: block; white-space: nowrap; }
/* El título recibe el foco al cerrar la apertura (para lectores de pantalla): no es
   un control, así que no muestra el anillo de foco como marco permanente. */
.hero h1:focus { outline: none; }
.hero-lead { max-width: 560px; margin-top: 18px; color: #dfe3ff; font-size: clamp(19px, 2vw, 27px); line-height: 1.35; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
/* Accesos rápidos RECORD → EDIT → LIVE (Live es función futura: lleva «En desarrollo»). */
.hero-flow { display: flex; align-items: center; max-width: 600px; margin-top: 22px; }
.flow-item {
  display: inline-flex; flex: none; align-items: center; gap: 10px; min-height: 48px; border: 1px solid rgba(0, 168, 253, .35); border-radius: 999px; padding: 5px 16px 5px 5px;
  background: linear-gradient(120deg, rgba(127, 41, 252, .22), rgba(3, 9, 47, .55)); color: #ffffff; text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.flow-item:hover { border-color: var(--leo-cyan); background: linear-gradient(120deg, rgba(127, 41, 252, .42), rgba(34, 51, 253, .3)); transform: translateY(-1px); }
.flow-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gradient); color: #ffffff; box-shadow: 0 0 14px rgba(127, 41, 252, .5); }
.flow-label { font: 800 14px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.flow-tag { border: 1px solid rgba(0, 168, 253, .55); border-radius: 999px; padding: 2px 8px; color: var(--cyan-light); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
/* Unión sutil entre accesos: línea con degradado y punta de flecha. */
.flow-link { position: relative; flex: 1 1 18px; min-width: 14px; max-width: 46px; height: 2px; margin: 0 6px; border-radius: 2px; background: linear-gradient(90deg, rgba(127, 41, 252, .7), var(--leo-cyan)); opacity: .8; }
.flow-link::after { position: absolute; right: -1px; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--leo-cyan); border-right: 2px solid var(--leo-cyan); content: ""; transform: translateY(-50%) rotate(45deg); }
.hero-leo { position: relative; z-index: 0; align-self: end; justify-self: start; width: 128%; max-width: 740px; margin: -36px 0 -18px -2%; }
.hero-leo img { width: 100%; height: auto; filter: drop-shadow(0 26px 40px rgba(3, 9, 47, .55)) drop-shadow(0 0 46px rgba(127, 41, 252, .45)) drop-shadow(0 0 22px rgba(0, 168, 253, .3)); }

@media (prefers-reduced-motion: no-preference) {
  .hero-lights .beam { animation: sway 14s ease-in-out infinite alternate; transform-box: view-box; }
  .hero-lights .beam-2 { animation-duration: 17s; animation-delay: -4s; }
  .hero-lights .beam-3 { animation-duration: 19s; animation-delay: -8s; }
  .hero-lights .spark { opacity: .9; animation: travel 7s linear infinite; }
  .hero-lights .beam-2 .spark { animation-duration: 9s; animation-delay: -3s; }
  .hero-lights .stars circle { animation: twinkle 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .hero-lights .stars circle:nth-child(2n) { animation-delay: -1.5s; animation-duration: 5s; }
  .hero-lights .stars circle:nth-child(3n) { animation-delay: -3s; }
}
@keyframes sway { from { transform: translateY(0); } to { transform: translateY(-14px); } }
@keyframes travel { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }

/* Entrada de la portada tras la apertura (solo con movimiento permitido). */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero.is-entering .hero-text > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  html.js .hero.is-entering .hero-text > :nth-child(2) { animation-delay: .08s; }
  html.js .hero.is-entering .hero-text > :nth-child(3) { animation-delay: .16s; }
  html.js .hero.is-entering .hero-text > :nth-child(4) { animation-delay: .24s; }
  html.js .hero.is-entering .hero-text > :nth-child(5) { animation-delay: .32s; }
  .flow-link { animation: flow 3s ease-in-out infinite; }
  html.js .hero.is-entering .hero-leo { animation: leo-in 1s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-leo img { animation: float 6s ease-in-out 1.2s infinite; }
}
@keyframes flow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes leo-in { from { opacity: 0; transform: translateX(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- Secciones ------------------------------------------------------------------ */
.section-inner { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter); }
.section-lead { max-width: 720px; margin: 14px auto 0; font-size: 17px; text-align: center; }
/* --- Piezas comunes ---------------------------------------------------------------- */
.kicker { color: var(--cyan-light); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.badge { display: inline-block; margin-bottom: 12px; border: 1.5px solid var(--leo-cyan); border-radius: 999px; padding: 5px 14px; color: var(--cyan-light); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mock-note { margin-top: 14px; color: var(--on-night-muted); font-size: 14px; }
.art-note { margin-top: 14px; color: var(--on-night-muted); font-size: 13.5px; text-align: center; }
.chip { display: inline-block; border-radius: 999px; padding: 3px 10px; background: color-mix(in srgb, var(--leo-cyan) 18%, #ffffff); color: #075a84; font: 700 12px/1.4 var(--font-ui); vertical-align: middle; }
.example-tag { position: absolute; top: -12px; left: 18px; border: 1px solid rgba(0, 168, 253, .55); border-radius: 999px; padding: 3px 10px; background: var(--leo-ink); color: var(--cyan-light); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.mock-button { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; border-radius: 999px; padding: 9px 18px; background: linear-gradient(120deg, var(--leo-violet), var(--leo-blue)); color: #ffffff; font-size: 14px; font-weight: 700; opacity: .85; cursor: default; }
.journey-head { max-width: 780px; margin: 0 auto; text-align: center; }
.journey-head h2 { margin-top: 8px; color: #ffffff; font-size: clamp(30px, 4.2vw, 52px); }
.journey-head .section-lead { margin-top: 12px; color: var(--on-night-muted); }

/* --- Recorrido 1 ----------------------------------------------------------------- */
.journey, .extras {
  background:
    radial-gradient(40% 40% at 85% 30%, color-mix(in srgb, var(--leo-violet) 22%, transparent), transparent 70%),
    radial-gradient(40% 40% at 10% 70%, color-mix(in srgb, var(--leo-blue) 24%, transparent), transparent 70%),
    var(--night);
}
.journey .section-inner { padding-bottom: 24px; }
.steps { margin-top: 30px; }
.step-tabs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.step-tabs::before { position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--leo-violet), var(--leo-blue), var(--leo-cyan)); opacity: .55; content: ""; }
.step-tab {
  position: relative; display: grid; justify-items: center; gap: 3px; min-width: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 12px 8px 14px;
  background: rgba(10, 16, 80, .75); color: var(--on-night); font: inherit; text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.step-tab:hover { border-color: rgba(127, 41, 252, .6); }
.step-num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 4px; border: 2px solid rgba(127, 41, 252, .7); border-radius: 50%; background: #141c6e; color: #ffffff; font: 800 15px/1 var(--font-display); }
.step-tab strong { font-size: 16px; line-height: 1.2; }
.step-tab small { color: var(--on-night-muted); font-size: 12.5px; line-height: 1.3; }
.step-tab[aria-selected="true"] { border-color: var(--leo-violet); background: linear-gradient(180deg, rgba(127, 41, 252, .45), rgba(34, 51, 253, .25)); box-shadow: 0 12px 30px -14px var(--leo-violet); }
.step-tab[aria-selected="true"] .step-num { border-color: transparent; background: var(--gradient); }
.step-stage {
  position: relative; margin-top: 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: clamp(18px, 2.6vw, 30px);
  background: radial-gradient(60% 90% at 30% 50%, rgba(127, 41, 252, .2), transparent 70%), rgba(6, 12, 60, .6);
}
.example-chip { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); border: 1px solid rgba(0, 168, 253, .5); border-radius: 999px; padding: 4px 14px; background: var(--leo-ink); color: var(--cyan-light); font-size: 13px; font-weight: 700; white-space: nowrap; }
.step-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(18px, 3vw, 40px); }
.step-panel[hidden] { display: none; }
.steps:not(.is-tabbed) .step-panel + .step-panel { margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 28px; }
/* Ilustraciones completas con transparencia: misma caja para todos los pasos (sin saltos
   al cambiar de pestaña); la de «Tu idea» (3:2) se encaja sin recortes. */
.step-visual { position: relative; display: block; aspect-ratio: 1672 / 941; }
.step-visual img { width: 100%; height: 100%; object-fit: contain; }
.step-copy h3 { color: #ffffff; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; }
.step-copy p { margin-top: 10px; color: #dfe3ff; font-size: 17px; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .steps.is-tabbed .step-panel:not([hidden]) { animation: rise .45s ease both; }
}

/* --- Herramientas complementarias (franja) ----------------------------------------- */
.extras-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 8px; }
.extra { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 10px 18px 10px 6px; background: rgba(10, 16, 80, .6); }
.extra picture { display: block; }
.extra img { width: 100%; height: auto; }
.extra h3 { color: #ffffff; font-size: 19px; }
.extra p { margin-top: 4px; color: #dfe3ff; font-size: 15px; line-height: 1.45; }
.extra small { display: block; margin-top: 6px; color: var(--on-night-muted); font-size: 13px; }

/* --- Recorrido 2: Live (concepto) ---------------------------------------------------- */
.live-journey { border-top: 1px solid rgba(255, 255, 255, .08); background: radial-gradient(50% 70% at 25% 50%, color-mix(in srgb, var(--leo-violet) 26%, transparent), transparent 70%), var(--night-2); }
.live-name { margin-top: 2px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font: 800 clamp(20px, 2.4vw, 28px)/1.2 var(--font-display); }
/* La ilustración ocupa todo el ancho, sin marco: solo un halo detrás (transparente). */
.live-panorama { position: relative; margin: 18px calc(-1 * clamp(0px, 2vw, 24px)) 0; }
.live-panorama::before { position: absolute; inset: 8% 6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(127, 41, 252, .35), transparent); filter: blur(30px); content: ""; }
.live-panorama picture { display: block; }
.live-panorama img { width: 100%; height: auto; }
.live-journey .section-inner { position: relative; isolation: isolate; }
.live-note { text-align: center; }
.live-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: live; }
.live-steps li { position: relative; display: grid; gap: 2px; padding-left: 48px; counter-increment: live; }
.live-steps li::before { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gradient); color: #ffffff; font: 800 15px/1 var(--font-display); content: counter(live); }
.live-steps strong { color: #ffffff; font-size: 17px; }
.live-steps span { color: var(--on-night-muted); font-size: 15px; }

/* --- Comunica con Leo ------------------------------------------------------------- */
.notify-flow { border-top: 1px solid rgba(255, 255, 255, .08); background: radial-gradient(50% 60% at 80% 40%, color-mix(in srgb, var(--leo-blue) 30%, transparent), transparent 70%), var(--night); }
.notify-art { max-width: 1000px; margin: 22px auto 0; }
.notify-art picture { display: block; }
.notify-art img { width: 100%; height: auto; }
.notify-art figcaption { margin-top: 6px; color: var(--on-night-muted); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-align: center; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.compare article { border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 18px 20px; background: rgba(10, 16, 80, .6); }
.compare h3 { color: #ffffff; font-size: 20px; }
.compare article > p:not(.compare-tag) { margin-top: 6px; color: #dfe3ff; font-size: 15px; line-height: 1.45; }
.compare-tag { display: inline-block; margin-bottom: 8px; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.compare-tag.is-test { background: color-mix(in srgb, var(--leo-cyan) 18%, #ffffff); color: #075a84; }
.compare-tag.is-dev { border: 1.5px solid var(--leo-cyan); color: var(--cyan-light); }
/* --- Creadores y cierre (una sola sección) ---------------------------------------- */
.creators {
  position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid rgba(255, 255, 255, .08); text-align: center;
  background:
    radial-gradient(45% 55% at 50% 100%, color-mix(in srgb, var(--leo-blue) 30%, transparent), transparent 75%),
    radial-gradient(40% 60% at 50% 0%, color-mix(in srgb, var(--leo-violet) 18%, transparent), transparent 70%),
    var(--leo-ink);
}
.creators-lights { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.creators-lights path { fill: none; stroke-width: 2.5; stroke-linecap: round; opacity: .8; filter: drop-shadow(0 0 6px rgba(0, 168, 253, .7)); }
.creators-lights path.thin { stroke-width: 1.4; opacity: .5; }
.creators-inner { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(40px, 5vw, 60px); }
.creators-kicker { display: inline-flex; align-items: center; gap: 14px; color: var(--cyan-light); font-size: clamp(12px, 1.3vw, 14px); font-weight: 700; letter-spacing: .45em; text-transform: uppercase; }
.creators-kicker::before, .creators-kicker::after { width: 40px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--leo-cyan)); content: ""; }
.creators-kicker::after { margin-left: -.45em; transform: scaleX(-1); }
.creators-word { margin-top: 4px; background: linear-gradient(100deg, #ffffff 35%, var(--cyan-light) 50%, #ffffff 65%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font: 800 clamp(44px, 6.4vw, 80px)/1 var(--font-display); letter-spacing: -.02em; }
.creators h2 { margin-top: 8px; color: #ffffff; font-size: clamp(28px, 4vw, 48px); }
.creators h2 .accent { background: linear-gradient(100deg, var(--violet-light), var(--leo-violet) 35%, var(--leo-blue) 70%, var(--leo-cyan)); -webkit-background-clip: text; background-clip: text; }
.creators .section-lead { margin-top: 10px; color: #dfe3ff; font-size: clamp(16px, 1.6vw, 19px); }
.creator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: clamp(16px, 2.4vw, 30px); max-width: 1000px; margin: 36px auto 0; padding: 0; list-style: none; }
.creator-card {
  position: relative; display: grid; justify-items: center; gap: 2px; border: 1.5px solid rgba(127, 41, 252, .55); border-radius: 24px; padding: 30px 18px 22px;
  background: linear-gradient(180deg, rgba(34, 40, 120, .55), rgba(10, 14, 64, .75)); box-shadow: inset 0 0 30px rgba(127, 41, 252, .12), 0 24px 50px -30px rgba(0, 0, 0, .9);
}
.creator-card.is-featured { padding: 34px 20px 26px; border-color: color-mix(in srgb, var(--leo-violet) 50%, var(--leo-cyan)); box-shadow: inset 0 0 36px rgba(0, 168, 253, .14), 0 0 32px rgba(34, 51, 253, .45), 0 24px 50px -30px rgba(0, 0, 0, .9); }
.creator-avatar { display: block; width: clamp(104px, 11vw, 132px); }
.creator-card.is-featured .creator-avatar { width: clamp(112px, 12vw, 144px); }
.creator-avatar img { width: 100%; height: auto; filter: drop-shadow(0 0 14px rgba(127, 41, 252, .45)); }
.creator-card strong { margin-top: 12px; color: #ffffff; font: 800 clamp(19px, 1.9vw, 24px)/1.2 var(--font-display); }
.creator-card.is-featured strong { font-size: clamp(21px, 2.1vw, 27px); }
.creator-card > span:not(.example-tag):not(.mock-button) { color: #cfd4f6; font-size: 15px; }
.creators .mock-button { justify-content: center; width: 100%; max-width: 280px; margin-top: 16px; padding: 12px 18px; background: linear-gradient(100deg, #a63cff, var(--leo-violet) 30%, var(--leo-blue) 75%, #2f7bff); font-size: 15px; opacity: 1; box-shadow: 0 10px 24px -12px var(--leo-violet); }
.creators .example-tag { top: -14px; left: 50%; transform: translateX(-50%); border: 1.5px solid rgba(127, 41, 252, .7); padding: 4px 14px; background: #0d1150; color: #ffffff; font-size: 13px; }
.creators .mock-note { margin-top: 26px; color: var(--on-night-muted); font-size: 13.5px; }
@media (prefers-reduced-motion: no-preference) {
  .creators-head.is-visible .creators-word { animation: shimmer 7s 1s linear infinite; }
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

.site-footer { border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px var(--gutter); background: var(--leo-ink); color: var(--on-night-muted); font-size: 14px; text-align: center; }
.site-footer p + p { margin-top: 4px; }

/* Aparición suave al desplazarse (solo con JavaScript y movimiento permitido). */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  html.js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* --- Adaptación ----------------------------------------------------------------- */
@media (max-width: 980px) {
  .step-panel, .compare, .extras-inner { grid-template-columns: minmax(0, 1fr); }
  .live-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extra { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 12px var(--gutter) 20px; background: var(--leo-ink); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 4px; font-size: 17px; }
  .site-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 12px; text-align: left; }
  .hero-leo { order: -1; justify-self: center; width: min(84%, 420px); margin: 0 0 4px; }
  .hero-text { padding-bottom: 56px; }
  .hero-floor { height: 120px; }
}
@media (max-width: 600px) {
  .creator-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 420px; margin-top: 30px; }
  /* Tarjetas apaisadas en móvil: avatar a la izquierda, texto y botón a la derecha. */
  .creator-card, .creator-card.is-featured { grid-template-columns: auto minmax(0, 1fr); justify-items: start; column-gap: 14px; row-gap: 0; padding: 22px 14px 14px; text-align: left; }
  .creator-card .creator-avatar, .creator-card.is-featured .creator-avatar { grid-row: 1 / span 3; align-self: center; width: 84px; }
  .creator-card strong, .creator-card.is-featured strong { margin-top: 0; font-size: 18px; }
  .creator-card > span:not(.example-tag):not(.mock-button) { font-size: 14px; line-height: 1.35; }
  .creators .mock-button { margin-top: 10px; padding: 9px 12px; font-size: 13.5px; }
  .creators-kicker::before, .creators-kicker::after { width: 22px; }
  .step-tabs { gap: 6px; }
  .step-tabs::before { top: 27px; }
  .step-tab { padding: 10px 2px 10px; border-radius: 12px; }
  .step-num { width: 30px; height: 30px; font-size: 13px; }
  .step-tab strong { font-size: 11.5px; overflow-wrap: anywhere; }
  .step-tab small { display: none; }
  .example-chip { font-size: 12px; }
  /* Accesos en columna (icono arriba) para que quepan los tres en 320 px. */
  .hero-flow { align-items: stretch; margin-top: 20px; }
  .flow-item { flex: 1 1 0; flex-direction: column; justify-content: flex-start; gap: 6px; min-width: 0; border-radius: 18px; padding: 10px 4px; }
  .flow-icon { width: 40px; height: 40px; }
  .flow-label { font-size: 13px; letter-spacing: .08em; }
  .flow-tag { padding: 1px 6px; font-size: 10.5px; }
  .flow-link { flex: 0 0 14px; align-self: flex-start; margin: 29px 4px 0; } /* a la altura del centro del icono */
  .extra { grid-template-columns: minmax(0, 1fr); padding: 6px 16px 16px; }
  .live-steps { grid-template-columns: minmax(0, 1fr); }
  .live-panorama { margin-left: -8px; margin-right: -8px; }
  .btn { width: 100%; }
  .btn-ghost { justify-content: flex-start; }
  }
