.task-shell {
  position: relative;
  width: min(930px, calc(100% - 48px));
  min-height: calc(100vh - 140px);
  margin: 0 auto;
  padding: 36px 0 80px 126px;
}

.task-shell--home {
  padding-bottom: 54px;
}

.task-content {
  width: min(100%, 660px);
}

.task-content--wide {
  width: min(100%, 760px);
}

.active-theme {
  margin: -28px 0 32px;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.active-theme span {
  margin-right: 7px;
  color: var(--color-blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress {
  width: min(100%, 660px);
  margin: 0 0 48px;
}

.progress ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.73rem;
  text-align: center;
}

.progress li::before,
.progress li::after {
  position: absolute;
  z-index: -1;
  top: 17px;
  height: 1px;
  background: var(--color-border);
  content: "";
}

.progress li::before {
  left: 0;
  width: 50%;
}

.progress li::after {
  right: 0;
  width: 50%;
}

.progress li:first-child::before,
.progress li:last-child::after {
  display: none;
}

.progress li.is-complete::after,
.progress li.is-complete + li::before {
  background: var(--color-blue);
}

.progress__node {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #aeb8c8;
  border-radius: 50%;
  color: var(--color-ink);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.progress__node svg {
  width: 19px;
  height: 19px;
}

.progress li.is-active {
  color: var(--color-ink);
  font-weight: 700;
}

.progress li.is-active .progress__node {
  border-color: var(--color-blue);
}

.progress li[aria-current="step"] .progress__node {
  color: #fff;
  background: var(--color-blue);
}

.civic-thread {
  position: absolute;
  top: 34px;
  bottom: 52px;
  left: 50px;
  width: 52px;
  pointer-events: none;
}

.civic-thread__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  width: 1px;
  background: var(--color-blue);
}

.civic-thread__icon {
  position: sticky;
  top: 110px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-top: 96px;
  border: 1px solid var(--color-blue);
  border-radius: 50%;
  color: var(--color-blue);
  background: #fff;
}

.civic-thread__icon svg {
  width: 30px;
  height: 30px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: #33445a;
  font-size: 1.12rem;
}

.lead--compact {
  margin-bottom: 28px;
}
