html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 2.5rem 1rem 4rem;
  background: #fff;
  color: #363636;
  font-family: "Noto Sans", "Google Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.page {
  max-width: 860px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  margin: 0 0 0.4rem;
  font-family: "Google Sans", "Noto Sans", Helvetica, Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #363636;
}

.subtitle {
  margin: 0 0 1.1rem;
  font-family: "Google Sans", "Noto Sans", Helvetica, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #4a4a4a;
}

.authors {
  margin: 0 0 1.1rem;
  font-family: "Google Sans", "Noto Sans", Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #363636;
}

.links {
  margin: 0;
  font-weight: 700;
}

a {
  color: #3273dc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h2 {
  margin: 2rem 0 0.75rem;
  font-family: "Google Sans", "Noto Sans", Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #363636;
}

p,
li {
  margin: 0 0 0.85rem;
}

.todo {
  color: #7a7a7a;
  font-style: italic;
}

figure {
  margin: 1.25rem 0;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
}

figure.figure-half img {
  width: 50%;
  margin: 0 auto;
}

figcaption {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: #4a4a4a;
  text-align: center;
}

code {
  font-size: 0.92em;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid #dbdbdb;
  text-align: left;
}

th {
  font-weight: 700;
}

td:not(:first-child),
th:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.chart {
  margin-top: 1.25rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr 2.5rem;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.track {
  height: 0.65rem;
  background: #ededed;
}

.fill {
  height: 100%;
  background: #3273dc;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.7rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .bar-row {
    grid-template-columns: 1fr;
  }
}
