/* Video pages and the homepage hero video.
   The frame keeps a 16:9 box at every width, so the player never distorts and
   the page never scrolls sideways on phones. */

.video-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 20px 8px;
  text-align: center;
}
.video-hero h1 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--ink);
}
.video-sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--ink-2);
}

.video-wrap {
  max-width: 960px;
  margin: 40px auto 80px;
  padding: 0 20px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.video-frame video,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-cta {
  margin: 28px 0 0;
  text-align: center;
}

/* Homepage variant: the ad clip sits directly under the hero, so it carries its
   own heading and a link to the full demo rather than a page title. */
.home-video {
  max-width: 960px;
  margin: 8px auto 72px;
  padding: 0 20px;
  text-align: center;
}
.home-video h2 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--ink);
}
.home-video .home-video-sub {
  margin: 0 auto 24px;
  max-width: 560px;
  font-size: 16px;
  color: var(--ink-2);
}
.home-video .video-cta a {
  font-size: 15px;
}
