:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --surface: #f0ede6;
  --text: #22262a;
  --muted: #5b6168;
  --accent: #1565b8;
  --line: #d9d5cb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181b;
    --surface: #20252a;
    --text: #eceae4;
    --muted: #a7adb4;
    --accent: #7ab8f5;
    --line: #363c43;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

a {
  color: var(--accent);
}

.site-header,
main,
.site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-header {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

main {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.375rem;
  line-height: 1.3;
}

h3 {
  margin: 1.5rem 0 0.25rem;
  font-size: 1.125rem;
}

.updated,
.site-footer {
  color: var(--muted);
  font-size: 0.9375rem;
}

.slogan {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 1.25rem;
}

.status {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--surface);
  font-weight: 600;
}

li + li {
  margin-top: 0.5rem;
}

.site-header li + li {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
  overflow-wrap: normal;
}

th,
td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface);
}

tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.site-footer {
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
}
