/* RefMint site — minimal typography */

:root {
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;
  --color-text: #1a1a1a;
  --color-muted: #555;
  --color-link: #1a5fb4;
  --color-bg: #fff;
  --color-border: #ddd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

header {
  margin-bottom: 2rem;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

header p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.topic-list {
  list-style: none;
}

.topic-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.topic-list a {
  color: var(--color-link);
  text-decoration: none;
  font-weight: 600;
}

.topic-list a:hover {
  text-decoration: underline;
}

.topic-list .source {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

.download-list {
  list-style: none;
}

.download-list li {
  padding: 0.4rem 0;
}

.download-list a {
  color: var(--color-link);
  text-decoration: none;
  font-weight: 600;
}

.download-list a:hover {
  text-decoration: underline;
}

.back a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.back a:hover {
  text-decoration: underline;
}

.source {
  color: var(--color-muted);
  font-size: 0.9rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-muted);
}

footer a {
  color: var(--color-muted);
}
