:root {
  --bg:     #fffefc;
  --fg:     #1f1e1c;
  --muted:  #6b6862;
  --rule:   #e2dfd6;
  --note:   #f8eed6;
  --accent: #1f5fa8;
}

* { box-sizing: border-box; }

body {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

h2 {
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
  font-size: 1.25rem;
}

.wip {
  margin: 0 0 2rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  background: var(--note);
  color: var(--muted);
  font-size: 0.875rem;
}

.intro {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.intro img {
  flex: none;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
}
.intro h1 { margin: 0; font-size: 1.75rem; line-height: 1.2; }
.intro p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.5rem 0 0;
}
#out { color: var(--muted); }

.journey {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1.5rem 1rem;
}
.journey > span {
  grid-column: 1;
  margin-top: 0.2rem;
  white-space: nowrap;
  color: var(--muted);
  font-size: 1rem;
}
.journey > img {
  grid-column: 2;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0.2rem;
}
.journey > div { grid-column: 3; }
.journey p:first-child { margin-top: 0; }
.journey p:last-child { margin-bottom: 0; }

.levels {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.5rem;
}
.levels dt { color: var(--muted); font-size: 1rem; }
.levels dd { margin: 0; }

footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 34rem) {
  .intro { flex-direction: column; align-items: start; }
  .intro img { width: 7rem; height: 7rem; }

  .journey { grid-template-columns: auto 1fr; row-gap: 0.5rem; }
  .journey > span { grid-column: 1 / -1; margin: 1rem 0 0; }
  .journey > img { grid-column: 1; }
  .journey > div { grid-column: 2; }
}
