:root {
  /* Brand */
  --primary: #6bcbf5;
  --primary-dark: #2494c1;

  /* Professional neutrals (key change) */
  --bg: #0f172a;          /* deep slate background (optional dark-leaning base) */
  --surface: #111c2e;     /* cards / sections */
  --surface-2: #162235;   /* hover / alt surfaces */

  --text: #e5e7eb;        /* primary text */
  --muted: #94a3b8;       /* secondary text */

  /* Lines / structure */
  --border: rgba(255,255,255,0.08);
}

/* Base */
body {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.7;

  background: var(--bg);
  color: var(--text);
}

/* Headings */
h1, h2, h3 {
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4em;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

/* Code blocks */
code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--text);
}

pre {
  background: var(--surface);
  padding: 14px;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid var(--border);
}

pre code {
  background: none;
}

/* Blockquote */
blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 14px;
  color: var(--muted);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

thead {
  background: var(--surface-2);
}

/* Subtle professionalism boost */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 24px;

  background: rgba(17, 28, 46, 0.85); /* matches your surface */
  backdrop-filter: blur(10px);        /* modern “glass” feel */
  border-bottom: 1px solid var(--border);
}

/* Logo */
.site-header .logo a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Nav */
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 0.95em;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

/* Optional: active page highlight */
.site-nav a.active {
  color: var(--primary);
}

.site-footer {
  margin-top: 60px;
  padding: 24px 0;

  border-top: 1px solid var(--border);
  background: transparent;

  color: var(--muted);
  font-size: 0.9em;
  text-align: center;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--primary);
}

/* Optional: footer layout grouping */
.footer-links {
  margin-bottom: 10px;
}
