:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --background: #ffffff;
  --header: #f5f5f7;
  --link: #0066cc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #424245;
    --background: #000000;
    --header: #1d1d1f;
    --link: #2997ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(16px, calc((100% - 760px) / 2));
  background: var(--header);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand img { border-radius: 7px; }
.languages { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; font-size: 15px; }
.languages span { color: var(--muted); }

main { padding: 32px 16px 64px; }
article { max-width: 760px; margin: 0 auto; }

h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin: 6px 0; }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

.table-wrap { overflow-x: auto; margin: 12px 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
thead th { color: var(--muted); font-weight: 600; }
tbody th { font-weight: 600; }

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tbody tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  tbody th, td { border: 0; padding: 2px 0; }
  td::before { content: attr(data-label) ": "; color: var(--muted); }
}
