/* ============================================
   Heyman Forge — Base Styles
   Reset, Variables, Typography
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Colors */
  --bg: #fafaf8;
  --text: #1a1a1a;
  --accent: #1a3a5c;
  --highlight: #d4a853;
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.06);
  --border: #e8e6e1;
  --text-muted: #6b6860;

  /* Stage colors */
  --stage-discover: #2d6a9f;
  --stage-design: #4a8c5c;
  --stage-build: #c4842d;
  --stage-validate: #9c4d6b;
  --stage-launch: #d45b3e;
  --stage-scale: #6b5fa8;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Spacing */
  --section-gap: 8rem;
  --content-width: 960px;
  --content-padding: 2rem;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  font-size: 1.0625rem;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--highlight);
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.125rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.subhead {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
}

.accent-text {
  color: var(--highlight);
}

::selection {
  background-color: var(--highlight);
  color: var(--text);
}
