/* TekCapitol Docs / Developers (static HTML) */
:root {
  --docs-bg: #030712;
  --docs-ink: #0a1020;
  --docs-panel: #0f172a;
  --docs-line: #1e293b;
  --docs-soft: #94a3b8;
  --docs-muted: #64748b;
  --docs-white: #f1f5f9;
  --docs-accent: #22d3ee;
  --docs-blue: #93c5fd;
  --docs-warn: #fbbf24;
  --docs-mono: "Space Mono", ui-monospace, monospace;
  --docs-sans: "Manrope", system-ui, sans-serif;
  --docs-max: 1120px;
  --docs-sidebar: 240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--docs-bg);
  color: var(--docs-white);
  font-family: var(--docs-sans);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}
a { color: var(--docs-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.docs-shell { max-width: var(--docs-max); margin: 0 auto; padding: 0 1.25rem 3rem; }
.site-nav {
  border-bottom: 1px solid var(--docs-line);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.site-nav-brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #e2e8f0;
  text-decoration: none;
}
.site-nav-brand span { color: #3b82f6; }
.docs-layout {
  display: grid;
  grid-template-columns: var(--docs-sidebar) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 860px) {
  .docs-layout { grid-template-columns: 1fr; }
}
.docs-side {
  position: sticky;
  top: 1rem;
  background: var(--docs-ink);
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  padding: 1rem 0.9rem;
}
@media (max-width: 860px) {
  .docs-side { position: static; }
}
.docs-side-label {
  font-family: var(--docs-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--docs-accent);
  margin-bottom: 0.75rem;
}
.docs-side nav a {
  display: block;
  font-size: 0.88rem;
  color: var(--docs-soft);
  padding: 0.35rem 0.4rem;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 0.15rem;
}
.docs-side nav a:hover,
.docs-side nav a.active {
  color: var(--docs-white);
  background: rgba(34, 211, 238, 0.08);
  text-decoration: none;
}
.docs-side .raw {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--docs-line);
  font-family: var(--docs-mono);
  font-size: 0.68rem;
  color: var(--docs-muted);
  line-height: 1.5;
}
.docs-main { min-width: 0; }
.docs-eyebrow {
  font-family: var(--docs-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--docs-accent);
  margin-bottom: 0.65rem;
}
.docs-main h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.docs-lede {
  color: var(--docs-soft);
  font-size: 1.05rem;
  max-width: 42rem;
  margin-bottom: 1.5rem;
}
.docs-claim {
  background: linear-gradient(145deg, #0a1628 0%, #0f172a 60%);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.75rem;
}
.docs-claim strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: #e2e8f0;
}
.docs-claim p { color: var(--docs-soft); font-size: 0.95rem; margin: 0; }
.docs-main h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.02em;
}
.docs-main h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.35rem 0 0.45rem;
  color: #e2e8f0;
}
.docs-main p { color: var(--docs-soft); margin-bottom: 0.9rem; max-width: 44rem; }
.docs-main ul, .docs-main ol {
  color: var(--docs-soft);
  margin: 0 0 1rem 1.2rem;
  max-width: 44rem;
}
.docs-main li { margin-bottom: 0.4rem; }
.docs-main li strong { color: #e2e8f0; }
.docs-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.25rem;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
}
.docs-main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.docs-main th, .docs-main td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--docs-line);
  vertical-align: top;
}
.docs-main th {
  font-family: var(--docs-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--docs-muted);
  background: var(--docs-panel);
}
.docs-main td { color: var(--docs-soft); }
.docs-main td code, .docs-main p code, .docs-main li code {
  font-family: var(--docs-mono);
  font-size: 0.82em;
  color: #67e8f9;
  background: rgba(15, 23, 42, 0.9);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}
.docs-main pre {
  background: var(--docs-panel);
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font-family: var(--docs-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0.75rem 0 1.25rem;
  max-width: 100%;
}
.docs-note {
  border-left: 3px solid var(--docs-warn);
  background: rgba(251, 191, 36, 0.06);
  padding: 0.75rem 1rem;
  margin: 1rem 0 1.5rem;
  color: var(--docs-soft);
  font-size: 0.92rem;
  max-width: 44rem;
}
.docs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 1.75rem;
}
.docs-card {
  background: var(--docs-ink);
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  display: block;
  color: inherit;
}
.docs-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  text-decoration: none;
}
.docs-card-kicker {
  font-family: var(--docs-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--docs-accent);
  margin-bottom: 0.35rem;
}
.docs-card h2 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
  color: #f8fafc;
}
.docs-card p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--docs-muted);
}
.docs-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.75rem;
}
.docs-btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  border-radius: 4px;
  text-decoration: none;
}
.docs-btn:hover { text-decoration: none; }
.docs-btn-primary { background: #0891b2; color: #fff; }
.docs-btn-ghost {
  border: 1px solid var(--docs-line);
  color: var(--docs-soft);
  background: transparent;
}
.docs-footer-note {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--docs-line);
  font-size: 0.85rem;
  color: var(--docs-muted);
  max-width: 44rem;
}
[data-tc-footer] { margin-top: 2rem; }
