/* Hoja de estilos común de las páginas legales de zidder.com: aviso legal, privacidad,
   condiciones de Solo (castellano) y Solo terms (inglés). Sin estilos ni scripts en línea,
   para que valgan con una CSP estricta (style-src 'self'). */

@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-wght-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --bg: #08090a; --text: #f7f8f8; --text-2: #d0d6e0; --text-3: #8a8f98; --text-4: #62666d;
  --brand: #5e6ad2; --accent: #7170ff; --accent-hover: #828fff;
  --line: rgba(255,255,255,.08); --line-subtle: rgba(255,255,255,.05);
  --font: "Inter Variable", Inter, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  font-feature-settings: "cv01", "ss03"; -webkit-font-smoothing: antialiased;
  line-height: 1.5; font-weight: 400;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.salto { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 6px; font-size: 14px; }
.salto:focus { left: 12px; }

header.nav { position: sticky; top: 0; z-index: 20; background: rgba(8,9,10,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-subtle); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 510; font-size: 14px; padding: 9px 16px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: rgba(255,255,255,.02); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.05); }

.legal { max-width: 760px; padding: 72px 0 96px; }
.kicker { font-size: 13px; font-weight: 590; color: var(--accent); letter-spacing: .2px; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: 44px; font-weight: 510; letter-spacing: -1.4px; line-height: 1.08; margin-bottom: 16px; }
.updated { font-size: 14px; color: var(--text-4); margin-bottom: 40px; }
.legal .updated + .otra-version { margin-top: -28px; margin-bottom: 36px; font-size: 14px; color: var(--text-3); }
h2 { font-size: 22px; font-weight: 590; letter-spacing: -.4px; margin: 40px 0 12px; }
h3 { font-size: 17px; font-weight: 590; letter-spacing: -.2px; margin: 28px 0 10px; color: var(--text); }
h2[id], h3[id], p[id], section[id] { scroll-margin-top: 88px; }
.legal p, .legal li { font-size: 16px; color: var(--text-2); line-height: 1.65; letter-spacing: -.1px; overflow-wrap: break-word; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { margin: 12px 0 0 20px; display: grid; gap: 8px; }
.legal ol { margin-left: 24px; }
.legal ul + p, .legal ol + p, .legal .tabla + p, .legal dl.facts + p { margin-top: 16px; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent-hover); }
.legal strong { color: var(--text); font-weight: 590; }
.legal em { font-style: italic; }
.legal dl.facts { margin: 18px 0; }

dl.facts { display: grid; grid-template-columns: 180px 1fr; gap: 10px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); padding: 22px 24px; }
dl.facts dt { font-size: 14px; color: var(--text-3); }
dl.facts dd { font-size: 15px; color: var(--text); overflow-wrap: anywhere; }
mark.pending { background: rgba(245,158,11,.16); color: #fbbf24; border-radius: 4px; padding: 1px 6px; font-weight: 510; }

/* Índice */
nav.toc { border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); padding: 20px 24px 22px; margin: 28px 0 8px; }
nav.toc h2 { font-size: 13px; font-weight: 590; color: var(--text-3); letter-spacing: .2px; text-transform: uppercase; margin: 0 0 12px; }
nav.toc ol { list-style: none; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
nav.toc li { font-size: 14px; line-height: 1.45; }
nav.toc a { color: var(--text-2); text-decoration: none; }
nav.toc a:hover { color: var(--text); text-decoration: underline; }

/* Avisos destacados */
.aviso { border: 1px solid rgba(113,112,255,.35); background: rgba(94,106,210,.08); border-radius: 12px; padding: 18px 22px; margin: 0 0 32px; }
.legal .aviso p { color: var(--text); }

/* Tablas */
.tabla { margin: 16px 0 4px; overflow-x: auto; }
.tabla table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tabla th, .tabla td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); line-height: 1.55; }
.tabla th { font-size: 13px; font-weight: 590; color: var(--text-3); border-bottom-color: rgba(255,255,255,.14); }
.tabla td { color: var(--text-2); overflow-wrap: break-word; }
.tabla td:first-child { color: var(--text); font-weight: 510; }
.tabla .num { text-align: right; white-space: nowrap; }
/* Tablas de cuatro columnas o más (proveedores): una ficha por fila también en el ordenador. */
.tabla.ancha { overflow-x: visible; }
.tabla.ancha table, .tabla.ancha tbody, .tabla.ancha tr, .tabla.ancha td { display: block; width: 100%; }
.tabla.ancha thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabla.ancha tr { border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); padding: 6px 18px; margin-bottom: 12px; }
.tabla.ancha td { display: grid; grid-template-columns: 110px 1fr; gap: 18px; border-bottom: 1px solid var(--line-subtle); padding: 9px 0; }
.tabla.ancha td:last-child { border-bottom: 0; }
.tabla.ancha td::before { content: attr(data-label); font-size: 13px; font-weight: 590; color: var(--text-3); padding-top: 1px; }
.tabla.ancha td:first-child { font-size: 15.5px; }

/* Sección en otra lengua dentro de la misma página */
section.otra-lengua { margin-top: 64px; padding-top: 8px; border-top: 1px solid var(--line); }

footer { border-top: 1px solid var(--line-subtle); padding: 40px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { font-size: 13px; color: var(--text-3); }
.foot-links a:hover { color: var(--text); }
footer p { width: 100%; font-size: 13px; color: var(--text-4); }

@media (max-width: 860px) {
  h1 { font-size: 34px; letter-spacing: -1px; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  .nav-links { gap: 8px; }
  .nav-links .btn { padding: 8px 12px; white-space: nowrap; }
  .brand-logo { height: 26px; }
  dl.facts dd { margin-bottom: 10px; }
}

@media (max-width: 640px) {
  .legal { padding: 48px 0 72px; }
  nav.toc ol { grid-template-columns: 1fr; }
  /* En el móvil, cada fila de una tabla pasa a ser una ficha con su etiqueta. */
  .tabla { overflow-x: visible; }
  .tabla table, .tabla tbody, .tabla tr, .tabla td { display: block; width: 100%; }
  .tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tabla tr { border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); padding: 6px 14px; margin-bottom: 10px; }
  .tabla td { border-bottom: 1px solid var(--line-subtle); padding: 8px 0; }
  .tabla td:last-child { border-bottom: 0; }
  .tabla td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 590; color: var(--text-3); margin-bottom: 2px; }
  .tabla.ancha td { display: block; }
  .tabla.ancha tr { padding: 6px 14px; }
  .tabla .num { text-align: left; white-space: normal; }
}

@media print {
  :root { --bg: #fff; --text: #111; --text-2: #222; --text-3: #555; --text-4: #555; --line: #ccc; --line-subtle: #ddd; }
  header.nav, footer, .salto, nav.toc { display: none; }
  body { background: #fff; color: #111; }
  .legal { padding: 0; max-width: none; }
  .legal a { color: #111; }
  .aviso, dl.facts, .tabla tr { background: none; }
  mark.pending { background: none; color: #111; }
  h2, h3 { break-after: avoid; }
  .tabla tr { break-inside: avoid; }
}
