:root {
  --background: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #dddddd;
  --link: #0645ad;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.55;
}

body {
  margin: 0;
}

.page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

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

.site-header {
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.site-header h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
}

.site-header h1 a {
  color: var(--text);
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 16px;
}

nav a {
  color: var(--text);
}

section {
  margin: 0 0 34px;
}

.intro {
  margin-bottom: 38px;
}

h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.article-header {
  margin-bottom: 32px;
}

.article-header h1 {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.12;
}

.article-kicker,
.subtitle,
.article-header time,
figcaption,
.notes {
  color: var(--muted);
}

.article-kicker {
  margin-bottom: 8px;
  font-size: 15px;
}

.subtitle {
  font-size: 21px;
}

article h2 {
  margin-top: 34px;
}

blockquote {
  margin: 22px 0;
  padding-left: 18px;
  border-left: 3px solid var(--line);
  color: #333333;
}

figure {
  margin: 24px 0;
}

img {
  max-width: 100%;
  height: auto;
}

figcaption {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.45;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.35;
}

th,
td {
  padding: 9px 10px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

th {
  font-weight: 700;
}

.compact-table table {
  min-width: 560px;
}

.notes {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.notes h2 {
  margin-top: 0;
  font-size: 18px;
}

.notes li {
  margin-bottom: 12px;
}

p {
  margin: 0 0 14px;
}

.list {
  margin: 0;
  padding-left: 22px;
}

.list li {
  margin: 0 0 8px;
}

.list span,
.list time,
footer {
  color: var(--muted);
}

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

footer {
  margin-top: 44px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

@media (max-width: 600px) {
  html {
    font-size: 17px;
  }

  .page {
    width: min(100% - 24px, 760px);
    padding-top: 20px;
  }

  .site-header {
    margin-bottom: 30px;
  }

  .article-header h1 {
    font-size: 32px;
  }
}
