/* Aligned with seshnova-website app/globals.css — dark shell, light text only. */
:root {
  --bg-primary: #0a0a0f;
  --bg-surface: rgba(255, 255, 255, 0.04);
  --bg-surface-hover: rgba(255, 255, 255, 0.07);
  --bg-elevated: #12121a;
  --accent-start: #6366f1;
  --accent-end: #06b6d4;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --code-bg: #1e293b;
  --code-text: #e2e8f0;
  --link: #67e8f9;
  --link-hover: #a5f3fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.875rem 1.25rem;
}
.site-header-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
}
.site-logo span.accent {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: 1rem;
}
.site-nav a:hover {
  color: var(--text-primary);
}

.page-wrap {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.static-api-docs h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: var(--text-primary);
}
.static-api-docs h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}
.static-api-docs h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}
.static-api-docs p,
.static-api-docs li {
  color: var(--text-muted);
}
.static-api-docs strong {
  color: var(--text-primary);
}
.static-api-docs .meta {
  font-size: 0.875rem;
  color: var(--text-dim);
}
.static-api-docs code {
  font-size: 0.875em;
  background: var(--code-bg);
  color: var(--code-text);
  padding: 0.12em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}
.operation {
  margin: 1.25rem 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}
.operation:last-child {
  border-bottom: none;
}
.operation .summary {
  color: var(--text-primary);
}
.operation .tags {
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.static-api-docs .tag {
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
}
.btn-outline {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.45);
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.12);
  font-size: 0.875rem;
  font-weight: 600;
}
.btn-outline:hover {
  background: rgba(99, 102, 241, 0.22);
  text-decoration: none;
  color: var(--text-primary);
}

#interactive-reference {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
#interactive-reference > h2,
#interactive-reference > p {
  padding: 0 1.25rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
#interactive-reference > h2 {
  color: var(--text-primary);
}
#interactive-reference > p {
  color: var(--text-muted);
  font-size: 0.875rem;
}
#redoc-container {
  background: var(--bg-primary);
}
