:root {
  color-scheme: dark;
}

body {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #000;
  color: #f2f2f2;
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  width: min(100% - 32px, 620px);
  margin: 0 auto;
  padding: 32px 0 40px;
}

.page-header {
  margin-bottom: 28px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

main {
  width: 100%;
}

.page-text p {
  margin: 0 0 14px;
  color: #cccccc;
  line-height: 1.65;
}

.route-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.route-item {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.route-link,
.source-link,
.page-footer a,
.page-text a {
  color: inherit;
  text-decoration: none;
}

.route-link {
  font-weight: bold;
  color: #d8d8d8;
}

.route-link:hover,
.page-text a:hover,
.page-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.source-link {
  color: #8f8f8f;
  font-size: 0.82rem;
}

.source-link:hover {
  color: #b6b6b6;
  text-decoration: underline;
}

.page-footer {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #8f8f8f;
}
