.vlm {
  background: var(--surface);
  border-block: 1px solid var(--line);
  scroll-margin-top: 4rem;
}

.vlm-inner {
  padding-inline: var(--gutter);
}

.vlm-header,
.vlm-body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.vlm-header {
  align-items: end;
  margin-bottom: clamp(1.75rem, 4vw, 3.25rem);
}

.vlm-header .sec-h2 {
  margin: 0;
}

.vlm-header .sec-h2 span {
  white-space: nowrap;
}

.vlm-demo {
  max-width: 85%;
}

.vlm-demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2058 / 1904;
  background: var(--ink);
  border-radius: 12px;
}

.vlm-demo figcaption {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 66ch;
}

.vlm-uses {
  align-self: center;
}

.vlm-uses h3 {
  margin-bottom: 1rem;
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
}

.vlm-uses dt {
  border-top: 1px solid var(--line-strong);
  padding-top: 0.9rem;
  font-weight: 800;
}

.vlm-uses dd {
  padding: 0.25rem 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.vlm-uses .btn-p {
  margin-top: 0.5rem;
  white-space: normal;
}

.vlm :is(video, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .vlm-inner {
    padding-inline: 0;
  }

  .vlm-header,
  .vlm-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .vlm-header {
    gap: 0.85rem;
  }

  .vlm-demo {
    max-width: none;
  }
}
