@for $i from 1 through 3 {
  h#{$i} {
    margin-top: $node-spacing;
  }
}

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