/* Sistema visual codebass (tokens compartidos con bot/styles.css) */
:root{
  --bg:#0b0d11; --surface:#12151b; --surface-2:#181c24; --line:#232834;
  --text:#e8eaf0; --muted:#9aa3b5; --accent:#5eead4; --accent-ink:#06201c; --accent-2:#8b9cff;
  --ok:#4ade80; --warn:#fbbf24; --priv:#c4a7ff;
  --font-display:"Space Grotesk",system-ui,sans-serif; --font-body:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; --font-mono:"JetBrains Mono",ui-monospace,Consolas,monospace;
  --radius:16px; --gutter:16px; --max:1040px;
  color-scheme:dark;
}
@media (prefers-color-scheme:light){:root:not([data-theme="dark"]){
  --bg:#f7f8fb; --surface:#fff; --surface-2:#eef1f6; --line:#dde2ec; --text:#141821; --muted:#4f596c;
  --accent:#0b7a6b; --accent-ink:#fff; --accent-2:#4150d6; --ok:#157a3c; --warn:#8a5a00; --priv:#6c3fc4; color-scheme:light}}
:root[data-theme="light"]{
  --bg:#f7f8fb; --surface:#fff; --surface-2:#eef1f6; --line:#dde2ec; --text:#141821; --muted:#4f596c;
  --accent:#0b7a6b; --accent-ink:#fff; --accent-2:#4150d6; --ok:#157a3c; --warn:#8a5a00; --priv:#6c3fc4; color-scheme:light}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:400 1rem/1.6 var(--font-body);overflow-x:hidden;
  background-image:radial-gradient(60rem 28rem at 80% -10%,color-mix(in srgb,var(--accent) 14%,transparent),transparent 60%);background-repeat:no-repeat}
.wrap{width:100%;max-width:var(--max);margin-inline:auto;padding-inline:var(--gutter)}
a{color:inherit}
:focus-visible{outline:3px solid var(--accent-2);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:var(--gutter);top:-4rem;background:var(--accent);color:var(--accent-ink);padding:.5rem 1rem;border-radius:8px;z-index:10}
.skip:focus{top:.5rem}
.site-header{position:sticky;top:0;z-index:5;backdrop-filter:blur(10px);background:color-mix(in srgb,var(--bg) 80%,transparent);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;justify-content:space-between;min-height:60px}
.brand{display:inline-flex;align-items:center;gap:.6rem;font:700 1.15rem var(--font-display);text-decoration:none}
.brand-mark{font:500 .8rem var(--font-mono);background:var(--accent);color:var(--accent-ink);padding:.2rem .45rem;border-radius:7px}
.theme-btn{width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);cursor:pointer;display:grid;place-items:center}
.theme-btn:hover{border-color:var(--accent)}
.theme-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.hero{padding-block:clamp(3rem,10vw,6.5rem) clamp(2rem,6vw,3.5rem)}
.eyebrow{font:500 .85rem var(--font-mono);color:var(--accent);margin:0 0 1rem}
h1{font:700 clamp(2rem,7.5vw,3.8rem)/1.08 var(--font-display);letter-spacing:-.02em;margin:0 0 1.2rem;overflow-wrap:anywhere}
.grad{background:linear-gradient(90deg,var(--accent),var(--accent-2));-webkit-background-clip:text;background-clip:text;color:transparent}
.lead{max-width:60ch;color:var(--muted);font-size:1.1rem;margin:0 0 1.2rem}
.lead strong{color:var(--text)}
.hint{display:flex;align-items:center;gap:.6rem;font:400 .85rem var(--font-mono);color:var(--muted);margin:0}
.dot{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px color-mix(in srgb,var(--ok) 25%,transparent)}
h2{font:700 1.5rem var(--font-display);margin:0 0 1.2rem}
.grid{list-style:none;margin:0;padding:0 0 4rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.card{display:flex;flex-direction:column;gap:.7rem;height:100%;padding:1.3rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;transition:transform .2s,border-color .2s,background .2s}
.card:hover{transform:translateY(-3px);border-color:var(--accent);background:var(--surface-2)}
.card-top{display:flex;justify-content:space-between;align-items:center;gap:.5rem}
.ico{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent)}
.ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.badge{font:500 .75rem var(--font-mono);padding:.25rem .6rem;border-radius:99px;border:1px solid currentColor}
.badge.activo{color:var(--ok)}.badge.desarrollo{color:var(--warn)}.badge.privado{color:var(--priv)}
.card h3{font:700 1.25rem var(--font-display);margin:.3rem 0 0}
.card p{margin:0;color:var(--muted);flex:1}
.tags{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0}
.tags li{font:400 .75rem var(--font-mono);background:var(--bg);border:1px solid var(--line);color:var(--muted);padding:.15rem .55rem;border-radius:7px}
.go{font:500 .85rem var(--font-mono);color:var(--accent);overflow-wrap:anywhere}
.card:hover .go span{display:inline-block;transform:translateX(3px)}
.empty{color:var(--muted)}
.site-footer{border-top:1px solid var(--line);padding-block:1.5rem;color:var(--muted);font-size:.9rem}
.foot{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:space-between}
@media (prefers-reduced-motion:no-preference){
  .hero>*{animation:up .6s both}.hero>*:nth-child(2){animation-delay:.08s}.hero>*:nth-child(3){animation-delay:.16s}.hero>*:nth-child(4){animation-delay:.24s}
  @keyframes up{from{opacity:0;transform:translateY(12px)}}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
