:root {
  --bg: #fdfdfb;
  --fg: #222;
  --muted: #6b6b66;
  --accent: #2f6f4e;
  --line: #e2e2dc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161715;
    --fg: #e8e8e3;
    --muted: #9a9a93;
    --accent: #7fc4a0;
    --line: #2d2f2b;
  }
}

* { box-sizing: border-box; }

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

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

.site-header,
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.site-title { font-weight: 700; text-decoration: none; }
.site-header nav a { margin-left: 1rem; }

main { padding-top: 1rem; padding-bottom: 3rem; }

.meta, .note, .route { color: var(--muted); font-size: 0.9rem; }
.note { font-style: italic; }
.unknown { color: #b3261e; border-bottom: 1px dotted currentColor; }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--line); }

.hike-list, .people-list, .attendees { padding-left: 1.2rem; }
.hike-list li, .people-list li { margin: 0.4rem 0; }

.day { margin-top: 1.5rem; }
.group {
  margin: 0.75rem 0;
  padding: 0.5rem 0.9rem;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.group h4 { margin: 0.25rem 0; }
.strava { margin-left: 0.4rem; font-size: 0.85rem; }
