/* How it works: the three parts, rollback and the connection, the PC checklist and every link.
   Builds on site.css and resurrection.css (.label-tab, .link-rows). */

.hiw > .section {
  margin-top: var(--s-12);
}

.hiw > .section > .label-tab {
  margin-bottom: var(--s-5);
}

.hiw > .section > p {
  max-width: 64ch;
  margin-bottom: var(--s-3);
}

/* The three parts: numbered rows, the number in PBD Display beside the name. */
.parts {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: part;
  border-top: 1px solid rgba(233, 238, 237, 0.08);
}

.parts > li {
  counter-increment: part;
  position: relative;
  margin: 0;
  padding: var(--s-5) 0 var(--s-5) 52px;
  border-bottom: 1px solid rgba(233, 238, 237, 0.08);
}

.parts > li::before {
  content: counter(part);
  position: absolute;
  left: 4px;
  top: var(--s-5);
  color: #C96678;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
}

.part-name {
  margin: 0 0 var(--s-1);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.parts p {
  margin: 0;
  color: var(--text-2);
}

/* The PC checklist: label left, value right, ruled like the launcher's settings rows. */
.needs {
  margin: 0;
  border-top: 1px solid rgba(233, 238, 237, 0.08);
}

.needs > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0 var(--s-4);
  padding: var(--s-3) var(--s-1);
  border-bottom: 1px solid rgba(233, 238, 237, 0.08);
}

.needs dt {
  color: var(--text-3);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  line-height: 1.9;
  text-transform: uppercase;
}

.needs dd {
  margin: 0;
  color: var(--text-1);
}

@media (max-width: 419.98px) {
  .needs > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Link groups: a small capitals heading over each run of link rows. */
.links-group {
  margin: var(--s-8) 0 var(--s-2);
  color: var(--text-3);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hiw .label-tab + .links-group {
  margin-top: 0;
}
