/* /quests/ page.

   The page has one job: get someone from "what are quests" to signed in on
   Nightwatch. The steps are a genuine sequence, so they carry numbers. They
   are ruled columns in the same language as the rules page spec rows, not
   floating cards with icons. */

.q { padding-block: var(--s6) var(--s7); }

.q__top { max-width: 640px; margin-bottom: var(--s6); }

.q__h {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .9;
  margin: 0 0 var(--s3);
}

.q__lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--bone);
  max-width: 48ch;
  margin: 0;
}
.q__lede b { color: var(--ember); font-weight: 800; }

.q__cta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s2) var(--s3);
  margin: var(--s4) 0 0;
}
.q__note { font-size: .875rem; color: var(--mute); }

.q__body { color: var(--mute); max-width: 58ch; line-height: 1.65; margin: var(--s3) 0 0; }

/* ------------------------------------------------------- the quests --- */
/* Grouped by difficulty and laid out like a price list: name and what it
   takes on the left, the slot you earn on the right. No cards, no icons. */

.ql { margin-top: var(--s6); }

.ql__h {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}
.ql__sub { color: var(--mute); margin: var(--s1) 0 var(--s4); }

.ql__group { margin-top: var(--s4); }

.ql__tier {
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
  padding-bottom: var(--s1);
  border-bottom: 2px solid var(--line);
}
.ql__group--hard .ql__tier { color: var(--bone); }
.ql__group--elite .ql__tier { color: var(--ember); border-bottom-color: var(--ember); }

.ql__list { list-style: none; margin: 0; padding: 0; }

.ql__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px var(--s3);
  align-items: baseline;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--line);
}
.ql__name { font-weight: 800; font-size: 1.0625rem; color: var(--bone); }
.ql__desc { grid-column: 1; color: var(--mute); line-height: 1.5; }
.ql__reward {
  grid-column: 2; grid-row: 1 / span 2;
  align-self: center;
  text-align: right;
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--ember);
  white-space: nowrap;
}
.ql__reward small {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
}
.ql__rep { display: block; font-size: .75rem; font-weight: 600; color: var(--mute); }

@media (max-width: 479px) {
  .ql__item { grid-template-columns: 1fr; }
  .ql__reward { grid-column: 1; grid-row: auto; text-align: left; margin-top: var(--s1); }
  .ql__reward small, .ql__rep { display: inline; margin-left: 6px; }
}

/* ---------------------------------------------- closing: the community -- */
.q__join {
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 2px solid var(--ember);
  max-width: 640px;
}
.q__join h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 var(--s2);
}
.q__join p { color: var(--mute); line-height: 1.6; margin: 0 0 var(--s3); max-width: 50ch; }
