/* Is it legit? and Getting started: a board-band header over paper cards.
   The header is the chalkboard (h1 and a one-line lede in chalk); the body
   below is readable paper, with each step or check on its own index card and a
   small square of board beside the heading — a chalk mono numeral for a step, a
   chalk tick for a check. Square corners; ink tokens only on paper. Motion
   lives in css/motion.css; this file adds none. */

/* ---------- Board-band header ---------- */
.band-head { padding-block: clamp(38px, 6vw, 68px) 0; }
/* The bottom space sits inside the container, so the chalk tray drawn by
   .board-band::after marks the foot of the header, as on .page-hero. */
.band-head > .container { padding-bottom: clamp(34px, 5vw, 54px); }
.band-head h1 { color: var(--chalk); max-width: 26ch; }
/* The old hero used <em>. The global h1 em rule paints that dark ink, which
   vanished on the board. Keep any emphasis in the lockup chalk. */
.band-head h1 em { color: inherit; }
.band-head__lede {
  margin: 14px 0 0;
  max-width: 60ch;
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--chalk-2);
}

/* ---------- Index cards ---------- */
.index-cards {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  /* Each card keeps the height of its own content instead of being padded out
     to the tallest neighbour in the row. */
  align-items: start;
}
@media (min-width: 800px) {
  .index-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Head row (chip plus heading) over a body that runs the full card width. */
.index-card {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: var(--card-pin);
}
.index-card--plain { grid-template-columns: minmax(0, 1fr); }
.index-card__head { display: flex; align-items: center; gap: 12px; }
.index-card__body { min-width: 0; }
.index-card h3 { margin: 0 0 6px; font-size: 1.12rem; line-height: 1.25; }
/* After the rule above, so the head row owns its own spacing (the card gap). */
.index-card__head h3 { margin: 0; }
.index-card p { margin: 0; max-width: 58ch; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.index-card p + p { margin-top: 8px; }
.index-card__link { margin-top: 10px !important; }
.index-card__link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.chalk-arrow { width: 1.05em; height: auto; flex: none; }
.index-card__link .chalk-arrow { vertical-align: -.1em; }
.btn .chalk-arrow { vertical-align: -.12em; }

/* A chalk tick sits on a small square of board, so the white chalk reads. */
.tick-chip {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 32px;
  background: var(--board);
  border-radius: 2px;
  flex: none;
}
.tick-chip img { width: 30px; height: auto; }
/* A numbered board chip marks a step or a section: the same square of board as
   the tick chip, with a chalk mono numeral. The tick chip marks a check.
   Never a "Step N" label beside either. */
.num-chip {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 32px;
  background: var(--board);
  color: var(--chalk);
  font: 700 1rem var(--font-mono);
  border-radius: 2px;
  flex: none;
}

@media (max-width: 560px) {
  .index-card { padding: 18px; gap: 12px; }
  .index-card__head { gap: 10px; }
  .tick-chip,
  .num-chip { width: 34px; height: 28px; }
  .tick-chip img { width: 25px; }
}
