:root {
  color-scheme: light;
  --canvas: #f9f9f6;
  --surface: #fff;
  --raised: #eff2f7;
  --ink: #141b25;
  --muted: #536173;
  --border: #dce1e8;
  --accent: #285fc9;
  --soft: #eaf0fd;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0b101a;
  --surface: #111a29;
  --raised: #1a2537;
  --ink: #f0f3fa;
  --muted: #a9b7cc;
  --border: #2c3a50;
  --accent: #9cbdff;
  --soft: #152747;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #0b101a;
    --surface: #111a29;
    --raised: #1a2537;
    --ink: #f0f3fa;
    --muted: #a9b7cc;
    --border: #2c3a50;
    --accent: #9cbdff;
    --soft: #152747;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button,
input,
select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 12px;
}
button:hover {
  background: var(--raised);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  top: -80px;
  background: var(--surface);
  padding: 12px;
  z-index: 3;
}
.skip:focus {
  top: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.wordmark {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1.1px;
  text-decoration: none;
  white-space: nowrap;
}
.mark {
  color: var(--accent);
  font-size: 32px;
  vertical-align: middle;
}
.dot {
  color: var(--accent);
}
.header-label {
  font-size: 13px;
  color: var(--muted);
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 13px;
}
nav a {
  text-decoration: none;
}
.theme-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav select {
  padding: 5px;
}
main,
footer {
  max-width: 1200px;
  margin: auto;
  padding: 0 28px;
}
.hero {
  padding: 68px 0 30px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin: 0 0 15px;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 600;
  margin: 0 0 25px;
}
h2 {
  font-size: 29px;
  font-weight: 600;
  margin: 0 0 14px;
}
h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 0;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.revision {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 25px;
}
.status-dot {
  height: 7px;
  width: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stats article {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 27px;
}
.stats .accent-card {
  background: var(--soft);
}
.stats strong {
  display: block;
  font-size: 45px;
  letter-spacing: -0.05em;
  font-weight: 600;
  line-height: 1.25;
}
.stats p:last-child {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}
.section {
  margin-top: 65px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-heading > a {
  font-size: 13px;
  color: var(--accent);
}
.languages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.language {
  padding: 24px;
  border: 1px solid var(--border);
  margin: -1px;
}
.language-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.language p {
  font-size: 13px;
}
.tag {
  border: 1px solid var(--border);
  background: var(--raised);
  color: var(--muted);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 11px;
  white-space: nowrap;
}
.meter-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  margin-top: 12px;
}
.muted,
.sub {
  color: var(--muted);
}
meter {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  background: var(--raised);
  border-radius: 3px;
  margin: 6px 0 12px;
  appearance: none;
}
meter::-webkit-meter-bar {
  height: 5px;
  border: 0;
  background: var(--raised);
}
meter::-webkit-meter-optimum-value {
  background: var(--accent);
}
meter::-moz-meter-bar {
  background: var(--accent);
}
.small {
  font-size: 12px;
}
.filters {
  display: flex;
  gap: 14px;
  align-items: end;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 20px;
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
}
.search {
  flex: 1;
  min-width: 180px;
}
.filters input {
  width: 100%;
}
.filters button {
  font-size: 12px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  min-width: 880px;
}
thead {
  background: var(--raised);
  color: var(--muted);
}
th,
td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
thead th {
  font-weight: 600;
  white-space: nowrap;
}
tbody th {
  min-width: 240px;
  max-width: 310px;
  font-weight: 600;
}
tbody th a {
  text-decoration: none;
}
tbody th a:hover {
  text-decoration: underline;
}
.sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}
td .meter-label {
  margin: 0;
}
td meter {
  margin-bottom: 0;
}
.number {
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 12px;
}
.pagination select {
  padding: 5px 8px;
}
.pagination button {
  font-size: 12px;
}
.method {
  border-top: 1px solid var(--border);
  padding: 35px 0 20px;
  margin-top: 65px;
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  font-size: 13px;
  color: var(--muted);
}
.method-grid b {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}
footer {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 30px;
  padding-bottom: 35px;
  display: flex;
  align-items: center;
  gap: 20px;
}
footer p,
footer > a {
  font-size: 12px;
  color: var(--muted);
}
footer > a {
  margin-left: auto;
}
@media (max-width: 760px) {
  .header-inner {
    padding: 16px 20px;
    gap: 12px;
  }
  .header-label,
  .theme-label {
    display: none;
  }
  nav {
    gap: 15px;
  }
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero {
    padding-top: 42px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stats article {
    padding: 20px;
  }
  .stats strong {
    font-size: 36px;
  }
  .section {
    margin-top: 42px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading > a {
    max-width: 100px;
  }
  .filters {
    flex-wrap: wrap;
    padding: 16px;
  }
  .filters label {
    flex: 1;
  }
  .filters .search {
    flex-basis: 100%;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  footer {
    flex-wrap: wrap;
  }
  .desktop {
    display: none;
  }
}
@media (max-width: 760px) {
  nav > a:first-child {
    display: none;
  }
  .theme-label {
    display: flex;
    font-size: 0;
    gap: 0;
  }
  .theme-label select {
    font-size: 12px;
  }
  .wordmark {
    font-size: 22px;
  }
  nav {
    gap: 12px;
  }
}
