/* Screen-recording cards: the "In action" page, the home page's three, and
   the two feature pages. Videos are real recordings of the demo league. */

.pv-head { text-align: center; padding: 3rem 1rem 1rem; }
.pv-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.pv-head p { color: var(--primary-600); max-width: 44rem; margin: 0.75rem auto 0; }
.pv-head .pv-safe {
  display: inline-block; margin-top: 1rem; padding: 0.55rem 1rem;
  background: #e5f4e8; color: #1c5a2d; border-radius: 99px; font-size: 0.95rem;
}

.pv-grid {
  max-width: 76rem; margin: 2rem auto 5rem; padding: 0 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 2rem; align-items: start;
}
@media (max-width: 900px) { .pv-grid { grid-template-columns: 1fr; } }

.vid-card { margin: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.vid-card figcaption { font-size: 0.95rem; color: var(--primary-600); line-height: 1.5; }
.vid-card figcaption b { display: block; font-size: 1.15rem; font-weight: 800; color: var(--primary-900); margin-bottom: 0.2rem; }
.vid-frame {
  background: var(--primary-950); border: 1px solid var(--surface-200); border-radius: 0.9rem;
  box-shadow: 0 14px 40px rgba(13, 26, 53, 0.16); overflow: hidden; line-height: 0;
}
.vid-frame video { width: 100%; height: auto; display: block; }

/* The featured clip spans the grid, caption beside it on wide screens. */
.vid-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 0.42fr 1fr; gap: 2rem; align-items: center; }
.vid-feature figcaption { font-size: 1.05rem; }
.vid-feature figcaption b { font-size: 1.5rem; }
@media (max-width: 900px) { .vid-feature { grid-template-columns: 1fr; gap: 0.8rem; } }

/* A phone-width recording sits centred at phone size. */
.vid-portrait .vid-frame { max-width: 19rem; margin: 0 auto; border-radius: 1.6rem; border-width: 6px; border-color: var(--primary-950); }

.pv-cta {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--primary-900); color: var(--primary-100);
  border-radius: 1rem; padding: 1.1rem 1.5rem;
}
.pv-cta strong { color: #fff; }
.pv-cta p { margin: 0; }

/* Feature pages and the home page reuse the grid without its page margins. */
.feature-vigs { margin: 0 auto; padding: 0; }
.home-vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 1000px) { .home-vids { grid-template-columns: 1fr; max-width: 40rem; margin: 0 auto; } }
.home-vids .vid-card figcaption { font-size: 0.9rem; }
.home-vids .vid-card figcaption b { font-size: 1.05rem; }
