:root {
  --bg: #fff;
  --ink: #111;
  --muted: #5f6368;
  --line: #d9d9d9;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f10;
    --ink: #ededed;
    --muted: #9a9da3;
    --line: #3a3b3f;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f10;
  --ink: #ededed;
  --muted: #9a9da3;
  --line: #3a3b3f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    17px/1.65 "Geist",
    system-ui,
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  opacity: 0.65;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.logo {
  font:
    15px "Geist Mono",
    monospace;
}
.logo span {
  color: var(--muted);
}

.theme {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.theme .sun {
  display: none;
}
:root[data-theme="dark"] .theme .sun {
  display: block;
}
:root[data-theme="dark"] .theme .moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun {
    display: block;
  }
  :root:not([data-theme="light"]) .theme .moon {
    display: none;
  }
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.intro p {
  margin: 0;
  color: var(--muted);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 16px;
}
.links a {
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  padding: 12px 0;
}
.list span {
  flex: 0 0 170px;
  padding-top: 2px;
  font:
    14px "Geist Mono",
    monospace;
  color: var(--muted);
}
.list p {
  flex: 1 1 280px;
  margin: 0;
}
.list em {
  font-style: normal;
  color: var(--muted);
}

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