:root {
  --bg: #fbfaf7;
  --fg: #1c1c1a;
  --muted: #6f6e68;
  --accent: #1f5f4a;
  --line: #e4e2db;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151614;
    --fg: #ecebe6;
    --muted: #9a9890;
    --accent: #7cc4a6;
    --line: #2c2d2a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 0.25em; }
a:hover, a:focus-visible { color: var(--accent); text-decoration-color: currentColor; }

.tagline {
  margin: 0 0 1rem;
  max-width: 44rem;
  color: var(--muted);
}

.links { margin: 0 0 3rem; color: var(--muted); }
.links span { margin: 0 0.4rem; }

.coffee { margin: 0 0 2rem; color: var(--muted); }

.reading {
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.3em;
  max-width: 24rem;
}
.reading .arrow { color: var(--accent); transition: transform 0.15s; display: inline-block; }
.reading:hover .arrow, .reading:focus-visible .arrow { transform: translateX(3px); }
.reading:hover, .reading:focus-visible { color: var(--accent); text-decoration-color: currentColor; }

.list-page main {
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}
.list-page ul { margin: 0; padding: 0; list-style: none; }
.list-page li { margin-bottom: 1.5rem; }
.list-page .by { display: block; font-size: 0.9rem; color: var(--muted); }
.list-page .note { display: block; font-size: 0.9rem; }
