/* Fluxus — páginas legales (aviso legal y privacidad).
   Hoja propia y ligera: mismas fuentes y colores que la portada,
   sin el recorrido ni las animaciones.                              */
@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Text";
  src: url("assets/fonts/red-hat-text-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --bg: #0a0b0b;
  --surface: #121414;
  --line: #272b2b;
  --line-2: #3d4342;
  --text: #f5f2ea;
  --text-2: #bbbcb3;
  --text-3: #8d8f87;
  --lime: #eaf13a;
  --cyan: #3fbdf0;
  --ink: #0a0b0b;
  --gel: linear-gradient(90deg, #eaf13a, #92d392 52%, #3fbdf0);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Red Hat Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(16px, 4.4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--black);
  scrollbar-color: var(--line-2) var(--black);
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 720px) { body { font-size: 1.0625rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
a, button { touch-action: manipulation; }

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 10;
  padding: 0.7rem 1rem; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.top {
  border-bottom: 1px solid var(--line);
  background: var(--black);
}
.top-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 var(--pad);
  min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.top-logo img { height: 24px; width: auto; }
.top-back {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.9375rem; color: var(--text-2); text-decoration: none;
}

.doc {
  max-width: 46rem; margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) var(--pad) clamp(56px, 10vw, 120px);
}
.doc-kicker {
  font-size: 0.875rem; color: var(--text-3); margin-bottom: 14px;
}
.doc h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  overflow-wrap: anywhere;
}
.doc h1::after {
  content: ""; display: block; width: 72px; height: 4px; margin-top: 22px;
  border-radius: 4px; background: var(--gel);
}
.doc-lead { margin-top: 24px; font-size: 1.0625rem; color: var(--text-2); }
.doc h2 {
  margin-top: 48px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.0625rem, 2.6vw, 1.3125rem);
  line-height: 1.25;
  color: var(--text);
}
.doc h2 + * { margin-top: 14px; }
.doc p + p, .doc p + ul, .doc ul + p, .doc dl + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc li::marker { color: var(--text-3); }
.doc strong { color: var(--text); font-weight: 600; }

.facts {
  display: grid; grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--surface);
}
.facts > div { padding: 12px 16px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { font-size: 0.8125rem; color: var(--text-3); }
.facts dd { margin: 2px 0 0; color: var(--text); overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .facts > div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 16px; align-items: baseline; }
  .facts dd { margin: 0; }
}

.doc-date { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text-3); }

.foot { border-top: 1px solid var(--line); background: var(--black); }
.foot-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 24px var(--pad) calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: space-between;
  font-size: 0.875rem; color: var(--text-3);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin-inline: -0.5rem; }
.foot nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.5rem;
  color: var(--text-2); text-decoration: none;
}
.foot nav a[aria-current="page"] { color: var(--text); }

@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration-color: var(--text-2); }
  .top-back:hover, .foot nav a:hover { color: var(--text); }
}
