/* Web pública de Talo — generado por scripts/build-web-talo.mjs. No editar a mano. */
/* Va encima de assets/styles.css (tokens Estudio de la guía). */

:root {
  --site-max: 1200px;
  --site-header-h: 64px;
  --ink: #1f342c;
  --text-tertiary: #64706a;
  --accent: #263f36;
  --accent-ink: #ffffff;
  --accent-hover: #1a2d26;
  --accent-soft: #e6ecdf;
  --accent-soft-ink: #263f36;
  --accent-text: #2f5c45;
  --surface: #ffffff;
  --surface-2: #f3f6f1;
  --line: #e3e8e0;
  --line-strong: #d2dacd;
  --header-bg: rgba(250, 251, 253, 0.78);
  --glow: rgba(88, 150, 112, 0.22);
  --grid-line: rgba(38, 63, 54, 0.06);
  --shadow-sm: 0 1px 2px rgba(22, 40, 32, 0.06);
  --shadow-lg: 0 32px 72px -24px rgba(22, 40, 32, 0.30), 0 12px 28px -12px rgba(22, 40, 32, 0.14);
  --band-bg: #263f36;
  --band-ink: #f4f7f2;
  --band-muted: #c9d6c6;
  --band-line: rgba(230, 236, 223, 0.16);
  --band-tile: rgba(230, 236, 223, 0.10);
  --cta-bg: linear-gradient(135deg, #e6ecdf 0%, #f4f7f1 55%, #e9efe4 100%);
  --focus: #416c52;
  --warning-ink: #6b4a00;
  --warning-bg: #fbf3df;
  --warning-line: #ecd9a6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --ink: #f1f4f1;
  --text-tertiary: #959f97;
  --accent: #9cc2a6;
  --accent-ink: #12201a;
  --accent-hover: #b4d4bc;
  --accent-soft: #26362d;
  --accent-soft-ink: #cfe3d4;
  --accent-text: #a6cbb0;
  --surface: #212a25;
  --surface-2: #1f2723;
  --line: #2f3a34;
  --line-strong: #3d4a43;
  --header-bg: rgba(24, 32, 28, 0.74);
  --glow: rgba(156, 194, 166, 0.16);
  --grid-line: rgba(237, 240, 238, 0.045);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 32px 80px -24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.03);
  --band-bg: #223029;
  --band-ink: #edf0ee;
  --band-muted: #b9c7bc;
  --band-line: rgba(156, 194, 166, 0.18);
  --band-tile: rgba(156, 194, 166, 0.10);
  --cta-bg: linear-gradient(135deg, #24332b 0%, #1e2924 60%, #22302a 100%);
  --focus: #9cc2a6;
  --warning-ink: #f3d88f;
  --warning-bg: #2e2a1c;
  --warning-line: #4f4528;
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #f1f4f1;
  --text-tertiary: #959f97;
  --accent: #9cc2a6;
  --accent-ink: #12201a;
  --accent-hover: #b4d4bc;
  --accent-soft: #26362d;
  --accent-soft-ink: #cfe3d4;
  --accent-text: #a6cbb0;
  --surface: #212a25;
  --surface-2: #1f2723;
  --line: #2f3a34;
  --line-strong: #3d4a43;
  --header-bg: rgba(24, 32, 28, 0.74);
  --glow: rgba(156, 194, 166, 0.16);
  --grid-line: rgba(237, 240, 238, 0.045);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 32px 80px -24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.03);
  --band-bg: #223029;
  --band-ink: #edf0ee;
  --band-muted: #b9c7bc;
  --band-line: rgba(156, 194, 166, 0.18);
  --band-tile: rgba(156, 194, 166, 0.10);
  --cta-bg: linear-gradient(135deg, #24332b 0%, #1e2924 60%, #22302a 100%);
  --focus: #9cc2a6;
  --warning-ink: #f3d88f;
  --warning-bg: #2e2a1c;
  --warning-line: #4f4528;
  color-scheme: dark;
}

/* Variantes por tema (logo, vídeo claro/oscuro): siguen al botón sol/luna y,
   sin elección guardada, a prefers-color-scheme. */
.theme-only-dark { display: none !important; }
:root[data-theme="dark"] .theme-only-light { display: none !important; }
:root[data-theme="dark"] .theme-only-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-only-light { display: none !important; }
  :root:not([data-theme="light"]) .theme-only-dark { display: block !important; }
}

html { scroll-padding-top: calc(var(--site-header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body.site { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body.site, body.site-guide { height: auto; }
.site-main { display: block; }
.site-main h1, .site-main h2, .site-main h3 { color: var(--ink); }
.site-main a:not(.button) { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.site-main a:not(.button):hover { color: var(--ink); }
.site-header :focus-visible, .site-main :focus-visible, .site-footer :focus-visible, .site-menu :focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link:focus { z-index: 200; outline: 2px solid var(--focus); }
.icon { flex-shrink: 0; display: block; }
.container { max-width: var(--site-max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; }
.container--mid { max-width: 1000px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Botones ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color 160ms var(--estudio-motion-ease), border-color 160ms var(--estudio-motion-ease), color 160ms var(--estudio-motion-ease), box-shadow 160ms var(--estudio-motion-ease), transform 160ms var(--estudio-motion-ease);
}
.button .icon { width: 18px; height: 18px; }
.button--primary, .button--primary:visited { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 8px 20px -10px var(--accent); }
.button--primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.button--primary:active { transform: translateY(1px); }
.button--secondary, .button--secondary:visited { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.button--secondary:hover { background: var(--bg-hover); color: var(--ink); border-color: var(--line-strong); }
.button--ghost, .button--ghost:visited { background: transparent; color: var(--band-ink); border-color: var(--band-line); }
.button--ghost:hover { background: var(--band-tile); color: var(--band-ink); }
.button--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.button--lg { height: 50px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { max-width: var(--site-max); margin: 0 auto; height: var(--site-header-h); padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.site-brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; margin-left: -6px; }
.site-brand img { height: 38px; width: auto; }
.site-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  position: relative;
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  transition: color 120ms ease, background-color 120ms ease;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-hover); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.site-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  min-width: 36px;
  padding: 0 9px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font: 600 13px/1 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease;
}
.icon-button:hover { color: var(--ink); background: var(--bg-hover); }
.icon-button .icon { width: 18px; height: 18px; }
.site-lang { letter-spacing: 0.02em; }
.theme-toggle__moon { display: block; }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
}
.site-menu-toggle { display: none; }
.site-menu-toggle .icon-close { display: none; }
.site-menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.site-menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-menu {
  position: fixed;
  top: var(--site-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  background: var(--bg-base);
  padding: 16px 20px 32px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.site-menu[hidden] { display: none; }
.site-menu ul { list-style: none; margin: 0 0 20px; padding: 0; }
.site-menu li + li { border-top: 1px solid var(--line); }
.site-menu a:not(.button) { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 600; }
.site-menu a[aria-current="page"] { color: var(--accent-text); }
.site-menu .button { width: 100%; }
.site-menu__lang { margin-top: 16px; display: flex; justify-content: center; }
.site-menu__lang a:not(.button) { font-size: 15px; font-weight: 500; color: var(--text-secondary); gap: 8px; justify-content: center; }
body.site-menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .site-nav, .site-actions .site-lang { display: none; }
  .js .site-menu-toggle { display: inline-flex; }
  .site-header__inner { gap: 12px; padding: 0 16px; }
  .site-actions { gap: 4px; }
}
@media (max-width: 360px) {
  .site-actions .button--sm { display: none; }
}

/* ---------- Tipografía ---------- */
.site-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-text);
}
.site-eyebrow--pill {
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}
.site-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: #3f8a5f; box-shadow: 0 0 0 3px color-mix(in srgb, #3f8a5f 22%, transparent); }
.display {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 700;
  margin: 0 0 22px;
  text-wrap: balance;
}
.section-title {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 14px;
  text-wrap: balance;
}
.lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--text-secondary); margin: 0 0 30px; text-wrap: pretty; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .lede { margin-bottom: 0; }
.section-head--left { margin-left: 0; text-align: left; }

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section--tight { padding: 56px 0 88px; }
.section--alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Hero de portada ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; isolation: isolate; }
.hero::before, .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 78%);
}
.hero::after, .page-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -20% -10% auto auto;
  width: 70%;
  height: 90%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero__copy { max-width: 560px; }
.hero__copy .lede { max-width: 500px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--text-secondary); }
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .icon { width: 16px; height: 16px; color: var(--accent-text); }
.hero__media { margin: 0; }

/* ---------- Marco de ventana (vídeos y capturas) ---------- */
.framed-media { position: relative; margin: 0; }
.framed-media::before {
  content: '';
  position: absolute;
  inset: 6% -6% -4% -6%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent 85%);
  filter: blur(12px);
  pointer-events: none;
}
.window { position: relative; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.window__bar { display: flex; align-items: center; height: 36px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.window__dots { display: flex; gap: 7px; width: 60px; }
.window__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18); }
.window__dots i:nth-child(2) { background: #febc2e; }
.window__dots i:nth-child(3) { background: #28c840; }
.window__title { flex: 1; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--text-tertiary); padding-right: 60px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window__media { display: block; width: 100%; height: auto; background: var(--surface-2); }
.framed-media figcaption { margin-top: 14px; font-size: 13.5px; color: var(--text-tertiary); text-align: center; }
.video-embed__note { margin: 6px 0 0; font-size: 12.5px; color: var(--text-tertiary); text-align: center; }

/* Botón de reproducir sobre el póster (site.js quita los controles nativos
   hasta que se pulsa; sin JS el vídeo conserva sus controles). */
.video-shell { position: relative; display: block; }
.play-overlay { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; }
.play-overlay[hidden] { display: none; }
.play-overlay__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: #263f36;
  box-shadow: 0 12px 32px -10px rgba(16, 28, 22, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.28);
  transition: transform 200ms var(--estudio-motion-ease), box-shadow 200ms ease;
}
.play-overlay__icon svg { width: 26px; height: 26px; margin-left: 4px; }
.play-overlay:hover .play-overlay__icon { transform: scale(1.06); box-shadow: 0 14px 36px -10px rgba(16, 28, 22, 0.5), 0 0 0 10px rgba(255, 255, 255, 0.32); }
.play-overlay:focus-visible { outline: none; }
.play-overlay:focus-visible .play-overlay__icon { outline: 3px solid var(--focus); outline-offset: 4px; }

/* ---------- Rejilla de funciones ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.feature-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, transform 160ms var(--estudio-motion-ease), box-shadow 160ms ease;
}
.feature-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 14px 32px -18px rgba(22, 40, 32, 0.35); }
.feature-card h3 { font-size: 17px; letter-spacing: -0.01em; margin: 0 0 8px; }
.feature-card h3 a { color: var(--ink) !important; text-decoration: none; }
.feature-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.feature-card p { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.55; }
.feature-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--accent-text); }
.feature-card__more .icon { width: 15px; height: 15px; transition: transform 160ms ease; }
.feature-card:hover .feature-card__more .icon { transform: translateX(3px); }
.icon-tile { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-soft-ink); margin-bottom: 18px; border: 1px solid color-mix(in srgb, var(--accent-soft-ink) 10%, transparent); }
.icon-tile .icon { width: 21px; height: 21px; }
.center-link { text-align: center; margin: 36px 0 0; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; position: relative; }
.step { position: relative; padding: 26px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.step__num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 17px; margin: 0 0 8px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.55; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 41px;
  right: -13px;
  width: 10px;
  height: 10px;
  border-top: 1.75px solid var(--line-strong);
  border-right: 1.75px solid var(--line-strong);
  transform: rotate(45deg);
}

/* ---------- Escaparate (gráficos) ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.check-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-secondary); font-size: 15px; line-height: 1.5; }
.check-list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-text); }
.check-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Banda de privacidad ---------- */
.band { background: var(--band-bg); color: var(--band-ink); position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 100% 0%, rgba(156, 194, 166, 0.16), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(156, 194, 166, 0.08), transparent 70%);
}
.band .section-title, .band h3 { color: var(--band-ink); }
.band .site-eyebrow { color: var(--band-muted); }
.band .lede { color: var(--band-muted); }
.band__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.band__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.band__point { padding: 22px; border-radius: 14px; background: var(--band-tile); border: 1px solid var(--band-line); }
.band__point .icon { width: 22px; height: 22px; color: var(--band-ink); margin-bottom: 14px; }
.band__point h3 { font-size: 15.5px; margin: 0 0 6px; }
.band__point p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--band-muted); }

/* ---------- Para quién ---------- */
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.profile-card { padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.profile-card .icon-tile { margin-bottom: 16px; }
.profile-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.profile-card p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ---------- Preguntas frecuentes ---------- */
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 18px; height: 18px; color: var(--text-tertiary); transition: transform 200ms var(--estudio-motion-ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 40px 22px 4px; color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ---------- Llamada final ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 32px;
  border-radius: 24px;
  background: var(--cta-bg);
  border: 1px solid var(--line);
  isolation: isolate;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 80%);
}
.cta-final__mark { width: 56px; height: 56px; margin: 0 auto 18px; }
.cta-final .section-title { margin-bottom: 12px; }
.cta-final .lede { max-width: 560px; margin: 0 auto 28px; }
.cta-final .button-row { justify-content: center; }
.cta-final__note { margin: 20px 0 0; font-size: 13.5px; color: var(--text-secondary); }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 16px; text-wrap: balance; }
.page-hero .lede { margin-bottom: 0; max-width: 680px; }
.page-hero--center { text-align: center; }
.page-hero--center .lede { margin-left: auto; margin-right: auto; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.page-hero--center .chip-nav { justify-content: center; }
.chip-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text-secondary) !important;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}
.chip-nav a:hover { color: var(--ink) !important; border-color: var(--accent-text); }
.chip-nav .icon { width: 15px; height: 15px; color: var(--accent-text); }

/* ---------- Texto corrido (seguridad, legal, SEO, descargar) ---------- */
.doc-body { max-width: 720px; margin: 0 auto; font-size: 16.5px; line-height: 1.7; color: var(--text-primary); }
.doc-body h2 { font-size: 22px; letter-spacing: -0.015em; line-height: 1.25; margin: 2.2em 0 0.6em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p { margin: 0 0 1.1em; color: var(--text-secondary); }
.doc-body strong { color: var(--ink); }
.doc-body ul, .doc-body ol { margin: 0 0 1.2em; padding-left: 1.3em; color: var(--text-secondary); }
.doc-body li { margin: 0.35em 0; }
.doc-body pre { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; margin: 0 0 1.2em; }
.doc-body code { font-family: var(--font-mono); background: var(--surface-2); border: 1px solid var(--line); padding: 0.1em 0.4em; border-radius: 6px; font-size: 0.86em; word-break: break-word; color: var(--ink); }
.doc-body pre code { background: none; border: none; padding: 0; word-break: normal; }
.doc-sections { display: grid; gap: 12px; max-width: 752px; margin: 0 auto; }
.doc-section { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 26px 26px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.doc-section .icon-tile { margin: 0; }
.doc-section h2 { font-size: 19px; margin: 8px 0 10px; letter-spacing: -0.01em; }
.doc-section p { margin: 0 0 16px; color: var(--text-secondary); font-size: 15.5px; line-height: 1.65; }

.placeholder-box {
  border: 1px solid var(--warning-line);
  background: var(--warning-bg);
  color: var(--warning-ink);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 auto 32px;
  max-width: 720px;
  font-size: 14.5px;
}
.placeholder-box p { margin: 0; color: var(--warning-ink); }
.placeholder-box code { font-family: var(--font-mono); font-size: 0.9em; }

/* ---------- Descargar ---------- */
.download-panel {
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 36px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.download-panel__mark { width: 64px; height: 64px; border-radius: 16px; background: var(--accent-soft); display: grid; place-items: center; }
.download-panel__mark img { width: 48px; height: 48px; }
.download-panel h2 { margin: 2px 0 8px; font-size: 24px; letter-spacing: -0.02em; }
.download-panel p { margin: 0 0 20px; color: var(--text-secondary); font-size: 15.5px; line-height: 1.6; }
.download-panel dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 24px 0 0; font-size: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.download-panel dt { color: var(--text-secondary); }
.download-panel dd { margin: 0; color: var(--ink); }
.download-panel code { font-family: var(--font-mono); font-size: 0.85em; word-break: break-all; }
.download-panel__meta { margin: 16px 0 0 !important; font-size: 13.5px !important; color: var(--text-tertiary) !important; }

/* ---------- Novedades ---------- */
.changelog-list { max-width: 752px; margin: 0 auto; list-style: none; padding: 0; position: relative; }
.changelog-entry { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 32px; padding: 0 0 40px; position: relative; }
.changelog-entry::before { content: ''; position: absolute; left: 110px; margin-left: 15px; top: 8px; bottom: 0; width: 1px; background: var(--line); }
.changelog-entry:last-child::before { bottom: 40px; }
.changelog-entry time { font-size: 14px; font-weight: 600; color: var(--text-secondary); padding-top: 3px; font-variant-numeric: tabular-nums; }
.changelog-entry__body { position: relative; padding-left: 24px; }
.changelog-entry__body::before { content: ''; position: absolute; left: -22px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg-base); }
.changelog-entry h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.015em; line-height: 1.3; }
.changelog-entry ul { list-style: disc; margin: 0; padding-left: 1.2em; color: var(--text-secondary); font-size: 15px; line-height: 1.6; }
.changelog-entry li { margin: 0.4em 0; }

/* ---------- /funciones/ ---------- */
.features-video { padding: 56px 0 24px; }
.features-video .framed-media { max-width: 980px; margin: 0 auto; }
.feature-section { padding: 88px 0; border-top: 1px solid var(--line); }
.feature-section:first-of-type { border-top: none; }
.feature-section__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.feature-section__grid--reverse .feature-section__media { order: -1; }
.feature-section__text { position: sticky; top: calc(var(--site-header-h) + 32px); }
.feature-section h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 18px; }
.feature-section__kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-text); font-weight: 600; font-size: 14px; margin: 0 0 14px; }
.feature-section__kicker .icon-tile { width: 34px; height: 34px; margin: 0; border-radius: 9px; }
.feature-section__kicker .icon-tile .icon { width: 18px; height: 18px; }
.feature-section p { color: var(--text-secondary); margin: 0 0 1em; font-size: 15.5px; line-height: 1.65; }
.feature-section__media { display: grid; gap: 20px; }
.feature-section__media figure { margin: 0; }
.feature-section__media img, .site-main .video-embed video { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: 0 24px 56px -28px rgba(22, 40, 32, 0.40); background: var(--surface-2); }
.site-main .video-embed { margin: 0; }
.site-main .video-embed figcaption, .feature-section__media figcaption { margin-top: 10px; font-size: 13px; color: var(--text-tertiary); }
.feature-section a.inline-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.feature-section a.inline-link .icon { width: 15px; height: 15px; }
.secondary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.secondary-card { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.secondary-card .icon-tile { width: 38px; height: 38px; margin-bottom: 14px; }
.secondary-card h3 { margin: 0 0 6px; font-size: 16px; }
.secondary-card p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); color: var(--text-secondary); font-size: 14px; }
.site-footer__inner { max-width: var(--site-max); margin: 0 auto; padding: 64px 24px 28px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__brand img { height: 38px; width: auto; margin-left: -6px; }
.site-footer__slogan { margin: 12px 0 8px; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.site-footer__note { margin: 0; max-width: 320px; font-size: 13.5px; line-height: 1.55; color: var(--text-tertiary); }
.site-footer h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink); margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; color: var(--text-tertiary); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--text-secondary); }

/* ---------- Guía montada en /guia/ con la cabecera y el pie de la web ---------- */
.site-guide .sidebar { top: var(--site-header-h); height: calc(100vh - var(--site-header-h)); }
.site-guide .site-header__inner { max-width: none; padding-left: 18px; }
.site-guide .sidebar .brand__mark { display: none; }
.site-guide .topbar { top: var(--site-header-h); background: var(--header-bg); -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px); }
.site-guide .topbar .theme-toggle { display: none; }
.site-guide .on-this-page { top: calc(var(--site-header-h) + 76px); }
.site-guide .layout { min-height: calc(100vh - var(--site-header-h)); }
.site-guide .eyebrow, .site-guide .footer, .site-guide .on-this-page__title, .site-guide .nav-heading { color: var(--text-tertiary); }
@media (max-width: 760px) {
  .site-guide .sidebar { top: var(--site-header-h); height: auto; bottom: 0; z-index: 45; }
  .site-guide .sidebar { box-shadow: none; }
  body.site-guide.sidebar-open .sidebar { box-shadow: 8px 0 24px rgba(0, 0, 0, 0.18); }
  .site-guide .topbar { flex-wrap: wrap; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__copy { max-width: 680px; }
  .showcase, .band__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature-section__grid, .feature-section__grid--reverse { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature-section__grid--reverse .feature-section__media { order: 0; }
  .feature-section__text { position: static; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .feature-grid, .secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step:not(:last-child)::after { top: auto; bottom: -13px; right: auto; left: 36px; transform: rotate(135deg); }
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 44px 0 64px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .feature-grid, .secondary-grid, .band__points { grid-template-columns: minmax(0, 1fr); }
  .hero .button-row .button { flex: 1 1 100%; }
  .page-hero { padding: 48px 0 32px; }
  .feature-section { padding: 64px 0; }
  .cta-final { padding: 48px 22px; border-radius: 20px; }
  .download-panel { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .download-panel .button-row .button, .cta-final .button-row .button { flex: 1 1 100%; }
  .doc-section { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 22px 20px 6px; }
  .changelog-entry { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-left: 26px; }
  .changelog-entry::before { left: 4px; margin-left: 0; }
  .changelog-entry__body { padding-left: 0; }
  .changelog-entry__body::before { left: -27px; top: -22px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .window__title { display: none; }
}
