@font-face {
  font-family: ComparisonSans;
  src: url(fonts/DejaVuSans.ttf);
  font-display: swap;
}
@font-face {
  font-family: ComparisonMono;
  src: url(fonts/DejaVuSansMono.ttf);
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: ComparisonSans, sans-serif;
  color: #192c36;
  background: #f4f3ef;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
}
a {
  color: #146563;
  text-underline-offset: 4px;
}
button,
select {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #dd812e;
  outline-offset: 3px;
}
.hero,
main,
.site-footer {
  max-width: 1760px;
  margin: auto;
  padding: 36px 4vw;
}
.hero {
  padding-top: 60px;
  padding-bottom: 40px;
}
.eyebrow {
  font:
    700 11px ComparisonMono,
    monospace;
  letter-spacing: 0.12em;
  color: #466665;
}
h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  margin: 20px 0;
}
h2 {
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin: 10px 0 16px;
}
h3 {
  margin: 0;
  font-size: 15px;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 900px;
}
.hero-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 14px;
}
.provenance {
  font:
    11px/1.8 ComparisonMono,
    monospace;
  margin-top: 30px;
  color: #54636a;
  overflow-wrap: anywhere;
}
main {
  padding-top: 0;
}
.note {
  background: #fff6e6;
  border-left: 3px solid #c87625;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.7;
}
.map-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 38px;
}
.map-nav a {
  text-decoration: none;
  border: 1px solid #ccd4d3;
  border-radius: 6px;
  padding: 8px 12px;
  font:
    12px ComparisonMono,
    monospace;
  background: white;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}
.method-grid p,
details {
  font-size: 13px;
  line-height: 1.8;
}
details {
  border: 1px solid #ccd4d3;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 32px;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
#summary {
  margin: 40px 0 64px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid #ccd4d3;
  border-radius: 8px;
  background: white;
}
#summary .table-wrap {
  max-height: 540px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
caption {
  text-align: left;
  padding: 12px 16px;
  color: #57656d;
  font-size: 11px;
}
th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid #e3e7e5;
  white-space: nowrap;
}
thead th {
  background: #e8edeb;
  position: sticky;
  top: 0;
  z-index: 1;
  font-size: 11px;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
small {
  display: block;
  color: #69777c;
  font-size: 10px;
  margin-top: 4px;
}
.comparison {
  border-top: 1px solid #bec9c8;
  padding-top: 30px;
  margin-top: 64px;
}
.map-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.map-heading > a {
  white-space: nowrap;
  font-size: 12px;
}
.controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin: 22px 0 10px;
  font-size: 12px;
}
.controls label {
  display: grid;
  gap: 7px;
}
select {
  max-width: min(480px, 80vw);
  border: 1px solid #bdcac8;
  border-radius: 5px;
  padding: 8px 12px;
  background: white;
  color: inherit;
}
.controls > a {
  padding: 9px 0;
}
.step-description {
  font-size: 12px;
  color: #52636b;
  min-height: 20px;
  margin-bottom: 18px;
}
.variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.variant {
  min-width: 0;
  background: white;
  border: 1px solid #ccd4d3;
  border-radius: 8px;
  overflow: hidden;
}
.variant > header,
.variant > footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  gap: 8px;
}
.variant > header {
  border-bottom: 1px solid #e3e7e5;
}
.variant > header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.variant > footer {
  font-size: 10px;
  color: #52636b;
  border-top: 1px solid #e3e7e5;
}
.variant button {
  border: 1px solid #b8c9c6;
  border-radius: 4px;
  background: #f4f8f6;
  padding: 5px 8px;
  color: #146563;
  font-size: 11px;
  cursor: pointer;
}
.variant header a {
  font-size: 11px;
}
.canvas {
  height: 570px;
  padding: 12px;
  overflow: auto;
  --cmap-font-sans: ComparisonSans, sans-serif;
  --cmap-font-mono: ComparisonMono, monospace;
}
.canvas svg {
  display: block;
  width: 100%;
  height: 100%;
}
.native .canvas svg {
  width: var(--native-width);
  height: var(--native-height);
  max-width: none;
}
.local-metrics {
  font-size: 11px;
}
.comparison > .table-wrap {
  margin-top: 18px;
}
.site-footer {
  font-size: 12px;
  line-height: 1.9;
  padding-top: 64px;
  padding-bottom: 60px;
}
@media (max-width: 900px) {
  .variants {
    grid-template-columns: minmax(0, 1fr);
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .canvas {
    height: 450px;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .hero,
  main,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .map-heading {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.player {
  position: relative;
  --cmap-font-sans: ComparisonSans, sans-serif;
  --cmap-font-mono: ComparisonMono, monospace;
}
.player-controls {
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  border-bottom: 1px solid #e3e7e5;
}
.player-controls label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  min-width: 0;
  width: 100%;
}
.player-controls select {
  max-width: 100%;
  width: 100%;
}
.player .seg button {
  font-size: 12px;
  padding: 8px 12px;
}
.player .canvas {
  border: 0;
  border-radius: 0;
  margin: 0;
}
.player .canvas svg {
  height: 100%;
}
.native .player .canvas svg {
  height: var(--native-height);
}
.player .panel {
  padding: 14px;
  font-size: 13px;
}
.player .panel.head {
  min-height: 220px;
  max-height: 350px;
  overflow: auto;
}
.player .panel h2 {
  font-size: 17px;
}
.player-details {
  margin: 0;
  border-width: 1px 0 0;
  border-radius: 0;
  padding: 14px;
}
.player-details .panel {
  padding: 12px 0 0;
  max-height: 300px;
  overflow: auto;
}
.player-status {
  font-size: 12px;
  color: #52636b;
}
.controls button {
  padding: 9px 12px;
  border: 1px solid #bdcac8;
  border-radius: 5px;
  background: white;
  color: #146563;
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quality-report {
  margin: 0;
  border: 0;
  border-top: 1px solid #ccd4d3;
  border-radius: 0;
}
.quality-report pre {
  overflow: auto;
  max-height: 360px;
  font-size: 11px;
}
.variant[data-variant="manual"] {
  grid-column: 1 / -1;
}
