@font-face {
  font-family: "et-book";
  src: url("https://edwardtufte.github.io/et-book/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "et-book";
  src: url("https://edwardtufte.github.io/et-book/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  background: #fffff8;
  color: #111;
  margin: 0;
}

body {
  font-family: "et-book", Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.5;
  max-width: 740px;
  margin: 3rem auto 5rem;
  padding: 0 1.5rem;
}

header {
  margin-bottom: 3rem;
  border-bottom: 1px solid #111;
  padding-bottom: 0.75rem;
}

h1 {
  font-weight: normal;
  font-style: italic;
  font-size: 2rem;
  margin: 0 0 0.1rem;
  letter-spacing: 0.01em;
}

.sub {
  color: #555;
  font-style: italic;
  font-size: 0.95rem;
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

th, td {
  text-align: left;
  padding: 0.4rem 1rem 0.4rem 0;
  vertical-align: top;
}

th {
  font-weight: normal;
  font-style: italic;
  font-size: 0.88rem;
  color: #555;
  border-bottom: 1px solid #111;
  padding-bottom: 0.3rem;
}

tbody tr + tr td {
  border-top: 1px dotted #ccc;
}

td.num, th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

td.type {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
  white-space: nowrap;
}

a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover { color: #555; }

.desc {
  color: #333;
}

footer {
  margin-top: 4rem;
  padding-top: 0.5rem;
  border-top: 1px solid #ccc;
  color: #888;
  font-style: italic;
  font-size: 0.85rem;
}
