:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #dddddd;
  --link: #111111;
  --max-width: 36rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
  line-height: 1.65;
}

.page {
  width: min(100% - 2rem, var(--max-width));
  margin: 4rem auto;
}

.intro {
  margin-bottom: 3rem;
}

h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

section {
  margin: 2rem 0;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: lowercase;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  margin: 0.45rem 0;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.desc,
time {
  color: var(--muted);
}

.desc::before,
time::before {
  content: " — ";
  color: var(--muted);
}

.footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 520px) {
  .page {
    margin: 2rem auto;
  }

  .desc,
  time {
    display: block;
    margin-left: 1rem;
  }

  .desc::before,
  time::before {
    content: "";
  }
}
