/* Consolida — estilos del sitio público (home, precios, blog) */
:root {
  --ink: #0b1b3a;
  --ink-2: #33405c;
  --muted: #667089;
  --line: #e4e7ef;
  --line-2: #d6dbe7;
  --bg: #ffffff;
  --soft: #f6f7fb;
  --navy: #0b1b3a;
  --navy-2: #13254d;
  --primary: #2563eb;
  --primary-ink: #ffffff;
  --primary-soft: #e8efff;
  --good: #1f9d55;
  --bad: #d63b3b;
  --hl: #fff1b8;
  --t-mint: #ecfaf5; --b-mint: #c7ecdf; --k-mint: #0f7a5c;
  --t-peach: #fff4ec; --b-peach: #f8d9c2; --k-peach: #b4510f;
  --t-lilac: #f4f1ff; --b-lilac: #ddd4fb; --k-lilac: #5b3fd1;
  --t-sky: #ecf5ff; --b-sky: #c8def8; --k-sky: #1d5fbf;
  --c-ml: #e0aa00; --c-ml2: #f0cd5c; --c-amz: #e8590c; --c-shop: #2f9e44; --c-woo: #7048e8; --c-tiktok: #d6336c; --c-other: #1c7ed6;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: Caveat, "Segoe Script", cursive;
  --r: 16px;
  --shadow: 0 1px 2px rgba(11, 27, 58, .05), 0 8px 24px rgba(11, 27, 58, .06);
  --shadow-lg: 0 20px 60px rgba(11, 27, 58, .14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.pt-0 { padding-top: 0 !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Tipografía */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 7vw, 82px); letter-spacing: -0.02em; line-height: 1; }
.display em, .h2 em { font-style: italic; color: var(--primary); }
.display-sm { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.015em; line-height: 1.05; margin-bottom: 12px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -0.015em; line-height: 1.05; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); max-width: 720px; margin: 20px auto 0; }
.script { font-family: var(--script); font-size: 26px; color: var(--primary); margin: 0 0 4px; line-height: 1; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; margin: 0 0 14px; }
.micro { font-size: 14px; color: var(--muted); margin-top: 14px; }
.answer { font-size: 18px; color: var(--ink-2); margin-top: 18px; }
.link-arrow { font-weight: 600; text-decoration: none; color: inherit; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 12px 18px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 24px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14), 0 6px 16px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: #1d4fd8; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.cta-row.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; }
.logo-mark rect { fill: var(--primary); }
.logo-mark path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.header-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.header-cta .btn { padding: 10px 14px; font-size: 14px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Secciones */
.section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.section-head.row-between { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tinted { background: var(--soft); border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); }
.navy { background: var(--navy); color: #fff; }
.navy .h2 { color: #fff; }
.navy .h2 em { color: #9db8ff; }
.navy-soft { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }

/* Hero */
.hero { padding: 72px 0 40px; background:
  radial-gradient(900px 420px at 50% -10%, #e5edff 0%, rgba(229, 237, 255, 0) 70%),
  linear-gradient(90deg, rgba(11, 27, 58, .035) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(rgba(11, 27, 58, .035) 1px, transparent 1px) 0 0 / 56px 56px; }
.hero-inner { text-align: center; }
.hero .display { max-width: 980px; margin: 0 auto; }
.page-hero { padding: 80px 0 56px; background: radial-gradient(800px 360px at 50% -10%, #e8efff 0%, rgba(232, 239, 255, 0) 70%); }

/* Mockup del dashboard */
.mock { margin: 56px auto 0; max-width: 980px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafbfd; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #dfe3ec; }
.mock-bar em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 10px; }
.mock-body { padding: 20px; display: grid; gap: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mk { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.mk.main { border-color: #b9ccfb; background: #f7f9ff; }
.mk small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.mk b { display: block; font-size: 22px; margin: 2px 0; font-variant-numeric: tabular-nums; }
.mk i { font-style: normal; font-size: 12px; font-weight: 600; }
.up { color: var(--good); }
.mock-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
.mock-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mock-card > small { font-size: 13px; font-weight: 600; color: var(--ink); }
.mock-share { display: flex; gap: 18px; align-items: center; margin-top: 12px; }
.donut { flex: none; width: 116px; height: 116px; border-radius: 50%; background: conic-gradient(var(--c-ml) 0 33%, var(--c-amz) 0 64%, var(--c-ml2) 0 79%, var(--c-shop) 0 91%, var(--c-woo) 0 100%); -webkit-mask: radial-gradient(circle, transparent 50%, #000 51%); mask: radial-gradient(circle, transparent 50%, #000 51%); }
.mock-share ul { list-style: none; padding: 0; margin: 0; font-size: 13px; display: grid; gap: 6px; flex: 1; }
.mock-share li { display: flex; align-items: center; gap: 8px; }
.mock-share li i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mock-share li b { margin-left: auto; }
.mock-top { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; counter-reset: t; }
.mock-top li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 13px; }
.mock-top span { font-family: ui-monospace, Menlo, monospace; font-weight: 600; font-size: 12px; }
.seg { grid-column: 1 / -1; display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: var(--soft); }
.seg i { display: block; height: 100%; }
.mock-alert { margin: 12px 0 0; font-size: 12.5px; background: #fff3f3; color: #9b2c2c; padding: 8px 10px; border-radius: 8px; }

/* Plataformas */
.platforms { padding: 28px 0; }
.platforms-inner { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.platforms ul { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0; justify-content: center; }
.platforms li { font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; background: #fff; }
.c-ml { color: #a77d00; } .c-amz { color: var(--c-amz); } .c-shop { color: var(--c-shop); } .c-woo { color: var(--c-woo); } .c-tiktok { color: var(--c-tiktok); } .c-other { color: var(--c-other); }

/* Listas con check */
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.ic { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: var(--good); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Sin vs con */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; max-width: 900px; }
.vs-card { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: #fff; }
.vs-card h3 { font-size: 20px; }
.vs-card:not(.good) .ic { stroke: var(--bad); }
.vs-card.good { background: var(--primary-soft); border-color: #bfd0fb; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); font-weight: 700; margin-bottom: 16px; background: var(--soft); }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; }

/* Módulos (tarjetas pastel) */
.modules { display: grid; gap: 24px; }
.module { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: 40px; border-radius: 22px; border: 1px solid; }
.module h3 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.01em; margin-bottom: 12px; }
.module p { color: var(--ink-2); }
.t-mint { background: var(--t-mint); border-color: var(--b-mint); } .t-mint .script { color: var(--k-mint); }
.t-peach { background: var(--t-peach); border-color: var(--b-peach); } .t-peach .script { color: var(--k-peach); }
.t-lilac { background: var(--t-lilac); border-color: var(--b-lilac); } .t-lilac .script { color: var(--k-lilac); }
.t-sky { background: var(--t-sky); border-color: var(--b-sky); } .t-sky .script { color: var(--k-sky); }
.module-visual { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 22px; min-width: 0; }
.chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; border: 1px solid currentColor; }
.mini-files { display: grid; gap: 10px; }
.mini-files div { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.mini-files .chip { grid-row: span 2; }
.mini-files span { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.mini-files em { font-style: normal; font-size: 12px; color: var(--muted); }
.mini-sku { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.sku-raw { display: grid; gap: 8px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--soft); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; }
.sku-raw code { display: block; font-size: 12.5px; }
.sku-arrow { font-size: 26px; color: var(--muted); }
.sku-master { border: 2px solid var(--k-peach); border-radius: 12px; padding: 14px; display: grid; gap: 6px; }
.sku-master small { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.sku-master b { font-size: 22px; }
.sku-master span { font-size: 12px; color: var(--muted); }
.mini-bars { display: grid; gap: 12px; }
.mini-bars div { display: grid; grid-template-columns: 130px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; }
.mini-bars i { display: block; height: 14px; border-radius: 4px; }
.mini-bars b { text-align: right; }
.mini-doc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.doc-page { border: 1px solid var(--line); border-radius: 10px; padding: 14px; border-top: 4px solid var(--primary); display: grid; gap: 8px; }
.doc-page b { font-size: 14px; } .doc-page small { font-size: 11px; color: var(--muted); }
.doc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.doc-kpis i { height: 28px; border-radius: 5px; background: var(--soft); border: 1px solid var(--line); }
.doc-lines { display: grid; gap: 5px; }
.doc-lines i { height: 7px; border-radius: 3px; background: var(--line); }
.doc-lines i:nth-child(odd) { width: 80%; }
.doc-xls { border: 1px solid #b7e1c6; border-radius: 10px; padding: 12px; display: grid; gap: 6px; align-content: start; background: #f2fbf5; }
.doc-xls b { color: #1d7a3f; font-size: 14px; }
.doc-xls span { font-size: 12px; background: #fff; border: 1px solid #d3eedb; border-radius: 5px; padding: 3px 8px; }

/* Estadísticas */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border: 1px solid rgba(255, 255, 255, .18); }
.stat { padding: 32px 26px; border-right: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .02); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; margin-bottom: 14px; }
.stat span { color: #c3cde3; font-size: 15px; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.role { padding: 30px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.role-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; background: #ffe6dc; border-radius: 6px; font-size: 24px; margin-bottom: 40px; }
.role h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; letter-spacing: -0.01em; margin-bottom: 8px; }
.role p { color: var(--ink-2); margin: 0; }

/* Privacidad */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p { color: var(--ink-2); margin-top: 16px; }
.privacy-visual { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); text-align: center; }
.lock { font-size: 42px; }
.flow { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0; flex-wrap: wrap; }
.flow span { font-size: 14px; font-weight: 600; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--soft); }
.flow i { width: 26px; height: 2px; background: var(--line-2); }
.privacy-visual p { color: var(--muted); font-size: 14px; margin: 0; }
.privacy-visual b { color: var(--good); }

/* Precios */
.price-mini, .plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; margin: 0 auto; }
.plans { grid-template-columns: repeat(3, 1fr); max-width: 1080px; align-items: start; }
.price-mini article, .plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.price-mini article.hl, .plan.hl { border: 2px solid var(--primary); box-shadow: 0 20px 50px rgba(37, 99, 235, .16); }
.plan.soon { background: var(--soft); box-shadow: none; }
.price-mini h3, .plan h2 { font-size: 22px; }
.price { font-family: var(--serif); font-size: 52px; line-height: 1; margin: 14px 0 12px; }
.price small { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.plan.soon .price { font-size: 36px; }
.plan-blurb { color: var(--ink-2); margin: 8px 0 0; min-height: 52px; }
.plan .btn { margin: 8px 0 6px; }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.table-scroll { overflow-x: auto; margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.compare thead th { font-size: 14px; color: var(--muted); background: #fafbfd; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare td { text-align: center; width: 24%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--good); font-weight: 700; font-size: 18px; }
.no { color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; max-width: 1000px; margin: 0 auto; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(11, 27, 58, .04); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 48px 18px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); font-weight: 400; }
.faq[open] summary::after { content: "–"; }
.faq summary h3 { font-size: 16px; font-weight: 600; font-family: var(--sans); }
.faq p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); font-size: 15px; }

/* Blog */
.tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 4px; background: #ff5a3c; color: #fff; margin-bottom: 14px; }
.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { display: flex; flex-direction: column; background: var(--navy); color: #fff; text-decoration: none; padding: 28px; min-height: 300px; border-radius: 4px; background-image: radial-gradient(400px 200px at 100% 100%, rgba(80, 120, 255, .35), transparent 70%); transition: transform .15s; }
.post-card:hover { transform: translateY(-3px); }
.post-card h3 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.1; margin-bottom: 12px; }
.post-card p { color: #c3cde3; font-size: 14.5px; }
.post-card .link-arrow { margin-top: auto; font-size: 14px; text-decoration: underline; }
.post-feature { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 40px; border-radius: 6px; background: var(--navy); color: #fff; text-decoration: none; background-image: radial-gradient(600px 300px at 100% 100%, rgba(80, 120, 255, .4), transparent 70%); margin-bottom: 20px; }
.post-feature h2 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; margin-bottom: 12px; max-width: 760px; }
.post-feature p { color: #c3cde3; max-width: 680px; }
.post-feature .meta { color: #9aa6c2; font-size: 14px; }
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.post-item { display: block; border: 1px solid var(--line-2); border-radius: 6px; padding: 28px; text-decoration: none; color: var(--ink); background: #fff; transition: box-shadow .15s; }
.post-item:hover { box-shadow: var(--shadow); }
.post-item h2, .post-item h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.post-item p { color: var(--ink-2); font-size: 15px; }
.meta { color: var(--muted); font-size: 14px; }
.post-header { padding: 56px 16px 32px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.post-title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -0.015em; line-height: 1.04; }
.post-header .lead { margin-left: 0; }
.post-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; justify-content: center; padding-bottom: 80px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.toc p { font-weight: 700; margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--primary); }
.prose { font-size: 17.5px; line-height: 1.75; color: #1f2a44; min-width: 0; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -0.01em; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.tldr { background: var(--primary-soft); border-left: 4px solid var(--primary); border-radius: 0 12px 12px 0; padding: 18px 22px; margin-bottom: 28px; }
.tldr-label { font-family: var(--script); font-size: 24px; color: var(--primary); margin: 0 0 4px; line-height: 1; }
.tldr p:last-child { margin: 0; }
.formula { background: var(--soft); border: 1px dashed var(--line-2); border-radius: 10px; padding: 14px 18px; text-align: center; }
.post-faq { margin-top: 48px; }
.post-faq .faq { margin-bottom: 10px; }
.post-faq .faq p { font-size: 16px; }
.post-cta { margin-top: 48px; background: var(--navy); color: #fff; border-radius: 16px; padding: 32px; }
.post-cta h2 { color: #fff; margin-top: 0; }
.post-cta p { color: #c3cde3; font-size: 16px; }
.post-cta .cta-row { justify-content: flex-start; margin-top: 16px; }
.post-cta .btn-outline { box-shadow: none; }
.post-list.two { margin-top: 28px; }

/* CTA final */
.final-cta { padding: 96px 0; background:
  linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px) 0 0 / 64px 64px,
  linear-gradient(180deg, #eef4ff, #f7faff); border-top: 1px dashed var(--line-2); }
.final-cta p { color: var(--ink-2); font-size: 18px; }

/* Footer */
.site-footer { background: var(--navy); color: #c3cde3; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 340px; }
.footer-note { color: #8e9bbb; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer h2 { font-size: 15px; color: #fff; margin-bottom: 6px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.site-footer nav a { color: #c3cde3; text-decoration: none; font-size: 14px; }
.site-footer nav a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #8e9bbb; }

/* Responsive */
@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .module { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .post-cards { grid-template-columns: 1fr; }
  .post-card { min-height: 0; }
  .post-layout { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; margin-bottom: 28px; background: var(--soft); border-radius: 12px; padding: 16px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hide-sm { display: none; }
  .header-cta .btn-dark { padding: 9px 12px; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-row { grid-template-columns: 1fr; }
  .mock-body { padding: 14px; }
  .vs, .steps, .faq-grid, .price-mini, .post-list, .roles { grid-template-columns: 1fr; }
  .mini-sku { grid-template-columns: 1fr; }
  .sku-arrow { transform: rotate(90deg); justify-self: center; }
  .mini-bars div { grid-template-columns: 96px 1fr 38px; font-size: 12px; }
  .mini-doc { grid-template-columns: 1fr; }
  .post-feature { grid-template-columns: 1fr; padding: 28px; }
  .stat b { font-size: 48px; }
  .stat { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .mock-share { flex-direction: column; align-items: stretch; }
  .donut { align-self: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .post-card { transition: none; } }

/* Legal */
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.site-footer .legal-links { flex-direction: row; gap: 18px; }
.site-footer .legal-links a { font-size: 13px; color: #c3cde3; }
.legal h2 { font-size: 28px; }
.legal li { margin-bottom: 6px; }

/* Mock del bloque "Profundiza" (buscador + ficha) */
.mini-search { display: grid; gap: 10px; }
.ms-input { border: 1px solid #b9ccfb; border-radius: 10px; padding: 9px 12px; font-size: 14px; color: var(--ink); background: #fff; }
.ms-input span { color: var(--muted); margin-right: 6px; }
.ms-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.ms-head code { font-weight: 700; }
.ms-head span { display: block; font-family: var(--serif); font-size: 18px; margin-top: 4px; }
.ms-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ms-kpis div { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.ms-kpis small, .ms-label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ms-kpis b { display: block; font-size: 15px; }
.ms-kpis i { font-style: normal; font-size: 11px; color: var(--muted); }
.ms-kpis i.up { color: var(--good); font-weight: 600; }
.ms-weeks { display: flex; align-items: flex-end; gap: 6px; height: 90px; border-bottom: 1px solid var(--line); }
.ms-weeks i { flex: 1; background: var(--primary); border-radius: 3px 3px 0 0; }
.ms-weeks i.partial { background: repeating-linear-gradient(45deg, #9db8ff, #9db8ff 4px, #c9d7fb 4px, #c9d7fb 8px); }
