:root {
  --ink: #192433;
  --muted: #536477;
  --line: #d8e1ea;
  --blue: #185ab9;
  --pale: #f3f7fb;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: white;
  line-height: 1.45;
}
main,
header,
footer {
  max-width: 1040px;
  margin: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}
header,
footer,
.sectionhead,
.actions,
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header,
footer,
.sectionhead {
  justify-content: space-between;
}
header,
footer {
  padding-block: 16px;
  font-size: 14px;
}
header {
  border-bottom: 1px solid var(--line);
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
.wordmark,
nav a,
.button,
.sectionhead a {
  text-decoration: none;
}
.wordmark {
  font-weight: 720;
  color: var(--ink);
}
.wordmark span {
  display: inline-grid;
  place-items: center;
  background: #223449;
  color: white;
  font: italic 18px Georgia;
  border-radius: 5px;
  width: 28px;
  height: 28px;
  margin-right: 5px;
}
nav a {
  font-weight: 550;
  color: var(--muted);
}
.hero {
  text-align: center;
  padding: 40px 0 30px;
}
.hero h1 {
  font-size: clamp(37px, 4.2vw, 59px);
  line-height: 1.03;
  letter-spacing: -0.056em;
  margin: 0;
}
.intro,
.blurb,
.note,
#audit-info {
  color: var(--muted);
}
.intro {
  max-width: 540px;
  margin: 14px auto 18px;
}
.actions {
  gap: 9px;
}
.hero .actions {
  justify-content: center;
}
.button,
button {
  line-height: 1.3;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  background: var(--ink);
  color: white;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 24px;
  cursor: pointer;
}
.button:hover,
button:hover {
  background: #34455c;
}
.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.secondary:hover {
  background: var(--pale);
}
button:disabled {
  cursor: default;
  opacity: 0.75;
}
section[id] {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  scroll-margin: 14px;
}
h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.045em;
  margin: 0;
}
h3 {
  font-size: 17px;
  margin: 0;
}
.sectionhead a,
.note {
  font-size: 13px;
}
.blurb {
  margin: 5px 0 14px;
}
.tablewrap {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
thead {
  background: #2e4156;
  color: white;
  font-size: 13px;
}
th,
td {
  padding: 9px 6px;
}
th:first-child {
  text-align: left;
  padding-left: 16px;
}
tbody th {
  font-size: 15px;
}
tbody tr:nth-child(even) {
  background: var(--pale);
}
.cell-score {
  border: none;
  color: var(--blue);
  background: transparent;
  padding: 2px 6px;
  font-size: 18px;
}
.cell-score:hover {
  background: #dceafa;
}
td small,
#audit small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.note {
  margin: 10px 0 0;
}
#audit {
  margin-top: 15px;
  padding: 16px;
  background: var(--pale);
  border-radius: 8px;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
#audit li {
  padding: 4px;
}
#audit-info {
  font-size: 14px;
}
blockquote {
  margin: 16px 0;
  padding: 10px 16px;
  border-left: 3px solid #739ac8;
  background: var(--pale);
}
#passages,
.methodgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
#passages article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#passages article button {
  margin-top: auto;
}
#passages p {
  font:
    17px/1.55 Georgia,
    serif;
}
.methodgrid {
  margin: 15px 0;
}
.methodgrid p {
  margin-bottom: 0;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
}
:focus-visible {
  outline: 3px solid #679fea;
  outline-offset: 3px;
}
#feedback {
  font-weight: 600;
}
.note + a {
  display: inline-block;
  margin-top: 12px;
}
@media (max-width: 600px) {
  header,
  footer {
    padding-block: 12px;
  }
  nav {
    gap: 10px;
  }
  .hero {
    padding: 26px 0 20px;
  }
  .intro {
    font-size: 14px;
  }
  .methodgrid,
  #passages {
    grid-template-columns: 1fr;
  }
  tbody th {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  th:first-child {
    padding-left: 7px;
  }
  thead {
    font-size: 11px;
  }
  th,
  td {
    padding: 7px 3px;
  }
  .cell-score {
    font-size: 16px;
  }
  .blurb {
    font-size: 14px;
  }
  .wordmark {
    font-size: 13px;
  }
  .sectionhead a {
    font-size: 12px;
  }
}
#explorer {
  padding-block: 24px;
}
#explorer h1 {
  margin: 0;
  letter-spacing: -0.04em;
}
#explorer section {
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block: 22px;
}
.filters label {
  font-size: 13px;
  font-weight: 650;
}
.filters select {
  display: block;
  padding: 7px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: white;
  border-radius: 5px;
  font: inherit;
}
#explorer pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    15px/1.55 ui-monospace,
    monospace;
  background: var(--pale);
  padding: 14px;
  border-radius: 6px;
}
#files button {
  margin: 0 8px 10px 0;
}
#record h3 {
  margin-top: 20px;
}
#record details {
  margin: 8px 0;
}
#messages h4 {
  margin-bottom: 0;
}
