:root {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #334155;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  font-size: 1rem;
  line-height: 1.7;
}

h1,
h2 {
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  margin: 1.5rem 0 0.75rem;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.35rem;
}

p,
ul,
ol {
  margin: 1rem 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

li {
  margin: 0.35rem 0;
}

a {
  color: #4b5add;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #3f4dca;
}
