/* PolyQuant AI — minimal starting point. Clean, typographic, restrained.
   Design direction: aperiodic.io, raindrop.ai. Reshape freely. */

:root {
  --ink: #1a1a1a;
  --muted: #5b5b5b;
  --line: #e4e4e4;
  --bg: #fcfcfa;
  --accent: #1a1a1a;
  --maxw: 46rem;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink); letter-spacing: -0.01em; }
.brand span { color: var(--muted); font-weight: 400; }

.site-header nav { display: flex; gap: 1.25rem; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover { color: var(--ink); }

.content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 1.5rem 0 1rem; }
h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }

p { margin: 1rem 0; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.hero { padding: 2rem 0 1rem; }
.hero h1 { font-size: 2.6rem; max-width: 18ch; }
.hero .lede { font-size: 1.25rem; color: var(--muted); max-width: 40ch; }
.hero .cta { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.hero .cta a { font-weight: 600; text-decoration: none; }

table { border-collapse: collapse; width: 100%; font-size: 0.9rem; margin: 1.5rem 0; }
th, td { border: 1px solid var(--line); padding: 0.4rem 0.6rem; text-align: left; }
th { background: #f3f3f1; }

img { max-width: 100%; height: auto; }
hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }
blockquote { border-left: 3px solid var(--line); margin: 1rem 0; padding: 0.25rem 1rem; color: var(--muted); }

.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer a { color: var(--muted); }
