/* Vértice Talents · hoja compartida de las páginas legales.
   Hereda el sistema de DESIGN.md; añade solo lo propio del modo lectura. */

:root{
  --bg:#0A0A0C; --surface:#141418; --surface2:#1E1E24; --border:#2A2A32;
  --text:#F5F3F0; --muted:#A0A0AB; --accent:#C9A227; --accent-soft:#E8D9A8;
  --success:#4ADE80; --danger:#E2705A;

  --display:'Instrument Serif',Georgia,'Times New Roman',serif;
  --ui:'Instrument Sans',system-ui,-apple-system,sans-serif;

  --emphasis:#FFFFFF; --text-2:#D6D4D0; --muted-2:#7C7C88; --muted-3:#6B6B76;
  --border-2:#3A3A45; --on-accent:#15120A;

  --accent-rgb:201,162,39; --bg-rgb:10,10,12; --danger-rgb:226,112,90;

  --t-2xs:12px; --t-xs:13px; --t-sm:14px; --t-ui:15px; --t-md:16px; --t-body:17px;
  --t-title:1.125rem; --t-sub:1.25rem; --t-glyph:22px;
  --t-lead:clamp(1rem,1.6vw,1.16rem);
  --t-d1:clamp(2.55rem,6.6vw,4.9rem);
  --t-d2:clamp(2rem,4.5vw,3.3rem);
  --t-d3:clamp(1.65rem,5.4vw,2.2rem);

  --r-xs:2px; --r-sm:11px; --r-md:13px; --r-lg:16px; --r-xl:18px;
  --r-2xl:22px; --r-3xl:24px; --r-pill:999px;

  --ease:cubic-bezier(.16,1,.3,1);
  --d-fast:.2s; --d-base:.25s; --d-step:.35s; --d-slow:.6s;

  /* propio del modo lectura */
  --medida:68ch;
  --sect:clamp(56px,8vh,96px);
}

*{box-sizing:border-box;margin:0;padding:0}
p,li,h1,h2,h3,td,th,dt,dd{overflow-wrap:break-word}
html{scroll-behavior:smooth}
body{
  background:var(--bg);color:var(--text);
  font-family:var(--ui);font-size:var(--t-body);line-height:1.7;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:1;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap{max-width:960px;margin:0 auto;padding:0 24px;position:relative;z-index:2}

/* volver */
.volver{display:inline-flex;align-items:center;gap:8px;margin:34px 0 0;
  color:var(--muted);text-decoration:none;font-size:var(--t-sm);transition:color var(--d-fast) var(--ease)}
.volver:hover{color:var(--text)}
.volver svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}

/* cabecera */
header.doc{padding:var(--sect) 0 clamp(32px,5vh,52px);border-bottom:1px solid var(--border)}
.eyebrow{font-size:var(--t-2xs);font-weight:600;letter-spacing:.15em;text-transform:uppercase;
  color:var(--accent);margin-bottom:18px;display:block}
h1{font-family:var(--display);font-weight:400;font-size:var(--t-d1);
  letter-spacing:-.018em;line-height:1.04;max-width:16ch}
.fecha{margin-top:22px;font-size:var(--t-sm);color:var(--muted-2)}

/* indice */
.indice{margin:clamp(32px,5vh,52px) 0;padding:26px 28px;background:var(--surface);
  border:1px solid var(--border);border-radius:var(--r-xl)}
.indice h2{font-family:var(--ui);font-size:var(--t-2xs);font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--accent);margin-bottom:16px;line-height:1.4}
.indice ol{list-style:none;counter-reset:idx;display:grid;gap:9px;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.indice li{counter-increment:idx;min-width:0}
.indice a{display:flex;gap:11px;color:var(--muted);text-decoration:none;
  font-size:var(--t-sm);line-height:1.45;transition:color var(--d-fast) var(--ease)}
.indice a::before{content:counter(idx,decimal-leading-zero);color:var(--muted-3);flex:none;
  font-variant-numeric:tabular-nums}
.indice a:hover{color:var(--text)}

/* cuerpo */
article{padding-bottom:var(--sect)}
section.art{padding-top:clamp(40px,6vh,64px);max-width:var(--medida)}
section.art+section.art{border-top:1px solid var(--border)}
h2{font-family:var(--display);font-weight:400;font-size:var(--t-d3);
  letter-spacing:-.018em;line-height:1.1;margin-bottom:20px;scroll-margin-top:24px}
h3{font-family:var(--ui);font-weight:600;font-size:var(--t-title);letter-spacing:-.011em;
  line-height:1.35;margin:30px 0 10px;color:var(--text)}
p{color:var(--muted);margin-bottom:16px}
p:last-child,ul:last-child,ol:last-child,dl:last-child{margin-bottom:0}
strong,b{color:var(--emphasis);font-weight:600}
a{color:var(--accent-soft)}
a:focus-visible,.volver:focus-visible,.indice a:focus-visible{
  outline:2px solid var(--accent);outline-offset:3px;border-radius:var(--r-xs)}

ul.lista,ol.lista{margin:0 0 18px;padding-left:0;list-style:none;display:flex;
  flex-direction:column;gap:11px}
ul.lista li,ol.lista li{display:flex;gap:13px;color:var(--muted);line-height:1.6;min-width:0}
ul.lista li::before{content:"";flex:none;width:5px;height:5px;margin-top:11px;border-radius:var(--r-pill);
  background:var(--accent)}
ol.lista{counter-reset:n}
ol.lista li{counter-increment:n}
ol.lista li::before{content:counter(n) ".";flex:none;color:var(--accent);font-weight:600;
  font-variant-numeric:tabular-nums;min-width:1.4em}

/* tabla de datos */
.tabla{width:100%;border-collapse:collapse;margin:6px 0 18px;font-size:var(--t-sm)}
.tabla th,.tabla td{text-align:left;padding:13px 14px;border-bottom:1px solid var(--border);
  vertical-align:top;color:var(--muted)}
.tabla th{color:var(--accent);font-size:var(--t-2xs);letter-spacing:.1em;text-transform:uppercase;
  font-weight:600;white-space:nowrap}
.tabla tr:last-child td{border-bottom:0}
.tabla td:first-child{color:var(--text-2);font-weight:500}
.tabla-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:18px}

/* bloque destacado */
.nota{border:1px solid rgba(var(--accent-rgb),.3);
  background:linear-gradient(165deg,rgba(var(--accent-rgb),.08),var(--surface) 60%);
  border-radius:var(--r-md);padding:20px 22px;margin:22px 0;font-size:var(--t-ui);color:var(--text-2)}
.nota strong{display:block;margin-bottom:5px}



/* pie */
footer{border-top:1px solid var(--border);padding:44px 0 80px;font-size:var(--t-sm)}
.pie-nav{display:flex;flex-wrap:wrap;gap:10px 26px;margin-bottom:26px}
.pie-nav a{color:var(--muted);text-decoration:none;padding:4px 0;transition:color var(--d-fast) var(--ease)}
.pie-nav a:hover{color:var(--text)}
.pie-nav a[aria-current="page"]{color:var(--accent)}
.pie-legal{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  font-size:var(--t-2xs);color:var(--muted-2)}
.edad18{display:inline-block;border:1px solid var(--muted-3);border-radius:var(--r-xs);
  padding:1px 5px;margin-right:6px;font-size:var(--t-2xs);font-weight:600;letter-spacing:.04em;color:var(--muted)}

@media(max-width:600px){
  .indice{padding:22px 20px}
  .indice ol{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
