/* notes — minimal stylesheet */
:root {
  --fg: #1c1c1c;
  --muted: #6a6a6a;
  --bg: #fafafa;
  --link: #1a4280;
  --rule: #e3e3e3;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body {
  max-width: 38rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

header .sub {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

article {
  margin-bottom: 2.25rem;
}

article h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

article h2 a {
  color: var(--fg);
  text-decoration: none;
}

article h2 a:hover {
  text-decoration: underline;
}

article .meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
  font-variant-numeric: tabular-nums;
}

article p {
  margin: 0 0 0.75rem;
}

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

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: #ececec;
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}
