/* Core — variables, reset, typography, footer, section animation */

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

:root {
  /* Light theme — unified with GenesisSeedV2 palette (2026-05-24) */
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-raised: #f5f3ee;
  --border: #e4e2dd;
  --border-lit: #c8c3b8;
  --text: #2c2c2c;
  --text-dim: #777777;
  --text-bright: #1a1a1a;
  --text-white: #000000;
  /* Vertex palette — unified with GenesisSeedV2 */
  --diff: #b06840;
  --conn: #3d7ab5;
  --bound: #558a3e;
  --arch: #a89030;
  /* Aliases for satellite page compatibility */
  --differentiation: var(--diff);
  --connection: var(--conn);
  --boundaries: var(--bound);
  --architecture: var(--arch);
  --font-body: Georgia, 'Times New Roman', serif;
  --font-nav: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --sidebar-w: 200px;
  --content-max: 780px;
  --content-pad: 56px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-lit); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* Section fade-in */
.section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  margin-bottom: 80px;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Typography */
h1 {
  font-size: 36px;
  color: var(--text-white);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
h2 {
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
h3 {
  font-size: 22px;
  color: var(--text-bright);
  font-weight: 400;
  margin-bottom: 12px;
}
h4 {
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* Tagline */
.tagline {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 6px;
  margin-bottom: 32px;
}

/* Premise box */
.premise-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-lit);
  padding: 24px 28px;
  border-radius: 4px;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-top: 16px;
}

/* Highlight element */
.highlight-block {
  background: var(--surface-raised);
  border: 1px solid var(--border-lit);
  padding: 20px 28px;
  border-radius: 6px;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  color: var(--text-bright);
  letter-spacing: 4px;
  margin: 28px 0;
}

/* Footer */
.footer {
  margin-top: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-lineage {
  font-family: var(--font-nav);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.footer-pattern {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--border-lit);
  letter-spacing: 1px;
}
.footer-tagline {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 8px;
  letter-spacing: 4px;
}
