/* Sovereign Labs — Minimal, sovereign, clean */

:root {
  --bg: #0a0a0a;
  --fg: #e8e8e8;
  --accent: #4a9eff;
  --muted: #888;
  --border: #222;
  --max-width: 800px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  font-size: 17px;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

.site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }

/* Main */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0;
}

.hero-logo {
  height: 150px;
  width: auto;
  margin-bottom: 1.5rem;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero .tagline { font-size: 1.3rem; color: var(--accent); margin-bottom: 1rem; }
.hero .description { color: var(--muted); font-size: 1.1rem; }
.hero .sub-tagline { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; letter-spacing: 2px; text-transform: uppercase; }
.section-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }

/* Content */
.content h2 { margin: 2rem 0 0.5rem; color: var(--accent); }
.content h3 { margin: 1.5rem 0 0.5rem; color: var(--accent); }
.content p { margin-bottom: 1rem; }
.content ul, .content ol { margin: 0 0 1rem 1.5rem; }
.content code { background: #1a1a1a; padding: 0.2em 0.4em; border-radius: 3px; font-size: 0.9em; }
.content pre { background: #1a1a1a; padding: 1rem; border-radius: 6px; overflow-x: auto; margin-bottom: 1rem; }
.content pre code { background: none; padding: 0; }
.content blockquote { border-left: 3px solid var(--accent); padding-left: 1rem; color: var(--muted); margin-bottom: 1rem; }

/* Page */
.page h1, .blog-post h1 { font-size: 2rem; margin-bottom: 0.5rem; color: var(--accent); }
.subtitle { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }
.meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.tag { background: #1a1a1a; padding: 0.2em 0.6em; border-radius: 3px; font-size: 0.85em; margin-left: 0.3em; }

/* List */
.list-page h1 { margin-bottom: 2rem; color: var(--accent); }
.list-page h2 { margin: 2rem 0 0.5rem; color: var(--accent); }
.list-page h3 { margin: 1.5rem 0 0.5rem; color: var(--accent); }
.list-item { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.list-item h2 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.list-item time { color: var(--muted); font-size: 0.9rem; }
.list-item p { color: var(--muted); margin-top: 0.5rem; }

/* Products */
.products-preview { margin-top: 3rem; }
.products-preview h2 { margin-bottom: 0.5rem; color: var(--accent); }
.product-card { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.product-card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.product-card p { color: var(--muted); }

/* Recent posts */
.recent-posts { margin-top: 3rem; }
.recent-posts h2 { margin-bottom: 1.5rem; color: var(--accent); }
.recent-posts article { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.recent-posts h3 { font-size: 1.1rem; }
.recent-posts time { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p + p { margin-top: 0.3rem; }

/* Responsive */
@media (max-width: 600px) {
  .site-header nav { flex-direction: column; gap: 0.5rem; }
  .hero h1 { font-size: 1.8rem; }
  main { padding: 2rem 1rem; }
}
