/* The app's Olive palette (constants/theme.ts). System fonts only: the pages load nothing from
   other sites, so opening them sends your IP address to no one but GitHub. */
:root {
  --background: #0a0b09;
  --surface: #23251f;
  --text-primary: #f7f7f2;
  --text-secondary: rgba(240, 240, 228, 0.62);
  --text-muted: rgba(240, 240, 228, 0.4);
  --border: rgba(255, 255, 235, 0.14);
  --olive: #b7c44f;
  --olive-bright: #d2de66;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-secondary);
  font:
    17px/1.55 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

nav {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  font-size: 15px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
}

nav a:first-child {
  margin-right: auto;
  color: var(--text-primary);
  font-weight: 600;
}

nav a[aria-current='page'] {
  color: var(--olive-bright);
}

h1,
h2,
h3 {
  color: var(--text-primary);
  line-height: 1.25;
}

h1 {
  font-size: 32px;
  margin: 0 0 8px;
}

h2 {
  font-size: 21px;
  margin: 40px 0 8px;
}

h3 {
  font-size: 17px;
  margin: 24px 0 4px;
}

p,
ul {
  margin: 0 0 12px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

a {
  color: var(--olive-bright);
}

.updated {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px 6px;
  margin: 0 0 12px;
}

.links {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.links a {
  display: block;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.links span {
  display: block;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 15px;
}

footer {
  margin-top: 56px;
  color: var(--text-muted);
  font-size: 14px;
}
