:root {
  --bg: #000;
  --text: #e7e7e7;
  --strong: #fff;
  --muted: #858585;
  --accent: #f28c28;
  --width: 820px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(var(--width), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 56px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 36px;
}

.wordmark {
  color: var(--strong);
  font-weight: 600;
  font-size: 17px;
}

.live-link {
  font-size: 14px;
}

.intro {
  margin-bottom: 42px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--strong);
  font-size: clamp(22px, 4vw, 29px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.intro > p {
  max-width: 660px;
  color: #b9b9b9;
  font-size: 16px;
}

.intro-links,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 26px;
}

section {
  margin-top: 36px;
}

h2 {
  margin-bottom: 28px;
  color: var(--strong);
  font-size: 16px;
  font-weight: 600;
}

h3 {
  margin-bottom: 5px;
  color: var(--strong);
  font-size: 15px;
  font-weight: 500;
}

article {
  margin-bottom: 30px;
}

article p,
section > p {
  max-width: 720px;
}

.meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.update {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  margin-bottom: 18px;
}

.update time {
  color: var(--muted);
  font-size: 13px;
}

.update p {
  margin-bottom: 0;
}

.more {
  margin-top: 28px;
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  margin: 9px 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid #1b1b1b;
  color: var(--muted);
  font-size: 12px;
}

.placeholder {
  opacity: .65;
}

@media (max-width: 600px) {
  main {
    width: min(100% - 30px, var(--width));
    padding-top: 28px;
  }

  .site-header {
    margin-bottom: 27px;
  }

  .intro {
    margin-bottom: 32px;
  }

  section {
    margin-top: 29px;
  }

  .update {
    display: block;
  }

  .update time {
    display: block;
    margin-bottom: 3px;
  }

  footer {
    display: block;
  }

  footer span {
    display: block;
    margin-bottom: 6px;
  }
}

/* Position telemetry
   ---------------------------------------------------------- */

.telemetry-status {
  margin-bottom: 0;
  font-size: 13px;
}

.telemetry-freshness {
  margin-top: 5px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

.telemetry-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.telemetry-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.telemetry-table th,
.telemetry-table td {
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.telemetry-table th {
  color: var(--muted);
  font-weight: 500;
  text-align: left;
}

.telemetry-table th:not(:first-child),
.telemetry-table td:not(:first-child) {
  text-align: right;
}

.telemetry-table td:first-child {
  font-weight: 500;
}

.telemetry-table tbody tr:last-child td {
  border-bottom: 0;
}

.telemetry-error {
  margin-top: 20px;
  color: var(--accent);
  font-size: 12px;
}

@media (max-width: 760px) {
  .telemetry-table {
    min-width: 720px;
  }
}
