/* harshithakamma.com — Style C Hybrid Editorial design tokens
 * Copy this file verbatim into each repo's styles/tokens.css.
 * Single source of truth lives in _shared/tokens.css (this file).
 */

:root {
  /* Background scale (warm cream) */
  --bg-page: #FFFAF1;
  --bg-card: #FFFFFF;
  --bg-code: #1E1B16;
  --bg-subtle: #F0E8D8;

  /* Text scale */
  --text-primary: #1E1B16;
  --text-body: #2A2521;
  --text-secondary: #4A4239;
  --text-muted: #6B6157;
  --text-faint: #8A7D6C;

  /* Accent (terracotta) */
  --accent: #B45309;
  --accent-deep: #7A3A08;

  /* Borders */
  --border: #E8E0D3;
  --border-soft: #E8DCC7;

  /* Type scale (px) */
  --fs-eyebrow: 11.5px;
  --fs-body: 16px;
  --fs-lede: 18px;
  --fs-h3: 22px;
  --fs-h2: 30px;
  --fs-h1: 48px;
  --fs-hero: 56px;

  /* Type families */
  --ff-serif: 'Lora', Georgia, 'Iowan Old Style', serif;
  --ff-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Spacing */
  --max-prose: 720px;
  --max-page: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
code, pre { font-family: var(--ff-mono); }
