/* How it works page only. Classes prefixed hiw- and scoped under .page-how-it-works. */
@layer pages {
  .page-how-it-works .hiw-hero__title { max-width: 920px; }
  .page-how-it-works .hiw-hero__copy { max-width: 820px; }

  /* Tracker: "Now" marker sits on the same row as the current step */
  .page-how-it-works .hiw-tracker { border-width: 1.5px; border-color: var(--input-border); }
  .page-how-it-works .hiw-tracker .m-tracker__step { padding-block: 9px; }
  .page-how-it-works .hiw-tracker .m-tracker__dot { width: 24px; height: 24px; }
  .page-how-it-works .hiw-tracker .m-tracker__note { flex-basis: auto; padding-left: 0; font-size: 14px; font-weight: 700; color: var(--coral-text); }

  /* Stage card: number + title/tracker chip + lead + "what we do / what you do" notes */
  .page-how-it-works .hiw-stages,
  .page-how-it-works .hiw-stage-list { --stack-gap: 36px; }
  .page-how-it-works .hiw-stage { gap: 22px; padding: 30px; border-radius: 20px; --text: var(--body); --link: var(--harbor); }
  .page-how-it-works .hiw-stage .c-step__num { width: 48px; height: 48px; font-size: 19px; }
  .page-how-it-works .hiw-stage__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
  .page-how-it-works .hiw-stage__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
  .page-how-it-works .hiw-stage__lead { font-size: var(--fs-list); }
  .page-how-it-works .hiw-stage__notes { --grid-gap: 14px; }
  .page-how-it-works .hiw-label--you { color: var(--coral-text); }
  @media (max-width: 560px) {
    .page-how-it-works .hiw-stage { flex-direction: column; padding: 24px 20px; }
  }

  /* Sample timelines (c-panel with c-panel__head): time column + step rows */
  .page-how-it-works .hiw-timelines { --stack-gap: 40px; }
  .page-how-it-works .hiw-timeline__row { display: grid; grid-template-columns: var(--time-col, 96px) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); font-size: var(--fs-card); line-height: 1.6; }
  .page-how-it-works .hiw-timeline__row:last-child { border-bottom: 0; padding-bottom: 0; }
  .page-how-it-works .hiw-timeline__row dt { font-weight: 800; color: var(--harbor); }
  .page-how-it-works .hiw-timeline__row dd { margin: 0; color: var(--body); }
  .page-how-it-works .hiw-timeline--days { --time-col: 120px; }
}
