:root {
  color-scheme: light;
  font-family: 'Fredoka', ui-rounded, system-ui, sans-serif;
  color: #3b2330;
  background: #13163a;
}
@font-face {
  font-family: 'Fredoka';
  src: url('/fonts/fredoka-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
body {
  margin: 0;
  padding: 2rem 1rem;
}
main {
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.5rem 1.6rem;
  background: #fcf3df;
  border-radius: 1.2rem;
  line-height: 1.55;
}
h1 {
  margin: 0 0 0.5rem;
  color: #c2332a;
}
h2 {
  margin: 1.4rem 0 0.3rem;
  font-size: 1.15rem;
  color: #1e5638;
}
.lead {
  font-weight: 600;
}
a {
  color: #1e5638;
}
.back {
  margin-top: 1.6rem;
}
.updated {
  margin-top: -0.4rem;
  font-size: 0.9rem;
  color: #6a4a50;
}
h2 {
  scroll-margin-top: 1rem;
}
/* What we collect: four columns where there's room, one card a row on a phone. */
table.data {
  width: 100%;
  margin: 0.8rem 0;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
}
.data th,
.data td {
  padding: 0.65rem 0.6rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e6d3ae;
}
.data thead th {
  color: #1e5638;
  border-bottom: 2px solid #1e5638;
}
.data .group th {
  padding-top: 1.3rem;
  color: #c2332a;
  font-size: 0.95rem;
  border-bottom: 1px solid #c2332a;
}
.data td:first-child {
  width: 34%;
}
.data td:nth-child(3) {
  width: 18%;
}
/* A wider card where there's room, so the table's four columns can breathe. */
@media (min-width: 64rem) {
  main {
    max-width: 46rem;
  }
}
@media (max-width: 40rem) {
  .data,
  .data tbody,
  .data tr,
  .data th,
  .data td {
    display: block;
    width: auto;
  }
  .data thead {
    display: none;
  }
  .data tr {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e6d3ae;
  }
  .data td,
  .data td:first-child,
  .data td:nth-child(3) {
    width: auto;
    padding: 0.15rem 0;
    border: 0;
  }
  .data td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e5638;
  }
  .data .group {
    padding: 0;
    border: 0;
  }
  .data .group th {
    padding: 0.9rem 0 0.2rem;
  }
}
