/* ================================================================
   IRIDUM — DOCS  ·  Palantir documentation dark
   ================================================================ */

.iridum-docs-page {
  background: #161C22; min-height: 100vh; padding: 40px 24px;
}
.iridum-docs-wrapper {
  max-width: 860px; margin: 0 auto; padding: 48px;
  background: #1C2127;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* Línea azul superior */
.iridum-docs-wrapper::before {
  content: ''; display: block;
  height: 1px; background: rgba(42,120,184,0.5);
  margin: -48px -48px 48px;
}

.iridum-docs-wrapper h1, .iridum-docs h1 {
  font-size: 22px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  margin: 0 0 8px; color: rgba(255,255,255,0.90);
}
.iridum-docs-wrapper h2, .iridum-docs h2 {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin: 32px 0 12px; color: rgba(255,255,255,0.90);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 8px;
}
.iridum-docs-wrapper h3, .iridum-docs h3 {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em;
  margin: 22px 0 8px; color: rgba(255,255,255,0.75);
}
.iridum-docs-wrapper p, .iridum-docs p {
  color: rgba(255,255,255,0.55); margin: 0 0 14px;
  font-size: 14px; font-weight: 300;
}
.iridum-docs-wrapper a, .iridum-docs a {
  color: rgba(106,186,240,0.80); text-decoration: none;
  transition: color 0.12s;
}
.iridum-docs-wrapper a:hover, .iridum-docs a:hover {
  color: rgba(106,186,240,1);
}
.iridum-docs-wrapper code, .iridum-docs code {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 1px 6px; border-radius: 2px;
  font-size: 12px; color: rgba(106,186,240,0.75);
  font-family: 'Fira Mono', monospace;
}
.iridum-docs-wrapper pre, .iridum-docs pre {
  background: #10141A; color: rgba(255,255,255,0.75);
  padding: 18px 20px; border-radius: 4px;
  overflow-x: auto; margin: 0 0 20px;
  font-size: 12px; line-height: 1.6;
  border: 1px solid rgba(255,255,255,0.06);
}
.iridum-docs-wrapper pre code, .iridum-docs pre code {
  background: none; border: none; padding: 0; color: inherit;
}
.iridum-docs-wrapper ul, .iridum-docs ul {
  color: rgba(255,255,255,0.55); padding-left: 0; margin: 0 0 14px;
  list-style: none;
}
.iridum-docs-wrapper ul li, .iridum-docs ul li {
  padding: 4px 0 4px 16px; position: relative; font-weight: 300;
}
.iridum-docs-wrapper ul li::before, .iridum-docs ul li::before {
  content: '–'; position: absolute; left: 0;
  color: rgba(255,255,255,0.20);
}

.sx-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px; margin: 20px 0;
}
.sx-doc-card {
  background: #252B33;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px; padding: 18px;
  cursor: pointer; transition: border-color 0.12s, background 0.12s;
}
.sx-doc-card:hover {
  background: #2E3440;
  border-color: rgba(255,255,255,0.12);
}
.sx-doc-card h4 {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 6px; color: rgba(255,255,255,0.80);
}
.sx-doc-card p { font-size: 12px; color: rgba(255,255,255,0.30); margin: 0; font-weight: 300; }

@media (max-width: 680px) { .iridum-docs-wrapper { padding: 24px 20px; } }
