:root {
  color-scheme: dark;
  --bg: #080b12;
  --surface: #10151f;
  --line: #242d45;
  --text: #e8ecf4;
  --muted: #8e97ad;
  --accent: #41d8f0;
  --primary: #8b7cff;
  --todo: #ffb454;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  margin: 0;
  padding: 48px 20px 96px;
}

main {
  max-width: 720px;
  margin: 0 auto;
}

h1 {
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

h2 {
  font-size: 19px;
  margin-top: 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

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

.muted {
  color: var(--muted);
  font-size: 14px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

/* Unfilled values stay glaringly obvious until they are replaced. */
.todo {
  color: var(--todo);
  border-bottom: 1px dashed var(--todo);
}

/* --- landing page --- */

.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.home main {
  text-align: center;
}

.mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  display: block;
}

.wordmark {
  font-size: 32px;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 700;
}

.wordmark span {
  color: var(--primary);
}

.tagline {
  color: var(--muted);
  margin: 0 0 34px;
  font-size: 16px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.links a {
  display: block;
  padding: 11px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.links a:hover,
.links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- imprint key/value rows --- */

.rows {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px 20px;
  margin: 0;
}

.rows dt {
  color: var(--muted);
  font-size: 14px;
}

.rows dd {
  margin: 0;
}

@media (max-width: 560px) {
  .rows {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .rows dd {
    margin-bottom: 12px;
  }
}

footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

footer a {
  margin-right: 16px;
}
