@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/InterVariable.woff2") format("woff2");
}

:root {
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #e5e5e5;
  --link: #1d4ed8;
  --brand: #2a275e;
}

* { box-sizing: border-box; }

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

body {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  background: #fff;
  color: var(--text);
  font: 1rem/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss03";
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.site-title {
  display: block;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.site-title:hover { text-decoration: none; }
.site-title img { display: block; width: auto; height: 0.875rem; margin-bottom: 0.6rem; }
.contact { margin: 0.5rem 0 0; }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin-top: 0.9rem;
  border-bottom: 1px solid var(--rule);
}
nav a {
  margin-bottom: -1px;
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.9375rem;
  white-space: nowrap;
}
nav a:hover { color: var(--text); text-decoration: none; }
nav a[aria-current] { border-bottom-color: var(--brand); color: var(--brand); font-weight: 650; }

main { padding: 1.75rem 0 2.5rem; }

h1, h2 { margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
h1 { font-size: 1.5rem; font-weight: 650; }
h2 { font-size: 1.0625rem; font-weight: 650; }

.prose p, .prose ul, .prose ol, .prose table { margin: 0.9rem 0 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose table { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 0.3rem 1.5rem 0.3rem 0; border-bottom: 1px solid var(--rule); text-align: left; }
.prose th { color: var(--muted); font-size: 0.875rem; font-weight: 500; }

.back { display: inline-block; margin-bottom: 0.75rem; font-size: 0.875rem; }
.posted { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.875rem; }

.feed-heading { margin-top: 2rem; }
.feed { margin: 0.6rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.feed li { display: flex; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.feed time { flex: 0 0 7rem; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }

footer { color: var(--muted); font-size: 0.8125rem; }

@media (max-width: 26rem) {
  nav a span { display: none; }
}

@media (max-width: 30rem) {
  body { padding-top: 1.5rem; }
  .site-title { font-size: 1.125rem; }
  nav { gap: 0 1rem; }
  .feed li { flex-direction: column; gap: 0; }
  .feed time { flex: none; font-size: 0.875rem; }
}

.skip {
  position: absolute;
  left: -999rem;
}

.skip:focus {
  position: static;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.contact a { white-space: nowrap; }
