/* Base CSS - Variables, Reset, Body Styling */

:root {
  --primary: #ffffff;
  --primary-foreground: #0a0a0a;
  --text-primary: #f3f3f3;
  --text-secondary: #b3b3b3;
  --text-tertiary: #8a8a8a;
  --background: #0a0a0a;
  --surface: #141414;
  --surface-hover: #1c1c1c;
  --border: #2a2a2a;
  --border-hover: #3a3a3a;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --grid-color: rgba(255, 255, 255, 0.04);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--background);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Line-height modifier for home.html which uses 1.5 instead of 1.6 */
body.line-height-compact {
  line-height: 1.5;
}
