/* Sistema de marca Elytra para la web cfdi (ver "Elytra Web" SKILL_diseno_marca.md).
   Tailwind (CDN) maneja el layout/utilidades; aquí van: font, barra de acento,
   wordmark y las páginas legales (que son HTML plano sin clases Tailwind). */

:root {
  --navy: #0D2B5E;
  --electric: #2563EB;
  --ink: #111827;
  --mid: #374151;
  --muted: #6B7280;
  --line: #D1D9E6;
  --sky: #BFDBFE;
  --mist: #F7F8FA;
}

body {
  font-family: Calibri, Carlito, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Línea de acento eléctrica superior, como en elytra.bio */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--electric);
  z-index: 100;
}

/* Wordmark: el color base lo pone Tailwind (text-ink / text-white);
   el punto siempre va en eléctrico. */
.wordmark {
  font-weight: 700;
  letter-spacing: -0.5px;
}
.wordmark .dot {
  color: var(--electric);
}

code {
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.92em;
}

/* Páginas legales (terms/privacy) — HTML plano dentro de <article class="legal">.
   El preflight de Tailwind resetea headings y list-style; estas reglas (clase +
   elemento) ganan por especificidad y devuelven la jerarquía + las viñetas. */
.legal {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.7;
}
.legal h1 {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--line);
}
.legal h2 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.25rem 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line);
}
.legal h3 {
  color: var(--electric);
  font-size: 1rem;
  font-weight: 700;
  margin: 1.4rem 0 0.4rem;
}
.legal p {
  margin: 0.65rem 0;
}
.legal a {
  color: var(--electric);
  text-decoration: underline;
}
.legal ul {
  list-style: disc;
  margin: 0.65rem 0 1rem 1.5rem;
}
.legal ol {
  list-style: decimal;
  margin: 0.65rem 0 1rem 1.5rem;
}
.legal li {
  margin: 0.35rem 0;
  padding-left: 0.25rem;
}
.legal strong {
  color: var(--ink);
}
