:root {
  --bg: #070a10;
  --panel: #0d131d;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3f6fa;
  --muted: #9aa7b8;
  --faint: #6f7c8e;
  --green: #22c55e;
  --green-soft: #86e0b0;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 700px 420px at 50% 0%, rgba(34, 197, 94, 0.10), transparent 70%),
    radial-gradient(ellipse 900px 600px at 50% 30%, rgba(22, 44, 74, 0.55), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  color: var(--text);
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Página principal */
.wrap {
  max-width: 480px; margin: 0 auto; padding: 56px 16px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.avatar {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--green);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12), 0 12px 40px rgba(0, 0, 0, 0.5);
}
.eyebrow {
  margin: 24px 0 8px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--green-soft);
}
h1 { margin: 0; font-size: 44px; font-weight: 700; letter-spacing: 0.04em; line-height: 1; }
h1 span { color: var(--green); }
.tag { margin: 12px 0 0; font-size: 19px; color: var(--muted); }
.tag b { color: var(--text); font-weight: 600; }

.links { width: 100%; margin-top: 32px; display: grid; gap: 12px; }
.link {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border-radius: 14px; background: var(--panel); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; text-align: left;
  transition: border-color 0.15s, transform 0.15s;
}
.link:hover { border-color: rgba(34, 197, 94, 0.6); transform: translateY(-1px); }
.link svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.link svg.yt { fill: #ff3b3b; }
.link svg.ig { fill: none; stroke: #f0568a; stroke-width: 2; }
.link .t { display: flex; flex-direction: column; }
.link strong { font-size: 17px; font-weight: 600; }
.link small { font-size: 14px; color: var(--muted); }
.link .arrow { margin-left: auto; color: var(--muted); }
.link.primary {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.06));
  border-color: rgba(34, 197, 94, 0.45);
}

.disclaimer { margin: 36px 0 0; max-width: 400px; font-size: 13px; line-height: 1.5; color: var(--faint); }
footer { margin-top: 14px; font-size: 13px; color: var(--faint); }
footer a, .disclaimer a { color: var(--muted); }

/* Páginas legales */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 16px 64px; line-height: 1.65; color: #d5dde8; }
.doc .back { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; font-size: 15px; }
.doc h1 { font-size: 34px; letter-spacing: 0.01em; line-height: 1.15; margin-bottom: 6px; }
.doc .meta { margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.doc h2 { margin: 32px 0 8px; font-size: 20px; color: var(--text); }
.doc a { color: var(--green-soft); overflow-wrap: anywhere; }
.doc ul { padding-left: 20px; }

/* Páginas de contenido: Indicadores y EA */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 10, 16, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { max-width: 1040px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 20px; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: 0.08em; white-space: nowrap; }
.brand span { color: var(--green); }
.topnav { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
.topnav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--text); }

.page { max-width: 1040px; margin: 0 auto; padding: 0 16px 48px; }
.hero { padding: 64px 0 44px; max-width: 720px; }
.pill {
  display: inline-block; margin: 0; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.08);
  color: var(--green-soft); font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero h1 { margin: 18px 0 14px; font-size: clamp(38px, 7vw, 58px); font-weight: 700; line-height: 1.04; letter-spacing: 0.01em; }
.hero h1 span { color: var(--green); }
.lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--muted); }
.lead b { color: var(--text); font-weight: 600; }
.principles { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.principles li, .checklist li { display: flex; gap: 9px; }
.principles li { align-items: center; font-size: 16px; font-weight: 500; }
.principles svg, .checklist svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.group { margin-top: 8px; padding: 40px 0 36px; border-top: 1px solid var(--line); }
.group-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 22px; }
.group-num { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; color: var(--green); }
.group h2 { margin: 0; font-size: 28px; font-weight: 600; }
.platform { font-size: 16px; color: var(--faint); }

.tool {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px;
  padding: 30px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
}
.tags { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); font-size: 13px; color: var(--muted); }
.tool h3 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.1; }
.tool .sub { margin: 6px 0 18px; font-size: 18px; color: var(--green-soft); }
.tool-main p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: #d5dde8; }
.tool .tier-note {
  margin: 20px 0 24px; padding: 12px 14px; border-left: 3px solid var(--green); border-radius: 0 8px 8px 0;
  background: rgba(34, 197, 94, 0.06); font-size: 15px;
}
.tier-note strong { color: var(--text); font-weight: 600; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--green); color: #04130a; transition: background 0.15s; }
.btn-primary:hover { background: #3ad672; }
.btn-note { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--faint); }

.side-title { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.conds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cond { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.cond .k { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--green); }
.cond b { display: block; margin: 3px 0 4px; font-size: 16px; font-weight: 600; }
.cond span:not(.k) { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); }
.credits { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--faint); }

.soon { margin: 0; padding: 20px 22px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, 0.14); color: var(--muted); font-size: 16px; }

.before { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px; }
.before-intro { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { font-size: 16px; line-height: 1.55; color: #d5dde8; }
.checklist svg { margin-top: 3px; }

.page-foot { padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--faint); }
.page-foot p { margin: 0 0 10px; max-width: 780px; }
.page-foot a { color: var(--muted); }
.page-foot strong { color: var(--muted); }

@media (max-width: 820px) {
  .tool { grid-template-columns: 1fr; gap: 28px; padding: 22px 18px; }
  .before { grid-template-columns: 1fr; gap: 18px; }
  .hero { padding: 44px 0 36px; }
}
@media (max-width: 520px) {
  .conds { grid-template-columns: 1fr; }
  .topnav { gap: 14px; font-size: 14px; }
  .brand { font-size: 15px; }
  .tool h3 { font-size: 28px; }
}
.link svg.tool-ic { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Inicio (secciones, barra con menú y pie compartidos) */
html { scroll-padding-top: 76px; scroll-behavior: smooth; }
.in { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Barra superior: botón YouTube y menú del celular */
.topbar .btn-yt { margin-left: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(34, 197, 94, 0.5); color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.topbar .btn-yt:hover { background: rgba(34, 197, 94, 0.1); }
.topnav { align-items: center; }
.mnav { display: none; margin-left: auto; position: relative; }
.mnav summary { list-style: none; cursor: pointer; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; color: var(--text); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { border-color: rgba(34, 197, 94, 0.5); }
.mnav .panel { position: absolute; right: 0; top: calc(100% + 8px); width: 230px; padding: 8px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); display: grid; }
.mnav .panel a { padding: 11px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 16px; }
.mnav .panel a:hover { background: rgba(255, 255, 255, 0.04); }
.mnav .socials { display: flex; gap: 14px; padding: 12px 12px 6px; border-top: 1px solid var(--line); margin-top: 6px; }

/* Portada */
.home-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: center; padding: 72px 0 64px; }
.home-hero h1 { margin: 18px 0 16px; font-size: clamp(38px, 6.2vw, 60px); font-weight: 700; line-height: 1.04; letter-spacing: 0.005em; }
.home-hero h1 span { color: var(--green); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.18); color: var(--text); }
.btn-ghost:hover { border-color: rgba(34, 197, 94, 0.6); }
.portrait { position: relative; justify-self: end; width: 100%; max-width: 340px; margin: 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 1px solid rgba(34, 197, 94, 0.45); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.06), 0 30px 60px rgba(0, 0, 0, 0.55); }
.portrait figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 10px; background: rgba(7, 10, 16, 0.85); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.portrait figcaption b { color: var(--text); font-weight: 600; }

/* Secciones */
.sec { padding: 72px 0; }
.band { background: rgba(13, 19, 29, 0.72); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow-s { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); }
.sec h2 { margin: 0; font-size: clamp(28px, 4vw, 38px); font-weight: 700; line-height: 1.12; }
.sec-lead { margin: 12px 0 0; max-width: 640px; font-size: 18px; line-height: 1.55; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.step { padding: 26px 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.step .n { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--green); }
.step h3 { margin: 10px 0 10px; font-size: 22px; font-weight: 700; }
.step p { margin: 0; font-size: 16px; line-height: 1.6; color: #d5dde8; }
.step .foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--green), rgba(34, 197, 94, 0.15)); }
.timeline li { position: relative; padding: 30px 24px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--green); }
.timeline .t { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; color: var(--green-soft); }
.timeline b { display: block; margin: 6px 0 6px; font-size: 19px; font-weight: 600; }
.timeline span { display: block; font-size: 15px; line-height: 1.55; color: var(--muted); }
.news-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 32px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(224, 106, 88, 0.35); background: rgba(224, 106, 88, 0.06); font-size: 15px; line-height: 1.55; color: #d5dde8; }
.news-note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: #e4765c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.vid { border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.thumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse at 30% 20%, rgba(34, 197, 94, 0.14), transparent 60%), #0a0f17; }
.thumb .play { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(7, 10, 16, 0.6); }
.thumb .play svg { width: 20px; height: 20px; fill: var(--muted); margin-left: 3px; }
.thumb .soon-tag { position: absolute; left: 12px; top: 12px; padding: 4px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-soft); background: rgba(7, 10, 16, 0.75); border: 1px solid rgba(34, 197, 94, 0.35); }
.vid .body { padding: 16px 18px 18px; }
.vid h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.vid p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.sec-cta { margin-top: 28px; }

.tools-teaser { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.mini { padding: 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.mini .top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mini h3 { margin: 0; font-size: 22px; font-weight: 700; }
.mini .plat { font-size: 14px; color: var(--faint); }
.mini p { margin: 8px 0 16px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.chips { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chips li { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-size: 14px; }
.chips b { display: block; font-size: 12px; letter-spacing: 0.12em; color: var(--green); }
.mini a { color: var(--green-soft); font-weight: 600; text-decoration: none; }
.mini a:hover { text-decoration: underline; }

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 2px; font-size: 18px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--green); font-weight: 400; font-size: 24px; line-height: 1; }
.qa details[open] summary::after { content: "−"; }
.qa details p { margin: 0 0 18px; padding-right: 28px; font-size: 16px; line-height: 1.6; color: #d5dde8; }

.site-foot { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-top .tagline { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.socials a:hover { border-color: rgba(34, 197, 94, 0.6); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.socials svg.ig { fill: none; stroke: currentColor; stroke-width: 2; }
.mnav .socials a { width: 38px; height: 38px; }
.site-foot .legal { margin: 28px 0 0; max-width: 820px; font-size: 13px; line-height: 1.6; color: var(--faint); }
.site-foot .legal strong { color: var(--muted); }
.site-foot .legal a, .site-foot .foot-row a { color: var(--muted); }
.site-foot .foot-row { margin: 14px 0 0; font-size: 13px; color: var(--faint); }

@media (max-width: 900px) {
  .steps, .vids { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; margin-top: 32px; }
  .timeline::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--green), rgba(34, 197, 94, 0.15)); }
  .timeline li { padding: 0 0 26px 34px; }
  .tools-teaser, .faq { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .topnav { display: none; }
  .mnav { display: block; }
  .home-hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 48px; }
  .portrait { order: -1; justify-self: start; max-width: 132px; }
  .portrait img { border-radius: 20px; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.06), 0 16px 32px rgba(0, 0, 0, 0.5); }
  .home-hero h1 { margin-top: 14px; }
  .portrait figcaption { display: none; }
    .sec { padding: 56px 0; }
}
@media (max-width: 420px) {
  .chips { grid-template-columns: 1fr 1fr; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* Redes en la portada */
.hero-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-social a {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color 0.15s;
}
.hero-social a:hover { border-color: rgba(34, 197, 94, 0.6); }
.hero-social svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.hero-social svg.yt { fill: #ff3b3b; }
.hero-social svg.ig { fill: none; stroke: #f0568a; stroke-width: 2; }
@media (max-width: 420px) {
  .hero-social { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-social a { justify-content: center; }
}
