/* Páginas legales de Rename.
 * Mismo sistema visual que la web (v2): Mona Sans, fondo blanco, tinta
 * #0D0D12, violeta #3A1AC4 y lavanda #F4F3F8. Titular en mayúsculas anchas,
 * de un solo color y sin punto, como en la portada.
 */

/* ---- Tipografía de marca, servida desde el propio sitio ---- */
@font-face {
  font-family: 'Mona Sans';
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url(/fuentes/mona-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mona Sans';
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url(/fuentes/mona-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --papel: #FFFFFF;
  --tinta: #0D0D12;
  --violeta: #3A1AC4;
  --violeta-hondo: #2C129C;
  --lavanda: #F4F3F8;
  --gris: #56525C;
  --apagado: #6B675F;   /* 5,4:1 sobre blanco */
  --regla: #E2E0E8;
  --margen: clamp(20px, 3.9vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  background: var(--papel); color: var(--tinta);
  font-family: 'Mona Sans', system-ui, sans-serif;
  font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: var(--violeta); text-underline-offset: 3px; }
a:hover { color: var(--violeta-hondo); }
:focus-visible { outline: 2px solid var(--violeta); outline-offset: 3px; }

.saltar {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--violeta); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.saltar:focus { top: 16px; color: #fff; }

/* ---- cabecera, igual que la web ---- */
.membrete {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--margen);
}
.marca, .pie-marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca img:first-child { width: 32px; height: 32px; }
.marca .tipo { width: auto; height: 16px; }
.volver {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--violeta); color: #fff; text-decoration: none;
  font-size: 14.5px; font-weight: 600; padding: 11px 22px; border-radius: 999px;
  transition: background-color .18s ease;
}
.volver:hover { background: var(--violeta-hondo); color: #fff; }

/* ---- contenido ---- */
.contenido { padding: clamp(36px, 6vw, 72px) var(--margen) clamp(56px, 8vw, 96px); }
article { max-width: 760px; margin: 0 auto; }
h1 {
  font-size: clamp(32px, 5vw, 56px); line-height: 1; letter-spacing: -.01em;
  font-weight: 800; font-stretch: 125%; text-transform: uppercase; text-wrap: balance;
}
.fecha { margin-top: 14px; font-size: 15px; font-weight: 500; font-stretch: 112%; color: var(--gris); }

.indice {
  margin: 36px 0 12px; padding: 24px 28px;
  background: var(--lavanda); border-radius: 22px;
}
.indice h2 {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gris); margin-bottom: 10px;
}
.indice ol { list-style: none; columns: 2; column-gap: 32px; }
.indice li { break-inside: avoid; padding: 3px 0; font-size: 15.5px; }
.indice a { color: var(--tinta); text-decoration: none; }
.indice a:hover { color: var(--violeta); text-decoration: underline; }

section { padding-top: 40px; }
section h2 {
  font-size: clamp(21px, 2.2vw, 26px); line-height: 1.15; letter-spacing: -.015em;
  font-weight: 780; font-stretch: 115%; margin-bottom: 14px;
}
section h2 .num { color: var(--violeta); }
section p { margin-top: 12px; color: #2B2833; }
section p:first-of-type { margin-top: 0; }
section ul { margin: 12px 0 0; padding-left: 22px; color: #2B2833; }
section li { margin-top: 6px; }
section li::marker { color: var(--violeta); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em;
  background: var(--lavanda); padding: 1px 6px; border-radius: 6px;
}
.volver-pie { margin-top: 48px; font-weight: 600; }
.volver-pie a { text-decoration: none; }

/* ---- pie, igual que la web ---- */
.pie { background: #F3F3F8; padding: 0 var(--margen) 40px; }
.pie-fila {
  max-width: 1280px; margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--regla);
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
}
.pie-marca img:first-child { width: 28px; height: 28px; }
.pie-marca img:last-child { width: auto; height: 15px; }
.pie-enlaces { list-style: none; display: flex; gap: 8px 28px; flex-wrap: wrap; }
.pie-enlaces a, .pie-correo { font-size: 14.5px; font-weight: 500; color: var(--gris); text-decoration: none; }
.pie-enlaces a:hover, .pie-correo:hover, .pie-enlaces a[aria-current="page"] { color: var(--violeta); text-decoration: underline; }
.pie-redes { display: flex; align-items: center; gap: 20px; }
.pie-red { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--gris); text-decoration: none; }
.pie-red svg { width: 18px; height: 18px; fill: currentColor; }
.pie-red:hover { color: var(--violeta); }
.pie-nota { max-width: 1280px; margin: 18px auto 0; font-size: 13px; color: var(--apagado); }
.pie { padding-top: 40px; }

@media (max-width: 640px) {
  .membrete { padding-top: 16px; padding-bottom: 16px; }
  .volver { padding: 10px 16px; font-size: 14px; }
  .indice { padding: 20px; border-radius: 18px; }
  .indice ol { columns: 1; }
  .pie-fila { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
