:root {
  --bg: #0a0f1a;
  --surface: #0f172a;
  --surface-2: #1e293b;
  --text: #f1f5f9;
  --text-2: #94a3b8;
  --border: #334155;
  --accent: #60a5fa;
  --accent-hover: #93c5fd;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, Outfit, system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner,
.page-wrap,
.site-footer-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand span { color: var(--accent); }

.header-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.page-wrap { padding: 2rem 1.25rem 3rem; }

.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
}

.doc-card h1 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.meta {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.doc-card h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.doc-card p {
  margin-bottom: 0.75rem;
  color: var(--text);
}

.doc-card p:last-child { margin-bottom: 0; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0 2rem;
  color: var(--text-2);
  font-size: 0.85rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 560px) {
  .doc-card { padding: 1.25rem 1rem; }
  .site-header-inner { flex-direction: column; align-items: flex-start; padding-top: 0.75rem; padding-bottom: 0.75rem; }
}
