:root {
  --bg: #F3F3F3;
  --card: #FEFEFE;
  --text: #262626;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --hover: #C0C0C0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1b1b;
    --card: #232323;
    --text: #ececec;
    --muted: #9a9a9a;
    --line: #333;
    --hover: #777;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Quicksand', Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--hover); transition: border-color .15s; }
a:hover { border-color: var(--text); }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
header { padding: 56px 0 24px; }
.logo {
  font-family: 'Pathway Gothic One', Helvetica, sans-serif;
  font-size: 2.6rem; letter-spacing: .04em; line-height: 1;
  border: 0;
}
.tagline { color: var(--muted); margin: 8px 0 0; }
nav { margin-top: 20px; display: flex; gap: 20px; font-weight: 600; font-size: .95rem; }
nav a { border: 0; color: var(--muted); }
nav a:hover, nav a[aria-current] { color: var(--text); }
main { padding-bottom: 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 32px; margin-bottom: 24px; }
h1, h2 { font-family: 'Pathway Gothic One', Helvetica, sans-serif; font-weight: 400; letter-spacing: .03em; line-height: 1.2; margin: 0 0 4px; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h2 a { border: 0; }
.date { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }
.posts { list-style: none; padding: 0; margin: 0; }
.posts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.posts li:last-child { border-bottom: 0; }
.posts time { color: var(--muted); font-size: .9rem; white-space: nowrap; }
footer { color: var(--muted); font-size: .85rem; padding: 24px 0 48px; border-top: 1px solid var(--line); }
@media (max-width: 520px) {
  .card { padding: 22px; }
  .posts li { flex-direction: column; gap: 0; }
}
