/* Reset + design tokens */

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

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f4f1;
  --color-text: #1c1c1a;
  --color-text-muted: #5c5b57;
  --color-border: #e2e0da;
  --color-accent: #1d5f8a;
  --color-accent-dark: #124259;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;

  --max-width: 68rem;
  --radius: 0.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #14161a;
    --color-bg-alt: #1c1f24;
    --color-text: #eceeef;
    --color-text-muted: #a7acb3;
    --color-border: #2c3038;
    --color-accent: #6fb3dd;
    --color-accent-dark: #9ccbe8;
  }
}

html {
  color-scheme: light dark;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--color-accent);
}

a:hover,
a:focus {
  color: var(--color-accent-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}
