/* BadgeAtlas site. System fonts only. No external requests. */
:root {
  --paper: #f3ece1;
  --paper-2: #ebe3d4;
  --ink: #2c241c;
  --ink-soft: #5c5146;
  --line: #d9cfc0;
  --terracotta: #b5523a;
  --terracotta-dark: #8c3d2b;
  --sage: #4f6e58;
  --sage-soft: #6a8a73;
  --focus: #1e4d8c;
  --pin-fill: #b5523a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1a1714;
    --paper-2: #221e1a;
    --ink: #f1e8dc;
    --ink-soft: #c4b8aa;
    --line: #3d372f;
    --terracotta: #e08a72;
    --terracotta-dark: #f0b5a4;
    --sage: #8fad96;
    --sage-soft: #b3c9b8;
    --focus: #8cb4f0;
    --pin-fill: #e08a72;
  }
}

* { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* faint contour-like lined paper, very light */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      var(--line) 28px
    );
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.35), transparent 28%, transparent 100%);
}
@media (prefers-color-scheme: dark) {
  body::before { opacity: 0.18; }
}

a { color: var(--terracotta-dark); }
a:hover { color: var(--terracotta); }
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 65ch;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}

header {
  padding: 1.25rem 0 0.4rem;
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}
.logo {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
}
nav a {
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.route {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin: 1.15rem 0 0.55rem;
  color: var(--sage);
}
.route .track {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1.8 3.4;
}
.route .pin {
  fill: var(--pin-fill);
  stroke: var(--pin-fill);
}
.route .pin-hole {
  fill: var(--paper);
}

main { padding-top: 1.6rem; }
h1, h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: pretty;
}
h1 {
  font-size: 1.85rem;
  margin: 0 0 0.95rem;
}
h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.45rem;
}
p { margin: 0 0 1rem; }
.lede {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.45;
  margin-bottom: 1.15rem;
}
.soft { color: var(--ink-soft); }
.note {
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.coming {
  margin: 1.6rem 0 1.35rem;
  padding: 0;
  border: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--ink);
}
ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
li { margin: 0 0 0.35rem; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: var(--ink);
  white-space: nowrap;
}
.updated {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.lang { margin: 0 0 0.8rem; font-size: 0.95rem; }

footer {
  margin-top: 2.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
footer p { margin: 0; }

@media (max-width: 40rem) {
  h1 { font-size: 1.5rem; }
  body { font-size: 1.05rem; }
  nav { gap: 0.35rem 0.85rem; }
}
