* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

main {
  max-width: 1120px;
  margin: 48px 0 80px 48px;
  padding-right: 24px;
}

h1,
h2,
h3,
p,
ul,
table,
pre {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-top: 44px;
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: 0;
}

a {
  color: #000;
  text-decoration: underline;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

code {
  overflow-wrap: anywhere;
}

pre {
  overflow: auto;
  max-height: 520px;
  border: 1px solid #000;
  padding: 14px;
  white-space: pre-wrap;
}

button {
  border: 1px solid #000;
  background: #fff;
  color: #000;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}

button:hover,
button.copied {
  background: #000;
  color: #fff;
}

section {
  max-width: 1040px;
}

section > p {
  max-width: 760px;
}

.tagline {
  margin-bottom: 0;
  font-size: 22px;
}

.muted,
.status,
.subtle {
  color: #333;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 980px;
  margin: 18px 0 0;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid #000;
  padding: 4px 7px;
  color: #000;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.1;
  background: #fff;
}

.source-chip:hover {
  background: #000;
  color: #fff;
}

.source-chip img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0 36px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

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

th,
td {
  border: 1px solid #000;
  padding: 8px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  font-size: 13px;
  font-weight: 700;
}

.stats-table {
  max-width: 540px;
}

.stats-table th {
  width: 65%;
}

.stats-table td {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: right;
}

.source-table,
.capability-table {
  min-width: 920px;
}

.source-table th:nth-child(1),
.source-table td:nth-child(1) {
  width: 22%;
}

.source-table th:nth-child(2),
.source-table td:nth-child(2) {
  width: 34%;
}

.source-table th:nth-child(3),
.source-table td:nth-child(3) {
  width: 26%;
}

.source-table th:nth-child(4),
.source-table td:nth-child(4) {
  width: 18%;
}

.source-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 700;
}

.source-favicon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.source-name {
  display: inline;
  font-weight: 700;
}

.source-id,
.count-line,
.route-link,
.link-list a {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.source-id {
  display: block;
  margin-top: 3px;
}

.source-kind {
  display: inline-block;
  margin-top: 8px;
  border: 1px solid #000;
  padding: 1px 5px;
  font-size: 12px;
}

.coverage-list,
.route-list,
.link-list {
  margin: 0;
  padding-left: 18px;
}

.coverage-list li,
.route-list li,
.link-list li {
  margin-bottom: 4px;
}

.coverage-note {
  display: block;
  margin-top: 8px;
  color: #333;
}

.count-line {
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  main {
    margin: 32px 18px 64px;
    padding-right: 0;
  }

  h1 {
    font-size: 40px;
  }

  .tagline {
    font-size: 20px;
  }

  .nav {
    align-items: stretch;
  }

  .nav a,
  .nav button {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}
