/* AbsentFoot, direction 1a Blaze: ink, base, blaze. System type; serif for
   note words only. No webfont, no script, nothing from another host. */

:root {
  color-scheme: light dark;
  --base: #ffffff;
  --ink: #000000;
  --ink-dim: rgba(60, 60, 67, 0.60);
  --separator: rgba(60, 60, 67, 0.14);
  --blaze: #DA291C;
}

@media (prefers-color-scheme: dark) {
  :root {
    --base: #000000;
    --ink: #ffffff;
    --ink-dim: rgba(235, 235, 245, 0.60);
    --separator: rgba(235, 235, 245, 0.12);
    --blaze: #FF4E30;
  }
}

html {
  background: var(--base);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

header, nav, main, footer {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  padding-top: 40px;
}

.name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  color: var(--ink);
  text-decoration: none;
}

.name::before {
  content: "";
  width: 26px;
  height: 9px;
  border-radius: 1.5px;
  background: var(--blaze);
  flex: none;
}

nav {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

nav a {
  color: var(--ink-dim);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

h1 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  margin: 48px 0 16px;
}

h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  margin: 40px 0 8px;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

a {
  color: var(--ink);
  text-underline-offset: 2px;
}

.lede {
  font-size: 20px;
  line-height: 28px;
}

.dim {
  color: var(--ink-dim);
}

.notes {
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.notes li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 20px;
}

.notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px;
  height: 9px;
  border-radius: 1.5px;
  background: var(--blaze);
}

.words {
  display: block;
  font-family: ui-serif, "New York", Georgia, serif;
}

.ago {
  display: block;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}

hr {
  border: 0;
  border-top: 1px solid var(--separator);
  margin: 40px 0;
}

footer {
  margin-top: 64px;
  padding-bottom: 48px;
  font-size: 15px;
  line-height: 20px;
  color: var(--ink-dim);
}

footer a {
  color: var(--ink-dim);
}
