@font-face {
  font-family: Pixelify;
  src: url("assets/pixelify.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("assets/plex-mono.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #1b1433;
  --deep: #120c24;
  --dusk: #3b2a63;
  --line: #5a4796;
  --moon: #fff1cf;
  --sand: #f4cf8d;
  --dune: #e2874a;
  --cactus: #4fb59a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--night);
  color: var(--moon);
  font: 1rem/1.6 "Plex Mono", monospace;
  text-align: center;
}
header {
  padding: 3.25rem 1rem 1rem;
}
.status {
  color: var(--cactus);
  font: 400 1.25rem/1.25 Pixelify, monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
}
h1 {
  margin: .3rem 0 .5rem;
  font: 700 5rem/.95 Pixelify, monospace;
}
h1 span { color: var(--dune); }
header p { max-width: 37ch; margin: 1rem auto 0; color: var(--sand); }
.night-map {
  position: relative;
  isolation: isolate;
  max-width: 64rem;
  margin: auto;
  padding: 2rem 1rem 3.2rem;
  background: url("assets/dunes.svg") center bottom / 100% auto no-repeat;
}
.web-lines { display: none; }
.moon { position: absolute; top: 1rem; right: 12%; z-index: -1; }
.burrow img, .worlds img { display: block; margin: auto; }
.burrow p { margin: .75rem auto 0; max-width: 26ch; }
.worlds {
  display: grid;
  grid-template-columns: 1fr;
  width: max-content;
  max-width: 100%;
  list-style: none;
  margin: 0 auto;
  padding: 1.5rem 0 0 1rem;
  text-align: left;
  position: relative;
}
.worlds::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5rem;
  bottom: 1rem;
  border-left: 4px dotted var(--line);
}
.worlds li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 0 .65rem;
  padding: .65rem .25rem;
}
.worlds li::before {
  content: "";
  position: absolute;
  left: -1.05rem;
  width: 1rem;
  top: 50%;
  border-top: 4px dotted var(--line);
}
.worlds img { grid-row: span 2; }
.worlds img { margin: 0; }
.worlds small { align-self: start; display: block; color: var(--cactus); font-size: .875rem; }
footer { padding: 1.25rem; background: var(--deep); color: var(--sand); font-size: .875rem; }
@media (max-width: 43rem) {
  body { font-size: 1.0625rem; }
  h1 { font-size: 3.5rem; }
  header { padding-top: 2rem; }
  .moon { right: 6%; }
}
@media (min-width: 48rem) {
  .night-map { display: grid; padding: 1rem 0 3rem; }
  .burrow, .worlds, .web-lines { grid-area: 1 / 1; }
  .burrow {
    align-self: center;
    justify-self: center;
    z-index: 1;
    padding: .75rem;
    max-width: 16rem;
    background: var(--night);
  }
  .web-lines {
    display: block;
    width: 100%;
    height: 22rem;
    fill: none;
    stroke: var(--line);
    stroke-width: 3;
  }
  .web-lines path { vector-effect: non-scaling-stroke; stroke-dasharray: 4 7; }
  .worlds {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    min-height: 22rem;
    padding: 0;
    text-align: center;
  }
  .worlds::before, .worlds li::before { display: none; }
  .worlds li {
    display: block;
    align-self: center;
    justify-self: center;
    background: var(--night);
    padding: .5rem .8rem;
  }
  .worlds img { margin: 0 auto .35rem; }
}
@media (max-width: 22rem) { h1 { font-size: 2.75rem; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none; transition: none; }
}

.roadmap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  text-align: left;
}
.roadmap h2, .roadmap h3 {
  margin: 0;
  font-family: Pixelify, monospace;
  line-height: 1.2;
}
.roadmap h2 { font-size: 2rem; }
.roadmap h3 { font-size: 1.5rem; }
.roadmap > p { color: var(--sand); }
.roadmap ol {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}
.roadmap li {
  background: var(--dusk);
  padding: 1.1rem;
  border-top: 3px dotted var(--line);
}
.roadmap li p { margin: .65rem 0 0; }
@media (min-width: 56rem) {
  .roadmap ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.roadmap-card-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}
