/* Estilos compartidos por aviso legal y privacidad. Mismos tokens que la landing. */
:root{
  --indigo:#635BFF;
  --indigo-deep:#4B44D6;
  --indigo-soft:#B6B2FF;
  --card:#EEEDFB;
  --bg:#FAF9FC;
  --ink:#0B1220;
  --gray:#4A4E5A;
  --line:#E7E6F2;
  --white:#FFFFFF;
  --font-display:'Poppins','Segoe UI',system-ui,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --r:16px;
  --r-full:999px;
  --header-h:72px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 20px);-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);font-size:1rem;line-height:1.75;
  color:var(--gray);background:var(--white);
  -webkit-font-smoothing:antialiased;
}
a{color:var(--indigo);text-decoration:underline;text-underline-offset:3px}
a:hover{color:var(--indigo-deep)}
img{max-width:100%;display:block;height:auto}
:focus-visible{outline:3px solid var(--indigo);outline-offset:3px;border-radius:6px}

.skip{position:absolute;left:-9999px;background:var(--ink);color:#fff;padding:.8rem 1.2rem;z-index:200}
.skip:focus{left:0}

.wrap{width:min(760px,100% - 2.5rem);margin-inline:auto}

/* ── Cabecera ── */
.header{
  height:var(--header-h);position:sticky;top:0;z-index:10;
  background:rgba(250,249,252,.9);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.header__in{width:min(1160px,100% - 2.5rem);margin-inline:auto;height:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{display:flex;align-items:center;gap:.5rem;text-decoration:none}
.logo img{height:30px;width:auto}
.logo__word{font-family:var(--font-display);font-weight:800;font-size:1.05rem;letter-spacing:-.01em;color:var(--ink);line-height:1;white-space:nowrap}
.logo__word em{font-style:normal;color:var(--indigo)}
.back{font-size:.9rem;font-weight:700;white-space:nowrap;text-decoration:none;color:var(--indigo)}
.back:hover{text-decoration:underline}

/* ── Contenido ── */
main{padding:3.5rem 0 5rem}
.eyebrow{
  display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--indigo);background:var(--card);padding:.45rem .9rem;border-radius:var(--r-full);margin-bottom:1.1rem;
}
h1{font-family:var(--font-display);font-weight:800;font-size:clamp(1.9rem,4.5vw,2.7rem);line-height:1.15;color:var(--ink);margin-bottom:.8rem}
.updated{font-size:.86rem;color:var(--gray);margin-bottom:2.8rem;padding-bottom:1.6rem;border-bottom:1px solid var(--line)}

h2{
  font-family:var(--font-display);font-weight:700;font-size:1.45rem;color:var(--ink);
  margin:2.8rem 0 .9rem;line-height:1.25;
}
h3{font-family:var(--font-body);font-size:1.02rem;font-weight:700;color:var(--ink);margin:1.8rem 0 .5rem}
p{margin-bottom:1rem}
ul,ol{margin:0 0 1.2rem 1.3rem}
li{margin-bottom:.5rem}
strong{color:var(--ink);font-weight:700}

/* Tabla de datos (identificación…) */
.data{width:100%;border-collapse:collapse;margin:1.2rem 0 1.8rem;font-size:.94rem}
.data th,.data td{text-align:left;padding:.85rem 1rem;border-bottom:1px solid var(--line);vertical-align:top}
.data th{width:34%;color:var(--ink);font-weight:700;background:var(--card)}
.data tr:last-child th,.data tr:last-child td{border-bottom:none}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r)}

/* Marcador de dato pendiente: imposible publicar sin verlo */
.todo{
  display:inline-block;background:#FFF3CD;color:#7A5B00;
  border:1px dashed #C9A227;border-radius:6px;
  padding:.1rem .45rem;font-size:.85rem;font-weight:700;font-family:var(--font-body);
}

.note{
  background:var(--card);border-left:4px solid var(--indigo);
  border-radius:0 var(--r) var(--r) 0;padding:1.3rem 1.5rem;margin:1.8rem 0;
}
.note p:last-child{margin-bottom:0}

/* ── Pie ── */
.footer{background:var(--ink);color:#9BA0B3;padding:2.5rem 0;font-size:.88rem}
.footer__in{width:min(1160px,100% - 2.5rem);margin-inline:auto;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.footer a{color:#9BA0B3}
.footer a:hover{color:#fff}
.footer nav{display:flex;gap:1.4rem;flex-wrap:wrap}

@media (max-width:640px){
  main{padding:2.5rem 0 3.5rem}
  .footer__in{flex-direction:column;text-align:center;align-items:center}
  .data th{width:auto}
}
