/* Home sections band. Tokens and base classes come from tokens.css; this file only lays out the band. */

.band {
  padding: 64px 0 128px;
}

.wrap {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
}

/* Ladder: pill, headline, subtext, grid */

.ladder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 24px 0 0;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--ink);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--numeral-circle);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  margin-right: 16px;
}

.ladder h2 {
  margin-top: 48px;
}

.ladder .lede {
  max-width: 720px;
  margin-top: 24px;
}

/* Card grid: three tracks, cards span two or one for the asymmetric rows */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 64px;
  text-align: left;
}

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

.card h3 { color: var(--ink); }
.card .body { margin-top: 16px; }

/* Monoline icon row inside a feature card */

.icons {
  display: flex;
  gap: 28px;
  margin-top: 32px;
}

.icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  stroke: var(--graphite);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Wide card with a labelled list on the right */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  white-space: nowrap;
}

/* Player directory band. The whole card is the link; the button inside is the visible target. */

.band-directory {
  padding-top: 0;
}

.player {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.player:hover,
.player:focus-visible {
  background: var(--numeral-circle);
  outline: none;
}

.player-id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 24px;
}

.player-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.player-name .arrow {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  stroke: var(--ink);
  transition: transform 160ms ease;
}

.player:hover .arrow { transform: translateX(6px); }

.player-id .body { margin-top: 16px; }

.player-cta {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
  gap: 12px;
}

.player-cta .arrow {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  stroke: var(--ink);
  transition: transform 160ms ease;
}

.cues {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.cues li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--graphite);
  margin-right: 8px;
  vertical-align: 2px;
}

.group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.group > .caption { color: var(--ink); }

.stat {
  display: flex;
  flex-direction: column;
}

.stat .value {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .player { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .player-id { grid-column: 1 / -1; padding-right: 0; }
}

@media (max-width: 1240px) and (min-width: 1025px) {
  .player { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .player-id { grid-column: 1 / -1; padding-right: 0; }
}

@media (max-width: 720px) {
  .band { padding: 0 0 80px; }
  .band-directory { padding-top: 0; }
  #how-it-works + .band { padding-top: 80px; }
  .ladder h2 { margin-top: 24px; }
  .ladder .lede { margin-top: 12px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .span-2, .span-3 { grid-column: auto; }
  .card .body { margin-top: 8px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .icons { display: none; }
  .list { flex-direction: row; flex-wrap: wrap; gap: 4px 24px; }
  .list li { font-size: 16px; min-height: 44px; gap: 10px; }
  .player { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .player-id { padding-right: 0; }
  .player-id .body { margin-top: 12px; }
  .cues { margin-top: 16px; gap: 4px 20px; }
  .group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .group > .caption { grid-column: 1 / -1; }
  .group .stat:nth-of-type(3) { grid-column: 1 / -1; }
  .stat .value { font-size: 22px; }
  .player-cta { justify-self: center; width: 100%; max-width: 320px; margin-top: 4px; }
}
