:root {
  /* Brand colors — aligned with Posit logomark */
  --posit-blue: #447099;
  --posit-orange: #ee6331;
  --posit-navy: #213d4f;
  --posit-teal: #297075;
  --posit-light-blue: #e5f0fc;

  /* Flightdeck tokens */
  --posit-gray-bg: #f4f4f4;
  --posit-border: #dedede;
  --posit-text-muted: #7c7c7c;
  --posit-link-hover: #3276b5;

  /* Grays */
  --posit-gray-100: #f5f5f5;
  --posit-gray-900: #111827;

  /* Typography */
  --font-body: "Open Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "Source Code Pro", ui-monospace, monospace;

  /* Layout */
  --max-width: 1280px;
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--posit-gray-900);
  line-height: 1.6;
  background: var(--posit-gray-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--posit-blue);
  text-decoration: none;
}

a:hover {
  color: var(--posit-link-hover);
  text-decoration: underline;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--posit-gray-100);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
}

pre code {
  background: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
