/* Páginas SEO de BOLITA (generadas por scripts/seo.mjs). Misma marca que la app:
   noche violeta, lila de acento, LED cian, metal. Sin JavaScript para pintar. */
:root {
  --bg: #15102b; --bg-deep: #0d0a1c; --surface: #211a40; --surface-2: #2b2352;
  --ink: #f6f3ff; --muted: #c4bce0; --faint: #9a92bd; --line: rgba(205,192,255,.16);
  --lila: #b79cff; --lila-strong: #8b66ff; --lila-ink: #1a1033; --led: #6fe6ff;
  --r: 22px; --sombra: 0 1px 0 rgba(255,255,255,.06) inset, 0 14px 34px rgba(5,2,20,.45);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.6 'Baloo 2', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--lila); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--led); outline-offset: 3px; border-radius: 6px; }
main, .top, footer { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.6vw, 58px); font-weight: 800; margin: 0 0 16px; }
h2 { font-size: clamp(25px, 3.4vw, 34px); font-weight: 800; margin: 56px 0 16px; }
h3 { font-size: 20px; margin: 22px 0 6px; }
h3 small { font-size: 14px; color: var(--faint); font-weight: 600; }
p, li { color: var(--muted); }
b { color: var(--ink); }
i { color: var(--led); font-style: normal; font-weight: 700; }

.top { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.marca { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; }
.migas { font-size: 14px; color: var(--faint); margin: 4px 0 18px; }
.migas a { color: var(--faint); }

.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--lila); color: var(--lila-ink); font-weight: 800; font-size: 18px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 28px rgba(183,156,255,.38), inset 0 -3px 0 rgba(26,16,51,.18);
  transition: transform .15s cubic-bezier(.22,1,.36,1), background-color .15s ease-out; }
.btn:hover { background: #c6b0ff; }
.btn:active { transform: scale(.97); }
.btn.chico { font-size: 15px; padding: 9px 16px; box-shadow: none; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 22px 0 0; }
.cta span { font-size: 14px; color: var(--faint); }

.hero { display: grid; gap: 24px; align-items: center; }
.intencion { font-size: 19px; max-width: 60ch; }
.hero-img { margin: 0; }
.hero-img img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--sombra); display: block; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr .95fr; } }

.tldr { margin: 32px 0 0; padding: 22px 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sombra), inset 0 0 0 1px rgba(183,156,255,.25); }
.tldr h2 { margin: 0 0 8px; font-size: 22px; }
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { margin: 6px 0; }
.tldr li::marker { color: var(--lila); }

.pasos { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: paso; }
.pasos li { counter-increment: paso; background: var(--surface); border-radius: var(--r); padding: 18px 20px 18px 66px; position: relative; box-shadow: var(--sombra); }
.pasos li::before { content: counter(paso); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lila); color: var(--lila-ink); font-weight: 800; }
.pasos h3 { margin: 4px 0 4px; }
.pasos p { margin: 0; }
@media (min-width: 900px) { .pasos { grid-template-columns: 1fr 1fr; } }

.tabla { overflow-x: auto; border-radius: var(--r); box-shadow: var(--sombra); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
caption { caption-side: bottom; text-align: left; padding: 12px 18px; color: var(--faint); font-size: 14px; }
th, td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--faint); font-size: 14px; font-weight: 700; }
tbody th { color: var(--ink); font-weight: 800; }
td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

.palabras { font-size: 15px; margin: 2px 0; }
.palabras span { color: var(--ink); }

details { background: var(--surface); border-radius: 16px; margin: 10px 0; box-shadow: var(--sombra); }
summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 20px; top: 12px; font-size: 26px; color: var(--lila); font-weight: 700; }
details[open] summary::after { content: '–'; }
summary h3 { margin: 0; font-size: 18px; color: var(--ink); }
details p { margin: 0; padding: 0 20px 18px; }

.final { text-align: center; margin: 64px 0 0; padding: 40px 20px; border-radius: 28px; background: radial-gradient(circle at 50% 0, #3a2876, var(--surface) 70%); box-shadow: var(--sombra); }
.final h2 { margin: 18px 0 0; }
.final .cta { justify-content: center; }

.cluster { margin: 48px 0 0; }
.cluster ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cluster a { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.cluster a:hover { box-shadow: inset 0 0 0 2px var(--lila); }

footer { padding-top: 40px; padding-bottom: 110px; font-size: 14px; color: var(--faint); }
footer p { color: var(--faint); }
footer a, .compartir { color: var(--faint); }
.compartir { background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* CTA fijo en móvil */
.cta-movil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--bg) 35%); display: none; }
.cta-movil .btn { width: 100%; }
@media (max-width: 760px) { .cta-movil { display: block; } }

/* La robot BOLITA en CSS (misma que en la app) */
.robot { --t: 120px; position: relative; display: inline-block; width: var(--t); height: var(--t); flex: none; }
.robot.mini { --t: 30px; }
.robot.grande { --t: 130px; }
.robot .cuerpo { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, #fff 0 4%, transparent 13%),
    linear-gradient(172deg, transparent 70%, rgba(255,255,255,.24) 71.5%, rgba(255,255,255,.05) 77%, transparent 82%),
    radial-gradient(circle at 70% 88%, rgba(183,156,255,.55), transparent 42%),
    radial-gradient(circle at 42% 36%, #e4ddf7 0%, #a99cd0 26%, #6d5fa0 56%, #2e2552 86%, #1d1638 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, calc(var(--t)*-.06) calc(var(--t)*-.08) calc(var(--t)*.18) rgba(20,10,50,.5) inset, 0 calc(var(--t)*.1) calc(var(--t)*.22) rgba(5,2,20,.5); }
.robot .antena { position: absolute; left: 50%; bottom: 96%; width: calc(var(--t)*.035); height: calc(var(--t)*.16); transform: translateX(-50%);
  background: linear-gradient(90deg, #8f84b3, #e4ddf7 50%, #8f84b3); border-radius: 99px; }
.robot .antena::after { content: ''; position: absolute; left: 50%; bottom: 88%; width: calc(var(--t)*.12); height: calc(var(--t)*.12); transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--lila) 40%, var(--lila-strong)); }
.robot .oreja { position: absolute; top: 38%; width: calc(var(--t)*.11); height: calc(var(--t)*.26); border-radius: calc(var(--t)*.05); background: linear-gradient(90deg, #4a3f70, #c9c1e2 45%, #6d5fa0); z-index: 1; }
.robot .oreja::after { content: ''; position: absolute; left: 30%; right: 30%; top: 22%; bottom: 22%; border-radius: 99px; background: var(--led); }
.robot .oreja.i { right: 93%; } .robot .oreja.d { left: 93%; }
.robot .ojo { position: absolute; top: 33%; width: calc(var(--t)*.13); height: calc(var(--t)*.2); border-radius: 99px; background: var(--led); box-shadow: 0 0 calc(var(--t)*.06) rgba(111,230,255,.55); z-index: 1; }
.robot .ojo::after { content: ''; position: absolute; width: 34%; height: 24%; border-radius: 50%; background: #fff; left: 18%; top: 14%; }
.robot .ojo.i { left: 29%; } .robot .ojo.d { right: 29%; }
.robot .boca { position: absolute; left: 50%; top: 59%; width: calc(var(--t)*.2); height: calc(var(--t)*.09); transform: translateX(-50%); z-index: 1;
  border: calc(var(--t)*.028) solid var(--led); border-top-color: transparent; border-left-color: transparent; border-right-color: transparent; border-radius: 0 0 99px 99px; }
.robot .mejilla { position: absolute; top: 55%; width: calc(var(--t)*.13); height: calc(var(--t)*.065); border-radius: 50%; background: var(--lila-strong); opacity: .8; filter: blur(calc(var(--t)*.012)); z-index: 1; }
.robot .mejilla.i { left: 17%; } .robot .mejilla.d { right: 17%; }
.robot.mini .antena, .robot.mini .oreja, .robot.mini .mejilla { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .final .robot { animation: flota 5s ease-in-out infinite; }
  @keyframes flota { 50% { transform: translateY(-8px); } }
}
