/* DepoPin Enterprise Documentation — Zero-Backend Static Stylesheet */
:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #0F172A;
  --muted: #475569;
  --brand: #2563EB;
  --brand-soft: rgba(37, 99, 235, 0.08);
  --accent: #0284C7;
  --code-bg: #F1F5F9;
}
html[data-theme="dark"] {
  --bg: #0B1120;
  --surface: #111827;
  --border: #1E293B;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --brand: #3B82F6;
  --brand-soft: rgba(59, 130, 246, 0.14);
  --accent: #38BDF8;
  --code-bg: #1E293B;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.docs-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.docs-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.docs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}
.docs-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}
.docs-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.docs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.docs-btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}
.docs-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 72px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
}
.docs-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}
.docs-nav-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 10px;
  padding: 0 10px;
}
.docs-nav-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.docs-nav-link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.docs-nav-link:hover {
  color: var(--text);
  background: var(--code-bg);
}
.docs-nav-link.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}
.docs-article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
}
.docs-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  margin-bottom: 8px;
}
.docs-article h1 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.docs-lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
}
.docs-article h2 {
  margin: 32px 0 12px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.docs-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.docs-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--bg);
}
.docs-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}
.docs-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.docs-steps {
  padding-left: 20px;
}
.docs-steps li {
  margin-bottom: 10px;
}
.docs-callout {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
}
.docs-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.docs-footer a { color: var(--muted); text-decoration: none; }
.docs-footer a:hover { color: var(--text); }
.logo-light { display: inline-block; }
.logo-dark { display: none; }
html[data-theme="dark"] .logo-light { display: none; }
html[data-theme="dark"] .logo-dark { display: inline-block; }
@media (max-width: 860px) {
  .docs-layout { grid-template-columns: 1fr; gap: 24px; padding: 20px 16px 48px; }
  .docs-sidebar { position: static; }
  .docs-article { padding: 24px 20px; }
}
