/* ============================================================
   styles-new.css
   Roger — Better Systems Website
   "Don't Build Better Band-Aids. Build Better Systems."
   ============================================================ */

/* ============================================================
   1. RESET & BASE
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: var(--sc-bg);
  color: var(--sc-text);
  transition: background 0.25s ease, color 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* Keeps anchor links from hiding behind the sticky navigation */
section,
[id] {
  scroll-margin-top: 90px;
}

/* ============================================================
   2. COLOR SYSTEM — LIGHT + DARK
   ============================================================ */
:root {
  --sc-bg: #ffffff;
  --sc-text: #1f2937;
  --sc-card-bg: #f9fafb;
  --sc-nav-bg: #ffffff;
  --sc-bg-soft: #f8fafc;
  --sc-border: #e5e7eb;
  --sc-gray-300: #e2e8f0;
  --sc-muted: #475569;
  --sc-primary: #0057d9;
  --sc-primary-hover: #0047b5;
  --sc-accent: #f59e0b;
  --sc-highlight-bg: #e0f2fe;
  --sc-highlight-border: #0284c7;
  --sc-shadow: 0 2px 6px rgba(0,0,0,0.06);
  --sc-shadow-hover: 0 6px 16px rgba(0,0,0,0.12);
}

[data-theme="dark"] {
  --sc-bg: #0f172a;
  --sc-text: #f1f5f9;
  --sc-card-bg: #1e293b;
  --sc-nav-bg: #0f172a;
  --sc-bg-soft: #1a2333;
  --sc-border: #334155;
  --sc-gray-300: #475569;
  --sc-muted: #cbd5e1;
  --sc-primary: #3b82f6;
  --sc-primary-hover: #2563eb;
  --sc-accent: #fbbf24;
  --sc-highlight-bg: #1e3a5f;
  --sc-highlight-border: #60a5fa;
  --sc-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.nav-links a {
  color: var(--sc-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;

  padding: 8px 14px;
  border-radius: 6px;

  transition: all 0.2s ease;
}