:root {
  --bg: #f5f8f7;
  --ink: #1c2a30;
  --muted: #51626a;
  --lake: #1f5c73;
  --lake-soft: #d6e6eb;
  --spruce: #2f5d50;
  --rule: #c9d3d6;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11181b;
    --ink: #e2e9eb;
    --muted: #9aabb1;
    --lake: #7db4c9;
    --lake-soft: #1c3540;
    --spruce: #8dbba9;
    --rule: #2a3a40;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

.wrap {
  max-width: 41rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header.site {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.5rem 0 0;
}

.wordmark {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span {
  font-weight: 400;
  color: var(--muted);
  font-size: 1rem;
}

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

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  margin: 3.5rem 0 1rem;
}

h2 {
  font-size: 1.45rem;
  margin: 3rem 0 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
}

p, ul { margin: 0 0 1rem; }

ul { padding-left: 1.25rem; }

li { margin-bottom: 0.5rem; }

.lede {
  font-size: 1.25rem;
  color: var(--muted);
}

a {
  color: var(--lake);
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--lake);
  outline-offset: 2px;
  border-radius: 2px;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--lake-soft);
  padding: 0.05em 0.3em;
  border-radius: 3px;
}

.map {
  display: block;
  width: 100%;
  height: auto;
  margin: 2.5rem 0 2rem;
  color: var(--lake);
}

.map .water { fill: var(--lake-soft); }
.map .contour { fill: none; stroke: var(--lake); stroke-width: 1.2; opacity: 0.55; vector-effect: non-scaling-stroke; }
.map .terrain { fill: none; stroke: var(--spruce); stroke-width: 1; opacity: 0.35; }
.map .trail { fill: none; stroke: var(--spruce); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.map .label { fill: var(--muted); font-family: inherit; font-size: 15px; }

.status {
  border-left: 3px solid var(--spruce);
  padding-left: 1rem;
  color: var(--muted);
}

footer.site {
  margin: 4rem 0 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--muted);
}

footer.site p { margin: 0 0 0.4rem; }
