/* p-board: the Practice Board landing page, /practice-board/
 *
 * Scoped under .wc .p-board so nothing leaks to the rest of the site.
 * Tokens come from /css/waldrep.css; every var() carries a fallback so the
 * page still reads correctly if the main sheet is late or missing.
 * Mobile first: base rules are the phone layout, min-width queries add room.
 *
 * Colour roles on this page
 *   --accent  the one action colour: the primary button and section labels
 *   --gold    ratings and credentials only (rating bars, badge, price)
 *   --ok      covered points in the sample card
 *   --bad     missed points in the sample card
 *   --warn    the "Fix first" note
 */

/* ---- base -------------------------------------------------------------- */
.wc body.p-board {
  background: var(--bg-deep, #07091a);
  color: var(--text, #e2e8f0);
}
.wc .p-board .pb-wrap {
  width: 100%;
  max-width: var(--container, 1160px);
  margin-inline: auto;
  padding-inline: var(--sp-4, 1rem);
}
.wc .p-board section[id] { scroll-margin-top: calc(var(--nav-h, 68px) + var(--sp-4, 1rem)); }
.wc .p-board .pb-section { padding-block: var(--sp-8, 4rem); }
.wc .p-board .pb-alt {
  background: var(--bg-section, #0b0d22);
  border-block: 1px solid var(--border-soft, rgba(255, 255, 255, 0.06));
}
.wc .p-board .pb-body {
  color: var(--text-secondary, #c3ccda);
  font-size: var(--fs-base, 1rem);
  line-height: var(--lh-body, 1.7);
  max-width: var(--measure, 68ch);
}
.wc .p-board .pb-body + .pb-body { margin-top: var(--sp-4, 1rem); }
.wc .p-board .section-title { max-width: 26ch; }
.wc .p-board .pb-lead {
  color: var(--text-muted, #a0aab8);
  font-size: var(--fs-base, 1rem);
  max-width: 60ch;
  margin-bottom: var(--sp-6, 2rem);
}

/* The shared menu button is 40px; this page lifts it to a 44px tap target.
   Same 5px gap and 2px bars, so the open-state X still lines up. */
.wc .p-board .hamburger { width: 44px; height: 44px; padding: 8px; }

/* ---- buttons ------------------------------------------------------------ */
.wc .p-board .pb-btn {
  min-height: 48px;
  padding: var(--sp-3, 0.75rem) var(--sp-5, 1.5rem);
  font-size: var(--fs-base, 1rem);
  border-radius: var(--r-md, 8px);
  width: 100%;
}
.wc .p-board .btn-primary.pb-btn { color: var(--bg-deep, #07091a); font-weight: 800; }
.wc .p-board .btn-secondary.pb-btn { color: var(--text-strong, #ffffff); }
.wc .p-board .pb-btn:focus-visible { outline: 2px solid var(--text-strong, #ffffff); outline-offset: 3px; }
.wc .p-board .pb-btn svg { flex-shrink: 0; }

/* ---- hero --------------------------------------------------------------- */
.wc .p-board .pb-hero {
  /* the site nav is position: fixed, so clear its height first */
  padding-block: calc(var(--nav-h, 68px) + var(--sp-6, 2rem)) var(--sp-7, 3rem);
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, var(--accent-glow, rgba(0, 200, 255, 0.15)), transparent 70%),
    var(--bg-deep, #07091a);
  border-bottom: 1px solid var(--border, rgba(0, 200, 255, 0.14));
}
.wc .p-board .pb-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-1, 0.25rem) var(--sp-3, 0.75rem);
  margin-bottom: var(--sp-4, 1rem);
  border: 1px solid var(--gold-line, rgba(212, 168, 67, 0.35));
  background: var(--gold-dim, rgba(212, 168, 67, 0.10));
  border-radius: var(--r-pill, 999px);
  color: var(--gold, #d4a843);
  font-size: var(--fs-2xs, 0.6875rem);
  font-weight: 700;
  letter-spacing: var(--tracking-label, 0.12em);
  text-transform: uppercase;
  line-height: 1.5;
}
.wc .p-board .pb-hero h1 {
  font-size: clamp(2rem, 7vw, 3.25rem);
  max-width: 22ch;
  margin-bottom: var(--sp-4, 1rem);
}
.wc .p-board .pb-sub {
  color: var(--text-secondary, #c3ccda);
  font-size: var(--fs-base, 1rem);
  line-height: var(--lh-body, 1.7);
  max-width: 62ch;
  margin-bottom: var(--sp-5, 1.5rem);
}
.wc .p-board .pb-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3, 0.75rem);
  margin-bottom: var(--sp-3, 0.75rem);
}
.wc .p-board .pb-support {
  color: var(--text-muted, #a0aab8);
  font-size: var(--fs-sm, 0.875rem);
}
/* The pass by itself, said quietly under the two main buttons: the price, and a
   way straight to it for someone who does not want the free board first. The
   link is a tap target of its own (44px), not a link inside a sentence. */
.wc .p-board .pb-hero-pass {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--sp-4, 1rem);
  max-width: 62ch;
  margin-top: var(--sp-4, 1rem);
  padding-top: var(--sp-3, 0.75rem);
  border-top: 1px solid var(--border-soft, rgba(255, 255, 255, 0.06));
}
.wc .p-board .pb-hero-pass p { color: var(--text-secondary, #c3ccda); font-size: var(--fs-sm, 0.875rem); }
.wc .p-board .pb-quiet {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2, 0.5rem);
  min-height: 44px;
  min-width: 44px;
  color: var(--accent, #00c8ff);
  font-size: var(--fs-sm, 0.875rem);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wc .p-board .pb-quiet:hover { color: var(--text-strong, #ffffff); }
.wc .p-board .pb-quiet:focus-visible { outline: 2px solid var(--text-strong, #ffffff); outline-offset: 3px; border-radius: var(--r-sm, 4px); }
.wc .p-board .pb-quiet svg { flex-shrink: 0; }
.wc .p-board .pb-hero-note {
  max-width: 62ch;
  margin-top: var(--sp-2, 0.5rem);
  color: var(--text-muted, #a0aab8);
  font-size: var(--fs-xs, 0.78125rem);
}
.wc .p-board .pb-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5, 1.5rem) var(--sp-4, 1rem);
  margin-top: var(--sp-6, 2rem);
  padding: var(--sp-5, 1.5rem);
  background: var(--bg-card, #0e1230);
  border: 1px solid var(--border, rgba(0, 200, 255, 0.14));
  border-radius: var(--r-lg, 12px);
}
.wc .p-board .pb-stat { display: flex; flex-direction: column; gap: var(--sp-1, 0.25rem); min-width: 0; }
.wc .p-board .pb-stat-num {
  font-size: var(--fs-xl, 1.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gold, #d4a843);
  font-variant-numeric: tabular-nums;
}
.wc .p-board .pb-stat-label {
  font-size: var(--fs-xs, 0.78125rem);
  color: var(--text-muted, #a0aab8);
  line-height: var(--lh-snug, 1.35);
}

/* ---- steps -------------------------------------------------------------- */
.wc .p-board .pb-steps {
  display: grid;
  gap: var(--sp-4, 1rem);
  counter-reset: pbstep;
}
.wc .p-board .pb-step {
  position: relative;
  padding: var(--sp-5, 1.5rem);
  padding-left: calc(var(--sp-5, 1.5rem) + 2.75rem);
  background: var(--bg-card, #0e1230);
  border: 1px solid var(--border, rgba(0, 200, 255, 0.14));
  border-radius: var(--r-lg, 12px);
}
.wc .p-board .pb-step::before {
  counter-increment: pbstep;
  content: counter(pbstep);
  position: absolute;
  left: var(--sp-5, 1.5rem);
  top: var(--sp-5, 1.5rem);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-hard, rgba(255, 255, 255, 0.12));
  background: var(--bg-raised, #141a3c);
  color: var(--text-strong, #ffffff);
  font-weight: 800;
  font-size: var(--fs-sm, 0.875rem);
}
.wc .p-board .pb-step h3 { font-size: var(--fs-md, 1.125rem); margin-bottom: var(--sp-2, 0.5rem); }
.wc .p-board .pb-step p { color: var(--text-muted, #a0aab8); font-size: var(--fs-sm, 0.875rem); }

/* ---- sample scored answer card ----------------------------------------- */
.wc .p-board .pb-card {
  max-width: 46rem;
  background: var(--bg-card, #0e1230);
  border: 1px solid var(--border-hard, rgba(255, 255, 255, 0.12));
  border-radius: var(--r-xl, 18px);
  box-shadow: var(--shadow-card, 0 6px 28px rgba(0, 0, 0, 0.34));
  overflow: hidden;
}
.wc .p-board .pb-card-block { padding: var(--sp-5, 1.5rem); }
.wc .p-board .pb-card-block + .pb-card-block { border-top: 1px solid var(--border-soft, rgba(255, 255, 255, 0.06)); }
.wc .p-board .pb-card-label {
  display: block;
  margin-bottom: var(--sp-2, 0.5rem);
  font-size: var(--fs-2xs, 0.6875rem);
  font-weight: 700;
  letter-spacing: var(--tracking-label, 0.12em);
  text-transform: uppercase;
  color: var(--text-muted, #a0aab8);
}
.wc .p-board .pb-card-q {
  color: var(--text-strong, #ffffff);
  font-size: var(--fs-md, 1.125rem);
  font-weight: 600;
  line-height: var(--lh-snug, 1.35);
}
.wc .p-board .pb-card-a {
  margin: 0;
  padding: var(--sp-3, 0.75rem) var(--sp-4, 1rem);
  border-left: 3px solid var(--border-hard, rgba(255, 255, 255, 0.12));
  background: var(--bg-raised, #141a3c);
  border-radius: 0 var(--r-md, 8px) var(--r-md, 8px) 0;
  color: var(--text, #e2e8f0);
  font-style: italic;
  font-size: var(--fs-sm, 0.875rem);
}

/* rating bars: five segments, gold for earned points */
.wc .p-board .pb-ratings { display: grid; gap: var(--sp-3, 0.75rem); }
.wc .p-board .pb-rating {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name score" "bar bar";
  align-items: center;
  gap: var(--sp-1, 0.25rem) var(--sp-3, 0.75rem);
}
.wc .p-board .pb-rating-name { grid-area: name; font-size: var(--fs-sm, 0.875rem); color: var(--text, #e2e8f0); }
.wc .p-board .pb-rating-score {
  grid-area: score;
  font-size: var(--fs-sm, 0.875rem);
  font-weight: 800;
  color: var(--gold, #d4a843);
  font-variant-numeric: tabular-nums;
}
.wc .p-board .pb-rating-score span { color: var(--text-muted, #a0aab8); font-weight: 600; }
.wc .p-board .pb-bar {
  grid-area: bar;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.wc .p-board .pb-bar i {
  display: block;
  height: 8px;
  border-radius: var(--r-pill, 999px);
  background: var(--bg-raised, #141a3c);
  border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.06));
}
.wc .p-board .pb-bar[data-score="1"] i:nth-child(-n+1),
.wc .p-board .pb-bar[data-score="2"] i:nth-child(-n+2),
.wc .p-board .pb-bar[data-score="3"] i:nth-child(-n+3),
.wc .p-board .pb-bar[data-score="4"] i:nth-child(-n+4),
.wc .p-board .pb-bar[data-score="5"] i:nth-child(-n+5) {
  background: var(--gold, #d4a843);
  border-color: var(--gold, #d4a843);
}

/* covered and missed points */
.wc .p-board .pb-points { display: grid; gap: var(--sp-5, 1.5rem); }
.wc .p-board .pb-points ul { display: grid; gap: var(--sp-2, 0.5rem); }
.wc .p-board .pb-points li {
  display: flex;
  gap: var(--sp-3, 0.75rem);
  align-items: flex-start;
  font-size: var(--fs-sm, 0.875rem);
  color: var(--text, #e2e8f0);
}
.wc .p-board .pb-mark {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.wc .p-board .pb-mark svg { width: 0.75rem; height: 0.75rem; }
.wc .p-board .pb-mark.ok { background: rgba(61, 220, 151, 0.14); color: var(--ok, #3ddc97); }
.wc .p-board .pb-mark.bad { background: rgba(255, 107, 107, 0.14); color: var(--bad, #ff6b6b); }
.wc .p-board .pb-points .pb-card-label.ok { color: var(--ok, #3ddc97); }
.wc .p-board .pb-points .pb-card-label.bad { color: var(--bad, #ff6b6b); }

.wc .p-board .pb-fix {
  background: rgba(240, 180, 41, 0.08);
  border-top: 1px solid rgba(240, 180, 41, 0.3);
}
.wc .p-board .pb-card-block.pb-fix { border-top-color: rgba(240, 180, 41, 0.3); }
.wc .p-board .pb-fix .pb-card-label { color: var(--warn, #f0b429); }
.wc .p-board .pb-fix p { color: var(--text, #e2e8f0); font-size: var(--fs-sm, 0.875rem); }

/* ---- pass ----------------------------------------------------------------- */
.wc .p-board .pb-pass {
  display: grid;
  gap: var(--sp-6, 2rem);
}
.wc .p-board .pb-features { display: grid; gap: var(--sp-3, 0.75rem); }
.wc .p-board .pb-feature {
  padding: var(--sp-4, 1rem) var(--sp-5, 1.5rem);
  background: var(--bg-card, #0e1230);
  border: 1px solid var(--border, rgba(0, 200, 255, 0.14));
  border-radius: var(--r-lg, 12px);
}
.wc .p-board .pb-feature h3 { font-size: var(--fs-base, 1rem); margin-bottom: var(--sp-1, 0.25rem); }
.wc .p-board .pb-feature p { color: var(--text-muted, #a0aab8); font-size: var(--fs-sm, 0.875rem); }
.wc .p-board .pb-price {
  align-self: start;
  padding: var(--sp-6, 2rem) var(--sp-5, 1.5rem);
  background: var(--bg-raised, #141a3c);
  border: 1px solid var(--gold-line, rgba(212, 168, 67, 0.35));
  border-radius: var(--r-xl, 18px);
}
.wc .p-board .pb-price-row { display: flex; align-items: baseline; gap: var(--sp-2, 0.5rem); flex-wrap: wrap; }
.wc .p-board .pb-price-num {
  font-size: var(--fs-3xl, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-strong, #ffffff);
  font-variant-numeric: tabular-nums;
}
.wc .p-board .pb-price-per { color: var(--gold, #d4a843); font-weight: 700; font-size: var(--fs-md, 1.125rem); }
.wc .p-board .pb-price-note { color: var(--text, #e2e8f0); font-size: var(--fs-sm, 0.875rem); margin: var(--sp-3, 0.75rem) 0 var(--sp-5, 1.5rem); }
.wc .p-board .pb-small { color: var(--text-muted, #a0aab8); font-size: var(--fs-xs, 0.78125rem); margin-top: var(--sp-3, 0.75rem); }

/* The price card holds two buttons, one under the other at every width: the
   pass first, the free board second, with the refund terms between them. */
.wc .p-board .pb-price .pb-btn { width: 100%; padding-inline: var(--sp-3, 0.75rem); }
.wc .p-board .pb-refund {
  margin: var(--sp-3, 0.75rem) 0 var(--sp-5, 1.5rem);
  color: var(--text-secondary, #c3ccda);
  font-size: var(--fs-xs, 0.78125rem);
  line-height: var(--lh-body, 1.7);
  overflow-wrap: anywhere;
}
.wc .p-board .pb-refund a { color: var(--accent, #00c8ff); text-decoration: underline; text-underline-offset: 2px; }

/* ---- what each rank holds (counted by the page generator) ------------------ */
/* #ranks is linked from the app ("See what each rank holds"): keep its heading clear of the fixed menu bar */
.wc .p-board .pb-cover { margin-top: var(--sp-7, 3rem); scroll-margin-top: calc(var(--nav-h, 68px) + var(--sp-4, 1rem)); }
.wc .p-board .pb-cover h3 { font-size: var(--fs-md, 1.125rem); margin-bottom: var(--sp-4, 1rem); }
.wc .p-board .pb-ranks { display: grid; gap: var(--sp-3, 0.75rem); }
.wc .p-board .pb-rank {
  padding: var(--sp-4, 1rem) var(--sp-5, 1.5rem);
  background: var(--bg-card, #0e1230);
  border: 1px solid var(--border, rgba(0, 200, 255, 0.14));
  border-radius: var(--r-lg, 12px);
}
.wc .p-board .pb-rank h4 { font-size: var(--fs-base, 1rem); color: var(--text-strong, #ffffff); margin-bottom: var(--sp-2, 0.5rem); }
.wc .p-board .pb-rank ul { display: grid; gap: var(--sp-1, 0.25rem); }
.wc .p-board .pb-rank li { color: var(--text-secondary, #c3ccda); font-size: var(--fs-sm, 0.875rem); }
.wc .p-board .pb-rank li.none { color: var(--text-muted, #a0aab8); }
.wc .p-board .pb-cover-note {
  max-width: var(--measure, 68ch);
  margin-top: var(--sp-4, 1rem);
  color: var(--text-muted, #a0aab8);
  font-size: var(--fs-sm, 0.875rem);
}
.wc .p-board .pb-cover-note + .pb-cover-note { margin-top: var(--sp-2, 0.5rem); }

/* ---- who is behind it ----------------------------------------------------- */
.wc .p-board .pb-who { display: grid; gap: var(--sp-6, 2rem); }
.wc .p-board .pb-who-fig { margin: 0; max-width: 18rem; }
.wc .p-board .pb-who-photo {
  width: 8.75rem;
  height: 8.75rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--border-hard, rgba(255, 255, 255, 0.12));
}
.wc .p-board .pb-who-fig figcaption {
  margin-top: var(--sp-3, 0.75rem);
  color: var(--text-muted, #a0aab8);
  font-size: var(--fs-sm, 0.875rem);
  line-height: var(--lh-snug, 1.35);
}
.wc .p-board .pb-who-fig .pb-who-name { margin-bottom: var(--sp-1, 0.25rem); color: var(--text-strong, #ffffff); font-size: var(--fs-base, 1rem); font-weight: 700; }

/* ---- limits list ---------------------------------------------------------- */
.wc .p-board .pb-limits { display: grid; gap: var(--sp-3, 0.75rem); max-width: var(--measure, 68ch); }
.wc .p-board .pb-limits li {
  position: relative;
  padding-left: var(--sp-5, 1.5rem);
  color: var(--text-secondary, #c3ccda);
  font-size: var(--fs-base, 1rem);
}
.wc .p-board .pb-limits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted, #a0aab8);
}

/* ---- FAQ (extends the shared .faq-* primitives) --------------------------- */
.wc .p-board .faq-q { min-height: 56px; color: var(--text-strong, #ffffff); }
.wc .p-board .faq-q:focus-visible { outline-offset: -2px; }
.wc .p-board .faq-a { color: var(--text-secondary, #c3ccda); line-height: var(--lh-body, 1.7); }
.wc .p-board .faq-a a { color: var(--accent, #00c8ff); text-decoration: underline; text-underline-offset: 2px; }

/* ---- closing band --------------------------------------------------------- */
.wc .p-board .pb-close {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, var(--accent-glow, rgba(0, 200, 255, 0.15)), transparent 70%),
    var(--bg-section, #0b0d22);
  border-top: 1px solid var(--border, rgba(0, 200, 255, 0.14));
}
.wc .p-board .pb-close h2 { max-width: 24ch; margin: 0 auto var(--sp-5, 1.5rem); }
.wc .p-board .pb-close .pb-btn { max-width: 22rem; }
.wc .p-board .pb-note {
  padding-block: var(--sp-5, 1.5rem);
  color: var(--text-muted, #a0aab8);
  font-size: var(--fs-xs, 0.78125rem);
  text-align: center;
  border-top: 1px solid var(--border-soft, rgba(255, 255, 255, 0.06));
}
.wc .p-board .pb-note p { max-width: 70ch; margin-inline: auto; }

/* ---- hero video ----------------------------------------------------------
   The two-minute introduction. .pb-video holds the frame (.pb-video-frame) and,
   after it, who presents the film and the switch for its transcript
   (.pb-video-more). The frame keeps 16:9 before its picture arrives, so nothing
   under it moves. The page asks for preload="none": only the picture loads with
   the page, the film when someone presses play. */
.wc .p-board .pb-video-frame {
  max-width: 36rem;
  margin-bottom: var(--sp-4, 1rem);
}
.wc .p-board .pb-video-el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border, rgba(0, 200, 255, 0.14));
  border-radius: var(--r-lg, 12px);
}
.wc .p-board .pb-video-el:focus-visible { outline: 2px solid var(--text-strong, #ffffff); outline-offset: 3px; }
.wc .p-board .pb-video-more {
  max-width: 36rem;
  margin-top: var(--sp-4, 1rem);
}
/* Who presents it: an AI-generated likeness. The full line (.pb-video-note) is always on
   the page. Below 900px the buttons stand between the video and that line, so its short
   form (.pb-video-ai) stands right under the frame there, in sight when someone presses
   play. From 900px the full line is right under the frame and the short form is not shown. */
.wc .p-board .pb-video-ai {
  margin-top: 0.375rem;
  color: var(--text-muted, #a0aab8);
  font-size: var(--fs-xs, 0.78125rem);
  line-height: 1.5;
}
.wc .p-board .pb-video-note {
  color: var(--text-muted, #a0aab8);
  font-size: var(--fs-xs, 0.78125rem);
  line-height: 1.5;
}
/* The transcript opens in place. Its switch is a tap target of its own (44px). */
.wc .p-board .pb-video-words summary {
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
  padding-block: 0.75rem;
  color: var(--accent, #00c8ff);
  font-size: var(--fs-sm, 0.875rem);
  font-weight: 700;
  line-height: 1.43;
  cursor: pointer;
}
.wc .p-board .pb-video-words summary:hover { color: var(--text-strong, #ffffff); }
.wc .p-board .pb-video-words summary:focus-visible { outline: 2px solid var(--text-strong, #ffffff); outline-offset: 3px; border-radius: var(--r-sm, 4px); }
.wc .p-board .pb-video-text {
  max-width: 62ch;
  padding: var(--sp-1, 0.25rem) 0 var(--sp-2, 0.5rem) var(--sp-4, 1rem);
  border-left: 2px solid var(--border, rgba(0, 200, 255, 0.14));
  color: var(--text-secondary, #c3ccda);
  font-size: var(--fs-sm, 0.875rem);
  line-height: var(--lh-body, 1.7);
  /* The transcript holds one long word, the web address. At a large text size it wraps
     inside the column and does not run out of it. */
  overflow-wrap: anywhere;
}
.wc .p-board .pb-video-text p + p { margin-top: var(--sp-3, 0.75rem); }
/* Below 900px the hero is one column, in this order on screen: headline, video,
   the two buttons with their support line, who presents the film and its
   transcript, then the paragraph. With the video in place, anything between it
   and the buttons pushes the first button off the first screen of a phone (Safari
   shows about 664 px of a 390 by 844 iPhone screen while its bars are out).
   .pb-video is taken out of the layout here (display: contents: it is a plain
   wrapper, so nothing is lost), which lets its two parts be placed on their own.
   The page's own order, the one a screen reader reads, stays headline, video,
   presenter line, transcript, paragraph, buttons. */
.wc .p-board .pb-hero > .pb-wrap { display: flex; flex-direction: column; }
.wc .p-board .pb-hero .pb-badge { align-self: flex-start; }
.wc .p-board .pb-hero .pb-video { display: contents; }
.wc .p-board .pb-hero .pb-ctas,
.wc .p-board .pb-hero .pb-support { order: 1; }
.wc .p-board .pb-hero .pb-video-more { order: 2; }
.wc .p-board .pb-hero .pb-sub { order: 3; margin-top: var(--sp-3, 0.75rem); margin-bottom: 0; }
.wc .p-board .pb-hero .pb-hero-pass,
.wc .p-board .pb-hero .pb-hero-note,
.wc .p-board .pb-hero .pb-stats { order: 4; }

/* ---- wider screens -------------------------------------------------------- */
@media (min-width: 600px) {
  .wc .p-board .pb-wrap { padding-inline: var(--container-pad, 1.75rem); }
  .wc .p-board .pb-ctas { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .wc .p-board .pb-btn { width: auto; }
  .wc .p-board .pb-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wc .p-board .pb-points { grid-template-columns: 1fr 1fr; }
  .wc .p-board .pb-features { grid-template-columns: 1fr 1fr; }
  .wc .p-board .pb-card-block { padding: var(--sp-5, 1.5rem) var(--sp-6, 2rem); }
}
@media (min-width: 900px) {
  .wc .p-board .pb-hero { padding-block: calc(var(--nav-h, 68px) + var(--sp-8, 4rem)) var(--sp-8, 4rem); }
  .wc .p-board .pb-section { padding-block: var(--sp-9, 6rem); }
  .wc .p-board .pb-steps { grid-template-columns: repeat(3, 1fr); }
  .wc .p-board .pb-pass { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
  /* three rank cards side by side only where each line fits (at 600 they were 173px wide) */
  .wc .p-board .pb-ranks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* the text comes first in the page; beside it, the photo takes the left column */
  .wc .p-board .pb-who { grid-template-columns: 18rem minmax(0, 1fr); gap: var(--sp-7, 3rem); align-items: start; }
  .wc .p-board .pb-who-fig { grid-column: 1; grid-row: 1; }
  .wc .p-board .pb-who-text { grid-column: 2; grid-row: 1; }
  .wc .p-board .pb-sample { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--sp-7, 3rem); align-items: start; }
}

@media (min-width: 900px) {
  /* The hero in two columns under the headline. The headline keeps the full width.
     The hero text keeps its column; the video, with its presenter line and its
     transcript, takes the one beside it, which was empty. The two columns come out
     about equally tall. With its transcript open the video's block is much taller:
     the row of the note (the 1fr row) takes all of that extra height, so the lines
     on the left stay together where they were. */
  .wc .p-board .pb-hero > .pb-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto auto 1fr auto;
    grid-template-areas:
      "badge   badge"
      "h1      h1"
      "sub     video"
      "ctas    video"
      "support video"
      "pass    video"
      "note    video"
      "stats   stats";
    column-gap: var(--sp-7, 3rem);
    align-items: start;
  }
  .wc .p-board .pb-hero .pb-badge { grid-area: badge; justify-self: start; }
  .wc .p-board .pb-hero h1 { grid-area: h1; }
  .wc .p-board .pb-hero .pb-sub { grid-area: sub; margin-top: 0; margin-bottom: var(--sp-5, 1.5rem); }
  .wc .p-board .pb-hero .pb-ctas { grid-area: ctas; }
  .wc .p-board .pb-hero .pb-support { grid-area: support; }
  .wc .p-board .pb-hero .pb-video { display: block; grid-area: video; }
  .wc .p-board .pb-hero .pb-video-frame { max-width: none; margin-bottom: 0; }
  .wc .p-board .pb-hero .pb-video-ai { display: none; }
  .wc .p-board .pb-hero .pb-video-more { max-width: none; margin-top: var(--sp-2, 0.5rem); }
  .wc .p-board .pb-hero .pb-hero-pass { grid-area: pass; }
  .wc .p-board .pb-hero .pb-hero-note { grid-area: note; }
  .wc .p-board .pb-hero .pb-stats { grid-area: stats; }
}

@media (prefers-reduced-motion: reduce) {
  .wc .p-board .btn-primary:hover { transform: none; }
}

/* The small uppercase labels (hero badge and section labels) were 11 px: below
   the 12 px floor the app keeps for any text. */
.wc .p-board .pb-badge,
.wc .p-board .section-label,
.wc .p-board .pb-card-label { font-size: max(var(--fs-2xs, 0.6875rem), 0.75rem); }
