/* Piramidum · web estática. Misma paleta que la app (fondo morado oscuro, acentos oro/naranja). */
:root {
  --bg-top: #261a33;
  --bg-bottom: #0d0a17;
  --panel: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --text: #f3eef8;
  --muted: rgba(243, 238, 248, 0.65);
  --gold: #ffd23f;
  --orange: #ff8a00;
}

* { box-sizing: border-box; }

html { background: var(--bg-bottom); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--gold); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 0;
}
header.top a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: 2px; }
/* El logo es tinta oscura sobre transparente: va sobre una pastilla clara. */
header.top a.brand img { height: 28px; width: auto; padding: 6px 10px; background: #f3eef8; border-radius: 10px; box-sizing: content-box; }
header.top nav { display: flex; gap: 16px; font-size: 14px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover { color: var(--text); }

.hero { text-align: center; padding: 56px 0 40px; }
/* El logo con la tinta en claro (img/logo_piramidum_claro.png) para el fondo oscuro. */
.hero h1 { margin: 0 0 12px; line-height: 0; }
.hero h1 img { width: min(403px, 100%); height: auto; filter: drop-shadow(0 0 24px rgba(120, 200, 160, 0.35)); }
.hero p.tag { margin: 8px 0 28px; color: var(--muted); font-size: 18px; }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.badge {
  display: inline-block; padding: 12px 22px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-weight: 700;
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; padding: 24px 0 56px; }
.feature { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.feature h2 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

article.doc { padding: 16px 0 56px; }
article.doc h1 { font-size: 28px; margin: 16px 0 4px; }
article.doc h2 { font-size: 19px; margin: 28px 0 8px; }
article.doc p.updated { color: var(--muted); font-size: 14px; margin-top: 0; }
article.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
article.doc th, article.doc td { text-align: left; padding: 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
article.doc .scroll { overflow-x: auto; }

footer.bottom { border-top: 1px solid var(--border); padding: 20px 0 32px; color: var(--muted); font-size: 13px; }
footer.bottom a { color: var(--muted); margin-right: 14px; }
