/* Scope Studio: páginas legales y 404 (sin animaciones, carga mínima) */
:root {
  --ink: #0A0A0A;
  --paper: #F3F2EF;
  --accent: #D7FF3A;
  --f-brand: "Bricolage Grotesque", system-ui, sans-serif;
  --f-head: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Space Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--accent); }

.lnav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px var(--gutter); border-bottom: 2px solid var(--ink);
}
.lnav__logo { display: block; text-decoration: none; }
.lnav__logo img { display: block; height: 34px; width: auto; }
.lnav__back {
  font-weight: 700; font-size: 14px; text-decoration: none;
  border: 1.5px solid var(--ink); border-radius: 99px; padding: 8px 16px;
}
.lnav__back:hover { background: var(--ink); color: var(--paper); }

.legal { max-width: 820px; margin: 0 auto; padding: 8vh var(--gutter) 12vh; }
.legal__eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #555; }
.legal h1 {
  font-family: var(--f-brand); font-weight: 900; letter-spacing: -.04em; line-height: .95;
  font-size: clamp(36px, 7vw, 76px); margin: 12px 0 8px;
}
.legal__date { color: #555; font-size: 14px; margin-bottom: 48px; }
.legal h2 {
  font-family: var(--f-head); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(22px, 2.6vw, 30px); margin: 44px 0 12px;
}
.legal p, .legal ul, .legal table { margin-bottom: 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1.5px solid var(--ink); }
.legal th { background: var(--ink); color: var(--paper); font-weight: 700; }
.legal__box {
  background: #fff; border: 2px solid var(--ink); border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink); padding: 20px 24px; margin: 24px 0;
}
.pendiente { background: var(--accent); padding: 0 6px; border-radius: 4px; font-weight: 700; }
.table-wrap { overflow-x: auto; }

.lfoot {
  border-top: 2px solid var(--ink); padding: 22px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; font-size: 14px;
}
.lfoot a { text-decoration: none; }
.lfoot a:hover { text-decoration: underline; }

/* 404 */
.nf {
  min-height: calc(100vh - 140px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 6vh var(--gutter); max-width: 1200px; margin: 0 auto;
}
.nf__code {
  font-family: var(--f-brand); font-weight: 900; line-height: .8; letter-spacing: -.06em;
  font-size: clamp(120px, 30vw, 420px);
  color: transparent; -webkit-text-stroke: clamp(2px, .3vw, 5px) var(--ink);
}
.nf__code span { color: var(--ink); -webkit-text-stroke: 0; }
.nf h1 { font-family: var(--f-head); font-weight: 800; font-size: clamp(28px, 4vw, 56px); letter-spacing: -.03em; margin-top: 24px; }
.nf p { margin-top: 10px; max-width: 44ch; color: #333; }
.nf__btn {
  display: inline-block; margin-top: 32px; text-decoration: none;
  background: var(--accent); border: 2px solid var(--ink); border-radius: 99px;
  padding: 16px 28px; font-family: var(--f-head); font-weight: 700; font-size: 18px;
  box-shadow: 5px 5px 0 var(--ink); transition: transform .2s, box-shadow .2s;
}
.nf__btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }

/* Accesibilidad: enlace para saltar al contenido y foco visible */
.skip { position: absolute; left: 12px; top: -64px; z-index: 10; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
