:root {
  /* Ink base, warm neutral surfaces, git-diff accent pair */
  --colour-primary: #14110F;      /* Ink — near-black, warm not cool */
  --colour-secondary: #B45309;    /* Amber-copper — links, secondary actions */
  --colour-accent: #15803D;       /* Diff green — additions, primary signal */
  --colour-accent-removed: #B91C1C; /* Diff red — used sparingly in the signature visual */
  --colour-accent-on-dark: #4ADE80;         /* Diff green, dark-surface tint (signature visual only) */
  --colour-accent-removed-on-dark: #F87171; /* Diff red, dark-surface tint (signature visual only) */

  --colour-bg-main: #FBFAF8;      /* Warm off-white, not clinical zinc */
  --colour-bg-surface: #FFFFFF;
  --colour-border: #E6E1D8;

  --colour-text-main: #1C1917;
  --colour-text-muted: #78716C;

  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --radius: 4px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--colour-text-main);
  background-color: var(--colour-bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--colour-secondary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}
