/* How it works: five steps told from the customer's side, as a ledger of
   what you do, what we do, and what you keep if you stop there. */
.pg-head {
  padding-block: clamp(40px, 5vw, 76px) clamp(28px, 3.6vw, 48px);
}
.pg-head h1 {
  max-width: 17ch;
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.pg-intro {
  max-width: 52ch;
}
@media (min-width: 701px) {
  .pg-cover > .pg-head {
    min-height: clamp(340px, 44svh, 440px);
  }
}

.hw-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- The ledger ---- */
.hw-ledger {
  background: #eae8df;
  color: #222421;
  padding-block: clamp(22px, 2.6vw, 36px) clamp(28px, 3.4vw, 48px);
}
.hw-cols,
.hw-rows > li {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 36px);
}
.hw-cols {
  padding-bottom: 10px;
  border-bottom: 1px solid #222421;
  font: 600 14px/1.3 var(--sans);
  color: #4b4e47;
}
.hw-cols span:last-child {
  color: #8a3a05;
}
.hw-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.hw-rows > li {
  counter-increment: step;
  align-items: start;
  padding: clamp(18px, 2vw, 26px) 0;
}
.hw-rows > li + li {
  border-top: 1px solid #c4c1b4;
}
.hw-rows h3 {
  margin: 0;
  font: 500 clamp(20px, 1.8vw, 26px)/1.15 var(--sans);
  letter-spacing: -.035em;
  color: #1d1b17;
}
.hw-rows h3::before {
  content: counter(step);
  display: block;
  margin-bottom: 6px;
  font: 400 clamp(26px, 2.6vw, 38px)/1 var(--sans);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: #a54100;
}
.hw-rows p {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 1.5;
  color: #3c3f39;
  text-wrap: pretty;
}
.hw-lab {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hw-rows .hw-keep {
  align-self: start;
  padding: 12px 14px;
  background: #f7f5ee;
  border-left: 3px solid #a54100;
  font: 400 clamp(16px, 1.25vw, 18px)/1.4 "Iowan Old Style", "Palatino Linotype", Palatino, Charter, Georgia, serif;
  letter-spacing: -.01em;
  color: #1d1b17;
}
.hw-rows .hw-sample {
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px dashed #a9a696;
  font-size: 14.5px;
  line-height: 1.45;
  color: #3c3f39;
}
.hw-sample span {
  display: block;
  font-weight: 600;
  color: #5b5e56;
}

/* ---- Closing call to action ---- */
.hw-end {
  padding-block: clamp(32px, 3.6vw, 52px);
}
.hw-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
}
.hw-start p {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  color: #e1e0da;
}

@media (max-width: 960px) {
  .hw-cols {
    display: none;
  }
  .hw-rows > li {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 24px;
    padding: 24px 0;
  }
  .hw-rows h3 {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .hw-rows h3::before {
    margin: 0;
    font-size: 28px;
  }
  .hw-keep {
    grid-column: 1 / -1;
  }
  .hw-lab {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font: 600 15px/1.4 var(--sans);
    color: #1d1b17;
  }
  .hw-keep .hw-lab {
    color: #8a3a05;
  }
}

@media (max-width: 560px) {
  .hw-rows > li {
    grid-template-columns: minmax(0, 1fr);
  }
}
