:root {
  --bg-color: #070913;
  --bg-surface: rgba(18, 22, 38, 0.7);
  --bg-card: rgba(23, 28, 48, 0.65);
  --border-color: rgba(99, 102, 241, 0.25);
  --border-glow: rgba(0, 242, 254, 0.4);
  --primary: #00f2fe;
  --primary-glow: #4facfe;
  --secondary: #a855f7;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  /* Solo para leer texto de novela (página de la muestra). Con serifas se lee de corrido
     mucho mejor que con la tipografía del sitio, que es para titulares. (29/09/2026) */
  --font-reading: 'Lora', Georgia, 'Times New Roman', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Canvas de fondo */
#space-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Navegación */
.navbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.6);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
}

.logo span {
  color: var(--primary);
}

.navbar nav {
  display: flex;
  gap: 1.5rem;
}

.navbar nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar nav a:hover {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.nav-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--primary) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.5px;
}

.nav-admin-btn:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
  transform: translateY(-1px);
}

/* Contenedor general */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Secciones */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #070913;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.55);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(168, 85, 247, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--secondary);
  background: rgba(168, 85, 247, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Iconos dentro de los botones. El .btn ya es flex, así que el dibujo y el texto se alinean solos:
   el hueco lo pone el `gap` de arriba y el tamaño lo pone la letra, así que el icono crece con el
   botón. Son SVG escritos en el propio HTML —nada de librerías ni de archivos sueltos— y heredan
   el color con `currentColor`, por eso se ven igual de bien en el botón de color que en el
   transparente. (02/10/2026) */
.btn > svg {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}

/* Cards & Glassmorphism */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

/* Autor */
.author-card {
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.author-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.35);
  margin-bottom: 0.5rem;
}

.author-insignia {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.author-info p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.author-info .highlight-text {
  color: #e2e8f0;
  font-weight: 500;
  background: rgba(168, 85, 247, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--secondary);
}

/* Grid de Libros.
   Con una sola obra publicada, el auto-fit estiraba la tarjeta a todo el ancho del
   contenedor (1.100 px) y la portada salía desproporcionada. Se acota la tarjeta y se
   centra; vale igual para una que para tres. (27/09/2026) */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
  gap: 2rem;
  justify-content: center;
}

/* Portada real en la ficha, en lugar del degradado de relleno de 200 px */
.book-cover {
  position: relative;
  line-height: 0;
}

.book-cover img {
  display: block;
  width: 100%;
  height: auto;
}

/* Botón de la ficha, separado del pie de la tarjeta */
.book-cta {
  margin-top: 1.4rem;
}

/* --- Tiendas digitales: el botón de Amazon y su badge oficial. (30/09/2026) ---

   El ámbar de Kindle distingue el botón de Amazon del de la tienda del autor sin salirse de la
   paleta oscura del sitio: es el mismo esqueleto que .btn-secondary, con el borde cálido. */
.btn-amazon {
  background: rgba(255, 153, 0, 0.08);
  color: #ffd8a8;
  border: 1px solid rgba(255, 153, 0, 0.4);
}

.btn-amazon:hover:not(:disabled) {
  border-color: #ff9900;
  background: rgba(255, 153, 0, 0.16);
  color: #fff;
  transform: translateY(-2px);
}

/* El badge es el PNG que KDP entrega a los editores de KDP («Available at Amazon»), guardado
   junto a los .php. Va en su propio enlace y con onerror: mientras el archivo no esté subido el
   hueco se queda vacío —sin badge y sin texto que lo sustituya— en vez de enseñar el icono de
   imagen rota, que es peor que no tener badge. */
.store-badge {
  display: block;
  margin-top: 1rem;
  line-height: 0;
}

/* Necesario: sin esto, el display de arriba le gana al atributo hidden que pone el onerror, y el
   hueco del badge seguiría ocupando sitio cuando el PNG no carga. */
.store-badge[hidden] {
  display: none;
}

.store-badge img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
}

/* Las tiendas que todavía no están: se dicen, no se callan. Una tienda que falta y no se explica
   parece un olvido o, peor, una promesa que se quedó sin cumplir. Quién falta lo decide index.php
   con la lista `$faltan`, así que este aviso no nombra a ninguna tienda en particular. */
.stores-pending {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.book-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.book-card:hover {
  transform: translateY(-6px);
}

.book-cover-placeholder {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gradient-1 { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #0284c7 100%); }
.gradient-2 { background: linear-gradient(135deg, #3b0764 0%, #581c87 50%, #06b6d4 100%); }
.gradient-3 { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #6366f1 100%); }

.book-cover-placeholder .icon {
  font-size: 3.5rem;
  z-index: 2;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.glow-orb {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.status-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.book-content .genre {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.book-content .desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.interest-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #facc15;
}

.stage-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Newsletter / Lanzamientos */
.newsletter-box {
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.newsletter-box h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.newsletter-box p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.notify-form {
  max-width: 550px;
  margin: 0 auto;
}

.input-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.input-group input {
  flex: 1 1 280px;
  padding: 0.85rem 1.2rem;
  background: rgba(10, 13, 26, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

/* Sección de Contacto */
.contact-wrapper {
  max-width: 750px;
  margin: 0 auto;
}

.contact-card {
  padding: 2.5rem 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(10, 13, 26, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.35);
}

/* Feedbacks y Respuestas Dinámicas */
.form-feedback {
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.5rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  display: none;
  transition: all 0.3s ease;
}

.form-feedback.success {
  display: block;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.form-feedback.error {
  display: block;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}

/* Footer Enriquecido */
.footer {
  background: rgba(4, 6, 14, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Contacto del autor: correo del sello e Instagram, debajo de su ficha. */
.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.author-links .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 242, 254, 0.4);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 1.5rem;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a,
.footer-links span {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-sub {
  opacity: 0.8;
}

/* --- Muestra de lectura: «El Cruce», prólogo y capítulo 1 (29/09/2026) ------------------
   El texto llega ya convertido desde Herramientas/generar_muestra.py, así que aquí solo se le
   da el aire de página de libro: columna estrecha, serifas y los títulos del manuscrito como
   subtítulos de sección. La tarjeta va casi opaca a propósito: el fondo animado distrae
   cuando lo que hay que hacer es leer 12 minutos seguidos. */
.chapter-hero {
  padding-top: 3rem;
}

.chapter-head {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.chapter-head h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 2px;
  margin: 1rem 0;
}

.chapter-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.chapter-note + .chapter-note {
  margin-top: 0.35rem;
}

.chapter {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  background: rgba(9, 12, 24, 0.93);
  font-family: var(--font-reading);
  font-size: 1.08rem;
  line-height: 1.8;
  color: #e8ecf5;
}

.chapter h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: #fff;
  margin: 2.75rem 0 1.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-color);
}

/* El primer título de la muestra no necesita aire arriba. */
.chapter h2:first-child {
  margin-top: 0;
}

.chapter p {
  margin-bottom: 1.15rem;
}

.chapter p:last-child {
  margin-bottom: 0;
}

.chapter em {
  font-style: italic;
  color: #fff;
}

/* Cierre de la muestra: el libro y el PDF, uno al lado del otro. */
.muestra-columnas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.muestra-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.muestra-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.9rem 0 1rem;
}

.muestra-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

.muestra-card .notify-form {
  margin: 1.5rem 0 0;
  max-width: none;
}

.muestra-nota {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.muestra-nota a {
  color: var(--primary);
}

.muestra-descarga {
  margin-top: 1.5rem;
}

.muestra-volver {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.muestra-volver a {
  color: var(--primary);
  text-decoration: none;
}

.muestra-volver a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .muestra-columnas {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .navbar nav {
    gap: 0.75rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 3.5rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .chapter-head h1 {
    font-size: 1.7rem;
  }

  /* En el teléfono el texto va a sangre: cada píxel de ancho es una palabra más por línea. */
  .chapter {
    padding: 2rem 1.4rem;
    font-size: 1.04rem;
  }

  .muestra-card {
    padding: 2rem 1.4rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================================
   EL BLOG — lo que el cuerpo de una entrada necesita (17/10/2026)
   El formateador del blog (blog_formato.php) solo produce h2, h3, p, ul, ol,
   blockquote, a, strong, em y code: aquí se les da el aspecto del sitio.
   ========================================================================== */
.chapter h3 {
  font-size: 1.12rem;
  color: var(--text-main);
  margin: 1.8rem 0 0.7rem;
}
.chapter ul,
.chapter ol {
  margin: 0 0 1.2rem 1.4rem;
  color: var(--text-muted);
}
.chapter li { margin: 0.35rem 0; }
.chapter blockquote {
  margin: 1.3rem 0;
  padding: 0.9rem 1.2rem;
  border-left: 2px solid var(--primary);
  background: rgba(0, 242, 254, 0.06);
  border-radius: 0 10px 10px 0;
  color: var(--text-muted);
}
.chapter a { color: var(--primary); }
.chapter code {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.92em;
  color: var(--primary);
}
