:root {
  color-scheme: light;
  --background: #f3f5f7;
  --text: #252a31;
  --strong: #111820;
  --muted: #737d89;
  --accent: #1769c2;
  --accent-soft: #a9c9eb;
  font-family: "Segoe UI Variable", "Segoe UI", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page {
  width: min(calc(100% - 2.5rem), 34rem);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 10vw, 6.5rem) 2.5rem;
}

h1,
p,
ul {
  margin: 0;
}

h1 {
  color: var(--strong);
  font-size: 1rem;
  font-weight: 650;
}

header p {
  margin-top: 1.25rem;
}
.collection {
  margin-top: 4rem;
}
.collection > p {
  margin-bottom: 1.4rem;
}

a {
  color: var(--strong);
  text-decoration-color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.index-list {
  padding: 0;
  list-style: none;
}

.index-list + .index-list {
  margin-top: 1.25rem;
}

.index-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
  padding-block: 0.2rem;
}

.dots {
  flex: 1;
  min-width: 1rem;
  border-bottom: 1px dotted #b8c0c9;
}

.meta {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.8rem;
}

footer {
  margin-top: 4rem;
}

footer a {
  font-size: 0.8rem;
  text-decoration: none;
}

::selection {
  background: #cfe3f7;
}

@media (max-width: 34rem) {
  .page {
    padding-top: 3.25rem;
  }

  .index-list li {
    display: grid;
    gap: 0;
    padding-block: 0.4rem;
  }

  .dots {
    display: none;
  }
  .meta {
    font-size: 0.75rem;
  }
}
