/* fichalo.app — estilos de las paginas legales y de articulo (privacidad, cookies,
   aviso legal, normativa). Cabecera y pie a juego con la web. */
:root{
  --paper:#F4F6F3; --surface:#FFFFFF; --surface-2:#EBF0ED; --surface-3:#F7F9F7;
  --t1:#0F211C; --t2:#465650; --t3:#7A8983; --line:#D7E0DB; --line-2:#C3CFC9;
  --teal:#0F9E8F; --teal-d:#0A6F63; --teal-soft:rgba(15,158,143,.10);
  --ink:#0E1A17;
  --fd:"Barlow Semi Condensed",Impact,system-ui,sans-serif;
  --fb:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --fm:"IBM Plex Mono",ui-monospace,Menlo,monospace;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#0D1613; --surface:#15241F; --surface-2:#1B2E28; --surface-3:#12201B;
    --t1:#EAF2EE; --t2:#A9BBB2; --t3:#82938A; --line:#26382F; --line-2:#31473C;
    --teal:#2CC2B0; --teal-d:#31C3B1; --teal-soft:rgba(44,194,176,.12); --ink:#0A130F;
  }
}
:root[data-theme="dark"]{
  --paper:#0D1613; --surface:#15241F; --surface-2:#1B2E28; --surface-3:#12201B;
  --t1:#EAF2EE; --t2:#A9BBB2; --t3:#82938A; --line:#26382F; --line-2:#31473C;
  --teal:#2CC2B0; --teal-d:#31C3B1; --teal-soft:rgba(44,194,176,.12); --ink:#0A130F;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--t1);
  font-family:var(--fb);font-size:16px;line-height:1.62;-webkit-font-smoothing:antialiased}
a{color:var(--teal-d)}
code{font-family:var(--fm);font-size:.88em;background:var(--surface-2);
  padding:1px 5px;border-radius:5px}

/* cabecera */
.site-head{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--paper) 88%,transparent);
  backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid var(--line)}
.site-head .in{max-width:1120px;margin:0 auto;padding:13px 22px;display:flex;
  align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.brand{font-family:var(--fd);font-weight:700;font-size:21px;letter-spacing:.01em;
  text-decoration:none;color:var(--t1);display:inline-flex;align-items:center;gap:8px}
.brand b{color:var(--teal)}
.brand .mk{width:11px;height:11px;border-radius:3px;background:var(--teal);display:inline-block}
.site-head nav{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.site-head nav a{color:var(--t2);text-decoration:none;font-size:14.5px}
.site-head nav a:hover{color:var(--t1)}
.site-head .cta{background:var(--teal);color:#04120F;font-weight:700;
  padding:8px 15px;border-radius:9px;font-size:14px}
.site-head .cta:hover{background:var(--teal-d);color:#fff}

/* contenido */
main{max-width:760px;margin:0 auto;padding:40px 22px 64px}
main.legal, main.articulo{}
h1{font-family:var(--fd);font-weight:700;font-size:clamp(30px,5vw,44px);line-height:1.03;
  letter-spacing:-.01em;margin:0 0 6px;text-wrap:balance}
h2{font-family:var(--fd);font-weight:600;font-size:clamp(22px,3vw,28px);
  margin:38px 0 10px;letter-spacing:.01em;text-wrap:balance}
h3{font-family:var(--fd);font-weight:600;font-size:19px;margin:24px 0 6px}
p{margin:0 0 14px;max-width:68ch}
ul{margin:0 0 16px;padding-left:22px}li{margin:0 0 7px;max-width:66ch}
strong{font-weight:600}
.actualizado{color:var(--t3);font-size:14px;font-family:var(--fm);margin:0 0 26px}
.destacado{background:var(--teal-soft);border:1px solid var(--teal);border-radius:12px;
  padding:16px 18px;font-size:16px;margin:0 0 26px}
main table{width:100%;border-collapse:collapse;margin:16px 0 22px;font-size:15px;
  border:1px solid var(--line);border-radius:12px;overflow:hidden}
main th,main td{text-align:left;padding:11px 15px;border-bottom:1px solid var(--line);vertical-align:top}
main tr:last-child td{border-bottom:0}
main thead th, main tr:first-child th{background:var(--surface-3);font-family:var(--fm);
  font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--t3);font-weight:600}
main th[scope],main tr th:first-child{color:var(--t2)}
.overflow{overflow-x:auto}

/* pie */
.site-foot{border-top:1px solid var(--line);background:var(--surface-3)}
.site-foot .in{max-width:1120px;margin:0 auto;padding:26px 22px 34px;
  display:flex;flex-direction:column;gap:12px;font-size:14px;color:var(--t3)}
.site-foot .pie-legal{display:flex;flex-wrap:wrap;gap:6px 4px;font-size:14px}
.site-foot .pie-legal a{color:var(--t2);text-decoration:none}
.site-foot .pie-legal a:hover{color:var(--teal-d);text-decoration:underline}
.site-foot .marca b{color:var(--t1)}
.site-foot .marca a{color:var(--teal-d)}

:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:4px}
@media(max-width:640px){.site-head nav{gap:14px;font-size:14px}}
