/* ══════════════════════════════════════════════════════════════════════════
   Poker Super League — "How It Works" detail page.

   Loads on top of `styles.css` (shared nav, tokens, CTA band, footer). Echoes
   the home page's How It Works section: red kicker, the same big blue-tinted
   "01" number, surface cards — expanded to hold full paragraphs of copy.
   ══════════════════════════════════════════════════════════════════════════ */

/* Page header */
.how-header { padding: clamp(48px, 8vw, 88px) 0 clamp(28px, 5vw, 44px); }
.how-header .how-h1 {
  font-family: var(--font-heading); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(34px, 6vw, 56px); margin: 14px 0 16px; color: #fff;
}
/* Same width as the home page's How it works intro, so the copy runs to a
   few lines on desktop rather than a narrow column. */
.how-header .how-lede { font-size: clamp(17px, 2.2vw, 19px); max-width: 940px; margin: 0; text-wrap: pretty; }

/* Back link to the home section */
.how-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px;
  font-family: var(--font-heading); font-weight: 600; font-size: 14px;
  color: var(--psl-blue); text-decoration: none;
}
.how-back:hover { color: #5cc0ef; }

/* Steps */
.how-steps { display: flex; flex-direction: column; gap: 20px; padding-bottom: clamp(48px, 8vw, 80px); }

/* The number and the title form one big header row (same size), with the body
   paragraphs directly beneath the title. The number sits in its own narrow
   left column so the title + copy stay tightly grouped. */
.how-step {
  scroll-margin-top: 24px;
  display: grid;
  grid-template-columns: min-content 1fr;
  grid-template-areas:
    "num title"
    ".   body";
  column-gap: clamp(18px, 3vw, 40px);
  row-gap: 6px;
  align-items: start;
  padding: clamp(28px, 4vw, 48px); border-radius: 18px;
  background: var(--color-surface); box-shadow: var(--shadow-sm);
}

/* Number and title share the same size — matched to the page's own <h1>. */
.how-step-num, .how-step-title {
  font-family: var(--font-heading); font-weight: 800; line-height: 1;
  font-size: clamp(34px, 6vw, 56px); letter-spacing: -.02em; margin: 0;
}
.how-step-num { grid-area: num; color: color-mix(in srgb, var(--psl-blue) 85%, transparent); }
.how-step-title { grid-area: title; color: #fff; }

/* Lead + body paragraphs — fill the column width and justify for a neat block. */
.how-step-body { grid-area: body; margin-top: 8px; text-align: justify; hyphens: auto; }
.how-step-lead { font-size: clamp(17px, 2vw, 19px); font-weight: 600; color: var(--color-text); margin: 0 0 18px; }
.how-step-body p { font-size: 16px; line-height: 1.75; margin: 0 0 16px; color: color-mix(in srgb, var(--color-text) 62%, transparent); }
.how-step-body p:last-child { margin-bottom: 0; }

@media (max-width: 820px) {
  .how-step {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "title" "body";
    row-gap: 4px;
  }
}
