/* Minimal stylesheet for cmccoy.us — single-page personal site. */

:root {
  --fg: #1a1a1a;
  --bg: #fdfdfd;
  --muted: #555;
  --link: #1a6eff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e8e8e8;
    --bg: #16181c;
    --muted: #9aa0a6;
    --link: #5b9dff;
  }
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
}

main {
  max-width: 38rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 6rem;
}

h1 {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

p {
  margin: 0 0 1.1rem;
}

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

a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 1.2rem;
  margin: 1.5rem 0 0;
}

li {
  margin: 0.3rem 0;
}
