/* core/site/base.css — venture-agnostic baseline (decision 0025).
   Text-first static pages: semantic HTML needs no classes. Ventures layer
   their own palette/identity on top; nothing venture-specific lives here. */

:root {
  --fg: #1a1a1a;
  --bg: #ffffff;
  --muted: #6b6b6b;
  --accent: #0b57d0;
  --measure: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root { --fg: #e8e8e8; --bg: #121212; --muted: #9a9a9a; --accent: #8ab4f8; }
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 3rem 1.25rem 6rem;
  max-width: var(--measure);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
}

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 1.9rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 0.25rem; }

p, ul, ol { margin: 0.75rem 0; }
li { margin: 0.25rem 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

small, .muted { color: var(--muted); }

hr { border: 0; border-top: 1px solid color-mix(in srgb, var(--fg) 15%, transparent);
     margin: 2.5rem 0; }

header nav a { margin-right: 1rem; }
footer { margin-top: 4rem; font-size: 0.9rem; color: var(--muted); }

@media (max-width: 480px) {
  body { padding: 2rem 1rem 4rem; font-size: 1rem; }
  h1 { font-size: 1.6rem; }
}
