/* DevPond's Deep Water colours, with the phone's own fonts so the pages load nothing from anywhere else. */
:root {
  color-scheme: dark light;
  --bg: #061217;
  --text: #e8f4f6;
  --body: #b4cdd2;
  --muted: #6f8f97;
  --teal: #3ee6d6;
  --line: rgba(126, 226, 230, 0.09);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #eef6f6;
    --text: #0b2a30;
    --body: #2c4b52;
    --muted: #4f6e75;
    --teal: #0b7a72;
    --line: rgba(8, 70, 80, 0.1);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

h1,
h2 {
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 {
  font-size: 30px;
  margin: 0 0 4px;
}

h2 {
  font-size: 19px;
  margin: 34px 0 6px;
}

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

.updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.home {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 600;
  text-decoration: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

nav li {
  border-bottom: 1px solid var(--line);
}

nav a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  text-decoration: none;
}
