/* Modern Indie brand. Palette + typography. */
:root {
  --bg: #fafaf9;
  --bg-elev: #ffffff;
  --bg-code: #1c1917;
  --text: #1c1917;
  --text-muted: #57534e;
  --text-on-dark: #fafaf9;
  --accent: #0f766e;
  --accent-hover: #14b8a6;
  --border: #e7e5e4;
  --border-strong: #d6d3d1;

  --font-sans: "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --pad-xs: 8px;
  --pad-sm: 12px;
  --pad-md: 16px;
  --pad-lg: 24px;
  --pad-xl: 48px;

  --max-content: 1100px;
}

@font-face {
  font-family: "Inter";
  font-weight: 400;
  src: url("/fonts/Inter-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  src: url("/fonts/Inter-Medium.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  src: url("/fonts/Inter-SemiBold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  font-weight: 700;
  src: url("/fonts/Inter-Bold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 500;
  src: url("/fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-display: swap;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

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

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

h1, h2, h3, h4 { color: var(--text); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: 2.5rem; margin: 0 0 var(--pad-md); }
h2 { font-size: 1.875rem; margin: var(--pad-xl) 0 var(--pad-md); }
h3 { font-size: 1.25rem; margin: var(--pad-lg) 0 var(--pad-sm); }

code, pre { font-family: var(--font-mono); }
code { font-size: 0.9em; }
