/* ============================================================
   DESIGN SYSTEM — tokens and base elements
   Placeholder palette and type until SiTech's own styles land.
   Light and dark themes follow the visitor's system setting.
   ============================================================ */

:root {
  /* Colour */
  --bg: #ffffff;
  --surface: #f4f5f7;
  --ink: #14161a;
  --ink-muted: #5a606b;
  --line: #e2e4e8;
  --accent: #2f6fed;
  --accent-ink: #ffffff;

  /* Type: system fonts for now; self-host WOFF2 under assets/fonts/ if a brand font is chosen */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: var(--font-body);

  /* Spacing */
  --sp-2: 8px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-20: 80px;
  --sp-24: 96px;

  --radius: 8px;
  --container: 1120px;
  --nav-h: 64px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a20;
    --ink: #eceef2;
    --ink-muted: #a0a6b1;
    --line: #2a2e36;
    --accent: #6b9bff;
    --accent-ink: #0f1115;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
}

a { color: var(--accent); }

img { max-width: 100%; height: auto; }
