@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans-v2.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-v1.woff2') format('woff2');
  font-display: swap;
}
:root {
  --paper: #f5efea;
  --raised: #fbf8f4;
  --ink: #17191d;
  --muted: #454850;
  --rule: #cebfba;
  --accent: #b8341c;
  color-scheme: light;
  font: 1rem/1.55 'Instrument Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
header { border-bottom: 1px solid var(--rule); }
header, main { padding-inline: clamp(18px, 5vw, 56px); }
header a {
  display: block;
  max-width: 64rem;
  margin-inline: auto;
  padding: 13px 0;
  font-weight: 600;
}
main { max-width: 71rem; margin-inline: auto; padding-block: 38px 64px; }
h1, h2, h3 { font: 400 1.75rem/1.04 'Instrument Serif', Georgia, serif; }
h1 { margin: 0 0 12px; font-size: clamp(2.25rem, 8vw, 3.75rem); }
h2, h3 { margin: 0 0 12px; }
#case-title { margin-bottom: 18px; font-size: 1.5rem; }
.response h3 { font-size: 1.35rem; }
p { margin: 0 0 12px; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:focus-visible, select:focus-visible, .table-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.sources, .metadata { color: var(--muted); font-size: 0.875rem; }
#status:empty { display: none; }
#comparison { margin: 24px 0; padding-block: 18px; border-block: 1px solid var(--rule); }
label { display: block; min-width: 0; font-weight: 600; }
select {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--raised);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font: inherit;
  font-weight: 400;
  text-overflow: ellipsis;
}
.columns { display: grid; gap: 16px; }
#comparison .columns { margin-top: 14px; }
@media (min-width: 680px) {
  .columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
.response { padding-left: 14px; border-left: 2px solid var(--accent); overflow-wrap: anywhere; }
.response + .response { border-color: var(--rule); }
.outcome { margin-bottom: 8px; font-weight: 650; }
.outcome[data-result='miss'] { color: var(--accent); }
.answer, blockquote { white-space: pre-wrap; }
figure { margin: 0 0 12px; }
blockquote { margin: 0; color: var(--muted); }
figcaption { font-size: 0.875rem; }
.metadata { margin: 14px 0 0; }
#benchmark { margin-top: 34px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; text-align: left; }
th, td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); }
