/* Sitio público de Plydrill. Colores de DESIGN.md (V5): fondo, panel, tinta, tinta-2, junta
   y señal, con sus pares de noche. Sin fuentes externas ni sombras («Joint Not Shadow»). La señal
   naranja solo marca el foco: los enlaces se distinguen por el subrayado, no por el color. */

:root {
  color-scheme: light dark;
  --fondo: #e9ecef;
  --panel: #f7f8f9;
  --tinta: #12161c;
  --tinta-2: #4b5563;
  --junta: #c9cfd6;
  --senal: #b23b0a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #0a0c10;
    --panel: #12161d;
    --tinta: #e8ecf1;
    --tinta-2: #9aa4b2;
    --junta: #262d38;
    --senal: #ff7a3d;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

nav {
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.hoja {
  background: var(--panel);
  border: 1px solid var(--junta);
  border-radius: 6px;
  padding: 1.5rem 1.25rem 2rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.125rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
}

p,
li {
  max-width: 65ch;
}

.meta {
  color: var(--tinta-2);
  font-size: 0.9375rem;
  margin-top: 0;
}

a {
  color: var(--tinta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--senal);
  outline-offset: 2px;
  border-radius: 2px;
}
